2 # From configure.ac Revision: 1.42 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.71 for gnuworld 3.0.
7 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
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
20 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
39 # Reset variables that may have inherited troublesome values from
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
55 # Ensure predictable behavior from utilities with locale-dependent output.
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \
${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
73 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
76 # The user is always right.
77 if ${PATH_SEPARATOR+false} :; then
79 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
80 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
86 # Find who we are. Look in the path if we contain no directory separator.
89 *[\\/]* ) as_myself
=$0 ;;
90 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
99 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Use a proper internal environment variable to ensure we don't fall
117 # into an infinite loop, continuously re-executing ourselves.
118 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
119 _as_can_reexec
=no
; export _as_can_reexec
;
120 # We cannot yet assume a decent shell, so we have to provide a
121 # neutralization value for shells without unset; and this also
122 # works around shells that cannot unset nonexistent variables.
123 # Preserve -v and -x to the replacement shell.
126 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
128 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
134 # Admittedly, this is quite paranoid, since all the known shells bail
135 # out after a failed `exec'.
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
139 # We don't want this to propagate to other subprocesses.
140 { _as_can_reexec
=; unset _as_can_reexec
;}
141 if test "x$CONFIG_SHELL" = x
; then
142 as_bourne_compatible
="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
152 case \`(set -o) 2>/dev/null\` in #(
160 as_required
="as_fn_return () { (exit \$1); }
161 as_fn_success () { as_fn_return 0; }
162 as_fn_failure () { as_fn_return 1; }
163 as_fn_ret_success () { return 0; }
164 as_fn_ret_failure () { return 1; }
167 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
175 exitcode=1; echo positional parameters were not saved.
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
181 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
187 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
188 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190 PATH=/empty FPATH=/empty; export PATH FPATH
191 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
192 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
193 test \$(( 1 + 1 )) = 2 || exit 1"
194 if (eval "$as_required") 2>/dev
/null
200 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
206 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 *) as_dir
=$as_dir/ ;;
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
238 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
249 # We cannot yet assume a decent shell, so we have to provide a
250 # neutralization value for shells without unset; and this also
251 # works around shells that cannot unset nonexistent variables.
252 # Preserve -v and -x to the replacement shell.
255 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
257 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263 # Admittedly, this is quite paranoid, since all the known shells bail
264 # out after a failed `exec'.
265 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
269 if test x
$as_have_required = xno
271 printf "%s\n" "$0: This script requires a shell more modern than all"
272 printf "%s\n" "$0: the shells that I found on your system."
273 if test ${ZSH_VERSION+y} ; then
274 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
278 $0: including any error possibly output before this
279 $0: message. Then install a modern shell, or manually run
280 $0: the script under such a shell if you do have one."
286 SHELL
=${CONFIG_SHELL-/bin/sh}
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE
= GREP_OPTIONS
=
290 unset CLICOLOR_FORCE GREP_OPTIONS
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
297 # Portably unset VAR.
300 { 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.
324 # Do nothing but, unlike ":", preserve the value of $?.
333 # Create "$as_dir" as a directory, including parents if necessary.
338 -*) as_dir
=.
/$as_dir;;
340 test -d "$as_dir" || eval $as_mkdir_p || {
344 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347 as_dirs
="'$as_qdir' $as_dirs"
348 as_dir
=`$as_dirname -- "$as_dir" ||
349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
350 X"$as_dir" : 'X\(//\)[^/]' \| \
351 X"$as_dir" : 'X\(//\)$' \| \
352 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
353 printf "%s\n" X"$as_dir" |
354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
371 test -d "$as_dir" && break
373 test -z "$as_dirs" || eval "mkdir $as_dirs"
374 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
379 # as_fn_executable_p FILE
380 # -----------------------
381 # Test if FILE is an executable regular file.
382 as_fn_executable_p
()
384 test -f "$1" && test -x "$1"
385 } # as_fn_executable_p
386 # as_fn_append VAR VALUE
387 # ----------------------
388 # Append the text in VALUE to the end of the definition contained in VAR. Take
389 # advantage of any shell optimizations that allow amortized linear growth over
390 # repeated appends, instead of the typical quadratic growth present in naive
392 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
394 eval 'as_fn_append ()
407 # Perform arithmetic evaluation on the ARGs, and store the result in the
408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
409 # must be portable across $(()) and expr.
410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
419 as_val
=`expr "$@" || test $? -eq 1`
425 # Do nothing but, unlike ":", preserve the value of $?.
432 # as_fn_error STATUS ERROR [LINENO LOG_FD]
433 # ----------------------------------------
434 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
435 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
436 # script with STATUS, using 1 if that was 0.
439 as_status
=$1; test $as_status -eq 0 && as_status
=1
441 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
444 printf "%s\n" "$as_me: error: $2" >&2
445 as_fn_exit
$as_status
448 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
449 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
455 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
461 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
467 as_me
=`$as_basename -- "$0" ||
468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
469 X"$0" : 'X\(//\)$' \| \
470 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
471 printf "%s\n" X/"$0" |
472 sed '/^.*\/\([^/][^/]*\)\/*$/{
486 # Avoid depending upon Character Ranges.
487 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
488 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
489 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
490 as_cr_digits
='0123456789'
491 as_cr_alnum
=$as_cr_Letters$as_cr_digits
494 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
495 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
496 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
497 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
498 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
510 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
514 chmod +x
"$as_me.lineno" ||
515 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
517 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
518 # already done that, so ensure we don't try to do so again and fall
519 # in an infinite loop. This has already happened in practice.
520 _as_can_reexec
=no
; export _as_can_reexec
521 # Don't try to exec as it changes $[0], causing all sort of problems
522 # (the dirname of $[0] is not the place where we might find the
523 # original and so on. Autoconf is especially sensitive to this).
525 # Exit status is that of the last command.
530 # Determine whether it's possible to make 'echo' print without a newline.
531 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
532 # for compatibility with existing Makefiles.
533 ECHO_C
= ECHO_N
= ECHO_T
=
534 case `echo -n x` in #(((((
536 case `echo 'xy\c'` in
537 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
539 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
546 # For backward compatibility with old third-party macros, we provide
547 # the shell variables $as_echo and $as_echo_n. New code should use
548 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
549 as_echo
='printf %s\n'
550 as_echo_n
='printf %s'
553 rm -f conf$$ conf$$.exe conf$$.
file
554 if test -d conf$$.dir
; then
555 rm -f conf$$.dir
/conf$$.
file
558 mkdir conf$$.dir
2>/dev
/null
560 if (echo >conf$$.
file) 2>/dev
/null
; then
561 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
563 # ... but there are two gotchas:
564 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
565 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
566 # In both cases, we have to default to `cp -pR'.
567 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
569 elif ln conf$$.
file conf$$
2>/dev
/null
; then
577 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
578 rmdir conf$$.dir
2>/dev
/null
580 if mkdir -p .
2>/dev
/null
; then
581 as_mkdir_p
='mkdir -p "$as_dir"'
583 test -d .
/-p && rmdir .
/-p
588 as_executable_p
=as_fn_executable_p
590 # Sed expression to map a string onto a valid CPP name.
591 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
593 # Sed expression to map a string onto a valid variable name.
594 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
596 lt_ltdl_dir
='libltdl'
598 SHELL
=${CONFIG_SHELL-/bin/sh}
600 lt_dlopen_dir
=$lt_ltdl_dir
603 test -n "$DJDIR" || exec 7<&0 </dev
/null
607 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
608 # so uname gets run too.
609 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
614 ac_default_prefix
=/usr
/local
616 ac_config_libobj_dir
=.
623 # Identity of this package.
624 PACKAGE_NAME
='gnuworld'
625 PACKAGE_TARNAME
='gnuworld'
626 PACKAGE_VERSION
='3.0'
627 PACKAGE_STRING
='gnuworld 3.0'
631 ac_unique_file
="src/main.cc"
632 # Factoring default headers for most tests.
633 ac_includes_default
="\
644 #ifdef HAVE_INTTYPES_H
645 # include <inttypes.h>
650 #ifdef HAVE_STRINGS_H
651 # include <strings.h>
653 #ifdef HAVE_SYS_TYPES_H
654 # include <sys/types.h>
656 #ifdef HAVE_SYS_STAT_H
657 # include <sys/stat.h>
664 enable_option_checking
=no
665 ac_default_prefix
=`pwd`
667 ac_subst_vars
='ltdl_LTLIBOBJS
681 COND_MODSCANNER_FALSE
683 COND_MODOPENCHANFIX_FALSE
684 COND_MODOPENCHANFIX_TRUE
685 COND_MODNICKSERV_FALSE
686 COND_MODNICKSERV_TRUE
687 COND_MODGNUTEST_FALSE
689 COND_MODDRONESCAN_FALSE
690 COND_MODDRONESCAN_TRUE
691 COND_MODCSERVICE_FALSE
692 COND_MODCSERVICE_TRUE
695 COND_MODCLIENTEXAMPLE_FALSE
696 COND_MODCLIENTEXAMPLE_TRUE
697 COND_MODCHANFIX_FALSE
699 COND_MODCCONTROL_FALSE
700 COND_MODCCONTROL_TRUE
712 MAINTAINER_MODE_FALSE
717 CONVENIENCE_LTDL_FALSE
718 CONVENIENCE_LTDL_TRUE
722 sys_symbol_underscore
798 INSTALL_STRIP_PROGRAM
841 program_transform_name
855 enable_option_checking
857 enable_dependency_tracking
870 enable_maintainer_mode
880 with_log4cplus_include
891 ac_precious_vars
='build_alias
904 ac_subdirs_all
='libltdl'
906 # Initialize some variables set by options.
908 ac_init_version
=false
909 ac_unrecognized_opts
=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
920 program_transform_name
=s
,x
,x
,
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir
='${exec_prefix}/bin'
935 sbindir
='${exec_prefix}/sbin'
936 libexecdir
='${exec_prefix}/libexec'
937 datarootdir
='${prefix}/share'
938 datadir
='${datarootdir}'
939 sysconfdir
='${prefix}/etc'
940 sharedstatedir
='${prefix}/com'
941 localstatedir
='${prefix}/var'
942 runstatedir
='${localstatedir}/run'
943 includedir
='${prefix}/include'
944 oldincludedir
='/usr/include'
945 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
946 infodir
='${datarootdir}/info'
951 libdir
='${exec_prefix}/lib'
952 localedir
='${datarootdir}/locale'
953 mandir
='${datarootdir}/man'
959 # If the previous option needs an argument, assign it.
960 if test -n "$ac_prev"; then
961 eval $ac_prev=\
$ac_option
967 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
972 case $ac_dashdash$ac_option in
976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
981 -build | --build | --buil | --bui | --bu)
982 ac_prev
=build_alias
;;
983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984 build_alias
=$ac_optarg ;;
986 -cache-file | --cache-file | --cache-fil | --cache-fi \
987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988 ac_prev
=cache_file
;;
989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991 cache_file
=$ac_optarg ;;
994 cache_file
=config.cache
;;
996 -datadir | --datadir | --datadi | --datad)
998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
999 datadir
=$ac_optarg ;;
1001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002 | --dataroo | --dataro | --datar)
1003 ac_prev
=datarootdir
;;
1004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006 datarootdir
=$ac_optarg ;;
1008 -disable-* | --disable-*)
1009 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1012 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_
$ac_useropt"
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval enable_
$ac_useropt=no
;;
1024 -docdir | --docdir | --docdi | --doc | --do)
1026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027 docdir
=$ac_optarg ;;
1029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032 dvidir
=$ac_optarg ;;
1034 -enable-* | --enable-*)
1035 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1038 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1039 ac_useropt_orig
=$ac_useropt
1040 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1043 "enable_
$ac_useropt"
1045 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046 ac_unrecognized_sep
=', ';;
1048 eval enable_
$ac_useropt=\
$ac_optarg ;;
1050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052 | --exec | --exe | --ex)
1053 ac_prev
=exec_prefix
;;
1054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056 | --exec=* | --exe=* | --ex=*)
1057 exec_prefix
=$ac_optarg ;;
1059 -gas | --gas | --ga | --g)
1060 # Obsolete; use --with-gas.
1063 -help | --help | --hel | --he | -h)
1064 ac_init_help
=long
;;
1065 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1066 ac_init_help
=recursive
;;
1067 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1068 ac_init_help
=short
;;
1070 -host | --host | --hos | --ho)
1071 ac_prev
=host_alias
;;
1072 -host=* | --host=* | --hos=* | --ho=*)
1073 host_alias
=$ac_optarg ;;
1075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1079 htmldir
=$ac_optarg ;;
1081 -includedir | --includedir | --includedi | --included | --include \
1082 | --includ | --inclu | --incl | --inc)
1083 ac_prev
=includedir
;;
1084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085 | --includ=* | --inclu=* | --incl=* | --inc=*)
1086 includedir
=$ac_optarg ;;
1088 -infodir | --infodir | --infodi | --infod | --info | --inf)
1090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091 infodir
=$ac_optarg ;;
1093 -libdir | --libdir | --libdi | --libd)
1095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096 libdir
=$ac_optarg ;;
1098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099 | --libexe | --libex | --libe)
1100 ac_prev
=libexecdir
;;
1101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102 | --libexe=* | --libex=* | --libe=*)
1103 libexecdir
=$ac_optarg ;;
1105 -localedir | --localedir | --localedi | --localed | --locale)
1106 ac_prev
=localedir
;;
1107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108 localedir
=$ac_optarg ;;
1110 -localstatedir | --localstatedir | --localstatedi | --localstated \
1111 | --localstate | --localstat | --localsta | --localst | --locals)
1112 ac_prev
=localstatedir
;;
1113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115 localstatedir
=$ac_optarg ;;
1117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120 mandir
=$ac_optarg ;;
1122 -nfp | --nfp | --nf)
1123 # Obsolete; use --without-fp.
1126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127 | --no-cr | --no-c | -n)
1130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136 | --oldin | --oldi | --old | --ol | --o)
1137 ac_prev
=oldincludedir
;;
1138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141 oldincludedir
=$ac_optarg ;;
1143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146 prefix
=$ac_optarg ;;
1148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149 | --program-pre | --program-pr | --program-p)
1150 ac_prev
=program_prefix
;;
1151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153 program_prefix
=$ac_optarg ;;
1155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156 | --program-suf | --program-su | --program-s)
1157 ac_prev
=program_suffix
;;
1158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160 program_suffix
=$ac_optarg ;;
1162 -program-transform-name | --program-transform-name \
1163 | --program-transform-nam | --program-transform-na \
1164 | --program-transform-n | --program-transform- \
1165 | --program-transform | --program-transfor \
1166 | --program-transfo | --program-transf \
1167 | --program-trans | --program-tran \
1168 | --progr-tra | --program-tr | --program-t)
1169 ac_prev
=program_transform_name
;;
1170 -program-transform-name=* | --program-transform-name=* \
1171 | --program-transform-nam=* | --program-transform-na=* \
1172 | --program-transform-n=* | --program-transform-=* \
1173 | --program-transform=* | --program-transfor=* \
1174 | --program-transfo=* | --program-transf=* \
1175 | --program-trans=* | --program-tran=* \
1176 | --progr-tra=* | --program-tr=* | --program-t=*)
1177 program_transform_name
=$ac_optarg ;;
1179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182 pdfdir
=$ac_optarg ;;
1184 -psdir | --psdir | --psdi | --psd | --ps)
1186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190 | -silent | --silent | --silen | --sile | --sil)
1193 -runstatedir | --runstatedir | --runstatedi | --runstated \
1194 | --runstate | --runstat | --runsta | --runst | --runs \
1195 | --run | --ru | --r)
1196 ac_prev
=runstatedir
;;
1197 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1198 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1199 | --run=* | --ru=* | --r=*)
1200 runstatedir
=$ac_optarg ;;
1202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 sbindir
=$ac_optarg ;;
1208 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1210 | --sharedst | --shareds | --shared | --share | --shar \
1212 ac_prev
=sharedstatedir
;;
1213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 sharedstatedir
=$ac_optarg ;;
1219 -site | --site | --sit)
1221 -site=* | --site=* | --sit=*)
1224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1227 srcdir
=$ac_optarg ;;
1229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1230 | --syscon | --sysco | --sysc | --sys | --sy)
1231 ac_prev
=sysconfdir
;;
1232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1234 sysconfdir
=$ac_optarg ;;
1236 -target | --target | --targe | --targ | --tar | --ta | --t)
1237 ac_prev
=target_alias
;;
1238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1239 target_alias
=$ac_optarg ;;
1241 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244 -version | --version | --versio | --versi | --vers | -V)
1245 ac_init_version
=: ;;
1248 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1251 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1252 ac_useropt_orig
=$ac_useropt
1253 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1258 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1259 ac_unrecognized_sep
=', ';;
1261 eval with_
$ac_useropt=\
$ac_optarg ;;
1263 -without-* | --without-*)
1264 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1267 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=no
;;
1280 # Obsolete; use --with-x.
1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284 | --x-incl | --x-inc | --x-in | --x-i)
1285 ac_prev
=x_includes
;;
1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288 x_includes
=$ac_optarg ;;
1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292 ac_prev
=x_libraries
;;
1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295 x_libraries
=$ac_optarg ;;
1297 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1298 Try \`$0 --help' for more information"
1302 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1303 # Reject names that are not valid shell variable names.
1304 case $ac_envvar in #(
1305 '' | [0-9]* | *[!_$as_cr_alnum]* )
1306 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1308 eval $ac_envvar=\
$ac_optarg
1309 export $ac_envvar ;;
1312 # FIXME: should be removed in autoconf 3.0.
1313 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1315 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1322 if test -n "$ac_prev"; then
1323 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1324 as_fn_error $?
"missing argument to $ac_option"
1327 if test -n "$ac_unrecognized_opts"; then
1328 case $enable_option_checking in
1330 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1331 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335 # Check all directory arguments for consistency.
1336 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337 datadir sysconfdir sharedstatedir localstatedir includedir \
1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339 libdir localedir mandir runstatedir
1341 eval ac_val
=\$
$ac_var
1342 # Remove trailing slashes.
1345 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346 eval $ac_var=\
$ac_val;;
1348 # Be sure to have absolute directory names.
1350 [\\/$
]* | ?
:[\\/]* ) continue;;
1351 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1353 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1356 # There might be people who depend on the old broken behavior: `$host'
1357 # used to hold the argument of --host etc.
1358 # FIXME: To remove some day.
1361 target
=$target_alias
1363 # FIXME: To remove some day.
1364 if test "x$host_alias" != x
; then
1365 if test "x$build_alias" = x
; then
1366 cross_compiling
=maybe
1367 elif test "x$build_alias" != "x$host_alias"; then
1373 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1375 test "$silent" = yes && exec 6>/dev
/null
1378 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di
=`ls -di .` &&
1380 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1381 as_fn_error $?
"working directory cannot be determined"
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 as_fn_error $?
"pwd does not report name of working directory"
1386 # Find the source files, if location was not specified.
1387 if test -z "$srcdir"; then
1388 ac_srcdir_defaulted
=yes
1389 # Try the directory containing this script, then the parent directory.
1390 ac_confdir
=`$as_dirname -- "$as_myself" ||
1391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392 X"$as_myself" : 'X\(//\)[^/]' \| \
1393 X"$as_myself" : 'X\(//\)$' \| \
1394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1395 printf "%s\n" X"$as_myself" |
1396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1418 ac_srcdir_defaulted
=no
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1422 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1424 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1428 # When building in place, set srcdir=.
1429 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 # Remove unnecessary trailing slashes from srcdir.
1433 # Double slashes in file names in object file debugging info
1434 # mess up M-x gdb in Emacs.
1436 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 for ac_var
in $ac_precious_vars; do
1439 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1440 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1441 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1442 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1446 # Report the --help message.
1448 if test "$ac_init_help" = "long"; then
1449 # Omit some internal or obsolete options to make the list less imposing.
1450 # This message is too long to be a string in the A/UX 3.1 sh.
1452 \`configure' configures gnuworld 3.0 to adapt to many kinds of systems.
1454 Usage: $0 [OPTION]... [VAR=VALUE]...
1456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457 VAR=VALUE. See below for descriptions of some of the useful variables.
1459 Defaults for the options are specified in brackets.
1462 -h, --help display this help and exit
1463 --help=short display options specific to this package
1464 --help=recursive display the short help of all the included packages
1465 -V, --version display version information and exit
1466 -q, --quiet, --silent do not print \`checking ...' messages
1467 --cache-file=FILE cache test results in FILE [disabled]
1468 -C, --config-cache alias for \`--cache-file=config.cache'
1469 -n, --no-create do not create output files
1470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472 Installation directories:
1473 --prefix=PREFIX install architecture-independent files in PREFIX
1474 [$ac_default_prefix]
1475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478 By default, \`make install' will install all the files in
1479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481 for instance \`--prefix=\$HOME'.
1483 For better control, use the options below.
1485 Fine tuning of the installation directories:
1486 --bindir=DIR user executables [EPREFIX/bin]
1487 --sbindir=DIR system admin executables [EPREFIX/sbin]
1488 --libexecdir=DIR program executables [EPREFIX/libexec]
1489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1491 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1492 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/gnuworld]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1516 --build=BUILD configure
for building on BUILD
[guessed
]
1517 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1521 if test -n "$ac_init_help"; then
1522 case $ac_init_help in
1523 short
| recursive
) echo "Configuration of gnuworld 3.0:";;
1528 --disable-option-checking ignore unrecognized
--enable/--with options
1529 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1530 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1531 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1532 --disable-silent-rules verbose build output
(undo
: "make V=0")
1533 --enable-dependency-tracking
1534 do not reject slow dependency extractors
1535 --disable-dependency-tracking
1536 speeds up one
-time build
1537 --enable-static[=PKGS
] build static libraries
[default
=no
]
1538 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1539 --enable-fast-install[=PKGS
]
1540 optimize
for fast installation
[default
=yes]
1541 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1542 --enable-ltdl-install install libltdl
1543 --enable-maintainer-mode
1544 enable make rules and dependencies not useful
(and
1545 sometimes confusing
) to the casual installer
1546 --disable-threads disable the linking of the pthread library
(default
1548 --enable-modules=mods Enable one or
more modules
; all modules found
in the
1549 current directory are enabled by default. Specify
1550 "no" (without quotes
) to build server only
1553 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1554 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1555 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1557 --with-aix-soname=aix
|svr4
|both
1558 shared library versioning
(aka
"SONAME") variant to
1559 provide on AIX
, [default
=aix
].
1560 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1561 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1562 compiler
's sysroot if not specified).
1563 --with-included-ltdl use the GNU ltdl sources included here
1564 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1565 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1566 --without-debug Disable debugging in the executables
1567 --with-test Enable building of test programs
1568 --with-pedantic Add -pedantic to compile options
1569 --with-optimization Optimize the executables
1570 --with-prof Generate profiling information
1571 --with-pgconfig=FILE Specify an alternate pg_config location.
1572 --with-log4cplus Check log4cplus, if not enabled some modules may not
1573 have logging support
1574 --with-log4cplus-lib=LOG4CPLUSLIBDIR
1575 Specify location to find liblog4cplus.so
1576 --with-log4cplus-include=LOG4CPLUSINCLUDEDIR
1577 Specify location to find logger.h
1578 --with-liboath Check liboath, if not enabled TOTP functionality
1579 will not be available
1580 --with-liboath-lib=LIBOATHLIBDIR
1581 Specify location to find liboath.so
1582 --with-liboath-include=OATHINCLUDEDIR
1583 Specify location to find oath.h
1584 --with-extra-includes=INCLUDESDIR
1585 Specify location to find additional include files
1586 --with-extra-libraries=LIBRARYDIR
1587 Specify location to find additional libraries
1588 --with-boost[=ARG] use Boost library from a standard location
1589 (ARG=yes), from the specified location (ARG=<path>),
1590 or disable it (ARG=no) [ARG=yes]
1591 --with-boost-libdir=LIB_DIR
1592 Force given directory for boost libraries. Note that
1593 this will override library path detection, so use
1594 this parameter only if default library detection
1595 fails and you know exactly where your boost
1596 libraries are located.
1597 --with-boost-thread[=special-lib]
1598 use the Thread library from boost - it is possible
1599 to specify a certain library for the linker e.g.
1600 --with-boost-thread=boost_thread-gcc-mt
1602 Some influential environment variables:
1603 CC C compiler command
1604 CFLAGS C compiler flags
1605 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1606 nonstandard directory <lib dir>
1607 LIBS libraries to pass to the linker, e.g. -l<library>
1608 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1609 you have headers in a nonstandard directory <include dir>
1610 CXX C++ compiler command
1611 CXXFLAGS C++ compiler flags
1613 User-defined run-time library search path.
1614 CXXCPP C++ preprocessor
1616 Use these variables to override the choices made by `configure' or to
help
1617 it to
find libraries and programs with nonstandard names
/locations.
1619 Report bugs to the package provider.
1624 if test "$ac_init_help" = "recursive"; then
1625 # If there are subdirs, report their specific --help.
1626 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1627 test -d "$ac_dir" ||
1628 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1633 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1635 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1636 # A ".." for each directory in $ac_dir_suffix.
1637 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1638 case $ac_top_builddir_sub in
1639 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1640 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1643 ac_abs_top_builddir
=$ac_pwd
1644 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1645 # for backward compatibility:
1646 ac_top_builddir
=$ac_top_build_prefix
1649 .
) # We are building in place.
1651 ac_top_srcdir
=$ac_top_builddir_sub
1652 ac_abs_top_srcdir
=$ac_pwd ;;
1653 [\\/]* | ?
:[\\/]* ) # Absolute name.
1654 ac_srcdir
=$srcdir$ac_dir_suffix;
1655 ac_top_srcdir
=$srcdir
1656 ac_abs_top_srcdir
=$srcdir ;;
1658 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1660 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1662 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1664 cd "$ac_dir" || { ac_status
=$?
; continue; }
1665 # Check for configure.gnu first; this name is used for a wrapper for
1666 # Metaconfig's "Configure" on case-insensitive file systems.
1667 if test -f "$ac_srcdir/configure.gnu"; then
1669 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1670 elif test -f "$ac_srcdir/configure"; then
1672 $SHELL "$ac_srcdir/configure" --help=recursive
1674 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 cd "$ac_pwd" || { ac_status
=$?
; break; }
1680 test -n "$ac_init_help" && exit $ac_status
1681 if $ac_init_version; then
1683 gnuworld configure
3.0
1684 generated by GNU Autoconf
2.71
1686 Copyright
(C
) 2021 Free Software Foundation
, Inc.
1687 This configure
script is free software
; the Free Software Foundation
1688 gives unlimited permission to copy
, distribute and modify it.
1693 ## ------------------------ ##
1694 ## Autoconf initialization. ##
1695 ## ------------------------ ##
1697 # ac_fn_c_try_compile LINENO
1698 # --------------------------
1699 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1700 ac_fn_c_try_compile
()
1702 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1703 rm -f conftest.
$ac_objext conftest.beam
1704 if { { ac_try
="$ac_compile"
1706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 printf "%s\n" "$ac_try_echo"; } >&5
1711 (eval "$ac_compile") 2>conftest.err
1713 if test -s conftest.err; then
1714 grep -v '^ *+' conftest.err >conftest.er1
1715 cat conftest.er1 >&5
1716 mv -f conftest.er1 conftest.err
1718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; } && {
1720 test -z "$ac_c_werror_flag" ||
1721 test ! -s conftest.err
1722 } && test -s conftest.$ac_objext
1726 printf "%s\n" "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext conftest.beam
1743 if { { ac_try="$ac_compile"
1745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1746 *) ac_try_echo
=$ac_try;;
1748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 printf "%s\n" "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1752 if test -s conftest.err
; then
1753 grep -v '^ *+' conftest.err
>conftest.er1
1754 cat conftest.er1
>&5
1755 mv -f conftest.er1 conftest.err
1757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.
$ac_objext
1765 printf "%s\n" "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status
$ac_retval
1773 } # ac_fn_cxx_try_compile
1775 # ac_fn_c_try_link LINENO
1776 # -----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
1780 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1781 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
1782 if { { ac_try
="$ac_link"
1784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 printf "%s\n" "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>conftest.err
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && {
1798 test -z "$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1800 } && test -s conftest$ac_exeext && {
1801 test "$cross_compiling" = yes ||
1802 test -x conftest$ac_exeext
1807 printf "%s\n" "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status $ac_retval
1820 } # ac_fn_c_try_link
1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1823 # -------------------------------------------------------
1824 # Tests whether HEADER exists and can be compiled using the include files in
1825 # INCLUDES, setting the cache variable VAR accordingly.
1826 ac_fn_c_check_header_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 printf %s "checking for $2... " >&6; }
1831 if eval test \${$3+y}
1833 printf %s "(cached) " >&6
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1840 if ac_fn_c_try_compile "$LINENO"
1846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 printf "%s\n" "$ac_res" >&6; }
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 } # ac_fn_c_check_header_compile
1855 # ac_fn_c_check_func LINENO FUNC VAR
1856 # ----------------------------------
1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1858 ac_fn_c_check_func ()
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 printf %s "checking for $2... " >&6; }
1863 if eval test \${$3+y}
1865 printf %s "(cached) " >&6
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1869 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1871 #define $2 innocuous_$2
1873 /* System header to define __stub macros and hopefully few prototypes,
1874 which can conflict with char $2 (); below. */
1879 /* Override any GCC internal prototype to avoid an error.
1880 Use char because int might match the return type of a GCC
1881 builtin and then its argument prototype would still apply. */
1886 /* The GNU C library defines this for functions which it implements
1887 to always fail with ENOSYS. Some functions are actually named
1888 something starting with __ and the normal name is an alias. */
1889 #if defined __stub_$2 || defined __stub___$2
1901 if ac_fn_c_try_link "$LINENO"
1907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1908 conftest$ac_exeext conftest.$ac_ext
1911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 printf "%s\n" "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 } # ac_fn_c_check_func
1917 # ac_fn_cxx_try_cpp LINENO
1918 # ------------------------
1919 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_cxx_try_cpp ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if { { ac_try="$ac_cpp conftest.$ac_ext"
1925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1926 *) ac_try_echo
=$ac_try;;
1928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 printf "%s\n" "$ac_try_echo"; } >&5
1930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1932 if test -s conftest.err
; then
1933 grep -v '^ *+' conftest.err
>conftest.er1
1934 cat conftest.er1
>&5
1935 mv -f conftest.er1 conftest.err
1937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } > conftest.i
&& {
1939 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1940 test ! -s conftest.err
1945 printf "%s\n" "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 as_fn_set_status
$ac_retval
1953 } # ac_fn_cxx_try_cpp
1955 # ac_fn_cxx_try_link LINENO
1956 # -------------------------
1957 # Try to link conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_cxx_try_link
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
1962 if { { ac_try
="$ac_link"
1964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 printf "%s\n" "$ac_try_echo"; } >&5
1969 (eval "$ac_link") 2>conftest.err
1971 if test -s conftest.err; then
1972 grep -v '^ *+' conftest.err >conftest.er1
1973 cat conftest.er1 >&5
1974 mv -f conftest.er1 conftest.err
1976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } && {
1978 test -z "$ac_cxx_werror_flag" ||
1979 test ! -s conftest.err
1980 } && test -s conftest$ac_exeext && {
1981 test "$cross_compiling" = yes ||
1982 test -x conftest$ac_exeext
1987 printf "%s\n" "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.$ac_ext >&5
1992 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1993 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1994 # interfere with the next link command; also delete a directory that is
1995 # left behind by Apple's compiler. We do this before executing the actions.
1996 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 as_fn_set_status $ac_retval
2000 } # ac_fn_cxx_try_link
2002 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2003 # ---------------------------------------------------------
2004 # Tests whether HEADER exists and can be compiled using the include files in
2005 # INCLUDES, setting the cache variable VAR accordingly.
2006 ac_fn_cxx_check_header_compile ()
2008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010 printf %s "checking for $2... " >&6; }
2011 if eval test \${$3+y}
2013 printf %s "(cached) " >&6
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2020 if ac_fn_cxx_try_compile "$LINENO"
2026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 printf "%s\n" "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_cxx_check_header_compile
2035 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2036 # ------------------------------------------------------------------
2037 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2038 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 as_decl_name=`echo $2|sed 's/ *(.*//'`
2043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2044 printf %s "checking whether $as_decl_name is declared... " >&6; }
2045 if eval test \${$3+y}
2047 printf %s "(cached) " >&6
2049 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2050 eval ac_save_FLAGS=\$$6
2051 as_fn_append $6 " $5"
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2058 #ifndef $as_decl_name
2060 (void) $as_decl_use;
2062 (void) $as_decl_name;
2070 if ac_fn_cxx_try_compile "$LINENO"
2076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2077 eval $6=\$ac_save_FLAGS
2081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 printf "%s\n" "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_check_decl
2087 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2088 # ---------------------------------------------
2089 # Tests whether TYPE exists after having included INCLUDES, setting cache
2090 # variable VAR accordingly.
2091 ac_fn_cxx_check_type ()
2093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 printf %s "checking for $2... " >&6; }
2096 if eval test \${$3+y}
2098 printf %s "(cached) " >&6
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2113 if ac_fn_cxx_try_compile "$LINENO"
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2127 if ac_fn_cxx_try_compile "$LINENO"
2133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 printf "%s\n" "$ac_res" >&6; }
2140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2142 } # ac_fn_cxx_check_type
2144 # ac_fn_cxx_check_func LINENO FUNC VAR
2145 # ------------------------------------
2146 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2147 ac_fn_cxx_check_func ()
2149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2151 printf %s "checking for $2... " >&6; }
2152 if eval test \${$3+y}
2154 printf %s "(cached) " >&6
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2158 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2160 #define $2 innocuous_$2
2162 /* System header to define __stub macros and hopefully few prototypes,
2163 which can conflict with char $2 (); below. */
2168 /* Override any GCC internal prototype to avoid an error.
2169 Use char because int might match the return type of a GCC
2170 builtin and then its argument prototype would still apply. */
2175 /* The GNU C library defines this for functions which it implements
2176 to always fail with ENOSYS. Some functions are actually named
2177 something starting with __ and the normal name is an alias. */
2178 #if defined __stub_$2 || defined __stub___$2
2190 if ac_fn_cxx_try_link "$LINENO"
2196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2197 conftest$ac_exeext conftest.$ac_ext
2200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2201 printf "%s\n" "$ac_res" >&6; }
2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 } # ac_fn_cxx_check_func
2205 ac_configure_args_raw=
2210 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 as_fn_append ac_configure_args_raw " '$ac_arg'"
2215 case $ac_configure_args_raw in
2219 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2220 ac_unsafe_a="$ac_unsafe_z#~
"
2221 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
2222 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2225 cat >config.log <<_ACEOF
2226 This file contains any messages produced by compilers while
2227 running configure, to aid debugging if configure makes a mistake.
2229 It was created by gnuworld $as_me 3.0, which was
2230 generated by GNU Autoconf 2.71. Invocation command line was
2232 $ $0$ac_configure_args_raw
2242 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2243 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2244 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2245 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2246 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2248 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2249 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2251 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2252 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2253 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2254 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2255 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2256 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2257 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 case $as_dir in #(((
2268 *) as_dir=$as_dir/ ;;
2270 printf "%s
\n" "PATH
: $as_dir"
2286 # Keep a trace of the command line.
2287 # Strip out --no-create and --no-recursion so they do not pile up.
2288 # Strip out --silent because we don't want to record it for future runs.
2289 # Also quote any args containing shell meta-characters.
2290 # Make two passes to allow for proper duplicate-argument suppression.
2294 ac_must_keep_next=false
2300 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2302 | -silent | --silent | --silen | --sile | --sil)
2305 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2308 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2310 as_fn_append ac_configure_args1 " '$ac_arg'"
2311 if test $ac_must_keep_next = true; then
2312 ac_must_keep_next=false # Got value, back to normal.
2315 *=* | --config-cache | -C | -disable-* | --disable-* \
2316 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2317 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2318 | -with-* | --with-* | -without-* | --without-* | --x)
2319 case "$ac_configure_args0 " in
2320 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2323 -* ) ac_must_keep_next=true ;;
2326 as_fn_append ac_configure_args " '$ac_arg'"
2331 { ac_configure_args0=; unset ac_configure_args0;}
2332 { ac_configure_args1=; unset ac_configure_args1;}
2334 # When interrupted or exit'd, cleanup temporary files, and complete
2335 # config.log. We remove comments because anyway the quotes in there
2336 # would cause problems or look ugly.
2337 # WARNING: Use '\'' to represent an apostrophe within the trap.
2338 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2339 trap 'exit_status=$?
2342 # Save into config.log some information that might help in debugging.
2346 printf "%s
\n" "## ---------------- ##
2347 ## Cache variables. ##
2348 ## ---------------- ##"
2350 # The following way of writing the cache mishandles newlines in values,
2352 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2353 eval ac_val
=\$
$ac_var
2357 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2358 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2361 _
| IFS
| as_nl
) ;; #(
2362 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
2363 *) { eval $ac_var=; unset $ac_var;} ;;
2368 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2369 *${as_nl}ac_space
=\
*)
2371 "s/'\''/'\''\\\\'\'''\''/g;
2372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2375 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2382 printf "%s\n" "## ----------------- ##
2383 ## Output variables. ##
2384 ## ----------------- ##"
2386 for ac_var
in $ac_subst_vars
2388 eval ac_val
=\$
$ac_var
2390 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392 printf "%s\n" "$ac_var='\''$ac_val'\''"
2396 if test -n "$ac_subst_files"; then
2397 printf "%s\n" "## ------------------- ##
2398 ## File substitutions. ##
2399 ## ------------------- ##"
2401 for ac_var in $ac_subst_files
2403 eval ac_val=\$$ac_var
2405 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2407 printf "%s\n" "$ac_var='\''$ac_val'\''"
2412 if test -s confdefs.h
; then
2413 printf "%s\n" "## ----------- ##
2420 test "$ac_signal" != 0 &&
2421 printf "%s\n" "$as_me: caught signal $ac_signal"
2422 printf "%s\n" "$as_me: exit $exit_status"
2424 rm -f core
*.core core.conftest.
* &&
2425 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
2428 for ac_signal in 1 2 13 15; do
2429 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
2433 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2434 rm -f -r conftest* confdefs.h
2436 printf "%s\n" "/* confdefs.h */" > confdefs.h
2438 # Predefined preprocessor variables.
2440 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2442 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2444 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2446 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2448 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2450 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2453 # Let the site file select an alternate cache file if it wants to.
2454 # Prefer an explicitly selected file to automatically selected ones.
2455 if test -n "$CONFIG_SITE"; then
2456 ac_site_files="$CONFIG_SITE"
2457 elif test "x$prefix" != xNONE; then
2458 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2460 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2463 for ac_site_file in $ac_site_files
2465 case $ac_site_file in #(
2469 ac_site_file=./$ac_site_file ;;
2471 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2473 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2474 sed 's
/^
/| /' "$ac_site_file" >&5
2476 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
2478 as_fn_error $? "failed to load site script $ac_site_file
2479 See \`config.log
' for more details" "$LINENO" 5; }
2483 if test -r "$cache_file"; then
2484 # Some versions of bash will fail to source /dev/null (special files
2485 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2486 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2488 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2490 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2491 *) . "./$cache_file";;
2495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2496 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2500 # Test code for whether the C compiler supports C89 (global declarations)
2501 ac_c_conftest_c89_globals='
2502 /* Does the compiler advertise C89 conformance?
2503 Do not
test the value of __STDC__
, because some compilers
set it to
0
2504 while being otherwise adequately conformant.
*/
2505 #if !defined __STDC__
2506 # error "Compiler does not advertise C89 conformance"
2512 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
2513 struct buf
{ int x
; };
2514 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
2515 static char
*e
(p
, i
)
2521 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
2526 s
= g
(p
, va_arg
(v
,int
));
2531 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
2532 function prototypes and stuff
, but not \xHH hex character constants.
2533 These
do not provoke an error unfortunately
, instead are silently treated
2534 as an
"x". The following induces an error
, until -std is added to get
2535 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
2536 array size
at least. It is necessary to
write \x00 == 0 to get something
2537 that is true only with
-std.
*/
2538 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
2540 /* IBM C
6 for AIX is almost
-ANSI by default
, but it replaces macro parameters
2541 inside
strings and character constants.
*/
2542 #define FOO(x) '\''x'\''
2543 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
2545 int
test (int i
, double x
);
2546 struct s1
{int
(*f
) (int a
);};
2547 struct s2
{int
(*f
) (double a
);};
2548 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
2551 # Test code for whether the C compiler supports C89 (body of main).
2552 ac_c_conftest_c89_main='
2553 ok
|= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
2556 # Test code for whether the C compiler supports C99 (global declarations)
2557 ac_c_conftest_c99_globals='
2558 // Does the compiler advertise C99 conformance?
2559 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2560 # error "Compiler does not advertise C99 conformance"
2563 #include <stdbool.h>
2564 extern int puts
(const char
*);
2565 extern int
printf (const char
*, ...
);
2566 extern int dprintf
(int
, const char
*, ...
);
2567 extern void
*malloc
(size_t
);
2569 // Check varargs macros. These examples are taken from C99
6.10.3.5.
2570 // dprintf is used instead of fprintf to avoid needing to
declare
2572 #define debug(...) dprintf (2, __VA_ARGS__)
2573 #define showlist(...) puts (#__VA_ARGS__)
2574 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2576 test_varargs_macros
(void
)
2581 debug
("X = %d\n", x
);
2582 showlist
(The first
, second
, and third items.
);
2583 report
(x
>y
, "x is %d but y is %d", x
, y
);
2586 // Check long long types.
2587 #define BIG64 18446744073709551615ull
2588 #define BIG32 4294967295ul
2589 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2591 #error "your preprocessor is broken"
2595 #error "your preprocessor is broken"
2597 static long long int bignum
= -9223372036854775807LL;
2598 static unsigned long long int ubignum
= BIG64
;
2600 struct incomplete_array
2608 const wchar_t
*name
;
2612 typedef const char
*ccp
;
2615 test_restrict
(ccp restrict text
)
2617 // See
if C
++-style comments work.
2618 // Iterate through items via the restricted pointer.
2619 // Also check
for declarations
in for loops.
2620 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
2625 // Check varargs and va_copy.
2627 test_varargs
(const char
*format
, ...
)
2630 va_start
(args
, format
);
2632 va_copy
(args_copy
, args
);
2634 const char
*str
= "";
2642 case '\''s
'\'': // string
2643 str
= va_arg
(args_copy
, const char
*);
2645 case '\''d
'\'': // int
2646 number
= va_arg
(args_copy
, int
);
2648 case '\''f
'\'': // float
2649 fnumber
= va_arg
(args_copy
, double
);
2658 return *str
&& number
&& fnumber
;
2662 # Test code for whether the C compiler supports C99 (body of main).
2663 ac_c_conftest_c99_main='
2665 _Bool success
= false
;
2666 success
|= (argc
!= 0);
2669 if (test_restrict
("String literal") == 0)
2671 char
*restrict newvar
= "Another string";
2674 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
2675 test_varargs_macros
();
2677 // Check flexible array members.
2678 struct incomplete_array
*ia
=
2679 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
2681 for (int i
= 0; i
< ia
->datasize
; ++i
)
2682 ia
->data
[i
] = i
* 1.234;
2684 // Check named initializers.
2685 struct named_init ni
= {
2687 .name
= L
"Test wide string",
2688 .average
= 543.34343,
2693 int dynamic_array
[ni.number
];
2694 dynamic_array
[0] = argv
[0][0];
2695 dynamic_array
[ni.number
- 1] = 543;
2697 // work around unused variable warnings
2698 ok
|= (!success
|| bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
2699 || dynamic_array
[ni.number
- 1] != 543);
2702 # Test code for whether the C compiler supports C11 (global declarations)
2703 ac_c_conftest_c11_globals='
2704 // Does the compiler advertise C11 conformance?
2705 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2706 # error "Compiler does not advertise C11 conformance"
2710 char _Alignas
(double
) aligned_as_double
;
2711 char _Alignas
(0) no_special_alignment
;
2712 extern char aligned_as_int
;
2713 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
2718 int_alignment
= _Alignof
(int
),
2719 int_array_alignment
= _Alignof
(int
[100]),
2720 char_alignment
= _Alignof
(char
)
2722 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
2725 int _Noreturn does_not_return
(void
) { for (;;) continue; }
2727 // Check _Static_assert.
2728 struct test_static_assert
2731 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
2732 "_Static_assert does not work in struct");
2736 // Check UTF
-8 literals.
2737 #define u8 syntax error!
2738 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
2740 // Check duplicate typedefs.
2741 typedef long
*long_ptr
;
2742 typedef long int
*long_ptr
;
2743 typedef long_ptr long_ptr
;
2745 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
2749 struct
{ int i
; int j
; };
2750 struct
{ int k
; long int l
; } w
;
2756 # Test code for whether the C compiler supports C11 (body of main).
2757 ac_c_conftest_c11_main='
2758 _Static_assert
((offsetof
(struct anonymous
, i
)
2759 == offsetof
(struct anonymous
, w.k
)),
2760 "Anonymous union alignment botch");
2766 # Test code for whether the C compiler supports C11 (complete).
2767 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2768 ${ac_c_conftest_c99_globals}
2769 ${ac_c_conftest_c11_globals}
2772 main (int argc, char **argv)
2775 ${ac_c_conftest_c89_main}
2776 ${ac_c_conftest_c99_main}
2777 ${ac_c_conftest_c11_main}
2782 # Test code for whether the C compiler supports C99 (complete).
2783 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2784 ${ac_c_conftest_c99_globals}
2787 main (int argc, char **argv)
2790 ${ac_c_conftest_c89_main}
2791 ${ac_c_conftest_c99_main}
2796 # Test code for whether the C compiler supports C89 (complete).
2797 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2800 main (int argc, char **argv)
2803 ${ac_c_conftest_c89_main}
2808 # Test code for whether the C++ compiler supports C++98 (global declarations)
2809 ac_cxx_conftest_cxx98_globals='
2810 // Does the compiler advertise C
++98 conformance?
2811 #if !defined __cplusplus || __cplusplus < 199711L
2812 # error "Compiler does not advertise C++98 conformance"
2815 // These inclusions are to reject old compilers that
2816 // lack the unsuffixed header files.
2818 #include <exception>
2820 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
2821 extern void assert
(int
);
2823 extern int strcmp
(const char
*, const char
*);
2826 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
2827 using std
::exception
;
2832 void test_exception_syntax
()
2836 } catch
(const char
*s
) {
2837 // Extra parentheses suppress a warning when building autoconf itself
,
2838 // due to lint rules shared with
more typical C programs.
2839 assert
(!(strcmp
) (s
, "test"));
2843 template
<typename T
> struct test_template
2846 explicit test_template
(T t
) : val
(t
) {}
2847 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
2850 } // anonymous namespace
2853 # Test code for whether the C++ compiler supports C++98 (body of main)
2854 ac_cxx_conftest_cxx98_main='
2858 test_exception_syntax
();
2859 test_template
<double
> tt
(2.0);
2860 assert
(tt.add
(4) == 6.0);
2861 assert
(true
&& !false
);
2865 # Test code for whether the C++ compiler supports C++11 (global declarations)
2866 ac_cxx_conftest_cxx11_globals='
2867 // Does the compiler advertise C
++ 2011 conformance?
2868 #if !defined __cplusplus || __cplusplus < 201103L
2869 # error "Compiler does not advertise C++11 conformance"
2874 constexpr int get_val
() { return 20; }
2885 delegate
(int n
) : n
(n
) {}
2886 delegate
(): delegate
(2354) {}
2888 virtual int getval
() { return this
->n
; };
2893 class overridden
: public delegate
2896 overridden
(int n
): delegate
(n
) {}
2897 virtual int getval
() override final
{ return this
->n
* 2; }
2903 nocopy
(int i
): i
(i
) {}
2905 nocopy
(const nocopy
&) = delete
;
2906 nocopy
& operator
=(const nocopy
&) = delete
;
2911 // for testing lambda expressions
2912 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
2917 // for testing variadic templates and trailing
return types
2918 template
<typename V
> auto
sum(V first
) -> V
2922 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
2924 return first
+ sum(rest...
);
2929 # Test code for whether the C++ compiler supports C++11 (body of main)
2930 ac_cxx_conftest_cxx11_main='
2932 // Test auto and decltype
2934 auto a2
= 48573953.4;
2935 auto a3
= "String literal";
2938 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
2940 decltype
(a2
) a4
= 34895.034;
2944 short sa
[cxx11test
::get_val
()] = { 0 };
2947 // Test initializer lists
2948 cxx11test
::testinit il
= { 4323, 435234.23544 };
2951 // Test range
-based for
2952 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2953 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2954 for (auto
&x
: array
) { x
+= 23; }
2957 // Test lambda expressions
2958 using cxx11test
::eval;
2959 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
2961 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
2963 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
2967 // Test use of variadic templates
2968 using cxx11test
::sum;
2971 auto c
= sum(1.0, 2.0, 3.0);
2974 // Test constructor delegation
2975 cxx11test
::delegate d1
;
2976 cxx11test
::delegate d2
();
2977 cxx11test
::delegate d3
(45);
2980 // Test override and final
2981 cxx11test
::overridden o1
(55464);
2988 // Test template brackets
2989 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
2993 char const
*utf8
= u8
"UTF-8 string \u2500";
2994 char16_t const
*utf16
= u
"UTF-8 string \u2500";
2995 char32_t const
*utf32
= U
"UTF-32 string \u2500";
2999 # Test code for whether the C compiler supports C++11 (complete).
3000 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3001 ${ac_cxx_conftest_cxx11_globals}
3004 main (int argc, char **argv)
3007 ${ac_cxx_conftest_cxx98_main}
3008 ${ac_cxx_conftest_cxx11_main}
3013 # Test code for whether the C compiler supports C++98 (complete).
3014 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3016 main (int argc, char **argv)
3019 ${ac_cxx_conftest_cxx98_main}
3024 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3025 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3026 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3027 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3028 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3029 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3030 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3031 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3032 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3033 as_fn_append ac_header_cxx_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
3035 # Auxiliary files required by this configure script.
3036 ac_aux_files="config.guess config.sub ltmain.sh compile ar-lib missing install-sh"
3038 # Locations in which to look for auxiliary files.
3039 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
3041 # Search for a directory containing all of the required auxiliary files,
3042 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3043 # If we don't
find one directory that contains all the files we need
,
3044 # we report the set of missing files from the *first* directory in
3045 # $ac_aux_dir_candidates and give up.
3046 ac_missing_aux_files
=""
3047 ac_first_candidate
=:
3048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3051 for as_dir
in $ac_aux_dir_candidates
3054 case $as_dir in #(((
3057 *) as_dir
=$as_dir/ ;;
3061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3062 ac_aux_dir_found
=yes
3064 for ac_aux
in $ac_aux_files
3066 # As a special case, if "install-sh" is required, that requirement
3067 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3068 # and $ac_install_sh is set appropriately for whichever one is found.
3069 if test x
"$ac_aux" = x
"install-sh"
3071 if test -f "${as_dir}install-sh"; then
3072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3073 ac_install_sh
="${as_dir}install-sh -c"
3074 elif test -f "${as_dir}install.sh"; then
3075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3076 ac_install_sh
="${as_dir}install.sh -c"
3077 elif test -f "${as_dir}shtool"; then
3078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3079 ac_install_sh
="${as_dir}shtool install -c"
3082 if $ac_first_candidate; then
3083 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3089 if test -f "${as_dir}${ac_aux}"; then
3090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3093 if $ac_first_candidate; then
3094 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3101 if test "$ac_aux_dir_found" = yes; then
3102 ac_aux_dir
="$as_dir"
3105 ac_first_candidate
=false
3114 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3118 # These three variables are undocumented and unsupported,
3119 # and are intended to be withdrawn in a future Autoconf release.
3120 # They can cause serious problems if a builder's source tree is in a directory
3121 # whose full name contains unusual characters.
3122 if test -f "${ac_aux_dir}config.guess"; then
3123 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
3125 if test -f "${ac_aux_dir}config.sub"; then
3126 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
3128 if test -f "$ac_aux_dir/configure"; then
3129 ac_configure
="$SHELL ${ac_aux_dir}configure"
3132 # Check that the precious variables saved in the cache have kept the same
3134 ac_cache_corrupted
=false
3135 for ac_var
in $ac_precious_vars; do
3136 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3137 eval ac_new_set
=\
$ac_env_${ac_var}_set
3138 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3139 eval ac_new_val
=\
$ac_env_${ac_var}_value
3140 case $ac_old_set,$ac_new_set in
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3143 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3144 ac_cache_corrupted
=: ;;
3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3147 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3148 ac_cache_corrupted
=: ;;
3151 if test "x$ac_old_val" != "x$ac_new_val"; then
3152 # differences in whitespace do not lead to failure.
3153 ac_old_val_w
=`echo x $ac_old_val`
3154 ac_new_val_w
=`echo x $ac_new_val`
3155 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3157 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3158 ac_cache_corrupted
=:
3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3161 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3162 eval $ac_var=\
$ac_old_val
3164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3165 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3167 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3170 # Pass precious variables to config.status.
3171 if test "$ac_new_set" = set; then
3173 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3174 *) ac_arg
=$ac_var=$ac_new_val ;;
3176 case " $ac_configure_args " in
3177 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3178 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3182 if $ac_cache_corrupted; then
3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3186 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3187 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3188 and start over" "$LINENO" 5
3190 ## -------------------- ##
3191 ## Main body of script. ##
3192 ## -------------------- ##
3195 ac_cpp
='$CPP $CPPFLAGS'
3196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3203 ac_config_headers
="$ac_config_headers include/defs.h"
3205 am__api_version
='1.16'
3209 # Find a good install program. We prefer a C program (faster),
3210 # so one script is as good as another. But avoid the broken or
3211 # incompatible versions:
3212 # SysV /etc/install, /usr/sbin/install
3213 # SunOS /usr/etc/install
3214 # IRIX /sbin/install
3216 # AmigaOS /C/install, which installs bootblocks on floppy discs
3217 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3218 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3219 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3220 # OS/2's system install, which has a completely different semantic
3221 # ./install, which can be erroneously created by make from ./install.sh.
3222 # Reject install programs that cannot install multiple files.
3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3224 printf %s
"checking for a BSD-compatible install... " >&6; }
3225 if test -z "$INSTALL"; then
3226 if test ${ac_cv_path_install+y}
3228 printf %s
"(cached) " >&6
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 case $as_dir in #(((
3237 *) as_dir
=$as_dir/ ;;
3239 # Account for fact that we put trailing slashes in our PATH walk.
3242 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
3243 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3246 # OSF1 and SCO ODT 3.0 have their own names for install.
3247 # Don't use installbsd from OSF since it installs stuff as root
3249 for ac_prog
in ginstall scoinst
install; do
3250 for ac_exec_ext
in '' $ac_executable_extensions; do
3251 if as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext"; then
3252 if test $ac_prog = install &&
3253 grep dspmsg
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3254 # AIX install. It has an incompatible calling convention.
3256 elif test $ac_prog = install &&
3257 grep pwplus
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3258 # program-specific install script used by HP pwplus--don't use.
3261 rm -rf conftest.one conftest.two conftest.dir
3262 echo one
> conftest.one
3263 echo two
> conftest.two
3265 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir/" &&
3266 test -s conftest.one
&& test -s conftest.two
&&
3267 test -s conftest.dir
/conftest.one
&&
3268 test -s conftest.dir
/conftest.two
3270 ac_cv_path_install
="$as_dir$ac_prog$ac_exec_ext -c"
3283 rm -rf conftest.one conftest.two conftest.dir
3286 if test ${ac_cv_path_install+y}; then
3287 INSTALL
=$ac_cv_path_install
3289 # As a last resort, use the slow shell script. Don't cache a
3290 # value for INSTALL within a source directory, because that will
3291 # break other packages using the cache if that directory is
3292 # removed, or if the value is a relative name.
3293 INSTALL
=$ac_install_sh
3296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3297 printf "%s\n" "$INSTALL" >&6; }
3299 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3300 # It thinks the first close brace ends the variable substitution.
3301 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3303 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3305 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3308 printf %s
"checking whether build environment is sane... " >&6; }
3309 # Reject unsafe characters in $srcdir or the absolute working directory
3310 # name. Accept space and tab only in the latter.
3314 *[\\\"\#\$\&\'\`$am_lf]*)
3315 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3318 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3319 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3322 # Do 'set' in a subshell so we don't clobber the current shell's
3323 # arguments. Must try -L first in case configure is actually a
3324 # symlink; some systems play weird games with the mod time of symlinks
3325 # (eg FreeBSD returns the mod time of the symlink's containing
3329 for am_try
in 1 2; do
3330 echo "timestamp, slept: $am_has_slept" > conftest.
file
3331 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3332 if test "$*" = "X"; then
3334 set X
`ls -t "$srcdir/configure" conftest.file`
3336 if test "$*" != "X $srcdir/configure conftest.file" \
3337 && test "$*" != "X conftest.file $srcdir/configure"; then
3339 # If neither matched, then we have a broken ls. This can happen
3340 # if, for instance, CONFIG_SHELL is bash and it inherits a
3341 # broken ls alias from the environment. This has actually
3342 # happened. Such a system could not be considered "sane".
3343 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3344 alias in your environment" "$LINENO" 5
3346 if test "$2" = conftest.
file || test $am_try -eq 2; then
3353 test "$2" = conftest.
file
3359 as_fn_error $?
"newly created file is older than distributed files!
3360 Check your system clock" "$LINENO" 5
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 printf "%s\n" "yes" >&6; }
3364 # If we didn't sleep, we still need to ensure time stamps of config.status and
3365 # generated files are strictly newer.
3367 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3374 test "$program_prefix" != NONE
&&
3375 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3376 # Use a double $ so make ignores it.
3377 test "$program_suffix" != NONE
&&
3378 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3379 # Double any \ or $.
3380 # By default was `s,x,x', remove it if useless.
3381 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3382 program_transform_name
=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3385 # Expand $ac_aux_dir to an absolute path.
3386 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3389 if test x
"${MISSING+set}" != xset
; then
3390 MISSING
="\${SHELL} '$am_aux_dir/missing'"
3392 # Use eval to expand $SHELL
3393 if eval "$MISSING --is-lightweight"; then
3394 am_missing_run
="$MISSING "
3397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3398 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3401 if test x
"${install_sh+set}" != xset
; then
3404 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3406 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3410 # Installed binaries are usually stripped using 'strip' when the user
3411 # run "make install-strip". However 'strip' might not be the right
3412 # tool to use in cross-compilation environments, therefore Automake
3413 # will honor the 'STRIP' environment variable to overrule this program.
3414 if test "$cross_compiling" != no
; then
3415 if test -n "$ac_tool_prefix"; then
3416 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3417 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419 printf %s
"checking for $ac_word... " >&6; }
3420 if test ${ac_cv_prog_STRIP+y}
3422 printf %s
"(cached) " >&6
3424 if test -n "$STRIP"; then
3425 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3431 case $as_dir in #(((
3434 *) as_dir
=$as_dir/ ;;
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3438 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3448 STRIP
=$ac_cv_prog_STRIP
3449 if test -n "$STRIP"; then
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3451 printf "%s\n" "$STRIP" >&6; }
3453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 printf "%s\n" "no" >&6; }
3459 if test -z "$ac_cv_prog_STRIP"; then
3461 # Extract the first word of "strip", so it can be a program name with args.
3462 set dummy strip
; ac_word
=$2
3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 printf %s
"checking for $ac_word... " >&6; }
3465 if test ${ac_cv_prog_ac_ct_STRIP+y}
3467 printf %s
"(cached) " >&6
3469 if test -n "$ac_ct_STRIP"; then
3470 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3476 case $as_dir in #(((
3479 *) as_dir
=$as_dir/ ;;
3481 for ac_exec_ext
in '' $ac_executable_extensions; do
3482 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3483 ac_cv_prog_ac_ct_STRIP
="strip"
3484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3493 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3494 if test -n "$ac_ct_STRIP"; then
3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3496 printf "%s\n" "$ac_ct_STRIP" >&6; }
3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 printf "%s\n" "no" >&6; }
3502 if test "x$ac_ct_STRIP" = x
; then
3505 case $cross_compiling:$ac_tool_warned in
3507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3508 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3509 ac_tool_warned
=yes ;;
3514 STRIP
="$ac_cv_prog_STRIP"
3518 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3522 printf %s
"checking for a race-free mkdir -p... " >&6; }
3523 if test -z "$MKDIR_P"; then
3524 if test ${ac_cv_path_mkdir+y}
3526 printf %s
"(cached) " >&6
3528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3532 case $as_dir in #(((
3535 *) as_dir
=$as_dir/ ;;
3537 for ac_prog
in mkdir gmkdir
; do
3538 for ac_exec_ext
in '' $ac_executable_extensions; do
3539 as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext" || continue
3540 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3541 'mkdir ('*'coreutils) '* | \
3543 'mkdir (fileutils) '4.1*)
3544 ac_cv_path_mkdir
=$as_dir$ac_prog$ac_exec_ext
3554 test -d .
/--version && rmdir .
/--version
3555 if test ${ac_cv_path_mkdir+y}; then
3556 MKDIR_P
="$ac_cv_path_mkdir -p"
3558 # As a last resort, use the slow shell script. Don't cache a
3559 # value for MKDIR_P within a source directory, because that will
3560 # break other packages using the cache if that directory is
3561 # removed, or if the value is a relative name.
3562 MKDIR_P
="$ac_install_sh -d"
3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3566 printf "%s\n" "$MKDIR_P" >&6; }
3568 for ac_prog
in gawk mawk nawk
awk
3570 # Extract the first word of "$ac_prog", so it can be a program name with args.
3571 set dummy
$ac_prog; ac_word
=$2
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 printf %s
"checking for $ac_word... " >&6; }
3574 if test ${ac_cv_prog_AWK+y}
3576 printf %s
"(cached) " >&6
3578 if test -n "$AWK"; then
3579 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3585 case $as_dir in #(((
3588 *) as_dir
=$as_dir/ ;;
3590 for ac_exec_ext
in '' $ac_executable_extensions; do
3591 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_AWK
="$ac_prog"
3593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3603 if test -n "$AWK"; then
3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3605 printf "%s\n" "$AWK" >&6; }
3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 printf "%s\n" "no" >&6; }
3612 test -n "$AWK" && break
3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3616 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3618 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3619 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
3621 printf %s
"(cached) " >&6
3623 cat >conftest.
make <<\_ACEOF
3626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639 printf "%s\n" "yes" >&6; }
3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 printf "%s\n" "no" >&6; }
3644 SET_MAKE
="MAKE=${MAKE-make}"
3647 rm -rf .tst
2>/dev
/null
3648 mkdir .tst
2>/dev
/null
3649 if test -d .tst
; then
3654 rmdir .tst
2>/dev
/null
3656 # Check whether --enable-silent-rules was given.
3657 if test ${enable_silent_rules+y}
3659 enableval
=$enable_silent_rules;
3662 case $enable_silent_rules in # (((
3663 yes) AM_DEFAULT_VERBOSITY
=0;;
3664 no
) AM_DEFAULT_VERBOSITY
=1;;
3665 *) AM_DEFAULT_VERBOSITY
=1;;
3667 am_make
=${MAKE-make}
3668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3669 printf %s
"checking whether $am_make supports nested variables... " >&6; }
3670 if test ${am_cv_make_support_nested_variables+y}
3672 printf %s
"(cached) " >&6
3674 if printf "%s\n" 'TRUE=$(BAR$(V))
3680 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3681 am_cv_make_support_nested_variables
=yes
3683 am_cv_make_support_nested_variables
=no
3686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3687 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3688 if test $am_cv_make_support_nested_variables = yes; then
3690 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3692 AM_V
=$AM_DEFAULT_VERBOSITY
3693 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3697 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3698 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3699 # is not polluted with repeated "-I."
3700 am__isrc
=' -I$(srcdir)'
3701 # test to see if srcdir already configured
3702 if test -f $srcdir/config.status
; then
3703 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3707 # test whether we have cygpath
3708 if test -z "$CYGPATH_W"; then
3709 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3710 CYGPATH_W
='cygpath -w'
3717 # Define the identity of the package.
3722 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3725 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3727 # Some tools Automake needs.
3729 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3732 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3735 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3738 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3741 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3743 # For better backward compatibility. To be removed once Automake 1.9.x
3744 # dies out for good. For more background, see:
3745 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3746 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3747 mkdir_p
='$(MKDIR_P)'
3749 # We need awk for the "check" target (and possibly the TAP driver). The
3750 # system "awk" is bad on some platforms.
3751 # Always define AMTAR for backward compatibility. Yes, it's still used
3752 # in the wild :-( We should find a proper way to deprecate it ...
3756 # We'll loop over all known methods to create a tar archive until one works.
3757 _am_tools
='gnutar pax cpio none'
3759 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3766 # POSIX will say in a future version that running "rm -f" with no argument
3767 # is OK; and we want to be able to make that assumption in our Makefile
3768 # recipes. So use an aggressive probe to check that the usage we want is
3769 # actually supported "in the wild" to an acceptable degree.
3770 # See automake bug#10828.
3771 # To make any issue more visible, cause the running configure to be aborted
3772 # by default if the 'rm' program in use doesn't match our expectations; the
3773 # user can still override this though.
3774 if rm -f && rm -fr && rm -rf; then : OK
; else
3778 Your 'rm' program seems unable to run without file operands specified
3779 on the command line, even when the '-f' option is present. This is contrary
3780 to the behaviour of most rm programs out there, and not conforming with
3781 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3783 Please tell bug-automake@gnu.org about your system, including the value
3784 of your $PATH and any error possibly output before this message. This
3785 can help us improve future automake versions.
3788 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3789 echo 'Configuration will proceed anyway, since you have set the' >&2
3790 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3794 Aborting the configuration process, to ensure you take notice of the issue.
3796 You can download and install GNU coreutils to get an 'rm' implementation
3797 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3799 If you want to complete the configuration process using your problematic
3800 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3801 to "yes", and re-run configure.
3804 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3808 # Check whether --enable-silent-rules was given.
3809 if test ${enable_silent_rules+y}
3811 enableval
=$enable_silent_rules;
3814 case $enable_silent_rules in # (((
3815 yes) AM_DEFAULT_VERBOSITY
=0;;
3816 no
) AM_DEFAULT_VERBOSITY
=1;;
3817 *) AM_DEFAULT_VERBOSITY
=0;;
3819 am_make
=${MAKE-make}
3820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3821 printf %s
"checking whether $am_make supports nested variables... " >&6; }
3822 if test ${am_cv_make_support_nested_variables+y}
3824 printf %s
"(cached) " >&6
3826 if printf "%s\n" 'TRUE=$(BAR$(V))
3832 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3833 am_cv_make_support_nested_variables
=yes
3835 am_cv_make_support_nested_variables
=no
3838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3839 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3840 if test $am_cv_make_support_nested_variables = yes; then
3842 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3844 AM_V
=$AM_DEFAULT_VERBOSITY
3845 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3859 DEPDIR="${am__leading_dot}deps"
3861 ac_config_commands="$ac_config_commands depfiles"
3863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3864 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3865 cat > confinc.mk << 'END'
3867 @echo this is the am__doit target >confinc.out
3872 # BSD make does it like this.
3873 echo '.include
"confinc.mk" # ignored' > confmf.BSD
3874 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3875 echo 'include confinc.mk # ignored' > confmf.GNU
3877 for s
in GNU BSD
; do
3878 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3879 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }
3883 case $?
:`cat confinc.out 2>/dev/null` in #(
3884 '0:this is the am__doit target') :
3887 am__include
='.include' am__quote
='"' ;; #(
3889 am__include
='include' am__quote
='' ;;
3894 if test "$am__include" != "#"; then
3895 _am_result
="yes ($s style)"
3899 rm -f confinc.
* confmf.
*
3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3901 printf "%s\n" "${_am_result}" >&6; }
3903 # Check whether --enable-dependency-tracking was given.
3904 if test ${enable_dependency_tracking+y}
3906 enableval
=$enable_dependency_tracking;
3909 if test "x$enable_dependency_tracking" != xno
; then
3910 am_depcomp
="$ac_aux_dir/depcomp"
3914 if test "x$enable_dependency_tracking" != xno; then
3924 ac_cpp
='$CPP $CPPFLAGS'
3925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3928 if test -n "$ac_tool_prefix"; then
3929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 printf %s
"checking for $ac_word... " >&6; }
3933 if test ${ac_cv_prog_CC+y}
3935 printf %s
"(cached) " >&6
3937 if test -n "$CC"; then
3938 ac_cv_prog_CC
="$CC" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 case $as_dir in #(((
3947 *) as_dir
=$as_dir/ ;;
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3962 if test -n "$CC"; then
3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 printf "%s\n" "$CC" >&6; }
3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 printf "%s\n" "no" >&6; }
3972 if test -z "$ac_cv_prog_CC"; then
3974 # Extract the first word of "gcc", so it can be a program name with args.
3975 set dummy gcc
; ac_word
=$2
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 printf %s
"checking for $ac_word... " >&6; }
3978 if test ${ac_cv_prog_ac_ct_CC+y}
3980 printf %s
"(cached) " >&6
3982 if test -n "$ac_ct_CC"; then
3983 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 case $as_dir in #(((
3992 *) as_dir
=$as_dir/ ;;
3994 for ac_exec_ext
in '' $ac_executable_extensions; do
3995 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_CC
="gcc"
3997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4006 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4007 if test -n "$ac_ct_CC"; then
4008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4009 printf "%s\n" "$ac_ct_CC" >&6; }
4011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 printf "%s\n" "no" >&6; }
4015 if test "x$ac_ct_CC" = x
; then
4018 case $cross_compiling:$ac_tool_warned in
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4022 ac_tool_warned
=yes ;;
4030 if test -z "$CC"; then
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4033 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 printf %s
"checking for $ac_word... " >&6; }
4036 if test ${ac_cv_prog_CC+y}
4038 printf %s
"(cached) " >&6
4040 if test -n "$CC"; then
4041 ac_cv_prog_CC
="$CC" # Let the user override the test.
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 case $as_dir in #(((
4050 *) as_dir
=$as_dir/ ;;
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4065 if test -n "$CC"; then
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4067 printf "%s\n" "$CC" >&6; }
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 printf "%s\n" "no" >&6; }
4076 if test -z "$CC"; then
4077 # Extract the first word of "cc", so it can be a program name with args.
4078 set dummy cc
; ac_word
=$2
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080 printf %s
"checking for $ac_word... " >&6; }
4081 if test ${ac_cv_prog_CC+y}
4083 printf %s
"(cached) " >&6
4085 if test -n "$CC"; then
4086 ac_cv_prog_CC
="$CC" # Let the user override the test.
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 case $as_dir in #(((
4096 *) as_dir
=$as_dir/ ;;
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4100 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4101 ac_prog_rejected
=yes
4105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4112 if test $ac_prog_rejected = yes; then
4113 # We found a bogon in the path, so make sure we never use it.
4114 set dummy
$ac_cv_prog_CC
4116 if test $# != 0; then
4117 # We chose a different compiler from the bogus one.
4118 # However, it has the same basename, so the bogon will be chosen
4119 # first if we set CC to just the basename; use the full file name.
4121 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4127 if test -n "$CC"; then
4128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4129 printf "%s\n" "$CC" >&6; }
4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 printf "%s\n" "no" >&6; }
4137 if test -z "$CC"; then
4138 if test -n "$ac_tool_prefix"; then
4139 for ac_prog
in cl.exe
4141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4142 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4144 printf %s
"checking for $ac_word... " >&6; }
4145 if test ${ac_cv_prog_CC+y}
4147 printf %s
"(cached) " >&6
4149 if test -n "$CC"; then
4150 ac_cv_prog_CC
="$CC" # Let the user override the test.
4152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 case $as_dir in #(((
4159 *) as_dir
=$as_dir/ ;;
4161 for ac_exec_ext
in '' $ac_executable_extensions; do
4162 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4163 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4174 if test -n "$CC"; then
4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4176 printf "%s\n" "$CC" >&6; }
4178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 printf "%s\n" "no" >&6; }
4183 test -n "$CC" && break
4186 if test -z "$CC"; then
4188 for ac_prog
in cl.exe
4190 # Extract the first word of "$ac_prog", so it can be a program name with args.
4191 set dummy
$ac_prog; ac_word
=$2
4192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 printf %s
"checking for $ac_word... " >&6; }
4194 if test ${ac_cv_prog_ac_ct_CC+y}
4196 printf %s
"(cached) " >&6
4198 if test -n "$ac_ct_CC"; then
4199 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4205 case $as_dir in #(((
4208 *) as_dir
=$as_dir/ ;;
4210 for ac_exec_ext
in '' $ac_executable_extensions; do
4211 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_CC
="$ac_prog"
4213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4222 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4223 if test -n "$ac_ct_CC"; then
4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4225 printf "%s\n" "$ac_ct_CC" >&6; }
4227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 printf "%s\n" "no" >&6; }
4232 test -n "$ac_ct_CC" && break
4235 if test "x$ac_ct_CC" = x
; then
4238 case $cross_compiling:$ac_tool_warned in
4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4241 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4242 ac_tool_warned
=yes ;;
4249 if test -z "$CC"; then
4250 if test -n "$ac_tool_prefix"; then
4251 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4252 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 printf %s
"checking for $ac_word... " >&6; }
4255 if test ${ac_cv_prog_CC+y}
4257 printf %s
"(cached) " >&6
4259 if test -n "$CC"; then
4260 ac_cv_prog_CC
="$CC" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 case $as_dir in #(((
4269 *) as_dir
=$as_dir/ ;;
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4284 if test -n "$CC"; then
4285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4286 printf "%s\n" "$CC" >&6; }
4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 printf "%s\n" "no" >&6; }
4294 if test -z "$ac_cv_prog_CC"; then
4296 # Extract the first word of "clang", so it can be a program name with args.
4297 set dummy clang
; ac_word
=$2
4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 printf %s
"checking for $ac_word... " >&6; }
4300 if test ${ac_cv_prog_ac_ct_CC+y}
4302 printf %s
"(cached) " >&6
4304 if test -n "$ac_ct_CC"; then
4305 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4311 case $as_dir in #(((
4314 *) as_dir
=$as_dir/ ;;
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4318 ac_cv_prog_ac_ct_CC
="clang"
4319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4328 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4329 if test -n "$ac_ct_CC"; then
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4331 printf "%s\n" "$ac_ct_CC" >&6; }
4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 printf "%s\n" "no" >&6; }
4337 if test "x$ac_ct_CC" = x
; then
4340 case $cross_compiling:$ac_tool_warned in
4342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4343 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4344 ac_tool_warned
=yes ;;
4355 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4357 as_fn_error $?
"no acceptable C compiler found in \$PATH
4358 See \`config.log' for more details" "$LINENO" 5; }
4360 # Provide some information about the compiler.
4361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4364 for ac_option
in --version -v -V -qversion -version; do
4365 { { ac_try
="$ac_compiler $ac_option >&5"
4367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4368 *) ac_try_echo=$ac_try;;
4370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4371 printf "%s\n" "$ac_try_echo"; } >&5
4372 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4374 if test -s conftest.err; then
4376 ... rest of stderr output deleted ...
4377 10q' conftest.err >conftest.er1
4378 cat conftest.er1 >&5
4380 rm -f conftest.er1 conftest.err
4381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4396 ac_clean_files_save=$ac_clean_files
4397 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4398 # Try to create an executable without -o first, disregard a.out.
4399 # It will help us diagnose broken compilers, and finding out an intuition
4401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4402 printf %s "checking whether the C compiler works... " >&6; }
4403 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4405 # The possible output files:
4406 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4409 for ac_file in $ac_files
4412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4413 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4418 if { { ac_try="$ac_link_default"
4420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4421 *) ac_try_echo
=$ac_try;;
4423 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4424 printf "%s\n" "$ac_try_echo"; } >&5
4425 (eval "$ac_link_default") 2>&5
4427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4430 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4432 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4433 # so that the user can short-circuit this test for compilers unknown to
4435 for ac_file
in $ac_files ''
4437 test -f "$ac_file" || continue
4439 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
4442 # We found the default executable, but exeext='' is most
4446 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
4448 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4450 # We set ac_cv_exeext here because the later test for it is not
4451 # safe: cross compilers may not add the suffix if given an `-o'
4452 # argument, so we may need to know it at that point already.
4453 # Even if this section looks crufty: it has the advantage of
4460 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4465 if test -z "$ac_file"
4467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 printf "%s\n" "no" >&6; }
4469 printf "%s\n" "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.
$ac_ext >&5
4472 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4473 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4474 as_fn_error
77 "C compiler cannot create executables
4475 See \`config.log' for more details" "$LINENO" 5; }
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4478 printf "%s\n" "yes" >&6; }
4480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4481 printf %s
"checking for C compiler default output file name... " >&6; }
4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4483 printf "%s\n" "$ac_file" >&6; }
4484 ac_exeext
=$ac_cv_exeext
4486 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4487 ac_clean_files
=$ac_clean_files_save
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4489 printf %s
"checking for suffix of executables... " >&6; }
4490 if { { ac_try
="$ac_link"
4492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4493 *) ac_try_echo=$ac_try;;
4495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4496 printf "%s\n" "$ac_try_echo"; } >&5
4497 (eval "$ac_link") 2>&5
4499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4500 test $ac_status = 0; }
4502 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4503 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4504 # work properly (i.e., refer to `conftest.exe'), while it won't with
4506 for ac_file
in conftest.exe conftest conftest.
*; do
4507 test -f "$ac_file" || continue
4509 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
4510 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4516 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4517 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4518 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4519 See \`config.log' for more details" "$LINENO" 5; }
4521 rm -f conftest conftest
$ac_cv_exeext
4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4523 printf "%s\n" "$ac_cv_exeext" >&6; }
4525 rm -f conftest.
$ac_ext
4526 EXEEXT
=$ac_cv_exeext
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4534 FILE *f = fopen ("conftest.out", "w");
4535 return ferror (f) || fclose (f) != 0;
4541 ac_clean_files
="$ac_clean_files conftest.out"
4542 # Check that the compiler produces executables we can run. If not, either
4543 # the compiler is broken, or we cross compile.
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4545 printf %s
"checking whether we are cross compiling... " >&6; }
4546 if test "$cross_compiling" != yes; then
4547 { { ac_try
="$ac_link"
4549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 printf "%s\n" "$ac_try_echo"; } >&5
4554 (eval "$ac_link") 2>&5
4556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557 test $ac_status = 0; }
4558 if { ac_try='./conftest$ac_cv_exeext'
4559 { { case "(($ac_try" in
4560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4561 *) ac_try_echo
=$ac_try;;
4563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4564 printf "%s\n" "$ac_try_echo"; } >&5
4565 (eval "$ac_try") 2>&5
4567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4568 test $ac_status = 0; }; }; then
4571 if test "$cross_compiling" = maybe
; then
4574 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4575 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4576 as_fn_error
77 "cannot run C compiled programs.
4577 If you meant to cross compile, use \`--host'.
4578 See \`config.log' for more details" "$LINENO" 5; }
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4583 printf "%s\n" "$cross_compiling" >&6; }
4585 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4586 ac_clean_files
=$ac_clean_files_save
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4588 printf %s
"checking for suffix of object files... " >&6; }
4589 if test ${ac_cv_objext+y}
4591 printf %s
"(cached) " >&6
4593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4604 rm -f conftest.o conftest.obj
4605 if { { ac_try
="$ac_compile"
4607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4611 printf "%s\n" "$ac_try_echo"; } >&5
4612 (eval "$ac_compile") 2>&5
4614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4615 test $ac_status = 0; }
4617 for ac_file in conftest.o conftest.obj conftest.*; do
4618 test -f "$ac_file" || continue;
4620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4626 printf "%s\n" "$as_me: failed program was:" >&5
4627 sed 's/^/| /' conftest.$ac_ext >&5
4629 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4630 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4631 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4632 See \
`config.log' for more details" "$LINENO" 5; }
4634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4637 printf "%s\n" "$ac_cv_objext" >&6; }
4638 OBJEXT=$ac_cv_objext
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4641 printf %s "checking whether the compiler supports GNU C... " >&6; }
4642 if test ${ac_cv_c_compiler_gnu+y}
4644 printf %s "(cached) " >&6
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4660 if ac_fn_c_try_compile "$LINENO"
4666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4667 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4671 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 if test $ac_compiler_gnu = yes; then
4679 ac_test_CFLAGS=${CFLAGS+y}
4680 ac_save_CFLAGS=$CFLAGS
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4682 printf %s "checking whether $CC accepts -g... " >&6; }
4683 if test ${ac_cv_prog_cc_g+y}
4685 printf %s "(cached) " >&6
4687 ac_save_c_werror_flag=$ac_c_werror_flag
4688 ac_c_werror_flag=yes
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4702 if ac_fn_c_try_compile "$LINENO"
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4718 if ac_fn_c_try_compile "$LINENO"
4722 ac_c_werror_flag=$ac_save_c_werror_flag
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4735 if ac_fn_c_try_compile "$LINENO"
4739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4744 ac_c_werror_flag=$ac_save_c_werror_flag
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4747 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4748 if test $ac_test_CFLAGS; then
4749 CFLAGS=$ac_save_CFLAGS
4750 elif test $ac_cv_prog_cc_g = yes; then
4751 if test "$GCC" = yes; then
4757 if test "$GCC" = yes; then
4764 if test x$ac_prog_cc_stdc = xno
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4767 printf %s "checking for $CC option to enable C11 features... " >&6; }
4768 if test ${ac_cv_prog_cc_c11+y}
4770 printf %s "(cached) " >&6
4772 ac_cv_prog_cc_c11=no
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 $ac_c_conftest_c11_program
4778 for ac_arg in '' -std=gnu11
4780 CC="$ac_save_CC $ac_arg"
4781 if ac_fn_c_try_compile "$LINENO"
4783 ac_cv_prog_cc_c11=$ac_arg
4785 rm -f core conftest.err conftest.$ac_objext conftest.beam
4786 test "x$ac_cv_prog_cc_c11" != "xno" && break
4788 rm -f conftest.$ac_ext
4792 if test "x$ac_cv_prog_cc_c11" = xno
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4795 printf "%s\n" "unsupported" >&6; }
4797 if test "x$ac_cv_prog_cc_c11" = x
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4800 printf "%s\n" "none needed" >&6; }
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4803 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4804 CC="$CC $ac_cv_prog_cc_c11"
4806 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4810 if test x$ac_prog_cc_stdc = xno
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4813 printf %s "checking for $CC option to enable C99 features... " >&6; }
4814 if test ${ac_cv_prog_cc_c99+y}
4816 printf %s "(cached) " >&6
4818 ac_cv_prog_cc_c99=no
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4822 $ac_c_conftest_c99_program
4824 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4826 CC="$ac_save_CC $ac_arg"
4827 if ac_fn_c_try_compile "$LINENO"
4829 ac_cv_prog_cc_c99=$ac_arg
4831 rm -f core conftest.err conftest.$ac_objext conftest.beam
4832 test "x$ac_cv_prog_cc_c99" != "xno" && break
4834 rm -f conftest.$ac_ext
4838 if test "x$ac_cv_prog_cc_c99" = xno
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4841 printf "%s\n" "unsupported" >&6; }
4843 if test "x$ac_cv_prog_cc_c99" = x
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4846 printf "%s\n" "none needed" >&6; }
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4849 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4850 CC="$CC $ac_cv_prog_cc_c99"
4852 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4856 if test x$ac_prog_cc_stdc = xno
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4859 printf %s "checking for $CC option to enable C89 features... " >&6; }
4860 if test ${ac_cv_prog_cc_c89+y}
4862 printf %s "(cached) " >&6
4864 ac_cv_prog_cc_c89=no
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 $ac_c_conftest_c89_program
4870 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4872 CC="$ac_save_CC $ac_arg"
4873 if ac_fn_c_try_compile "$LINENO"
4875 ac_cv_prog_cc_c89=$ac_arg
4877 rm -f core conftest.err conftest.$ac_objext conftest.beam
4878 test "x$ac_cv_prog_cc_c89" != "xno" && break
4880 rm -f conftest.$ac_ext
4884 if test "x$ac_cv_prog_cc_c89" = xno
4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4887 printf "%s\n" "unsupported" >&6; }
4889 if test "x$ac_cv_prog_cc_c89" = x
4891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4892 printf "%s\n" "none needed" >&6; }
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4895 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4896 CC="$CC $ac_cv_prog_cc_c89"
4898 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4904 ac_cpp='$CPP $CPPFLAGS'
4905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 ac_cpp='$CPP $CPPFLAGS'
4912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4916 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4917 if test ${am_cv_prog_cc_c_o+y}
4919 printf %s "(cached) " >&6
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4932 # Make sure it works both with $CC and with simple cc.
4933 # Following AC_PROG_CC_C_O, we do the test twice because some
4934 # compilers refuse to overwrite an existing .o file with -o,
4935 # though they will create one.
4936 am_cv_prog_cc_c_o=yes
4938 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4939 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } \
4943 && test -f conftest2.$ac_objext; then
4946 am_cv_prog_cc_c_o=no
4950 rm -f core conftest*
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4954 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4955 if test "$am_cv_prog_cc_c_o" != yes; then
4956 # Losing compiler, so override with the script.
4957 # FIXME: It is wrong to rewrite CC.
4958 # But if we don't then we get into trouble of one sort or another.
4959 # A longer-term fix would be to have automake use am__CC in this case,
4960 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4961 CC="$am_aux_dir/compile $CC"
4964 ac_cpp='$CPP $CPPFLAGS'
4965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970 depcc="$CC" am_compiler_list=
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4973 printf %s "checking dependency style of $depcc... " >&6; }
4974 if test ${am_cv_CC_dependencies_compiler_type+y}
4976 printf %s "(cached) " >&6
4978 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4979 # We make a subdir and do the tests there. Otherwise we can end up
4980 # making bogus files that we don't know about and never remove. For
4981 # instance it was reported that on HP-UX the gcc test will end up
4982 # making a dummy file named 'D' -- because '-MD' means "put the output
4986 # Copy depcomp to subdir because otherwise we won't find it if we're
4987 # using a relative directory.
4988 cp "$am_depcomp" conftest.dir
4990 # We will build objects and dependencies in a subdirectory because
4991 # it helps to detect inapplicable dependency modes. For instance
4992 # both Tru64's cc and ICC support -MD to output dependencies as a
4993 # side effect of compilation, but ICC will put the dependencies in
4994 # the current directory while Tru64 will put them in the object
4998 am_cv_CC_dependencies_compiler_type=none
4999 if test "$am_compiler_list" = ""; then
5000 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5003 case " $depcc " in #(
5004 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5007 for depmode in $am_compiler_list; do
5008 # Setup a source with many dependencies, because some compilers
5009 # like to wrap large dependency lists on column 80 (with \), and
5010 # we should not choose a depcomp mode which is confused by this.
5012 # We need to recreate these files for each test, as the compiler may
5013 # overwrite some of them when testing with obscure command lines.
5014 # This happens at least with the AIX C compiler.
5016 for i in 1 2 3 4 5 6; do
5017 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5018 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5019 # Solaris 10 /bin/sh.
5020 echo '/* dummy */' > sub/conftst$i.h
5022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5024 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5025 # mode. It turns out that the SunPro C++ compiler does not properly
5026 # handle '-M -o', and we need to detect this. Also, some Intel
5027 # versions had trouble with output in subdirs.
5028 am__obj=sub/conftest.${OBJEXT-o}
5029 am__minus_obj="-o $am__obj"
5032 # This depmode causes a compiler race in universal mode.
5033 test "$am__universal" = false || continue
5036 # After this tag, mechanisms are not by side-effect, so they'll
5037 # only be used when explicitly requested.
5038 if test "x$enable_dependency_tracking" = xyes; then
5044 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5045 # This compiler won't grok '-c -o', but also, the minuso test has
5046 # not run yet. These depmodes are late enough in the game, and
5047 # so weak that their functioning should not be impacted.
5048 am__obj=conftest.${OBJEXT-o}
5053 if depmode=$depmode \
5054 source=sub/conftest.c object=$am__obj \
5055 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5056 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5057 >/dev/null 2>conftest.err &&
5058 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5059 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5060 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5061 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5062 # icc doesn't choke on unknown options, it will just issue warnings
5063 # or remarks (even with -Werror). So we grep stderr for any message
5064 # that says an option was ignored or not supported.
5065 # When given -MP, icc 7.0 and 7.1 complain thusly:
5066 # icc: Command line warning: ignoring option '-M'; no argument required
5067 # The diagnosis changed in icc 8.0:
5068 # icc: Command line remark: option '-MP' not supported
5069 if (grep 'ignoring option' conftest.err ||
5070 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5071 am_cv_CC_dependencies_compiler_type=$depmode
5080 am_cv_CC_dependencies_compiler_type=none
5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5085 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5086 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5089 test "x$enable_dependency_tracking" != xno \
5090 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5092 am__fastdepCC_FALSE='#'
5094 am__fastdepCC_TRUE='#'
5095 am__fastdepCC_FALSE=
5101 if test -n "$ac_tool_prefix"; then
5102 for ac_prog in ar lib "link -lib"
5104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5105 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 printf %s "checking for $ac_word... " >&6; }
5108 if test ${ac_cv_prog_AR+y}
5110 printf %s "(cached) " >&6
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 case $as_dir in #(((
5122 *) as_dir=$as_dir/ ;;
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5137 if test -n "$AR"; then
5138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5139 printf "%s\n" "$AR" >&6; }
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 printf "%s\n" "no" >&6; }
5146 test -n "$AR" && break
5149 if test -z "$AR"; then
5151 for ac_prog in ar lib "link -lib"
5153 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy $ac_prog; ac_word=$2
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 printf %s "checking for $ac_word... " >&6; }
5157 if test ${ac_cv_prog_ac_ct_AR+y}
5159 printf %s "(cached) " >&6
5161 if test -n "$ac_ct_AR"; then
5162 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 case $as_dir in #(((
5171 *) as_dir=$as_dir/ ;;
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_ac_ct_AR="$ac_prog"
5176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5185 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5186 if test -n "$ac_ct_AR"; then
5187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5188 printf "%s\n" "$ac_ct_AR" >&6; }
5190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 printf "%s\n" "no" >&6; }
5195 test -n "$ac_ct_AR" && break
5198 if test "x$ac_ct_AR" = x; then
5201 case $cross_compiling:$ac_tool_warned in
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5205 ac_tool_warned=yes ;;
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5214 printf %s "checking the archiver ($AR) interface... " >&6; }
5215 if test ${am_cv_ar_interface+y}
5217 printf %s "(cached) " >&6
5220 ac_cpp='$CPP $CPPFLAGS'
5221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5225 am_cv_ar_interface=ar
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5228 int some_variable = 0;
5230 if ac_fn_c_try_compile "$LINENO"
5232 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5233 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5234 (eval $am_ar_try) 2>&5
5236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5237 test $ac_status = 0; }
5238 if test "$ac_status" -eq 0; then
5239 am_cv_ar_interface=ar
5241 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5242 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5243 (eval $am_ar_try) 2>&5
5245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }
5247 if test "$ac_status" -eq 0; then
5248 am_cv_ar_interface=lib
5250 am_cv_ar_interface=unknown
5253 rm -f conftest.lib libconftest.a
5256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5258 ac_cpp='$CPP $CPPFLAGS'
5259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5265 printf "%s\n" "$am_cv_ar_interface" >&6; }
5267 case $am_cv_ar_interface in
5271 # Microsoft lib, so override with the ar-lib wrapper script.
5272 # FIXME: It is wrong to rewrite AR.
5273 # But if we don't then we get into trouble of one sort or another.
5274 # A longer-term fix would be to have automake use am__AR in this case,
5275 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5277 AR="$am_aux_dir/ar-lib $AR"
5280 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5291 ac_cpp='$CXXCPP $CPPFLAGS'
5292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5295 if test -z "$CXX"; then
5296 if test -n "$CCC"; then
5299 if test -n "$ac_tool_prefix"; then
5300 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 printf %s "checking for $ac_word... " >&6; }
5306 if test ${ac_cv_prog_CXX+y}
5308 printf %s "(cached) " >&6
5310 if test -n "$CXX"; then
5311 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 case $as_dir in #(((
5320 *) as_dir=$as_dir/ ;;
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5335 if test -n "$CXX"; then
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5337 printf "%s\n" "$CXX" >&6; }
5339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5340 printf "%s\n" "no" >&6; }
5344 test -n "$CXX" && break
5347 if test -z "$CXX"; then
5349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5351 # Extract the first word of "$ac_prog", so it can be a program name with args.
5352 set dummy $ac_prog; ac_word=$2
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 printf %s "checking for $ac_word... " >&6; }
5355 if test ${ac_cv_prog_ac_ct_CXX+y}
5357 printf %s "(cached) " >&6
5359 if test -n "$ac_ct_CXX"; then
5360 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 case $as_dir in #(((
5369 *) as_dir=$as_dir/ ;;
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_ac_ct_CXX="$ac_prog"
5374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5383 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5384 if test -n "$ac_ct_CXX"; then
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5386 printf "%s\n" "$ac_ct_CXX" >&6; }
5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 printf "%s\n" "no" >&6; }
5393 test -n "$ac_ct_CXX" && break
5396 if test "x$ac_ct_CXX" = x; then
5399 case $cross_compiling:$ac_tool_warned in
5401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5402 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403 ac_tool_warned=yes ;;
5411 # Provide some information about the compiler.
5412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5415 for ac_option in --version -v -V -qversion; do
5416 { { ac_try="$ac_compiler $ac_option >&5"
5418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5419 *) ac_try_echo
=$ac_try;;
5421 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5422 printf "%s\n" "$ac_try_echo"; } >&5
5423 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5425 if test -s conftest.err
; then
5427 ... rest of stderr output deleted ...
5428 10q' conftest.err
>conftest.er1
5429 cat conftest.er1
>&5
5431 rm -f conftest.er1 conftest.err
5432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5433 test $ac_status = 0; }
5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5437 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5438 if test ${ac_cv_cxx_compiler_gnu+y}
5440 printf %s
"(cached) " >&6
5442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5456 if ac_fn_cxx_try_compile
"$LINENO"
5462 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5463 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5467 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5470 if test $ac_compiler_gnu = yes; then
5475 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5476 ac_save_CXXFLAGS
=$CXXFLAGS
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5478 printf %s
"checking whether $CXX accepts -g... " >&6; }
5479 if test ${ac_cv_prog_cxx_g+y}
5481 printf %s
"(cached) " >&6
5483 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5484 ac_cxx_werror_flag
=yes
5487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5498 if ac_fn_cxx_try_compile
"$LINENO"
5500 ac_cv_prog_cxx_g
=yes
5503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5514 if ac_fn_cxx_try_compile
"$LINENO"
5518 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5531 if ac_fn_cxx_try_compile
"$LINENO"
5533 ac_cv_prog_cxx_g
=yes
5535 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5537 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5539 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5540 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5543 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5544 if test $ac_test_CXXFLAGS; then
5545 CXXFLAGS
=$ac_save_CXXFLAGS
5546 elif test $ac_cv_prog_cxx_g = yes; then
5547 if test "$GXX" = yes; then
5553 if test "$GXX" = yes; then
5559 ac_prog_cxx_stdcxx
=no
5560 if test x
$ac_prog_cxx_stdcxx = xno
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5563 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5564 if test ${ac_cv_prog_cxx_cxx11+y}
5566 printf %s
"(cached) " >&6
5568 ac_cv_prog_cxx_cxx11
=no
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5572 $ac_cxx_conftest_cxx11_program
5574 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5576 CXX
="$ac_save_CXX $ac_arg"
5577 if ac_fn_cxx_try_compile
"$LINENO"
5579 ac_cv_prog_cxx_cxx11
=$ac_arg
5581 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5582 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5584 rm -f conftest.
$ac_ext
5588 if test "x$ac_cv_prog_cxx_cxx11" = xno
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5591 printf "%s\n" "unsupported" >&6; }
5593 if test "x$ac_cv_prog_cxx_cxx11" = x
5595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5596 printf "%s\n" "none needed" >&6; }
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5599 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5600 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5602 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5603 ac_prog_cxx_stdcxx
=cxx11
5606 if test x
$ac_prog_cxx_stdcxx = xno
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5609 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5610 if test ${ac_cv_prog_cxx_cxx98+y}
5612 printf %s
"(cached) " >&6
5614 ac_cv_prog_cxx_cxx98
=no
5616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5618 $ac_cxx_conftest_cxx98_program
5620 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5622 CXX
="$ac_save_CXX $ac_arg"
5623 if ac_fn_cxx_try_compile
"$LINENO"
5625 ac_cv_prog_cxx_cxx98
=$ac_arg
5627 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5628 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5630 rm -f conftest.
$ac_ext
5634 if test "x$ac_cv_prog_cxx_cxx98" = xno
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5637 printf "%s\n" "unsupported" >&6; }
5639 if test "x$ac_cv_prog_cxx_cxx98" = x
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5642 printf "%s\n" "none needed" >&6; }
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5645 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5646 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5648 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5649 ac_prog_cxx_stdcxx
=cxx98
5654 ac_cpp
='$CPP $CPPFLAGS'
5655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5659 depcc
="$CXX" am_compiler_list
=
5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5662 printf %s
"checking dependency style of $depcc... " >&6; }
5663 if test ${am_cv_CXX_dependencies_compiler_type+y}
5665 printf %s
"(cached) " >&6
5667 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5668 # We make a subdir and do the tests there. Otherwise we can end up
5669 # making bogus files that we don't know about and never remove. For
5670 # instance it was reported that on HP-UX the gcc test will end up
5671 # making a dummy file named 'D' -- because '-MD' means "put the output
5675 # Copy depcomp to subdir because otherwise we won't find it if we're
5676 # using a relative directory.
5677 cp "$am_depcomp" conftest.dir
5679 # We will build objects and dependencies in a subdirectory because
5680 # it helps to detect inapplicable dependency modes. For instance
5681 # both Tru64's cc and ICC support -MD to output dependencies as a
5682 # side effect of compilation, but ICC will put the dependencies in
5683 # the current directory while Tru64 will put them in the object
5687 am_cv_CXX_dependencies_compiler_type
=none
5688 if test "$am_compiler_list" = ""; then
5689 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5692 case " $depcc " in #(
5693 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5696 for depmode
in $am_compiler_list; do
5697 # Setup a source with many dependencies, because some compilers
5698 # like to wrap large dependency lists on column 80 (with \), and
5699 # we should not choose a depcomp mode which is confused by this.
5701 # We need to recreate these files for each test, as the compiler may
5702 # overwrite some of them when testing with obscure command lines.
5703 # This happens at least with the AIX C compiler.
5705 for i
in 1 2 3 4 5 6; do
5706 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5707 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5708 # Solaris 10 /bin/sh.
5709 echo '/* dummy */' > sub
/conftst
$i.h
5711 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5713 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5714 # mode. It turns out that the SunPro C++ compiler does not properly
5715 # handle '-M -o', and we need to detect this. Also, some Intel
5716 # versions had trouble with output in subdirs.
5717 am__obj
=sub
/conftest.
${OBJEXT-o}
5718 am__minus_obj
="-o $am__obj"
5721 # This depmode causes a compiler race in universal mode.
5722 test "$am__universal" = false
|| continue
5725 # After this tag, mechanisms are not by side-effect, so they'll
5726 # only be used when explicitly requested.
5727 if test "x$enable_dependency_tracking" = xyes
; then
5733 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
5734 # This compiler won't grok '-c -o', but also, the minuso test has
5735 # not run yet. These depmodes are late enough in the game, and
5736 # so weak that their functioning should not be impacted.
5737 am__obj
=conftest.
${OBJEXT-o}
5742 if depmode
=$depmode \
5743 source=sub
/conftest.c object
=$am__obj \
5744 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5745 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5746 >/dev
/null
2>conftest.err
&&
5747 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5748 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5749 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5750 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5751 # icc doesn't choke on unknown options, it will just issue warnings
5752 # or remarks (even with -Werror). So we grep stderr for any message
5753 # that says an option was ignored or not supported.
5754 # When given -MP, icc 7.0 and 7.1 complain thusly:
5755 # icc: Command line warning: ignoring option '-M'; no argument required
5756 # The diagnosis changed in icc 8.0:
5757 # icc: Command line remark: option '-MP' not supported
5758 if (grep 'ignoring option' conftest.err
||
5759 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5760 am_cv_CXX_dependencies_compiler_type
=$depmode
5769 am_cv_CXX_dependencies_compiler_type
=none
5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5774 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
5775 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5778 test "x$enable_dependency_tracking" != xno \
5779 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5780 am__fastdepCXX_TRUE
=
5781 am__fastdepCXX_FALSE
='#'
5783 am__fastdepCXX_TRUE
='#'
5784 am__fastdepCXX_FALSE
=
5789 ac_cpp
='$CXXCPP $CPPFLAGS'
5790 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5791 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5792 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5796 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5798 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5799 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
5801 printf %s
"(cached) " >&6
5803 cat >conftest.
make <<\_ACEOF
5806 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5808 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5809 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5811 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5813 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5817 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5819 printf "%s\n" "yes" >&6; }
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 printf "%s\n" "no" >&6; }
5824 SET_MAKE
="MAKE=${MAKE-make}"
5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5839 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5844 macro_version
='2.4.6'
5845 macro_revision
='2.4.6'
5860 ltmain
=$ac_aux_dir/ltmain.sh
5864 # Make sure we can run config.sub.
5865 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
5866 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5869 printf %s
"checking build system type... " >&6; }
5870 if test ${ac_cv_build+y}
5872 printf %s
"(cached) " >&6
5874 ac_build_alias
=$build_alias
5875 test "x$ac_build_alias" = x
&&
5876 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
5877 test "x$ac_build_alias" = x
&&
5878 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5879 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5880 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5884 printf "%s\n" "$ac_cv_build" >&6; }
5885 case $ac_cv_build in
5887 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5890 ac_save_IFS
=$IFS; IFS
='-'
5896 # Remember, the first character of IFS is used to create $*,
5897 # except with old shells:
5900 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5904 printf %s
"checking host system type... " >&6; }
5905 if test ${ac_cv_host+y}
5907 printf %s
"(cached) " >&6
5909 if test "x$host_alias" = x
; then
5910 ac_cv_host
=$ac_cv_build
5912 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5913 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5918 printf "%s\n" "$ac_cv_host" >&6; }
5921 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5924 ac_save_IFS
=$IFS; IFS
='-'
5930 # Remember, the first character of IFS is used to create $*,
5931 # except with old shells:
5934 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5937 # Backslashify metacharacters that are still active within
5938 # double-quoted strings.
5939 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5941 # Same as above, but do not quote variable references.
5942 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5944 # Sed substitution to delay expansion of an escaped shell variable in a
5945 # double_quote_subst'ed string.
5946 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5948 # Sed substitution to delay expansion of an escaped single quote.
5949 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5951 # Sed substitution to avoid accidental globbing in evaled expressions
5952 no_glob_subst
='s/\*/\\\*/g'
5954 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5956 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5959 printf %s "checking how to print strings... " >&6; }
5960 # Test print first, because it will be a builtin if present.
5961 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5962 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5964 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5967 # Use this function as a fallback that always works.
5968 func_fallback_echo ()
5970 eval 'cat <<_LTECHO_EOF
5974 ECHO='func_fallback_echo
'
5977 # func_echo_all arg...
5978 # Invoke $ECHO with all args, space-separated.
5985 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5986 printf "%s\n" "printf" >&6; } ;;
5987 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5988 printf "%s\n" "print -r" >&6; } ;;
5989 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5990 printf "%s\n" "cat" >&6; } ;;
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6007 printf %s "checking for a sed that does not truncate output... " >&6; }
6008 if test ${ac_cv_path_SED+y}
6010 printf %s "(cached) " >&6
6012 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6013 for ac_i in 1 2 3 4 5 6 7; do
6014 ac_script="$ac_script$as_nl$ac_script"
6016 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6017 { ac_script=; unset ac_script;}
6018 if test -z "$SED"; then
6019 ac_path_SED_found=false
6020 # Loop through the user's path and
test for each of PROGNAME
-LIST
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 case $as_dir in #(((
6028 *) as_dir
=$as_dir/ ;;
6030 for ac_prog
in sed gsed
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 ac_path_SED
="$as_dir$ac_prog$ac_exec_ext"
6034 as_fn_executable_p
"$ac_path_SED" || continue
6035 # Check for GNU ac_path_SED and select it if it is found.
6036 # Check for GNU $ac_path_SED
6037 case `"$ac_path_SED" --version 2>&1` in
6039 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6042 printf %s
0123456789 >"conftest.in"
6045 cat "conftest.in" "conftest.in" >"conftest.tmp"
6046 mv "conftest.tmp" "conftest.in"
6047 cp "conftest.in" "conftest.nl"
6048 printf "%s\n" '' >> "conftest.nl"
6049 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
6050 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
6051 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6052 if test $ac_count -gt ${ac_path_SED_max-0}; then
6053 # Best one so far, save it but keep looking for a better one
6054 ac_cv_path_SED
="$ac_path_SED"
6055 ac_path_SED_max
=$ac_count
6057 # 10*(2^10) chars as input seems more than enough
6058 test $ac_count -gt 10 && break
6060 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6063 $ac_path_SED_found && break 3
6068 if test -z "$ac_cv_path_SED"; then
6069 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6077 printf "%s\n" "$ac_cv_path_SED" >&6; }
6078 SED
="$ac_cv_path_SED"
6081 test -z "$SED" && SED
=sed
6082 Xsed
="$SED -e 1s/^X//"
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6095 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6096 if test ${ac_cv_path_GREP+y}
6098 printf %s
"(cached) " >&6
6100 if test -z "$GREP"; then
6101 ac_path_GREP_found
=false
6102 # Loop through the user's path and test for each of PROGNAME-LIST
6103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6107 case $as_dir in #(((
6110 *) as_dir
=$as_dir/ ;;
6112 for ac_prog
in grep ggrep
6114 for ac_exec_ext
in '' $ac_executable_extensions; do
6115 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6116 as_fn_executable_p
"$ac_path_GREP" || continue
6117 # Check for GNU ac_path_GREP and select it if it is found.
6118 # Check for GNU $ac_path_GREP
6119 case `"$ac_path_GREP" --version 2>&1` in
6121 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6124 printf %s
0123456789 >"conftest.in"
6127 cat "conftest.in" "conftest.in" >"conftest.tmp"
6128 mv "conftest.tmp" "conftest.in"
6129 cp "conftest.in" "conftest.nl"
6130 printf "%s\n" 'GREP' >> "conftest.nl"
6131 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
6132 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
6133 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6134 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6135 # Best one so far, save it but keep looking for a better one
6136 ac_cv_path_GREP
="$ac_path_GREP"
6137 ac_path_GREP_max
=$ac_count
6139 # 10*(2^10) chars as input seems more than enough
6140 test $ac_count -gt 10 && break
6142 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6145 $ac_path_GREP_found && break 3
6150 if test -z "$ac_cv_path_GREP"; then
6151 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6154 ac_cv_path_GREP
=$GREP
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6159 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6160 GREP
="$ac_cv_path_GREP"
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6164 printf %s
"checking for egrep... " >&6; }
6165 if test ${ac_cv_path_EGREP+y}
6167 printf %s
"(cached) " >&6
6169 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
6170 then ac_cv_path_EGREP
="$GREP -E"
6172 if test -z "$EGREP"; then
6173 ac_path_EGREP_found
=false
6174 # Loop through the user's path and test for each of PROGNAME-LIST
6175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6176 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6179 case $as_dir in #(((
6182 *) as_dir
=$as_dir/ ;;
6184 for ac_prog
in egrep
6186 for ac_exec_ext
in '' $ac_executable_extensions; do
6187 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6188 as_fn_executable_p
"$ac_path_EGREP" || continue
6189 # Check for GNU ac_path_EGREP and select it if it is found.
6190 # Check for GNU $ac_path_EGREP
6191 case `"$ac_path_EGREP" --version 2>&1` in
6193 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6196 printf %s
0123456789 >"conftest.in"
6199 cat "conftest.in" "conftest.in" >"conftest.tmp"
6200 mv "conftest.tmp" "conftest.in"
6201 cp "conftest.in" "conftest.nl"
6202 printf "%s\n" 'EGREP' >> "conftest.nl"
6203 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
6204 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
6205 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6206 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6207 # Best one so far, save it but keep looking for a better one
6208 ac_cv_path_EGREP
="$ac_path_EGREP"
6209 ac_path_EGREP_max
=$ac_count
6211 # 10*(2^10) chars as input seems more than enough
6212 test $ac_count -gt 10 && break
6214 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6217 $ac_path_EGREP_found && break 3
6222 if test -z "$ac_cv_path_EGREP"; then
6223 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6226 ac_cv_path_EGREP
=$EGREP
6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6232 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
6233 EGREP
="$ac_cv_path_EGREP"
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6237 printf %s
"checking for fgrep... " >&6; }
6238 if test ${ac_cv_path_FGREP+y}
6240 printf %s
"(cached) " >&6
6242 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
6243 then ac_cv_path_FGREP
="$GREP -F"
6245 if test -z "$FGREP"; then
6246 ac_path_FGREP_found
=false
6247 # Loop through the user's path and test for each of PROGNAME-LIST
6248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6249 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6252 case $as_dir in #(((
6255 *) as_dir
=$as_dir/ ;;
6257 for ac_prog
in fgrep
6259 for ac_exec_ext
in '' $ac_executable_extensions; do
6260 ac_path_FGREP
="$as_dir$ac_prog$ac_exec_ext"
6261 as_fn_executable_p
"$ac_path_FGREP" || continue
6262 # Check for GNU ac_path_FGREP and select it if it is found.
6263 # Check for GNU $ac_path_FGREP
6264 case `"$ac_path_FGREP" --version 2>&1` in
6266 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6269 printf %s
0123456789 >"conftest.in"
6272 cat "conftest.in" "conftest.in" >"conftest.tmp"
6273 mv "conftest.tmp" "conftest.in"
6274 cp "conftest.in" "conftest.nl"
6275 printf "%s\n" 'FGREP' >> "conftest.nl"
6276 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
6277 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
6278 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6279 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6280 # Best one so far, save it but keep looking for a better one
6281 ac_cv_path_FGREP
="$ac_path_FGREP"
6282 ac_path_FGREP_max
=$ac_count
6284 # 10*(2^10) chars as input seems more than enough
6285 test $ac_count -gt 10 && break
6287 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6290 $ac_path_FGREP_found && break 3
6295 if test -z "$ac_cv_path_FGREP"; then
6296 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6299 ac_cv_path_FGREP
=$FGREP
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6305 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
6306 FGREP
="$ac_cv_path_FGREP"
6309 test -z "$GREP" && GREP
=grep
6329 # Check whether --with-gnu-ld was given.
6330 if test ${with_gnu_ld+y}
6332 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6338 if test yes = "$GCC"; then
6339 # Check if gcc -print-prog-name=ld gives a path.
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6341 printf %s
"checking for ld used by $CC... " >&6; }
6344 # gcc leaves a trailing carriage return, which upsets mingw
6345 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6347 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6350 # Accept absolute paths.
6352 re_direlt
='/[^/][^/]*/\.\./'
6353 # Canonicalize the pathname of ld
6354 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6355 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
6356 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6358 test -z "$LD" && LD
=$ac_prog
6361 # If it fails, then pretend we aren't using GCC.
6365 # If it is relative, then search for the first ld in PATH.
6369 elif test yes = "$with_gnu_ld"; then
6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6371 printf %s
"checking for GNU ld... " >&6; }
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6374 printf %s
"checking for non-GNU ld... " >&6; }
6376 if test ${lt_cv_path_LD+y}
6378 printf %s
"(cached) " >&6
6380 if test -z "$LD"; then
6381 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6382 for ac_dir
in $PATH; do
6384 test -z "$ac_dir" && ac_dir
=.
6385 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6386 lt_cv_path_LD
=$ac_dir/$ac_prog
6387 # Check to see if the program is GNU ld. I'd rather use --version,
6388 # but apparently some variants of GNU ld only accept -v.
6389 # Break only if it was the GNU/non-GNU ld that we prefer.
6390 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6391 *GNU
* | *'with BFD'*)
6392 test no
!= "$with_gnu_ld" && break
6395 test yes != "$with_gnu_ld" && break
6402 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6407 if test -n "$LD"; then
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6409 printf "%s\n" "$LD" >&6; }
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 printf "%s\n" "no" >&6; }
6414 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6416 printf %s
"checking if the linker ($LD) is GNU ld... " >&6; }
6417 if test ${lt_cv_prog_gnu_ld+y}
6419 printf %s
"(cached) " >&6
6421 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6422 case `$LD -v 2>&1 </dev/null` in
6423 *GNU
* | *'with BFD'*)
6424 lt_cv_prog_gnu_ld
=yes
6427 lt_cv_prog_gnu_ld
=no
6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6432 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
6433 with_gnu_ld
=$lt_cv_prog_gnu_ld
6443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6444 printf %s
"checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6445 if test ${lt_cv_path_NM+y}
6447 printf %s
"(cached) " >&6
6449 if test -n "$NM"; then
6450 # Let the user override the test.
6453 lt_nm_to_check
=${ac_tool_prefix}nm
6454 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6455 lt_nm_to_check
="$lt_nm_to_check nm"
6457 for lt_tmp_nm
in $lt_nm_to_check; do
6458 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6459 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6461 test -z "$ac_dir" && ac_dir
=.
6462 tmp_nm
=$ac_dir/$lt_tmp_nm
6463 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6464 # Check to see if the nm accepts a BSD-compat flag.
6465 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6466 # nm: unknown option "B" ignored
6467 # Tru64's nm complains that /dev/null is an invalid object file
6468 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6470 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6471 *) lt_bad_file
=/dev
/null
;;
6473 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6474 *$lt_bad_file* | *'Invalid file or object type'*)
6475 lt_cv_path_NM
="$tmp_nm -B"
6479 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6481 lt_cv_path_NM
="$tmp_nm -p"
6485 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6486 continue # so that we can try to find one that supports BSD flags
6495 : ${lt_cv_path_NM=no}
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6499 printf "%s\n" "$lt_cv_path_NM" >&6; }
6500 if test no
!= "$lt_cv_path_NM"; then
6503 # Didn't find any BSD compatible name lister, look for dumpbin.
6504 if test -n "$DUMPBIN"; then :
6505 # Let the user override the test.
6507 if test -n "$ac_tool_prefix"; then
6508 for ac_prog
in dumpbin
"link -dump"
6510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6511 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 printf %s
"checking for $ac_word... " >&6; }
6514 if test ${ac_cv_prog_DUMPBIN+y}
6516 printf %s
"(cached) " >&6
6518 if test -n "$DUMPBIN"; then
6519 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6525 case $as_dir in #(((
6528 *) as_dir
=$as_dir/ ;;
6530 for ac_exec_ext
in '' $ac_executable_extensions; do
6531 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6532 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6542 DUMPBIN
=$ac_cv_prog_DUMPBIN
6543 if test -n "$DUMPBIN"; then
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6545 printf "%s\n" "$DUMPBIN" >&6; }
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 printf "%s\n" "no" >&6; }
6552 test -n "$DUMPBIN" && break
6555 if test -z "$DUMPBIN"; then
6556 ac_ct_DUMPBIN
=$DUMPBIN
6557 for ac_prog
in dumpbin
"link -dump"
6559 # Extract the first word of "$ac_prog", so it can be a program name with args.
6560 set dummy
$ac_prog; ac_word
=$2
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 printf %s
"checking for $ac_word... " >&6; }
6563 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
6565 printf %s
"(cached) " >&6
6567 if test -n "$ac_ct_DUMPBIN"; then
6568 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6574 case $as_dir in #(((
6577 *) as_dir
=$as_dir/ ;;
6579 for ac_exec_ext
in '' $ac_executable_extensions; do
6580 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6581 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6591 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6592 if test -n "$ac_ct_DUMPBIN"; then
6593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6594 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 printf "%s\n" "no" >&6; }
6601 test -n "$ac_ct_DUMPBIN" && break
6604 if test "x$ac_ct_DUMPBIN" = x
; then
6607 case $cross_compiling:$ac_tool_warned in
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6610 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6611 ac_tool_warned
=yes ;;
6613 DUMPBIN
=$ac_ct_DUMPBIN
6617 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6619 DUMPBIN
="$DUMPBIN -symbols -headers"
6627 if test : != "$DUMPBIN"; then
6631 test -z "$NM" && NM
=nm
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6639 printf %s
"checking the name lister ($NM) interface... " >&6; }
6640 if test ${lt_cv_nm_interface+y}
6642 printf %s
"(cached) " >&6
6644 lt_cv_nm_interface
="BSD nm"
6645 echo "int some_variable = 0;" > conftest.
$ac_ext
6646 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6647 (eval "$ac_compile" 2>conftest.err
)
6648 cat conftest.err
>&5
6649 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6650 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6651 cat conftest.err
>&5
6652 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6653 cat conftest.out
>&5
6654 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6655 lt_cv_nm_interface
="MS dumpbin"
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6660 printf "%s\n" "$lt_cv_nm_interface" >&6; }
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6663 printf %s
"checking whether ln -s works... " >&6; }
6665 if test "$LN_S" = "ln -s"; then
6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6667 printf "%s\n" "yes" >&6; }
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6670 printf "%s\n" "no, using $LN_S" >&6; }
6673 # find the maximum length of command line arguments
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6675 printf %s
"checking the maximum length of command line arguments... " >&6; }
6676 if test ${lt_cv_sys_max_cmd_len+y}
6678 printf %s
"(cached) " >&6
6685 # On DJGPP, this test can blow up pretty badly due to problems in libc
6686 # (any single argument exceeding 2000 bytes causes a buffer overrun
6687 # during glob expansion). Even if it were fixed, the result of this
6688 # check would be larger than it should be.
6689 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6693 # Under GNU Hurd, this test is not required because there is
6694 # no limit to the length of command line arguments.
6695 # Libtool will interpret -1 as no limit whatsoever
6696 lt_cv_sys_max_cmd_len
=-1;
6699 cygwin
* | mingw
* | cegcc
*)
6700 # On Win9x/ME, this test blows up -- it succeeds, but takes
6701 # about 5 minutes as the teststring grows exponentially.
6702 # Worse, since 9x/ME are not pre-emptively multitasking,
6703 # you end up with a "frozen" computer, even though with patience
6704 # the test eventually succeeds (with a max line length of 256k).
6705 # Instead, let's just punt: use the minimum linelength reported by
6706 # all of the supported platforms: 8192 (on NT/2K/XP).
6707 lt_cv_sys_max_cmd_len
=8192;
6711 # On MiNT this can take a long time and run out of memory.
6712 lt_cv_sys_max_cmd_len
=8192;
6716 # On AmigaOS with pdksh, this test takes hours, literally.
6717 # So we just punt and use a minimum line length of 8192.
6718 lt_cv_sys_max_cmd_len
=8192;
6721 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6722 # This has been around since 386BSD, at least. Likely further.
6723 if test -x /sbin
/sysctl
; then
6724 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6725 elif test -x /usr
/sbin
/sysctl
; then
6726 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6728 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6730 # And add a safety zone
6731 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6732 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6736 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6737 lt_cv_sys_max_cmd_len
=196608
6741 # The test takes a long time on OS/2.
6742 lt_cv_sys_max_cmd_len
=8192
6746 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6747 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6748 # nice to cause kernel panics so lets avoid the loop below.
6749 # First set a reasonable default.
6750 lt_cv_sys_max_cmd_len
=16384
6752 if test -x /sbin
/sysconfig
; then
6753 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6754 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6759 lt_cv_sys_max_cmd_len
=102400
6761 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6762 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6763 if test -n "$kargmax"; then
6764 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6766 lt_cv_sys_max_cmd_len
=32768
6770 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6771 if test -n "$lt_cv_sys_max_cmd_len" && \
6772 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6773 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6774 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6776 # Make teststring a little bigger before we do anything with it.
6777 # a 1K string should be a reasonable start.
6778 for i
in 1 2 3 4 5 6 7 8; do
6779 teststring
=$teststring$teststring
6781 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6782 # If test is not a shell built-in, we'll probably end up computing a
6783 # maximum length that is only half of the actual maximum length, but
6785 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6786 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6787 test 17 != "$i" # 1/2 MB should be enough
6790 teststring
=$teststring$teststring
6792 # Only check the string length outside the loop.
6793 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6795 # Add a significant safety factor because C++ compilers can tack on
6796 # massive amounts of additional arguments before passing them to the
6797 # linker. It appears as though 1/2 is a usable value.
6798 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6805 if test -n "$lt_cv_sys_max_cmd_len"; then
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6807 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6810 printf "%s\n" "none" >&6; }
6812 max_cmd_len
=$lt_cv_sys_max_cmd_len
6823 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6833 # test EBCDIC or ASCII
6834 case `echo X|tr X '\101'` in
6835 A
) # ASCII based system
6836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6837 lt_SP2NL
='tr \040 \012'
6838 lt_NL2SP
='tr \015\012 \040\040'
6840 *) # EBCDIC based system
6841 lt_SP2NL
='tr \100 \n'
6842 lt_NL2SP
='tr \r\n \100\100'
6854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6855 printf %s
"checking how to convert $build file names to $host format... " >&6; }
6856 if test ${lt_cv_to_host_file_cmd+y}
6858 printf %s
"(cached) " >&6
6863 *-*-mingw* ) # actually msys
6864 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6867 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6869 * ) # otherwise, assume *nix
6870 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6876 *-*-mingw* ) # actually msys
6877 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6880 lt_cv_to_host_file_cmd
=func_convert_file_noop
6882 * ) # otherwise, assume *nix
6883 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6887 * ) # unhandled hosts (and "normal" native builds)
6888 lt_cv_to_host_file_cmd
=func_convert_file_noop
6894 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6896 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6903 printf %s
"checking how to convert $build file names to toolchain format... " >&6; }
6904 if test ${lt_cv_to_tool_file_cmd+y}
6906 printf %s
"(cached) " >&6
6908 #assume ordinary cross tools, or native build.
6909 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6913 *-*-mingw* ) # actually msys
6914 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6922 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6924 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6931 printf %s
"checking for $LD option to reload object files... " >&6; }
6932 if test ${lt_cv_ld_reload_flag+y}
6934 printf %s
"(cached) " >&6
6936 lt_cv_ld_reload_flag
='-r'
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6939 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6940 reload_flag
=$lt_cv_ld_reload_flag
6941 case $reload_flag in
6943 *) reload_flag
=" $reload_flag" ;;
6945 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6947 cygwin
* | mingw
* | pw32
* | cegcc
*)
6948 if test yes != "$GCC"; then
6953 if test yes = "$GCC"; then
6954 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6956 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6969 if test -n "$ac_tool_prefix"; then
6970 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6971 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 printf %s
"checking for $ac_word... " >&6; }
6974 if test ${ac_cv_prog_OBJDUMP+y}
6976 printf %s
"(cached) " >&6
6978 if test -n "$OBJDUMP"; then
6979 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6985 case $as_dir in #(((
6988 *) as_dir
=$as_dir/ ;;
6990 for ac_exec_ext
in '' $ac_executable_extensions; do
6991 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7002 OBJDUMP
=$ac_cv_prog_OBJDUMP
7003 if test -n "$OBJDUMP"; then
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7005 printf "%s\n" "$OBJDUMP" >&6; }
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 printf "%s\n" "no" >&6; }
7013 if test -z "$ac_cv_prog_OBJDUMP"; then
7014 ac_ct_OBJDUMP
=$OBJDUMP
7015 # Extract the first word of "objdump", so it can be a program name with args.
7016 set dummy objdump
; ac_word
=$2
7017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 printf %s
"checking for $ac_word... " >&6; }
7019 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
7021 printf %s
"(cached) " >&6
7023 if test -n "$ac_ct_OBJDUMP"; then
7024 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7030 case $as_dir in #(((
7033 *) as_dir
=$as_dir/ ;;
7035 for ac_exec_ext
in '' $ac_executable_extensions; do
7036 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7047 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7048 if test -n "$ac_ct_OBJDUMP"; then
7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7050 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
7052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 printf "%s\n" "no" >&6; }
7056 if test "x$ac_ct_OBJDUMP" = x
; then
7059 case $cross_compiling:$ac_tool_warned in
7061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned
=yes ;;
7065 OBJDUMP
=$ac_ct_OBJDUMP
7068 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7071 test -z "$OBJDUMP" && OBJDUMP
=objdump
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7082 printf %s
"checking how to recognize dependent libraries... " >&6; }
7083 if test ${lt_cv_deplibs_check_method+y}
7085 printf %s
"(cached) " >&6
7087 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7088 lt_cv_file_magic_test_file
=
7089 lt_cv_deplibs_check_method
='unknown'
7090 # Need to set the preceding variable on all platforms that support
7091 # interlibrary dependencies.
7092 # 'none' -- dependencies not supported.
7093 # 'unknown' -- same as none, but documents that we really don't know.
7094 # 'pass_all' -- all dependencies passed with no checks.
7095 # 'test_compile' -- check by making test program.
7096 # 'file_magic [[regex]]' -- check by looking for files in library path
7097 # that responds to the $file_magic_cmd with a given extended regex.
7098 # If you have 'file' or equivalent on your system and you're not sure
7099 # whether 'pass_all' will *always* work, you probably want this one.
7103 lt_cv_deplibs_check_method
=pass_all
7107 lt_cv_deplibs_check_method
=pass_all
7111 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7112 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7113 lt_cv_file_magic_test_file
=/shlib
/libc.so
7117 # func_win32_libid is a shell function defined in ltmain.sh
7118 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7119 lt_cv_file_magic_cmd
='func_win32_libid'
7123 # Base MSYS/MinGW do not provide the 'file' command needed by
7124 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7125 # unless we find 'file', for example because we are cross-compiling.
7126 if ( file / ) >/dev
/null
2>&1; then
7127 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7128 lt_cv_file_magic_cmd
='func_win32_libid'
7130 # Keep this pattern in sync with the one in func_win32_libid.
7131 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7132 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7137 # use the weaker test based on 'objdump'. See mingw*.
7138 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7139 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7142 darwin
* | rhapsody
*)
7143 lt_cv_deplibs_check_method
=pass_all
7146 freebsd
* | dragonfly
*)
7147 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
7150 # Not sure whether the presence of OpenBSD here was a mistake.
7151 # Let's accept both of them until this is cleared up.
7152 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7153 lt_cv_file_magic_cmd
=/usr
/bin
/file
7154 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7158 lt_cv_deplibs_check_method
=pass_all
7163 lt_cv_deplibs_check_method
=pass_all
7166 hpux10.20
* | hpux11
*)
7167 lt_cv_file_magic_cmd
=/usr
/bin
/file
7170 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7171 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
7174 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]'
7175 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
7178 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7179 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7185 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7186 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7189 irix5
* | irix6
* | nonstopux
*)
7191 *-32|*"-32 ") libmagic
=32-bit;;
7192 *-n32|*"-n32 ") libmagic
=N32
;;
7193 *-64|*"-64 ") libmagic
=64-bit;;
7194 *) libmagic
=never
-match;;
7196 lt_cv_deplibs_check_method
=pass_all
7199 # This must be glibc/ELF.
7200 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7201 lt_cv_deplibs_check_method
=pass_all
7204 netbsd
* | netbsdelf
*-gnu)
7205 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
7206 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7208 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7213 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7214 lt_cv_file_magic_cmd
=/usr
/bin
/file
7215 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7219 lt_cv_deplibs_check_method
=pass_all
7223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7224 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7226 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7230 osf3
* | osf4
* | osf5
*)
7231 lt_cv_deplibs_check_method
=pass_all
7235 lt_cv_deplibs_check_method
=pass_all
7239 lt_cv_deplibs_check_method
=pass_all
7242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7243 lt_cv_deplibs_check_method
=pass_all
7247 case $host_vendor in
7249 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]'
7250 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7253 lt_cv_deplibs_check_method
=pass_all
7256 lt_cv_file_magic_cmd
='/bin/file'
7257 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7260 lt_cv_file_magic_cmd
='/bin/file'
7261 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7262 lt_cv_file_magic_test_file
=/lib
/libc.so
7265 lt_cv_deplibs_check_method
=pass_all
7268 lt_cv_deplibs_check_method
=pass_all
7274 lt_cv_deplibs_check_method
=pass_all
7277 lt_cv_deplibs_check_method
=pass_all
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7283 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
7287 if test "$build" = "$host"; then
7290 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
7293 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7299 file_magic_cmd
=$lt_cv_file_magic_cmd
7300 deplibs_check_method
=$lt_cv_deplibs_check_method
7301 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7326 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 printf %s
"checking for $ac_word... " >&6; }
7329 if test ${ac_cv_prog_DLLTOOL+y}
7331 printf %s
"(cached) " >&6
7333 if test -n "$DLLTOOL"; then
7334 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7340 case $as_dir in #(((
7343 *) as_dir
=$as_dir/ ;;
7345 for ac_exec_ext
in '' $ac_executable_extensions; do
7346 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7357 DLLTOOL
=$ac_cv_prog_DLLTOOL
7358 if test -n "$DLLTOOL"; then
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7360 printf "%s\n" "$DLLTOOL" >&6; }
7362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 printf "%s\n" "no" >&6; }
7368 if test -z "$ac_cv_prog_DLLTOOL"; then
7369 ac_ct_DLLTOOL
=$DLLTOOL
7370 # Extract the first word of "dlltool", so it can be a program name with args.
7371 set dummy dlltool
; ac_word
=$2
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 printf %s
"checking for $ac_word... " >&6; }
7374 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
7376 printf %s
"(cached) " >&6
7378 if test -n "$ac_ct_DLLTOOL"; then
7379 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7385 case $as_dir in #(((
7388 *) as_dir
=$as_dir/ ;;
7390 for ac_exec_ext
in '' $ac_executable_extensions; do
7391 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7402 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7403 if test -n "$ac_ct_DLLTOOL"; then
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7405 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 printf "%s\n" "no" >&6; }
7411 if test "x$ac_ct_DLLTOOL" = x
; then
7414 case $cross_compiling:$ac_tool_warned in
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned
=yes ;;
7420 DLLTOOL
=$ac_ct_DLLTOOL
7423 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7426 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7438 printf %s
"checking how to associate runtime and link libraries... " >&6; }
7439 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
7441 printf %s
"(cached) " >&6
7443 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7446 cygwin
* | mingw
* | pw32
* | cegcc
*)
7447 # two different shell functions defined in ltmain.sh;
7448 # decide which one to use based on capabilities of $DLLTOOL
7449 case `$DLLTOOL --help 2>&1` in
7450 *--identify-strict*)
7451 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7454 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7459 # fallback: assume linklib IS sharedlib
7460 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7466 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7467 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7468 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7477 if test -n "$ac_tool_prefix"; then
7480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7481 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 printf %s
"checking for $ac_word... " >&6; }
7484 if test ${ac_cv_prog_AR+y}
7486 printf %s
"(cached) " >&6
7488 if test -n "$AR"; then
7489 ac_cv_prog_AR
="$AR" # Let the user override the test.
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7495 case $as_dir in #(((
7498 *) as_dir
=$as_dir/ ;;
7500 for ac_exec_ext
in '' $ac_executable_extensions; do
7501 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7513 if test -n "$AR"; then
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7515 printf "%s\n" "$AR" >&6; }
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 printf "%s\n" "no" >&6; }
7522 test -n "$AR" && break
7525 if test -z "$AR"; then
7529 # Extract the first word of "$ac_prog", so it can be a program name with args.
7530 set dummy
$ac_prog; ac_word
=$2
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 printf %s
"checking for $ac_word... " >&6; }
7533 if test ${ac_cv_prog_ac_ct_AR+y}
7535 printf %s
"(cached) " >&6
7537 if test -n "$ac_ct_AR"; then
7538 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7544 case $as_dir in #(((
7547 *) as_dir
=$as_dir/ ;;
7549 for ac_exec_ext
in '' $ac_executable_extensions; do
7550 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7551 ac_cv_prog_ac_ct_AR
="$ac_prog"
7552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7561 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7562 if test -n "$ac_ct_AR"; then
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7564 printf "%s\n" "$ac_ct_AR" >&6; }
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 printf "%s\n" "no" >&6; }
7571 test -n "$ac_ct_AR" && break
7574 if test "x$ac_ct_AR" = x
; then
7577 case $cross_compiling:$ac_tool_warned in
7579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7580 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7581 ac_tool_warned
=yes ;;
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7601 printf %s
"checking for archiver @FILE support... " >&6; }
7602 if test ${lt_cv_ar_at_file+y}
7604 printf %s
"(cached) " >&6
7607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7618 if ac_fn_cxx_try_compile
"$LINENO"
7620 echo conftest.
$ac_objext > conftest.lst
7621 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7623 (eval $lt_ar_try) 2>&5
7625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7626 test $ac_status = 0; }
7627 if test 0 -eq "$ac_status"; then
7628 # Ensure the archiver fails upon bogus file names.
7629 rm -f conftest.
$ac_objext libconftest.a
7630 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7631 (eval $lt_ar_try) 2>&5
7633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7634 test $ac_status = 0; }
7635 if test 0 -ne "$ac_status"; then
7639 rm -f conftest.
* libconftest.a
7642 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7646 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7648 if test no
= "$lt_cv_ar_at_file"; then
7651 archiver_list_spec
=$lt_cv_ar_at_file
7660 if test -n "$ac_tool_prefix"; then
7661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7662 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7664 printf %s
"checking for $ac_word... " >&6; }
7665 if test ${ac_cv_prog_STRIP+y}
7667 printf %s
"(cached) " >&6
7669 if test -n "$STRIP"; then
7670 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7676 case $as_dir in #(((
7679 *) as_dir
=$as_dir/ ;;
7681 for ac_exec_ext
in '' $ac_executable_extensions; do
7682 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7683 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7693 STRIP
=$ac_cv_prog_STRIP
7694 if test -n "$STRIP"; then
7695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7696 printf "%s\n" "$STRIP" >&6; }
7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 printf "%s\n" "no" >&6; }
7704 if test -z "$ac_cv_prog_STRIP"; then
7706 # Extract the first word of "strip", so it can be a program name with args.
7707 set dummy strip
; ac_word
=$2
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 printf %s
"checking for $ac_word... " >&6; }
7710 if test ${ac_cv_prog_ac_ct_STRIP+y}
7712 printf %s
"(cached) " >&6
7714 if test -n "$ac_ct_STRIP"; then
7715 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7721 case $as_dir in #(((
7724 *) as_dir
=$as_dir/ ;;
7726 for ac_exec_ext
in '' $ac_executable_extensions; do
7727 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_ac_ct_STRIP
="strip"
7729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7738 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7739 if test -n "$ac_ct_STRIP"; then
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7741 printf "%s\n" "$ac_ct_STRIP" >&6; }
7743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 printf "%s\n" "no" >&6; }
7747 if test "x$ac_ct_STRIP" = x
; then
7750 case $cross_compiling:$ac_tool_warned in
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7754 ac_tool_warned
=yes ;;
7759 STRIP
="$ac_cv_prog_STRIP"
7762 test -z "$STRIP" && STRIP
=:
7769 if test -n "$ac_tool_prefix"; then
7770 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7771 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773 printf %s
"checking for $ac_word... " >&6; }
7774 if test ${ac_cv_prog_RANLIB+y}
7776 printf %s
"(cached) " >&6
7778 if test -n "$RANLIB"; then
7779 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7785 case $as_dir in #(((
7788 *) as_dir
=$as_dir/ ;;
7790 for ac_exec_ext
in '' $ac_executable_extensions; do
7791 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7792 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7802 RANLIB
=$ac_cv_prog_RANLIB
7803 if test -n "$RANLIB"; then
7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7805 printf "%s\n" "$RANLIB" >&6; }
7807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 printf "%s\n" "no" >&6; }
7813 if test -z "$ac_cv_prog_RANLIB"; then
7814 ac_ct_RANLIB
=$RANLIB
7815 # Extract the first word of "ranlib", so it can be a program name with args.
7816 set dummy ranlib
; ac_word
=$2
7817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7818 printf %s
"checking for $ac_word... " >&6; }
7819 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7821 printf %s
"(cached) " >&6
7823 if test -n "$ac_ct_RANLIB"; then
7824 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7830 case $as_dir in #(((
7833 *) as_dir
=$as_dir/ ;;
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7847 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7848 if test -n "$ac_ct_RANLIB"; then
7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7850 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 printf "%s\n" "no" >&6; }
7856 if test "x$ac_ct_RANLIB" = x
; then
7859 case $cross_compiling:$ac_tool_warned in
7861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7862 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7863 ac_tool_warned
=yes ;;
7865 RANLIB
=$ac_ct_RANLIB
7868 RANLIB
="$ac_cv_prog_RANLIB"
7871 test -z "$RANLIB" && RANLIB
=:
7878 # Determine commands to create old-style static archives.
7879 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7880 old_postinstall_cmds
='chmod 644 $oldlib'
7881 old_postuninstall_cmds
=
7883 if test -n "$RANLIB"; then
7886 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7889 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7892 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7897 lock_old_archive_extraction
=yes ;;
7899 lock_old_archive_extraction
=no
;;
7940 # If no C compiler was specified, use CC.
7943 # If no C compiler flags were specified, use CFLAGS.
7944 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7946 # Allow CC to be a program name with arguments.
7950 # Check for command to grab the raw symbol name followed by C symbol from nm.
7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7952 printf %s
"checking command to parse $NM output from $compiler object... " >&6; }
7953 if test ${lt_cv_sys_global_symbol_pipe+y}
7955 printf %s
"(cached) " >&6
7958 # These are sane defaults that work on at least a few old systems.
7959 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7961 # Character class describing NM global symbol codes.
7962 symcode
='[BCDEGRST]'
7964 # Regexp to match symbols that can be accessed directly from C.
7965 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7967 # Define system-specific variables.
7972 cygwin
* | mingw
* | pw32
* | cegcc
*)
7973 symcode
='[ABCDGISTW]'
7976 if test ia64
= "$host_cpu"; then
7977 symcode
='[ABCDEGRST]'
7981 symcode
='[BCDEGRST]'
7984 symcode
='[BCDEGQRST]'
7995 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8003 # If we're using GNU nm, then use its standard symbol codes.
8004 case `$NM -V 2>&1` in
8005 *GNU
* | *'with BFD'*)
8006 symcode
='[ABCDGIRSTW]' ;;
8009 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8010 # Gets list of data symbols to import.
8011 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8012 # Adjust the below global symbol transforms to fixup imported variables.
8013 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8014 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8015 lt_c_name_lib_hook
="\
8016 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8017 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8019 # Disable hooks by default.
8020 lt_cv_sys_global_symbol_to_import
=
8026 # Transform an extracted symbol line into a proper C declaration.
8027 # Some systems (esp. on ia64) link data and code symbols differently,
8028 # so use this general approach.
8029 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
8031 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8032 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8034 # Transform an extracted symbol line into symbol name and symbol address
8035 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
8037 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8038 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8040 # Transform an extracted symbol line into symbol name with lib prefix and
8042 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
8043 $lt_c_name_lib_hook\
8044 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8045 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8046 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8048 # Handle CRLF in mingw tool chain
8052 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8056 # Try without a prefix underscore, then with it.
8057 for ac_symprfx
in "" "_"; do
8059 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8060 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8062 # Write the raw and C identifiers.
8063 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8064 # Fake it for dumpbin and say T for any non-static function,
8065 # D for any global variable and I for any imported variable.
8066 # Also find C++ and __fastcall symbols from MSVC++,
8067 # which start with @ or ?.
8068 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8069 " {last_section=section; section=\$ 3};"\
8070 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8071 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8072 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8073 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8074 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8075 " \$ 0!~/External *\|/{next};"\
8076 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8077 " {if(hide[section]) next};"\
8078 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8079 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8080 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8081 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8082 " ' prfx=^$ac_symprfx"
8084 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8086 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8088 # Check to see that the pipe works correctly.
8092 cat > conftest.
$ac_ext <<_LT_EOF
8097 void nm_test_func(void);
8098 void nm_test_func(void){}
8102 int main(){nm_test_var='a';nm_test_func();return(0);}
8105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8106 (eval $ac_compile) 2>&5
8108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8109 test $ac_status = 0; }; then
8110 # Now try to grab the symbols.
8112 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
8113 if eval "$NM" conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist 2>&5 && test -s "$nlist"; then
8114 # Try sorting and uniquifying the output.
8115 if sort "$nlist" | uniq > "$nlist"T
; then
8116 mv -f "$nlist"T
"$nlist"
8121 # Make sure that we snagged all the symbols we need.
8122 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8123 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8124 cat <<_LT_EOF > conftest.$ac_ext
8125 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8126 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8127 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8128 relocations are performed -- see ld's documentation on pseudo-relocs. */
8129 # define LT_DLSYM_CONST
8130 #elif defined __osf__
8131 /* This system does not cope well with relocations in const data. */
8132 # define LT_DLSYM_CONST
8134 # define LT_DLSYM_CONST const
8142 # Now generate the symbol file.
8143 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8145 cat <<_LT_EOF >> conftest.$ac_ext
8147 /* The mapping between symbol names and symbols. */
8148 LT_DLSYM_CONST struct {
8152 lt__PROGRAM__LTX_preloaded_symbols[] =
8154 { "@PROGRAM@", (void *) 0 },
8156 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
8157 cat <<\_LT_EOF
>> conftest.
$ac_ext
8161 /* This works around a problem
in FreeBSD linker
*/
8162 #ifdef FREEBSD_WORKAROUND
8163 static const void
*lt_preloaded_setup
() {
8164 return lt__PROGRAM__LTX_preloaded_symbols
;
8172 # Now try linking the two files.
8173 mv conftest.
$ac_objext conftstm.
$ac_objext
8174 lt_globsym_save_LIBS
=$LIBS
8175 lt_globsym_save_CFLAGS
=$CFLAGS
8176 LIBS
=conftstm.
$ac_objext
8177 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8179 (eval $ac_link) 2>&5
8181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8182 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
8185 LIBS
=$lt_globsym_save_LIBS
8186 CFLAGS
=$lt_globsym_save_CFLAGS
8188 echo "cannot find nm_test_func in $nlist" >&5
8191 echo "cannot find nm_test_var in $nlist" >&5
8194 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8197 echo "$progname: failed program was:" >&5
8198 cat conftest.
$ac_ext >&5
8200 rm -rf conftest
* conftst
*
8202 # Do not use the global_symbol_pipe unless it works.
8203 if test yes = "$pipe_works"; then
8206 lt_cv_sys_global_symbol_pipe
=
8212 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8213 lt_cv_sys_global_symbol_to_cdecl
=
8215 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8217 printf "%s\n" "failed" >&6; }
8219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8220 printf "%s\n" "ok" >&6; }
8223 # Response file support.
8224 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8225 nm_file_list_spec
='@'
8226 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
8227 nm_file_list_spec
='@'
8266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8267 printf %s
"checking for sysroot... " >&6; }
8269 # Check whether --with-sysroot was given.
8270 if test ${with_sysroot+y}
8272 withval
=$with_sysroot;
8279 case $with_sysroot in #(
8281 if test yes = "$GCC"; then
8282 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8286 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8292 printf "%s\n" "$with_sysroot" >&6; }
8293 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8298 printf "%s\n" "${lt_sysroot:-no}" >&6; }
8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8305 printf %s
"checking for a working dd... " >&6; }
8306 if test ${ac_cv_path_lt_DD+y}
8308 printf %s
"(cached) " >&6
8310 printf 0123456789abcdef0123456789abcdef
>conftest.i
8311 cat conftest.i conftest.i
>conftest2.i
8313 if test -z "$lt_DD"; then
8314 ac_path_lt_DD_found
=false
8315 # Loop through the user's path and test for each of PROGNAME-LIST
8316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8320 case $as_dir in #(((
8323 *) as_dir
=$as_dir/ ;;
8327 for ac_exec_ext
in '' $ac_executable_extensions; do
8328 ac_path_lt_DD
="$as_dir$ac_prog$ac_exec_ext"
8329 as_fn_executable_p
"$ac_path_lt_DD" || continue
8330 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8331 cmp -s conftest.i conftest.out \
8332 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8334 $ac_path_lt_DD_found && break 3
8339 if test -z "$ac_cv_path_lt_DD"; then
8343 ac_cv_path_lt_DD
=$lt_DD
8346 rm -f conftest.i conftest2.i conftest.out
8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8349 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
8352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8353 printf %s
"checking how to truncate binary pipes... " >&6; }
8354 if test ${lt_cv_truncate_bin+y}
8356 printf %s
"(cached) " >&6
8358 printf 0123456789abcdef0123456789abcdef
>conftest.i
8359 cat conftest.i conftest.i
>conftest2.i
8361 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8362 cmp -s conftest.i conftest.out \
8363 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8365 rm -f conftest.i conftest2.i conftest.out
8366 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8369 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
8377 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8380 for cc_temp
in $
*""; do
8382 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8383 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8388 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8391 # Check whether --enable-libtool-lock was given.
8392 if test ${enable_libtool_lock+y}
8394 enableval
=$enable_libtool_lock;
8397 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8399 # Some flags need to be propagated to the compiler or linker for good
8403 # Find out what ABI is being produced by ac_compile, and set mode
8404 # options accordingly.
8405 echo 'int i;' > conftest.
$ac_ext
8406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8407 (eval $ac_compile) 2>&5
8409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8410 test $ac_status = 0; }; then
8411 case `/usr/bin/file conftest.$ac_objext` in
8423 # Find out what ABI is being produced by ac_compile, and set linker
8424 # options accordingly.
8425 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8427 (eval $ac_compile) 2>&5
8429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8430 test $ac_status = 0; }; then
8431 if test yes = "$lt_cv_prog_gnu_ld"; then
8432 case `/usr/bin/file conftest.$ac_objext` in
8434 LD
="${LD-ld} -melf32bsmip"
8437 LD
="${LD-ld} -melf32bmipn32"
8440 LD
="${LD-ld} -melf64bmip"
8444 case `/usr/bin/file conftest.$ac_objext` in
8461 # Find out what ABI is being produced by ac_compile, and set linker
8462 # options accordingly.
8463 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8465 (eval $ac_compile) 2>&5
8467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8468 test $ac_status = 0; }; then
8470 case `/usr/bin/file conftest.$ac_objext` in
8478 case `/usr/bin/file conftest.$ac_objext` in
8480 emul
="${emul}btsmip"
8483 emul
="${emul}ltsmip"
8486 case `/usr/bin/file conftest.$ac_objext` in
8491 LD
="${LD-ld} -m $emul"
8496 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
8497 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8498 # Find out what ABI is being produced by ac_compile, and set linker
8499 # options accordingly. Note that the listed cases only cover the
8500 # situations where additional linker options are needed (such as when
8501 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8502 # vice versa); the common cases where no linker options are needed do
8503 # not appear in the list.
8504 echo 'int i;' > conftest.
$ac_ext
8505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8506 (eval $ac_compile) 2>&5
8508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8509 test $ac_status = 0; }; then
8510 case `/usr/bin/file conftest.o` in
8513 x86_64
-*kfreebsd
*-gnu)
8514 LD
="${LD-ld} -m elf_i386_fbsd"
8517 case `/usr/bin/file conftest.o` in
8519 LD
="${LD-ld} -m elf32_x86_64"
8522 LD
="${LD-ld} -m elf_i386"
8526 powerpc64le
-*linux
*)
8527 LD
="${LD-ld} -m elf32lppclinux"
8530 LD
="${LD-ld} -m elf32ppclinux"
8533 LD
="${LD-ld} -m elf_s390"
8536 LD
="${LD-ld} -m elf32_sparc"
8542 x86_64
-*kfreebsd
*-gnu)
8543 LD
="${LD-ld} -m elf_x86_64_fbsd"
8546 LD
="${LD-ld} -m elf_x86_64"
8549 LD
="${LD-ld} -m elf64lppc"
8552 LD
="${LD-ld} -m elf64ppc"
8554 s390
*-*linux
*|s390
*-*tpf
*)
8555 LD
="${LD-ld} -m elf64_s390"
8558 LD
="${LD-ld} -m elf64_sparc"
8568 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8570 CFLAGS
="$CFLAGS -belf"
8571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8572 printf %s
"checking whether the C compiler needs -belf... " >&6; }
8573 if test ${lt_cv_cc_needs_belf+y}
8575 printf %s
"(cached) " >&6
8578 ac_cpp
='$CPP $CPPFLAGS'
8579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8594 if ac_fn_c_try_link
"$LINENO"
8596 lt_cv_cc_needs_belf
=yes
8598 lt_cv_cc_needs_belf
=no
8600 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
8601 conftest
$ac_exeext conftest.
$ac_ext
8603 ac_cpp
='$CPP $CPPFLAGS'
8604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8610 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
8611 if test yes != "$lt_cv_cc_needs_belf"; then
8612 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8617 # Find out what ABI is being produced by ac_compile, and set linker
8618 # options accordingly.
8619 echo 'int i;' > conftest.
$ac_ext
8620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8621 (eval $ac_compile) 2>&5
8623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8624 test $ac_status = 0; }; then
8625 case `/usr/bin/file conftest.o` in
8627 case $lt_cv_prog_gnu_ld in
8630 i?
86-*-solaris*|x86_64
-*-solaris*)
8631 LD
="${LD-ld} -m elf_x86_64"
8634 LD
="${LD-ld} -m elf64_sparc"
8637 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8638 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
8643 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8655 need_locks
=$enable_libtool_lock
8657 if test -n "$ac_tool_prefix"; then
8658 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8659 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8661 printf %s
"checking for $ac_word... " >&6; }
8662 if test ${ac_cv_prog_MANIFEST_TOOL+y}
8664 printf %s
"(cached) " >&6
8666 if test -n "$MANIFEST_TOOL"; then
8667 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8673 case $as_dir in #(((
8676 *) as_dir
=$as_dir/ ;;
8678 for ac_exec_ext
in '' $ac_executable_extensions; do
8679 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
8680 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8690 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8691 if test -n "$MANIFEST_TOOL"; then
8692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8693 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8696 printf "%s\n" "no" >&6; }
8701 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8702 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8703 # Extract the first word of "mt", so it can be a program name with args.
8704 set dummy mt
; ac_word
=$2
8705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8706 printf %s
"checking for $ac_word... " >&6; }
8707 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8709 printf %s
"(cached) " >&6
8711 if test -n "$ac_ct_MANIFEST_TOOL"; then
8712 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8718 case $as_dir in #(((
8721 *) as_dir
=$as_dir/ ;;
8723 for ac_exec_ext
in '' $ac_executable_extensions; do
8724 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
8725 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8735 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8736 if test -n "$ac_ct_MANIFEST_TOOL"; then
8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8738 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 printf "%s\n" "no" >&6; }
8744 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8747 case $cross_compiling:$ac_tool_warned in
8749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8750 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8751 ac_tool_warned
=yes ;;
8753 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8756 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8759 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8761 printf %s
"checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8762 if test ${lt_cv_path_mainfest_tool+y}
8764 printf %s
"(cached) " >&6
8766 lt_cv_path_mainfest_tool
=no
8767 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8768 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8769 cat conftest.err
>&5
8770 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8771 lt_cv_path_mainfest_tool
=yes
8775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8776 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
8777 if test yes != "$lt_cv_path_mainfest_tool"; then
8787 rhapsody
* | darwin
*)
8788 if test -n "$ac_tool_prefix"; then
8789 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8790 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792 printf %s
"checking for $ac_word... " >&6; }
8793 if test ${ac_cv_prog_DSYMUTIL+y}
8795 printf %s
"(cached) " >&6
8797 if test -n "$DSYMUTIL"; then
8798 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8804 case $as_dir in #(((
8807 *) as_dir
=$as_dir/ ;;
8809 for ac_exec_ext
in '' $ac_executable_extensions; do
8810 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
8811 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8821 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8822 if test -n "$DSYMUTIL"; then
8823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8824 printf "%s\n" "$DSYMUTIL" >&6; }
8826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 printf "%s\n" "no" >&6; }
8832 if test -z "$ac_cv_prog_DSYMUTIL"; then
8833 ac_ct_DSYMUTIL
=$DSYMUTIL
8834 # Extract the first word of "dsymutil", so it can be a program name with args.
8835 set dummy dsymutil
; ac_word
=$2
8836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8837 printf %s
"checking for $ac_word... " >&6; }
8838 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8840 printf %s
"(cached) " >&6
8842 if test -n "$ac_ct_DSYMUTIL"; then
8843 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8849 case $as_dir in #(((
8852 *) as_dir
=$as_dir/ ;;
8854 for ac_exec_ext
in '' $ac_executable_extensions; do
8855 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
8856 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8866 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8867 if test -n "$ac_ct_DSYMUTIL"; then
8868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8869 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 printf "%s\n" "no" >&6; }
8875 if test "x$ac_ct_DSYMUTIL" = x
; then
8878 case $cross_compiling:$ac_tool_warned in
8880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8881 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8882 ac_tool_warned
=yes ;;
8884 DSYMUTIL
=$ac_ct_DSYMUTIL
8887 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8890 if test -n "$ac_tool_prefix"; then
8891 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8892 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8894 printf %s
"checking for $ac_word... " >&6; }
8895 if test ${ac_cv_prog_NMEDIT+y}
8897 printf %s
"(cached) " >&6
8899 if test -n "$NMEDIT"; then
8900 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8906 case $as_dir in #(((
8909 *) as_dir
=$as_dir/ ;;
8911 for ac_exec_ext
in '' $ac_executable_extensions; do
8912 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
8913 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8923 NMEDIT
=$ac_cv_prog_NMEDIT
8924 if test -n "$NMEDIT"; then
8925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8926 printf "%s\n" "$NMEDIT" >&6; }
8928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 printf "%s\n" "no" >&6; }
8934 if test -z "$ac_cv_prog_NMEDIT"; then
8935 ac_ct_NMEDIT
=$NMEDIT
8936 # Extract the first word of "nmedit", so it can be a program name with args.
8937 set dummy nmedit
; ac_word
=$2
8938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8939 printf %s
"checking for $ac_word... " >&6; }
8940 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8942 printf %s
"(cached) " >&6
8944 if test -n "$ac_ct_NMEDIT"; then
8945 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8951 case $as_dir in #(((
8954 *) as_dir
=$as_dir/ ;;
8956 for ac_exec_ext
in '' $ac_executable_extensions; do
8957 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
8958 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8968 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8969 if test -n "$ac_ct_NMEDIT"; then
8970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8971 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 printf "%s\n" "no" >&6; }
8977 if test "x$ac_ct_NMEDIT" = x
; then
8980 case $cross_compiling:$ac_tool_warned in
8982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8983 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8984 ac_tool_warned
=yes ;;
8986 NMEDIT
=$ac_ct_NMEDIT
8989 NMEDIT
="$ac_cv_prog_NMEDIT"
8992 if test -n "$ac_tool_prefix"; then
8993 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8994 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8996 printf %s
"checking for $ac_word... " >&6; }
8997 if test ${ac_cv_prog_LIPO+y}
8999 printf %s
"(cached) " >&6
9001 if test -n "$LIPO"; then
9002 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9008 case $as_dir in #(((
9011 *) as_dir
=$as_dir/ ;;
9013 for ac_exec_ext
in '' $ac_executable_extensions; do
9014 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9015 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9025 LIPO
=$ac_cv_prog_LIPO
9026 if test -n "$LIPO"; then
9027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9028 printf "%s\n" "$LIPO" >&6; }
9030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 printf "%s\n" "no" >&6; }
9036 if test -z "$ac_cv_prog_LIPO"; then
9038 # Extract the first word of "lipo", so it can be a program name with args.
9039 set dummy lipo
; ac_word
=$2
9040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9041 printf %s
"checking for $ac_word... " >&6; }
9042 if test ${ac_cv_prog_ac_ct_LIPO+y}
9044 printf %s
"(cached) " >&6
9046 if test -n "$ac_ct_LIPO"; then
9047 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9053 case $as_dir in #(((
9056 *) as_dir
=$as_dir/ ;;
9058 for ac_exec_ext
in '' $ac_executable_extensions; do
9059 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9060 ac_cv_prog_ac_ct_LIPO
="lipo"
9061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9070 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
9071 if test -n "$ac_ct_LIPO"; then
9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9073 printf "%s\n" "$ac_ct_LIPO" >&6; }
9075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 printf "%s\n" "no" >&6; }
9079 if test "x$ac_ct_LIPO" = x
; then
9082 case $cross_compiling:$ac_tool_warned in
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9085 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9086 ac_tool_warned
=yes ;;
9091 LIPO
="$ac_cv_prog_LIPO"
9094 if test -n "$ac_tool_prefix"; then
9095 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9096 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9098 printf %s
"checking for $ac_word... " >&6; }
9099 if test ${ac_cv_prog_OTOOL+y}
9101 printf %s
"(cached) " >&6
9103 if test -n "$OTOOL"; then
9104 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9110 case $as_dir in #(((
9113 *) as_dir
=$as_dir/ ;;
9115 for ac_exec_ext
in '' $ac_executable_extensions; do
9116 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9117 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9127 OTOOL
=$ac_cv_prog_OTOOL
9128 if test -n "$OTOOL"; then
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9130 printf "%s\n" "$OTOOL" >&6; }
9132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9133 printf "%s\n" "no" >&6; }
9138 if test -z "$ac_cv_prog_OTOOL"; then
9140 # Extract the first word of "otool", so it can be a program name with args.
9141 set dummy otool
; ac_word
=$2
9142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143 printf %s
"checking for $ac_word... " >&6; }
9144 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9146 printf %s
"(cached) " >&6
9148 if test -n "$ac_ct_OTOOL"; then
9149 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9155 case $as_dir in #(((
9158 *) as_dir
=$as_dir/ ;;
9160 for ac_exec_ext
in '' $ac_executable_extensions; do
9161 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9162 ac_cv_prog_ac_ct_OTOOL
="otool"
9163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9172 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9173 if test -n "$ac_ct_OTOOL"; then
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9175 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 printf "%s\n" "no" >&6; }
9181 if test "x$ac_ct_OTOOL" = x
; then
9184 case $cross_compiling:$ac_tool_warned in
9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9187 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9188 ac_tool_warned
=yes ;;
9193 OTOOL
="$ac_cv_prog_OTOOL"
9196 if test -n "$ac_tool_prefix"; then
9197 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9198 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9200 printf %s
"checking for $ac_word... " >&6; }
9201 if test ${ac_cv_prog_OTOOL64+y}
9203 printf %s
"(cached) " >&6
9205 if test -n "$OTOOL64"; then
9206 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9212 case $as_dir in #(((
9215 *) as_dir
=$as_dir/ ;;
9217 for ac_exec_ext
in '' $ac_executable_extensions; do
9218 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9219 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9229 OTOOL64
=$ac_cv_prog_OTOOL64
9230 if test -n "$OTOOL64"; then
9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9232 printf "%s\n" "$OTOOL64" >&6; }
9234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9235 printf "%s\n" "no" >&6; }
9240 if test -z "$ac_cv_prog_OTOOL64"; then
9241 ac_ct_OTOOL64
=$OTOOL64
9242 # Extract the first word of "otool64", so it can be a program name with args.
9243 set dummy otool64
; ac_word
=$2
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9245 printf %s
"checking for $ac_word... " >&6; }
9246 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
9248 printf %s
"(cached) " >&6
9250 if test -n "$ac_ct_OTOOL64"; then
9251 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9257 case $as_dir in #(((
9260 *) as_dir
=$as_dir/ ;;
9262 for ac_exec_ext
in '' $ac_executable_extensions; do
9263 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9264 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9274 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9275 if test -n "$ac_ct_OTOOL64"; then
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9277 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 printf "%s\n" "no" >&6; }
9283 if test "x$ac_ct_OTOOL64" = x
; then
9286 case $cross_compiling:$ac_tool_warned in
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9289 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9290 ac_tool_warned
=yes ;;
9292 OTOOL64
=$ac_ct_OTOOL64
9295 OTOOL64
="$ac_cv_prog_OTOOL64"
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9325 printf %s
"checking for -single_module linker flag... " >&6; }
9326 if test ${lt_cv_apple_cc_single_mod+y}
9328 printf %s
"(cached) " >&6
9330 lt_cv_apple_cc_single_mod
=no
9331 if test -z "$LT_MULTI_MODULE"; then
9332 # By default we will add the -single_module flag. You can override
9333 # by either setting the environment variable LT_MULTI_MODULE
9334 # non-empty at configure time, or by adding -multi_module to the
9336 rm -rf libconftest.dylib
*
9337 echo "int foo(void){return 1;}" > conftest.c
9338 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9339 -dynamiclib -Wl,-single_module conftest.c" >&5
9340 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9341 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9343 # If there is a non-empty error log, and "single_module"
9344 # appears in it, assume the flag caused a linker warning
9345 if test -s conftest.err
&& $GREP single_module conftest.err
; then
9346 cat conftest.err
>&5
9347 # Otherwise, if the output was created with a 0 exit code from
9348 # the compiler, it worked.
9349 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
9350 lt_cv_apple_cc_single_mod
=yes
9352 cat conftest.err
>&5
9354 rm -rf libconftest.dylib
*
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9359 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
9361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9362 printf %s
"checking for -exported_symbols_list linker flag... " >&6; }
9363 if test ${lt_cv_ld_exported_symbols_list+y}
9365 printf %s
"(cached) " >&6
9367 lt_cv_ld_exported_symbols_list
=no
9368 save_LDFLAGS
=$LDFLAGS
9369 echo "_main" > conftest.sym
9370 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9382 if ac_fn_c_try_link
"$LINENO"
9384 lt_cv_ld_exported_symbols_list
=yes
9386 lt_cv_ld_exported_symbols_list
=no
9388 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9389 conftest
$ac_exeext conftest.
$ac_ext
9390 LDFLAGS
=$save_LDFLAGS
9393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9394 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9397 printf %s
"checking for -force_load linker flag... " >&6; }
9398 if test ${lt_cv_ld_force_load+y}
9400 printf %s
"(cached) " >&6
9402 lt_cv_ld_force_load
=no
9403 cat > conftest.c
<< _LT_EOF
9404 int forced_loaded() { return 2;}
9406 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9407 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9408 echo "$AR cr libconftest.a conftest.o" >&5
9409 $AR cr libconftest.a conftest.o
2>&5
9410 echo "$RANLIB libconftest.a" >&5
9411 $RANLIB libconftest.a
2>&5
9412 cat > conftest.c
<< _LT_EOF
9413 int main() { return 0;}
9415 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9416 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9418 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9419 cat conftest.err
>&5
9420 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9421 lt_cv_ld_force_load
=yes
9423 cat conftest.err
>&5
9425 rm -f conftest.err libconftest.a conftest conftest.c
9426 rm -rf conftest.dSYM
9429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9430 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
9432 rhapsody
* | darwin1.
[012])
9433 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9435 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9436 darwin
*) # darwin 5.x on
9437 # if running on 10.5 or later, the deployment target defaults
9438 # to the OS version, if on x86, and 10.4, the deployment
9439 # target defaults to 10.4. Don't you love it?
9440 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9441 10.0,*86*-darwin8*|10.0,*-darwin[912]*)
9442 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9444 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9446 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9450 if test yes = "$lt_cv_apple_cc_single_mod"; then
9451 _lt_dar_single_mod
='$single_module'
9453 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9454 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9456 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9458 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9459 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9466 # func_munge_path_list VARIABLE PATH
9467 # -----------------------------------
9468 # VARIABLE is name of variable containing _space_ separated list of
9469 # directories to be munged by the contents of PATH, which is string
9472 # string "DIR[ DIR]" will be prepended to VARIABLE
9474 # string "DIR[ DIR]" will be appended to VARIABLE
9475 # "DIRP[:DIRP]::[DIRA:]DIRA"
9476 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9477 # "DIRA[ DIRA]" will be appended to VARIABLE
9479 # VARIABLE will be replaced by "DIR[ DIR]"
9480 func_munge_path_list
()
9486 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9489 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9492 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9493 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9496 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9501 ac_header
= ac_cache
=
9502 for ac_item
in $ac_header_c_list
9504 if test $ac_cache; then
9505 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
9506 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
9507 printf "%s\n" "#define $ac_item 1" >> confdefs.h
9509 ac_header
= ac_cache
=
9510 elif test $ac_header; then
9524 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
9527 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
9530 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9532 if test "x$ac_cv_header_dlfcn_h" = xyes
9534 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9540 func_stripname_cnf
()
9543 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9544 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9546 } # func_stripname_cnf
9554 # Check whether --enable-static was given.
9555 if test ${enable_static+y}
9557 enableval
=$enable_static; p
=${PACKAGE-default}
9559 yes) enable_static
=yes ;;
9560 no
) enable_static
=no
;;
9563 # Look at the argument we got. We use all the common list separators.
9564 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9565 for pkg
in $enableval; do
9567 if test "X$pkg" = "X$p"; then
9584 # Check whether --enable-shared was given.
9585 if test ${enable_shared+y}
9587 enableval
=$enable_shared; p
=${PACKAGE-default}
9589 yes) enable_shared
=yes ;;
9590 no
) enable_shared
=no
;;
9593 # Look at the argument we got. We use all the common list separators.
9594 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9595 for pkg
in $enableval; do
9597 if test "X$pkg" = "X$p"; then
9624 # Check whether --with-pic was given.
9625 if test ${with_pic+y}
9627 withval
=$with_pic; lt_p
=${PACKAGE-default}
9629 yes|no
) pic_mode
=$withval ;;
9632 # Look at the argument we got. We use all the common list separators.
9633 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9634 for lt_pkg
in $withval; do
9636 if test "X$lt_pkg" = "X$lt_p"; then
9654 # Check whether --enable-fast-install was given.
9655 if test ${enable_fast_install+y}
9657 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9659 yes) enable_fast_install
=yes ;;
9660 no
) enable_fast_install
=no
;;
9662 enable_fast_install
=no
9663 # Look at the argument we got. We use all the common list separators.
9664 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9665 for pkg
in $enableval; do
9667 if test "X$pkg" = "X$p"; then
9668 enable_fast_install
=yes
9675 enable_fast_install
=yes
9685 shared_archive_member_spec
=
9686 case $host,$enable_shared in
9687 power
*-*-aix[5-9]*,yes)
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9689 printf %s
"checking which variant of shared library versioning to provide... " >&6; }
9691 # Check whether --with-aix-soname was given.
9692 if test ${with_aix_soname+y}
9694 withval
=$with_aix_soname; case $withval in
9698 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9701 lt_cv_with_aix_soname
=$with_aix_soname
9703 if test ${lt_cv_with_aix_soname+y}
9705 printf %s
"(cached) " >&6
9707 lt_cv_with_aix_soname
=aix
9710 with_aix_soname
=$lt_cv_with_aix_soname
9713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9714 printf "%s\n" "$with_aix_soname" >&6; }
9715 if test aix
!= "$with_aix_soname"; then
9716 # For the AIX way of multilib, we name the shared archive member
9717 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9718 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9719 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9720 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9721 if test 64 = "${OBJECT_MODE-32}"; then
9722 shared_archive_member_spec
=shr_64
9724 shared_archive_member_spec
=shr
9742 # This can be used to rebuild libtool when needed
9743 LIBTOOL_DEPS
=$ltmain
9745 # Always use our own libtool.
9746 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9777 test -z "$LN_S" && LN_S
="ln -s"
9792 if test -n "${ZSH_VERSION+set}"; then
9793 setopt NO_GLOB_SUBST
9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9797 printf %s
"checking for objdir... " >&6; }
9798 if test ${lt_cv_objdir+y}
9800 printf %s
"(cached) " >&6
9802 rm -f .libs
2>/dev
/null
9803 mkdir .libs
2>/dev
/null
9804 if test -d .libs
; then
9807 # MS-DOS does not allow filenames that begin with a dot.
9810 rmdir .libs
2>/dev
/null
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9813 printf "%s\n" "$lt_cv_objdir" >&6; }
9814 objdir
=$lt_cv_objdir
9820 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
9827 # AIX sometimes has problems with the GCC collect2 program. For some
9828 # reason, if we set the COLLECT_NAMES environment variable, the problems
9829 # vanish in a puff of smoke.
9830 if test set != "${COLLECT_NAMES+set}"; then
9832 export COLLECT_NAMES
9839 can_build_shared
=yes
9841 # All known linkers require a '.a' archive for static linking (except MSVC,
9842 # which needs '.lib').
9845 with_gnu_ld
=$lt_cv_prog_gnu_ld
9850 # Set sane defaults for various variables
9851 test -z "$CC" && CC
=cc
9852 test -z "$LTCC" && LTCC
=$CC
9853 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9854 test -z "$LD" && LD
=ld
9855 test -z "$ac_objext" && ac_objext
=o
9857 func_cc_basename
$compiler
9858 cc_basename
=$func_cc_basename_result
9861 # Only perform the check for file, if the check method requires it
9862 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9863 case $deplibs_check_method in
9865 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9867 printf %s
"checking for ${ac_tool_prefix}file... " >&6; }
9868 if test ${lt_cv_path_MAGIC_CMD+y}
9870 printf %s
"(cached) " >&6
9874 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9877 lt_save_MAGIC_CMD
=$MAGIC_CMD
9878 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9879 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9880 for ac_dir
in $ac_dummy; do
9882 test -z "$ac_dir" && ac_dir
=.
9883 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9884 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9885 if test -n "$file_magic_test_file"; then
9886 case $deplibs_check_method in
9888 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9889 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9890 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9891 $EGREP "$file_magic_regex" > /dev
/null
; then
9896 *** Warning: the command libtool uses to detect shared libraries,
9897 *** $file_magic_cmd, produces output that libtool cannot recognize.
9898 *** The result is that libtool may fail to recognize shared libraries
9899 *** as such. This will affect the creation of libtool libraries that
9900 *** depend on shared libraries, but programs linked with such libtool
9901 *** libraries will work regardless of this problem. Nevertheless, you
9902 *** may want to report the problem to your system manager and/or to
9903 *** bug-libtool@gnu.org
9913 MAGIC_CMD
=$lt_save_MAGIC_CMD
9918 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9919 if test -n "$MAGIC_CMD"; then
9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9921 printf "%s\n" "$MAGIC_CMD" >&6; }
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9924 printf "%s\n" "no" >&6; }
9931 if test -z "$lt_cv_path_MAGIC_CMD"; then
9932 if test -n "$ac_tool_prefix"; then
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9934 printf %s
"checking for file... " >&6; }
9935 if test ${lt_cv_path_MAGIC_CMD+y}
9937 printf %s
"(cached) " >&6
9941 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9944 lt_save_MAGIC_CMD
=$MAGIC_CMD
9945 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9946 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9947 for ac_dir
in $ac_dummy; do
9949 test -z "$ac_dir" && ac_dir
=.
9950 if test -f "$ac_dir/file"; then
9951 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9952 if test -n "$file_magic_test_file"; then
9953 case $deplibs_check_method in
9955 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9956 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9957 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9958 $EGREP "$file_magic_regex" > /dev
/null
; then
9963 *** Warning: the command libtool uses to detect shared libraries,
9964 *** $file_magic_cmd, produces output that libtool cannot recognize.
9965 *** The result is that libtool may fail to recognize shared libraries
9966 *** as such. This will affect the creation of libtool libraries that
9967 *** depend on shared libraries, but programs linked with such libtool
9968 *** libraries will work regardless of this problem. Nevertheless, you
9969 *** may want to report the problem to your system manager and/or to
9970 *** bug-libtool@gnu.org
9980 MAGIC_CMD
=$lt_save_MAGIC_CMD
9985 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9986 if test -n "$MAGIC_CMD"; then
9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9988 printf "%s\n" "$MAGIC_CMD" >&6; }
9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9991 printf "%s\n" "no" >&6; }
10004 # Use C for the default configuration in the libtool script
10008 ac_cpp
='$CPP $CPPFLAGS'
10009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10014 # Source file extension for C test sources.
10017 # Object file extension for compiled C test sources.
10021 # Code to be used in simple compile tests
10022 lt_simple_compile_test_code
="int some_variable = 0;"
10024 # Code to be used in simple link tests
10025 lt_simple_link_test_code
='int main(){return(0);}'
10033 # If no C compiler was specified, use CC.
10036 # If no C compiler flags were specified, use CFLAGS.
10037 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10039 # Allow CC to be a program name with arguments.
10042 # Save the default compiler, since it gets overwritten when the other
10043 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10044 compiler_DEFAULT
=$CC
10046 # save warnings/boilerplate of simple test code
10047 ac_outfile
=conftest.
$ac_objext
10048 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10049 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10050 _lt_compiler_boilerplate
=`cat conftest.err`
10053 ac_outfile
=conftest.
$ac_objext
10054 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10055 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10056 _lt_linker_boilerplate
=`cat conftest.err`
10061 ## There is no encapsulation within the following macros, do not change
10062 ## the running order or otherwise move them around unless you know exactly
10063 ## what you are doing...
10064 if test -n "$compiler"; then
10066 lt_prog_compiler_no_builtin_flag
=
10068 if test yes = "$GCC"; then
10069 case $cc_basename in
10071 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10073 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10077 printf %s
"checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10078 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10080 printf %s
"(cached) " >&6
10082 lt_cv_prog_compiler_rtti_exceptions
=no
10083 ac_outfile
=conftest.
$ac_objext
10084 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10085 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10086 # Insert the option either (1) after the last *FLAGS variable, or
10087 # (2) before a word containing "conftest.", or (3) at the end.
10088 # Note that $ac_compile itself does not contain backslashes and begins
10089 # with a dollar sign (not a hyphen), so the echo should work correctly.
10090 # The option is referenced via a variable to avoid confusing sed.
10091 lt_compile
=`echo "$ac_compile" | $SED \
10092 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10093 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10094 -e 's:$: $lt_compiler_flag:'`
10095 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10096 (eval "$lt_compile" 2>conftest.err
)
10098 cat conftest.err
>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 if (exit $ac_status) && test -s "$ac_outfile"; then
10101 # The compiler can only warn and ignore the option if not recognized
10102 # So say no if there are warnings other than the usual output.
10103 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10104 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10105 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
10106 lt_cv_prog_compiler_rtti_exceptions
=yes
10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10113 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10115 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10116 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10128 lt_prog_compiler_wl
=
10129 lt_prog_compiler_pic
=
10130 lt_prog_compiler_static
=
10133 if test yes = "$GCC"; then
10134 lt_prog_compiler_wl
='-Wl,'
10135 lt_prog_compiler_static
='-static'
10139 # All AIX code is PIC.
10140 if test ia64
= "$host_cpu"; then
10141 # AIX 5 now supports IA64 processor
10142 lt_prog_compiler_static
='-Bstatic'
10144 lt_prog_compiler_pic
='-fPIC'
10150 # see comment about AmigaOS4 .so support
10151 lt_prog_compiler_pic
='-fPIC'
10154 # FIXME: we need at least 68020 code to build shared libraries, but
10155 # adding the '-m68020' flag to GCC prevents building anything better,
10157 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10162 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10163 # PIC is the default for these OSes.
10166 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10167 # This hack is so that the source file can tell whether it is being
10168 # built for inclusion in a dll (and should export symbols for example).
10169 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10170 # (--disable-auto-import) libraries
10171 lt_prog_compiler_pic
='-DDLL_EXPORT'
10174 lt_prog_compiler_static
='$wl-static'
10179 darwin
* | rhapsody
*)
10180 # PIC is the default on this platform
10181 # Common symbols not allowed in MH_DYLIB files
10182 lt_prog_compiler_pic
='-fno-common'
10186 # PIC is the default for Haiku.
10187 # The "-static" flag exists, but is broken.
10188 lt_prog_compiler_static
=
10192 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10193 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10194 # sets the default TLS model and affects inlining.
10200 lt_prog_compiler_pic
='-fPIC'
10206 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10207 # Instead, we relocate shared libraries at runtime.
10211 # Just because we use GCC doesn't mean we suddenly get shared libraries
10212 # on systems that don't support them.
10213 lt_prog_compiler_can_build_shared
=no
10218 # QNX uses GNU C++, but need to define -shared option too, otherwise
10219 # it will coredump.
10220 lt_prog_compiler_pic
='-fPIC -shared'
10224 if test -d /usr
/nec
; then
10225 lt_prog_compiler_pic
=-Kconform_pic
10230 lt_prog_compiler_pic
='-fPIC'
10234 case $cc_basename in
10235 nvcc
*) # Cuda Compiler Driver 2.2
10236 lt_prog_compiler_wl
='-Xlinker '
10237 if test -n "$lt_prog_compiler_pic"; then
10238 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10243 # PORTME Check for flag to pass linker flags through the system compiler.
10246 lt_prog_compiler_wl
='-Wl,'
10247 if test ia64
= "$host_cpu"; then
10248 # AIX 5 now supports IA64 processor
10249 lt_prog_compiler_static
='-Bstatic'
10251 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10255 darwin
* | rhapsody
*)
10256 # PIC is the default on this platform
10257 # Common symbols not allowed in MH_DYLIB files
10258 lt_prog_compiler_pic
='-fno-common'
10259 case $cc_basename in
10261 # NAG Fortran compiler
10262 lt_prog_compiler_wl
='-Wl,-Wl,,'
10263 lt_prog_compiler_pic
='-PIC'
10264 lt_prog_compiler_static
='-Bstatic'
10269 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10270 # This hack is so that the source file can tell whether it is being
10271 # built for inclusion in a dll (and should export symbols for example).
10272 lt_prog_compiler_pic
='-DDLL_EXPORT'
10275 lt_prog_compiler_static
='$wl-static'
10280 hpux9
* | hpux10
* | hpux11
*)
10281 lt_prog_compiler_wl
='-Wl,'
10282 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10283 # not for PA HP-UX.
10289 lt_prog_compiler_pic
='+Z'
10292 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10293 lt_prog_compiler_static
='$wl-a ${wl}archive'
10296 irix5
* | irix6
* | nonstopux
*)
10297 lt_prog_compiler_wl
='-Wl,'
10298 # PIC (with -KPIC) is the default.
10299 lt_prog_compiler_static
='-non_shared'
10302 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10303 case $cc_basename in
10304 # old Intel for x86_64, which still supported -KPIC.
10306 lt_prog_compiler_wl
='-Wl,'
10307 lt_prog_compiler_pic
='-KPIC'
10308 lt_prog_compiler_static
='-static'
10310 # flang / f18. f95 an alias for gfortran or flang on Debian
10311 flang
* | f18
* | f95
*)
10312 lt_prog_compiler_wl
='-Wl,'
10313 lt_prog_compiler_pic
='-fPIC'
10314 lt_prog_compiler_static
='-static'
10316 # icc used to be incompatible with GCC.
10317 # ICC 10 doesn't accept -KPIC any more.
10319 lt_prog_compiler_wl
='-Wl,'
10320 lt_prog_compiler_pic
='-fPIC'
10321 lt_prog_compiler_static
='-static'
10323 # Lahey Fortran 8.1.
10325 lt_prog_compiler_wl
='-Wl,'
10326 lt_prog_compiler_pic
='--shared'
10327 lt_prog_compiler_static
='--static'
10330 # NAG Fortran compiler
10331 lt_prog_compiler_wl
='-Wl,-Wl,,'
10332 lt_prog_compiler_pic
='-PIC'
10333 lt_prog_compiler_static
='-Bstatic'
10336 # Fabrice Bellard et al's Tiny C Compiler
10337 lt_prog_compiler_wl
='-Wl,'
10338 lt_prog_compiler_pic
='-fPIC'
10339 lt_prog_compiler_static
='-static'
10341 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10342 # Portland Group compilers (*not* the Pentium gcc compiler,
10343 # which looks to be a dead project)
10344 lt_prog_compiler_wl
='-Wl,'
10345 lt_prog_compiler_pic
='-fpic'
10346 lt_prog_compiler_static
='-Bstatic'
10349 lt_prog_compiler_wl
='-Wl,'
10350 # All Alpha code is PIC.
10351 lt_prog_compiler_static
='-non_shared'
10353 xl
* | bgxl
* | bgf
* | mpixl
*)
10354 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10355 lt_prog_compiler_wl
='-Wl,'
10356 lt_prog_compiler_pic
='-qpic'
10357 lt_prog_compiler_static
='-qstaticlink'
10360 case `$CC -V 2>&1 | sed 5q` in
10361 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
10362 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10363 lt_prog_compiler_pic
='-KPIC'
10364 lt_prog_compiler_static
='-Bstatic'
10365 lt_prog_compiler_wl
=''
10367 *Sun\ F
* | *Sun
*Fortran
*)
10368 lt_prog_compiler_pic
='-KPIC'
10369 lt_prog_compiler_static
='-Bstatic'
10370 lt_prog_compiler_wl
='-Qoption ld '
10374 lt_prog_compiler_pic
='-KPIC'
10375 lt_prog_compiler_static
='-Bstatic'
10376 lt_prog_compiler_wl
='-Wl,'
10378 *Intel
*\
[CF
]*Compiler
*)
10379 lt_prog_compiler_wl
='-Wl,'
10380 lt_prog_compiler_pic
='-fPIC'
10381 lt_prog_compiler_static
='-static'
10384 lt_prog_compiler_wl
='-Wl,'
10385 lt_prog_compiler_pic
='-fpic'
10386 lt_prog_compiler_static
='-Bstatic'
10394 lt_prog_compiler_pic
='-KPIC'
10395 lt_prog_compiler_static
='-Bstatic'
10399 # QNX uses GNU C++, but need to define -shared option too, otherwise
10400 # it will coredump.
10401 lt_prog_compiler_pic
='-fPIC -shared'
10404 osf3
* | osf4
* | osf5
*)
10405 lt_prog_compiler_wl
='-Wl,'
10406 # All OSF/1 code is PIC.
10407 lt_prog_compiler_static
='-non_shared'
10411 lt_prog_compiler_static
='-non_shared'
10415 lt_prog_compiler_pic
='-KPIC'
10416 lt_prog_compiler_static
='-Bstatic'
10417 case $cc_basename in
10418 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10419 lt_prog_compiler_wl
='-Qoption ld ';;
10421 lt_prog_compiler_wl
='-Wl,';;
10426 lt_prog_compiler_wl
='-Qoption ld '
10427 lt_prog_compiler_pic
='-PIC'
10428 lt_prog_compiler_static
='-Bstatic'
10431 sysv4
| sysv4.2uw2
* | sysv4.3
*)
10432 lt_prog_compiler_wl
='-Wl,'
10433 lt_prog_compiler_pic
='-KPIC'
10434 lt_prog_compiler_static
='-Bstatic'
10438 if test -d /usr
/nec
; then
10439 lt_prog_compiler_pic
='-Kconform_pic'
10440 lt_prog_compiler_static
='-Bstatic'
10444 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10445 lt_prog_compiler_wl
='-Wl,'
10446 lt_prog_compiler_pic
='-KPIC'
10447 lt_prog_compiler_static
='-Bstatic'
10451 lt_prog_compiler_wl
='-Wl,'
10452 lt_prog_compiler_can_build_shared
=no
10456 lt_prog_compiler_pic
='-pic'
10457 lt_prog_compiler_static
='-Bstatic'
10461 lt_prog_compiler_can_build_shared
=no
10467 # For platforms that do not support PIC, -DPIC is meaningless:
10469 lt_prog_compiler_pic
=
10472 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10477 printf %s
"checking for $compiler option to produce PIC... " >&6; }
10478 if test ${lt_cv_prog_compiler_pic+y}
10480 printf %s
"(cached) " >&6
10482 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10485 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10486 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10489 # Check to make sure the PIC flag actually works.
10491 if test -n "$lt_prog_compiler_pic"; then
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10493 printf %s
"checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10494 if test ${lt_cv_prog_compiler_pic_works+y}
10496 printf %s
"(cached) " >&6
10498 lt_cv_prog_compiler_pic_works
=no
10499 ac_outfile
=conftest.
$ac_objext
10500 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10501 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10502 # Insert the option either (1) after the last *FLAGS variable, or
10503 # (2) before a word containing "conftest.", or (3) at the end.
10504 # Note that $ac_compile itself does not contain backslashes and begins
10505 # with a dollar sign (not a hyphen), so the echo should work correctly.
10506 # The option is referenced via a variable to avoid confusing sed.
10507 lt_compile
=`echo "$ac_compile" | $SED \
10508 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10510 -e 's:$: $lt_compiler_flag:'`
10511 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10512 (eval "$lt_compile" 2>conftest.err
)
10514 cat conftest.err
>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 if (exit $ac_status) && test -s "$ac_outfile"; then
10517 # The compiler can only warn and ignore the option if not recognized
10518 # So say no if there are warnings other than the usual output.
10519 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10520 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10521 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
10522 lt_cv_prog_compiler_pic_works
=yes
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10529 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10531 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10532 case $lt_prog_compiler_pic in
10534 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10537 lt_prog_compiler_pic
=
10538 lt_prog_compiler_can_build_shared
=no
10554 # Check to make sure the static flag actually works.
10556 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10558 printf %s
"checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10559 if test ${lt_cv_prog_compiler_static_works+y}
10561 printf %s
"(cached) " >&6
10563 lt_cv_prog_compiler_static_works
=no
10564 save_LDFLAGS
=$LDFLAGS
10565 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10566 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10567 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10568 # The linker can only warn and ignore the option if not recognized
10569 # So say no if there are warnings
10570 if test -s conftest.err
; then
10571 # Append any errors to the config.log.
10572 cat conftest.err
1>&5
10573 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10575 if diff conftest.exp conftest.er2
>/dev
/null
; then
10576 lt_cv_prog_compiler_static_works
=yes
10579 lt_cv_prog_compiler_static_works
=yes
10583 LDFLAGS
=$save_LDFLAGS
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10587 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10589 if test yes = "$lt_cv_prog_compiler_static_works"; then
10592 lt_prog_compiler_static
=
10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10602 printf %s
"checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10603 if test ${lt_cv_prog_compiler_c_o+y}
10605 printf %s
"(cached) " >&6
10607 lt_cv_prog_compiler_c_o
=no
10608 $RM -r conftest
2>/dev
/null
10612 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10614 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10615 # Insert the option either (1) after the last *FLAGS variable, or
10616 # (2) before a word containing "conftest.", or (3) at the end.
10617 # Note that $ac_compile itself does not contain backslashes and begins
10618 # with a dollar sign (not a hyphen), so the echo should work correctly.
10619 lt_compile
=`echo "$ac_compile" | $SED \
10620 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10621 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10622 -e 's:$: $lt_compiler_flag:'`
10623 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10624 (eval "$lt_compile" 2>out
/conftest.err
)
10626 cat out
/conftest.err
>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10630 # The compiler can only warn and ignore the option if not recognized
10631 # So say no if there are warnings
10632 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10633 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10634 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10635 lt_cv_prog_compiler_c_o
=yes
10640 # SGI C++ compiler will create directory out/ii_files/ for
10641 # template instantiation
10642 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10643 $RM out
/* && rmdir out
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10650 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10658 printf %s
"checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10659 if test ${lt_cv_prog_compiler_c_o+y}
10661 printf %s
"(cached) " >&6
10663 lt_cv_prog_compiler_c_o
=no
10664 $RM -r conftest
2>/dev
/null
10668 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10670 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10671 # Insert the option either (1) after the last *FLAGS variable, or
10672 # (2) before a word containing "conftest.", or (3) at the end.
10673 # Note that $ac_compile itself does not contain backslashes and begins
10674 # with a dollar sign (not a hyphen), so the echo should work correctly.
10675 lt_compile
=`echo "$ac_compile" | $SED \
10676 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10678 -e 's:$: $lt_compiler_flag:'`
10679 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10680 (eval "$lt_compile" 2>out
/conftest.err
)
10682 cat out
/conftest.err
>&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10686 # The compiler can only warn and ignore the option if not recognized
10687 # So say no if there are warnings
10688 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10689 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10690 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10691 lt_cv_prog_compiler_c_o
=yes
10696 # SGI C++ compiler will create directory out/ii_files/ for
10697 # template instantiation
10698 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10699 $RM out
/* && rmdir out
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10706 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10711 hard_links
=nottested
10712 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10713 # do not overwrite the value of need_locks provided by the user
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10715 printf %s
"checking if we can lock with hard links... " >&6; }
10718 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10720 ln conftest.a conftest.b
2>&5 || hard_links
=no
10721 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10723 printf "%s\n" "$hard_links" >&6; }
10724 if test no
= "$hard_links"; then
10725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10726 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10739 printf %s
"checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10742 allow_undefined_flag
=
10743 always_export_symbols
=no
10745 archive_expsym_cmds
=
10746 compiler_needs_object
=no
10747 enable_shared_with_static_runtimes
=no
10748 export_dynamic_flag_spec
=
10749 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10750 hardcode_automatic
=no
10752 hardcode_direct_absolute
=no
10753 hardcode_libdir_flag_spec
=
10754 hardcode_libdir_separator
=
10755 hardcode_minus_L
=no
10756 hardcode_shlibpath_var
=unsupported
10758 link_all_deplibs
=unknown
10760 module_expsym_cmds
=
10761 old_archive_from_new_cmds
=
10762 old_archive_from_expsyms_cmds
=
10763 thread_safe_flag_spec
=
10764 whole_archive_flag_spec
=
10765 # include_expsyms should be a list of space-separated symbols to be *always*
10766 # included in the symbol list
10768 # exclude_expsyms can be an extended regexp of symbols to exclude
10769 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10770 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10771 # as well as any symbol that contains 'd'.
10772 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10773 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10774 # platforms (ab)use it in PIC code, but their linkers get confused if
10775 # the symbol is explicitly referenced. Since portable code cannot
10776 # rely on this symbol name, it's probably fine to never include it in
10777 # preloaded symbol tables.
10778 # Exclude shared library initialization/finalization symbols.
10779 extract_expsyms_cmds
=
10782 cygwin
* | mingw
* | pw32
* | cegcc
*)
10783 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10784 # When not using gcc, we currently assume that we are using
10785 # Microsoft Visual C++.
10786 if test yes != "$GCC"; then
10791 # we just hope/assume this is gcc and not c89 (= MSVC++)
10794 openbsd
* | bitrig
*)
10797 linux
* | k
*bsd
*-gnu | gnu
*)
10798 link_all_deplibs
=no
10804 # On some targets, GNU ld is compatible enough with the native linker
10805 # that we're better off using the native interface for both.
10806 lt_use_gnu_ld_interface
=no
10807 if test yes = "$with_gnu_ld"; then
10810 # The AIX port of GNU ld has always aspired to compatibility
10811 # with the native linker. However, as the warning in the GNU ld
10812 # block says, versions before 2.19.5* couldn't really create working
10813 # shared libraries, regardless of the interface used.
10814 case `$LD -v 2>&1` in
10815 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10816 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10817 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10819 lt_use_gnu_ld_interface
=yes
10824 lt_use_gnu_ld_interface
=yes
10829 if test yes = "$lt_use_gnu_ld_interface"; then
10830 # If archive_cmds runs LD, not CC, wlarc should be empty
10833 # Set some defaults for GNU ld with shared library support. These
10834 # are reset later if shared libraries are not supported. Putting them
10835 # here allows them to be overridden if necessary.
10836 runpath_var
=LD_RUN_PATH
10837 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10838 export_dynamic_flag_spec
='$wl--export-dynamic'
10839 # ancient GNU ld didn't support --whole-archive et. al.
10840 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10841 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10843 whole_archive_flag_spec
=
10845 supports_anon_versioning
=no
10846 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10847 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10848 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10849 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10850 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10851 *\
2.11.
*) ;; # other 2.11 versions
10852 *) supports_anon_versioning
=yes ;;
10855 # See if GNU ld supports shared libraries.
10858 # On AIX/PPC, the GNU linker is very broken
10859 if test ia64
!= "$host_cpu"; then
10863 *** Warning: the GNU linker, at least up to release 2.19, is reported
10864 *** to be unable to reliably create shared libraries on AIX.
10865 *** Therefore, libtool is disabling shared libraries support. If you
10866 *** really care for shared libraries, you may want to install binutils
10867 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10868 *** You will then need to restart the configuration process.
10877 # see comment about AmigaOS4 .so support
10878 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10879 archive_expsym_cmds
=''
10882 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)'
10883 hardcode_libdir_flag_spec
='-L$libdir'
10884 hardcode_minus_L
=yes
10890 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10891 allow_undefined_flag
=unsupported
10892 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10893 # support --undefined. This deserves some investigation. FIXME
10894 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10900 cygwin
* | mingw
* | pw32
* | cegcc
*)
10901 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10902 # as there is no search path for DLLs.
10903 hardcode_libdir_flag_spec
='-L$libdir'
10904 export_dynamic_flag_spec
='$wl--export-all-symbols'
10905 allow_undefined_flag
=unsupported
10906 always_export_symbols
=no
10907 enable_shared_with_static_runtimes
=yes
10908 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'
10909 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10911 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10912 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10913 # If the export-symbols file already is a .def file, use it as
10914 # is; otherwise, prepend EXPORTS...
10915 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10916 cp $export_symbols $output_objdir/$soname.def;
10918 echo EXPORTS > $output_objdir/$soname.def;
10919 cat $export_symbols >> $output_objdir/$soname.def;
10921 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10929 link_all_deplibs
=yes
10933 hardcode_libdir_flag_spec
='-L$libdir'
10934 hardcode_minus_L
=yes
10935 allow_undefined_flag
=unsupported
10937 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10938 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10939 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10940 $ECHO EXPORTS >> $output_objdir/$libname.def~
10941 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10942 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10943 emximp -o $lib $output_objdir/$libname.def'
10944 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10945 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10946 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10947 $ECHO EXPORTS >> $output_objdir/$libname.def~
10948 prefix_cmds="$SED"~
10949 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10950 prefix_cmds="$prefix_cmds -e 1d";
10952 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10953 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10954 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10955 emximp -o $lib $output_objdir/$libname.def'
10956 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10957 enable_shared_with_static_runtimes
=yes
10962 hardcode_shlibpath_var
=no
10963 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10964 export_dynamic_flag_spec
='$wl-E'
10965 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10966 # Instead, shared libraries are loaded at an image base (0x10000000 by
10967 # default) and relocated if they conflict, which is a slow very memory
10968 # consuming and fragmenting process. To avoid this, we pick a random,
10969 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10970 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10971 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10972 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'
10975 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10977 if test linux
-dietlibc = "$host_os"; then
10978 case $cc_basename in
10979 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10982 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10983 && test no
= "$tmp_diet"
10985 tmp_addflag
=' $pic_flag'
10986 tmp_sharedflag
='-shared'
10987 case $cc_basename,$host_cpu in
10988 pgcc
*) # Portland Group C compiler
10989 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'
10990 tmp_addflag
=' $pic_flag'
10992 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10993 # Portland Group f77 and f90 compilers
10994 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'
10995 tmp_addflag
=' $pic_flag -Mnomain' ;;
10996 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10997 tmp_addflag
=' -i_dynamic' ;;
10998 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10999 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11000 ifc
* | ifort
*) # Intel Fortran compiler
11001 tmp_addflag
=' -nofor_main' ;;
11002 lf95
*) # Lahey Fortran 8.1
11003 whole_archive_flag_spec
=
11004 tmp_sharedflag
='--shared' ;;
11005 nagfor
*) # NAGFOR 5.3
11006 tmp_sharedflag
='-Wl,-shared' ;;
11007 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11008 tmp_sharedflag
='-qmkshrobj'
11010 nvcc
*) # Cuda Compiler Driver 2.2
11011 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'
11012 compiler_needs_object
=yes
11015 case `$CC -V 2>&1 | sed 5q` in
11016 *Sun\ C
*) # Sun C 5.9
11017 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'
11018 compiler_needs_object
=yes
11019 tmp_sharedflag
='-G' ;;
11020 *Sun\ F
*) # Sun Fortran 8.3
11021 tmp_sharedflag
='-G' ;;
11023 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11025 if test yes = "$supports_anon_versioning"; then
11026 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11028 echo "local: *; };" >> $output_objdir/$libname.ver~
11029 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11032 case $cc_basename in
11034 export_dynamic_flag_spec
='-rdynamic'
11036 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11037 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11038 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11039 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11040 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11041 if test yes = "$supports_anon_versioning"; then
11042 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11043 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11044 echo "local: *; };" >> $output_objdir/$libname.ver~
11045 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11054 netbsd
* | netbsdelf
*-gnu)
11055 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11056 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11059 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11060 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11065 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
11069 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11070 *** create shared libraries on Solaris systems. Therefore, libtool
11071 *** is disabling shared libraries support. We urge you to upgrade GNU
11072 *** binutils to release 2.9.1 or newer. Another option is to modify
11073 *** your PATH or compiler configuration so that the native linker is
11074 *** used, and then restart.
11077 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11078 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11079 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11085 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11086 case `$LD -v 2>&1` in
11087 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
11091 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11092 *** reliably create shared libraries on SCO systems. Therefore, libtool
11093 *** is disabling shared libraries support. We urge you to upgrade GNU
11094 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11095 *** your PATH or compiler configuration so that the native linker is
11096 *** used, and then restart.
11101 # For security reasons, it is highly recommended that you always
11102 # use absolute paths for naming shared libraries, and exclude the
11103 # DT_RUNPATH tag from executables and libraries. But doing so
11104 # requires that you compile everything twice, which is a pain.
11105 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11106 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11107 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11108 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11117 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11119 hardcode_direct
=yes
11120 hardcode_shlibpath_var
=no
11124 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11125 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11126 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11133 if test no
= "$ld_shlibs"; then
11135 hardcode_libdir_flag_spec
=
11136 export_dynamic_flag_spec
=
11137 whole_archive_flag_spec
=
11140 # PORTME fill in a description of your system's linker (not GNU ld)
11143 allow_undefined_flag
=unsupported
11144 always_export_symbols
=yes
11145 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'
11146 # Note: this linker hardcodes the directories in LIBPATH if there
11147 # are no directories specified by -L.
11148 hardcode_minus_L
=yes
11149 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11150 # Neither direct hardcoding nor static linking is supported with a
11152 hardcode_direct
=unsupported
11157 if test ia64
= "$host_cpu"; then
11158 # On IA64, the linker does run time linking by default, so we don't
11159 # have to do anything special.
11160 aix_use_runtimelinking
=no
11161 exp_sym_flag
='-Bexport'
11164 # If we're using GNU nm, then we don't want the "-C" option.
11165 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11166 # Without the "-l" option, or with the "-B" option, AIX nm treats
11167 # weak defined symbols like other global defined symbols, whereas
11168 # GNU nm marks them as "W".
11169 # While the 'weak' keyword is ignored in the Export File, we need
11170 # it in the Import File for the 'aix-soname' feature, so we have
11171 # to replace the "-B" option with "-P" for AIX nm.
11172 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
11173 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11175 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11177 aix_use_runtimelinking
=no
11179 # Test if we are trying to use run time linking or normal
11180 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11181 # have runtime linking enabled, and use it for executables.
11182 # For shared libraries, we enable/disable runtime linking
11183 # depending on the kind of the shared library created -
11184 # when "with_aix_soname,aix_use_runtimelinking" is:
11185 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11186 # "aix,yes" lib.so shared, rtl:yes, for executables
11187 # lib.a static archive
11188 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11189 # lib.a(lib.so.V) shared, rtl:no, for executables
11190 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11191 # lib.a(lib.so.V) shared, rtl:no
11192 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11193 # lib.a static archive
11194 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11195 for ld_flag
in $LDFLAGS; do
11196 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
11197 aix_use_runtimelinking
=yes
11201 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11202 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11203 # so we don't have lib.a shared libs to link our executables.
11204 # We have to force runtime linking in this case.
11205 aix_use_runtimelinking
=yes
11206 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11211 exp_sym_flag
='-bexport'
11212 no_entry_flag
='-bnoentry'
11215 # When large executables or shared objects are built, AIX ld can
11216 # have problems creating the table of contents. If linking a library
11217 # or program results in "error TOC overflow" add -mminimal-toc to
11218 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11219 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11222 hardcode_direct
=yes
11223 hardcode_direct_absolute
=yes
11224 hardcode_libdir_separator
=':'
11225 link_all_deplibs
=yes
11226 file_list_spec
='$wl-f,'
11227 case $with_aix_soname,$aix_use_runtimelinking in
11228 aix
,*) ;; # traditional, no import file
11229 svr4
,* | *,yes) # use import file
11230 # The Import File defines what to hardcode.
11232 hardcode_direct_absolute
=no
11236 if test yes = "$GCC"; then
11237 case $host_os in aix4.
[012]|aix4.
[012].
*)
11238 # We only want to do this on AIX 4.2 and lower, the check
11239 # below for broken collect2 doesn't work under 4.3+
11240 collect2name
=`$CC -print-prog-name=collect2`
11241 if test -f "$collect2name" &&
11242 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11244 # We have reworked collect2
11247 # We have old collect2
11248 hardcode_direct
=unsupported
11249 # It fails to find uninstalled libraries when the uninstalled
11250 # path is not listed in the libpath. Setting hardcode_minus_L
11251 # to unsupported forces relinking
11252 hardcode_minus_L
=yes
11253 hardcode_libdir_flag_spec
='-L$libdir'
11254 hardcode_libdir_separator
=
11258 shared_flag
='-shared'
11259 if test yes = "$aix_use_runtimelinking"; then
11260 shared_flag
="$shared_flag "'$wl-G'
11262 # Need to ensure runtime linking is disabled for the traditional
11263 # shared library, or the linker may eventually find shared libraries
11264 # /with/ Import File - we do not want to mix them.
11265 shared_flag_aix
='-shared'
11266 shared_flag_svr4
='-shared $wl-G'
11269 if test ia64
= "$host_cpu"; then
11270 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11271 # chokes on -Wl,-G. The following line is correct:
11274 if test yes = "$aix_use_runtimelinking"; then
11275 shared_flag
='$wl-G'
11277 shared_flag
='$wl-bM:SRE'
11279 shared_flag_aix
='$wl-bM:SRE'
11280 shared_flag_svr4
='$wl-G'
11284 export_dynamic_flag_spec
='$wl-bexpall'
11285 # It seems that -bexpall does not export symbols beginning with
11286 # underscore (_), so it is better to generate a list of symbols to export.
11287 always_export_symbols
=yes
11288 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11289 # Warning - without using the other runtime loading flags (-brtl),
11290 # -berok will link without error, but may produce a broken library.
11291 allow_undefined_flag
='-berok'
11292 # Determine the default libpath from the value encoded in an
11293 # empty executable.
11294 if test set = "${lt_cv_aix_libpath+set}"; then
11295 aix_libpath
=$lt_cv_aix_libpath
11297 if test ${lt_cv_aix_libpath_+y}
11299 printf %s
"(cached) " >&6
11301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11312 if ac_fn_c_try_link
"$LINENO"
11315 lt_aix_libpath_sed
='
11316 /Import File Strings/,/^$/ {
11318 s/^0 *\([^ ]*\) *$/\1/
11322 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11323 # Check for a 64-bit object if we didn't find anything.
11324 if test -z "$lt_cv_aix_libpath_"; then
11325 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11328 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
11329 conftest
$ac_exeext conftest.
$ac_ext
11330 if test -z "$lt_cv_aix_libpath_"; then
11331 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11336 aix_libpath
=$lt_cv_aix_libpath_
11339 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11340 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
11342 if test ia64
= "$host_cpu"; then
11343 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11344 allow_undefined_flag
="-z nodefs"
11345 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"
11347 # Determine the default libpath from the value encoded in an
11348 # empty executable.
11349 if test set = "${lt_cv_aix_libpath+set}"; then
11350 aix_libpath
=$lt_cv_aix_libpath
11352 if test ${lt_cv_aix_libpath_+y}
11354 printf %s
"(cached) " >&6
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11367 if ac_fn_c_try_link
"$LINENO"
11370 lt_aix_libpath_sed
='
11371 /Import File Strings/,/^$/ {
11373 s/^0 *\([^ ]*\) *$/\1/
11377 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11378 # Check for a 64-bit object if we didn't find anything.
11379 if test -z "$lt_cv_aix_libpath_"; then
11380 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11383 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
11384 conftest
$ac_exeext conftest.
$ac_ext
11385 if test -z "$lt_cv_aix_libpath_"; then
11386 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11391 aix_libpath
=$lt_cv_aix_libpath_
11394 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11395 # Warning - without using the other run time loading flags,
11396 # -berok will link without error, but may produce a broken library.
11397 no_undefined_flag
=' $wl-bernotok'
11398 allow_undefined_flag
=' $wl-berok'
11399 if test yes = "$with_gnu_ld"; then
11400 # We only use this code for GNU lds that support --whole-archive.
11401 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11403 # Exported symbols can be pulled into shared objects from archives
11404 whole_archive_flag_spec
='$convenience'
11406 archive_cmds_need_lc
=yes
11407 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11408 # -brtl affects multiple linker settings, -berok does not and is overridden later
11409 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11410 if test svr4
!= "$with_aix_soname"; then
11411 # This is similar to how AIX traditionally builds its shared libraries.
11412 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11414 if test aix
!= "$with_aix_soname"; then
11415 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11417 # used by -dlpreopen to get the symbols
11418 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11420 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11428 # see comment about AmigaOS4 .so support
11429 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11430 archive_expsym_cmds
=''
11433 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)'
11434 hardcode_libdir_flag_spec
='-L$libdir'
11435 hardcode_minus_L
=yes
11441 export_dynamic_flag_spec
=-rdynamic
11444 cygwin
* | mingw
* | pw32
* | cegcc
*)
11445 # When not using gcc, we currently assume that we are using
11446 # Microsoft Visual C++.
11447 # hardcode_libdir_flag_spec is actually meaningless, as there is
11448 # no search path for DLLs.
11449 case $cc_basename in
11452 hardcode_libdir_flag_spec
=' '
11453 allow_undefined_flag
=unsupported
11454 always_export_symbols
=yes
11456 # Tell ltmain to make .lib files, not .a files.
11458 # Tell ltmain to make .dll files, not .so files.
11460 # FIXME: Setting linknames here is a bad hack.
11461 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11462 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11463 cp "$export_symbols" "$output_objdir/$soname.def";
11464 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11466 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11468 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11470 # The linker will not automatically build a static lib if we build a DLL.
11471 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11472 enable_shared_with_static_runtimes
=yes
11473 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11474 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11476 old_postinstall_cmds
='chmod 644 $oldlib'
11477 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11478 lt_tool_outputfile="@TOOL_OUTPUT@"~
11479 case $lt_outputfile in
11482 lt_outputfile=$lt_outputfile.exe
11483 lt_tool_outputfile=$lt_tool_outputfile.exe
11486 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11487 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11488 $RM "$lt_outputfile.manifest";
11492 # Assume MSVC wrapper
11493 hardcode_libdir_flag_spec
=' '
11494 allow_undefined_flag
=unsupported
11495 # Tell ltmain to make .lib files, not .a files.
11497 # Tell ltmain to make .dll files, not .so files.
11499 # FIXME: Setting linknames here is a bad hack.
11500 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11501 # The linker will automatically build a .lib file if we build a DLL.
11502 old_archive_from_new_cmds
='true'
11503 # FIXME: Should let the user specify the lib program.
11504 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11505 enable_shared_with_static_runtimes
=yes
11510 darwin
* | rhapsody
*)
11513 archive_cmds_need_lc
=no
11515 hardcode_automatic
=yes
11516 hardcode_shlibpath_var
=unsupported
11517 if test yes = "$lt_cv_ld_force_load"; then
11518 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\"`'
11521 whole_archive_flag_spec
=''
11523 link_all_deplibs
=yes
11524 allow_undefined_flag
=$_lt_dar_allow_undefined
11525 case $cc_basename in
11526 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11527 *) _lt_dar_can_shared
=$GCC ;;
11529 if test yes = "$_lt_dar_can_shared"; then
11530 output_verbose_link_cmd
=func_echo_all
11531 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11532 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11533 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"
11534 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"
11543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11544 hardcode_libdir_flag_spec
='-L$libdir'
11545 hardcode_shlibpath_var
=no
11548 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11549 # support. Future versions do this automatically, but an explicit c++rt0.o
11550 # does not break anything, and helps significantly (at the cost of a little
11553 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11554 hardcode_libdir_flag_spec
='-R$libdir'
11555 hardcode_direct
=yes
11556 hardcode_shlibpath_var
=no
11559 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11561 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11562 hardcode_direct
=yes
11563 hardcode_minus_L
=yes
11564 hardcode_shlibpath_var
=no
11567 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11568 freebsd
* | dragonfly
*)
11569 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11570 hardcode_libdir_flag_spec
='-R$libdir'
11571 hardcode_direct
=yes
11572 hardcode_shlibpath_var
=no
11576 if test yes = "$GCC"; then
11577 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11579 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11581 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11582 hardcode_libdir_separator
=:
11583 hardcode_direct
=yes
11585 # hardcode_minus_L: Not really in the search PATH,
11586 # but as the default location of the library.
11587 hardcode_minus_L
=yes
11588 export_dynamic_flag_spec
='$wl-E'
11592 if test yes,no
= "$GCC,$with_gnu_ld"; then
11593 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11595 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11597 if test no
= "$with_gnu_ld"; then
11598 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11599 hardcode_libdir_separator
=:
11600 hardcode_direct
=yes
11601 hardcode_direct_absolute
=yes
11602 export_dynamic_flag_spec
='$wl-E'
11603 # hardcode_minus_L: Not really in the search PATH,
11604 # but as the default location of the library.
11605 hardcode_minus_L
=yes
11610 if test yes,no
= "$GCC,$with_gnu_ld"; then
11613 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11616 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11619 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11625 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11628 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11632 # Older versions of the 11.00 compiler do not understand -b yet
11633 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11635 printf %s
"checking if $CC understands -b... " >&6; }
11636 if test ${lt_cv_prog_compiler__b+y}
11638 printf %s
"(cached) " >&6
11640 lt_cv_prog_compiler__b
=no
11641 save_LDFLAGS
=$LDFLAGS
11642 LDFLAGS
="$LDFLAGS -b"
11643 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11644 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11645 # The linker can only warn and ignore the option if not recognized
11646 # So say no if there are warnings
11647 if test -s conftest.err
; then
11648 # Append any errors to the config.log.
11649 cat conftest.err
1>&5
11650 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11651 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11652 if diff conftest.exp conftest.er2
>/dev
/null
; then
11653 lt_cv_prog_compiler__b
=yes
11656 lt_cv_prog_compiler__b
=yes
11660 LDFLAGS
=$save_LDFLAGS
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11664 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
11666 if test yes = "$lt_cv_prog_compiler__b"; then
11667 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11669 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11675 if test no
= "$with_gnu_ld"; then
11676 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11677 hardcode_libdir_separator
=:
11682 hardcode_shlibpath_var
=no
11685 hardcode_direct
=yes
11686 hardcode_direct_absolute
=yes
11687 export_dynamic_flag_spec
='$wl-E'
11689 # hardcode_minus_L: Not really in the search PATH,
11690 # but as the default location of the library.
11691 hardcode_minus_L
=yes
11697 irix5
* | irix6
* | nonstopux
*)
11698 if test yes = "$GCC"; then
11699 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'
11700 # Try to use the -exported_symbol ld option, if it does not
11701 # work, assume that -exports_file does not work either and
11702 # implicitly export all symbols.
11703 # This should be the same for all languages, so no per-tag cache variable.
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11705 printf %s
"checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11706 if test ${lt_cv_irix_exported_symbol+y}
11708 printf %s
"(cached) " >&6
11710 save_LDFLAGS
=$LDFLAGS
11711 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 int foo (void) { return 0; }
11716 if ac_fn_c_try_link
"$LINENO"
11718 lt_cv_irix_exported_symbol
=yes
11720 lt_cv_irix_exported_symbol
=no
11722 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
11723 conftest
$ac_exeext conftest.
$ac_ext
11724 LDFLAGS
=$save_LDFLAGS
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11727 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
11728 if test yes = "$lt_cv_irix_exported_symbol"; then
11729 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'
11731 link_all_deplibs
=no
11733 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'
11734 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'
11736 archive_cmds_need_lc
='no'
11737 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11738 hardcode_libdir_separator
=:
11740 link_all_deplibs
=yes
11744 case $cc_basename in
11746 # Fabrice Bellard et al's Tiny C Compiler
11748 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11753 netbsd
* | netbsdelf
*-gnu)
11754 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11755 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11757 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11759 hardcode_libdir_flag_spec
='-R$libdir'
11760 hardcode_direct
=yes
11761 hardcode_shlibpath_var
=no
11765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11766 hardcode_direct
=yes
11767 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11768 hardcode_libdir_separator
=:
11769 hardcode_shlibpath_var
=no
11775 openbsd
* | bitrig
*)
11776 if test -f /usr
/libexec
/ld.so
; then
11777 hardcode_direct
=yes
11778 hardcode_shlibpath_var
=no
11779 hardcode_direct_absolute
=yes
11780 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11781 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11782 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11783 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11784 export_dynamic_flag_spec
='$wl-E'
11786 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11787 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11795 hardcode_libdir_flag_spec
='-L$libdir'
11796 hardcode_minus_L
=yes
11797 allow_undefined_flag
=unsupported
11799 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11800 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11801 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11802 $ECHO EXPORTS >> $output_objdir/$libname.def~
11803 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11804 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11805 emximp -o $lib $output_objdir/$libname.def'
11806 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11807 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11808 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11809 $ECHO EXPORTS >> $output_objdir/$libname.def~
11810 prefix_cmds="$SED"~
11811 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11812 prefix_cmds="$prefix_cmds -e 1d";
11814 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11815 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11816 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11817 emximp -o $lib $output_objdir/$libname.def'
11818 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11819 enable_shared_with_static_runtimes
=yes
11823 if test yes = "$GCC"; then
11824 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11825 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'
11827 allow_undefined_flag
=' -expect_unresolved \*'
11828 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'
11830 archive_cmds_need_lc
='no'
11831 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11832 hardcode_libdir_separator
=:
11835 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11836 if test yes = "$GCC"; then
11837 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11838 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'
11839 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11841 allow_undefined_flag
=' -expect_unresolved \*'
11842 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'
11843 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~
11844 $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'
11846 # Both c and cxx compiler support -rpath directly
11847 hardcode_libdir_flag_spec
='-rpath $libdir'
11849 archive_cmds_need_lc
='no'
11850 hardcode_libdir_separator
=:
11854 no_undefined_flag
=' -z defs'
11855 if test yes = "$GCC"; then
11857 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11858 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11859 $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'
11861 case `$CC -V 2>&1` in
11864 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11865 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11866 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11870 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11871 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11872 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11876 hardcode_libdir_flag_spec
='-R$libdir'
11877 hardcode_shlibpath_var
=no
11879 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11881 # The compiler driver will combine and reorder linker options,
11882 # but understands '-z linker_flag'. GCC discards it without '$wl',
11883 # but is careful enough not to reorder.
11884 # Supported since Solaris 2.6 (maybe 2.5.1?)
11885 if test yes = "$GCC"; then
11886 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11888 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11892 link_all_deplibs
=yes
11896 if test sequent
= "$host_vendor"; then
11897 # Use $CC to link under sequent, because it throws in some extra .o
11898 # files that make .init and .fini sections work.
11899 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11901 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11903 hardcode_libdir_flag_spec
='-L$libdir'
11904 hardcode_direct
=yes
11905 hardcode_minus_L
=yes
11906 hardcode_shlibpath_var
=no
11910 case $host_vendor in
11912 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11913 hardcode_direct
=yes # is this really true???
11916 ## LD is ld it makes a PLAMLIB
11917 ## CC just makes a GrossModule.
11918 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11919 reload_cmds
='$CC -r -o $output$reload_objs'
11923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11924 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11927 runpath_var
='LD_RUN_PATH'
11928 hardcode_shlibpath_var
=no
11932 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11933 hardcode_shlibpath_var
=no
11934 export_dynamic_flag_spec
='-Bexport'
11938 if test -d /usr
/nec
; then
11939 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11940 hardcode_shlibpath_var
=no
11941 runpath_var
=LD_RUN_PATH
11942 hardcode_runpath_var
=yes
11947 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11948 no_undefined_flag
='$wl-z,text'
11949 archive_cmds_need_lc
=no
11950 hardcode_shlibpath_var
=no
11951 runpath_var
='LD_RUN_PATH'
11953 if test yes = "$GCC"; then
11954 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11955 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11957 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11958 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11962 sysv5
* | sco3.2v5
* | sco5v6
*)
11963 # Note: We CANNOT use -z defs as we might desire, because we do not
11964 # link with -lc, and that would cause any symbols used from libc to
11965 # always be unresolved, which means just about no library would
11966 # ever link correctly. If we're not using GNU ld we use -z text
11967 # though, which does catch some bad symbols but isn't as heavy-handed
11969 no_undefined_flag
='$wl-z,text'
11970 allow_undefined_flag
='$wl-z,nodefs'
11971 archive_cmds_need_lc
=no
11972 hardcode_shlibpath_var
=no
11973 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11974 hardcode_libdir_separator
=':'
11975 link_all_deplibs
=yes
11976 export_dynamic_flag_spec
='$wl-Bexport'
11977 runpath_var
='LD_RUN_PATH'
11979 if test yes = "$GCC"; then
11980 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11981 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11983 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11984 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11989 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11990 hardcode_libdir_flag_spec
='-L$libdir'
11991 hardcode_shlibpath_var
=no
11999 if test sni
= "$host_vendor"; then
12001 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12002 export_dynamic_flag_spec
='$wl-Blargedynsym'
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12009 printf "%s\n" "$ld_shlibs" >&6; }
12010 test no
= "$ld_shlibs" && can_build_shared
=no
12012 with_gnu_ld
=$with_gnu_ld
12029 # Do we need to explicitly link libc?
12031 case "x$archive_cmds_need_lc" in
12033 # Assume -lc should be added
12034 archive_cmds_need_lc
=yes
12036 if test yes,yes = "$GCC,$enable_shared"; then
12037 case $archive_cmds in
12039 # FIXME: we may have to deal with multi-command sequences.
12042 # Test whether the compiler implicitly links with -lc since on some
12043 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12044 # to ld, don't add -lc before -lgcc.
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12046 printf %s
"checking whether -lc should be explicitly linked in... " >&6; }
12047 if test ${lt_cv_archive_cmds_need_lc+y}
12049 printf %s
"(cached) " >&6
12052 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12055 (eval $ac_compile) 2>&5
12057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12058 test $ac_status = 0; } 2>conftest.err
; then
12061 libobjs
=conftest.
$ac_objext
12063 wl
=$lt_prog_compiler_wl
12064 pic_flag
=$lt_prog_compiler_pic
12070 lt_save_allow_undefined_flag
=$allow_undefined_flag
12071 allow_undefined_flag
=
12072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12073 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12076 test $ac_status = 0; }
12078 lt_cv_archive_cmds_need_lc
=no
12080 lt_cv_archive_cmds_need_lc
=yes
12082 allow_undefined_flag
=$lt_save_allow_undefined_flag
12084 cat conftest.err
1>&5
12089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12090 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
12091 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12250 printf %s
"checking dynamic linker characteristics... " >&6; }
12252 if test yes = "$GCC"; then
12254 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12255 *) lt_awk_arg
='/^libraries:/' ;;
12258 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12259 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12261 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12262 case $lt_search_path_spec in
12264 # if the path contains ";" then we assume it to be the separator
12265 # otherwise default to the standard path separator (i.e. ":") - it is
12266 # assumed that no part of a normal pathname contains ";" but that should
12267 # okay in the real world where ";" in dirpaths is itself problematic.
12268 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12271 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12274 # Ok, now we have the path, separated by spaces, we can step through it
12275 # and add multilib dir if necessary...
12276 lt_tmp_lt_search_path_spec
=
12277 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12278 # ...but if some path component already ends with the multilib dir we assume
12279 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12280 case "$lt_multi_os_dir; $lt_search_path_spec " in
12281 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12285 for lt_sys_path
in $lt_search_path_spec; do
12286 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12287 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12288 elif test -n "$lt_multi_os_dir"; then
12289 test -d "$lt_sys_path" && \
12290 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12293 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12294 BEGIN {RS = " "; FS = "/|\n";} {
12297 for (lt_i = NF; lt_i > 0; lt_i--) {
12298 if ($lt_i != "" && $lt_i != ".") {
12299 if ($lt_i == "..") {
12302 if (lt_count == 0) {
12303 lt_foo = "/" $lt_i lt_foo;
12310 if (lt_foo != "") { lt_freq[lt_foo]++; }
12311 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12313 # AWK program above erroneously prepends '/' to C:/dos/paths
12316 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12317 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12319 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12321 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12323 library_names_spec
=
12324 libname_spec
='lib$name'
12328 postuninstall_cmds
=
12332 shlibpath_overrides_runpath
=unknown
12334 dynamic_linker
="$host_os ld.so"
12335 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12336 need_lib_prefix
=unknown
12337 hardcode_into_libs
=no
12339 # when you set need_version to no, make sure it does not cause -set_version
12340 # flags to be left without arguments
12341 need_version
=unknown
12347 version_type
=linux
# correct to gnu/linux during the next big refactor
12348 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12349 shlibpath_var
=LIBPATH
12351 # AIX 3 has no versioning support, so we append a major version to the name.
12352 soname_spec
='$libname$release$shared_ext$major'
12356 version_type
=linux
# correct to gnu/linux during the next big refactor
12359 hardcode_into_libs
=yes
12360 if test ia64
= "$host_cpu"; then
12361 # AIX 5 supports IA64
12362 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12363 shlibpath_var
=LD_LIBRARY_PATH
12365 # With GCC up to 2.95.x, collect2 would create an import file
12366 # for dependence libraries. The import file would start with
12367 # the line '#! .'. This would cause the generated library to
12368 # depend on '.', always an invalid library. This was fixed in
12369 # development snapshots of GCC prior to 3.0.
12371 aix4
| aix4.
[01] | aix4.
[01].
*)
12372 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12374 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
12377 can_build_shared
=no
12381 # Using Import Files as archive members, it is possible to support
12382 # filename-based versioning of shared library archives on AIX. While
12383 # this would work for both with and without runtime linking, it will
12384 # prevent static linking of such archives. So we do filename-based
12385 # shared library versioning with .so extension only, which is used
12386 # when both runtime linking and shared linking is enabled.
12387 # Unfortunately, runtime linking may impact performance, so we do
12388 # not want this to be the default eventually. Also, we use the
12389 # versioned .so libs for executables only if there is the -brtl
12390 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12391 # To allow for filename-based versioning support, we need to create
12392 # libNAME.so.V as an archive file, containing:
12393 # *) an Import File, referring to the versioned filename of the
12394 # archive as well as the shared archive member, telling the
12395 # bitwidth (32 or 64) of that shared object, and providing the
12396 # list of exported symbols of that shared object, eventually
12397 # decorated with the 'weak' keyword
12398 # *) the shared object with the F_LOADONLY flag set, to really avoid
12399 # it being seen by the linker.
12400 # At run time we better use the real file rather than another symlink,
12401 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12403 case $with_aix_soname,$aix_use_runtimelinking in
12404 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12405 # soname into executable. Probably we can add versioning support to
12406 # collect2, so additional links can be useful in future.
12407 aix
,yes) # traditional libtool
12408 dynamic_linker
='AIX unversionable lib.so'
12409 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12410 # instead of lib<name>.a to let people know that these are not
12411 # typical AIX shared libraries.
12412 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12414 aix
,no
) # traditional AIX only
12415 dynamic_linker
='AIX lib.a(lib.so.V)'
12416 # We preserve .a as extension for shared libraries through AIX4.2
12417 # and later when we are not doing run time linking.
12418 library_names_spec
='$libname$release.a $libname.a'
12419 soname_spec
='$libname$release$shared_ext$major'
12421 svr4
,*) # full svr4 only
12422 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12423 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12424 # We do not specify a path in Import Files, so LIBPATH fires.
12425 shlibpath_overrides_runpath
=yes
12427 *,yes) # both, prefer svr4
12428 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12429 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12430 # unpreferred sharedlib libNAME.a needs extra handling
12431 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12432 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12433 # We do not specify a path in Import Files, so LIBPATH fires.
12434 shlibpath_overrides_runpath
=yes
12436 *,no
) # both, prefer aix
12437 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12438 library_names_spec
='$libname$release.a $libname.a'
12439 soname_spec
='$libname$release$shared_ext$major'
12440 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12441 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12442 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12445 shlibpath_var
=LIBPATH
12452 # Since July 2007 AmigaOS4 officially supports .so libraries.
12453 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12454 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12457 library_names_spec
='$libname.ixlibrary $libname.a'
12458 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12459 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
12465 library_names_spec
='$libname$shared_ext'
12466 dynamic_linker
="$host_os ld.so"
12467 shlibpath_var
=LIBRARY_PATH
12471 version_type
=linux
# correct to gnu/linux during the next big refactor
12473 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12474 soname_spec
='$libname$release$shared_ext$major'
12475 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12476 shlibpath_var
=LD_LIBRARY_PATH
12477 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12478 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12479 # the default ld.so.conf also contains /usr/contrib/lib and
12480 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12481 # libtool to hard-code these into programs
12484 cygwin
* | mingw
* | pw32
* | cegcc
*)
12485 version_type
=windows
12490 case $GCC,$cc_basename in
12493 library_names_spec
='$libname.dll.a'
12494 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12495 postinstall_cmds
='base_file=`basename \$file`~
12496 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12497 dldir=$destdir/`dirname \$dlpath`~
12498 test -d \$dldir || mkdir -p \$dldir~
12499 $install_prog $dir/$dlname \$dldir/$dlname~
12500 chmod a+x \$dldir/$dlname~
12501 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12502 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12504 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12505 dlpath=$dir/\$dldll~
12507 shlibpath_overrides_runpath
=yes
12511 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12512 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12514 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12517 # MinGW DLLs use traditional 'lib' prefix
12518 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12521 # pw32 DLLs use 'pw' prefix rather than 'lib'
12522 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12525 dynamic_linker
='Win32 ld.exe'
12530 libname_spec
='$name'
12531 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12532 library_names_spec
='$libname.dll.lib'
12536 sys_lib_search_path_spec
=
12539 for lt_path
in $LIB
12542 # Let DOS variable expansion print the short 8.3 style file name.
12543 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12544 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12547 # Convert to MSYS style.
12548 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12551 # Convert to unix form, then to dos form, then back to unix form
12552 # but this time dos style (no spaces!) so that the unix form looks
12553 # like /cygdrive/c/PROGRA~1:/cygdr...
12554 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12555 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12556 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12559 sys_lib_search_path_spec
=$LIB
12560 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
12561 # It is most probably a Windows format PATH.
12562 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12564 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12566 # FIXME: find the short name or the path components, as spaces are
12567 # common. (e.g. "Program Files" -> "PROGRA~1")
12571 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12572 postinstall_cmds
='base_file=`basename \$file`~
12573 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12574 dldir=$destdir/`dirname \$dlpath`~
12575 test -d \$dldir || mkdir -p \$dldir~
12576 $install_prog $dir/$dlname \$dldir/$dlname'
12577 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12578 dlpath=$dir/\$dldll~
12580 shlibpath_overrides_runpath
=yes
12581 dynamic_linker
='Win32 link.exe'
12585 # Assume MSVC wrapper
12586 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12587 dynamic_linker
='Win32 ld.exe'
12590 # FIXME: first we should search . and the directory the executable is in
12594 darwin
* | rhapsody
*)
12595 dynamic_linker
="$host_os dyld"
12596 version_type
=darwin
12599 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12600 soname_spec
='$libname$release$major$shared_ext'
12601 shlibpath_overrides_runpath
=yes
12602 shlibpath_var
=DYLD_LIBRARY_PATH
12603 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12605 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12606 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12610 version_type
=linux
# correct to gnu/linux during the next big refactor
12613 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12614 soname_spec
='$libname$release$shared_ext$major'
12615 shlibpath_var
=LD_LIBRARY_PATH
12618 freebsd
* | dragonfly
*)
12619 # DragonFly does not have aout. When/if they implement a new
12620 # versioning mechanism, adjust this.
12621 if test -x /usr
/bin
/objformat
; then
12622 objformat
=`/usr/bin/objformat`
12625 freebsd
[23].
*) objformat
=aout
;;
12626 *) objformat
=elf
;;
12629 version_type
=freebsd
-$objformat
12630 case $version_type in
12632 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12633 soname_spec
='$libname$release$shared_ext$major'
12638 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12642 shlibpath_var
=LD_LIBRARY_PATH
12645 shlibpath_overrides_runpath
=yes
12647 freebsd3.
[01]* | freebsdelf3.
[01]*)
12648 shlibpath_overrides_runpath
=yes
12649 hardcode_into_libs
=yes
12651 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12652 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12653 shlibpath_overrides_runpath
=no
12654 hardcode_into_libs
=yes
12656 *) # from 4.6 on, and DragonFly
12657 shlibpath_overrides_runpath
=yes
12658 hardcode_into_libs
=yes
12664 version_type
=linux
# correct to gnu/linux during the next big refactor
12667 dynamic_linker
="$host_os runtime_loader"
12668 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12669 soname_spec
='$libname$release$shared_ext$major'
12670 shlibpath_var
=LIBRARY_PATH
12671 shlibpath_overrides_runpath
=no
12672 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12673 hardcode_into_libs
=yes
12676 hpux9
* | hpux10
* | hpux11
*)
12677 # Give a soname corresponding to the major version so that dld.sl refuses to
12678 # link against other versions.
12685 hardcode_into_libs
=yes
12686 dynamic_linker
="$host_os dld.so"
12687 shlibpath_var
=LD_LIBRARY_PATH
12688 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12689 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12690 soname_spec
='$libname$release$shared_ext$major'
12691 if test 32 = "$HPUX_IA64_MODE"; then
12692 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12693 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12695 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12696 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12701 hardcode_into_libs
=yes
12702 dynamic_linker
="$host_os dld.sl"
12703 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12704 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12705 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12706 soname_spec
='$libname$release$shared_ext$major'
12707 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12708 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12712 dynamic_linker
="$host_os dld.sl"
12713 shlibpath_var
=SHLIB_PATH
12714 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12715 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12716 soname_spec
='$libname$release$shared_ext$major'
12719 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12720 postinstall_cmds
='chmod 555 $lib'
12721 # or fails outright, so override atomically:
12722 install_override_mode
=555
12726 version_type
=linux
# correct to gnu/linux during the next big refactor
12729 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12730 soname_spec
='$libname$release$shared_ext$major'
12731 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12732 shlibpath_var
=LD_LIBRARY_PATH
12733 shlibpath_overrides_runpath
=no
12734 hardcode_into_libs
=yes
12737 irix5
* | irix6
* | nonstopux
*)
12739 nonstopux
*) version_type
=nonstopux
;;
12741 if test yes = "$lt_cv_prog_gnu_ld"; then
12742 version_type
=linux
# correct to gnu/linux during the next big refactor
12749 soname_spec
='$libname$release$shared_ext$major'
12750 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12752 irix5
* | nonstopux
*)
12753 libsuff
= shlibsuff
=
12756 case $LD in # libtool.m4 will add one of these switches to LD
12757 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12758 libsuff
= shlibsuff
= libmagic
=32-bit;;
12759 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12760 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12761 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12762 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12763 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12767 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12768 shlibpath_overrides_runpath
=no
12769 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12770 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12771 hardcode_into_libs
=yes
12774 # No shared lib support for Linux oldld, aout, or coff.
12775 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12780 version_type
=none
# Android doesn't support versioned libraries.
12783 library_names_spec
='$libname$release$shared_ext'
12784 soname_spec
='$libname$release$shared_ext'
12786 shlibpath_var
=LD_LIBRARY_PATH
12787 shlibpath_overrides_runpath
=yes
12789 # This implies no fast_install, which is unacceptable.
12790 # Some rework will be needed to allow for fast_install
12791 # before this can be enabled.
12792 hardcode_into_libs
=yes
12794 dynamic_linker
='Android linker'
12795 # Don't embed -rpath directories since the linker doesn't support them.
12796 hardcode_libdir_flag_spec
='-L$libdir'
12799 # This must be glibc/ELF.
12800 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12801 version_type
=linux
# correct to gnu/linux during the next big refactor
12804 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12805 soname_spec
='$libname$release$shared_ext$major'
12806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12807 shlibpath_var
=LD_LIBRARY_PATH
12808 shlibpath_overrides_runpath
=no
12810 # Some binutils ld are patched to set DT_RUNPATH
12811 if test ${lt_cv_shlibpath_overrides_runpath+y}
12813 printf %s
"(cached) " >&6
12815 lt_cv_shlibpath_overrides_runpath
=no
12816 save_LDFLAGS
=$LDFLAGS
12817 save_libdir
=$libdir
12818 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12819 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12831 if ac_fn_c_try_link
"$LINENO"
12833 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
12835 lt_cv_shlibpath_overrides_runpath
=yes
12838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12839 conftest
$ac_exeext conftest.
$ac_ext
12840 LDFLAGS
=$save_LDFLAGS
12841 libdir
=$save_libdir
12845 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12847 # This implies no fast_install, which is unacceptable.
12848 # Some rework will be needed to allow for fast_install
12849 # before this can be enabled.
12850 hardcode_into_libs
=yes
12852 # Ideally, we could use ldconfig to report *all* directores which are
12853 # searched for libraries, however this is still not possible. Aside from not
12854 # being certain /sbin/ldconfig is available, command
12855 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12856 # even though it is searched at run-time. Try to do the best guess by
12857 # appending ld.so.conf contents (and includes) to the search path.
12858 if test -f /etc
/ld.so.conf
; then
12859 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' ' '`
12860 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12863 # We used to test for /lib/ld.so.1 and disable shared libraries on
12864 # powerpc, because MkLinux only supported shared libraries with the
12865 # GNU dynamic linker. Since this was broken with cross compilers,
12866 # most powerpc-linux boxes support dynamic linking these days and
12867 # people can always --disable-shared, the test was removed, and we
12868 # assume the GNU/Linux dynamic linker is in use.
12869 dynamic_linker
='GNU/Linux ld.so'
12876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12877 soname_spec
='${libname}${release}${shared_ext}$major'
12878 shlibpath_var
=LD_LIBRARY_PATH
12879 shlibpath_overrides_runpath
=no
12880 hardcode_into_libs
=yes
12881 dynamic_linker
='NetBSD ld.elf_so'
12888 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12889 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12890 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12891 dynamic_linker
='NetBSD (a.out) ld.so'
12893 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12894 soname_spec
='$libname$release$shared_ext$major'
12895 dynamic_linker
='NetBSD ld.elf_so'
12897 shlibpath_var
=LD_LIBRARY_PATH
12898 shlibpath_overrides_runpath
=yes
12899 hardcode_into_libs
=yes
12903 version_type
=linux
# correct to gnu/linux during the next big refactor
12904 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12905 shlibpath_var
=LD_LIBRARY_PATH
12906 shlibpath_overrides_runpath
=yes
12913 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12914 soname_spec
='$libname$release$shared_ext$major'
12915 shlibpath_var
=LD_LIBRARY_PATH
12916 shlibpath_overrides_runpath
=no
12917 hardcode_into_libs
=yes
12918 dynamic_linker
='ldqnx.so'
12921 openbsd
* | bitrig
*)
12923 sys_lib_dlsearch_path_spec
=/usr
/lib
12925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12930 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12931 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12932 shlibpath_var
=LD_LIBRARY_PATH
12933 shlibpath_overrides_runpath
=yes
12937 libname_spec
='$name'
12938 version_type
=windows
12942 # OS/2 can only load a DLL with a base name of 8 characters or less.
12943 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12944 v=$($ECHO $release$versuffix | tr -d .-);
12945 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12946 $ECHO $n$v`$shared_ext'
12947 library_names_spec
='${libname}_dll.$libext'
12948 dynamic_linker
='OS/2 ld.exe'
12949 shlibpath_var
=BEGINLIBPATH
12950 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12951 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12952 postinstall_cmds
='base_file=`basename \$file`~
12953 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12954 dldir=$destdir/`dirname \$dlpath`~
12955 test -d \$dldir || mkdir -p \$dldir~
12956 $install_prog $dir/$dlname \$dldir/$dlname~
12957 chmod a+x \$dldir/$dlname~
12958 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12959 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12961 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12962 dlpath=$dir/\$dldll~
12966 osf3
* | osf4
* | osf5
*)
12970 soname_spec
='$libname$release$shared_ext$major'
12971 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12972 shlibpath_var
=LD_LIBRARY_PATH
12973 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12974 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12982 version_type
=linux
# correct to gnu/linux during the next big refactor
12985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12986 soname_spec
='$libname$release$shared_ext$major'
12987 shlibpath_var
=LD_LIBRARY_PATH
12988 shlibpath_overrides_runpath
=yes
12989 hardcode_into_libs
=yes
12990 # ldd complains unless libraries are executable
12991 postinstall_cmds
='chmod +x $lib'
12996 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12997 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12998 shlibpath_var
=LD_LIBRARY_PATH
12999 shlibpath_overrides_runpath
=yes
13000 if test yes = "$with_gnu_ld"; then
13007 version_type
=linux
# correct to gnu/linux during the next big refactor
13008 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13009 soname_spec
='$libname$release$shared_ext$major'
13010 shlibpath_var
=LD_LIBRARY_PATH
13011 case $host_vendor in
13013 shlibpath_overrides_runpath
=no
13015 runpath_var
=LD_RUN_PATH
13023 shlibpath_overrides_runpath
=no
13024 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13030 if test -d /usr
/nec
; then
13031 version_type
=linux
# correct to gnu/linux during the next big refactor
13032 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13033 soname_spec
='$libname$shared_ext.$major'
13034 shlibpath_var
=LD_LIBRARY_PATH
13038 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13042 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13043 soname_spec
='$libname$release$shared_ext$major'
13044 shlibpath_var
=LD_LIBRARY_PATH
13045 shlibpath_overrides_runpath
=yes
13046 hardcode_into_libs
=yes
13047 if test yes = "$with_gnu_ld"; then
13048 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13050 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13053 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13057 sys_lib_dlsearch_path_spec
='/usr/lib'
13061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13062 version_type
=linux
# correct to gnu/linux during the next big refactor
13065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13066 shlibpath_var
=LD_LIBRARY_PATH
13067 shlibpath_overrides_runpath
=no
13068 hardcode_into_libs
=yes
13072 version_type
=linux
# correct to gnu/linux during the next big refactor
13073 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13074 soname_spec
='$libname$release$shared_ext$major'
13075 shlibpath_var
=LD_LIBRARY_PATH
13082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13083 printf "%s\n" "$dynamic_linker" >&6; }
13084 test no
= "$dynamic_linker" && can_build_shared
=no
13086 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13087 if test yes = "$GCC"; then
13088 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13091 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13092 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13095 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13096 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13099 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13100 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13102 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13103 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13105 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13106 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13205 printf %s
"checking how to hardcode library paths into programs... " >&6; }
13207 if test -n "$hardcode_libdir_flag_spec" ||
13208 test -n "$runpath_var" ||
13209 test yes = "$hardcode_automatic"; then
13211 # We can hardcode non-existent directories.
13212 if test no
!= "$hardcode_direct" &&
13213 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13214 # have to relink, otherwise we might link with an installed library
13215 # when we should be linking with a yet-to-be-installed one
13216 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13217 test no
!= "$hardcode_minus_L"; then
13218 # Linking always hardcodes the temporary library directory.
13219 hardcode_action
=relink
13221 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13222 hardcode_action
=immediate
13225 # We cannot hardcode anything, or else we can only hardcode existing
13227 hardcode_action
=unsupported
13229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13230 printf "%s\n" "$hardcode_action" >&6; }
13232 if test relink
= "$hardcode_action" ||
13233 test yes = "$inherit_rpath"; then
13234 # Fast installation is not supported
13235 enable_fast_install
=no
13236 elif test yes = "$shlibpath_overrides_runpath" ||
13237 test no
= "$enable_shared"; then
13238 # Fast installation is not necessary
13239 enable_fast_install
=needless
13247 if test yes != "$enable_dlopen"; then
13248 enable_dlopen
=unknown
13249 enable_dlopen_self
=unknown
13250 enable_dlopen_self_static
=unknown
13257 lt_cv_dlopen
=load_add_on
13259 lt_cv_dlopen_self
=yes
13262 mingw
* | pw32
* | cegcc
*)
13263 lt_cv_dlopen
=LoadLibrary
13268 lt_cv_dlopen
=dlopen
13273 # if libdl is installed we need to link against it
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13275 printf %s
"checking for dlopen in -ldl... " >&6; }
13276 if test ${ac_cv_lib_dl_dlopen+y}
13278 printf %s
"(cached) " >&6
13280 ac_check_lib_save_LIBS
=$LIBS
13282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13297 if ac_fn_c_try_link
"$LINENO"
13299 ac_cv_lib_dl_dlopen
=yes
13301 ac_cv_lib_dl_dlopen
=no
13303 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13304 conftest
$ac_exeext conftest.
$ac_ext
13305 LIBS
=$ac_check_lib_save_LIBS
13307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13308 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13309 if test "x$ac_cv_lib_dl_dlopen" = xyes
13311 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13316 lt_cv_dlopen_self
=yes
13323 # Don't try to run any link tests for TPF. We know it's impossible
13324 # because TPF is a cross-compiler, and we know how we open DSOs.
13325 lt_cv_dlopen
=dlopen
13327 lt_cv_dlopen_self
=no
13331 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13332 if test "x$ac_cv_func_shl_load" = xyes
13334 lt_cv_dlopen
=shl_load
13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13337 printf %s
"checking for shl_load in -ldld... " >&6; }
13338 if test ${ac_cv_lib_dld_shl_load+y}
13340 printf %s
"(cached) " >&6
13342 ac_check_lib_save_LIBS
=$LIBS
13344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13354 return shl_load ();
13359 if ac_fn_c_try_link
"$LINENO"
13361 ac_cv_lib_dld_shl_load
=yes
13363 ac_cv_lib_dld_shl_load
=no
13365 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13366 conftest
$ac_exeext conftest.
$ac_ext
13367 LIBS
=$ac_check_lib_save_LIBS
13369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13370 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
13371 if test "x$ac_cv_lib_dld_shl_load" = xyes
13373 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13375 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13376 if test "x$ac_cv_func_dlopen" = xyes
13378 lt_cv_dlopen
=dlopen
13380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13381 printf %s
"checking for dlopen in -ldl... " >&6; }
13382 if test ${ac_cv_lib_dl_dlopen+y}
13384 printf %s
"(cached) " >&6
13386 ac_check_lib_save_LIBS
=$LIBS
13388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13403 if ac_fn_c_try_link
"$LINENO"
13405 ac_cv_lib_dl_dlopen
=yes
13407 ac_cv_lib_dl_dlopen
=no
13409 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13410 conftest
$ac_exeext conftest.
$ac_ext
13411 LIBS
=$ac_check_lib_save_LIBS
13413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13414 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13415 if test "x$ac_cv_lib_dl_dlopen" = xyes
13417 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13420 printf %s
"checking for dlopen in -lsvld... " >&6; }
13421 if test ${ac_cv_lib_svld_dlopen+y}
13423 printf %s
"(cached) " >&6
13425 ac_check_lib_save_LIBS
=$LIBS
13426 LIBS
="-lsvld $LIBS"
13427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13430 /* Override any GCC internal prototype to avoid an error.
13431 Use char because int might match the return type of a GCC
13432 builtin and then its argument prototype would still apply. */
13442 if ac_fn_c_try_link
"$LINENO"
13444 ac_cv_lib_svld_dlopen
=yes
13446 ac_cv_lib_svld_dlopen
=no
13448 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13449 conftest
$ac_exeext conftest.
$ac_ext
13450 LIBS
=$ac_check_lib_save_LIBS
13452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13453 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
13454 if test "x$ac_cv_lib_svld_dlopen" = xyes
13456 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13459 printf %s
"checking for dld_link in -ldld... " >&6; }
13460 if test ${ac_cv_lib_dld_dld_link+y}
13462 printf %s
"(cached) " >&6
13464 ac_check_lib_save_LIBS
=$LIBS
13466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 /* Override any GCC internal prototype to avoid an error.
13470 Use char because int might match the return type of a GCC
13471 builtin and then its argument prototype would still apply. */
13476 return dld_link ();
13481 if ac_fn_c_try_link
"$LINENO"
13483 ac_cv_lib_dld_dld_link
=yes
13485 ac_cv_lib_dld_dld_link
=no
13487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 LIBS
=$ac_check_lib_save_LIBS
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13492 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
13493 if test "x$ac_cv_lib_dld_dld_link" = xyes
13495 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13516 if test no
= "$lt_cv_dlopen"; then
13522 case $lt_cv_dlopen in
13524 save_CPPFLAGS
=$CPPFLAGS
13525 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13527 save_LDFLAGS
=$LDFLAGS
13528 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13531 LIBS
="$lt_cv_dlopen_libs $LIBS"
13533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13534 printf %s
"checking whether a program can dlopen itself... " >&6; }
13535 if test ${lt_cv_dlopen_self+y}
13537 printf %s
"(cached) " >&6
13539 if test yes = "$cross_compiling"; then :
13540 lt_cv_dlopen_self
=cross
13542 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13543 lt_status
=$lt_dlunknown
13544 cat > conftest.
$ac_ext <<_LT_EOF
13545 #line $LINENO "configure"
13546 #include "confdefs.h"
13555 # define LT_DLGLOBAL RTLD_GLOBAL
13558 # define LT_DLGLOBAL DL_GLOBAL
13560 # define LT_DLGLOBAL 0
13564 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13565 find out it does not work in some platform. */
13566 #ifndef LT_DLLAZY_OR_NOW
13568 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13571 # define LT_DLLAZY_OR_NOW DL_LAZY
13574 # define LT_DLLAZY_OR_NOW RTLD_NOW
13577 # define LT_DLLAZY_OR_NOW DL_NOW
13579 # define LT_DLLAZY_OR_NOW 0
13586 /* When -fvisibility=hidden is used, assume the code has been annotated
13587 correspondingly for the symbols needed. */
13588 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13589 int fnord () __attribute__((visibility("default")));
13592 int fnord () { return 42; }
13595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13596 int status = $lt_dlunknown;
13600 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13603 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13604 else puts (dlerror ());
13606 /* dlclose (self); */
13614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13615 (eval $ac_link) 2>&5
13617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13618 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13619 (.
/conftest
; exit; ) >&5 2>/dev
/null
13621 case x
$lt_status in
13622 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13623 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13624 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13627 # compilation failed
13628 lt_cv_dlopen_self
=no
13635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13636 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
13638 if test yes = "$lt_cv_dlopen_self"; then
13639 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13641 printf %s
"checking whether a statically linked program can dlopen itself... " >&6; }
13642 if test ${lt_cv_dlopen_self_static+y}
13644 printf %s
"(cached) " >&6
13646 if test yes = "$cross_compiling"; then :
13647 lt_cv_dlopen_self_static
=cross
13649 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13650 lt_status
=$lt_dlunknown
13651 cat > conftest.
$ac_ext <<_LT_EOF
13652 #line $LINENO "configure"
13653 #include "confdefs.h"
13662 # define LT_DLGLOBAL RTLD_GLOBAL
13665 # define LT_DLGLOBAL DL_GLOBAL
13667 # define LT_DLGLOBAL 0
13671 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13672 find out it does not work in some platform. */
13673 #ifndef LT_DLLAZY_OR_NOW
13675 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13678 # define LT_DLLAZY_OR_NOW DL_LAZY
13681 # define LT_DLLAZY_OR_NOW RTLD_NOW
13684 # define LT_DLLAZY_OR_NOW DL_NOW
13686 # define LT_DLLAZY_OR_NOW 0
13693 /* When -fvisibility=hidden is used, assume the code has been annotated
13694 correspondingly for the symbols needed. */
13695 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13696 int fnord () __attribute__((visibility("default")));
13699 int fnord () { return 42; }
13702 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13703 int status = $lt_dlunknown;
13707 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13710 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13711 else puts (dlerror ());
13713 /* dlclose (self); */
13721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13722 (eval $ac_link) 2>&5
13724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13725 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13726 (.
/conftest
; exit; ) >&5 2>/dev
/null
13728 case x
$lt_status in
13729 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13730 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13731 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13734 # compilation failed
13735 lt_cv_dlopen_self_static
=no
13742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13743 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
13746 CPPFLAGS
=$save_CPPFLAGS
13747 LDFLAGS
=$save_LDFLAGS
13752 case $lt_cv_dlopen_self in
13753 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13754 *) enable_dlopen_self
=unknown
;;
13757 case $lt_cv_dlopen_self_static in
13758 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13759 *) enable_dlopen_self_static
=unknown
;;
13781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13782 printf %s
"checking whether stripping libraries is possible... " >&6; }
13783 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13784 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13785 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13787 printf "%s\n" "yes" >&6; }
13789 # FIXME - insert some real tests, host_os isn't really good enough
13792 if test -n "$STRIP"; then
13793 striplib
="$STRIP -x"
13794 old_striplib
="$STRIP -S"
13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13796 printf "%s\n" "yes" >&6; }
13798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13799 printf "%s\n" "no" >&6; }
13803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13804 printf "%s\n" "no" >&6; }
13820 # Report what library types will actually be built
13821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13822 printf %s
"checking if libtool supports shared libraries... " >&6; }
13823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13824 printf "%s\n" "$can_build_shared" >&6; }
13826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13827 printf %s
"checking whether to build shared libraries... " >&6; }
13828 test no
= "$can_build_shared" && enable_shared
=no
13830 # On AIX, shared libraries and static libraries use the same namespace, and
13831 # are all built from PIC.
13834 test yes = "$enable_shared" && enable_static
=no
13835 if test -n "$RANLIB"; then
13836 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13837 postinstall_cmds
='$RANLIB $lib'
13842 if test ia64
!= "$host_cpu"; then
13843 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13844 yes,aix
,yes) ;; # shared object as lib.so file only
13845 yes,svr4
,*) ;; # shared object as lib.so archive member only
13846 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13852 printf "%s\n" "$enable_shared" >&6; }
13854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13855 printf %s
"checking whether to build static libraries... " >&6; }
13856 # Make sure either enable_shared or enable_static is yes.
13857 test yes = "$enable_shared" || enable_static
=yes
13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13859 printf "%s\n" "$enable_static" >&6; }
13866 ac_cpp
='$CXXCPP $CPPFLAGS'
13867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13873 if test -n "$CXX" && ( test no
!= "$CXX" &&
13874 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13875 (test g
++ != "$CXX"))); then
13877 ac_cpp
='$CXXCPP $CPPFLAGS'
13878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13882 printf %s
"checking how to run the C++ preprocessor... " >&6; }
13883 if test -z "$CXXCPP"; then
13884 if test ${ac_cv_prog_CXXCPP+y}
13886 printf %s
"(cached) " >&6
13888 # Double quotes because $CXX needs to be expanded
13889 for CXXCPP
in "$CXX -E" cpp
/lib
/cpp
13891 ac_preproc_ok
=false
13892 for ac_cxx_preproc_warn_flag
in '' yes
13894 # Use a header file that comes with gcc, so configuring glibc
13895 # with a fresh cross-compiler works.
13896 # On the NeXT, cc -E runs the code through the compiler's parser,
13897 # not just through cpp. "Syntax error" is here to catch this case.
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13900 #include <limits.h>
13903 if ac_fn_cxx_try_cpp
"$LINENO"
13907 # Broken: fails on valid input.
13910 rm -f conftest.err conftest.i conftest.
$ac_ext
13912 # OK, works on sane cases. Now check whether nonexistent headers
13913 # can be detected and how.
13914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 #include <ac_nonexistent.h>
13918 if ac_fn_cxx_try_cpp
"$LINENO"
13920 # Broken: success on invalid input.
13923 # Passes both tests.
13927 rm -f conftest.err conftest.i conftest.
$ac_ext
13930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13931 rm -f conftest.i conftest.err conftest.
$ac_ext
13938 ac_cv_prog_CXXCPP
=$CXXCPP
13941 CXXCPP
=$ac_cv_prog_CXXCPP
13943 ac_cv_prog_CXXCPP
=$CXXCPP
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13946 printf "%s\n" "$CXXCPP" >&6; }
13947 ac_preproc_ok
=false
13948 for ac_cxx_preproc_warn_flag
in '' yes
13950 # Use a header file that comes with gcc, so configuring glibc
13951 # with a fresh cross-compiler works.
13952 # On the NeXT, cc -E runs the code through the compiler's parser,
13953 # not just through cpp. "Syntax error" is here to catch this case.
13954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 #include <limits.h>
13959 if ac_fn_cxx_try_cpp
"$LINENO"
13963 # Broken: fails on valid input.
13966 rm -f conftest.err conftest.i conftest.
$ac_ext
13968 # OK, works on sane cases. Now check whether nonexistent headers
13969 # can be detected and how.
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 #include <ac_nonexistent.h>
13974 if ac_fn_cxx_try_cpp
"$LINENO"
13976 # Broken: success on invalid input.
13979 # Passes both tests.
13983 rm -f conftest.err conftest.i conftest.
$ac_ext
13986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13987 rm -f conftest.i conftest.err conftest.
$ac_ext
13992 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13993 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13994 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13995 See \`config.log' for more details" "$LINENO" 5; }
13999 ac_cpp
='$CXXCPP $CPPFLAGS'
14000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14005 _lt_caught_CXX_error
=yes
14009 ac_cpp
='$CXXCPP $CPPFLAGS'
14010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14014 archive_cmds_need_lc_CXX
=no
14015 allow_undefined_flag_CXX
=
14016 always_export_symbols_CXX
=no
14017 archive_expsym_cmds_CXX
=
14018 compiler_needs_object_CXX
=no
14019 export_dynamic_flag_spec_CXX
=
14020 hardcode_direct_CXX
=no
14021 hardcode_direct_absolute_CXX
=no
14022 hardcode_libdir_flag_spec_CXX
=
14023 hardcode_libdir_separator_CXX
=
14024 hardcode_minus_L_CXX
=no
14025 hardcode_shlibpath_var_CXX
=unsupported
14026 hardcode_automatic_CXX
=no
14027 inherit_rpath_CXX
=no
14029 module_expsym_cmds_CXX
=
14030 link_all_deplibs_CXX
=unknown
14031 old_archive_cmds_CXX
=$old_archive_cmds
14032 reload_flag_CXX
=$reload_flag
14033 reload_cmds_CXX
=$reload_cmds
14034 no_undefined_flag_CXX
=
14035 whole_archive_flag_spec_CXX
=
14036 enable_shared_with_static_runtimes_CXX
=no
14038 # Source file extension for C++ test sources.
14041 # Object file extension for compiled C++ test sources.
14045 # No sense in running all these tests if we already determined that
14046 # the CXX compiler isn't working. Some variables (like enable_shared)
14047 # are currently assumed to apply to all compilers on this platform,
14048 # and will be corrupted by setting them based on a non-working compiler.
14049 if test yes != "$_lt_caught_CXX_error"; then
14050 # Code to be used in simple compile tests
14051 lt_simple_compile_test_code
="int some_variable = 0;"
14053 # Code to be used in simple link tests
14054 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14056 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14063 # If no C compiler was specified, use CC.
14066 # If no C compiler flags were specified, use CFLAGS.
14067 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14069 # Allow CC to be a program name with arguments.
14073 # save warnings/boilerplate of simple test code
14074 ac_outfile
=conftest.
$ac_objext
14075 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14076 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14077 _lt_compiler_boilerplate
=`cat conftest.err`
14080 ac_outfile
=conftest.
$ac_objext
14081 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14082 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14083 _lt_linker_boilerplate
=`cat conftest.err`
14087 # Allow CC to be a program name with arguments.
14089 lt_save_CFLAGS
=$CFLAGS
14093 lt_save_with_gnu_ld
=$with_gnu_ld
14094 lt_save_path_LD
=$lt_cv_path_LD
14095 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14096 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
14098 $as_unset lt_cv_prog_gnu_ld
14100 if test -n "${lt_cv_path_LDCXX+set}"; then
14101 lt_cv_path_LD
=$lt_cv_path_LDCXX
14103 $as_unset lt_cv_path_LD
14105 test -z "${LDCXX+set}" || LD
=$LDCXX
14110 func_cc_basename
$compiler
14111 cc_basename
=$func_cc_basename_result
14114 if test -n "$compiler"; then
14115 # We don't want -fno-exception when compiling C++ code, so set the
14116 # no_builtin_flag separately
14117 if test yes = "$GXX"; then
14118 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
14120 lt_prog_compiler_no_builtin_flag_CXX
=
14123 if test yes = "$GXX"; then
14124 # Set up default GNU C++ configuration
14128 # Check whether --with-gnu-ld was given.
14129 if test ${with_gnu_ld+y}
14131 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
14137 if test yes = "$GCC"; then
14138 # Check if gcc -print-prog-name=ld gives a path.
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14140 printf %s
"checking for ld used by $CC... " >&6; }
14143 # gcc leaves a trailing carriage return, which upsets mingw
14144 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14146 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14149 # Accept absolute paths.
14151 re_direlt
='/[^/][^/]*/\.\./'
14152 # Canonicalize the pathname of ld
14153 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14154 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
14155 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14157 test -z "$LD" && LD
=$ac_prog
14160 # If it fails, then pretend we aren't using GCC.
14164 # If it is relative, then search for the first ld in PATH.
14165 with_gnu_ld
=unknown
14168 elif test yes = "$with_gnu_ld"; then
14169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14170 printf %s
"checking for GNU ld... " >&6; }
14172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14173 printf %s
"checking for non-GNU ld... " >&6; }
14175 if test ${lt_cv_path_LD+y}
14177 printf %s
"(cached) " >&6
14179 if test -z "$LD"; then
14180 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
14181 for ac_dir
in $PATH; do
14183 test -z "$ac_dir" && ac_dir
=.
14184 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14185 lt_cv_path_LD
=$ac_dir/$ac_prog
14186 # Check to see if the program is GNU ld. I'd rather use --version,
14187 # but apparently some variants of GNU ld only accept -v.
14188 # Break only if it was the GNU/non-GNU ld that we prefer.
14189 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14190 *GNU
* | *'with BFD'*)
14191 test no
!= "$with_gnu_ld" && break
14194 test yes != "$with_gnu_ld" && break
14201 lt_cv_path_LD
=$LD # Let the user override the test with a path.
14206 if test -n "$LD"; then
14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14208 printf "%s\n" "$LD" >&6; }
14210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14211 printf "%s\n" "no" >&6; }
14213 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
14214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14215 printf %s
"checking if the linker ($LD) is GNU ld... " >&6; }
14216 if test ${lt_cv_prog_gnu_ld+y}
14218 printf %s
"(cached) " >&6
14220 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14221 case `$LD -v 2>&1 </dev/null` in
14222 *GNU
* | *'with BFD'*)
14223 lt_cv_prog_gnu_ld
=yes
14226 lt_cv_prog_gnu_ld
=no
14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14231 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
14232 with_gnu_ld
=$lt_cv_prog_gnu_ld
14240 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14241 # archiving commands below assume that GNU ld is being used.
14242 if test yes = "$with_gnu_ld"; then
14243 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14244 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14246 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14247 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14249 # If archive_cmds runs LD, not CC, wlarc should be empty
14250 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14251 # investigate it a little bit more. (MM)
14254 # ancient GNU ld didn't support --whole-archive et. al.
14255 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14256 $GREP 'no-whole-archive' > /dev
/null
; then
14257 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14259 whole_archive_flag_spec_CXX
=
14265 # A generic and very simple default shared library creation
14266 # command for GNU C++ for the case where it uses the native
14267 # linker, instead of GNU ld. If possible, this setting should
14268 # overridden to take advantage of the native linker features on
14269 # the platform it is being used on.
14270 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14273 # Commands to make compiler produce verbose output that lists
14274 # what "hidden" libraries, object files and flags are used when
14275 # linking a shared library.
14276 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14284 # PORTME: fill in a description of your system's C++ link characteristics
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14286 printf %s
"checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14290 # FIXME: insert proper C++ library support
14294 if test ia64
= "$host_cpu"; then
14295 # On IA64, the linker does run time linking by default, so we don't
14296 # have to do anything special.
14297 aix_use_runtimelinking
=no
14298 exp_sym_flag
='-Bexport'
14301 aix_use_runtimelinking
=no
14303 # Test if we are trying to use run time linking or normal
14304 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14305 # have runtime linking enabled, and use it for executables.
14306 # For shared libraries, we enable/disable runtime linking
14307 # depending on the kind of the shared library created -
14308 # when "with_aix_soname,aix_use_runtimelinking" is:
14309 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14310 # "aix,yes" lib.so shared, rtl:yes, for executables
14311 # lib.a static archive
14312 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14313 # lib.a(lib.so.V) shared, rtl:no, for executables
14314 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14315 # lib.a(lib.so.V) shared, rtl:no
14316 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14317 # lib.a static archive
14318 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14319 for ld_flag
in $LDFLAGS; do
14322 aix_use_runtimelinking
=yes
14327 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
14328 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14329 # so we don't have lib.a shared libs to link our executables.
14330 # We have to force runtime linking in this case.
14331 aix_use_runtimelinking
=yes
14332 LDFLAGS
="$LDFLAGS -Wl,-brtl"
14337 exp_sym_flag
='-bexport'
14338 no_entry_flag
='-bnoentry'
14341 # When large executables or shared objects are built, AIX ld can
14342 # have problems creating the table of contents. If linking a library
14343 # or program results in "error TOC overflow" add -mminimal-toc to
14344 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14345 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14347 archive_cmds_CXX
=''
14348 hardcode_direct_CXX
=yes
14349 hardcode_direct_absolute_CXX
=yes
14350 hardcode_libdir_separator_CXX
=':'
14351 link_all_deplibs_CXX
=yes
14352 file_list_spec_CXX
='$wl-f,'
14353 case $with_aix_soname,$aix_use_runtimelinking in
14354 aix
,*) ;; # no import file
14355 svr4
,* | *,yes) # use import file
14356 # The Import File defines what to hardcode.
14357 hardcode_direct_CXX
=no
14358 hardcode_direct_absolute_CXX
=no
14362 if test yes = "$GXX"; then
14363 case $host_os in aix4.
[012]|aix4.
[012].
*)
14364 # We only want to do this on AIX 4.2 and lower, the check
14365 # below for broken collect2 doesn't work under 4.3+
14366 collect2name
=`$CC -print-prog-name=collect2`
14367 if test -f "$collect2name" &&
14368 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
14370 # We have reworked collect2
14373 # We have old collect2
14374 hardcode_direct_CXX
=unsupported
14375 # It fails to find uninstalled libraries when the uninstalled
14376 # path is not listed in the libpath. Setting hardcode_minus_L
14377 # to unsupported forces relinking
14378 hardcode_minus_L_CXX
=yes
14379 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14380 hardcode_libdir_separator_CXX
=
14383 shared_flag
='-shared'
14384 if test yes = "$aix_use_runtimelinking"; then
14385 shared_flag
=$shared_flag' $wl-G'
14387 # Need to ensure runtime linking is disabled for the traditional
14388 # shared library, or the linker may eventually find shared libraries
14389 # /with/ Import File - we do not want to mix them.
14390 shared_flag_aix
='-shared'
14391 shared_flag_svr4
='-shared $wl-G'
14394 if test ia64
= "$host_cpu"; then
14395 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14396 # chokes on -Wl,-G. The following line is correct:
14399 if test yes = "$aix_use_runtimelinking"; then
14400 shared_flag
='$wl-G'
14402 shared_flag
='$wl-bM:SRE'
14404 shared_flag_aix
='$wl-bM:SRE'
14405 shared_flag_svr4
='$wl-G'
14409 export_dynamic_flag_spec_CXX
='$wl-bexpall'
14410 # It seems that -bexpall does not export symbols beginning with
14411 # underscore (_), so it is better to generate a list of symbols to
14413 always_export_symbols_CXX
=yes
14414 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14415 # Warning - without using the other runtime loading flags (-brtl),
14416 # -berok will link without error, but may produce a broken library.
14417 # The "-G" linker flag allows undefined symbols.
14418 no_undefined_flag_CXX
='-bernotok'
14419 # Determine the default libpath from the value encoded in an empty
14421 if test set = "${lt_cv_aix_libpath+set}"; then
14422 aix_libpath
=$lt_cv_aix_libpath
14424 if test ${lt_cv_aix_libpath__CXX+y}
14426 printf %s
"(cached) " >&6
14428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14439 if ac_fn_cxx_try_link
"$LINENO"
14442 lt_aix_libpath_sed
='
14443 /Import File Strings/,/^$/ {
14445 s/^0 *\([^ ]*\) *$/\1/
14449 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14450 # Check for a 64-bit object if we didn't find anything.
14451 if test -z "$lt_cv_aix_libpath__CXX"; then
14452 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14455 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14456 conftest
$ac_exeext conftest.
$ac_ext
14457 if test -z "$lt_cv_aix_libpath__CXX"; then
14458 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
14463 aix_libpath
=$lt_cv_aix_libpath__CXX
14466 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
14468 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
14470 if test ia64
= "$host_cpu"; then
14471 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
14472 allow_undefined_flag_CXX
="-z nodefs"
14473 archive_expsym_cmds_CXX
="\$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"
14475 # Determine the default libpath from the value encoded in an
14476 # empty executable.
14477 if test set = "${lt_cv_aix_libpath+set}"; then
14478 aix_libpath
=$lt_cv_aix_libpath
14480 if test ${lt_cv_aix_libpath__CXX+y}
14482 printf %s
"(cached) " >&6
14484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14495 if ac_fn_cxx_try_link
"$LINENO"
14498 lt_aix_libpath_sed
='
14499 /Import File Strings/,/^$/ {
14501 s/^0 *\([^ ]*\) *$/\1/
14505 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14506 # Check for a 64-bit object if we didn't find anything.
14507 if test -z "$lt_cv_aix_libpath__CXX"; then
14508 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14511 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14512 conftest
$ac_exeext conftest.
$ac_ext
14513 if test -z "$lt_cv_aix_libpath__CXX"; then
14514 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
14519 aix_libpath
=$lt_cv_aix_libpath__CXX
14522 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
14523 # Warning - without using the other run time loading flags,
14524 # -berok will link without error, but may produce a broken library.
14525 no_undefined_flag_CXX
=' $wl-bernotok'
14526 allow_undefined_flag_CXX
=' $wl-berok'
14527 if test yes = "$with_gnu_ld"; then
14528 # We only use this code for GNU lds that support --whole-archive.
14529 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14531 # Exported symbols can be pulled into shared objects from archives
14532 whole_archive_flag_spec_CXX
='$convenience'
14534 archive_cmds_need_lc_CXX
=yes
14535 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14536 # -brtl affects multiple linker settings, -berok does not and is overridden later
14537 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14538 if test svr4
!= "$with_aix_soname"; then
14539 # This is similar to how AIX traditionally builds its shared
14540 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14541 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14543 if test aix
!= "$with_aix_soname"; then
14544 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14546 # used by -dlpreopen to get the symbols
14547 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14549 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14555 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
14556 allow_undefined_flag_CXX
=unsupported
14557 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14558 # support --undefined. This deserves some investigation. FIXME
14559 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14566 case $cc_basename in
14568 # FIXME: insert proper C++ library support
14574 cygwin
* | mingw
* | pw32
* | cegcc
*)
14575 case $GXX,$cc_basename in
14578 # hardcode_libdir_flag_spec is actually meaningless, as there is
14579 # no search path for DLLs.
14580 hardcode_libdir_flag_spec_CXX
=' '
14581 allow_undefined_flag_CXX
=unsupported
14582 always_export_symbols_CXX
=yes
14583 file_list_spec_CXX
='@'
14584 # Tell ltmain to make .lib files, not .a files.
14586 # Tell ltmain to make .dll files, not .so files.
14588 # FIXME: Setting linknames here is a bad hack.
14589 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14590 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14591 cp "$export_symbols" "$output_objdir/$soname.def";
14592 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14594 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14596 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14598 # The linker will not automatically build a static lib if we build a DLL.
14599 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14600 enable_shared_with_static_runtimes_CXX
=yes
14602 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
14603 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
14604 lt_tool_outputfile="@TOOL_OUTPUT@"~
14605 case $lt_outputfile in
14608 lt_outputfile=$lt_outputfile.exe
14609 lt_tool_outputfile=$lt_tool_outputfile.exe
14612 func_to_tool_file "$lt_outputfile"~
14613 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14614 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14615 $RM "$lt_outputfile.manifest";
14620 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14621 # as there is no search path for DLLs.
14622 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14623 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
14624 allow_undefined_flag_CXX
=unsupported
14625 always_export_symbols_CXX
=no
14626 enable_shared_with_static_runtimes_CXX
=yes
14628 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
14629 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14630 # If the export-symbols file already is a .def file, use it as
14631 # is; otherwise, prepend EXPORTS...
14632 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14633 cp $export_symbols $output_objdir/$soname.def;
14635 echo EXPORTS > $output_objdir/$soname.def;
14636 cat $export_symbols >> $output_objdir/$soname.def;
14638 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14645 darwin
* | rhapsody
*)
14648 archive_cmds_need_lc_CXX
=no
14649 hardcode_direct_CXX
=no
14650 hardcode_automatic_CXX
=yes
14651 hardcode_shlibpath_var_CXX
=unsupported
14652 if test yes = "$lt_cv_ld_force_load"; then
14653 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14656 whole_archive_flag_spec_CXX
=''
14658 link_all_deplibs_CXX
=yes
14659 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
14660 case $cc_basename in
14661 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
14662 *) _lt_dar_can_shared
=$GCC ;;
14664 if test yes = "$_lt_dar_can_shared"; then
14665 output_verbose_link_cmd
=func_echo_all
14666 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14667 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14668 archive_expsym_cmds_CXX
="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"
14669 module_expsym_cmds_CXX
="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"
14670 if test yes != "$lt_cv_apple_cc_single_mod"; then
14671 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14672 archive_expsym_cmds_CXX
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14682 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14683 hardcode_minus_L_CXX
=yes
14684 allow_undefined_flag_CXX
=unsupported
14686 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14687 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14688 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14689 $ECHO EXPORTS >> $output_objdir/$libname.def~
14690 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14691 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14692 emximp -o $lib $output_objdir/$libname.def'
14693 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14694 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14695 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14696 $ECHO EXPORTS >> $output_objdir/$libname.def~
14697 prefix_cmds="$SED"~
14698 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14699 prefix_cmds="$prefix_cmds -e 1d";
14701 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14702 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14703 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14704 emximp -o $lib $output_objdir/$libname.def'
14705 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14706 enable_shared_with_static_runtimes_CXX
=yes
14710 case $cc_basename in
14712 # FIXME: insert proper C++ library support
14716 # Green Hills C++ Compiler
14717 # FIXME: insert proper C++ library support
14721 # FIXME: insert proper C++ library support
14728 # C++ shared libraries reported to be fairly broken before
14734 archive_cmds_need_lc_CXX
=no
14737 freebsd
* | dragonfly
*)
14738 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14744 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14745 link_all_deplibs_CXX
=yes
14749 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14750 hardcode_libdir_separator_CXX
=:
14751 export_dynamic_flag_spec_CXX
='$wl-E'
14752 hardcode_direct_CXX
=yes
14753 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14754 # but as the default
14755 # location of the library.
14757 case $cc_basename in
14759 # FIXME: insert proper C++ library support
14763 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14764 # Commands to make compiler produce verbose output that lists
14765 # what "hidden" libraries, object files and flags are used when
14766 # linking a shared library.
14768 # There doesn't appear to be a way to prevent this compiler from
14769 # explicitly linking system object files so we need to strip them
14770 # from the output so that they don't get included in the library
14772 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14775 if test yes = "$GXX"; then
14776 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14778 # FIXME: insert proper C++ library support
14786 if test no
= "$with_gnu_ld"; then
14787 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14788 hardcode_libdir_separator_CXX
=:
14794 export_dynamic_flag_spec_CXX
='$wl-E'
14800 hardcode_direct_CXX
=no
14801 hardcode_shlibpath_var_CXX
=no
14804 hardcode_direct_CXX
=yes
14805 hardcode_direct_absolute_CXX
=yes
14806 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14807 # but as the default
14808 # location of the library.
14812 case $cc_basename in
14814 # FIXME: insert proper C++ library support
14820 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14823 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14826 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14829 # Commands to make compiler produce verbose output that lists
14830 # what "hidden" libraries, object files and flags are used when
14831 # linking a shared library.
14833 # There doesn't appear to be a way to prevent this compiler from
14834 # explicitly linking system object files so we need to strip them
14835 # from the output so that they don't get included in the library
14837 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14840 if test yes = "$GXX"; then
14841 if test no
= "$with_gnu_ld"; then
14844 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14847 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14850 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14855 # FIXME: insert proper C++ library support
14863 hardcode_direct_CXX
=no
14864 hardcode_shlibpath_var_CXX
=no
14865 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14866 export_dynamic_flag_spec_CXX
='$wl-E'
14867 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14868 # Instead, shared libraries are loaded at an image base (0x10000000 by
14869 # default) and relocated if they conflict, which is a slow very memory
14870 # consuming and fragmenting process. To avoid this, we pick a random,
14871 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14872 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14873 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14874 archive_expsym_cmds_CXX
='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'
14877 case $cc_basename in
14880 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14882 # Archives containing C++ object files must be created using
14883 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14884 # necessary to make sure instantiated templates are included
14886 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14889 if test yes = "$GXX"; then
14890 if test no
= "$with_gnu_ld"; then
14891 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
14893 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14896 link_all_deplibs_CXX
=yes
14899 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14900 hardcode_libdir_separator_CXX
=:
14901 inherit_rpath_CXX
=yes
14904 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14905 case $cc_basename in
14907 # Kuck and Associates, Inc. (KAI) C++ Compiler
14909 # KCC will only create a shared library if the output file
14910 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14911 # to its proper name (with version) after linking.
14912 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14913 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14914 # Commands to make compiler produce verbose output that lists
14915 # what "hidden" libraries, object files and flags are used when
14916 # linking a shared library.
14918 # There doesn't appear to be a way to prevent this compiler from
14919 # explicitly linking system object files so we need to strip them
14920 # from the output so that they don't get included in the library
14922 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14924 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14925 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14927 # Archives containing C++ object files must be created using
14928 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14929 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14934 # version 8.0 and above of icpc choke on multiply defined symbols
14935 # if we add $predep_objects and $postdep_objects, however 7.1 and
14936 # earlier do not add the objects themselves.
14937 case `$CC -V 2>&1` in
14939 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14940 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14942 *) # Version 8.0 or newer
14945 ia64
*) tmp_idyn
=' -i_dynamic';;
14947 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14948 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14951 archive_cmds_need_lc_CXX
=no
14952 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14953 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14954 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14957 # Portland Group C++ compiler
14959 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14960 prelink_cmds_CXX
='tpldir=Template.dir~
14962 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14963 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14964 old_archive_cmds_CXX
='tpldir=Template.dir~
14966 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14967 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14969 archive_cmds_CXX
='tpldir=Template.dir~
14971 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14972 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14973 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14975 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14976 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14978 *) # Version 6 and above use weak symbols
14979 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14980 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14984 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14985 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14986 whole_archive_flag_spec_CXX
='$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'
14990 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14991 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
14993 runpath_var
=LD_RUN_PATH
14994 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14995 hardcode_libdir_separator_CXX
=:
14997 # Commands to make compiler produce verbose output that lists
14998 # what "hidden" libraries, object files and flags are used when
14999 # linking a shared library.
15001 # There doesn't appear to be a way to prevent this compiler from
15002 # explicitly linking system object files so we need to strip them
15003 # from the output so that they don't get included in the library
15005 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15007 xl
* | mpixl
* | bgxl
*)
15008 # IBM XL 8.0 on PPC, with GNU ld
15009 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15010 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15011 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15012 if test yes = "$supports_anon_versioning"; then
15013 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15014 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15015 echo "local: *; };" >> $output_objdir/$libname.ver~
15016 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15020 case `$CC -V 2>&1 | sed 5q` in
15023 no_undefined_flag_CXX
=' -zdefs'
15024 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15025 archive_expsym_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
15026 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15027 whole_archive_flag_spec_CXX
='$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'
15028 compiler_needs_object_CXX
=yes
15030 # Not sure whether something based on
15031 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15033 output_verbose_link_cmd
='func_echo_all'
15035 # Archives containing C++ object files must be created using
15036 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15037 # necessary to make sure instantiated templates are included
15039 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15047 # FIXME: insert proper C++ library support
15052 # FIXME: insert proper C++ library support
15057 case $cc_basename in
15059 # FIXME: insert proper C++ library support
15063 # FIXME: insert proper C++ library support
15070 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15071 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15073 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15074 hardcode_direct_CXX
=yes
15075 hardcode_shlibpath_var_CXX
=no
15077 # Workaround some broken pre-1.5 toolchains
15078 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15085 openbsd
* | bitrig
*)
15086 if test -f /usr
/libexec
/ld.so
; then
15087 hardcode_direct_CXX
=yes
15088 hardcode_shlibpath_var_CXX
=no
15089 hardcode_direct_absolute_CXX
=yes
15090 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15091 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15092 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15093 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15094 export_dynamic_flag_spec_CXX
='$wl-E'
15095 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15097 output_verbose_link_cmd
=func_echo_all
15103 osf3
* | osf4
* | osf5
*)
15104 case $cc_basename in
15106 # Kuck and Associates, Inc. (KAI) C++ Compiler
15108 # KCC will only create a shared library if the output file
15109 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15110 # to its proper name (with version) after linking.
15111 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15113 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15114 hardcode_libdir_separator_CXX
=:
15116 # Archives containing C++ object files must be created using
15117 # the KAI C++ compiler.
15119 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15120 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15124 # Rational C++ 2.4.1
15125 # FIXME: insert proper C++ library support
15131 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15132 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15133 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15136 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15137 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15138 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15139 echo "-hidden">> $lib.exp~
15140 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
15142 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15146 hardcode_libdir_separator_CXX
=:
15148 # Commands to make compiler produce verbose output that lists
15149 # what "hidden" libraries, object files and flags are used when
15150 # linking a shared library.
15152 # There doesn't appear to be a way to prevent this compiler from
15153 # explicitly linking system object files so we need to strip them
15154 # from the output so that they don't get included in the library
15156 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15159 if test yes,no
= "$GXX,$with_gnu_ld"; then
15160 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
15163 archive_cmds_CXX
='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
15166 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
15170 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15171 hardcode_libdir_separator_CXX
=:
15173 # Commands to make compiler produce verbose output that lists
15174 # what "hidden" libraries, object files and flags are used when
15175 # linking a shared library.
15176 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15179 # FIXME: insert proper C++ library support
15187 # FIXME: insert proper C++ library support
15192 case $cc_basename in
15195 # FIXME: insert proper C++ library support
15200 # FIXME: insert proper C++ library support
15204 # FIXME: insert proper C++ library support
15211 case $cc_basename in
15213 # Sun C++ 4.2, 5.x and Centerline C++
15214 archive_cmds_need_lc_CXX
=yes
15215 no_undefined_flag_CXX
=' -zdefs'
15216 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15217 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15218 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15220 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15221 hardcode_shlibpath_var_CXX
=no
15223 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15225 # The compiler driver will combine and reorder linker options,
15226 # but understands '-z linker_flag'.
15227 # Supported since Solaris 2.6 (maybe 2.5.1?)
15228 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
15231 link_all_deplibs_CXX
=yes
15233 output_verbose_link_cmd
='func_echo_all'
15235 # Archives containing C++ object files must be created using
15236 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15237 # necessary to make sure instantiated templates are included
15239 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15242 # Green Hills C++ Compiler
15243 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15245 # The C++ compiler must be used to create the archive.
15246 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15249 # GNU C++ compiler with Solaris linker
15250 if test yes,no
= "$GXX,$with_gnu_ld"; then
15251 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
15252 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
15253 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15254 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15255 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15257 # Commands to make compiler produce verbose output that lists
15258 # what "hidden" libraries, object files and flags are used when
15259 # linking a shared library.
15260 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15262 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15264 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15265 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15266 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15268 # Commands to make compiler produce verbose output that lists
15269 # what "hidden" libraries, object files and flags are used when
15270 # linking a shared library.
15271 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15274 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
15276 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15278 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15286 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15287 no_undefined_flag_CXX
='$wl-z,text'
15288 archive_cmds_need_lc_CXX
=no
15289 hardcode_shlibpath_var_CXX
=no
15290 runpath_var
='LD_RUN_PATH'
15292 case $cc_basename in
15294 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15295 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15298 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15299 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15304 sysv5
* | sco3.2v5
* | sco5v6
*)
15305 # Note: We CANNOT use -z defs as we might desire, because we do not
15306 # link with -lc, and that would cause any symbols used from libc to
15307 # always be unresolved, which means just about no library would
15308 # ever link correctly. If we're not using GNU ld we use -z text
15309 # though, which does catch some bad symbols but isn't as heavy-handed
15311 no_undefined_flag_CXX
='$wl-z,text'
15312 allow_undefined_flag_CXX
='$wl-z,nodefs'
15313 archive_cmds_need_lc_CXX
=no
15314 hardcode_shlibpath_var_CXX
=no
15315 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
15316 hardcode_libdir_separator_CXX
=':'
15317 link_all_deplibs_CXX
=yes
15318 export_dynamic_flag_spec_CXX
='$wl-Bexport'
15319 runpath_var
='LD_RUN_PATH'
15321 case $cc_basename in
15323 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15324 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15325 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
15326 '"$old_archive_cmds_CXX"
15327 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
15328 '"$reload_cmds_CXX"
15331 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15332 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15338 case $cc_basename in
15340 # NonStop-UX NCC 3.20
15341 # FIXME: insert proper C++ library support
15345 # FIXME: insert proper C++ library support
15352 # FIXME: insert proper C++ library support
15357 # FIXME: insert proper C++ library support
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15363 printf "%s\n" "$ld_shlibs_CXX" >&6; }
15364 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15370 ## There is no encapsulation within the following macros, do not change
15371 ## the running order or otherwise move them around unless you know exactly
15372 ## what you are doing...
15373 # Dependencies to place before and after the object being linked:
15374 predep_objects_CXX
=
15375 postdep_objects_CXX
=
15378 compiler_lib_search_path_CXX
=
15380 cat > conftest.
$ac_ext <<_LT_EOF
15384 Foo (void) { a = 0; }
15391 _lt_libdeps_save_CFLAGS
=$CFLAGS
15392 case "$CC $CFLAGS " in #(
15393 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
15394 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
15395 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
15398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15399 (eval $ac_compile) 2>&5
15401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15402 test $ac_status = 0; }; then
15403 # Parse the compiler output and extract the necessary
15404 # objects, libraries and library flags.
15406 # Sentinel used to keep track of whether or not we are before
15407 # the conftest object file.
15408 pre_test_object_deps_done
=no
15410 for p
in `eval "$output_verbose_link_cmd"`; do
15414 # Some compilers place space between "-{L,R}" and the path.
15415 # Remove the space.
15416 if test x
-L = "$p" ||
15417 test x
-R = "$p"; then
15422 # Expand the sysroot to ease extracting the directories later.
15423 if test -z "$prev"; then
15425 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
15426 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
15427 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
15431 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
15433 if test no
= "$pre_test_object_deps_done"; then
15436 # Internal compiler library paths should come after those
15437 # provided the user. The postdeps already come after the
15438 # user supplied libs so there is no need to process them.
15439 if test -z "$compiler_lib_search_path_CXX"; then
15440 compiler_lib_search_path_CXX
=$prev$p
15442 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
15445 # The "-l" case would never come before the object being
15446 # linked, so don't bother handling this case.
15449 if test -z "$postdeps_CXX"; then
15450 postdeps_CXX
=$prev$p
15452 postdeps_CXX
="${postdeps_CXX} $prev$p"
15458 *.lto.
$objext) ;; # Ignore GCC LTO objects
15460 # This assumes that the test object file only shows up
15461 # once in the compiler output.
15462 if test "$p" = "conftest.$objext"; then
15463 pre_test_object_deps_done
=yes
15467 if test no
= "$pre_test_object_deps_done"; then
15468 if test -z "$predep_objects_CXX"; then
15469 predep_objects_CXX
=$p
15471 predep_objects_CXX
="$predep_objects_CXX $p"
15474 if test -z "$postdep_objects_CXX"; then
15475 postdep_objects_CXX
=$p
15477 postdep_objects_CXX
="$postdep_objects_CXX $p"
15482 *) ;; # Ignore the rest.
15490 echo "libtool.m4: error: problem compiling CXX test program"
15493 $RM -f confest.
$objext
15494 CFLAGS
=$_lt_libdeps_save_CFLAGS
15496 # PORTME: override above test on systems where it is broken
15499 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15500 # hack all around it, let's just trust "g++" to DTRT.
15501 predep_objects_CXX
=
15502 postdep_objects_CXX
=
15508 case " $postdeps_CXX " in
15509 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15511 compiler_lib_search_dirs_CXX
=
15512 if test -n "${compiler_lib_search_path_CXX}"; then
15513 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15546 lt_prog_compiler_wl_CXX
=
15547 lt_prog_compiler_pic_CXX
=
15548 lt_prog_compiler_static_CXX
=
15551 # C++ specific cases for pic, static, wl, etc.
15552 if test yes = "$GXX"; then
15553 lt_prog_compiler_wl_CXX
='-Wl,'
15554 lt_prog_compiler_static_CXX
='-static'
15558 # All AIX code is PIC.
15559 if test ia64
= "$host_cpu"; then
15560 # AIX 5 now supports IA64 processor
15561 lt_prog_compiler_static_CXX
='-Bstatic'
15563 lt_prog_compiler_pic_CXX
='-fPIC'
15569 # see comment about AmigaOS4 .so support
15570 lt_prog_compiler_pic_CXX
='-fPIC'
15573 # FIXME: we need at least 68020 code to build shared libraries, but
15574 # adding the '-m68020' flag to GCC prevents building anything better,
15576 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15581 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15582 # PIC is the default for these OSes.
15584 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15585 # This hack is so that the source file can tell whether it is being
15586 # built for inclusion in a dll (and should export symbols for example).
15587 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15588 # (--disable-auto-import) libraries
15589 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15592 lt_prog_compiler_static_CXX
='$wl-static'
15596 darwin
* | rhapsody
*)
15597 # PIC is the default on this platform
15598 # Common symbols not allowed in MH_DYLIB files
15599 lt_prog_compiler_pic_CXX
='-fno-common'
15602 # DJGPP does not support shared libraries at all
15603 lt_prog_compiler_pic_CXX
=
15606 # PIC is the default for Haiku.
15607 # The "-static" flag exists, but is broken.
15608 lt_prog_compiler_static_CXX
=
15611 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15612 # Instead, we relocate shared libraries at runtime.
15615 if test -d /usr
/nec
; then
15616 lt_prog_compiler_pic_CXX
=-Kconform_pic
15620 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15621 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15622 # sets the default TLS model and affects inlining.
15627 lt_prog_compiler_pic_CXX
='-fPIC'
15632 # QNX uses GNU C++, but need to define -shared option too, otherwise
15633 # it will coredump.
15634 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15637 lt_prog_compiler_pic_CXX
='-fPIC'
15643 # All AIX code is PIC.
15644 if test ia64
= "$host_cpu"; then
15645 # AIX 5 now supports IA64 processor
15646 lt_prog_compiler_static_CXX
='-Bstatic'
15648 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15652 case $cc_basename in
15654 # Green Hills C++ Compiler
15655 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15659 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15660 # This hack is so that the source file can tell whether it is being
15661 # built for inclusion in a dll (and should export symbols for example).
15662 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15665 case $cc_basename in
15667 lt_prog_compiler_pic_CXX
='-KPIC'
15670 # Green Hills C++ Compiler
15671 lt_prog_compiler_pic_CXX
='-pic'
15677 freebsd
* | dragonfly
*)
15678 # FreeBSD uses GNU C++
15680 hpux9
* | hpux10
* | hpux11
*)
15681 case $cc_basename in
15683 lt_prog_compiler_wl_CXX
='-Wl,'
15684 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15685 if test ia64
!= "$host_cpu"; then
15686 lt_prog_compiler_pic_CXX
='+Z'
15690 lt_prog_compiler_wl_CXX
='-Wl,'
15691 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15697 lt_prog_compiler_pic_CXX
='+Z'
15706 # This is c89, which is MS Visual C++ (no shared libs)
15707 # Anyone wants to do a port?
15709 irix5
* | irix6
* | nonstopux
*)
15710 case $cc_basename in
15712 lt_prog_compiler_wl_CXX
='-Wl,'
15713 lt_prog_compiler_static_CXX
='-non_shared'
15714 # CC pic flag -KPIC is the default.
15720 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15721 case $cc_basename in
15724 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15725 lt_prog_compiler_pic_CXX
='-fPIC'
15728 # old Intel C++ for x86_64, which still supported -KPIC.
15729 lt_prog_compiler_wl_CXX
='-Wl,'
15730 lt_prog_compiler_pic_CXX
='-KPIC'
15731 lt_prog_compiler_static_CXX
='-static'
15734 # Intel C++, used to be incompatible with GCC.
15735 # ICC 10 doesn't accept -KPIC any more.
15736 lt_prog_compiler_wl_CXX
='-Wl,'
15737 lt_prog_compiler_pic_CXX
='-fPIC'
15738 lt_prog_compiler_static_CXX
='-static'
15741 # Portland Group C++ compiler
15742 lt_prog_compiler_wl_CXX
='-Wl,'
15743 lt_prog_compiler_pic_CXX
='-fpic'
15744 lt_prog_compiler_static_CXX
='-Bstatic'
15748 # Make sure the PIC flag is empty. It appears that all Alpha
15749 # Linux and Compaq Tru64 Unix objects are PIC.
15750 lt_prog_compiler_pic_CXX
=
15751 lt_prog_compiler_static_CXX
='-non_shared'
15753 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15754 # IBM XL 8.0, 9.0 on PPC and BlueGene
15755 lt_prog_compiler_wl_CXX
='-Wl,'
15756 lt_prog_compiler_pic_CXX
='-qpic'
15757 lt_prog_compiler_static_CXX
='-qstaticlink'
15760 case `$CC -V 2>&1 | sed 5q` in
15763 lt_prog_compiler_pic_CXX
='-KPIC'
15764 lt_prog_compiler_static_CXX
='-Bstatic'
15765 lt_prog_compiler_wl_CXX
='-Qoption ld '
15776 case $cc_basename in
15778 lt_prog_compiler_pic_CXX
='-W c,exportall'
15784 netbsd
* | netbsdelf
*-gnu)
15787 # QNX uses GNU C++, but need to define -shared option too, otherwise
15788 # it will coredump.
15789 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15791 osf3
* | osf4
* | osf5
*)
15792 case $cc_basename in
15794 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15797 # Rational C++ 2.4.1
15798 lt_prog_compiler_pic_CXX
='-pic'
15801 # Digital/Compaq C++
15802 lt_prog_compiler_wl_CXX
='-Wl,'
15803 # Make sure the PIC flag is empty. It appears that all Alpha
15804 # Linux and Compaq Tru64 Unix objects are PIC.
15805 lt_prog_compiler_pic_CXX
=
15806 lt_prog_compiler_static_CXX
='-non_shared'
15815 case $cc_basename in
15817 # Sun C++ 4.2, 5.x and Centerline C++
15818 lt_prog_compiler_pic_CXX
='-KPIC'
15819 lt_prog_compiler_static_CXX
='-Bstatic'
15820 lt_prog_compiler_wl_CXX
='-Qoption ld '
15823 # Green Hills C++ Compiler
15824 lt_prog_compiler_pic_CXX
='-PIC'
15831 case $cc_basename in
15834 lt_prog_compiler_pic_CXX
='-pic'
15835 lt_prog_compiler_static_CXX
='-Bstatic'
15839 lt_prog_compiler_pic_CXX
='-pic'
15845 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15846 case $cc_basename in
15848 lt_prog_compiler_wl_CXX
='-Wl,'
15849 lt_prog_compiler_pic_CXX
='-KPIC'
15850 lt_prog_compiler_static_CXX
='-Bstatic'
15855 case $cc_basename in
15857 # NonStop-UX NCC 3.20
15858 lt_prog_compiler_pic_CXX
='-KPIC'
15867 lt_prog_compiler_can_build_shared_CXX
=no
15873 # For platforms that do not support PIC, -DPIC is meaningless:
15875 lt_prog_compiler_pic_CXX
=
15878 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15883 printf %s
"checking for $compiler option to produce PIC... " >&6; }
15884 if test ${lt_cv_prog_compiler_pic_CXX+y}
15886 printf %s
"(cached) " >&6
15888 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15891 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
15892 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15895 # Check to make sure the PIC flag actually works.
15897 if test -n "$lt_prog_compiler_pic_CXX"; then
15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15899 printf %s
"checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15900 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
15902 printf %s
"(cached) " >&6
15904 lt_cv_prog_compiler_pic_works_CXX
=no
15905 ac_outfile
=conftest.
$ac_objext
15906 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15907 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15908 # Insert the option either (1) after the last *FLAGS variable, or
15909 # (2) before a word containing "conftest.", or (3) at the end.
15910 # Note that $ac_compile itself does not contain backslashes and begins
15911 # with a dollar sign (not a hyphen), so the echo should work correctly.
15912 # The option is referenced via a variable to avoid confusing sed.
15913 lt_compile
=`echo "$ac_compile" | $SED \
15914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15916 -e 's:$: $lt_compiler_flag:'`
15917 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15918 (eval "$lt_compile" 2>conftest.err
)
15920 cat conftest.err
>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 if (exit $ac_status) && test -s "$ac_outfile"; then
15923 # The compiler can only warn and ignore the option if not recognized
15924 # So say no if there are warnings other than the usual output.
15925 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15926 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15927 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15928 lt_cv_prog_compiler_pic_works_CXX
=yes
15934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15935 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15937 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15938 case $lt_prog_compiler_pic_CXX in
15940 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15943 lt_prog_compiler_pic_CXX
=
15944 lt_prog_compiler_can_build_shared_CXX
=no
15954 # Check to make sure the static flag actually works.
15956 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15958 printf %s
"checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15959 if test ${lt_cv_prog_compiler_static_works_CXX+y}
15961 printf %s
"(cached) " >&6
15963 lt_cv_prog_compiler_static_works_CXX
=no
15964 save_LDFLAGS
=$LDFLAGS
15965 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15966 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15967 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15968 # The linker can only warn and ignore the option if not recognized
15969 # So say no if there are warnings
15970 if test -s conftest.err
; then
15971 # Append any errors to the config.log.
15972 cat conftest.err
1>&5
15973 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15974 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15975 if diff conftest.exp conftest.er2
>/dev
/null
; then
15976 lt_cv_prog_compiler_static_works_CXX
=yes
15979 lt_cv_prog_compiler_static_works_CXX
=yes
15983 LDFLAGS
=$save_LDFLAGS
15986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15987 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15989 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15992 lt_prog_compiler_static_CXX
=
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15999 printf %s
"checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16000 if test ${lt_cv_prog_compiler_c_o_CXX+y}
16002 printf %s
"(cached) " >&6
16004 lt_cv_prog_compiler_c_o_CXX
=no
16005 $RM -r conftest
2>/dev
/null
16009 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16011 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16012 # Insert the option either (1) after the last *FLAGS variable, or
16013 # (2) before a word containing "conftest.", or (3) at the end.
16014 # Note that $ac_compile itself does not contain backslashes and begins
16015 # with a dollar sign (not a hyphen), so the echo should work correctly.
16016 lt_compile
=`echo "$ac_compile" | $SED \
16017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16019 -e 's:$: $lt_compiler_flag:'`
16020 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16021 (eval "$lt_compile" 2>out
/conftest.err
)
16023 cat out
/conftest.err
>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16027 # The compiler can only warn and ignore the option if not recognized
16028 # So say no if there are warnings
16029 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
16030 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16031 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16032 lt_cv_prog_compiler_c_o_CXX
=yes
16037 # SGI C++ compiler will create directory out/ii_files/ for
16038 # template instantiation
16039 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16040 $RM out
/* && rmdir out
16046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16047 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16052 printf %s
"checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16053 if test ${lt_cv_prog_compiler_c_o_CXX+y}
16055 printf %s
"(cached) " >&6
16057 lt_cv_prog_compiler_c_o_CXX
=no
16058 $RM -r conftest
2>/dev
/null
16062 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16064 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16065 # Insert the option either (1) after the last *FLAGS variable, or
16066 # (2) before a word containing "conftest.", or (3) at the end.
16067 # Note that $ac_compile itself does not contain backslashes and begins
16068 # with a dollar sign (not a hyphen), so the echo should work correctly.
16069 lt_compile
=`echo "$ac_compile" | $SED \
16070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16072 -e 's:$: $lt_compiler_flag:'`
16073 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16074 (eval "$lt_compile" 2>out
/conftest.err
)
16076 cat out
/conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16080 # The compiler can only warn and ignore the option if not recognized
16081 # So say no if there are warnings
16082 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
16083 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16084 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16085 lt_cv_prog_compiler_c_o_CXX
=yes
16090 # SGI C++ compiler will create directory out/ii_files/ for
16091 # template instantiation
16092 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16093 $RM out
/* && rmdir out
16099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16100 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16105 hard_links
=nottested
16106 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
16107 # do not overwrite the value of need_locks provided by the user
16108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16109 printf %s
"checking if we can lock with hard links... " >&6; }
16112 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16114 ln conftest.a conftest.b
2>&5 || hard_links
=no
16115 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16117 printf "%s\n" "$hard_links" >&6; }
16118 if test no
= "$hard_links"; then
16119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16120 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16130 printf %s
"checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16132 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16133 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16136 # If we're using GNU nm, then we don't want the "-C" option.
16137 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16138 # Without the "-l" option, or with the "-B" option, AIX nm treats
16139 # weak defined symbols like other global defined symbols, whereas
16140 # GNU nm marks them as "W".
16141 # While the 'weak' keyword is ignored in the Export File, we need
16142 # it in the Import File for the 'aix-soname' feature, so we have
16143 # to replace the "-B" option with "-P" for AIX nm.
16144 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
16145 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16147 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16151 export_symbols_cmds_CXX
=$ltdll_cmds
16153 cygwin
* | mingw
* | cegcc
*)
16154 case $cc_basename in
16156 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16159 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16160 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16164 linux
* | k
*bsd
*-gnu | gnu
*)
16165 link_all_deplibs_CXX
=no
16168 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16173 printf "%s\n" "$ld_shlibs_CXX" >&6; }
16174 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16176 with_gnu_ld_CXX
=$with_gnu_ld
16184 # Do we need to explicitly link libc?
16186 case "x$archive_cmds_need_lc_CXX" in
16188 # Assume -lc should be added
16189 archive_cmds_need_lc_CXX
=yes
16191 if test yes,yes = "$GCC,$enable_shared"; then
16192 case $archive_cmds_CXX in
16194 # FIXME: we may have to deal with multi-command sequences.
16197 # Test whether the compiler implicitly links with -lc since on some
16198 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16199 # to ld, don't add -lc before -lgcc.
16200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16201 printf %s
"checking whether -lc should be explicitly linked in... " >&6; }
16202 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
16204 printf %s
"(cached) " >&6
16207 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16210 (eval $ac_compile) 2>&5
16212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16213 test $ac_status = 0; } 2>conftest.err
; then
16216 libobjs
=conftest.
$ac_objext
16218 wl
=$lt_prog_compiler_wl_CXX
16219 pic_flag
=$lt_prog_compiler_pic_CXX
16225 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16226 allow_undefined_flag_CXX
=
16227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16228 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16231 test $ac_status = 0; }
16233 lt_cv_archive_cmds_need_lc_CXX
=no
16235 lt_cv_archive_cmds_need_lc_CXX
=yes
16237 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16239 cat conftest.err
1>&5
16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16245 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16246 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
16314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16315 printf %s
"checking dynamic linker characteristics... " >&6; }
16317 library_names_spec
=
16318 libname_spec
='lib$name'
16322 postuninstall_cmds
=
16326 shlibpath_overrides_runpath
=unknown
16328 dynamic_linker
="$host_os ld.so"
16329 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16330 need_lib_prefix
=unknown
16331 hardcode_into_libs
=no
16333 # when you set need_version to no, make sure it does not cause -set_version
16334 # flags to be left without arguments
16335 need_version
=unknown
16341 version_type
=linux
# correct to gnu/linux during the next big refactor
16342 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
16343 shlibpath_var
=LIBPATH
16345 # AIX 3 has no versioning support, so we append a major version to the name.
16346 soname_spec
='$libname$release$shared_ext$major'
16350 version_type
=linux
# correct to gnu/linux during the next big refactor
16353 hardcode_into_libs
=yes
16354 if test ia64
= "$host_cpu"; then
16355 # AIX 5 supports IA64
16356 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16357 shlibpath_var
=LD_LIBRARY_PATH
16359 # With GCC up to 2.95.x, collect2 would create an import file
16360 # for dependence libraries. The import file would start with
16361 # the line '#! .'. This would cause the generated library to
16362 # depend on '.', always an invalid library. This was fixed in
16363 # development snapshots of GCC prior to 3.0.
16365 aix4
| aix4.
[01] | aix4.
[01].
*)
16366 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16368 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
16371 can_build_shared
=no
16375 # Using Import Files as archive members, it is possible to support
16376 # filename-based versioning of shared library archives on AIX. While
16377 # this would work for both with and without runtime linking, it will
16378 # prevent static linking of such archives. So we do filename-based
16379 # shared library versioning with .so extension only, which is used
16380 # when both runtime linking and shared linking is enabled.
16381 # Unfortunately, runtime linking may impact performance, so we do
16382 # not want this to be the default eventually. Also, we use the
16383 # versioned .so libs for executables only if there is the -brtl
16384 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16385 # To allow for filename-based versioning support, we need to create
16386 # libNAME.so.V as an archive file, containing:
16387 # *) an Import File, referring to the versioned filename of the
16388 # archive as well as the shared archive member, telling the
16389 # bitwidth (32 or 64) of that shared object, and providing the
16390 # list of exported symbols of that shared object, eventually
16391 # decorated with the 'weak' keyword
16392 # *) the shared object with the F_LOADONLY flag set, to really avoid
16393 # it being seen by the linker.
16394 # At run time we better use the real file rather than another symlink,
16395 # but for link time we create the symlink libNAME.so -> libNAME.so.V
16397 case $with_aix_soname,$aix_use_runtimelinking in
16398 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16399 # soname into executable. Probably we can add versioning support to
16400 # collect2, so additional links can be useful in future.
16401 aix
,yes) # traditional libtool
16402 dynamic_linker
='AIX unversionable lib.so'
16403 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16404 # instead of lib<name>.a to let people know that these are not
16405 # typical AIX shared libraries.
16406 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16408 aix
,no
) # traditional AIX only
16409 dynamic_linker
='AIX lib.a(lib.so.V)'
16410 # We preserve .a as extension for shared libraries through AIX4.2
16411 # and later when we are not doing run time linking.
16412 library_names_spec
='$libname$release.a $libname.a'
16413 soname_spec
='$libname$release$shared_ext$major'
16415 svr4
,*) # full svr4 only
16416 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
16417 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
16418 # We do not specify a path in Import Files, so LIBPATH fires.
16419 shlibpath_overrides_runpath
=yes
16421 *,yes) # both, prefer svr4
16422 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16423 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
16424 # unpreferred sharedlib libNAME.a needs extra handling
16425 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16426 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16427 # We do not specify a path in Import Files, so LIBPATH fires.
16428 shlibpath_overrides_runpath
=yes
16430 *,no
) # both, prefer aix
16431 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16432 library_names_spec
='$libname$release.a $libname.a'
16433 soname_spec
='$libname$release$shared_ext$major'
16434 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16435 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16436 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16439 shlibpath_var
=LIBPATH
16446 # Since July 2007 AmigaOS4 officially supports .so libraries.
16447 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16448 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16451 library_names_spec
='$libname.ixlibrary $libname.a'
16452 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16453 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
16459 library_names_spec
='$libname$shared_ext'
16460 dynamic_linker
="$host_os ld.so"
16461 shlibpath_var
=LIBRARY_PATH
16465 version_type
=linux
# correct to gnu/linux during the next big refactor
16467 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16468 soname_spec
='$libname$release$shared_ext$major'
16469 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16470 shlibpath_var
=LD_LIBRARY_PATH
16471 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16472 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16473 # the default ld.so.conf also contains /usr/contrib/lib and
16474 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16475 # libtool to hard-code these into programs
16478 cygwin
* | mingw
* | pw32
* | cegcc
*)
16479 version_type
=windows
16484 case $GCC,$cc_basename in
16487 library_names_spec
='$libname.dll.a'
16488 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16489 postinstall_cmds
='base_file=`basename \$file`~
16490 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16491 dldir=$destdir/`dirname \$dlpath`~
16492 test -d \$dldir || mkdir -p \$dldir~
16493 $install_prog $dir/$dlname \$dldir/$dlname~
16494 chmod a+x \$dldir/$dlname~
16495 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16496 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16498 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16499 dlpath=$dir/\$dldll~
16501 shlibpath_overrides_runpath
=yes
16505 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16506 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16510 # MinGW DLLs use traditional 'lib' prefix
16511 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16514 # pw32 DLLs use 'pw' prefix rather than 'lib'
16515 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16518 dynamic_linker
='Win32 ld.exe'
16523 libname_spec
='$name'
16524 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16525 library_names_spec
='$libname.dll.lib'
16529 sys_lib_search_path_spec
=
16532 for lt_path
in $LIB
16535 # Let DOS variable expansion print the short 8.3 style file name.
16536 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16537 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
16540 # Convert to MSYS style.
16541 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16544 # Convert to unix form, then to dos form, then back to unix form
16545 # but this time dos style (no spaces!) so that the unix form looks
16546 # like /cygdrive/c/PROGRA~1:/cygdr...
16547 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
16548 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16549 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16552 sys_lib_search_path_spec
=$LIB
16553 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
16554 # It is most probably a Windows format PATH.
16555 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16557 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16559 # FIXME: find the short name or the path components, as spaces are
16560 # common. (e.g. "Program Files" -> "PROGRA~1")
16564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16565 postinstall_cmds
='base_file=`basename \$file`~
16566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16567 dldir=$destdir/`dirname \$dlpath`~
16568 test -d \$dldir || mkdir -p \$dldir~
16569 $install_prog $dir/$dlname \$dldir/$dlname'
16570 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16571 dlpath=$dir/\$dldll~
16573 shlibpath_overrides_runpath
=yes
16574 dynamic_linker
='Win32 link.exe'
16578 # Assume MSVC wrapper
16579 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
16580 dynamic_linker
='Win32 ld.exe'
16583 # FIXME: first we should search . and the directory the executable is in
16587 darwin
* | rhapsody
*)
16588 dynamic_linker
="$host_os dyld"
16589 version_type
=darwin
16592 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
16593 soname_spec
='$libname$release$major$shared_ext'
16594 shlibpath_overrides_runpath
=yes
16595 shlibpath_var
=DYLD_LIBRARY_PATH
16596 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16598 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16602 version_type
=linux
# correct to gnu/linux during the next big refactor
16605 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16606 soname_spec
='$libname$release$shared_ext$major'
16607 shlibpath_var
=LD_LIBRARY_PATH
16610 freebsd
* | dragonfly
*)
16611 # DragonFly does not have aout. When/if they implement a new
16612 # versioning mechanism, adjust this.
16613 if test -x /usr
/bin
/objformat
; then
16614 objformat
=`/usr/bin/objformat`
16617 freebsd
[23].
*) objformat
=aout
;;
16618 *) objformat
=elf
;;
16621 version_type
=freebsd
-$objformat
16622 case $version_type in
16624 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16625 soname_spec
='$libname$release$shared_ext$major'
16630 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16634 shlibpath_var
=LD_LIBRARY_PATH
16637 shlibpath_overrides_runpath
=yes
16639 freebsd3.
[01]* | freebsdelf3.
[01]*)
16640 shlibpath_overrides_runpath
=yes
16641 hardcode_into_libs
=yes
16643 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16644 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16645 shlibpath_overrides_runpath
=no
16646 hardcode_into_libs
=yes
16648 *) # from 4.6 on, and DragonFly
16649 shlibpath_overrides_runpath
=yes
16650 hardcode_into_libs
=yes
16656 version_type
=linux
# correct to gnu/linux during the next big refactor
16659 dynamic_linker
="$host_os runtime_loader"
16660 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16661 soname_spec
='$libname$release$shared_ext$major'
16662 shlibpath_var
=LIBRARY_PATH
16663 shlibpath_overrides_runpath
=no
16664 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16665 hardcode_into_libs
=yes
16668 hpux9
* | hpux10
* | hpux11
*)
16669 # Give a soname corresponding to the major version so that dld.sl refuses to
16670 # link against other versions.
16677 hardcode_into_libs
=yes
16678 dynamic_linker
="$host_os dld.so"
16679 shlibpath_var
=LD_LIBRARY_PATH
16680 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16681 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16682 soname_spec
='$libname$release$shared_ext$major'
16683 if test 32 = "$HPUX_IA64_MODE"; then
16684 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16685 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16687 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16688 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16693 hardcode_into_libs
=yes
16694 dynamic_linker
="$host_os dld.sl"
16695 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16696 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16697 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16698 soname_spec
='$libname$release$shared_ext$major'
16699 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16700 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16704 dynamic_linker
="$host_os dld.sl"
16705 shlibpath_var
=SHLIB_PATH
16706 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16707 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16708 soname_spec
='$libname$release$shared_ext$major'
16711 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16712 postinstall_cmds
='chmod 555 $lib'
16713 # or fails outright, so override atomically:
16714 install_override_mode
=555
16718 version_type
=linux
# correct to gnu/linux during the next big refactor
16721 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16722 soname_spec
='$libname$release$shared_ext$major'
16723 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16724 shlibpath_var
=LD_LIBRARY_PATH
16725 shlibpath_overrides_runpath
=no
16726 hardcode_into_libs
=yes
16729 irix5
* | irix6
* | nonstopux
*)
16731 nonstopux
*) version_type
=nonstopux
;;
16733 if test yes = "$lt_cv_prog_gnu_ld"; then
16734 version_type
=linux
# correct to gnu/linux during the next big refactor
16741 soname_spec
='$libname$release$shared_ext$major'
16742 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16744 irix5
* | nonstopux
*)
16745 libsuff
= shlibsuff
=
16748 case $LD in # libtool.m4 will add one of these switches to LD
16749 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16750 libsuff
= shlibsuff
= libmagic
=32-bit;;
16751 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16752 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16753 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16754 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16755 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16759 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16760 shlibpath_overrides_runpath
=no
16761 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16762 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16763 hardcode_into_libs
=yes
16766 # No shared lib support for Linux oldld, aout, or coff.
16767 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16772 version_type
=none
# Android doesn't support versioned libraries.
16775 library_names_spec
='$libname$release$shared_ext'
16776 soname_spec
='$libname$release$shared_ext'
16778 shlibpath_var
=LD_LIBRARY_PATH
16779 shlibpath_overrides_runpath
=yes
16781 # This implies no fast_install, which is unacceptable.
16782 # Some rework will be needed to allow for fast_install
16783 # before this can be enabled.
16784 hardcode_into_libs
=yes
16786 dynamic_linker
='Android linker'
16787 # Don't embed -rpath directories since the linker doesn't support them.
16788 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16791 # This must be glibc/ELF.
16792 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16793 version_type
=linux
# correct to gnu/linux during the next big refactor
16796 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16797 soname_spec
='$libname$release$shared_ext$major'
16798 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16799 shlibpath_var
=LD_LIBRARY_PATH
16800 shlibpath_overrides_runpath
=no
16802 # Some binutils ld are patched to set DT_RUNPATH
16803 if test ${lt_cv_shlibpath_overrides_runpath+y}
16805 printf %s
"(cached) " >&6
16807 lt_cv_shlibpath_overrides_runpath
=no
16808 save_LDFLAGS
=$LDFLAGS
16809 save_libdir
=$libdir
16810 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16811 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16823 if ac_fn_cxx_try_link
"$LINENO"
16825 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
16827 lt_cv_shlibpath_overrides_runpath
=yes
16830 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16831 conftest
$ac_exeext conftest.
$ac_ext
16832 LDFLAGS
=$save_LDFLAGS
16833 libdir
=$save_libdir
16837 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16839 # This implies no fast_install, which is unacceptable.
16840 # Some rework will be needed to allow for fast_install
16841 # before this can be enabled.
16842 hardcode_into_libs
=yes
16844 # Ideally, we could use ldconfig to report *all* directores which are
16845 # searched for libraries, however this is still not possible. Aside from not
16846 # being certain /sbin/ldconfig is available, command
16847 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16848 # even though it is searched at run-time. Try to do the best guess by
16849 # appending ld.so.conf contents (and includes) to the search path.
16850 if test -f /etc
/ld.so.conf
; then
16851 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' ' '`
16852 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16855 # We used to test for /lib/ld.so.1 and disable shared libraries on
16856 # powerpc, because MkLinux only supported shared libraries with the
16857 # GNU dynamic linker. Since this was broken with cross compilers,
16858 # most powerpc-linux boxes support dynamic linking these days and
16859 # people can always --disable-shared, the test was removed, and we
16860 # assume the GNU/Linux dynamic linker is in use.
16861 dynamic_linker
='GNU/Linux ld.so'
16868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16869 soname_spec
='${libname}${release}${shared_ext}$major'
16870 shlibpath_var
=LD_LIBRARY_PATH
16871 shlibpath_overrides_runpath
=no
16872 hardcode_into_libs
=yes
16873 dynamic_linker
='NetBSD ld.elf_so'
16880 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16881 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16883 dynamic_linker
='NetBSD (a.out) ld.so'
16885 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16886 soname_spec
='$libname$release$shared_ext$major'
16887 dynamic_linker
='NetBSD ld.elf_so'
16889 shlibpath_var
=LD_LIBRARY_PATH
16890 shlibpath_overrides_runpath
=yes
16891 hardcode_into_libs
=yes
16895 version_type
=linux
# correct to gnu/linux during the next big refactor
16896 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16897 shlibpath_var
=LD_LIBRARY_PATH
16898 shlibpath_overrides_runpath
=yes
16905 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16906 soname_spec
='$libname$release$shared_ext$major'
16907 shlibpath_var
=LD_LIBRARY_PATH
16908 shlibpath_overrides_runpath
=no
16909 hardcode_into_libs
=yes
16910 dynamic_linker
='ldqnx.so'
16913 openbsd
* | bitrig
*)
16915 sys_lib_dlsearch_path_spec
=/usr
/lib
16917 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16922 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16923 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16924 shlibpath_var
=LD_LIBRARY_PATH
16925 shlibpath_overrides_runpath
=yes
16929 libname_spec
='$name'
16930 version_type
=windows
16934 # OS/2 can only load a DLL with a base name of 8 characters or less.
16935 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16936 v=$($ECHO $release$versuffix | tr -d .-);
16937 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16938 $ECHO $n$v`$shared_ext'
16939 library_names_spec
='${libname}_dll.$libext'
16940 dynamic_linker
='OS/2 ld.exe'
16941 shlibpath_var
=BEGINLIBPATH
16942 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16943 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16944 postinstall_cmds
='base_file=`basename \$file`~
16945 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16946 dldir=$destdir/`dirname \$dlpath`~
16947 test -d \$dldir || mkdir -p \$dldir~
16948 $install_prog $dir/$dlname \$dldir/$dlname~
16949 chmod a+x \$dldir/$dlname~
16950 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16951 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16953 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16954 dlpath=$dir/\$dldll~
16958 osf3
* | osf4
* | osf5
*)
16962 soname_spec
='$libname$release$shared_ext$major'
16963 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16964 shlibpath_var
=LD_LIBRARY_PATH
16965 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16966 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16974 version_type
=linux
# correct to gnu/linux during the next big refactor
16977 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16978 soname_spec
='$libname$release$shared_ext$major'
16979 shlibpath_var
=LD_LIBRARY_PATH
16980 shlibpath_overrides_runpath
=yes
16981 hardcode_into_libs
=yes
16982 # ldd complains unless libraries are executable
16983 postinstall_cmds
='chmod +x $lib'
16988 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16989 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16990 shlibpath_var
=LD_LIBRARY_PATH
16991 shlibpath_overrides_runpath
=yes
16992 if test yes = "$with_gnu_ld"; then
16999 version_type
=linux
# correct to gnu/linux during the next big refactor
17000 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17001 soname_spec
='$libname$release$shared_ext$major'
17002 shlibpath_var
=LD_LIBRARY_PATH
17003 case $host_vendor in
17005 shlibpath_overrides_runpath
=no
17007 runpath_var
=LD_RUN_PATH
17015 shlibpath_overrides_runpath
=no
17016 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17022 if test -d /usr
/nec
; then
17023 version_type
=linux
# correct to gnu/linux during the next big refactor
17024 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17025 soname_spec
='$libname$shared_ext.$major'
17026 shlibpath_var
=LD_LIBRARY_PATH
17030 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17034 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17035 soname_spec
='$libname$release$shared_ext$major'
17036 shlibpath_var
=LD_LIBRARY_PATH
17037 shlibpath_overrides_runpath
=yes
17038 hardcode_into_libs
=yes
17039 if test yes = "$with_gnu_ld"; then
17040 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17042 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17045 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17049 sys_lib_dlsearch_path_spec
='/usr/lib'
17053 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17054 version_type
=linux
# correct to gnu/linux during the next big refactor
17057 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17058 shlibpath_var
=LD_LIBRARY_PATH
17059 shlibpath_overrides_runpath
=no
17060 hardcode_into_libs
=yes
17064 version_type
=linux
# correct to gnu/linux during the next big refactor
17065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17066 soname_spec
='$libname$release$shared_ext$major'
17067 shlibpath_var
=LD_LIBRARY_PATH
17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17075 printf "%s\n" "$dynamic_linker" >&6; }
17076 test no
= "$dynamic_linker" && can_build_shared
=no
17078 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17079 if test yes = "$GCC"; then
17080 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17083 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17084 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
17087 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17088 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
17091 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17092 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
17094 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17095 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
17097 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17098 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17140 printf %s
"checking how to hardcode library paths into programs... " >&6; }
17141 hardcode_action_CXX
=
17142 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17143 test -n "$runpath_var_CXX" ||
17144 test yes = "$hardcode_automatic_CXX"; then
17146 # We can hardcode non-existent directories.
17147 if test no
!= "$hardcode_direct_CXX" &&
17148 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17149 # have to relink, otherwise we might link with an installed library
17150 # when we should be linking with a yet-to-be-installed one
17151 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17152 test no
!= "$hardcode_minus_L_CXX"; then
17153 # Linking always hardcodes the temporary library directory.
17154 hardcode_action_CXX
=relink
17156 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17157 hardcode_action_CXX
=immediate
17160 # We cannot hardcode anything, or else we can only hardcode existing
17162 hardcode_action_CXX
=unsupported
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17165 printf "%s\n" "$hardcode_action_CXX" >&6; }
17167 if test relink
= "$hardcode_action_CXX" ||
17168 test yes = "$inherit_rpath_CXX"; then
17169 # Fast installation is not supported
17170 enable_fast_install
=no
17171 elif test yes = "$shlibpath_overrides_runpath" ||
17172 test no
= "$enable_shared"; then
17173 # Fast installation is not necessary
17174 enable_fast_install
=needless
17183 fi # test -n "$compiler"
17186 CFLAGS
=$lt_save_CFLAGS
17190 with_gnu_ld
=$lt_save_with_gnu_ld
17191 lt_cv_path_LDCXX
=$lt_cv_path_LD
17192 lt_cv_path_LD
=$lt_save_path_LD
17193 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17194 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17195 fi # test yes != "$_lt_caught_CXX_error"
17198 ac_cpp
='$CXXCPP $CPPFLAGS'
17199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17217 ac_config_commands
="$ac_config_commands libtool"
17222 # Only expand once:
17225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX options needed to detect all undeclared functions" >&5
17226 printf %s
"checking for $CXX options needed to detect all undeclared functions... " >&6; }
17227 if test ${ac_cv_cxx_undeclared_builtin_options+y}
17229 printf %s
"(cached) " >&6
17231 ac_save_CFLAGS
=$CFLAGS
17232 ac_cv_cxx_undeclared_builtin_options
='cannot detect'
17233 for ac_arg
in '' -fno-builtin; do
17234 CFLAGS
="$ac_save_CFLAGS $ac_arg"
17235 # This test program should *not* compile successfully.
17236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17247 if ac_fn_cxx_try_compile
"$LINENO"
17251 # This test program should compile successfully.
17252 # No library function is consistently available on
17253 # freestanding implementations, so test against a dummy
17254 # declaration. Include always-available headers on the
17255 # off chance that they somehow elicit warnings.
17256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17259 #include <limits.h>
17260 #include <stdarg.h>
17261 #include <stddef.h>
17262 extern void ac_decl (int, char *);
17267 (void) ac_decl (0, (char *) 0);
17274 if ac_fn_cxx_try_compile
"$LINENO"
17276 if test x
"$ac_arg" = x
17278 ac_cv_cxx_undeclared_builtin_options
='none needed'
17280 ac_cv_cxx_undeclared_builtin_options
=$ac_arg
17284 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17286 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17288 CFLAGS
=$ac_save_CFLAGS
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_undeclared_builtin_options" >&5
17292 printf "%s\n" "$ac_cv_cxx_undeclared_builtin_options" >&6; }
17293 case $ac_cv_cxx_undeclared_builtin_options in #(
17295 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17296 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17297 as_fn_error $?
"cannot make $CXX report undeclared builtins
17298 See \`config.log' for more details" "$LINENO" 5; } ;; #(
17300 ac_cxx_undeclared_builtin_options
='' ;; #(
17302 ac_cxx_undeclared_builtin_options
=$ac_cv_cxx_undeclared_builtin_options ;;
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
17306 printf %s
"checking what extension is used for runtime loadable modules... " >&6; }
17307 if test ${libltdl_cv_shlibext+y}
17309 printf %s
"(cached) " >&6
17313 eval libltdl_cv_shlibext
=$shrext_cmds
17315 eval libltdl_cv_shrext
=$shrext_cmds
17318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
17319 printf "%s\n" "$libltdl_cv_shlibext" >&6; }
17320 if test -n "$libltdl_cv_shlibext"; then
17322 printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h
17325 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
17327 printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h
17330 if test -n "$shared_archive_member_spec"; then
17332 printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
17337 printf %s
"checking what variable specifies run-time module search path... " >&6; }
17338 if test ${lt_cv_module_path_var+y}
17340 printf %s
"(cached) " >&6
17342 lt_cv_module_path_var
=$shlibpath_var
17344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
17345 printf "%s\n" "$lt_cv_module_path_var" >&6; }
17346 if test -n "$lt_cv_module_path_var"; then
17348 printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h
17352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
17353 printf %s
"checking for the default library search path... " >&6; }
17354 if test ${lt_cv_sys_dlsearch_path+y}
17356 printf %s
"(cached) " >&6
17358 lt_cv_sys_dlsearch_path
=$sys_lib_dlsearch_path_spec
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
17361 printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; }
17362 if test -n "$lt_cv_sys_dlsearch_path"; then
17364 for dir
in $lt_cv_sys_dlsearch_path; do
17365 if test -z "$sys_dlsearch_path"; then
17366 sys_dlsearch_path
=$dir
17368 sys_dlsearch_path
=$sys_dlsearch_path$PATH_SEPARATOR$dir
17372 printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h
17376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
17377 printf %s
"checking for $CC options needed to detect all undeclared functions... " >&6; }
17378 if test ${ac_cv_c_undeclared_builtin_options+y}
17380 printf %s
"(cached) " >&6
17382 ac_save_CFLAGS
=$CFLAGS
17383 ac_cv_c_undeclared_builtin_options
='cannot detect'
17384 for ac_arg
in '' -fno-builtin; do
17385 CFLAGS
="$ac_save_CFLAGS $ac_arg"
17386 # This test program should *not* compile successfully.
17387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17398 if ac_fn_c_try_compile
"$LINENO"
17402 # This test program should compile successfully.
17403 # No library function is consistently available on
17404 # freestanding implementations, so test against a dummy
17405 # declaration. Include always-available headers on the
17406 # off chance that they somehow elicit warnings.
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17410 #include <limits.h>
17411 #include <stdarg.h>
17412 #include <stddef.h>
17413 extern void ac_decl (int, char *);
17418 (void) ac_decl (0, (char *) 0);
17425 if ac_fn_c_try_compile
"$LINENO"
17427 if test x
"$ac_arg" = x
17429 ac_cv_c_undeclared_builtin_options
='none needed'
17431 ac_cv_c_undeclared_builtin_options
=$ac_arg
17435 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17437 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17439 CFLAGS
=$ac_save_CFLAGS
17442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
17443 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
17444 case $ac_cv_c_undeclared_builtin_options in #(
17446 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17447 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17448 as_fn_error $?
"cannot make $CC report undeclared builtins
17449 See \`config.log' for more details" "$LINENO" 5; } ;; #(
17451 ac_c_undeclared_builtin_options
='' ;; #(
17453 ac_c_undeclared_builtin_options
=$ac_cv_c_undeclared_builtin_options ;;
17461 ac_cpp
='$CPP $CPPFLAGS'
17462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17466 lt_dlload_save_LIBS
=$LIBS
17469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17470 printf %s
"checking for library containing dlopen... " >&6; }
17471 if test ${ac_cv_search_dlopen+y}
17473 printf %s
"(cached) " >&6
17475 ac_func_search_save_LIBS
=$LIBS
17476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17479 /* Override any GCC internal prototype to avoid an error.
17480 Use char because int might match the return type of a GCC
17481 builtin and then its argument prototype would still apply. */
17491 for ac_lib
in '' dl
17493 if test -z "$ac_lib"; then
17494 ac_res
="none required"
17497 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17499 if ac_fn_c_try_link
"$LINENO"
17501 ac_cv_search_dlopen
=$ac_res
17503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17505 if test ${ac_cv_search_dlopen+y}
17510 if test ${ac_cv_search_dlopen+y}
17514 ac_cv_search_dlopen
=no
17516 rm conftest.
$ac_ext
17517 LIBS
=$ac_func_search_save_LIBS
17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17520 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
17521 ac_res
=$ac_cv_search_dlopen
17522 if test "$ac_res" != no
17524 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17526 printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
17528 if test "$ac_cv_search_dlopen" != "none required"; then
17531 libltdl_cv_lib_dl_dlopen
=yes
17532 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
17534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17537 # include <dlfcn.h>
17548 if ac_fn_c_try_link
"$LINENO"
17551 printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
17553 libltdl_cv_func_dlopen
=yes
17554 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
17556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
17557 printf %s
"checking for dlopen in -lsvld... " >&6; }
17558 if test ${ac_cv_lib_svld_dlopen+y}
17560 printf %s
"(cached) " >&6
17562 ac_check_lib_save_LIBS
=$LIBS
17563 LIBS
="-lsvld $LIBS"
17564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17567 /* Override any GCC internal prototype to avoid an error.
17568 Use char because int might match the return type of a GCC
17569 builtin and then its argument prototype would still apply. */
17579 if ac_fn_c_try_link
"$LINENO"
17581 ac_cv_lib_svld_dlopen
=yes
17583 ac_cv_lib_svld_dlopen
=no
17585 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17586 conftest
$ac_exeext conftest.
$ac_ext
17587 LIBS
=$ac_check_lib_save_LIBS
17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
17590 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
17591 if test "x$ac_cv_lib_svld_dlopen" = xyes
17594 printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
17596 LIBADD_DLOPEN
=-lsvld libltdl_cv_func_dlopen
=yes
17597 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
17601 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17602 conftest
$ac_exeext conftest.
$ac_ext
17605 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
17608 LIBS
="$LIBS $LIBADD_DLOPEN"
17609 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
17610 if test "x$ac_cv_func_dlerror" = xyes
17612 printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h
17621 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
17622 if test "x$ac_cv_func_shl_load" = xyes
17625 printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
17627 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
17630 printf %s
"checking for shl_load in -ldld... " >&6; }
17631 if test ${ac_cv_lib_dld_shl_load+y}
17633 printf %s
"(cached) " >&6
17635 ac_check_lib_save_LIBS
=$LIBS
17637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17647 return shl_load ();
17652 if ac_fn_c_try_link
"$LINENO"
17654 ac_cv_lib_dld_shl_load
=yes
17656 ac_cv_lib_dld_shl_load
=no
17658 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17659 conftest
$ac_exeext conftest.
$ac_ext
17660 LIBS
=$ac_check_lib_save_LIBS
17662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
17663 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
17664 if test "x$ac_cv_lib_dld_shl_load" = xyes
17667 printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
17669 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
17670 LIBADD_SHL_LOAD
=-ldld
17679 # We only want this for pre-Mac OS X 10.4.
17680 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
17681 if test "x$ac_cv_func__dyld_func_lookup" = xyes
17684 printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h
17686 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
17691 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
17693 cygwin
* | mingw
* | pw32
*)
17694 ac_fn_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
17695 " "$ac_c_undeclared_builtin_options" "CFLAGS"
17696 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
17702 printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h
17704 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
17708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
17709 printf %s
"checking for dld_link in -ldld... " >&6; }
17710 if test ${ac_cv_lib_dld_dld_link+y}
17712 printf %s
"(cached) " >&6
17714 ac_check_lib_save_LIBS
=$LIBS
17716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17719 /* Override any GCC internal prototype to avoid an error.
17720 Use char because int might match the return type of a GCC
17721 builtin and then its argument prototype would still apply. */
17726 return dld_link ();
17731 if ac_fn_c_try_link
"$LINENO"
17733 ac_cv_lib_dld_dld_link
=yes
17735 ac_cv_lib_dld_dld_link
=no
17737 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17738 conftest
$ac_exeext conftest.
$ac_ext
17739 LIBS
=$ac_check_lib_save_LIBS
17741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
17742 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
17743 if test "x$ac_cv_lib_dld_dld_link" = xyes
17746 printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h
17748 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
17755 if test -n "$LT_DLLOADERS"
17757 for lt_loader
in $LT_DLLOADERS; do
17758 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
17761 printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h
17766 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
17769 LIBS
=$lt_dlload_save_LIBS
17771 ac_cpp
='$CXXCPP $CPPFLAGS'
17772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
17778 printf %s
"checking for _ prefix in compiled symbols... " >&6; }
17779 if test ${lt_cv_sys_symbol_underscore+y}
17781 printf %s
"(cached) " >&6
17783 lt_cv_sys_symbol_underscore
=no
17784 cat > conftest.
$ac_ext <<_LT_EOF
17785 void nm_test_func(){}
17786 int main(){nm_test_func;return 0;}
17788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17789 (eval $ac_compile) 2>&5
17791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17792 test $ac_status = 0; }; then
17793 # Now try to grab the symbols.
17794 ac_nlist
=conftest.nm
17795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
17796 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
17798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17799 test $ac_status = 0; } && test -s "$ac_nlist"; then
17800 # See whether the symbols have a leading underscore.
17801 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
17802 lt_cv_sys_symbol_underscore
=yes
17804 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
17807 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
17811 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
17814 echo "configure: failed program was:" >&5
17820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
17821 printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; }
17822 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
17825 if test yes = "$lt_cv_sys_symbol_underscore"; then
17826 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
17827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
17828 printf %s
"checking whether we have to add an underscore for dlsym... " >&6; }
17829 if test ${libltdl_cv_need_uscore+y}
17831 printf %s
"(cached) " >&6
17833 libltdl_cv_need_uscore
=unknown
17834 dlsym_uscore_save_LIBS
=$LIBS
17835 LIBS
="$LIBS $LIBADD_DLOPEN"
17836 libname
=conftmod
# stay within 8.3 filename limits!
17837 cat >$libname.
$ac_ext <<_LT_EOF
17838 #line $LINENO "configure"
17839 #include "confdefs.h"
17840 /* When -fvisibility=hidden is used, assume the code has been annotated
17841 correspondingly for the symbols needed. */
17842 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
17843 int fnord () __attribute__((visibility("default")));
17845 int fnord () { return 42; }
17848 # ltfn_module_cmds module_cmds
17849 # Execute tilde-delimited MODULE_CMDS with environment primed for
17850 # $module_cmds or $archive_cmds type content.
17851 ltfn_module_cmds
()
17852 {( # subshell avoids polluting parent global environment
17853 module_cmds_save_ifs
=$IFS; IFS
='~'
17855 IFS
=$module_cmds_save_ifs
17856 libobjs
=$libname.
$ac_objext; lib
=$libname$libltdl_cv_shlibext
17857 rpath
=/not
-exists; soname
=$libname$libltdl_cv_shlibext; output_objdir
=.
17858 major
=; versuffix
=; verstring
=; deplibs
=
17859 ECHO
=echo; wl
=$lt_prog_compiler_wl; allow_undefined_flag
=
17862 IFS
=$module_cmds_save_ifs
17865 # Compile a loadable module using libtool macro expansion results.
17866 $CC $pic_flag -c $libname.
$ac_ext
17867 ltfn_module_cmds
"${module_cmds:-$archive_cmds}"
17869 # Try to fetch fnord with dlsym().
17870 libltdl_dlunknown
=0; libltdl_dlnouscore
=1; libltdl_dluscore
=2
17871 cat >conftest.
$ac_ext <<_LT_EOF
17872 #line $LINENO "configure"
17873 #include "confdefs.h"
17878 #ifndef RTLD_GLOBAL
17880 # define RTLD_GLOBAL DL_GLOBAL
17882 # define RTLD_GLOBAL 0
17887 # define RTLD_NOW DL_NOW
17889 # define RTLD_NOW 0
17893 void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
17894 int status = $libltdl_dlunknown;
17896 if (dlsym (handle, "fnord"))
17897 status = $libltdl_dlnouscore;
17899 if (dlsym (handle, "_fnord"))
17900 status = $libltdl_dluscore;
17910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17911 (eval $ac_link) 2>&5
17913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17914 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
17915 (.
/conftest
; exit; ) >&5 2>/dev
/null
17917 case x
$libltdl_status in
17918 x
$libltdl_dlnouscore) libltdl_cv_need_uscore
=no
;;
17919 x
$libltdl_dluscore) libltdl_cv_need_uscore
=yes ;;
17920 x
*) libltdl_cv_need_uscore
=unknown
;;
17923 rm -rf conftest
* $libname*
17924 LIBS
=$dlsym_uscore_save_LIBS
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
17928 printf "%s\n" "$libltdl_cv_need_uscore" >&6; }
17932 if test yes = "$libltdl_cv_need_uscore"; then
17934 printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h
17938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
17939 printf %s
"checking whether deplibs are loaded by dlopen... " >&6; }
17940 if test ${lt_cv_sys_dlopen_deplibs+y}
17942 printf %s
"(cached) " >&6
17944 # PORTME does your system automatically load deplibs for dlopen?
17945 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
17946 # For now, we just catch OSes we know something about -- in the
17947 # future, we'll try test this programmatically.
17948 lt_cv_sys_dlopen_deplibs
=unknown
17950 aix3
*|aix4.1.
*|aix4.2.
*)
17951 # Unknown whether this is true for these versions of AIX, but
17952 # we want this 'case' here to explicitly catch those versions.
17953 lt_cv_sys_dlopen_deplibs
=unknown
17956 lt_cv_sys_dlopen_deplibs
=yes
17961 lt_cv_sys_dlopen_deplibs
=no
17966 lt_cv_sys_dlopen_deplibs
=yes
17969 # Assuming the user has installed a libdl from somewhere, this is true
17970 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
17971 lt_cv_sys_dlopen_deplibs
=yes
17973 freebsd
* | dragonfly
*)
17974 lt_cv_sys_dlopen_deplibs
=yes
17976 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17977 # GNU and its variants, using gnu ld.so (Glibc)
17978 lt_cv_sys_dlopen_deplibs
=yes
17981 lt_cv_sys_dlopen_deplibs
=yes
17984 lt_cv_sys_dlopen_deplibs
=yes
17986 irix
[12345]*|irix6.
[01]*)
17987 # Catch all versions of IRIX before 6.2, and indicate that we don't
17988 # know how it worked for any of those versions.
17989 lt_cv_sys_dlopen_deplibs
=unknown
17992 # The case above catches anything before 6.2, and it's known that
17993 # at 6.2 and later dlopen does load deplibs.
17994 lt_cv_sys_dlopen_deplibs
=yes
17996 netbsd
* | netbsdelf
*-gnu)
17997 lt_cv_sys_dlopen_deplibs
=yes
18000 lt_cv_sys_dlopen_deplibs
=yes
18003 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
18004 # it did *not* use an RPATH in a shared library to find objects the
18005 # library depends on, so we explicitly say 'no'.
18006 lt_cv_sys_dlopen_deplibs
=no
18008 osf5.0
|osf5.0a
|osf5.1
)
18009 # dlopen *does* load deplibs and with the right loader patch applied
18010 # it even uses RPATH in a shared library to search for shared objects
18011 # that the library depends on, but there's no easy way to know if that
18012 # patch is installed. Since this is the case, all we can really
18013 # say is unknown -- it depends on the patch being installed. If
18014 # it is, this changes to 'yes'. Without it, it would be 'no'.
18015 lt_cv_sys_dlopen_deplibs
=unknown
18018 # the two cases above should catch all versions of osf <= 5.1. Read
18019 # the comments above for what we know about them.
18020 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
18021 # is used to find them so we can finally say 'yes'.
18022 lt_cv_sys_dlopen_deplibs
=yes
18025 lt_cv_sys_dlopen_deplibs
=yes
18028 lt_cv_sys_dlopen_deplibs
=yes
18030 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18031 libltdl_cv_sys_dlopen_deplibs
=yes
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
18037 printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; }
18038 if test yes != "$lt_cv_sys_dlopen_deplibs"; then
18040 printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
18045 ac_fn_cxx_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
18047 if test "x$ac_cv_header_argz_h" = xyes
18049 printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h
18054 ac_fn_cxx_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
18058 if test "x$ac_cv_type_error_t" = xyes
18061 printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h
18066 printf "%s\n" "#define error_t int" >>confdefs.h
18069 printf "%s\n" "#define __error_t_defined 1" >>confdefs.h
18076 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify
18078 as_ac_var
=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
18079 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18080 if eval test \"x\$
"$as_ac_var"\" = x
"yes"
18082 cat >>confdefs.h
<<_ACEOF
18083 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
18087 LT_ARGZ_H
=lt__argz.h
;
18089 _LT_LIBOBJS
="$_LT_LIBOBJS lt__argz.$ac_objext"
18095 if test -z "$LT_ARGZ_H"
18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
18098 printf %s
"checking if argz actually works... " >&6; }
18099 if test ${lt_cv_sys_argz_works+y}
18101 printf %s
"(cached) " >&6
18103 case $host_os in #(
18105 lt_cv_sys_argz_works
=no
18106 if test no
!= "$cross_compiling"; then
18107 lt_cv_sys_argz_works
="guessing no"
18109 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
18112 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
18117 if test 1 -lt "$lt_os_major" \
18118 || { test 1 -eq "$lt_os_major" \
18119 && { test 5 -lt "$lt_os_minor" \
18120 || { test 5 -eq "$lt_os_minor" \
18121 && test 24 -lt "$lt_os_micro"; }; }; }; then
18122 lt_cv_sys_argz_works
=yes
18126 *) lt_cv_sys_argz_works
=yes ;;
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
18130 printf "%s\n" "$lt_cv_sys_argz_works" >&6; }
18131 if test yes = "$lt_cv_sys_argz_works"
18134 printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
18137 LT_ARGZ_H
=lt__argz.h
18140 _LT_LIBOBJS
="$_LT_LIBOBJS lt__argz.$ac_objext"
18147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
18148 printf %s
"checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
18149 if test ${libltdl_cv_preloaded_symbols+y}
18151 printf %s
"(cached) " >&6
18153 if test -n "$lt_cv_sys_global_symbol_pipe"; then
18154 libltdl_cv_preloaded_symbols
=yes
18156 libltdl_cv_preloaded_symbols
=no
18160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
18161 printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; }
18162 if test yes = "$libltdl_cv_preloaded_symbols"; then
18164 printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
18183 # Check whether --with-included_ltdl was given.
18184 if test ${with_included_ltdl+y}
18186 withval
=$with_included_ltdl;
18190 if test yes != "$with_included_ltdl"; then
18191 # We are not being forced to use the included libltdl sources, so
18192 # decide whether there is a useful installed version we can use.
18193 ac_fn_cxx_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
18196 if test "x$ac_cv_header_ltdl_h" = xyes
18198 ac_fn_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
18200 " "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
18201 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
18204 printf %s
"checking for lt_dladvise_preload in -lltdl... " >&6; }
18205 if test ${ac_cv_lib_ltdl_lt_dladvise_preload+y}
18207 printf %s
"(cached) " >&6
18209 ac_check_lib_save_LIBS
=$LIBS
18210 LIBS
="-lltdl $LIBS"
18211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 namespace conftest {
18215 extern "C" int lt_dladvise_preload ();
18220 return conftest::lt_dladvise_preload ();
18225 if ac_fn_cxx_try_link
"$LINENO"
18227 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
18229 ac_cv_lib_ltdl_lt_dladvise_preload
=no
18231 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18232 conftest
$ac_exeext conftest.
$ac_ext
18233 LIBS
=$ac_check_lib_save_LIBS
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
18236 printf "%s\n" "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
18237 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
18239 with_included_ltdl
=no
18241 with_included_ltdl
=yes
18245 with_included_ltdl
=yes
18248 with_included_ltdl
=yes
18256 # Check whether --with-ltdl_include was given.
18257 if test ${with_ltdl_include+y}
18259 withval
=$with_ltdl_include;
18263 if test -n "$with_ltdl_include"; then
18264 if test -f "$with_ltdl_include/ltdl.h"; then :
18266 as_fn_error $?
"invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
18269 with_ltdl_include
=no
18273 # Check whether --with-ltdl_lib was given.
18274 if test ${with_ltdl_lib+y}
18276 withval
=$with_ltdl_lib;
18280 if test -n "$with_ltdl_lib"; then
18281 if test -f "$with_ltdl_lib/libltdl.la"; then :
18283 as_fn_error $?
"invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
18289 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
18291 case $enable_ltdl_convenience in
18292 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
18293 "") enable_ltdl_convenience
=yes
18294 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
18296 LIBLTDL
='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
18298 LTDLINCL
='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
18304 # For backwards non-gettext consistent compatibility...
18310 # If the included ltdl is not to be used, then use the
18311 # preinstalled libltdl we found.
18313 printf "%s\n" "#define HAVE_LTDL 1" >>confdefs.h
18320 as_fn_error $?
"'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
18322 *) with_included_ltdl
=no
18323 LIBLTDL
="-L$with_ltdl_lib -lltdl"
18325 LTDLINCL
=-I$with_ltdl_include
18330 # Report our decision...
18331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
18332 printf %s
"checking where to find libltdl headers... " >&6; }
18333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
18334 printf "%s\n" "$LTDLINCL" >&6; }
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
18336 printf %s
"checking where to find libltdl library... " >&6; }
18337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
18338 printf "%s\n" "$LIBLTDL" >&6; }
18342 # Check whether --enable-ltdl-install was given.
18343 if test ${enable_ltdl_install+y}
18345 enableval
=$enable_ltdl_install;
18349 case ,$enable_ltdl_install,$enable_ltdl_convenience in
18351 *) enable_ltdl_convenience
=yes ;;
18354 if test no
!= "${enable_ltdl_install-no}"; then
18356 INSTALL_LTDL_FALSE
='#'
18358 INSTALL_LTDL_TRUE
='#'
18359 INSTALL_LTDL_FALSE
=
18362 if test no
!= "${enable_ltdl_convenience-no}"; then
18363 CONVENIENCE_LTDL_TRUE
=
18364 CONVENIENCE_LTDL_FALSE
='#'
18366 CONVENIENCE_LTDL_TRUE
='#'
18367 CONVENIENCE_LTDL_FALSE
=
18372 subdirs
="$subdirs libltdl"
18377 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
18378 # the user used. This is so that ltdl.h can pick up the parent projects
18379 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
18380 # definitions required by ltdl.c.
18381 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
18385 ac_fn_cxx_check_header_compile
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
18387 if test "x$ac_cv_header_unistd_h" = xyes
18389 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
18392 ac_fn_cxx_check_header_compile
"$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default
18394 if test "x$ac_cv_header_dl_h" = xyes
18396 printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
18399 ac_fn_cxx_check_header_compile
"$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default
18401 if test "x$ac_cv_header_sys_dl_h" = xyes
18403 printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h
18406 ac_fn_cxx_check_header_compile
"$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default
18408 if test "x$ac_cv_header_dld_h" = xyes
18410 printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h
18413 ac_fn_cxx_check_header_compile
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default
18415 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
18417 printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h
18420 ac_fn_cxx_check_header_compile
"$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default
18422 if test "x$ac_cv_header_dirent_h" = xyes
18424 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
18430 for ac_func
in closedir opendir readdir
18432 as_ac_var
=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
18433 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18434 if eval test \"x\$
"$as_ac_var"\" = x
"yes"
18436 cat >>confdefs.h
<<_ACEOF
18437 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
18443 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
18449 for ac_func
in strlcat strlcpy
18451 as_ac_var
=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
18452 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18453 if eval test \"x\$
"$as_ac_var"\" = x
"yes"
18455 cat >>confdefs.h
<<_ACEOF
18456 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
18462 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
18469 printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h
18473 eval "lt_libprefix=\"$libname_spec\""
18475 printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h
18479 eval "LTDLOPEN=\"$libname_spec\""
18488 # Only expand once:
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
18494 printf %s
"checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
18495 # Check whether --enable-maintainer-mode was given.
18496 if test ${enable_maintainer_mode+y}
18498 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
18500 USE_MAINTAINER_MODE
=no
18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
18504 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
18505 if test $USE_MAINTAINER_MODE = yes; then
18506 MAINTAINER_MODE_TRUE
=
18507 MAINTAINER_MODE_FALSE
='#'
18509 MAINTAINER_MODE_TRUE
='#'
18510 MAINTAINER_MODE_FALSE
=
18513 MAINT
=$MAINTAINER_MODE_TRUE
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
18517 printf %s
"checking for library containing strerror... " >&6; }
18518 if test ${ac_cv_search_strerror+y}
18520 printf %s
"(cached) " >&6
18522 ac_func_search_save_LIBS
=$LIBS
18523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18526 namespace conftest {
18527 extern "C" int strerror ();
18532 return conftest::strerror ();
18537 for ac_lib
in '' cposix
18539 if test -z "$ac_lib"; then
18540 ac_res
="none required"
18543 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18545 if ac_fn_cxx_try_link
"$LINENO"
18547 ac_cv_search_strerror
=$ac_res
18549 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18551 if test ${ac_cv_search_strerror+y}
18556 if test ${ac_cv_search_strerror+y}
18560 ac_cv_search_strerror
=no
18562 rm conftest.
$ac_ext
18563 LIBS
=$ac_func_search_save_LIBS
18565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
18566 printf "%s\n" "$ac_cv_search_strerror" >&6; }
18567 ac_res
=$ac_cv_search_strerror
18568 if test "$ac_res" != no
18570 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18575 CXXFLAGS
="-W -Wall -pipe -I\$(top_srcdir)/libltdl"
18576 CXXFLAGS
="$CXXFLAGS -I\$(top_srcdir)/db"
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to detect pthread libraries" >&5
18582 printf %s
"checking whether to detect pthread libraries... " >&6; }
18584 # Check whether --enable-threads was given.
18585 if test ${enable_threads+y}
18587 enableval
=$enable_threads; check_threadLib
=$enable_threads
18589 check_threadLib
=yes
18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $check_threadLib" >&5
18594 printf "%s\n" "$check_threadLib" >&6; }
18596 gcc_support_pthread
=no
18597 if test "$check_threadLib" = yes; then
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gcc accepts the -pthread option" >&5
18600 printf %s
"checking whether gcc accepts the -pthread option... " >&6; }
18601 pthreadtest
=`$CXX -pthread 2>&1 | grep -c unrecognized`
18603 if test "x$pthreadtest" = "x0" ; then
18604 gcc_support_pthread
=yes
18608 gcc_support_pthread
=no
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gcc_support_pthread" >&5
18611 printf "%s\n" "$gcc_support_pthread" >&6; }
18614 if test x
"$gcc_support_pthread" = xno
; then
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
18617 printf %s
"checking for pthread_create in -lpthread... " >&6; }
18618 if test ${ac_cv_lib_pthread_pthread_create+y}
18620 printf %s
"(cached) " >&6
18622 ac_check_lib_save_LIBS
=$LIBS
18623 LIBS
="-lpthread $LIBS"
18624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18627 namespace conftest {
18628 extern "C" int pthread_create ();
18633 return conftest::pthread_create ();
18638 if ac_fn_cxx_try_link
"$LINENO"
18640 ac_cv_lib_pthread_pthread_create
=yes
18642 ac_cv_lib_pthread_pthread_create
=no
18644 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18645 conftest
$ac_exeext conftest.
$ac_ext
18646 LIBS
=$ac_check_lib_save_LIBS
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
18649 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
18650 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
18655 if test x
"$pthread_found" = xyes
; then
18657 threadLib
=-lpthread
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
18660 printf %s
"checking for pthread_create in -lc_r... " >&6; }
18661 if test ${ac_cv_lib_c_r_pthread_create+y}
18663 printf %s
"(cached) " >&6
18665 ac_check_lib_save_LIBS
=$LIBS
18667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18670 namespace conftest {
18671 extern "C" int pthread_create ();
18676 return conftest::pthread_create ();
18681 if ac_fn_cxx_try_link
"$LINENO"
18683 ac_cv_lib_c_r_pthread_create
=yes
18685 ac_cv_lib_c_r_pthread_create
=no
18687 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18688 conftest
$ac_exeext conftest.
$ac_ext
18689 LIBS
=$ac_check_lib_save_LIBS
18691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
18692 printf "%s\n" "$ac_cv_lib_c_r_pthread_create" >&6; }
18693 if test "x$ac_cv_lib_c_r_pthread_create" = xyes
18698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lgcc_r" >&5
18699 printf %s
"checking for main in -lgcc_r... " >&6; }
18700 if test ${ac_cv_lib_gcc_r_main+y}
18702 printf %s
"(cached) " >&6
18704 ac_check_lib_save_LIBS
=$LIBS
18705 LIBS
="-lgcc_r $LIBS"
18706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18709 namespace conftest {
18710 extern "C" int main ();
18715 return conftest::main ();
18720 if ac_fn_cxx_try_link
"$LINENO"
18722 ac_cv_lib_gcc_r_main
=yes
18724 ac_cv_lib_gcc_r_main
=no
18726 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18727 conftest
$ac_exeext conftest.
$ac_ext
18728 LIBS
=$ac_check_lib_save_LIBS
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcc_r_main" >&5
18731 printf "%s\n" "$ac_cv_lib_gcc_r_main" >&6; }
18732 if test "x$ac_cv_lib_gcc_r_main" = xyes
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
18743 printf %s
"checking for socket in -lsocket... " >&6; }
18744 if test ${ac_cv_lib_socket_socket+y}
18746 printf %s
"(cached) " >&6
18748 ac_check_lib_save_LIBS
=$LIBS
18749 LIBS
="-lsocket $LIBS"
18750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h. */
18753 namespace conftest {
18754 extern "C" int socket ();
18759 return conftest::socket ();
18764 if ac_fn_cxx_try_link
"$LINENO"
18766 ac_cv_lib_socket_socket
=yes
18768 ac_cv_lib_socket_socket
=no
18770 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18771 conftest
$ac_exeext conftest.
$ac_ext
18772 LIBS
=$ac_check_lib_save_LIBS
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
18775 printf "%s\n" "$ac_cv_lib_socket_socket" >&6; }
18776 if test "x$ac_cv_lib_socket_socket" = xyes
18778 printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h
18780 LIBS
="-lsocket $LIBS"
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
18785 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
18786 if test ${ac_cv_lib_nsl_gethostbyname+y}
18788 printf %s
"(cached) " >&6
18790 ac_check_lib_save_LIBS
=$LIBS
18792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18795 namespace conftest {
18796 extern "C" int gethostbyname ();
18801 return conftest::gethostbyname ();
18806 if ac_fn_cxx_try_link
"$LINENO"
18808 ac_cv_lib_nsl_gethostbyname
=yes
18810 ac_cv_lib_nsl_gethostbyname
=no
18812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18813 conftest
$ac_exeext conftest.
$ac_ext
18814 LIBS
=$ac_check_lib_save_LIBS
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
18817 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
18818 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
18820 printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
18828 printf %s
"checking for pcre_compile in -lpcre... " >&6; }
18829 if test ${ac_cv_lib_pcre_pcre_compile+y}
18831 printf %s
"(cached) " >&6
18833 ac_check_lib_save_LIBS
=$LIBS
18834 LIBS
="-lpcre $LIBS"
18835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18838 namespace conftest {
18839 extern "C" int pcre_compile ();
18844 return conftest::pcre_compile ();
18849 if ac_fn_cxx_try_link
"$LINENO"
18851 ac_cv_lib_pcre_pcre_compile
=yes
18853 ac_cv_lib_pcre_pcre_compile
=no
18855 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18856 conftest
$ac_exeext conftest.
$ac_ext
18857 LIBS
=$ac_check_lib_save_LIBS
18859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
18860 printf "%s\n" "$ac_cv_lib_pcre_pcre_compile" >&6; }
18861 if test "x$ac_cv_lib_pcre_pcre_compile" = xyes
18865 COND_PCRE_FALSE
='#'
18872 if /bin
/false
; then
18874 COND_PCRE_FALSE
='#'
18884 ac_fn_cxx_check_header_compile
"$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
18885 if test "x$ac_cv_header_sys_file_h" = xyes
18887 printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
18890 ac_fn_cxx_check_header_compile
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18891 if test "x$ac_cv_header_unistd_h" = xyes
18893 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
18896 ac_fn_cxx_check_header_compile
"$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
18897 if test "x$ac_cv_header_sys_stat_h" = xyes
18899 printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
18902 ac_fn_cxx_check_header_compile
"$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
18903 if test "x$ac_cv_header_sys_ioctl_h" = xyes
18905 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
18908 ac_fn_cxx_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
18909 if test "x$ac_cv_header_sys_resource_h" = xyes
18911 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
18915 ac_fn_cxx_check_header_compile
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18916 if test "x$ac_cv_header_sys_time_h" = xyes
18918 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
18921 ac_fn_cxx_check_header_compile
"$LINENO" "asm/ioctls.h" "ac_cv_header_asm_ioctls_h" "$ac_includes_default"
18922 if test "x$ac_cv_header_asm_ioctls_h" = xyes
18924 printf "%s\n" "#define HAVE_ASM_IOCTLS_H 1" >>confdefs.h
18927 ac_fn_cxx_check_header_compile
"$LINENO" "xti_inet.h" "ac_cv_header_xti_inet_h" "$ac_includes_default"
18928 if test "x$ac_cv_header_xti_inet_h" = xyes
18930 printf "%s\n" "#define HAVE_XTI_INET_H 1" >>confdefs.h
18933 ac_fn_cxx_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
18934 if test "x$ac_cv_header_sys_filio_h" = xyes
18936 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
18939 ac_fn_cxx_check_header_compile
"$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
18940 if test "x$ac_cv_header_getopt_h" = xyes
18942 printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h
18946 ac_fn_cxx_check_header_compile
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18947 if test "x$ac_cv_header_sys_types_h" = xyes
18949 printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
18952 ac_fn_cxx_check_header_compile
"$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
18953 if test "x$ac_cv_header_sys_socket_h" = xyes
18955 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
18958 ac_fn_cxx_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
18959 if test "x$ac_cv_header_netinet_in_h" = xyes
18961 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
18964 ac_fn_cxx_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
18965 if test "x$ac_cv_header_sys_un_h" = xyes
18967 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
18970 ac_fn_cxx_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
18971 if test "x$ac_cv_header_pthread_h" = xyes
18973 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
18978 # Autoupdate added the next two lines to ensure that your configure
18979 # script's behavior did not change. They are probably safe to remove.
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18982 printf %s
"checking for egrep... " >&6; }
18983 if test ${ac_cv_path_EGREP+y}
18985 printf %s
"(cached) " >&6
18987 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18988 then ac_cv_path_EGREP
="$GREP -E"
18990 if test -z "$EGREP"; then
18991 ac_path_EGREP_found
=false
18992 # Loop through the user's path and test for each of PROGNAME-LIST
18993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18994 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18997 case $as_dir in #(((
19000 *) as_dir
=$as_dir/ ;;
19002 for ac_prog
in egrep
19004 for ac_exec_ext
in '' $ac_executable_extensions; do
19005 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
19006 as_fn_executable_p
"$ac_path_EGREP" || continue
19007 # Check for GNU ac_path_EGREP and select it if it is found.
19008 # Check for GNU $ac_path_EGREP
19009 case `"$ac_path_EGREP" --version 2>&1` in
19011 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
19014 printf %s
0123456789 >"conftest.in"
19017 cat "conftest.in" "conftest.in" >"conftest.tmp"
19018 mv "conftest.tmp" "conftest.in"
19019 cp "conftest.in" "conftest.nl"
19020 printf "%s\n" 'EGREP' >> "conftest.nl"
19021 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
19022 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
19023 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
19024 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
19025 # Best one so far, save it but keep looking for a better one
19026 ac_cv_path_EGREP
="$ac_path_EGREP"
19027 ac_path_EGREP_max
=$ac_count
19029 # 10*(2^10) chars as input seems more than enough
19030 test $ac_count -gt 10 && break
19032 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
19035 $ac_path_EGREP_found && break 3
19040 if test -z "$ac_cv_path_EGREP"; then
19041 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
19044 ac_cv_path_EGREP
=$EGREP
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
19050 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
19051 EGREP
="$ac_cv_path_EGREP"
19055 ac_header
= ac_cache
=
19056 for ac_item
in $ac_header_cxx_list
19058 if test $ac_cache; then
19059 ac_fn_cxx_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
19060 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
19061 printf "%s\n" "#define $ac_item 1" >> confdefs.h
19063 ac_header
= ac_cache
=
19064 elif test $ac_header; then
19071 # Obsolete code to be removed.
19072 if test $ac_cv_header_sys_time_h = yes; then
19074 printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
19077 # End of obsolete code.
19079 ac_fn_cxx_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19080 if test "x$ac_cv_type_mode_t" = xyes
19085 printf "%s\n" "#define mode_t int" >>confdefs.h
19090 ac_fn_cxx_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
19092 if test "x$ac_cv_type_pid_t" = xyes
19096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19099 #if defined _WIN64 && !defined __CYGWIN__
19112 if ac_fn_cxx_try_compile
"$LINENO"
19116 ac_pid_type
='__int64'
19118 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19120 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
19126 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19127 if test "x$ac_cv_type_size_t" = xyes
19132 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
19137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
19138 printf %s
"checking for uid_t in sys/types.h... " >&6; }
19139 if test ${ac_cv_type_uid_t+y}
19141 printf %s
"(cached) " >&6
19143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 #include <sys/types.h>
19148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19149 $EGREP "uid_t" >/dev
/null
2>&1
19151 ac_cv_type_uid_t
=yes
19153 ac_cv_type_uid_t
=no
19158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
19159 printf "%s\n" "$ac_cv_type_uid_t" >&6; }
19160 if test $ac_cv_type_uid_t = no
; then
19162 printf "%s\n" "#define uid_t int" >>confdefs.h
19165 printf "%s\n" "#define gid_t int" >>confdefs.h
19171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19173 #include <sys/socket.h>
19176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19177 $EGREP "socklen_t" >/dev
/null
2>&1
19179 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
19180 found_socklen_t
=yes
19185 if test $found_socklen_t = yes; then
19186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19188 #include <bits/socket.h>
19191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19192 $EGREP "socklen_t" >/dev
/null
2>&1
19195 printf "%s\n" "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
19202 if test $found_socklen_t = yes; then
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
19204 printf %s
"checking for socklen_t... " >&6; }
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19206 printf "%s\n" "yes" >&6; }
19208 ac_fn_cxx_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "$ac_includes_default"
19209 if test "x$ac_cv_type_socklen_t" = xyes
19214 printf "%s\n" "#define socklen_t int" >>confdefs.h
19221 # Check whether --with-debug was given.
19222 if test ${with_debug+y}
19224 withval
=$with_debug; dummy
=true
19226 CXXFLAGS
="$CXXFLAGS -g"
19231 build_testdir
=false
19233 # Check whether --with-test was given.
19234 if test ${with_test+y}
19236 withval
=$with_test; build_testdir
=true
19240 if test $build_testdir = true
; then
19242 COND_TESTDIR_FALSE
='#'
19244 COND_TESTDIR_TRUE
='#'
19245 COND_TESTDIR_FALSE
=
19250 # Check whether --with-pedantic was given.
19251 if test ${with_pedantic+y}
19253 withval
=$with_pedantic; CXXFLAGS
="$CXXFLAGS -pedantic"
19259 # Check whether --with-optimization was given.
19260 if test ${with_optimization+y}
19262 withval
=$with_optimization; CXXFLAGS
="$CXXFLAGS -O2"
19264 CXXFLAGS
="$CXXFLAGS -O0"
19270 # Check whether --with-prof was given.
19271 if test ${with_prof+y}
19273 withval
=$with_prof; CXXFLAGS
="$CXXFLAGS -pg"
19280 # Check whether --with-pgconfig was given.
19281 if test ${with_pgconfig+y}
19283 withval
=$with_pgconfig; pg_config_binary
=$withval
19285 pg_config_binary
=""
19291 if test "x$pg_config_binary" = "x"; then
19292 # Extract the first word of "pg_config", so it can be a program name with args.
19293 set dummy pg_config
; ac_word
=$2
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19295 printf %s
"checking for $ac_word... " >&6; }
19296 if test ${ac_cv_path_pg_config_binary+y}
19298 printf %s
"(cached) " >&6
19300 case $pg_config_binary in
19302 ac_cv_path_pg_config_binary
="$pg_config_binary" # Let the user override the test with a path.
19305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19306 for as_dir
in $PATH
19309 case $as_dir in #(((
19312 *) as_dir
=$as_dir/ ;;
19314 for ac_exec_ext
in '' $ac_executable_extensions; do
19315 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
19316 ac_cv_path_pg_config_binary
="$as_dir$ac_word$ac_exec_ext"
19317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19327 pg_config_binary
=$ac_cv_path_pg_config_binary
19328 if test -n "$pg_config_binary"; then
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pg_config_binary" >&5
19330 printf "%s\n" "$pg_config_binary" >&6; }
19332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19333 printf "%s\n" "no" >&6; }
19338 if test "x$pg_config_binary" = "x"; then
19339 as_fn_error $?
"Could not find pg_config. Ensure that PostgreSQL is installed, or specify pg_config location using --with-pgconfig." "$LINENO" 5
19341 elif test -f $pg_config_binary; then
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using pg_config: $pg_config_binary" >&5
19343 printf "%s\n" "Using pg_config: $pg_config_binary" >&6; }
19345 as_fn_error $?
"pg_config file $pg_config_binary does not exist" "$LINENO" 5
19348 pgsql_includedir
=$($pg_config_binary --includedir)
19349 pgsql_libdir
=$($pg_config_binary --libdir)
19351 CXXFLAGS
="$CXXFLAGS -I$pgsql_includedir"
19352 CPPFLAGS
="$CPPFLAGS -I$pgsql_includedir"
19353 LIBS
="$LIBS -L$pgsql_libdir"
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
19356 printf %s
"checking for PQconnectdb in -lpq... " >&6; }
19357 if test ${ac_cv_lib_pq_PQconnectdb+y}
19359 printf %s
"(cached) " >&6
19361 ac_check_lib_save_LIBS
=$LIBS
19363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19366 namespace conftest {
19367 extern "C" int PQconnectdb ();
19372 return conftest::PQconnectdb ();
19377 if ac_fn_cxx_try_link
"$LINENO"
19379 ac_cv_lib_pq_PQconnectdb
=yes
19381 ac_cv_lib_pq_PQconnectdb
=no
19383 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19384 conftest
$ac_exeext conftest.
$ac_ext
19385 LIBS
=$ac_check_lib_save_LIBS
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
19388 printf "%s\n" "$ac_cv_lib_pq_PQconnectdb" >&6; }
19389 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes
19391 printf "%s\n" "#define HAVE_LIBPQ 1" >>confdefs.h
19397 ac_fn_cxx_check_header_compile
"$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
19398 if test "x$ac_cv_header_libpq_fe_h" = xyes
19404 printf "%s\n" "#define HAVE_PGSQL /**/" >>confdefs.h
19408 # Check whether --with-log4cplus was given.
19409 if test ${with_log4cplus+y}
19411 withval
=$with_log4cplus; check_log4cplus
=$withval
19416 LOG4CPLUS_LIB
="${check_log4cplus}/lib"
19418 # Check whether --with-log4cplus-lib was given.
19419 if test ${with_log4cplus_lib+y}
19421 withval
=$with_log4cplus_lib; LOG4CPLUS_LIB
=$withval
19426 LOG4CPLUS_INCLUDE
="${check_log4cplus}/include"
19428 # Check whether --with-log4cplus-include was given.
19429 if test ${with_log4cplus_include+y}
19431 withval
=$with_log4cplus_include; LOG4CPLUS_INCLUDE
=$withval
19436 if test "x$check_log4cplus" != "x" ; then
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for liblog4cplus.so" >&5
19438 printf %s
"checking for liblog4cplus.so... " >&6; }
19439 if ! test -f "$LOG4CPLUS_LIB/liblog4cplus.so" ; then
19440 as_fn_error $?
"Unable to find liblog4cplus.so, please use the --with-log4cplus-lib argument to point to the right path" "$LINENO" 5
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19443 printf "%s\n" "yes" >&6; }
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for log4cplus/logger.h" >&5
19446 printf %s
"checking for log4cplus/logger.h... " >&6; }
19447 if ! test -f "$LOG4CPLUS_INCLUDE/log4cplus/logger.h" ; then
19448 as_fn_error $?
"Unable to find log4cplus/logger.h, please use the --with-log4cplus-include argument to point to the right path" "$LINENO" 5
19450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19451 printf "%s\n" "yes" >&6; }
19453 printf "%s\n" "#define ENABLE_LOG4CPLUS /**/" >>confdefs.h
19455 LDFLAGS
="${LDFLAGS} -L${LOG4CPLUS_LIB} -llog4cplus"
19456 CXXFLAGS
="${CXXFLAGS} -I${LOG4CPLUS_INCLUDE}"
19460 # Check whether --with-liboath was given.
19461 if test ${with_liboath+y}
19463 withval
=$with_liboath; check_liboath
=$withval
19467 if test "$check_liboath" == "yes" ; then
19468 check_liboath
=/usr
/local
19470 OATH_LIB
="${check_liboath}/lib"
19472 # Check whether --with-liboath-lib was given.
19473 if test ${with_liboath_lib+y}
19475 withval
=$with_liboath_lib; OATH_LIB
=$withval
19480 OATH_INCLUDE
="${check_liboath}/include"
19482 # Check whether --with-liboath-include was given.
19483 if test ${with_liboath_include+y}
19485 withval
=$with_liboath_include; OATH_INCLUDE
=$withval
19490 if test "x$check_liboath" != "x" ; then
19491 LDFLAGS
="${LDFLAGS} -L${OATH_LIB}"
19492 CXXFLAGS
="${CXXFLAGS} -I${OATH_INCLUDE} -L${OATH_LIB}"
19493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for oath_totp_validate in -loath" >&5
19494 printf %s
"checking for oath_totp_validate in -loath... " >&6; }
19495 if test ${ac_cv_lib_oath_oath_totp_validate+y}
19497 printf %s
"(cached) " >&6
19499 ac_check_lib_save_LIBS
=$LIBS
19500 LIBS
="-loath $LIBS"
19501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19504 namespace conftest {
19505 extern "C" int oath_totp_validate ();
19510 return conftest::oath_totp_validate ();
19515 if ac_fn_cxx_try_link
"$LINENO"
19517 ac_cv_lib_oath_oath_totp_validate
=yes
19519 ac_cv_lib_oath_oath_totp_validate
=no
19521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19522 conftest
$ac_exeext conftest.
$ac_ext
19523 LIBS
=$ac_check_lib_save_LIBS
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_oath_oath_totp_validate" >&5
19526 printf "%s\n" "$ac_cv_lib_oath_oath_totp_validate" >&6; }
19527 if test "x$ac_cv_lib_oath_oath_totp_validate" = xyes
19529 printf "%s\n" "#define HAVE_LIBOATH 1" >>confdefs.h
19531 LIBS
="-loath $LIBS"
19534 as_fn_error
1 "Unable to find liboath.so, please use the --with-liboath-lib argument to point to the right path" "$LINENO" 5
19537 as_ac_File
=`printf "%s\n" "ac_cv_file_"$OATH_INCLUDE/liboath/oath.h"" | $as_tr_sh`
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for \"$OATH_INCLUDE/liboath/oath.h\"" >&5
19539 printf %s
"checking for \"$OATH_INCLUDE/liboath/oath.h\"... " >&6; }
19540 if eval test \
${$as_ac_File+y}
19542 printf %s
"(cached) " >&6
19544 test "$cross_compiling" = yes &&
19545 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
19546 if test -r ""$OATH_INCLUDE/liboath
/oath.h
""; then
19547 eval "$as_ac_File=yes"
19549 eval "$as_ac_File=no"
19552 eval ac_res
=\$
$as_ac_File
19553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19554 printf "%s\n" "$ac_res" >&6; }
19555 if eval test \"x\$
"$as_ac_File"\" = x
"yes"
19559 as_fn_error
1 "Unable to find oath.h, please use the --with-liboath-include argument to point to the right path" "$LINENO" 5
19566 # Check whether --with-extra-includes was given.
19567 if test ${with_extra_includes+y}
19569 withval
=$with_extra_includes; CXXFLAGS
="$CXXFLAGS -I$withval"
19574 # Check whether --with-extra-libraries was given.
19575 if test ${with_extra_libraries+y}
19577 withval
=$with_extra_libraries; LDFLAGS
="$LDFLAGS -L$withval"
19584 # Check whether --with-boost was given.
19585 if test ${with_boost+y}
19587 withval
=$with_boost;
19588 case $withval in #(
19590 want_boost
="no";_AX_BOOST_BASE_boost_path
="" ;; #(
19592 want_boost
="yes";_AX_BOOST_BASE_boost_path
="" ;; #(
19594 want_boost
="yes";_AX_BOOST_BASE_boost_path
="$withval" ;;
19604 # Check whether --with-boost-libdir was given.
19605 if test ${with_boost_libdir+y}
19607 withval
=$with_boost_libdir;
19608 if test -d "$withval"
19610 _AX_BOOST_BASE_boost_lib_path
="$withval"
19612 as_fn_error $?
"--with-boost-libdir expected directory name" "$LINENO" 5
19616 _AX_BOOST_BASE_boost_lib_path
=""
19622 if test "x$want_boost" = "xyes"
19628 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.20.0"
19630 _AX_BOOST_BASE_TONUMERICVERSION_req
=""
19632 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
19633 _AX_BOOST_BASE_TONUMERICVERSION_req_major
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
19634 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"
19636 as_fn_error $?
"You should at least specify libboost major version" "$LINENO" 5
19638 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
19639 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"
19641 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
="0"
19643 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
19644 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"
19646 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
="0"
19648 _AX_BOOST_BASE_TONUMERICVERSION_RET
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req_major \* 100000 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_minor \* 100 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor`
19649 WANT_BOOST_VERSION
=$_AX_BOOST_BASE_TONUMERICVERSION_RET
19655 case ${host_cpu} in #(
19657 libsubdirs
="lib64 libx32 lib lib64" ;; #(
19658 ppc64
|powerpc64
|s390x
|sparc64
|aarch64
|ppc64le
|powerpc64le
|riscv64
) :
19659 libsubdirs
="lib64 lib lib64" ;; #(
19665 case ${host_cpu} in #(
19667 multiarch_libsubdir
="lib/i386-${host_os}" ;; #(
19669 multiarch_libsubdir
="lib/${host_cpu}-${host_os}"
19673 if test "x$_AX_BOOST_BASE_boost_path" != "x"
19676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
19677 printf %s
"checking for boostlib >= ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
19678 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"
19681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19682 printf "%s\n" "yes" >&6; }
19683 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include"
19684 for _AX_BOOST_BASE_boost_path_tmp
in $multiarch_libsubdir $libsubdirs; do
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"" >&5
19686 printf %s
"checking for boostlib >= ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"... " >&6; }
19687 if test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp"
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19691 printf "%s\n" "yes" >&6; }
19692 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19697 printf "%s\n" "no" >&6; }
19702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19703 printf "%s\n" "no" >&6; }
19708 if test X
"$cross_compiling" = Xyes
; then
19709 search_libsubdirs
=$multiarch_libsubdir
19711 search_libsubdirs
="$multiarch_libsubdir $libsubdirs"
19713 for _AX_BOOST_BASE_boost_path_tmp
in /usr
/usr
/local /opt
/opt
/local ; do
19714 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
19715 for libsubdir
in $search_libsubdirs ; do
19716 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
19718 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
19719 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path_tmp/include"
19726 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"
19728 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_lib_path"
19731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= ($WANT_BOOST_VERSION)" >&5
19732 printf %s
"checking for boostlib >= ($WANT_BOOST_VERSION)... " >&6; }
19733 CPPFLAGS_SAVED
="$CPPFLAGS"
19734 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
19737 LDFLAGS_SAVED
="$LDFLAGS"
19738 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
19743 ac_cpp
='$CXXCPP $CPPFLAGS'
19744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19751 #include <boost/version.hpp>
19757 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
19763 if ac_fn_cxx_try_compile
"$LINENO"
19766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19767 printf "%s\n" "yes" >&6; }
19772 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19774 ac_cpp
='$CXXCPP $CPPFLAGS'
19775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19782 if test "x$succeeded" != "xyes" ; then
19783 CPPFLAGS
="$CPPFLAGS_SAVED"
19784 LDFLAGS
="$LDFLAGS_SAVED"
19786 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
19790 if test -n "$_AX_BOOST_BASE_boost_path" ; then
19791 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
19792 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
19793 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
19794 V_CHECK
=`expr $_version_tmp \> $_version`
19795 if test "x$V_CHECK" = "x1" ; then
19796 _version
=$_version_tmp
19798 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
19799 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
19801 if test -z "$BOOST_CPPFLAGS"; then
19802 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
19803 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path"
19806 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
19807 for libsubdir
in $libsubdirs ; do
19808 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
19810 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
19814 if test "x$cross_compiling" != "xyes" ; then
19815 for _AX_BOOST_BASE_boost_path
in /usr
/usr
/local /opt
/opt
/local ; do
19816 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
19817 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
19818 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
19819 V_CHECK
=`expr $_version_tmp \> $_version`
19820 if test "x$V_CHECK" = "x1" ; then
19821 _version
=$_version_tmp
19822 best_path
=$_AX_BOOST_BASE_boost_path
19828 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
19829 BOOST_CPPFLAGS
="-I$best_path/include/boost-$VERSION_UNDERSCORE"
19830 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
19831 for libsubdir
in $libsubdirs ; do
19832 if ls "$best_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
19834 BOOST_LDFLAGS
="-L$best_path/$libsubdir"
19838 if test -n "$BOOST_ROOT" ; then
19839 for libsubdir
in $libsubdirs ; do
19840 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
19842 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
19843 version_dir
=`expr //$BOOST_ROOT : '.*/\(.*\)'`
19844 stage_version
=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
19845 stage_version_shorten
=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
19846 V_CHECK
=`expr $stage_version_shorten \>\= $_version`
19847 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
19848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
19849 printf "%s\n" "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
19850 BOOST_CPPFLAGS
="-I$BOOST_ROOT"
19851 BOOST_LDFLAGS
="-L$BOOST_ROOT/stage/$libsubdir"
19857 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
19859 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
19863 ac_cpp
='$CXXCPP $CPPFLAGS'
19864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19871 #include <boost/version.hpp>
19877 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
19883 if ac_fn_cxx_try_compile
"$LINENO"
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19887 printf "%s\n" "yes" >&6; }
19892 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19894 ac_cpp
='$CXXCPP $CPPFLAGS'
19895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19901 if test "x$succeeded" != "xyes" ; then
19902 if test "x$_version" = "x0" ; then
19903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
19904 printf "%s\n" "$as_me: We could not detect the boost libraries (version or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;}
19906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
19907 printf "%s\n" "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
19909 # execute ACTION-IF-NOT-FOUND (if present):
19913 printf "%s\n" "#define HAVE_BOOST /**/" >>confdefs.h
19915 # execute ACTION-IF-FOUND (if present):
19919 CPPFLAGS
="$CPPFLAGS_SAVED"
19920 LDFLAGS
="$LDFLAGS_SAVED"
19929 # Check whether --with-boost-thread was given.
19930 if test ${with_boost_thread+y}
19932 withval
=$with_boost_thread;
19933 if test "$withval" = "yes"; then
19935 ax_boost_user_thread_lib
=""
19938 ax_boost_user_thread_lib
="$withval"
19947 if test "x$want_boost" = "xyes"; then
19950 CPPFLAGS_SAVED
="$CPPFLAGS"
19951 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
19954 LDFLAGS_SAVED
="$LDFLAGS"
19955 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
19958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Thread library is available" >&5
19959 printf %s
"checking whether the Boost::Thread library is available... " >&6; }
19960 if test ${ax_cv_boost_thread+y}
19962 printf %s
"(cached) " >&6
19965 ac_cpp
='$CXXCPP $CPPFLAGS'
19966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19970 CXXFLAGS_SAVE
=$CXXFLAGS
19972 if test "x$host_os" = "xsolaris" ; then
19973 CXXFLAGS
="-pthreads $CXXFLAGS"
19974 elif test "x$host_os" = "xmingw32" ; then
19975 CXXFLAGS
="-mthreads $CXXFLAGS"
19977 CXXFLAGS
="-pthread $CXXFLAGS"
19979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 #include <boost/thread/thread.hpp>
19986 boost::thread_group thrds;
19992 if ac_fn_cxx_try_compile
"$LINENO"
19994 ax_cv_boost_thread
=yes
19996 ax_cv_boost_thread
=no
19998 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19999 CXXFLAGS
=$CXXFLAGS_SAVE
20001 ac_cpp
='$CXXCPP $CPPFLAGS'
20002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_thread" >&5
20009 printf "%s\n" "$ax_cv_boost_thread" >&6; }
20010 if test "x$ax_cv_boost_thread" = "xyes"; then
20011 if test "x$host_os" = "xsolaris" ; then
20012 BOOST_CPPFLAGS
="-pthreads $BOOST_CPPFLAGS"
20013 elif test "x$host_os" = "xmingw32" ; then
20014 BOOST_CPPFLAGS
="-mthreads $BOOST_CPPFLAGS"
20016 BOOST_CPPFLAGS
="-pthread $BOOST_CPPFLAGS"
20022 printf "%s\n" "#define HAVE_BOOST_THREAD /**/" >>confdefs.h
20024 BOOSTLIBDIR
=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
20026 LDFLAGS_SAVE
=$LDFLAGS
20027 case "x$host_os" in
20029 LDFLAGS
="-pthread $LDFLAGS"
20033 if test "x$ax_boost_user_thread_lib" = "x"; then
20034 for libextension
in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do
20035 ax_lib
=${libextension}
20036 as_ac_Lib
=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
20037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
20038 printf %s
"checking for exit in -l$ax_lib... " >&6; }
20039 if eval test \
${$as_ac_Lib+y}
20041 printf %s
"(cached) " >&6
20043 ac_check_lib_save_LIBS
=$LIBS
20044 LIBS
="-l$ax_lib $LIBS"
20045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20048 namespace conftest {
20049 extern "C" int exit ();
20054 return conftest::exit ();
20059 if ac_fn_cxx_try_link
"$LINENO"
20061 eval "$as_ac_Lib=yes"
20063 eval "$as_ac_Lib=no"
20065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20066 conftest
$ac_exeext conftest.
$ac_ext
20067 LIBS
=$ac_check_lib_save_LIBS
20069 eval ac_res
=\$
$as_ac_Lib
20070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20071 printf "%s\n" "$ac_res" >&6; }
20072 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"
20074 link_thread
="yes"; break
20080 if test "x$link_thread" != "xyes"; then
20081 for libextension
in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do
20082 ax_lib
=${libextension}
20083 as_ac_Lib
=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
20084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
20085 printf %s
"checking for exit in -l$ax_lib... " >&6; }
20086 if eval test \
${$as_ac_Lib+y}
20088 printf %s
"(cached) " >&6
20090 ac_check_lib_save_LIBS
=$LIBS
20091 LIBS
="-l$ax_lib $LIBS"
20092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20095 namespace conftest {
20096 extern "C" int exit ();
20101 return conftest::exit ();
20106 if ac_fn_cxx_try_link
"$LINENO"
20108 eval "$as_ac_Lib=yes"
20110 eval "$as_ac_Lib=no"
20112 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20113 conftest
$ac_exeext conftest.
$ac_ext
20114 LIBS
=$ac_check_lib_save_LIBS
20116 eval ac_res
=\$
$as_ac_Lib
20117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20118 printf "%s\n" "$ac_res" >&6; }
20119 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"
20121 link_thread
="yes"; break
20130 for ax_lib
in $ax_boost_user_thread_lib boost_thread
-$ax_boost_user_thread_lib; do
20131 as_ac_Lib
=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
20132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
20133 printf %s
"checking for exit in -l$ax_lib... " >&6; }
20134 if eval test \
${$as_ac_Lib+y}
20136 printf %s
"(cached) " >&6
20138 ac_check_lib_save_LIBS
=$LIBS
20139 LIBS
="-l$ax_lib $LIBS"
20140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20143 namespace conftest {
20144 extern "C" int exit ();
20149 return conftest::exit ();
20154 if ac_fn_cxx_try_link
"$LINENO"
20156 eval "$as_ac_Lib=yes"
20158 eval "$as_ac_Lib=no"
20160 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20161 conftest
$ac_exeext conftest.
$ac_ext
20162 LIBS
=$ac_check_lib_save_LIBS
20164 eval ac_res
=\$
$as_ac_Lib
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20166 printf "%s\n" "$ac_res" >&6; }
20167 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"
20169 link_thread
="yes"; break
20177 if test "x$ax_lib" = "x"; then
20178 as_fn_error $?
"Could not find a version of the library!" "$LINENO" 5
20180 if test "x$link_thread" = "xno"; then
20181 as_fn_error $?
"Could not link against $ax_lib !" "$LINENO" 5
20183 BOOST_THREAD_LIB
="-l$ax_lib"
20184 case "x$host_os" in
20186 BOOST_LDFLAGS
="-pthread $BOOST_LDFLAGS"
20190 BOOST_THREAD_LIB
="$BOOST_THREAD_LIB -lpthread"
20197 BOOST_THREAD_LIB
="$BOOST_THREAD_LIB -lpthread"
20205 CPPFLAGS
="$CPPFLAGS_SAVED"
20206 LDFLAGS
="$LDFLAGS_SAVED"
20209 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
20211 ac_cpp
='$CXXCPP $CPPFLAGS'
20212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20217 if test x
$ac_success = xno
; then
20218 for alternative
in ${ax_cxx_compile_alternatives}; do
20219 switch
="-std=gnu++${alternative}"
20220 cachevar
=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
20222 printf %s
"checking whether $CXX supports C++11 features with $switch... " >&6; }
20223 if eval test \
${$cachevar+y}
20225 printf %s
"(cached) " >&6
20229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20230 /* end confdefs.h. */
20233 // If the compiler admits that it is not ready for C++11, why torture it?
20234 // Hopefully, this will speed up the test.
20236 #ifndef __cplusplus
20238 #error "This is not a C++ compiler"
20240 #elif __cplusplus < 201103L
20242 #error "This is not a C++11 compiler"
20249 namespace test_static_assert
20252 template <typename T>
20255 static_assert(sizeof(int) <= sizeof(T), "not big enough");
20260 namespace test_final_override
20265 virtual void f() {}
20268 struct Derived : public Base
20270 virtual void f() override {}
20275 namespace test_double_right_angle_brackets
20278 template < typename T >
20281 typedef check<void> single_type;
20282 typedef check<check<void>> double_type;
20283 typedef check<check<check<void>>> triple_type;
20284 typedef check<check<check<check<void>>>> quadruple_type;
20288 namespace test_decltype
20301 namespace test_type_deduction
20304 template < typename T1, typename T2 >
20307 static const bool value = false;
20310 template < typename T >
20311 struct is_same<T, T>
20313 static const bool value = true;
20316 template < typename T1, typename T2 >
20318 add(T1 a1, T2 a2) -> decltype(a1 + a2)
20324 test(const int c, volatile int v)
20326 static_assert(is_same<int, decltype(0)>::value == true, "");
20327 static_assert(is_same<int, decltype(c)>::value == false, "");
20328 static_assert(is_same<int, decltype(v)>::value == false, "");
20331 auto sumi = ac + av + 'x';
20332 auto sumf = ac + av + 1.0;
20333 static_assert(is_same<int, decltype(ac)>::value == true, "");
20334 static_assert(is_same<int, decltype(av)>::value == true, "");
20335 static_assert(is_same<int, decltype(sumi)>::value == true, "");
20336 static_assert(is_same<int, decltype(sumf)>::value == false, "");
20337 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
20338 return (sumf > 0.0) ? sumi : add(c, v);
20343 namespace test_noexcept
20346 int f() { return 0; }
20347 int g() noexcept { return 0; }
20349 static_assert(noexcept(f()) == false, "");
20350 static_assert(noexcept(g()) == true, "");
20354 namespace test_constexpr
20357 template < typename CharT >
20358 unsigned long constexpr
20359 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
20361 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
20364 template < typename CharT >
20365 unsigned long constexpr
20366 strlen_c(const CharT *const s) noexcept
20368 return strlen_c_r(s, 0UL);
20371 static_assert(strlen_c("") == 0UL, "");
20372 static_assert(strlen_c("1") == 1UL, "");
20373 static_assert(strlen_c("example") == 7UL, "");
20374 static_assert(strlen_c("another\0example") == 7UL, "");
20378 namespace test_rvalue_references
20384 static constexpr int value = N;
20387 answer<1> f(int&) { return answer<1>(); }
20388 answer<2> f(const int&) { return answer<2>(); }
20389 answer<3> f(int&&) { return answer<3>(); }
20396 static_assert(decltype(f(i))::value == 1, "");
20397 static_assert(decltype(f(c))::value == 2, "");
20398 static_assert(decltype(f(0))::value == 3, "");
20403 namespace test_uniform_initialization
20408 static const int zero {};
20409 static const int one {1};
20412 static_assert(test::zero == 0, "");
20413 static_assert(test::one == 1, "");
20417 namespace test_lambdas
20423 auto lambda1 = [](){};
20424 auto lambda2 = lambda1;
20432 auto a = [](int i, int j){ return i + j; }(1, 2);
20433 auto b = []() -> int { return '0'; }();
20434 auto c = [=](){ return a + b; }();
20435 auto d = [&](){ return c; }();
20436 auto e = [a, &b](int x) mutable {
20437 const auto identity = [](int y){ return y; };
20438 for (auto i = 0; i < a; ++i)
20440 return x + identity(a + b);
20442 return a + b + c + d + e;
20448 const auto nullary = [](){ return 0; };
20449 const auto unary = [](int x){ return x; };
20450 using nullary_t = decltype(nullary);
20451 using unary_t = decltype(unary);
20452 const auto higher1st = [](nullary_t f){ return f(); };
20453 const auto higher2nd = [unary](nullary_t f1){
20454 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
20456 return higher1st(nullary) + higher2nd(nullary)(unary);
20461 namespace test_variadic_templates
20467 template <int N0, int... N1toN>
20468 struct sum<N0, N1toN...>
20470 static constexpr auto value = N0 + sum<N1toN...>::value;
20476 static constexpr auto value = 0;
20479 static_assert(sum<>::value == 0, "");
20480 static_assert(sum<1>::value == 1, "");
20481 static_assert(sum<23>::value == 23, "");
20482 static_assert(sum<1, 2>::value == 3, "");
20483 static_assert(sum<5, 5, 11>::value == 21, "");
20484 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
20488 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
20489 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
20490 // because of this.
20491 namespace test_template_alias_sfinae
20496 template<typename T>
20497 using member = typename T::member_type;
20499 template<typename T>
20502 template<typename T>
20503 void func(member<T>*) {}
20507 void test() { func<foo>(0); }
20511 } // namespace cxx11
20513 #endif // __cplusplus >= 201103L
20518 if ac_fn_cxx_try_compile
"$LINENO"
20524 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20527 eval ac_res
=\$
$cachevar
20528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20529 printf "%s\n" "$ac_res" >&6; }
20530 if eval test x\$
$cachevar = xyes
; then
20532 if test -n "$CXXCPP" ; then
20533 CXXCPP
="$CXXCPP $switch"
20541 if test x
$ac_success = xno
; then
20542 for alternative
in ${ax_cxx_compile_alternatives}; do
20543 for switch
in -std=c
++${alternative} +std
=c
++${alternative} "-h std=c++${alternative}"; do
20544 cachevar
=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
20545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
20546 printf %s
"checking whether $CXX supports C++11 features with $switch... " >&6; }
20547 if eval test \
${$cachevar+y}
20549 printf %s
"(cached) " >&6
20553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20557 // If the compiler admits that it is not ready for C++11, why torture it?
20558 // Hopefully, this will speed up the test.
20560 #ifndef __cplusplus
20562 #error "This is not a C++ compiler"
20564 #elif __cplusplus < 201103L
20566 #error "This is not a C++11 compiler"
20573 namespace test_static_assert
20576 template <typename T>
20579 static_assert(sizeof(int) <= sizeof(T), "not big enough");
20584 namespace test_final_override
20589 virtual void f() {}
20592 struct Derived : public Base
20594 virtual void f() override {}
20599 namespace test_double_right_angle_brackets
20602 template < typename T >
20605 typedef check<void> single_type;
20606 typedef check<check<void>> double_type;
20607 typedef check<check<check<void>>> triple_type;
20608 typedef check<check<check<check<void>>>> quadruple_type;
20612 namespace test_decltype
20625 namespace test_type_deduction
20628 template < typename T1, typename T2 >
20631 static const bool value = false;
20634 template < typename T >
20635 struct is_same<T, T>
20637 static const bool value = true;
20640 template < typename T1, typename T2 >
20642 add(T1 a1, T2 a2) -> decltype(a1 + a2)
20648 test(const int c, volatile int v)
20650 static_assert(is_same<int, decltype(0)>::value == true, "");
20651 static_assert(is_same<int, decltype(c)>::value == false, "");
20652 static_assert(is_same<int, decltype(v)>::value == false, "");
20655 auto sumi = ac + av + 'x';
20656 auto sumf = ac + av + 1.0;
20657 static_assert(is_same<int, decltype(ac)>::value == true, "");
20658 static_assert(is_same<int, decltype(av)>::value == true, "");
20659 static_assert(is_same<int, decltype(sumi)>::value == true, "");
20660 static_assert(is_same<int, decltype(sumf)>::value == false, "");
20661 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
20662 return (sumf > 0.0) ? sumi : add(c, v);
20667 namespace test_noexcept
20670 int f() { return 0; }
20671 int g() noexcept { return 0; }
20673 static_assert(noexcept(f()) == false, "");
20674 static_assert(noexcept(g()) == true, "");
20678 namespace test_constexpr
20681 template < typename CharT >
20682 unsigned long constexpr
20683 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
20685 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
20688 template < typename CharT >
20689 unsigned long constexpr
20690 strlen_c(const CharT *const s) noexcept
20692 return strlen_c_r(s, 0UL);
20695 static_assert(strlen_c("") == 0UL, "");
20696 static_assert(strlen_c("1") == 1UL, "");
20697 static_assert(strlen_c("example") == 7UL, "");
20698 static_assert(strlen_c("another\0example") == 7UL, "");
20702 namespace test_rvalue_references
20708 static constexpr int value = N;
20711 answer<1> f(int&) { return answer<1>(); }
20712 answer<2> f(const int&) { return answer<2>(); }
20713 answer<3> f(int&&) { return answer<3>(); }
20720 static_assert(decltype(f(i))::value == 1, "");
20721 static_assert(decltype(f(c))::value == 2, "");
20722 static_assert(decltype(f(0))::value == 3, "");
20727 namespace test_uniform_initialization
20732 static const int zero {};
20733 static const int one {1};
20736 static_assert(test::zero == 0, "");
20737 static_assert(test::one == 1, "");
20741 namespace test_lambdas
20747 auto lambda1 = [](){};
20748 auto lambda2 = lambda1;
20756 auto a = [](int i, int j){ return i + j; }(1, 2);
20757 auto b = []() -> int { return '0'; }();
20758 auto c = [=](){ return a + b; }();
20759 auto d = [&](){ return c; }();
20760 auto e = [a, &b](int x) mutable {
20761 const auto identity = [](int y){ return y; };
20762 for (auto i = 0; i < a; ++i)
20764 return x + identity(a + b);
20766 return a + b + c + d + e;
20772 const auto nullary = [](){ return 0; };
20773 const auto unary = [](int x){ return x; };
20774 using nullary_t = decltype(nullary);
20775 using unary_t = decltype(unary);
20776 const auto higher1st = [](nullary_t f){ return f(); };
20777 const auto higher2nd = [unary](nullary_t f1){
20778 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
20780 return higher1st(nullary) + higher2nd(nullary)(unary);
20785 namespace test_variadic_templates
20791 template <int N0, int... N1toN>
20792 struct sum<N0, N1toN...>
20794 static constexpr auto value = N0 + sum<N1toN...>::value;
20800 static constexpr auto value = 0;
20803 static_assert(sum<>::value == 0, "");
20804 static_assert(sum<1>::value == 1, "");
20805 static_assert(sum<23>::value == 23, "");
20806 static_assert(sum<1, 2>::value == 3, "");
20807 static_assert(sum<5, 5, 11>::value == 21, "");
20808 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
20812 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
20813 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
20814 // because of this.
20815 namespace test_template_alias_sfinae
20820 template<typename T>
20821 using member = typename T::member_type;
20823 template<typename T>
20826 template<typename T>
20827 void func(member<T>*) {}
20831 void test() { func<foo>(0); }
20835 } // namespace cxx11
20837 #endif // __cplusplus >= 201103L
20842 if ac_fn_cxx_try_compile
"$LINENO"
20848 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20851 eval ac_res
=\$
$cachevar
20852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20853 printf "%s\n" "$ac_res" >&6; }
20854 if eval test x\$
$cachevar = xyes
; then
20856 if test -n "$CXXCPP" ; then
20857 CXXCPP
="$CXXCPP $switch"
20863 if test x
$ac_success = xyes
; then
20869 ac_cpp
='$CXXCPP $CPPFLAGS'
20870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20874 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
20875 if test x
$ac_success = xno
; then
20876 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
20879 if test x
$ac_success = xno
; then
20881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
20882 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
20886 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
20893 echo "Detecting modules..."
20896 build_modccontrol
=false
20897 build_modchanfix
=false
20898 build_modclientExample
=false
20899 build_modcloner
=false
20900 build_modcservice
=false
20901 build_moddronescan
=false
20902 build_modgnutest
=false
20903 build_modnickserv
=false
20904 build_modopenchanfix
=false
20905 build_modscanner
=false
20906 build_modstats
=false
20907 build_modsnoop
=false
20913 # Check whether --enable-modules was given.
20914 if test ${enable_modules+y}
20916 enableval
=$enable_modules;
20917 if test $enableval = "yes" ; then
20919 elif test $enableval = "no" ; then
20922 tmp
="mod.$enableval"
20923 tmp
=`echo $tmp | sed 's/,/ mod./g'`
20924 MOD_DIRS
="$MOD_DIRS $tmp"
20931 if test x
$searchForMods = xyes
; then
20932 for dir
in ${srcdir}/mod.
* ; do
20933 if ! test -d $dir ; then
20936 MOD_DIRS
="$MOD_DIRS `basename $dir`"
20940 for moduleName
in $MOD_DIRS; do
20941 case "$moduleName" in
20942 mod.ccontrol
) build_modccontrol
=true
;;
20943 mod.chanfix
) build_modchanfix
=true
;;
20944 mod.clientExample
) build_modclientExample
=true
;;
20945 mod.cloner
) build_modcloner
=true
;;
20946 mod.cservice
) build_modcservice
=true
;;
20947 mod.dronescan
) build_moddronescan
=true
;;
20948 mod.gnutest
) build_modgnutest
=true
;;
20949 mod.nickserv
) build_modnickserv
=true
;;
20950 mod.openchanfix
) build_modopenchanfix
=true
;;
20951 mod.scanner
) build_modscanner
=true
;;
20952 mod.stats
) build_modstats
=true
;;
20953 mod.snoop
) build_modsnoop
=true
;;
20954 *) NEW_MODS
="$NEW_MODS $moduleName";;
20958 if test $build_modccontrol = true
; then
20959 COND_MODCCONTROL_TRUE
=
20960 COND_MODCCONTROL_FALSE
='#'
20962 COND_MODCCONTROL_TRUE
='#'
20963 COND_MODCCONTROL_FALSE
=
20966 if test $build_modchanfix = true
; then
20967 COND_MODCHANFIX_TRUE
=
20968 COND_MODCHANFIX_FALSE
='#'
20970 COND_MODCHANFIX_TRUE
='#'
20971 COND_MODCHANFIX_FALSE
=
20974 if test $build_modclientExample = true
; then
20975 COND_MODCLIENTEXAMPLE_TRUE
=
20976 COND_MODCLIENTEXAMPLE_FALSE
='#'
20978 COND_MODCLIENTEXAMPLE_TRUE
='#'
20979 COND_MODCLIENTEXAMPLE_FALSE
=
20982 if test $build_modcloner = true
; then
20983 COND_MODCLONER_TRUE
=
20984 COND_MODCLONER_FALSE
='#'
20986 COND_MODCLONER_TRUE
='#'
20987 COND_MODCLONER_FALSE
=
20990 if test $build_modcservice = true
; then
20991 COND_MODCSERVICE_TRUE
=
20992 COND_MODCSERVICE_FALSE
='#'
20994 COND_MODCSERVICE_TRUE
='#'
20995 COND_MODCSERVICE_FALSE
=
20998 if test $build_moddronescan = true
; then
20999 COND_MODDRONESCAN_TRUE
=
21000 COND_MODDRONESCAN_FALSE
='#'
21002 COND_MODDRONESCAN_TRUE
='#'
21003 COND_MODDRONESCAN_FALSE
=
21006 if test $build_modgnutest = true
; then
21007 COND_MODGNUTEST_TRUE
=
21008 COND_MODGNUTEST_FALSE
='#'
21010 COND_MODGNUTEST_TRUE
='#'
21011 COND_MODGNUTEST_FALSE
=
21014 if test $build_modnickserv = true
; then
21015 COND_MODNICKSERV_TRUE
=
21016 COND_MODNICKSERV_FALSE
='#'
21018 COND_MODNICKSERV_TRUE
='#'
21019 COND_MODNICKSERV_FALSE
=
21022 if test $build_modopenchanfix = true
; then
21023 COND_MODOPENCHANFIX_TRUE
=
21024 COND_MODOPENCHANFIX_FALSE
='#'
21026 COND_MODOPENCHANFIX_TRUE
='#'
21027 COND_MODOPENCHANFIX_FALSE
=
21030 if test $build_modscanner = true
; then
21031 COND_MODSCANNER_TRUE
=
21032 COND_MODSCANNER_FALSE
='#'
21034 COND_MODSCANNER_TRUE
='#'
21035 COND_MODSCANNER_FALSE
=
21038 if test $build_modstats = true
; then
21039 COND_MODSTATS_TRUE
=
21040 COND_MODSTATS_FALSE
='#'
21042 COND_MODSTATS_TRUE
='#'
21043 COND_MODSTATS_FALSE
=
21046 if test $build_modsnoop = true
; then
21047 COND_MODSNOOP_TRUE
=
21048 COND_MODSNOOP_FALSE
='#'
21050 COND_MODSNOOP_TRUE
='#'
21051 COND_MODSNOOP_FALSE
=
21063 ac_config_files
="$ac_config_files Makefile tools/checkgnuworld.sh"
21066 cat >confcache
<<\_ACEOF
21067 # This file is a shell script that caches the results of configure
21068 # tests run on this system so they can be shared between configure
21069 # scripts and configure runs, see configure's option --config-cache.
21070 # It is not useful on other systems. If it contains results you don't
21071 # want to keep, you may remove or edit it.
21073 # config.status only pays attention to the cache file if you give it
21074 # the --recheck option to rerun configure.
21076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21078 # following values.
21082 # The following way of writing the cache mishandles newlines in values,
21083 # but we know of no workaround that is simple, portable, and efficient.
21084 # So, we kill variables containing newlines.
21085 # Ultrix sh set writes to stderr and can't be redirected directly,
21086 # and sets the high bit in the cache file unless we assign to the vars.
21088 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21089 eval ac_val
=\$
$ac_var
21093 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21094 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21097 _
| IFS
| as_nl
) ;; #(
21098 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21099 *) { eval $ac_var=; unset $ac_var;} ;;
21105 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21106 *${as_nl}ac_space
=\
*)
21107 # `set' does not quote correctly, so add quotes: double-quote
21108 # substitution turns \\\\ into \\, and sed turns \\ into \.
21111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21114 # `set' quotes correctly as required by POSIX, so do not add quotes.
21115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21124 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
21126 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21128 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21129 if test -w "$cache_file"; then
21130 if test "x$cache_file" != "x/dev/null"; then
21131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21132 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
21133 if test ! -f "$cache_file" || test -h "$cache_file"; then
21134 cat confcache
>"$cache_file"
21136 case $cache_file in #(
21138 mv -f confcache
"$cache_file"$$
&&
21139 mv -f "$cache_file"$$
"$cache_file" ;; #(
21141 mv -f confcache
"$cache_file" ;;
21146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21147 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
21152 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21153 # Let make expand exec_prefix.
21154 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21156 DEFS
=-DHAVE_CONFIG_H
21161 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21162 # 1. Remove the extension, and $U if already installed.
21163 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21164 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
21165 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21166 # will be set to the directory where LIBOBJS objects are built.
21167 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21168 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21170 LIBOBJS
=$ac_libobjs
21172 LTLIBOBJS
=$ac_ltlibobjs
21175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21176 printf %s
"checking that generated files are newer than configure... " >&6; }
21177 if test -n "$am_sleep_pid"; then
21178 # Hide warnings about reused PIDs.
21179 wait $am_sleep_pid 2>/dev
/null
21181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
21182 printf "%s\n" "done" >&6; }
21183 if test -n "$EXEEXT"; then
21185 am__EXEEXT_FALSE
='#'
21187 am__EXEEXT_TRUE
='#'
21191 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21192 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21195 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21196 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21199 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21200 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21203 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21204 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
21205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21207 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21208 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
21209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21211 LT_CONFIG_H
=include
/defs.h
21215 if test -n "$_LT_LIBOBJS"; then
21216 # Remove the extension.
21217 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
21218 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
21219 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
21220 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
21223 ltdl_LIBOBJS
=$_ltdl_libobjs
21225 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
21228 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21229 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21232 if test -z "${COND_PCRE_TRUE}" && test -z "${COND_PCRE_FALSE}"; then
21233 as_fn_error $?
"conditional \"COND_PCRE\" was never defined.
21234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21236 if test -z "${COND_PCRE_TRUE}" && test -z "${COND_PCRE_FALSE}"; then
21237 as_fn_error $?
"conditional \"COND_PCRE\" was never defined.
21238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21240 if test -z "${COND_TESTDIR_TRUE}" && test -z "${COND_TESTDIR_FALSE}"; then
21241 as_fn_error $?
"conditional \"COND_TESTDIR\" was never defined.
21242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21244 if test -z "${COND_MODCCONTROL_TRUE}" && test -z "${COND_MODCCONTROL_FALSE}"; then
21245 as_fn_error $?
"conditional \"COND_MODCCONTROL\" was never defined.
21246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21248 if test -z "${COND_MODCHANFIX_TRUE}" && test -z "${COND_MODCHANFIX_FALSE}"; then
21249 as_fn_error $?
"conditional \"COND_MODCHANFIX\" was never defined.
21250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21252 if test -z "${COND_MODCLIENTEXAMPLE_TRUE}" && test -z "${COND_MODCLIENTEXAMPLE_FALSE}"; then
21253 as_fn_error $?
"conditional \"COND_MODCLIENTEXAMPLE\" was never defined.
21254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21256 if test -z "${COND_MODCLONER_TRUE}" && test -z "${COND_MODCLONER_FALSE}"; then
21257 as_fn_error $?
"conditional \"COND_MODCLONER\" was never defined.
21258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21260 if test -z "${COND_MODCSERVICE_TRUE}" && test -z "${COND_MODCSERVICE_FALSE}"; then
21261 as_fn_error $?
"conditional \"COND_MODCSERVICE\" was never defined.
21262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21264 if test -z "${COND_MODDRONESCAN_TRUE}" && test -z "${COND_MODDRONESCAN_FALSE}"; then
21265 as_fn_error $?
"conditional \"COND_MODDRONESCAN\" was never defined.
21266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21268 if test -z "${COND_MODGNUTEST_TRUE}" && test -z "${COND_MODGNUTEST_FALSE}"; then
21269 as_fn_error $?
"conditional \"COND_MODGNUTEST\" was never defined.
21270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21272 if test -z "${COND_MODNICKSERV_TRUE}" && test -z "${COND_MODNICKSERV_FALSE}"; then
21273 as_fn_error $?
"conditional \"COND_MODNICKSERV\" was never defined.
21274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21276 if test -z "${COND_MODOPENCHANFIX_TRUE}" && test -z "${COND_MODOPENCHANFIX_FALSE}"; then
21277 as_fn_error $?
"conditional \"COND_MODOPENCHANFIX\" was never defined.
21278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21280 if test -z "${COND_MODSCANNER_TRUE}" && test -z "${COND_MODSCANNER_FALSE}"; then
21281 as_fn_error $?
"conditional \"COND_MODSCANNER\" was never defined.
21282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21284 if test -z "${COND_MODSTATS_TRUE}" && test -z "${COND_MODSTATS_FALSE}"; then
21285 as_fn_error $?
"conditional \"COND_MODSTATS\" was never defined.
21286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21288 if test -z "${COND_MODSNOOP_TRUE}" && test -z "${COND_MODSNOOP_FALSE}"; then
21289 as_fn_error $?
"conditional \"COND_MODSNOOP\" was never defined.
21290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21293 : "${CONFIG_STATUS=./config.status}"
21295 ac_clean_files_save
=$ac_clean_files
21296 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21298 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
21300 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21302 # Generated by $as_me.
21303 # Run this file to recreate the current configuration.
21304 # Compiler output produced by configure, useful for debugging
21305 # configure, is in config.log if it exists.
21308 ac_cs_recheck=false
21311 SHELL=\${CONFIG_SHELL-$SHELL}
21314 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21315 ## -------------------- ##
21316 ## M4sh Initialization. ##
21317 ## -------------------- ##
21319 # Be more Bourne compatible
21320 DUALCASE
=1; export DUALCASE
# for MKS sh
21322 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
21326 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21327 # is contrary to our usage. Disable this feature.
21328 alias -g '${1+"$@"}'='"$@"'
21329 setopt NO_GLOB_SUBST
21331 case `(set -o) 2>/dev/null` in #(
21341 # Reset variables that may have inherited troublesome values from
21344 # IFS needs to be set, to space, tab, and newline, in precisely that order.
21345 # (If _AS_PATH_WALK were called with IFS unset, it would have the
21346 # side effect of setting IFS to empty, thus disabling word splitting.)
21347 # Quoting is to prevent editors from complaining about space-tab.
21357 # Ensure predictable behavior from utilities with locale-dependent output.
21363 # We cannot yet rely on "unset" to work, but we need these variables
21364 # to be unset--not just set to an empty or harmless value--now, to
21365 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
21366 # also avoids known problems related to "unset" and subshell syntax
21367 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
21368 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
21369 do eval test \
${$as_var+y} \
21370 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21373 # Ensure that fds 0, 1, and 2 are open.
21374 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
21375 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
21376 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
21378 # The user is always right.
21379 if ${PATH_SEPARATOR+false} :; then
21381 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
21382 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
21388 # Find who we are. Look in the path if we contain no directory separator.
21391 *[\\/]* ) as_myself
=$0 ;;
21392 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21393 for as_dir
in $PATH
21396 case $as_dir in #(((
21399 *) as_dir
=$as_dir/ ;;
21401 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
21407 # We did not find ourselves, most probably we were run as `sh COMMAND'
21408 # in which case we are not to be found in the path.
21409 if test "x$as_myself" = x
; then
21412 if test ! -f "$as_myself"; then
21413 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21419 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21420 # ----------------------------------------
21421 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21422 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21423 # script with STATUS, using 1 if that was 0.
21426 as_status
=$1; test $as_status -eq 0 && as_status
=1
21428 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21431 printf "%s\n" "$as_me: error: $2" >&2
21432 as_fn_exit
$as_status
21437 # as_fn_set_status STATUS
21438 # -----------------------
21439 # Set $? to STATUS, without forking.
21440 as_fn_set_status
()
21443 } # as_fn_set_status
21445 # as_fn_exit STATUS
21446 # -----------------
21447 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21451 as_fn_set_status
$1
21457 # Portably unset VAR.
21460 { eval $1=; unset $1;}
21462 as_unset
=as_fn_unset
21464 # as_fn_append VAR VALUE
21465 # ----------------------
21466 # Append the text in VALUE to the end of the definition contained in VAR. Take
21467 # advantage of any shell optimizations that allow amortized linear growth over
21468 # repeated appends, instead of the typical quadratic growth present in naive
21470 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
21472 eval 'as_fn_append ()
21483 # as_fn_arith ARG...
21484 # ------------------
21485 # Perform arithmetic evaluation on the ARGs, and store the result in the
21486 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21487 # must be portable across $(()) and expr.
21488 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
21490 eval 'as_fn_arith ()
21497 as_val
=`expr "$@" || test $? -eq 1`
21502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21509 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21510 as_basename
=basename
21515 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21521 as_me
=`$as_basename -- "$0" ||
21522 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21523 X"$0" : 'X\(//\)$' \| \
21524 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21525 printf "%s\n" X/"$0" |
21526 sed '/^.*\/\([^/][^/]*\)\/*$/{
21540 # Avoid depending upon Character Ranges.
21541 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21542 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21543 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21544 as_cr_digits
='0123456789'
21545 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21548 # Determine whether it's possible to make 'echo' print without a newline.
21549 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
21550 # for compatibility with existing Makefiles.
21551 ECHO_C
= ECHO_N
= ECHO_T
=
21552 case `echo -n x` in #(((((
21554 case `echo 'xy\c'` in
21555 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21557 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21564 # For backward compatibility with old third-party macros, we provide
21565 # the shell variables $as_echo and $as_echo_n. New code should use
21566 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
21567 as_echo
='printf %s\n'
21568 as_echo_n
='printf %s'
21570 rm -f conf$$ conf$$.exe conf$$.
file
21571 if test -d conf$$.dir
; then
21572 rm -f conf$$.dir
/conf$$.
file
21575 mkdir conf$$.dir
2>/dev
/null
21577 if (echo >conf$$.
file) 2>/dev
/null
; then
21578 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21580 # ... but there are two gotchas:
21581 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21582 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21583 # In both cases, we have to default to `cp -pR'.
21584 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21586 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21594 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21595 rmdir conf$$.dir
2>/dev
/null
21600 # Create "$as_dir" as a directory, including parents if necessary.
21605 -*) as_dir
=.
/$as_dir;;
21607 test -d "$as_dir" || eval $as_mkdir_p || {
21611 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21612 *) as_qdir
=$as_dir;;
21614 as_dirs
="'$as_qdir' $as_dirs"
21615 as_dir
=`$as_dirname -- "$as_dir" ||
21616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21617 X"$as_dir" : 'X\(//\)[^/]' \| \
21618 X"$as_dir" : 'X\(//\)$' \| \
21619 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21620 printf "%s\n" X"$as_dir" |
21621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21625 /^X\(\/\/\)[^/].*/{
21638 test -d "$as_dir" && break
21640 test -z "$as_dirs" || eval "mkdir $as_dirs"
21641 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21645 if mkdir -p .
2>/dev
/null
; then
21646 as_mkdir_p
='mkdir -p "$as_dir"'
21648 test -d .
/-p && rmdir .
/-p
21653 # as_fn_executable_p FILE
21654 # -----------------------
21655 # Test if FILE is an executable regular file.
21656 as_fn_executable_p
()
21658 test -f "$1" && test -x "$1"
21659 } # as_fn_executable_p
21660 as_test_x
='test -x'
21661 as_executable_p
=as_fn_executable_p
21663 # Sed expression to map a string onto a valid CPP name.
21664 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21666 # Sed expression to map a string onto a valid variable name.
21667 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21671 ## ----------------------------------- ##
21672 ## Main body of $CONFIG_STATUS script. ##
21673 ## ----------------------------------- ##
21675 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21677 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21678 # Save the log message, to keep $0 and so on meaningful, and to
21679 # report actual input values of CONFIG_FILES etc. instead of their
21680 # values after options handling.
21682 This file was extended by gnuworld $as_me 3.0, which was
21683 generated by GNU Autoconf 2.71. Invocation command line was
21685 CONFIG_FILES = $CONFIG_FILES
21686 CONFIG_HEADERS = $CONFIG_HEADERS
21687 CONFIG_LINKS = $CONFIG_LINKS
21688 CONFIG_COMMANDS = $CONFIG_COMMANDS
21691 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21696 case $ac_config_files in *"
21697 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21700 case $ac_config_headers in *"
21701 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21706 # Files that config.status was made for.
21707 config_files="$ac_config_files"
21708 config_headers="$ac_config_headers"
21709 config_commands="$ac_config_commands"
21713 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21715 \`$as_me' instantiates files and other configuration actions
21716 from templates according to the current configuration. Unless the files
21717 and actions are specified as TAGs, all are instantiated by default.
21719 Usage: $0 [OPTION]... [TAG]...
21721 -h, --help print this help, then exit
21722 -V, --version print version number and configuration settings, then exit
21723 --config print configuration, then exit
21724 -q, --quiet, --silent
21725 do not print progress messages
21726 -d, --debug don't remove temporary files
21727 --recheck update $as_me by reconfiguring in the same conditions
21728 --file=FILE[:TEMPLATE]
21729 instantiate the configuration file FILE
21730 --header=FILE[:TEMPLATE]
21731 instantiate the configuration header FILE
21733 Configuration files:
21736 Configuration headers:
21739 Configuration commands:
21742 Report bugs to the package provider."
21745 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
21746 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
21747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21748 ac_cs_config='$ac_cs_config_escaped'
21750 gnuworld config.status 3.0
21751 configured by $0, generated by GNU Autoconf 2.71,
21752 with options \\"\$ac_cs_config\\"
21754 Copyright (C) 2021 Free Software Foundation, Inc.
21755 This config.status script is free software; the Free Software Foundation
21756 gives unlimited permission to copy, distribute and modify it."
21763 test -n "\$AWK" || AWK=awk
21766 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21767 # The default lists apply if the user does not specify any file.
21773 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21774 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21778 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21790 # Handling of the options.
21791 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21793 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21794 printf "%s\n" "$ac_cs_version"; exit ;;
21795 --config | --confi | --conf | --con | --co | --c )
21796 printf "%s\n" "$ac_cs_config"; exit ;;
21797 --debug | --debu | --deb | --de | --d | -d )
21799 --file | --fil | --fi | --f )
21802 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21803 '') as_fn_error $?
"missing file argument" ;;
21805 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21806 ac_need_defaults
=false
;;
21807 --header | --heade | --head | --hea )
21810 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21812 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21813 ac_need_defaults
=false
;;
21815 # Conflict between --help and --header
21816 as_fn_error $?
"ambiguous option: \`$1'
21817 Try \`$0 --help' for more information.";;
21818 --help | --hel | -h )
21819 printf "%s\n" "$ac_cs_usage"; exit ;;
21820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21821 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21824 # This is an error.
21825 -*) as_fn_error $?
"unrecognized option: \`$1'
21826 Try \`$0 --help' for more information." ;;
21828 *) as_fn_append ac_config_targets
" $1"
21829 ac_need_defaults
=false
;;
21835 ac_configure_extra_args
=
21837 if $ac_cs_silent; then
21839 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21844 if \$ac_cs_recheck; then
21845 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21847 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
21848 CONFIG_SHELL='$SHELL'
21849 export CONFIG_SHELL
21854 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21858 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21859 ## Running $as_me. ##
21861 printf "%s\n" "$ac_log"
21865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21869 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
21872 # The HP-UX ksh and POSIX shell print the target directory to stdout
21873 # if CDPATH is set.
21874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21876 sed_quote_subst='$sed_quote_subst'
21877 double_quote_subst='$double_quote_subst'
21878 delay_variable_subst='$delay_variable_subst'
21879 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21880 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21881 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21882 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21883 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21884 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21885 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
21886 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21887 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21888 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21889 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21890 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21891 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21892 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21893 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21894 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21895 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21896 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21897 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21898 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21899 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21900 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21901 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21902 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21903 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21904 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21905 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21906 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21907 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21908 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21909 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21910 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21911 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21912 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21913 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21914 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21915 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21916 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21917 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21918 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21919 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21920 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21921 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21922 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21923 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21924 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21925 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21926 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21927 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21928 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21929 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21930 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21931 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21932 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21933 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21934 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21935 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21936 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21937 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"`'
21938 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21939 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21940 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21941 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21942 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21943 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21944 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21945 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21946 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21947 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21948 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21949 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21950 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21951 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21952 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21953 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21954 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21955 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21956 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21957 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21958 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21959 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21960 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21961 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21962 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21963 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21964 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21965 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21966 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21967 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21968 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21969 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21970 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21971 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21972 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21973 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21974 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21975 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21976 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21977 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21978 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21979 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21980 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21981 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21982 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21983 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21984 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21985 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21986 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21987 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21988 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21989 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21990 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21991 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21992 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21993 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21994 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21995 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21996 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21997 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21998 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21999 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22000 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22001 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22002 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22003 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22004 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22005 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22006 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22007 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22008 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22009 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22010 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22011 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22012 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22013 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22014 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22015 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22016 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22017 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22018 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22019 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22020 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22021 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22022 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22023 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22024 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22025 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22026 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22027 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22028 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22029 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22030 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22031 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22032 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22033 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22034 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22035 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22036 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22037 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22038 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22039 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22040 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22041 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22042 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22043 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22044 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22045 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22046 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22047 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22048 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22049 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22050 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22051 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22052 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22053 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22054 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22055 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22056 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22057 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22058 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22059 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22060 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22061 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22062 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22063 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22064 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22065 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22066 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22067 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22070 LTCFLAGS='$LTCFLAGS'
22071 compiler='$compiler_DEFAULT'
22073 # A function that is used when there is no print builtin or printf.
22074 func_fallback_echo ()
22076 eval 'cat <<_LTECHO_EOF
22081 # Quote evaled strings.
22096 deplibs_check_method \
22101 sharedlib_from_linklib_cmd \
22104 archiver_list_spec \
22110 lt_cv_sys_global_symbol_pipe \
22111 lt_cv_sys_global_symbol_to_cdecl \
22112 lt_cv_sys_global_symbol_to_import \
22113 lt_cv_sys_global_symbol_to_c_name_address \
22114 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22115 lt_cv_nm_interface \
22116 nm_file_list_spec \
22117 lt_cv_truncate_bin \
22118 lt_prog_compiler_no_builtin_flag \
22119 lt_prog_compiler_pic \
22120 lt_prog_compiler_wl \
22121 lt_prog_compiler_static \
22122 lt_cv_prog_compiler_c_o \
22131 export_dynamic_flag_spec \
22132 whole_archive_flag_spec \
22133 compiler_needs_object \
22135 allow_undefined_flag \
22136 no_undefined_flag \
22137 hardcode_libdir_flag_spec \
22138 hardcode_libdir_separator \
22142 variables_saved_for_relink \
22144 library_names_spec \
22146 install_override_mode \
22150 compiler_lib_search_dirs \
22155 compiler_lib_search_path \
22159 lt_prog_compiler_no_builtin_flag_CXX \
22160 lt_prog_compiler_pic_CXX \
22161 lt_prog_compiler_wl_CXX \
22162 lt_prog_compiler_static_CXX \
22163 lt_cv_prog_compiler_c_o_CXX \
22164 export_dynamic_flag_spec_CXX \
22165 whole_archive_flag_spec_CXX \
22166 compiler_needs_object_CXX \
22168 allow_undefined_flag_CXX \
22169 no_undefined_flag_CXX \
22170 hardcode_libdir_flag_spec_CXX \
22171 hardcode_libdir_separator_CXX \
22172 exclude_expsyms_CXX \
22173 include_expsyms_CXX \
22174 file_list_spec_CXX \
22175 compiler_lib_search_dirs_CXX \
22176 predep_objects_CXX \
22177 postdep_objects_CXX \
22180 compiler_lib_search_path_CXX; do
22181 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22182 *[\\\\\\\`\\"\\\$]*)
22183 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22186 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22191 # Double-quote double-evaled strings.
22192 for var in reload_cmds \
22193 old_postinstall_cmds \
22194 old_postuninstall_cmds \
22196 extract_expsyms_cmds \
22197 old_archive_from_new_cmds \
22198 old_archive_from_expsyms_cmds \
22200 archive_expsym_cmds \
22202 module_expsym_cmds \
22203 export_symbols_cmds \
22207 postuninstall_cmds \
22209 sys_lib_search_path_spec \
22210 configure_time_dlsearch_path \
22211 configure_time_lt_sys_library_path \
22213 old_archive_cmds_CXX \
22214 old_archive_from_new_cmds_CXX \
22215 old_archive_from_expsyms_cmds_CXX \
22217 archive_expsym_cmds_CXX \
22219 module_expsym_cmds_CXX \
22220 export_symbols_cmds_CXX \
22222 postlink_cmds_CXX; do
22223 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22224 *[\\\\\\\`\\"\\\$]*)
22225 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22228 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22233 ac_aux_dir='$ac_aux_dir'
22235 # See if we are running on zsh, and set the options that allow our
22236 # commands through without removal of \ escapes INIT.
22237 if test -n "\${ZSH_VERSION+set}"; then
22238 setopt NO_GLOB_SUBST
22254 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22256 # Handling of arguments.
22257 for ac_config_target
in $ac_config_targets
22259 case $ac_config_target in
22260 "include/defs.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/defs.h" ;;
22261 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22262 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22263 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22264 "tools/checkgnuworld.sh") CONFIG_FILES
="$CONFIG_FILES tools/checkgnuworld.sh" ;;
22266 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22271 # If the user did not use the arguments to specify the items to instantiate,
22272 # then the envvar interface is used. Set only those that are not.
22273 # We use the long form for the default assignment because of an extremely
22274 # bizarre bug on SunOS 4.1.3.
22275 if $ac_need_defaults; then
22276 test ${CONFIG_FILES+y} || CONFIG_FILES
=$config_files
22277 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
22278 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
22281 # Have a temporary directory for convenience. Make it in the build tree
22282 # simply because there is no reason against having it here, and in addition,
22283 # creating and moving files from /tmp can sometimes cause problems.
22284 # Hook for its removal unless debugging.
22285 # Note that there is a small window in which the directory will not be cleaned:
22286 # after its creation but before its name has been assigned to `$tmp'.
22290 trap 'exit_status=$?
22291 : "${ac_tmp:=$tmp}"
22292 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22294 trap 'as_fn_exit 1' 1 2 13 15
22296 # Create a (secure) tmp directory for tmp files.
22299 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22303 tmp
=.
/conf$$
-$RANDOM
22304 (umask 077 && mkdir "$tmp")
22305 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22308 # Set up the scripts for CONFIG_FILES section.
22309 # No need to generate them if there are no CONFIG_FILES.
22310 # This happens for instance with `./config.status config.h'.
22311 if test -n "$CONFIG_FILES"; then
22314 ac_cr
=`echo X | tr X '\015'`
22315 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22316 # But we know of no other shell where ac_cr would be empty at this
22317 # point, so we can use a bashism as a fallback.
22318 if test "x$ac_cr" = x
; then
22319 eval ac_cr
=\$
\'\\r
\'
22321 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22322 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22325 ac_cs_awk_cr
=$ac_cr
22328 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22333 echo "cat >conf$$subs.awk <<_ACEOF" &&
22334 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22336 } >conf$$subs.sh ||
22337 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22338 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22340 for ac_last_try in false false false false false :; do
22341 . ./conf$$subs.sh ||
22342 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22344 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22345 if test $ac_delim_n = $ac_delim_num; then
22347 elif $ac_last_try; then
22348 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22350 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22353 rm -f conf$$subs.sh
22355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22356 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22360 s/^/S["/; s
/!.
*/"]=/
22370 s/\(.\{148\}\)..*/\1/
22372 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22377 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22384 s/\(.\{148\}\)..*/\1/
22386 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22390 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22395 ' <conf$$subs.awk | sed '
22400 ' >>$CONFIG_STATUS || ac_write_fail=1
22401 rm -f conf$$subs.awk
22402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22404 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22405 for (key in S) S_is_set[key] = 1
22411 nfields = split(line, field, "@
")
22413 len = length(field[1])
22414 for (i = 2; i < nfields; i++) {
22416 keylen = length(key)
22417 if (S_is_set[key]) {
22419 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22420 len += length(value) + length(field[++i])
22431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22432 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22433 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22436 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22437 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22440 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22441 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22442 # trailing colons and then remove the whole line if VPATH becomes empty
22443 # (actually we leave an empty line to preserve line numbers).
22444 if test "x
$srcdir" = x.; then
22445 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22464 fi # test -n "$CONFIG_FILES"
22466 # Set up the scripts for CONFIG_HEADERS section.
22467 # No need to generate them if there are no CONFIG_HEADERS.
22468 # This happens for instance with `./config.status Makefile'.
22469 if test -n "$CONFIG_HEADERS"; then
22470 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22474 # Transform confdefs.h into an awk script `defines.awk', embedded as
22475 # here-document in config.status, that substitutes the proper values into
22476 # config.h.in to produce config.h.
22478 # Create a delimiter string that does not exist in confdefs.h, to ease
22479 # handling of long lines.
22481 for ac_last_try in false false :; do
22482 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22483 if test -z "$ac_tt"; then
22485 elif $ac_last_try; then
22486 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22488 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22492 # For the awk script, D is an array of macro values keyed by name,
22493 # likewise P contains macro parameters if any. Preserve backslash
22494 # newline sequences.
22496 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22498 s/.\{148\}/&'"$ac_delim"'/g
22501 s/^[ ]*#[ ]*define[ ][ ]*/ /
22508 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22510 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22515 D["\
1"]=" \
3\\\\\\n
"\\/p
22517 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22522 s/.\{148\}/&'"$ac_delim"'/g
22527 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22530 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22532 ' <confdefs.h | sed '
22533 s/'"$ac_delim"'/"\\\
22534 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22537 for (key in D) D_is_set[key] = 1
22540 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22542 split(line, arg, " ")
22543 if (arg[1] == "#") {
22547 defundef
= substr
(arg
[1], 2)
22550 split(mac1
, mac2
, "(") #)
22552 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22553 if (D_is_set
[macro
]) {
22554 # Preserve the white space surrounding the "#".
22555 print prefix
"define", macro P
[macro
] D
[macro
]
22558 # Replace #undef with comments. This is necessary, for example,
22559 # in the case of _POSIX_SOURCE, which is predefined and required
22560 # on some systems where configure will not decide to define it.
22561 if (defundef
== "undef") {
22562 print
"/*", prefix defundef
, macro
, "*/"
22570 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22571 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22572 fi # test -n "$CONFIG_HEADERS"
22575 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22580 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22582 case $ac_mode$ac_tag in
22584 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22585 :[FH
]-) ac_tag
=-:-;;
22586 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22603 -) ac_f
="$ac_tmp/stdin";;
22604 *) # Look for the file first in the build tree, then in the source tree
22605 # (if the path is not absolute). The absolute path cannot be DOS-style,
22606 # because $ac_f cannot contain `:'.
22610 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22612 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22614 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22615 as_fn_append ac_file_inputs
" '$ac_f'"
22618 # Let's still pretend it is `configure' which instantiates (i.e., don't
22619 # use $as_me), people would be surprised to read:
22620 # /* config.h. Generated by config.status. */
22621 configure_input
='Generated from '`
22622 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22624 if test x
"$ac_file" != x
-; then
22625 configure_input
="$ac_file. $configure_input"
22626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22627 printf "%s\n" "$as_me: creating $ac_file" >&6;}
22629 # Neutralize special characters interpreted by sed in replacement strings.
22630 case $configure_input in #(
22631 *\
&* | *\
|* | *\\* )
22632 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
22633 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22634 *) ac_sed_conf_input
=$configure_input;;
22638 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22639 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22644 ac_dir
=`$as_dirname -- "$ac_file" ||
22645 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22646 X"$ac_file" : 'X\(//\)[^/]' \| \
22647 X"$ac_file" : 'X\(//\)$' \| \
22648 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22649 printf "%s\n" X"$ac_file" |
22650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22654 /^X\(\/\/\)[^/].*/{
22667 as_dir
="$ac_dir"; as_fn_mkdir_p
22671 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22673 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
22674 # A ".." for each directory in $ac_dir_suffix.
22675 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22676 case $ac_top_builddir_sub in
22677 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22678 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22681 ac_abs_top_builddir
=$ac_pwd
22682 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22683 # for backward compatibility:
22684 ac_top_builddir
=$ac_top_build_prefix
22687 .
) # We are building in place.
22689 ac_top_srcdir
=$ac_top_builddir_sub
22690 ac_abs_top_srcdir
=$ac_pwd ;;
22691 [\\/]* | ?
:[\\/]* ) # Absolute name.
22692 ac_srcdir
=$srcdir$ac_dir_suffix;
22693 ac_top_srcdir
=$srcdir
22694 ac_abs_top_srcdir
=$srcdir ;;
22695 *) # Relative name.
22696 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22697 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22698 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22700 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22710 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22711 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22713 ac_MKDIR_P
=$MKDIR_P
22715 [\\/$
]* | ?
:[\\/]* ) ;;
22716 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22720 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22721 # If the template does not know about datarootdir, expand it.
22722 # FIXME: This hack should be removed a few years after 2.60.
22723 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22734 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22735 *datarootdir
*) ac_datarootdir_seen
=yes;;
22736 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22738 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22741 ac_datarootdir_hack='
22742 s&@datadir@&$datadir&g
22743 s&@docdir@&$docdir&g
22744 s&@infodir@&$infodir&g
22745 s&@localedir@&$localedir&g
22746 s&@mandir@&$mandir&g
22747 s&\\\${datarootdir}&$datarootdir&g' ;;
22751 # Neutralize VPATH when `$srcdir' = `.'.
22752 # Shell code in configure.ac might set extrasub.
22753 # FIXME: do we really want to maintain this feature?
22754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22755 ac_sed_extra="$ac_vpsub
22758 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22760 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22761 s
|@configure_input@
|$ac_sed_conf_input|;t t
22762 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22763 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22764 s
&@srcdir@
&$ac_srcdir&;t t
22765 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22766 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22767 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22768 s
&@builddir@
&$ac_builddir&;t t
22769 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22770 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22771 s
&@INSTALL@
&$ac_INSTALL&;t t
22772 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22773 $ac_datarootdir_hack
22775 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22776 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22778 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22779 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22780 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22781 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22782 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22783 which seems to be undefined. Please make sure it is defined" >&5
22784 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22785 which seems to be undefined. Please make sure it is defined" >&2;}
22787 rm -f "$ac_tmp/stdin"
22789 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22790 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22798 if test x"$ac_file" != x-; then
22800 printf "%s\n" "/* $configure_input */" >&1 \
22801 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22802 } >"$ac_tmp/config.h" \
22803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22804 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22806 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
22809 mv "$ac_tmp/config.h" "$ac_file" \
22810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22813 printf "%s\n" "/* $configure_input */" >&1 \
22814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22815 || as_fn_error $? "could not create -" "$LINENO" 5
22817 # Compute "$ac_file"'s index
in $config_headers.
22820 for _am_header
in $config_headers :; do
22821 case $_am_header in
22822 $_am_arg | $_am_arg:* )
22825 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22828 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22829 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22830 X"$_am_arg" : 'X\(//\)[^/]' \| \
22831 X"$_am_arg" : 'X\(//\)$' \| \
22832 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22833 printf "%s\n" X"$_am_arg" |
22834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22838 /^X\(\/\/\)[^/].*/{
22850 s/.*/./; q'`/stamp
-h$_am_stamp_count
22853 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22854 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
22859 case $ac_file$ac_mode in
22860 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22861 # Older Autoconf quotes --file arguments for eval, but not when files
22862 # are listed without --file. Let's play safe and only enable the eval
22863 # if we detect the quoting.
22864 # TODO: see whether this extra hack can be removed once we start
22865 # requiring Autoconf 2.70 or later.
22866 case $CONFIG_FILES in #(
22868 eval set x
"$CONFIG_FILES" ;; #(
22870 set x
$CONFIG_FILES ;; #(
22875 # Used to flag and report bootstrapping failures.
22879 # Strip MF so we end up with the name of the file.
22880 am_mf
=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
22881 # Check whether this is an Automake generated Makefile which includes
22882 # dependency-tracking related rules and includes.
22883 # Grep'ing the whole file directly is not great: AIX grep has a line
22884 # limit of 2048, but all sed's we know have understand at least 4000.
22885 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X
>/dev
/null
2>&1 \
22887 am_dirpart
=`$as_dirname -- "$am_mf" ||
22888 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22889 X"$am_mf" : 'X\(//\)[^/]' \| \
22890 X"$am_mf" : 'X\(//\)$' \| \
22891 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22892 printf "%s\n" X"$am_mf" |
22893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22897 /^X\(\/\/\)[^/].*/{
22910 am_filepart
=`$as_basename -- "$am_mf" ||
22911 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
22912 X"$am_mf" : 'X\(//\)$' \| \
22913 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22914 printf "%s\n" X/"$am_mf" |
22915 sed '/^.*\/\([^/][^/]*\)\/*$/{
22928 { echo "$as_me:$LINENO: cd "$am_dirpart" \
22929 && sed -e '/# am--include-marker/d' "$am_filepart" \
22930 | $MAKE -f - am--depfiles" >&5
22931 (cd "$am_dirpart" \
22932 && sed -e '/# am--include-marker/d' "$am_filepart" \
22933 | $MAKE -f - am
--depfiles) >&5 2>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } || am_rc
=$?
22938 if test $am_rc -ne 0; then
22939 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22940 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22941 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
22942 for automatic dependency tracking. If GNU make was not used, consider
22943 re-running the configure script with MAKE=\"gmake\" (or whatever is
22944 necessary). You can also try re-running configure with the
22945 '--disable-dependency-tracking' option to at least be able to build
22946 the package (albeit without support for automatic dependency tracking).
22947 See \`config.log' for more details" "$LINENO" 5; }
22949 { am_dirpart
=; unset am_dirpart
;}
22950 { am_filepart
=; unset am_filepart
;}
22951 { am_mf
=; unset am_mf
;}
22952 { am_rc
=; unset am_rc
;}
22953 rm -f conftest
-deps.mk
22958 # See if we are running on zsh, and set the options that allow our
22959 # commands through without removal of \ escapes.
22960 if test -n "${ZSH_VERSION+set}"; then
22961 setopt NO_GLOB_SUBST
22965 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22968 cat <<_LT_EOF >> "$cfgfile"
22970 # Generated automatically by $as_me ($PACKAGE) $VERSION
22971 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22973 # Provide generalized library-building support services.
22974 # Written by Gordon Matzigkeit, 1996
22976 # Copyright (C) 2014 Free Software Foundation, Inc.
22977 # This is free software; see the source for copying conditions. There is NO
22978 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22980 # GNU Libtool is free software; you can redistribute it and/or modify
22981 # it under the terms of the GNU General Public License as published by
22982 # the Free Software Foundation; either version 2 of of the License, or
22983 # (at your option) any later version.
22985 # As a special exception to the GNU General Public License, if you
22986 # distribute this file as part of a program or library that is built
22987 # using GNU Libtool, you may include this file under the same
22988 # distribution terms that you use for the rest of that program.
22990 # GNU Libtool is distributed in the hope that it will be useful, but
22991 # WITHOUT ANY WARRANTY; without even the implied warranty of
22992 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22993 # GNU General Public License for more details.
22995 # You should have received a copy of the GNU General Public License
22996 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22999 # The names of the tagged configurations supported by this script.
23000 available_tags='CXX '
23002 # Configured defaults for sys_lib_dlsearch_path munging.
23003 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23005 # ### BEGIN LIBTOOL CONFIG
23007 # Which release of libtool.m4 was used?
23008 macro_version=$macro_version
23009 macro_revision=$macro_revision
23011 # Whether or not to build static libraries.
23012 build_old_libs=$enable_static
23014 # Whether or not to build shared libraries.
23015 build_libtool_libs=$enable_shared
23017 # What type of objects to build.
23020 # Whether or not to optimize for fast installation.
23021 fast_install=$enable_fast_install
23023 # Shared archive member basename,for filename based shared library versioning on AIX.
23024 shared_archive_member_spec=$shared_archive_member_spec
23026 # Shell to use when invoking shell scripts.
23029 # An echo program that protects backslashes.
23032 # The PATH separator for the build system.
23033 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23036 host_alias=$host_alias
23040 # The build system.
23041 build_alias=$build_alias
23045 # A sed program that does not truncate output.
23048 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23049 Xsed="\$SED -e 1s/^X//"
23051 # A grep program that handles long lines.
23057 # A literal string matcher.
23060 # A BSD- or MS-compatible name lister.
23063 # Whether we need soft or hard links.
23066 # What is the maximum length of a command?
23067 max_cmd_len=$max_cmd_len
23069 # Object file suffix (normally "o").
23072 # Executable file suffix (normally "").
23075 # whether the shell understands "unset".
23078 # turn spaces into newlines.
23081 # turn newlines into spaces.
23084 # convert \$build file names to \$host format.
23085 to_host_file_cmd=$lt_cv_to_host_file_cmd
23087 # convert \$build files to toolchain format.
23088 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23090 # An object symbol dumper.
23091 OBJDUMP=$lt_OBJDUMP
23093 # Method to check whether dependent libraries are shared objects.
23094 deplibs_check_method=$lt_deplibs_check_method
23096 # Command to use when deplibs_check_method = "file_magic".
23097 file_magic_cmd=$lt_file_magic_cmd
23099 # How to find potential files when deplibs_check_method = "file_magic".
23100 file_magic_glob=$lt_file_magic_glob
23102 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23103 want_nocaseglob=$lt_want_nocaseglob
23105 # DLL creation program.
23106 DLLTOOL=$lt_DLLTOOL
23108 # Command to associate shared and link libraries.
23109 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23114 # Flags to create an archive.
23115 AR_FLAGS=$lt_AR_FLAGS
23117 # How to feed a file listing to the archiver.
23118 archiver_list_spec=$lt_archiver_list_spec
23120 # A symbol stripping program.
23123 # Commands used to install an old-style archive.
23125 old_postinstall_cmds=$lt_old_postinstall_cmds
23126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23128 # Whether to use a lock for old archive extraction.
23129 lock_old_archive_extraction=$lock_old_archive_extraction
23134 # LTCC compiler flags.
23135 LTCFLAGS=$lt_CFLAGS
23137 # Take the output of nm and produce a listing of raw symbols and C names.
23138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23140 # Transform the output of nm in a proper C declaration.
23141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23143 # Transform the output of nm into a list of symbols to manually relocate.
23144 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23146 # Transform the output of nm in a C name address pair.
23147 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23149 # Transform the output of nm in a C name address pair when lib prefix is needed.
23150 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23152 # The name lister interface.
23153 nm_interface=$lt_lt_cv_nm_interface
23155 # Specify filename containing input files for \$NM.
23156 nm_file_list_spec=$lt_nm_file_list_spec
23158 # The root where to search for dependent libraries,and where our libraries should be installed.
23159 lt_sysroot=$lt_sysroot
23161 # Command to truncate a binary pipe.
23162 lt_truncate_bin=$lt_lt_cv_truncate_bin
23164 # The name of the directory that contains temporary libtool files.
23167 # Used to examine libraries when file_magic_cmd begins with "file".
23168 MAGIC_CMD=$MAGIC_CMD
23170 # Must we lock files when doing compilation?
23171 need_locks=$lt_need_locks
23174 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23176 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23177 DSYMUTIL=$lt_DSYMUTIL
23179 # Tool to change global to local symbols on Mac OS X.
23182 # Tool to manipulate fat objects and archives on Mac OS X.
23185 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23188 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23189 OTOOL64=$lt_OTOOL64
23191 # Old archive suffix (normally "a").
23194 # Shared library suffix (normally ".so").
23195 shrext_cmds=$lt_shrext_cmds
23197 # The commands to extract the exported symbol list from a shared archive.
23198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23200 # Variables whose values should be saved in libtool wrapper scripts and
23201 # restored at link time.
23202 variables_saved_for_relink=$lt_variables_saved_for_relink
23204 # Do we need the "lib" prefix for modules?
23205 need_lib_prefix=$need_lib_prefix
23207 # Do we need a version for libraries?
23208 need_version=$need_version
23210 # Library versioning type.
23211 version_type=$version_type
23213 # Shared library runtime path variable.
23214 runpath_var=$runpath_var
23216 # Shared library path variable.
23217 shlibpath_var=$shlibpath_var
23219 # Is shlibpath searched before the hard-coded library search path?
23220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23222 # Format of library name prefix.
23223 libname_spec=$lt_libname_spec
23225 # List of archive names. First name is the real one, the rest are links.
23226 # The last name is the one that the linker finds with -lNAME
23227 library_names_spec=$lt_library_names_spec
23229 # The coded name of the library, if different from the real name.
23230 soname_spec=$lt_soname_spec
23232 # Permission mode override for installation of shared libraries.
23233 install_override_mode=$lt_install_override_mode
23235 # Command to use after installation of a shared archive.
23236 postinstall_cmds=$lt_postinstall_cmds
23238 # Command to use after uninstallation of a shared archive.
23239 postuninstall_cmds=$lt_postuninstall_cmds
23241 # Commands used to finish a libtool library installation in a directory.
23242 finish_cmds=$lt_finish_cmds
23244 # As "finish_cmds", except a single script fragment to be evaled but
23246 finish_eval=$lt_finish_eval
23248 # Whether we should hardcode library paths into libraries.
23249 hardcode_into_libs=$hardcode_into_libs
23251 # Compile-time system search path for libraries.
23252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23254 # Detected run-time system search path for libraries.
23255 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23257 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23258 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23260 # Whether dlopen is supported.
23261 dlopen_support=$enable_dlopen
23263 # Whether dlopen of programs is supported.
23264 dlopen_self=$enable_dlopen_self
23266 # Whether dlopen of statically linked programs is supported.
23267 dlopen_self_static=$enable_dlopen_self_static
23269 # Commands to strip libraries.
23270 old_striplib=$lt_old_striplib
23271 striplib=$lt_striplib
23274 # The linker used to build libraries.
23277 # How to create reloadable object files.
23278 reload_flag=$lt_reload_flag
23279 reload_cmds=$lt_reload_cmds
23281 # Commands used to build an old-style archive.
23282 old_archive_cmds=$lt_old_archive_cmds
23284 # A language specific compiler.
23287 # Is the compiler the GNU compiler?
23290 # Compiler flag to turn off builtin functions.
23291 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23293 # Additional compiler flags for building library objects.
23294 pic_flag=$lt_lt_prog_compiler_pic
23296 # How to pass a linker flag through the compiler.
23297 wl=$lt_lt_prog_compiler_wl
23299 # Compiler flag to prevent dynamic linking.
23300 link_static_flag=$lt_lt_prog_compiler_static
23302 # Does compiler simultaneously support -c and -o options?
23303 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23305 # Whether or not to add -lc for building shared libraries.
23306 build_libtool_need_lc=$archive_cmds_need_lc
23308 # Whether or not to disallow shared libs when runtime libs are static.
23309 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23311 # Compiler flag to allow reflexive dlopens.
23312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23314 # Compiler flag to generate shared objects directly from archives.
23315 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23317 # Whether the compiler copes with passing no objects directly.
23318 compiler_needs_object=$lt_compiler_needs_object
23320 # Create an old-style archive from a shared archive.
23321 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23323 # Create a temporary old-style archive to link instead of a shared archive.
23324 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23326 # Commands used to build a shared archive.
23327 archive_cmds=$lt_archive_cmds
23328 archive_expsym_cmds=$lt_archive_expsym_cmds
23330 # Commands used to build a loadable module if different from building
23331 # a shared archive.
23332 module_cmds=$lt_module_cmds
23333 module_expsym_cmds=$lt_module_expsym_cmds
23335 # Whether we are building with GNU ld or not.
23336 with_gnu_ld=$lt_with_gnu_ld
23338 # Flag that allows shared libraries with undefined symbols to be built.
23339 allow_undefined_flag=$lt_allow_undefined_flag
23341 # Flag that enforces no undefined symbols.
23342 no_undefined_flag=$lt_no_undefined_flag
23344 # Flag to hardcode \$libdir into a binary during linking.
23345 # This must work even if \$libdir does not exist
23346 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23348 # Whether we need a single "-rpath" flag with a separated argument.
23349 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23351 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23352 # DIR into the resulting binary.
23353 hardcode_direct=$hardcode_direct
23355 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23356 # DIR into the resulting binary and the resulting library dependency is
23357 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23358 # library is relocated.
23359 hardcode_direct_absolute=$hardcode_direct_absolute
23361 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23362 # into the resulting binary.
23363 hardcode_minus_L=$hardcode_minus_L
23365 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23366 # into the resulting binary.
23367 hardcode_shlibpath_var=$hardcode_shlibpath_var
23369 # Set to "yes" if building a shared library automatically hardcodes DIR
23370 # into the library and all subsequent libraries and executables linked
23372 hardcode_automatic=$hardcode_automatic
23374 # Set to yes if linker adds runtime paths of dependent libraries
23375 # to runtime path list.
23376 inherit_rpath=$inherit_rpath
23378 # Whether libtool must link a program against all its dependency libraries.
23379 link_all_deplibs=$link_all_deplibs
23381 # Set to "yes" if exported symbols are required.
23382 always_export_symbols=$always_export_symbols
23384 # The commands to list exported symbols.
23385 export_symbols_cmds=$lt_export_symbols_cmds
23387 # Symbols that should not be listed in the preloaded symbols.
23388 exclude_expsyms=$lt_exclude_expsyms
23390 # Symbols that must always be exported.
23391 include_expsyms=$lt_include_expsyms
23393 # Commands necessary for linking programs (against libraries) with templates.
23394 prelink_cmds=$lt_prelink_cmds
23396 # Commands necessary for finishing linking programs.
23397 postlink_cmds=$lt_postlink_cmds
23399 # Specify filename containing input files.
23400 file_list_spec=$lt_file_list_spec
23402 # How to hardcode a shared library path into an executable.
23403 hardcode_action=$hardcode_action
23405 # The directories searched by this compiler when creating a shared library.
23406 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23408 # Dependencies to place before and after the objects being linked to
23409 # create a shared library.
23410 predep_objects=$lt_predep_objects
23411 postdep_objects=$lt_postdep_objects
23412 predeps=$lt_predeps
23413 postdeps=$lt_postdeps
23415 # The library search path used internally by the compiler when linking
23416 # a shared library.
23417 compiler_lib_search_path=$lt_compiler_lib_search_path
23419 # ### END LIBTOOL CONFIG
23423 cat <<'_LT_EOF' >> "$cfgfile"
23425 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23427 # func_munge_path_list VARIABLE PATH
23428 # -----------------------------------
23429 # VARIABLE is name of variable containing _space_ separated list of
23430 # directories to be munged by the contents of PATH, which is string
23433 # string "DIR[ DIR]" will be prepended to VARIABLE
23435 # string "DIR[ DIR]" will be appended to VARIABLE
23436 # "DIRP[:DIRP]::[DIRA:]DIRA"
23437 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23438 # "DIRA[ DIRA]" will be appended to VARIABLE
23440 # VARIABLE will be replaced by "DIR[ DIR]"
23441 func_munge_path_list ()
23447 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23450 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23453 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23454 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23457 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23463 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23464 func_cc_basename ()
23466 for cc_temp in $*""; do
23468 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23469 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23474 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23478 # ### END FUNCTIONS SHARED WITH CONFIGURE
23484 cat <<\_LT_EOF
>> "$cfgfile"
23485 # AIX sometimes has problems with the GCC collect2 program. For some
23486 # reason, if we set the COLLECT_NAMES environment variable, the problems
23487 # vanish in a puff of smoke.
23488 if test set != "${COLLECT_NAMES+set}"; then
23490 export COLLECT_NAMES
23498 ltmain
=$ac_aux_dir/ltmain.sh
23501 # We use sed instead of cat because bash on DJGPP gets confused if
23502 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23503 # text mode, it properly converts lines to CR/LF. This bash problem
23504 # is reportedly fixed, but why not run on old versions too?
23505 sed '$q' "$ltmain" >> "$cfgfile" \
23506 || (rm -f "$cfgfile"; exit 1)
23508 mv -f "$cfgfile" "$ofile" ||
23509 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23513 cat <<_LT_EOF >> "$ofile"
23515 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23517 # The linker used to build libraries.
23520 # How to create reloadable object files.
23521 reload_flag=$lt_reload_flag_CXX
23522 reload_cmds=$lt_reload_cmds_CXX
23524 # Commands used to build an old-style archive.
23525 old_archive_cmds=$lt_old_archive_cmds_CXX
23527 # A language specific compiler.
23528 CC=$lt_compiler_CXX
23530 # Is the compiler the GNU compiler?
23533 # Compiler flag to turn off builtin functions.
23534 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23536 # Additional compiler flags for building library objects.
23537 pic_flag=$lt_lt_prog_compiler_pic_CXX
23539 # How to pass a linker flag through the compiler.
23540 wl=$lt_lt_prog_compiler_wl_CXX
23542 # Compiler flag to prevent dynamic linking.
23543 link_static_flag=$lt_lt_prog_compiler_static_CXX
23545 # Does compiler simultaneously support -c and -o options?
23546 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23548 # Whether or not to add -lc for building shared libraries.
23549 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23551 # Whether or not to disallow shared libs when runtime libs are static.
23552 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23554 # Compiler flag to allow reflexive dlopens.
23555 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23557 # Compiler flag to generate shared objects directly from archives.
23558 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23560 # Whether the compiler copes with passing no objects directly.
23561 compiler_needs_object=$lt_compiler_needs_object_CXX
23563 # Create an old-style archive from a shared archive.
23564 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23566 # Create a temporary old-style archive to link instead of a shared archive.
23567 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23569 # Commands used to build a shared archive.
23570 archive_cmds=$lt_archive_cmds_CXX
23571 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23573 # Commands used to build a loadable module if different from building
23574 # a shared archive.
23575 module_cmds=$lt_module_cmds_CXX
23576 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23578 # Whether we are building with GNU ld or not.
23579 with_gnu_ld=$lt_with_gnu_ld_CXX
23581 # Flag that allows shared libraries with undefined symbols to be built.
23582 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23584 # Flag that enforces no undefined symbols.
23585 no_undefined_flag=$lt_no_undefined_flag_CXX
23587 # Flag to hardcode \$libdir into a binary during linking.
23588 # This must work even if \$libdir does not exist
23589 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23591 # Whether we need a single "-rpath" flag with a separated argument.
23592 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23594 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23595 # DIR into the resulting binary.
23596 hardcode_direct=$hardcode_direct_CXX
23598 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23599 # DIR into the resulting binary and the resulting library dependency is
23600 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23601 # library is relocated.
23602 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23604 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23605 # into the resulting binary.
23606 hardcode_minus_L=$hardcode_minus_L_CXX
23608 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23609 # into the resulting binary.
23610 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23612 # Set to "yes" if building a shared library automatically hardcodes DIR
23613 # into the library and all subsequent libraries and executables linked
23615 hardcode_automatic=$hardcode_automatic_CXX
23617 # Set to yes if linker adds runtime paths of dependent libraries
23618 # to runtime path list.
23619 inherit_rpath=$inherit_rpath_CXX
23621 # Whether libtool must link a program against all its dependency libraries.
23622 link_all_deplibs=$link_all_deplibs_CXX
23624 # Set to "yes" if exported symbols are required.
23625 always_export_symbols=$always_export_symbols_CXX
23627 # The commands to list exported symbols.
23628 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23630 # Symbols that should not be listed in the preloaded symbols.
23631 exclude_expsyms=$lt_exclude_expsyms_CXX
23633 # Symbols that must always be exported.
23634 include_expsyms=$lt_include_expsyms_CXX
23636 # Commands necessary for linking programs (against libraries) with templates.
23637 prelink_cmds=$lt_prelink_cmds_CXX
23639 # Commands necessary for finishing linking programs.
23640 postlink_cmds=$lt_postlink_cmds_CXX
23642 # Specify filename containing input files.
23643 file_list_spec=$lt_file_list_spec_CXX
23645 # How to hardcode a shared library path into an executable.
23646 hardcode_action=$hardcode_action_CXX
23648 # The directories searched by this compiler when creating a shared library.
23649 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23651 # Dependencies to place before and after the objects being linked to
23652 # create a shared library.
23653 predep_objects=$lt_predep_objects_CXX
23654 postdep_objects=$lt_postdep_objects_CXX
23655 predeps=$lt_predeps_CXX
23656 postdeps=$lt_postdeps_CXX
23658 # The library search path used internally by the compiler when linking
23659 # a shared library.
23660 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23662 # ### END LIBTOOL TAG CONFIG: CXX
23673 ac_clean_files
=$ac_clean_files_save
23675 test $ac_write_fail = 0 ||
23676 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23679 # configure is writing to config.log, and then calls config.status.
23680 # config.status does its own redirection, appending to config.log.
23681 # Unfortunately, on DOS this fails, as config.log is still kept open
23682 # by configure, so config.status won't be able to write to it; its
23683 # output is simply discarded. So we exec the FD to /dev/null,
23684 # effectively closing config.log, so it can be properly (re)opened and
23685 # appended to by config.status. When coming back to configure, we
23686 # need to make the FD available again.
23687 if test "$no_create" != yes; then
23689 ac_config_status_args
=
23690 test "$silent" = yes &&
23691 ac_config_status_args
="$ac_config_status_args --quiet"
23693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23696 # would make configure fail if this is the last instruction.
23697 $ac_cs_success || as_fn_exit
1
23701 # CONFIG_SUBDIRS section.
23703 if test "$no_recursion" != yes; then
23705 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
23706 # so they do not pile up.
23707 ac_sub_configure_args
=
23709 eval "set x $ac_configure_args"
23713 if test -n "$ac_prev"; then
23718 -cache-file | --cache-file | --cache-fil | --cache-fi \
23719 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23720 ac_prev
=cache_file
;;
23721 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23722 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
23725 --config-cache | -C)
23727 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23729 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23731 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
23733 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
23735 --disable-option-checking)
23739 *\'*) ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23741 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
23745 # Always prepend --prefix to ensure using the same prefix
23746 # in subdir configurations.
23747 ac_arg
="--prefix=$prefix"
23749 *\'*) ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23751 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
23754 if test "$silent" = yes; then
23755 ac_sub_configure_args
="--silent $ac_sub_configure_args"
23758 # Always prepend --disable-option-checking to silence warnings, since
23759 # different subdirs can have different --enable and --with options.
23760 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
23763 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23765 # Do not complain, so a configure script can configure whichever
23766 # parts of a large source tree are present.
23767 test -d "$srcdir/$ac_dir" || continue
23769 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
23770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
23771 printf "%s\n" "$ac_msg" >&6
23772 as_dir
="$ac_dir"; as_fn_mkdir_p
23776 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23778 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23779 # A ".." for each directory in $ac_dir_suffix.
23780 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23781 case $ac_top_builddir_sub in
23782 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23783 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23786 ac_abs_top_builddir
=$ac_pwd
23787 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23788 # for backward compatibility:
23789 ac_top_builddir
=$ac_top_build_prefix
23792 .
) # We are building in place.
23794 ac_top_srcdir
=$ac_top_builddir_sub
23795 ac_abs_top_srcdir
=$ac_pwd ;;
23796 [\\/]* | ?
:[\\/]* ) # Absolute name.
23797 ac_srcdir
=$srcdir$ac_dir_suffix;
23798 ac_top_srcdir
=$srcdir
23799 ac_abs_top_srcdir
=$srcdir ;;
23800 *) # Relative name.
23801 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23802 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23803 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23805 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23810 # Check for configure.gnu first; this name is used for a wrapper for
23811 # Metaconfig's "Configure" on case-insensitive file systems.
23812 if test -f "$ac_srcdir/configure.gnu"; then
23813 ac_sub_configure
=$ac_srcdir/configure.gnu
23814 elif test -f "$ac_srcdir/configure"; then
23815 ac_sub_configure
=$ac_srcdir/configure
23817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
23818 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23822 # The recursion is here.
23823 if test -n "$ac_sub_configure"; then
23824 # Make the cache file name correct relative to the subdirectory.
23825 case $cache_file in
23826 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
23827 *) # Relative name.
23828 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
23831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23832 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23833 # The eval makes quoting arguments work.
23834 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
23835 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
23836 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
23842 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23844 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23849 echo "##########################"
23850 echo "# GNUWorld Configuration #"
23851 echo "##########################"
23853 echo "Configuration of GNUWorld is complete - you're almost ready to run 'make'..."
23855 echo "Check the following files for modification before building:"
23856 echo " include/gnuworld_config.h"
23858 if test $build_modcservice = true
; then
23859 echo " mod.cservice/cservice_config.h"
23862 if test $build_modopenchanfix = true
; then
23863 echo " mod.openchanfix/chanfix_config.h"