2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for xplus-gno 1.0.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='xplus-gno'
592 PACKAGE_TARNAME='xplus-gno'
593 PACKAGE_VERSION='1.0'
594 PACKAGE_STRING='xplus-gno 1.0'
595 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
598 ac_unique_file="main.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
686 DX_FLAG_DX_CURRENT_FEATURE
752 INSTALL_STRIP_PROGRAM
794 program_transform_name
807 enable_option_checking
813 enable_dependency_tracking
828 ac_precious_vars='build_alias
844 # Initialize some variables set by options.
846 ac_init_version=false
847 ac_unrecognized_opts=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name=s,x,x,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\$ac_option
904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
920 -build | --build | --buil | --bui | --bu)
921 ac_prev=build_alias ;;
922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923 build_alias=$ac_optarg ;;
925 -cache-file | --cache-file | --cache-fil | --cache-fi \
926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927 ac_prev=cache_file ;;
928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930 cache_file=$ac_optarg ;;
933 cache_file=config.cache ;;
935 -datadir | --datadir | --datadi | --datad)
937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
938 datadir=$ac_optarg ;;
940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941 | --dataroo | --dataro | --datar)
942 ac_prev=datarootdir ;;
943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945 datarootdir=$ac_optarg ;;
947 -disable-* | --disable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error $? "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
961 eval enable_$ac_useropt=no ;;
963 -docdir | --docdir | --docdi | --doc | --do)
965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
973 -enable-* | --enable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
987 eval enable_$ac_useropt=\$ac_optarg ;;
989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991 | --exec | --exe | --ex)
992 ac_prev=exec_prefix ;;
993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995 | --exec=* | --exe=* | --ex=*)
996 exec_prefix=$ac_optarg ;;
998 -gas | --gas | --ga | --g)
999 # Obsolete; use --with-gas.
1002 -help | --help | --hel | --he | -h)
1003 ac_init_help=long ;;
1004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005 ac_init_help=recursive ;;
1006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007 ac_init_help=short ;;
1009 -host | --host | --hos | --ho)
1010 ac_prev=host_alias ;;
1011 -host=* | --host=* | --hos=* | --ho=*)
1012 host_alias=$ac_optarg ;;
1014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1018 htmldir=$ac_optarg ;;
1020 -includedir | --includedir | --includedi | --included | --include \
1021 | --includ | --inclu | --incl | --inc)
1022 ac_prev=includedir ;;
1023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024 | --includ=* | --inclu=* | --incl=* | --inc=*)
1025 includedir=$ac_optarg ;;
1027 -infodir | --infodir | --infodi | --infod | --info | --inf)
1029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030 infodir=$ac_optarg ;;
1032 -libdir | --libdir | --libdi | --libd)
1034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035 libdir=$ac_optarg ;;
1037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038 | --libexe | --libex | --libe)
1039 ac_prev=libexecdir ;;
1040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041 | --libexe=* | --libex=* | --libe=*)
1042 libexecdir=$ac_optarg ;;
1044 -localedir | --localedir | --localedi | --localed | --locale)
1045 ac_prev=localedir ;;
1046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047 localedir=$ac_optarg ;;
1049 -localstatedir | --localstatedir | --localstatedi | --localstated \
1050 | --localstate | --localstat | --localsta | --localst | --locals)
1051 ac_prev=localstatedir ;;
1052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054 localstatedir=$ac_optarg ;;
1056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059 mandir=$ac_optarg ;;
1061 -nfp | --nfp | --nf)
1062 # Obsolete; use --without-fp.
1065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066 | --no-cr | --no-c | -n)
1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075 | --oldin | --oldi | --old | --ol | --o)
1076 ac_prev=oldincludedir ;;
1077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080 oldincludedir=$ac_optarg ;;
1082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085 prefix=$ac_optarg ;;
1087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088 | --program-pre | --program-pr | --program-p)
1089 ac_prev=program_prefix ;;
1090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092 program_prefix=$ac_optarg ;;
1094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095 | --program-suf | --program-su | --program-s)
1096 ac_prev=program_suffix ;;
1097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099 program_suffix=$ac_optarg ;;
1101 -program-transform-name | --program-transform-name \
1102 | --program-transform-nam | --program-transform-na \
1103 | --program-transform-n | --program-transform- \
1104 | --program-transform | --program-transfor \
1105 | --program-transfo | --program-transf \
1106 | --program-trans | --program-tran \
1107 | --progr-tra | --program-tr | --program-t)
1108 ac_prev=program_transform_name ;;
1109 -program-transform-name=* | --program-transform-name=* \
1110 | --program-transform-nam=* | --program-transform-na=* \
1111 | --program-transform-n=* | --program-transform-=* \
1112 | --program-transform=* | --program-transfor=* \
1113 | --program-transfo=* | --program-transf=* \
1114 | --program-trans=* | --program-tran=* \
1115 | --progr-tra=* | --program-tr=* | --program-t=*)
1116 program_transform_name=$ac_optarg ;;
1118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121 pdfdir=$ac_optarg ;;
1123 -psdir | --psdir | --psdi | --psd | --ps)
1125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129 | -silent | --silent | --silen | --sile | --sil)
1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1136 sbindir=$ac_optarg ;;
1138 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140 | --sharedst | --shareds | --shared | --share | --shar \
1142 ac_prev=sharedstatedir ;;
1143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1147 sharedstatedir=$ac_optarg ;;
1149 -site | --site | --sit)
1151 -site=* | --site=* | --sit=*)
1154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157 srcdir=$ac_optarg ;;
1159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160 | --syscon | --sysco | --sysc | --sys | --sy)
1161 ac_prev=sysconfdir ;;
1162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164 sysconfdir=$ac_optarg ;;
1166 -target | --target | --targe | --targ | --tar | --ta | --t)
1167 ac_prev=target_alias ;;
1168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169 target_alias=$ac_optarg ;;
1171 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1174 -version | --version | --versio | --versi | --vers | -V)
1175 ac_init_version=: ;;
1178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=\$ac_optarg ;;
1193 -without-* | --without-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1207 eval with_$ac_useropt=no ;;
1210 # Obsolete; use --with-x.
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' | [0-9]* | *[!_$as_cr_alnum]* )
1236 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error $? "missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265 # Check all directory arguments for consistency.
1266 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val=\$$ac_var
1272 # Remove trailing slashes.
1275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\$ac_val;;
1278 # Be sure to have absolute directory names.
1280 [\\/$]* | ?:[\\/]* ) continue;;
1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1291 target=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295 if test "x$build_alias" = x; then
1296 cross_compiling=maybe
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305 test "$silent" = yes && exec 6>/dev/null
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $? "pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var in $ac_precious_vars; do
1369 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_${ac_var}_value=\$${ac_var}
1371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures xplus-gno 1.0 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/xplus-gno]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of xplus-gno 1.0:";;
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --enable-silent-rules less verbose build output (undo: "make V=1")
1461 --disable-silent-rules verbose build output (undo: "make V=0")
1462 --enable-shared[=PKGS] build shared libraries [default=yes]
1463 --enable-static[=PKGS] build static libraries [default=yes]
1464 --enable-fast-install[=PKGS]
1465 optimize for fast installation [default=yes]
1466 --enable-dependency-tracking
1467 do not reject slow dependency extractors
1468 --disable-dependency-tracking
1469 speeds up one-time build
1470 --disable-libtool-lock avoid locking (might break parallel builds)
1471 --disable-doxygen-doc don't generate any doxygen documentation
1472 --disable-doxygen-dot don't generate graphics for doxygen documentation
1473 --enable-doxygen-man generate doxygen manual pages
1474 --enable-doxygen-rtf generate doxygen RTF documentation
1475 --enable-doxygen-xml generate doxygen XML documentation
1476 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1477 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1479 --disable-doxygen-html don't generate doxygen plain HTML documentation
1480 --enable-doxygen-ps generate doxygen PostScript documentation
1481 --enable-doxygen-pdf generate doxygen PDF documentation
1484 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1485 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1486 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1488 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1489 --with-sysroot=DIR Search for dependent libraries within DIR
1490 (or the compiler's sysroot if not specified).
1492 Some influential environment variables:
1493 CC C compiler command
1494 CFLAGS C compiler flags
1495 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1496 nonstandard directory <lib dir>
1497 LIBS libraries to pass to the linker, e.g. -l<library>
1498 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499 you have headers in a nonstandard directory <include dir>
1502 a4wide (default), a4, letter, legal or executive
1503 CXX C++ compiler command
1504 CXXFLAGS C++ compiler flags
1505 CXXCPP C++ preprocessor
1507 Use these variables to override the choices made by `configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1510 Report bugs to <BUG-REPORT-ADDRESS>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1540 .) # We are building in place.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1573 xplus-gno configure 1.0
1574 generated by GNU Autoconf 2.69
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_link LINENO
1626 # -----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 rm -f conftest.$ac_objext conftest$ac_exeext
1632 if { { ac_try="$ac_link"
1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && {
1648 test -z "$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1650 } && test -s conftest$ac_exeext && {
1651 test "$cross_compiling" = yes ||
1652 test -x conftest$ac_exeext
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663 # interfere with the next link command; also delete a directory that is
1664 # left behind by Apple's compiler. We do this before executing the actions.
1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1669 } # ac_fn_c_try_link
1671 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1672 # -------------------------------------------------------
1673 # Tests whether HEADER exists and can be compiled using the include files in
1674 # INCLUDES, setting the cache variable VAR accordingly.
1675 ac_fn_c_check_header_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681 $as_echo_n "(cached) " >&6
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1688 if ac_fn_c_try_compile "$LINENO"; then :
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 } # ac_fn_c_check_header_compile
1702 # ac_fn_c_try_cpp LINENO
1703 # ----------------------
1704 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_cpp conftest.$ac_ext"
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1717 if test -s conftest.err; then
1718 grep -v '^ *+' conftest.err >conftest.er1
1719 cat conftest.er1 >&5
1720 mv -f conftest.er1 conftest.err
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } > conftest.i && {
1724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725 test ! -s conftest.err
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>&5
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757 { { case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_try") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; }; }; then :
1769 $as_echo "$as_me: program exited with status $ac_status" >&5
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=$ac_status
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 as_fn_set_status $ac_retval
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1796 #define $2 innocuous_$2
1798 /* System header to define __stub macros and hopefully few prototypes,
1799 which can conflict with char $2 (); below.
1800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801 <limits.h> exists even on freestanding compilers. */
1804 # include <limits.h>
1806 # include <assert.h>
1811 /* Override any GCC internal prototype to avoid an error.
1812 Use char because int might match the return type of a GCC
1813 builtin and then its argument prototype would still apply. */
1818 /* The GNU C library defines this for functions which it implements
1819 to always fail with ENOSYS. Some functions are actually named
1820 something starting with __ and the normal name is an alias. */
1821 #if defined __stub_$2 || defined __stub___$2
1833 if ac_fn_c_try_link "$LINENO"; then :
1838 rm -f core conftest.err conftest.$ac_objext \
1839 conftest$ac_exeext conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_func
1848 # ac_fn_cxx_try_compile LINENO
1849 # ----------------------------
1850 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1851 ac_fn_cxx_try_compile ()
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 rm -f conftest.$ac_objext
1855 if { { ac_try="$ac_compile"
1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_compile") 2>conftest.err
1864 if test -s conftest.err; then
1865 grep -v '^ *+' conftest.err >conftest.er1
1866 cat conftest.er1 >&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && {
1871 test -z "$ac_cxx_werror_flag" ||
1872 test ! -s conftest.err
1873 } && test -s conftest.$ac_objext; then :
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1884 } # ac_fn_cxx_try_compile
1886 # ac_fn_cxx_try_cpp LINENO
1887 # ------------------------
1888 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1889 ac_fn_cxx_try_cpp ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 if { { ac_try="$ac_cpp conftest.$ac_ext"
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1901 if test -s conftest.err; then
1902 grep -v '^ *+' conftest.err >conftest.er1
1903 cat conftest.er1 >&5
1904 mv -f conftest.er1 conftest.err
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907 test $ac_status = 0; } > conftest.i && {
1908 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1909 test ! -s conftest.err
1913 $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 as_fn_set_status $ac_retval
1921 } # ac_fn_cxx_try_cpp
1923 # ac_fn_cxx_try_link LINENO
1924 # -------------------------
1925 # Try to link conftest.$ac_ext, and return whether this succeeded.
1926 ac_fn_cxx_try_link ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 rm -f conftest.$ac_objext conftest$ac_exeext
1930 if { { ac_try="$ac_link"
1932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933 *) ac_try_echo=$ac_try;;
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937 (eval "$ac_link") 2>conftest.err
1939 if test -s conftest.err; then
1940 grep -v '^ *+' conftest.err >conftest.er1
1941 cat conftest.er1 >&5
1942 mv -f conftest.er1 conftest.err
1944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 test $ac_status = 0; } && {
1946 test -z "$ac_cxx_werror_flag" ||
1947 test ! -s conftest.err
1948 } && test -s conftest$ac_exeext && {
1949 test "$cross_compiling" = yes ||
1950 test -x conftest$ac_exeext
1954 $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1959 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1960 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1961 # interfere with the next link command; also delete a directory that is
1962 # left behind by Apple's compiler. We do this before executing the actions.
1963 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965 as_fn_set_status $ac_retval
1967 } # ac_fn_cxx_try_link
1969 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1970 # -------------------------------------------
1971 # Tests whether TYPE exists after having included INCLUDES, setting cache
1972 # variable VAR accordingly.
1973 ac_fn_c_check_type ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval \${$3+:} false; then :
1979 $as_echo_n "(cached) " >&6
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2007 if ac_fn_c_try_compile "$LINENO"; then :
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_type
2022 cat >config.log <<_ACEOF
2023 This file contains any messages produced by compilers while
2024 running configure, to aid debugging if configure makes a mistake.
2026 It was created by xplus-gno $as_me 1.0, which was
2027 generated by GNU Autoconf 2.69. Invocation command line was
2039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2051 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 $as_echo "PATH: $as_dir"
2079 # Keep a trace of the command line.
2080 # Strip out --no-create and --no-recursion so they do not pile up.
2081 # Strip out --silent because we don't want to record it for future runs.
2082 # Also quote any args containing shell meta-characters.
2083 # Make two passes to allow for proper duplicate-argument suppression.
2087 ac_must_keep_next=false
2093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2098 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2103 as_fn_append ac_configure_args1 " '$ac_arg'"
2104 if test $ac_must_keep_next = true; then
2105 ac_must_keep_next=false # Got value, back to normal.
2108 *=* | --config-cache | -C | -disable-* | --disable-* \
2109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111 | -with-* | --with-* | -without-* | --without-* | --x)
2112 case "$ac_configure_args0 " in
2113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2116 -* ) ac_must_keep_next=true ;;
2119 as_fn_append ac_configure_args " '$ac_arg'"
2124 { ac_configure_args0=; unset ac_configure_args0;}
2125 { ac_configure_args1=; unset ac_configure_args1;}
2127 # When interrupted or exit'd, cleanup temporary files, and complete
2128 # config.log. We remove comments because anyway the quotes in there
2129 # would cause problems or look ugly.
2130 # WARNING: Use '\'' to represent an apostrophe within the trap.
2131 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132 trap 'exit_status=$?
2133 # Save into config.log some information that might help in debugging.
2137 $as_echo "## ---------------- ##
2138 ## Cache variables. ##
2139 ## ---------------- ##"
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2154 *) { eval $ac_var=; unset $ac_var;} ;;
2159 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160 *${as_nl}ac_space=\ *)
2162 "s/'\''/'\''\\\\'\'''\''/g;
2163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 $as_echo "## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##"
2177 for ac_var in $ac_subst_vars
2179 eval ac_val=\$$ac_var
2181 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183 $as_echo "$ac_var='\''$ac_val'\''"
2187 if test -n "$ac_subst_files"; then
2188 $as_echo "## ------------------- ##
2189 ## File substitutions. ##
2190 ## ------------------- ##"
2192 for ac_var in $ac_subst_files
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 $as_echo "$ac_var='\''$ac_val'\''"
2203 if test -s confdefs.h; then
2204 $as_echo "## ----------- ##
2211 test "$ac_signal" != 0 &&
2212 $as_echo "$as_me: caught signal $ac_signal"
2213 $as_echo "$as_me: exit $exit_status"
2215 rm -f core *.core core.conftest.* &&
2216 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2219 for ac_signal in 1 2 13 15; do
2220 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2224 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2225 rm -f -r conftest* confdefs.h
2227 $as_echo "/* confdefs.h */" > confdefs.h
2229 # Predefined preprocessor variables.
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_NAME "$PACKAGE_NAME"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_STRING "$PACKAGE_STRING"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_URL "$PACKAGE_URL"
2256 # Let the site file select an alternate cache file if it wants to.
2257 # Prefer an explicitly selected file to automatically selected ones.
2260 if test -n "$CONFIG_SITE"; then
2261 # We do not want a PATH search for config.site.
2262 case $CONFIG_SITE in #((
2263 -*) ac_site_file1=./$CONFIG_SITE;;
2264 */*) ac_site_file1=$CONFIG_SITE;;
2265 *) ac_site_file1=./$CONFIG_SITE;;
2267 elif test "x$prefix" != xNONE; then
2268 ac_site_file1=$prefix/share/config.site
2269 ac_site_file2=$prefix/etc/config.site
2271 ac_site_file1=$ac_default_prefix/share/config.site
2272 ac_site_file2=$ac_default_prefix/etc/config.site
2274 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2276 test "x$ac_site_file" = xNONE && continue
2277 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2279 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2282 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284 as_fn_error $? "failed to load site script $ac_site_file
2285 See \`config.log' for more details" "$LINENO" 5; }
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special files
2291 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2292 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2294 $as_echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2302 $as_echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2321 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 # differences in whitespace do not lead to failure.
2327 ac_old_val_w=`echo x $ac_old_val`
2328 ac_new_val_w=`echo x $ac_new_val`
2329 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2331 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2332 ac_cache_corrupted=:
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2335 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2336 eval $ac_var=\$ac_old_val
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2339 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2341 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2344 # Pass precious variables to config.status.
2345 if test "$ac_new_set" = set; then
2347 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2348 *) ac_arg=$ac_var=$ac_new_val ;;
2350 case " $ac_configure_args " in
2351 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2352 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2356 if $ac_cache_corrupted; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2360 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2363 ## -------------------- ##
2364 ## Main body of script. ##
2365 ## -------------------- ##
2368 ac_cpp='$CPP $CPPFLAGS'
2369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2376 am__api_version='1.14'
2379 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2380 if test -f "$ac_dir/install-sh"; then
2382 ac_install_sh="$ac_aux_dir/install-sh -c"
2384 elif test -f "$ac_dir/install.sh"; then
2386 ac_install_sh="$ac_aux_dir/install.sh -c"
2388 elif test -f "$ac_dir/shtool"; then
2390 ac_install_sh="$ac_aux_dir/shtool install -c"
2394 if test -z "$ac_aux_dir"; then
2395 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2403 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2404 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2407 # Find a good install program. We prefer a C program (faster),
2408 # so one script is as good as another. But avoid the broken or
2409 # incompatible versions:
2410 # SysV /etc/install, /usr/sbin/install
2411 # SunOS /usr/etc/install
2412 # IRIX /sbin/install
2414 # AmigaOS /C/install, which installs bootblocks on floppy discs
2415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2418 # OS/2's system install, which has a completely different semantic
2419 # ./install, which can be erroneously created by make from ./install.sh.
2420 # Reject install programs that cannot install multiple files.
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2423 if test -z "$INSTALL"; then
2424 if ${ac_cv_path_install+:} false; then :
2425 $as_echo_n "(cached) " >&6
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir=.
2432 # Account for people who put trailing slashes in PATH elements.
2433 case $as_dir/ in #((
2434 ./ | .// | /[cC]/* | \
2435 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2436 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2439 # OSF1 and SCO ODT 3.0 have their own names for install.
2440 # Don't use installbsd from OSF since it installs stuff as root
2442 for ac_prog in ginstall scoinst install; do
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2445 if test $ac_prog = install &&
2446 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2447 # AIX install. It has an incompatible calling convention.
2449 elif test $ac_prog = install &&
2450 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2451 # program-specific install script used by HP pwplus--don't use.
2454 rm -rf conftest.one conftest.two conftest.dir
2455 echo one > conftest.one
2456 echo two > conftest.two
2458 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2459 test -s conftest.one && test -s conftest.two &&
2460 test -s conftest.dir/conftest.one &&
2461 test -s conftest.dir/conftest.two
2463 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2476 rm -rf conftest.one conftest.two conftest.dir
2479 if test "${ac_cv_path_install+set}" = set; then
2480 INSTALL=$ac_cv_path_install
2482 # As a last resort, use the slow shell script. Don't cache a
2483 # value for INSTALL within a source directory, because that will
2484 # break other packages using the cache if that directory is
2485 # removed, or if the value is a relative name.
2486 INSTALL=$ac_install_sh
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2490 $as_echo "$INSTALL" >&6; }
2492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2493 # It thinks the first close brace ends the variable substitution.
2494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2498 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2501 $as_echo_n "checking whether build environment is sane... " >&6; }
2502 # Reject unsafe characters in $srcdir or the absolute working directory
2503 # name. Accept space and tab only in the latter.
2507 *[\\\"\#\$\&\'\`$am_lf]*)
2508 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2511 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2512 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2515 # Do 'set' in a subshell so we don't clobber the current shell's
2516 # arguments. Must try -L first in case configure is actually a
2517 # symlink; some systems play weird games with the mod time of symlinks
2518 # (eg FreeBSD returns the mod time of the symlink's containing
2522 for am_try in 1 2; do
2523 echo "timestamp, slept: $am_has_slept" > conftest.file
2524 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2525 if test "$*" = "X"; then
2527 set X `ls -t "$srcdir/configure" conftest.file`
2529 if test "$*" != "X $srcdir/configure conftest.file" \
2530 && test "$*" != "X conftest.file $srcdir/configure"; then
2532 # If neither matched, then we have a broken ls. This can happen
2533 # if, for instance, CONFIG_SHELL is bash and it inherits a
2534 # broken ls alias from the environment. This has actually
2535 # happened. Such a system could not be considered "sane".
2536 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2537 alias in your environment" "$LINENO" 5
2539 if test "$2" = conftest.file || test $am_try -eq 2; then
2546 test "$2" = conftest.file
2552 as_fn_error $? "newly created file is older than distributed files!
2553 Check your system clock" "$LINENO" 5
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2557 # If we didn't sleep, we still need to ensure time stamps of config.status and
2558 # generated files are strictly newer.
2560 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2567 test "$program_prefix" != NONE &&
2568 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2569 # Use a double $ so make ignores it.
2570 test "$program_suffix" != NONE &&
2571 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2572 # Double any \ or $.
2573 # By default was `s,x,x', remove it if useless.
2574 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2575 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2577 # Expand $ac_aux_dir to an absolute path.
2578 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2580 if test x"${MISSING+set}" != xset; then
2583 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2585 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2588 # Use eval to expand $SHELL
2589 if eval "$MISSING --is-lightweight"; then
2590 am_missing_run="$MISSING "
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2594 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2597 if test x"${install_sh}" != xset; then
2600 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2602 install_sh="\${SHELL} $am_aux_dir/install-sh"
2606 # Installed binaries are usually stripped using 'strip' when the user
2607 # run "make install-strip". However 'strip' might not be the right
2608 # tool to use in cross-compilation environments, therefore Automake
2609 # will honor the 'STRIP' environment variable to overrule this program.
2610 if test "$cross_compiling" != no; then
2611 if test -n "$ac_tool_prefix"; then
2612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2613 set dummy ${ac_tool_prefix}strip; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_STRIP+:} false; then :
2617 $as_echo_n "(cached) " >&6
2619 if test -n "$STRIP"; then
2620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 STRIP=$ac_cv_prog_STRIP
2640 if test -n "$STRIP"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2642 $as_echo "$STRIP" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2650 if test -z "$ac_cv_prog_STRIP"; then
2652 # Extract the first word of "strip", so it can be a program name with args.
2653 set dummy strip; ac_word=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2657 $as_echo_n "(cached) " >&6
2659 if test -n "$ac_ct_STRIP"; then
2660 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669 ac_cv_prog_ac_ct_STRIP="strip"
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2680 if test -n "$ac_ct_STRIP"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2682 $as_echo "$ac_ct_STRIP" >&6; }
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2688 if test "x$ac_ct_STRIP" = x; then
2691 case $cross_compiling:$ac_tool_warned in
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2695 ac_tool_warned=yes ;;
2700 STRIP="$ac_cv_prog_STRIP"
2704 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2707 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2708 if test -z "$MKDIR_P"; then
2709 if ${ac_cv_path_mkdir+:} false; then :
2710 $as_echo_n "(cached) " >&6
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2716 test -z "$as_dir" && as_dir=.
2717 for ac_prog in mkdir gmkdir; do
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2720 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2721 'mkdir (GNU coreutils) '* | \
2722 'mkdir (coreutils) '* | \
2723 'mkdir (fileutils) '4.1*)
2724 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2734 test -d ./--version && rmdir ./--version
2735 if test "${ac_cv_path_mkdir+set}" = set; then
2736 MKDIR_P="$ac_cv_path_mkdir -p"
2738 # As a last resort, use the slow shell script. Don't cache a
2739 # value for MKDIR_P within a source directory, because that will
2740 # break other packages using the cache if that directory is
2741 # removed, or if the value is a relative name.
2742 MKDIR_P="$ac_install_sh -d"
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2746 $as_echo "$MKDIR_P" >&6; }
2748 for ac_prog in gawk mawk nawk awk
2750 # Extract the first word of "$ac_prog", so it can be a program name with args.
2751 set dummy $ac_prog; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_AWK+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 if test -n "$AWK"; then
2758 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_AWK="$ac_prog"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 if test -n "$AWK"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2780 $as_echo "$AWK" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2787 test -n "$AWK" && break
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2791 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2793 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2794 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 cat >conftest.make <<\_ACEOF
2800 @echo '@@@%%%=$(MAKE)=@@@%%%'
2802 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2803 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2805 eval ac_cv_prog_make_${ac_make}_set=yes;;
2807 eval ac_cv_prog_make_${ac_make}_set=no;;
2811 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813 $as_echo "yes" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2818 SET_MAKE="MAKE=${MAKE-make}"
2821 rm -rf .tst 2>/dev/null
2822 mkdir .tst 2>/dev/null
2823 if test -d .tst; then
2828 rmdir .tst 2>/dev/null
2830 # Check whether --enable-silent-rules was given.
2831 if test "${enable_silent_rules+set}" = set; then :
2832 enableval=$enable_silent_rules;
2835 case $enable_silent_rules in # (((
2836 yes) AM_DEFAULT_VERBOSITY=0;;
2837 no) AM_DEFAULT_VERBOSITY=1;;
2838 *) AM_DEFAULT_VERBOSITY=1;;
2840 am_make=${MAKE-make}
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2842 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2843 if ${am_cv_make_support_nested_variables+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 if $as_echo 'TRUE=$(BAR$(V))
2852 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2853 am_cv_make_support_nested_variables=yes
2855 am_cv_make_support_nested_variables=no
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2859 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2860 if test $am_cv_make_support_nested_variables = yes; then
2862 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2864 AM_V=$AM_DEFAULT_VERBOSITY
2865 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2869 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2870 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2871 # is not polluted with repeated "-I."
2872 am__isrc=' -I$(srcdir)'
2873 # test to see if srcdir already configured
2874 if test -f $srcdir/config.status; then
2875 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2879 # test whether we have cygpath
2880 if test -z "$CYGPATH_W"; then
2881 if (cygpath --version) >/dev/null 2>/dev/null; then
2882 CYGPATH_W='cygpath -w'
2889 # Define the identity of the package.
2894 cat >>confdefs.h <<_ACEOF
2895 #define PACKAGE "$PACKAGE"
2899 cat >>confdefs.h <<_ACEOF
2900 #define VERSION "$VERSION"
2903 # Some tools Automake needs.
2905 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2908 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2914 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2917 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2919 # For better backward compatibility. To be removed once Automake 1.9.x
2920 # dies out for good. For more background, see:
2921 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2922 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2923 mkdir_p='$(MKDIR_P)'
2925 # We need awk for the "check" target. The system "awk" is bad on
2927 # Always define AMTAR for backward compatibility. Yes, it's still used
2928 # in the wild :-( We should find a proper way to deprecate it ...
2932 # We'll loop over all known methods to create a tar archive until one works.
2933 _am_tools='gnutar pax cpio none'
2935 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2942 # POSIX will say in a future version that running "rm -f" with no argument
2943 # is OK; and we want to be able to make that assumption in our Makefile
2944 # recipes. So use an aggressive probe to check that the usage we want is
2945 # actually supported "in the wild" to an acceptable degree.
2946 # See automake bug#10828.
2947 # To make any issue more visible, cause the running configure to be aborted
2948 # by default if the 'rm' program in use doesn't match our expectations; the
2949 # user can still override this though.
2950 if rm -f && rm -fr && rm -rf; then : OK; else
2954 Your 'rm' program seems unable to run without file operands specified
2955 on the command line, even when the '-f' option is present. This is contrary
2956 to the behaviour of most rm programs out there, and not conforming with
2957 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2959 Please tell bug-automake@gnu.org about your system, including the value
2960 of your $PATH and any error possibly output before this message. This
2961 can help us improve future automake versions.
2964 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2965 echo 'Configuration will proceed anyway, since you have set the' >&2
2966 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2970 Aborting the configuration process, to ensure you take notice of the issue.
2972 You can download and install GNU coreutils to get an 'rm' implementation
2973 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2975 If you want to complete the configuration process using your problematic
2976 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2977 to "yes", and re-run configure.
2980 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2984 ac_config_headers="$ac_config_headers config.h"
2986 #AC_PREFIX_DEFAULT(duck)
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2990 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2995 macro_version='2.4.2'
2996 macro_revision='1.3337'
3010 ltmain="$ac_aux_dir/ltmain.sh"
3012 # Make sure we can run config.sub.
3013 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3014 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3017 $as_echo_n "checking build system type... " >&6; }
3018 if ${ac_cv_build+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 ac_build_alias=$build_alias
3022 test "x$ac_build_alias" = x &&
3023 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3024 test "x$ac_build_alias" = x &&
3025 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3026 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3027 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3031 $as_echo "$ac_cv_build" >&6; }
3032 case $ac_cv_build in
3034 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3037 ac_save_IFS=$IFS; IFS='-'
3043 # Remember, the first character of IFS is used to create $*,
3044 # except with old shells:
3047 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3051 $as_echo_n "checking host system type... " >&6; }
3052 if ${ac_cv_host+:} false; then :
3053 $as_echo_n "(cached) " >&6
3055 if test "x$host_alias" = x; then
3056 ac_cv_host=$ac_cv_build
3058 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3059 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3064 $as_echo "$ac_cv_host" >&6; }
3067 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3070 ac_save_IFS=$IFS; IFS='-'
3076 # Remember, the first character of IFS is used to create $*,
3077 # except with old shells:
3080 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3083 # Backslashify metacharacters that are still active within
3084 # double-quoted strings.
3085 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3087 # Same as above, but do not quote variable references.
3088 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3090 # Sed substitution to delay expansion of an escaped shell variable in a
3091 # double_quote_subst'ed string.
3092 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3094 # Sed substitution to delay expansion of an escaped single quote.
3095 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3097 # Sed substitution to avoid accidental globbing in evaled expressions
3098 no_glob_subst='s/\*/\\\*/g'
3100 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3101 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3102 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3105 $as_echo_n "checking how to print strings... " >&6; }
3106 # Test print first, because it will be a builtin if present.
3107 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3108 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3110 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3113 # Use this function as a fallback that always works.
3114 func_fallback_echo ()
3116 eval 'cat <<_LTECHO_EOF
3120 ECHO='func_fallback_echo'
3123 # func_echo_all arg...
3124 # Invoke $ECHO with all args, space-separated.
3131 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3132 $as_echo "printf" >&6; } ;;
3133 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3134 $as_echo "print -r" >&6; } ;;
3135 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3136 $as_echo "cat" >&6; } ;;
3152 DEPDIR="${am__leading_dot}deps"
3154 ac_config_commands="$ac_config_commands depfiles"
3157 am_make=${MAKE-make}
3158 cat > confinc << 'END'
3160 @echo this is the am__doit target
3163 # If we don't find an include directive, just comment out the code.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3165 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3169 # First try GNU make style include.
3170 echo "include confinc" > confmf
3171 # Ignore all kinds of additional output from 'make'.
3172 case `$am_make -s -f confmf 2> /dev/null` in #(
3173 *the\ am__doit\ target*)
3179 # Now try BSD make style include.
3180 if test "$am__include" = "#"; then
3181 echo '.include "confinc"' > confmf
3182 case `$am_make -s -f confmf 2> /dev/null` in #(
3183 *the\ am__doit\ target*)
3184 am__include=.include
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3193 $as_echo "$_am_result" >&6; }
3194 rm -f confinc confmf
3196 # Check whether --enable-dependency-tracking was given.
3197 if test "${enable_dependency_tracking+set}" = set; then :
3198 enableval=$enable_dependency_tracking;
3201 if test "x$enable_dependency_tracking" != xno; then
3202 am_depcomp="$ac_aux_dir/depcomp"
3206 if test "x$enable_dependency_tracking" != xno; then
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3220 if test -n "$ac_tool_prefix"; then
3221 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3222 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_CC+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$CC"; then
3229 ac_cv_prog_CC="$CC" # Let the user override the test.
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 if test -n "$CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3251 $as_echo "$CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3259 if test -z "$ac_cv_prog_CC"; then
3261 # Extract the first word of "gcc", so it can be a program name with args.
3262 set dummy gcc; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$ac_ct_CC"; then
3269 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_ac_ct_CC="gcc"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3289 if test -n "$ac_ct_CC"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3291 $as_echo "$ac_ct_CC" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3297 if test "x$ac_ct_CC" = x; then
3300 case $cross_compiling:$ac_tool_warned in
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned=yes ;;
3312 if test -z "$CC"; then
3313 if test -n "$ac_tool_prefix"; then
3314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}cc; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if ${ac_cv_prog_CC+:} false; then :
3319 $as_echo_n "(cached) " >&6
3321 if test -n "$CC"; then
3322 ac_cv_prog_CC="$CC" # Let the user override the test.
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_CC="${ac_tool_prefix}cc"
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 if test -n "$CC"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3344 $as_echo "$CC" >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3353 if test -z "$CC"; then
3354 # Extract the first word of "cc", so it can be a program name with args.
3355 set dummy cc; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_CC+:} false; then :
3359 $as_echo_n "(cached) " >&6
3361 if test -n "$CC"; then
3362 ac_cv_prog_CC="$CC" # Let the user override the test.
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3373 ac_prog_rejected=yes
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 if test $ac_prog_rejected = yes; then
3385 # We found a bogon in the path, so make sure we never use it.
3386 set dummy $ac_cv_prog_CC
3388 if test $# != 0; then
3389 # We chose a different compiler from the bogus one.
3390 # However, it has the same basename, so the bogon will be chosen
3391 # first if we set CC to just the basename; use the full file name.
3393 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3399 if test -n "$CC"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3401 $as_echo "$CC" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3409 if test -z "$CC"; then
3410 if test -n "$ac_tool_prefix"; then
3411 for ac_prog in cl.exe
3413 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3414 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_prog_CC+:} false; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$CC"; then
3421 ac_cv_prog_CC="$CC" # Let the user override the test.
3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir=.
3428 for ac_exec_ext in '' $ac_executable_extensions; do
3429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3430 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 if test -n "$CC"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3450 test -n "$CC" && break
3453 if test -z "$CC"; then
3455 for ac_prog in cl.exe
3457 # Extract the first word of "$ac_prog", so it can be a program name with args.
3458 set dummy $ac_prog; ac_word=$2
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3460 $as_echo_n "checking for $ac_word... " >&6; }
3461 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3462 $as_echo_n "(cached) " >&6
3464 if test -n "$ac_ct_CC"; then
3465 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir=.
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474 ac_cv_prog_ac_ct_CC="$ac_prog"
3475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3485 if test -n "$ac_ct_CC"; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3487 $as_echo "$ac_ct_CC" >&6; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490 $as_echo "no" >&6; }
3494 test -n "$ac_ct_CC" && break
3497 if test "x$ac_ct_CC" = x; then
3500 case $cross_compiling:$ac_tool_warned in
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned=yes ;;
3513 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3515 as_fn_error $? "no acceptable C compiler found in \$PATH
3516 See \`config.log' for more details" "$LINENO" 5; }
3518 # Provide some information about the compiler.
3519 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3522 for ac_option in --version -v -V -qversion; do
3523 { { ac_try="$ac_compiler $ac_option >&5"
3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529 $as_echo "$ac_try_echo"; } >&5
3530 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3532 if test -s conftest.err; then
3534 ... rest of stderr output deleted ...
3535 10q' conftest.err >conftest.er1
3536 cat conftest.er1 >&5
3538 rm -f conftest.er1 conftest.err
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 ac_clean_files_save=$ac_clean_files
3555 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3556 # Try to create an executable without -o first, disregard a.out.
3557 # It will help us diagnose broken compilers, and finding out an intuition
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3560 $as_echo_n "checking whether the C compiler works... " >&6; }
3561 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3563 # The possible output files:
3564 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3567 for ac_file in $ac_files
3570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3571 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3576 if { { ac_try="$ac_link_default"
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
3583 (eval "$ac_link_default") 2>&5
3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3586 test $ac_status = 0; }; then :
3587 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3588 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3589 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3590 # so that the user can short-circuit this test for compilers unknown to
3592 for ac_file in $ac_files ''
3594 test -f "$ac_file" || continue
3596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3599 # We found the default executable, but exeext='' is most
3603 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3605 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3607 # We set ac_cv_exeext here because the later test for it is not
3608 # safe: cross compilers may not add the suffix if given an `-o'
3609 # argument, so we may need to know it at that point already.
3610 # Even if this section looks crufty: it has the advantage of
3617 test "$ac_cv_exeext" = no && ac_cv_exeext=
3622 if test -z "$ac_file"; then :
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 $as_echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.$ac_ext >&5
3628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 as_fn_error 77 "C compiler cannot create executables
3631 See \`config.log' for more details" "$LINENO" 5; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3634 $as_echo "yes" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3637 $as_echo_n "checking for C compiler default output file name... " >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3639 $as_echo "$ac_file" >&6; }
3640 ac_exeext=$ac_cv_exeext
3642 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3643 ac_clean_files=$ac_clean_files_save
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3645 $as_echo_n "checking for suffix of executables... " >&6; }
3646 if { { ac_try="$ac_link"
3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652 $as_echo "$ac_try_echo"; } >&5
3653 (eval "$ac_link") 2>&5
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }; then :
3657 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3658 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3659 # work properly (i.e., refer to `conftest.exe'), while it won't with
3661 for ac_file in conftest.exe conftest conftest.*; do
3662 test -f "$ac_file" || continue
3664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3665 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3673 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3674 See \`config.log' for more details" "$LINENO" 5; }
3676 rm -f conftest conftest$ac_cv_exeext
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3678 $as_echo "$ac_cv_exeext" >&6; }
3680 rm -f conftest.$ac_ext
3681 EXEEXT=$ac_cv_exeext
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3689 FILE *f = fopen ("conftest.out", "w");
3690 return ferror (f) || fclose (f) != 0;
3696 ac_clean_files="$ac_clean_files conftest.out"
3697 # Check that the compiler produces executables we can run. If not, either
3698 # the compiler is broken, or we cross compile.
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3700 $as_echo_n "checking whether we are cross compiling... " >&6; }
3701 if test "$cross_compiling" != yes; then
3702 { { ac_try="$ac_link"
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3708 $as_echo "$ac_try_echo"; } >&5
3709 (eval "$ac_link") 2>&5
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; }
3713 if { ac_try='./conftest$ac_cv_exeext'
3714 { { case "(($ac_try" in
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720 (eval "$ac_try") 2>&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }; }; then
3726 if test "$cross_compiling" = maybe; then
3729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3731 as_fn_error $? "cannot run C compiled programs.
3732 If you meant to cross compile, use \`--host'.
3733 See \`config.log' for more details" "$LINENO" 5; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3738 $as_echo "$cross_compiling" >&6; }
3740 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3741 ac_clean_files=$ac_clean_files_save
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3743 $as_echo_n "checking for suffix of object files... " >&6; }
3744 if ${ac_cv_objext+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3758 rm -f conftest.o conftest.obj
3759 if { { ac_try="$ac_compile"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3765 $as_echo "$ac_try_echo"; } >&5
3766 (eval "$ac_compile") 2>&5
3768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3769 test $ac_status = 0; }; then :
3770 for ac_file in conftest.o conftest.obj conftest.*; do
3771 test -f "$ac_file" || continue;
3773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3774 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3779 $as_echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 as_fn_error $? "cannot compute suffix of object files: cannot compile
3785 See \`config.log' for more details" "$LINENO" 5; }
3787 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3790 $as_echo "$ac_cv_objext" >&6; }
3791 OBJEXT=$ac_cv_objext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3794 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3795 if ${ac_cv_c_compiler_gnu+:} false; then :
3796 $as_echo_n "(cached) " >&6
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3812 if ac_fn_c_try_compile "$LINENO"; then :
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3822 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3823 if test $ac_compiler_gnu = yes; then
3828 ac_test_CFLAGS=${CFLAGS+set}
3829 ac_save_CFLAGS=$CFLAGS
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3831 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3832 if ${ac_cv_prog_cc_g+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 ac_save_c_werror_flag=$ac_c_werror_flag
3836 ac_c_werror_flag=yes
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3850 if ac_fn_c_try_compile "$LINENO"; then :
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3865 if ac_fn_c_try_compile "$LINENO"; then :
3868 ac_c_werror_flag=$ac_save_c_werror_flag
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3881 if ac_fn_c_try_compile "$LINENO"; then :
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889 ac_c_werror_flag=$ac_save_c_werror_flag
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3892 $as_echo "$ac_cv_prog_cc_g" >&6; }
3893 if test "$ac_test_CFLAGS" = set; then
3894 CFLAGS=$ac_save_CFLAGS
3895 elif test $ac_cv_prog_cc_g = yes; then
3896 if test "$GCC" = yes; then
3902 if test "$GCC" = yes; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3909 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3910 if ${ac_cv_prog_cc_c89+:} false; then :
3911 $as_echo_n "(cached) " >&6
3913 ac_cv_prog_cc_c89=no
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3920 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3921 struct buf { int x; };
3922 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3923 static char *e (p, i)
3929 static char *f (char * (*g) (char **, int), char **p, ...)
3934 s = g (p, va_arg (v,int));
3939 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3940 function prototypes and stuff, but not '\xHH' hex character constants.
3941 These don't provoke an error unfortunately, instead are silently treated
3942 as 'x'. The following induces an error, until -std is added to get
3943 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3944 array size at least. It's necessary to write '\x00'==0 to get something
3945 that's true only with -std. */
3946 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3948 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3949 inside strings and character constants. */
3951 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3953 int test (int i, double x);
3954 struct s1 {int (*f) (int a);};
3955 struct s2 {int (*f) (double a);};
3956 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3962 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3967 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3968 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3970 CC="$ac_save_CC $ac_arg"
3971 if ac_fn_c_try_compile "$LINENO"; then :
3972 ac_cv_prog_cc_c89=$ac_arg
3974 rm -f core conftest.err conftest.$ac_objext
3975 test "x$ac_cv_prog_cc_c89" != "xno" && break
3977 rm -f conftest.$ac_ext
3982 case "x$ac_cv_prog_cc_c89" in
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3985 $as_echo "none needed" >&6; } ;;
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3988 $as_echo "unsupported" >&6; } ;;
3990 CC="$CC $ac_cv_prog_cc_c89"
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3992 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3994 if test "x$ac_cv_prog_cc_c89" != xno; then :
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4005 ac_cpp='$CPP $CPPFLAGS'
4006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4010 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4011 if ${am_cv_prog_cc_c_o+:} false; then :
4012 $as_echo_n "(cached) " >&6
4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4025 # Make sure it works both with $CC and with simple cc.
4026 # Following AC_PROG_CC_C_O, we do the test twice because some
4027 # compilers refuse to overwrite an existing .o file with -o,
4028 # though they will create one.
4029 am_cv_prog_cc_c_o=yes
4031 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4032 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } \
4036 && test -f conftest2.$ac_objext; then
4039 am_cv_prog_cc_c_o=no
4043 rm -f core conftest*
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4047 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4048 if test "$am_cv_prog_cc_c_o" != yes; then
4049 # Losing compiler, so override with the script.
4050 # FIXME: It is wrong to rewrite CC.
4051 # But if we don't then we get into trouble of one sort or another.
4052 # A longer-term fix would be to have automake use am__CC in this case,
4053 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4054 CC="$am_aux_dir/compile $CC"
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4063 depcc="$CC" am_compiler_list=
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4066 $as_echo_n "checking dependency style of $depcc... " >&6; }
4067 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4068 $as_echo_n "(cached) " >&6
4070 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4071 # We make a subdir and do the tests there. Otherwise we can end up
4072 # making bogus files that we don't know about and never remove. For
4073 # instance it was reported that on HP-UX the gcc test will end up
4074 # making a dummy file named 'D' -- because '-MD' means "put the output
4078 # Copy depcomp to subdir because otherwise we won't find it if we're
4079 # using a relative directory.
4080 cp "$am_depcomp" conftest.dir
4082 # We will build objects and dependencies in a subdirectory because
4083 # it helps to detect inapplicable dependency modes. For instance
4084 # both Tru64's cc and ICC support -MD to output dependencies as a
4085 # side effect of compilation, but ICC will put the dependencies in
4086 # the current directory while Tru64 will put them in the object
4090 am_cv_CC_dependencies_compiler_type=none
4091 if test "$am_compiler_list" = ""; then
4092 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4095 case " $depcc " in #(
4096 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4099 for depmode in $am_compiler_list; do
4100 # Setup a source with many dependencies, because some compilers
4101 # like to wrap large dependency lists on column 80 (with \), and
4102 # we should not choose a depcomp mode which is confused by this.
4104 # We need to recreate these files for each test, as the compiler may
4105 # overwrite some of them when testing with obscure command lines.
4106 # This happens at least with the AIX C compiler.
4108 for i in 1 2 3 4 5 6; do
4109 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4110 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4111 # Solaris 10 /bin/sh.
4112 echo '/* dummy */' > sub/conftst$i.h
4114 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4116 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4117 # mode. It turns out that the SunPro C++ compiler does not properly
4118 # handle '-M -o', and we need to detect this. Also, some Intel
4119 # versions had trouble with output in subdirs.
4120 am__obj=sub/conftest.${OBJEXT-o}
4121 am__minus_obj="-o $am__obj"
4124 # This depmode causes a compiler race in universal mode.
4125 test "$am__universal" = false || continue
4128 # After this tag, mechanisms are not by side-effect, so they'll
4129 # only be used when explicitly requested.
4130 if test "x$enable_dependency_tracking" = xyes; then
4136 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4137 # This compiler won't grok '-c -o', but also, the minuso test has
4138 # not run yet. These depmodes are late enough in the game, and
4139 # so weak that their functioning should not be impacted.
4140 am__obj=conftest.${OBJEXT-o}
4145 if depmode=$depmode \
4146 source=sub/conftest.c object=$am__obj \
4147 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4148 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4149 >/dev/null 2>conftest.err &&
4150 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4151 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4152 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4153 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4154 # icc doesn't choke on unknown options, it will just issue warnings
4155 # or remarks (even with -Werror). So we grep stderr for any message
4156 # that says an option was ignored or not supported.
4157 # When given -MP, icc 7.0 and 7.1 complain thusly:
4158 # icc: Command line warning: ignoring option '-M'; no argument required
4159 # The diagnosis changed in icc 8.0:
4160 # icc: Command line remark: option '-MP' not supported
4161 if (grep 'ignoring option' conftest.err ||
4162 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4163 am_cv_CC_dependencies_compiler_type=$depmode
4172 am_cv_CC_dependencies_compiler_type=none
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4177 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4178 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4181 test "x$enable_dependency_tracking" != xno \
4182 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4184 am__fastdepCC_FALSE='#'
4186 am__fastdepCC_TRUE='#'
4187 am__fastdepCC_FALSE=
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4192 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4193 if ${ac_cv_path_SED+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4197 for ac_i in 1 2 3 4 5 6 7; do
4198 ac_script="$ac_script$as_nl$ac_script"
4200 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4201 { ac_script=; unset ac_script;}
4202 if test -z "$SED"; then
4203 ac_path_SED_found=false
4204 # Loop through the user's path and test for each of PROGNAME-LIST
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir=.
4210 for ac_prog in sed gsed; do
4211 for ac_exec_ext in '' $ac_executable_extensions; do
4212 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4213 as_fn_executable_p "$ac_path_SED" || continue
4214 # Check for GNU ac_path_SED and select it if it is found.
4215 # Check for GNU $ac_path_SED
4216 case `"$ac_path_SED" --version 2>&1` in
4218 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4221 $as_echo_n 0123456789 >"conftest.in"
4224 cat "conftest.in" "conftest.in" >"conftest.tmp"
4225 mv "conftest.tmp" "conftest.in"
4226 cp "conftest.in" "conftest.nl"
4227 $as_echo '' >> "conftest.nl"
4228 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4230 as_fn_arith $ac_count + 1 && ac_count=$as_val
4231 if test $ac_count -gt ${ac_path_SED_max-0}; then
4232 # Best one so far, save it but keep looking for a better one
4233 ac_cv_path_SED="$ac_path_SED"
4234 ac_path_SED_max=$ac_count
4236 # 10*(2^10) chars as input seems more than enough
4237 test $ac_count -gt 10 && break
4239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4242 $ac_path_SED_found && break 3
4247 if test -z "$ac_cv_path_SED"; then
4248 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4256 $as_echo "$ac_cv_path_SED" >&6; }
4257 SED="$ac_cv_path_SED"
4260 test -z "$SED" && SED=sed
4261 Xsed="$SED -e 1s/^X//"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4274 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4275 if ${ac_cv_path_GREP+:} false; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -z "$GREP"; then
4279 ac_path_GREP_found=false
4280 # Loop through the user's path and test for each of PROGNAME-LIST
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4285 test -z "$as_dir" && as_dir=.
4286 for ac_prog in grep ggrep; do
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4289 as_fn_executable_p "$ac_path_GREP" || continue
4290 # Check for GNU ac_path_GREP and select it if it is found.
4291 # Check for GNU $ac_path_GREP
4292 case `"$ac_path_GREP" --version 2>&1` in
4294 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4297 $as_echo_n 0123456789 >"conftest.in"
4300 cat "conftest.in" "conftest.in" >"conftest.tmp"
4301 mv "conftest.tmp" "conftest.in"
4302 cp "conftest.in" "conftest.nl"
4303 $as_echo 'GREP' >> "conftest.nl"
4304 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4306 as_fn_arith $ac_count + 1 && ac_count=$as_val
4307 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4308 # Best one so far, save it but keep looking for a better one
4309 ac_cv_path_GREP="$ac_path_GREP"
4310 ac_path_GREP_max=$ac_count
4312 # 10*(2^10) chars as input seems more than enough
4313 test $ac_count -gt 10 && break
4315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4318 $ac_path_GREP_found && break 3
4323 if test -z "$ac_cv_path_GREP"; then
4324 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4327 ac_cv_path_GREP=$GREP
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4332 $as_echo "$ac_cv_path_GREP" >&6; }
4333 GREP="$ac_cv_path_GREP"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4337 $as_echo_n "checking for egrep... " >&6; }
4338 if ${ac_cv_path_EGREP+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4342 then ac_cv_path_EGREP="$GREP -E"
4344 if test -z "$EGREP"; then
4345 ac_path_EGREP_found=false
4346 # Loop through the user's path and test for each of PROGNAME-LIST
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4351 test -z "$as_dir" && as_dir=.
4352 for ac_prog in egrep; do
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4355 as_fn_executable_p "$ac_path_EGREP" || continue
4356 # Check for GNU ac_path_EGREP and select it if it is found.
4357 # Check for GNU $ac_path_EGREP
4358 case `"$ac_path_EGREP" --version 2>&1` in
4360 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4363 $as_echo_n 0123456789 >"conftest.in"
4366 cat "conftest.in" "conftest.in" >"conftest.tmp"
4367 mv "conftest.tmp" "conftest.in"
4368 cp "conftest.in" "conftest.nl"
4369 $as_echo 'EGREP' >> "conftest.nl"
4370 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4372 as_fn_arith $ac_count + 1 && ac_count=$as_val
4373 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4374 # Best one so far, save it but keep looking for a better one
4375 ac_cv_path_EGREP="$ac_path_EGREP"
4376 ac_path_EGREP_max=$ac_count
4378 # 10*(2^10) chars as input seems more than enough
4379 test $ac_count -gt 10 && break
4381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4384 $ac_path_EGREP_found && break 3
4389 if test -z "$ac_cv_path_EGREP"; then
4390 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4393 ac_cv_path_EGREP=$EGREP
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4399 $as_echo "$ac_cv_path_EGREP" >&6; }
4400 EGREP="$ac_cv_path_EGREP"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4404 $as_echo_n "checking for fgrep... " >&6; }
4405 if ${ac_cv_path_FGREP+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4409 then ac_cv_path_FGREP="$GREP -F"
4411 if test -z "$FGREP"; then
4412 ac_path_FGREP_found=false
4413 # Loop through the user's path and test for each of PROGNAME-LIST
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4418 test -z "$as_dir" && as_dir=.
4419 for ac_prog in fgrep; do
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4422 as_fn_executable_p "$ac_path_FGREP" || continue
4423 # Check for GNU ac_path_FGREP and select it if it is found.
4424 # Check for GNU $ac_path_FGREP
4425 case `"$ac_path_FGREP" --version 2>&1` in
4427 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4430 $as_echo_n 0123456789 >"conftest.in"
4433 cat "conftest.in" "conftest.in" >"conftest.tmp"
4434 mv "conftest.tmp" "conftest.in"
4435 cp "conftest.in" "conftest.nl"
4436 $as_echo 'FGREP' >> "conftest.nl"
4437 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439 as_fn_arith $ac_count + 1 && ac_count=$as_val
4440 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4441 # Best one so far, save it but keep looking for a better one
4442 ac_cv_path_FGREP="$ac_path_FGREP"
4443 ac_path_FGREP_max=$ac_count
4445 # 10*(2^10) chars as input seems more than enough
4446 test $ac_count -gt 10 && break
4448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4451 $ac_path_FGREP_found && break 3
4456 if test -z "$ac_cv_path_FGREP"; then
4457 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4460 ac_cv_path_FGREP=$FGREP
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4466 $as_echo "$ac_cv_path_FGREP" >&6; }
4467 FGREP="$ac_cv_path_FGREP"
4470 test -z "$GREP" && GREP=grep
4490 # Check whether --with-gnu-ld was given.
4491 if test "${with_gnu_ld+set}" = set; then :
4492 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4498 if test "$GCC" = yes; then
4499 # Check if gcc -print-prog-name=ld gives a path.
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4501 $as_echo_n "checking for ld used by $CC... " >&6; }
4504 # gcc leaves a trailing carriage return which upsets mingw
4505 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4507 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4510 # Accept absolute paths.
4512 re_direlt='/[^/][^/]*/\.\./'
4513 # Canonicalize the pathname of ld
4514 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4515 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4516 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4518 test -z "$LD" && LD="$ac_prog"
4521 # If it fails, then pretend we aren't using GCC.
4525 # If it is relative, then search for the first ld in PATH.
4529 elif test "$with_gnu_ld" = yes; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4531 $as_echo_n "checking for GNU ld... " >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4534 $as_echo_n "checking for non-GNU ld... " >&6; }
4536 if ${lt_cv_path_LD+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 if test -z "$LD"; then
4540 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4541 for ac_dir in $PATH; do
4543 test -z "$ac_dir" && ac_dir=.
4544 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4545 lt_cv_path_LD="$ac_dir/$ac_prog"
4546 # Check to see if the program is GNU ld. I'd rather use --version,
4547 # but apparently some variants of GNU ld only accept -v.
4548 # Break only if it was the GNU/non-GNU ld that we prefer.
4549 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4550 *GNU* | *'with BFD'*)
4551 test "$with_gnu_ld" != no && break
4554 test "$with_gnu_ld" != yes && break
4561 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4566 if test -n "$LD"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4568 $as_echo "$LD" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4573 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4575 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4576 if ${lt_cv_prog_gnu_ld+:} false; then :
4577 $as_echo_n "(cached) " >&6
4579 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4580 case `$LD -v 2>&1 </dev/null` in
4581 *GNU* | *'with BFD'*)
4582 lt_cv_prog_gnu_ld=yes
4585 lt_cv_prog_gnu_ld=no
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4590 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4591 with_gnu_ld=$lt_cv_prog_gnu_ld
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4602 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4603 if ${lt_cv_path_NM+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -n "$NM"; then
4607 # Let the user override the test.
4610 lt_nm_to_check="${ac_tool_prefix}nm"
4611 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4612 lt_nm_to_check="$lt_nm_to_check nm"
4614 for lt_tmp_nm in $lt_nm_to_check; do
4615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4616 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4618 test -z "$ac_dir" && ac_dir=.
4619 tmp_nm="$ac_dir/$lt_tmp_nm"
4620 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4621 # Check to see if the nm accepts a BSD-compat flag.
4622 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4623 # nm: unknown option "B" ignored
4624 # Tru64's nm complains that /dev/null is an invalid object file
4625 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4626 */dev/null* | *'Invalid file or object type'*)
4627 lt_cv_path_NM="$tmp_nm -B"
4631 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4633 lt_cv_path_NM="$tmp_nm -p"
4637 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4638 continue # so that we can try to find one that supports BSD flags
4647 : ${lt_cv_path_NM=no}
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4651 $as_echo "$lt_cv_path_NM" >&6; }
4652 if test "$lt_cv_path_NM" != "no"; then
4655 # Didn't find any BSD compatible name lister, look for dumpbin.
4656 if test -n "$DUMPBIN"; then :
4657 # Let the user override the test.
4659 if test -n "$ac_tool_prefix"; then
4660 for ac_prog in dumpbin "link -dump"
4662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_DUMPBIN+:} false; then :
4667 $as_echo_n "(cached) " >&6
4669 if test -n "$DUMPBIN"; then
4670 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 DUMPBIN=$ac_cv_prog_DUMPBIN
4690 if test -n "$DUMPBIN"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4692 $as_echo "$DUMPBIN" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4699 test -n "$DUMPBIN" && break
4702 if test -z "$DUMPBIN"; then
4703 ac_ct_DUMPBIN=$DUMPBIN
4704 for ac_prog in dumpbin "link -dump"
4706 # Extract the first word of "$ac_prog", so it can be a program name with args.
4707 set dummy $ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4711 $as_echo_n "(cached) " >&6
4713 if test -n "$ac_ct_DUMPBIN"; then
4714 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4734 if test -n "$ac_ct_DUMPBIN"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4736 $as_echo "$ac_ct_DUMPBIN" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4743 test -n "$ac_ct_DUMPBIN" && break
4746 if test "x$ac_ct_DUMPBIN" = x; then
4749 case $cross_compiling:$ac_tool_warned in
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned=yes ;;
4755 DUMPBIN=$ac_ct_DUMPBIN
4759 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4761 DUMPBIN="$DUMPBIN -symbols"
4769 if test "$DUMPBIN" != ":"; then
4773 test -z "$NM" && NM=nm
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4781 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4782 if ${lt_cv_nm_interface+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 lt_cv_nm_interface="BSD nm"
4786 echo "int some_variable = 0;" > conftest.$ac_ext
4787 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4788 (eval "$ac_compile" 2>conftest.err)
4789 cat conftest.err >&5
4790 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4791 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4792 cat conftest.err >&5
4793 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4794 cat conftest.out >&5
4795 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4796 lt_cv_nm_interface="MS dumpbin"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4801 $as_echo "$lt_cv_nm_interface" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4804 $as_echo_n "checking whether ln -s works... " >&6; }
4806 if test "$LN_S" = "ln -s"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4808 $as_echo "yes" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4811 $as_echo "no, using $LN_S" >&6; }
4814 # find the maximum length of command line arguments
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4816 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4817 if ${lt_cv_sys_max_cmd_len+:} false; then :
4818 $as_echo_n "(cached) " >&6
4825 # On DJGPP, this test can blow up pretty badly due to problems in libc
4826 # (any single argument exceeding 2000 bytes causes a buffer overrun
4827 # during glob expansion). Even if it were fixed, the result of this
4828 # check would be larger than it should be.
4829 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4833 # Under GNU Hurd, this test is not required because there is
4834 # no limit to the length of command line arguments.
4835 # Libtool will interpret -1 as no limit whatsoever
4836 lt_cv_sys_max_cmd_len=-1;
4839 cygwin* | mingw* | cegcc*)
4840 # On Win9x/ME, this test blows up -- it succeeds, but takes
4841 # about 5 minutes as the teststring grows exponentially.
4842 # Worse, since 9x/ME are not pre-emptively multitasking,
4843 # you end up with a "frozen" computer, even though with patience
4844 # the test eventually succeeds (with a max line length of 256k).
4845 # Instead, let's just punt: use the minimum linelength reported by
4846 # all of the supported platforms: 8192 (on NT/2K/XP).
4847 lt_cv_sys_max_cmd_len=8192;
4851 # On MiNT this can take a long time and run out of memory.
4852 lt_cv_sys_max_cmd_len=8192;
4856 # On AmigaOS with pdksh, this test takes hours, literally.
4857 # So we just punt and use a minimum line length of 8192.
4858 lt_cv_sys_max_cmd_len=8192;
4861 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4862 # This has been around since 386BSD, at least. Likely further.
4863 if test -x /sbin/sysctl; then
4864 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4865 elif test -x /usr/sbin/sysctl; then
4866 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4868 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4870 # And add a safety zone
4871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4876 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4877 lt_cv_sys_max_cmd_len=196608
4881 # The test takes a long time on OS/2.
4882 lt_cv_sys_max_cmd_len=8192
4886 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4887 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4888 # nice to cause kernel panics so lets avoid the loop below.
4889 # First set a reasonable default.
4890 lt_cv_sys_max_cmd_len=16384
4892 if test -x /sbin/sysconfig; then
4893 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4894 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4899 lt_cv_sys_max_cmd_len=102400
4901 sysv5* | sco5v6* | sysv4.2uw2*)
4902 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4903 if test -n "$kargmax"; then
4904 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4906 lt_cv_sys_max_cmd_len=32768
4910 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4911 if test -n "$lt_cv_sys_max_cmd_len" && \
4912 test undefined != "$lt_cv_sys_max_cmd_len"; then
4913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4916 # Make teststring a little bigger before we do anything with it.
4917 # a 1K string should be a reasonable start.
4918 for i in 1 2 3 4 5 6 7 8 ; do
4919 teststring=$teststring$teststring
4921 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4922 # If test is not a shell built-in, we'll probably end up computing a
4923 # maximum length that is only half of the actual maximum length, but
4925 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4926 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4927 test $i != 17 # 1/2 MB should be enough
4930 teststring=$teststring$teststring
4932 # Only check the string length outside the loop.
4933 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4935 # Add a significant safety factor because C++ compilers can tack on
4936 # massive amounts of additional arguments before passing them to the
4937 # linker. It appears as though 1/2 is a usable value.
4938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4945 if test -n $lt_cv_sys_max_cmd_len ; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4947 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4950 $as_echo "none" >&6; }
4952 max_cmd_len=$lt_cv_sys_max_cmd_len
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4964 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4965 # Try some XSI features
4968 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4970 && eval 'test $(( 1 + 1 )) -eq 2 \
4971 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4974 $as_echo "$xsi_shell" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4978 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4980 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4982 && lt_shell_append=yes
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4984 $as_echo "$lt_shell_append" >&6; }
4987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4997 # test EBCDIC or ASCII
4998 case `echo X|tr X '\101'` in
4999 A) # ASCII based system
5000 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5001 lt_SP2NL='tr \040 \012'
5002 lt_NL2SP='tr \015\012 \040\040'
5004 *) # EBCDIC based system
5005 lt_SP2NL='tr \100 \n'
5006 lt_NL2SP='tr \r\n \100\100'
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5019 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5020 if ${lt_cv_to_host_file_cmd+:} false; then :
5021 $as_echo_n "(cached) " >&6
5026 *-*-mingw* ) # actually msys
5027 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5030 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5032 * ) # otherwise, assume *nix
5033 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5039 *-*-mingw* ) # actually msys
5040 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5043 lt_cv_to_host_file_cmd=func_convert_file_noop
5045 * ) # otherwise, assume *nix
5046 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5050 * ) # unhandled hosts (and "normal" native builds)
5051 lt_cv_to_host_file_cmd=func_convert_file_noop
5057 to_host_file_cmd=$lt_cv_to_host_file_cmd
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5059 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5066 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5067 if ${lt_cv_to_tool_file_cmd+:} false; then :
5068 $as_echo_n "(cached) " >&6
5070 #assume ordinary cross tools, or native build.
5071 lt_cv_to_tool_file_cmd=func_convert_file_noop
5075 *-*-mingw* ) # actually msys
5076 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5084 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5086 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5093 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5094 if ${lt_cv_ld_reload_flag+:} false; then :
5095 $as_echo_n "(cached) " >&6
5097 lt_cv_ld_reload_flag='-r'
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5100 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5101 reload_flag=$lt_cv_ld_reload_flag
5102 case $reload_flag in
5104 *) reload_flag=" $reload_flag" ;;
5106 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5108 cygwin* | mingw* | pw32* | cegcc*)
5109 if test "$GCC" != yes; then
5114 if test "$GCC" = yes; then
5115 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5117 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_OBJDUMP+:} false; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$OBJDUMP"; then
5139 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 OBJDUMP=$ac_cv_prog_OBJDUMP
5159 if test -n "$OBJDUMP"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5161 $as_echo "$OBJDUMP" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_OBJDUMP"; then
5170 ac_ct_OBJDUMP=$OBJDUMP
5171 # Extract the first word of "objdump", so it can be a program name with args.
5172 set dummy objdump; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$ac_ct_OBJDUMP"; then
5179 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5199 if test -n "$ac_ct_OBJDUMP"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5201 $as_echo "$ac_ct_OBJDUMP" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_OBJDUMP" = x; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5216 OBJDUMP=$ac_ct_OBJDUMP
5219 OBJDUMP="$ac_cv_prog_OBJDUMP"
5222 test -z "$OBJDUMP" && OBJDUMP=objdump
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5233 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5234 if ${lt_cv_deplibs_check_method+:} false; then :
5235 $as_echo_n "(cached) " >&6
5237 lt_cv_file_magic_cmd='$MAGIC_CMD'
5238 lt_cv_file_magic_test_file=
5239 lt_cv_deplibs_check_method='unknown'
5240 # Need to set the preceding variable on all platforms that support
5241 # interlibrary dependencies.
5242 # 'none' -- dependencies not supported.
5243 # `unknown' -- same as none, but documents that we really don't know.
5244 # 'pass_all' -- all dependencies passed with no checks.
5245 # 'test_compile' -- check by making test program.
5246 # 'file_magic [[regex]]' -- check by looking for files in library path
5247 # which responds to the $file_magic_cmd with a given extended regex.
5248 # If you have `file' or equivalent on your system and you're not sure
5249 # whether `pass_all' will *always* work, you probably want this one.
5253 lt_cv_deplibs_check_method=pass_all
5257 lt_cv_deplibs_check_method=pass_all
5261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5262 lt_cv_file_magic_cmd='/usr/bin/file -L'
5263 lt_cv_file_magic_test_file=/shlib/libc.so
5267 # func_win32_libid is a shell function defined in ltmain.sh
5268 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5269 lt_cv_file_magic_cmd='func_win32_libid'
5273 # Base MSYS/MinGW do not provide the 'file' command needed by
5274 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5275 # unless we find 'file', for example because we are cross-compiling.
5276 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5277 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5278 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5279 lt_cv_file_magic_cmd='func_win32_libid'
5281 # Keep this pattern in sync with the one in func_win32_libid.
5282 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5283 lt_cv_file_magic_cmd='$OBJDUMP -f'
5288 # use the weaker test based on 'objdump'. See mingw*.
5289 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5290 lt_cv_file_magic_cmd='$OBJDUMP -f'
5293 darwin* | rhapsody*)
5294 lt_cv_deplibs_check_method=pass_all
5297 freebsd* | dragonfly*)
5298 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5301 # Not sure whether the presence of OpenBSD here was a mistake.
5302 # Let's accept both of them until this is cleared up.
5303 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5304 lt_cv_file_magic_cmd=/usr/bin/file
5305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5309 lt_cv_deplibs_check_method=pass_all
5314 lt_cv_deplibs_check_method=pass_all
5317 hpux10.20* | hpux11*)
5318 lt_cv_file_magic_cmd=/usr/bin/file
5321 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5322 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5325 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]'
5326 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5329 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5330 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5336 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5340 irix5* | irix6* | nonstopux*)
5342 *-32|*"-32 ") libmagic=32-bit;;
5343 *-n32|*"-n32 ") libmagic=N32;;
5344 *-64|*"-64 ") libmagic=64-bit;;
5345 *) libmagic=never-match;;
5347 lt_cv_deplibs_check_method=pass_all
5350 # This must be glibc/ELF.
5351 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5352 lt_cv_deplibs_check_method=pass_all
5355 netbsd* | netbsdelf*-gnu)
5356 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5357 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5365 lt_cv_file_magic_cmd=/usr/bin/file
5366 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5370 lt_cv_deplibs_check_method=pass_all
5374 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5375 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5377 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5381 osf3* | osf4* | osf5*)
5382 lt_cv_deplibs_check_method=pass_all
5386 lt_cv_deplibs_check_method=pass_all
5390 lt_cv_deplibs_check_method=pass_all
5393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5394 lt_cv_deplibs_check_method=pass_all
5398 case $host_vendor in
5400 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]'
5401 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5404 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_file_magic_cmd='/bin/file'
5408 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5411 lt_cv_file_magic_cmd='/bin/file'
5412 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5413 lt_cv_file_magic_test_file=/lib/libc.so
5416 lt_cv_deplibs_check_method=pass_all
5419 lt_cv_deplibs_check_method=pass_all
5425 lt_cv_deplibs_check_method=pass_all
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5431 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5435 if test "$build" = "$host"; then
5438 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5441 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5447 file_magic_cmd=$lt_cv_file_magic_cmd
5448 deplibs_check_method=$lt_cv_deplibs_check_method
5449 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5472 if test -n "$ac_tool_prefix"; then
5473 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_DLLTOOL+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -n "$DLLTOOL"; then
5481 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 DLLTOOL=$ac_cv_prog_DLLTOOL
5501 if test -n "$DLLTOOL"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5503 $as_echo "$DLLTOOL" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5511 if test -z "$ac_cv_prog_DLLTOOL"; then
5512 ac_ct_DLLTOOL=$DLLTOOL
5513 # Extract the first word of "dlltool", so it can be a program name with args.
5514 set dummy dlltool; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$ac_ct_DLLTOOL"; then
5521 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5541 if test -n "$ac_ct_DLLTOOL"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5543 $as_echo "$ac_ct_DLLTOOL" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5549 if test "x$ac_ct_DLLTOOL" = x; then
5552 case $cross_compiling:$ac_tool_warned in
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5558 DLLTOOL=$ac_ct_DLLTOOL
5561 DLLTOOL="$ac_cv_prog_DLLTOOL"
5564 test -z "$DLLTOOL" && DLLTOOL=dlltool
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5576 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5577 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5578 $as_echo_n "(cached) " >&6
5580 lt_cv_sharedlib_from_linklib_cmd='unknown'
5583 cygwin* | mingw* | pw32* | cegcc*)
5584 # two different shell functions defined in ltmain.sh
5585 # decide which to use based on capabilities of $DLLTOOL
5586 case `$DLLTOOL --help 2>&1` in
5587 *--identify-strict*)
5588 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5591 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5596 # fallback: assume linklib IS sharedlib
5597 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5603 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5604 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5605 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5614 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_AR+:} false; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$AR"; then
5625 ac_cv_prog_AR="$AR" # Let the user override the test.
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 if test -n "$AR"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5647 $as_echo "$AR" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5654 test -n "$AR" && break
5657 if test -z "$AR"; then
5661 # Extract the first word of "$ac_prog", so it can be a program name with args.
5662 set dummy $ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$ac_ct_AR"; then
5669 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_ac_ct_AR="$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5689 if test -n "$ac_ct_AR"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5691 $as_echo "$ac_ct_AR" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$ac_ct_AR" && break
5701 if test "x$ac_ct_AR" = x; then
5704 case $cross_compiling:$ac_tool_warned in
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708 ac_tool_warned=yes ;;
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5728 $as_echo_n "checking for archiver @FILE support... " >&6; }
5729 if ${lt_cv_ar_at_file+:} false; then :
5730 $as_echo_n "(cached) " >&6
5733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h. */
5744 if ac_fn_c_try_compile "$LINENO"; then :
5745 echo conftest.$ac_objext > conftest.lst
5746 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5747 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5748 (eval $lt_ar_try) 2>&5
5750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5751 test $ac_status = 0; }
5752 if test "$ac_status" -eq 0; then
5753 # Ensure the archiver fails upon bogus file names.
5754 rm -f conftest.$ac_objext libconftest.a
5755 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5756 (eval $lt_ar_try) 2>&5
5758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5759 test $ac_status = 0; }
5760 if test "$ac_status" -ne 0; then
5764 rm -f conftest.* libconftest.a
5767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5771 $as_echo "$lt_cv_ar_at_file" >&6; }
5773 if test "x$lt_cv_ar_at_file" = xno; then
5776 archiver_list_spec=$lt_cv_ar_at_file
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}strip; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_STRIP+:} false; then :
5791 $as_echo_n "(cached) " >&6
5793 if test -n "$STRIP"; then
5794 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 STRIP=$ac_cv_prog_STRIP
5814 if test -n "$STRIP"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5816 $as_echo "$STRIP" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if test -z "$ac_cv_prog_STRIP"; then
5826 # Extract the first word of "strip", so it can be a program name with args.
5827 set dummy strip; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$ac_ct_STRIP"; then
5834 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_ac_ct_STRIP="strip"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5854 if test -n "$ac_ct_STRIP"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5856 $as_echo "$ac_ct_STRIP" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5862 if test "x$ac_ct_STRIP" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5874 STRIP="$ac_cv_prog_STRIP"
5877 test -z "$STRIP" && STRIP=:
5884 if test -n "$ac_tool_prefix"; then
5885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_RANLIB+:} false; then :
5890 $as_echo_n "(cached) " >&6
5892 if test -n "$RANLIB"; then
5893 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 RANLIB=$ac_cv_prog_RANLIB
5913 if test -n "$RANLIB"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5915 $as_echo "$RANLIB" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5923 if test -z "$ac_cv_prog_RANLIB"; then
5924 ac_ct_RANLIB=$RANLIB
5925 # Extract the first word of "ranlib", so it can be a program name with args.
5926 set dummy ranlib; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5930 $as_echo_n "(cached) " >&6
5932 if test -n "$ac_ct_RANLIB"; then
5933 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_ac_ct_RANLIB="ranlib"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5953 if test -n "$ac_ct_RANLIB"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5955 $as_echo "$ac_ct_RANLIB" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5961 if test "x$ac_ct_RANLIB" = x; then
5964 case $cross_compiling:$ac_tool_warned in
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5968 ac_tool_warned=yes ;;
5970 RANLIB=$ac_ct_RANLIB
5973 RANLIB="$ac_cv_prog_RANLIB"
5976 test -z "$RANLIB" && RANLIB=:
5983 # Determine commands to create old-style static archives.
5984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5985 old_postinstall_cmds='chmod 644 $oldlib'
5986 old_postuninstall_cmds=
5988 if test -n "$RANLIB"; then
5991 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5994 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5997 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6002 lock_old_archive_extraction=yes ;;
6004 lock_old_archive_extraction=no ;;
6045 # If no C compiler was specified, use CC.
6048 # If no C compiler flags were specified, use CFLAGS.
6049 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6051 # Allow CC to be a program name with arguments.
6055 # Check for command to grab the raw symbol name followed by C symbol from nm.
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6057 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6058 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6059 $as_echo_n "(cached) " >&6
6062 # These are sane defaults that work on at least a few old systems.
6063 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6065 # Character class describing NM global symbol codes.
6066 symcode='[BCDEGRST]'
6068 # Regexp to match symbols that can be accessed directly from C.
6069 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6071 # Define system-specific variables.
6076 cygwin* | mingw* | pw32* | cegcc*)
6077 symcode='[ABCDGISTW]'
6080 if test "$host_cpu" = ia64; then
6081 symcode='[ABCDEGRST]'
6085 symcode='[BCDEGRST]'
6088 symcode='[BCDEGQRST]'
6099 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6107 # If we're using GNU nm, then use its standard symbol codes.
6108 case `$NM -V 2>&1` in
6109 *GNU* | *'with BFD'*)
6110 symcode='[ABCDGIRSTW]' ;;
6113 # Transform an extracted symbol line into a proper C declaration.
6114 # Some systems (esp. on ia64) link data and code symbols differently,
6115 # so use this general approach.
6116 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6118 # Transform an extracted symbol line into symbol name and symbol address
6119 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6120 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6122 # Handle CRLF in mingw tool chain
6126 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6130 # Try without a prefix underscore, then with it.
6131 for ac_symprfx in "" "_"; do
6133 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6134 symxfrm="\\1 $ac_symprfx\\2 \\2"
6136 # Write the raw and C identifiers.
6137 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6138 # Fake it for dumpbin and say T for any non-static function
6139 # and D for any global variable.
6140 # Also find C++ and __fastcall symbols from MSVC++,
6141 # which start with @ or ?.
6142 lt_cv_sys_global_symbol_pipe="$AWK '"\
6143 " {last_section=section; section=\$ 3};"\
6144 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6145 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6146 " \$ 0!~/External *\|/{next};"\
6147 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6148 " {if(hide[section]) next};"\
6149 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6150 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6151 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6152 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6153 " ' prfx=^$ac_symprfx"
6155 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6157 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6159 # Check to see that the pipe works correctly.
6163 cat > conftest.$ac_ext <<_LT_EOF
6168 void nm_test_func(void);
6169 void nm_test_func(void){}
6173 int main(){nm_test_var='a';nm_test_func();return(0);}
6176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6177 (eval $ac_compile) 2>&5
6179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6180 test $ac_status = 0; }; then
6181 # Now try to grab the symbols.
6183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6184 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187 test $ac_status = 0; } && test -s "$nlist"; then
6188 # Try sorting and uniquifying the output.
6189 if sort "$nlist" | uniq > "$nlist"T; then
6190 mv -f "$nlist"T "$nlist"
6195 # Make sure that we snagged all the symbols we need.
6196 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6197 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6198 cat <<_LT_EOF > conftest.$ac_ext
6199 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6200 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6201 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6202 relocations are performed -- see ld's documentation on pseudo-relocs. */
6203 # define LT_DLSYM_CONST
6204 #elif defined(__osf__)
6205 /* This system does not cope well with relocations in const data. */
6206 # define LT_DLSYM_CONST
6208 # define LT_DLSYM_CONST const
6216 # Now generate the symbol file.
6217 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6219 cat <<_LT_EOF >> conftest.$ac_ext
6221 /* The mapping between symbol names and symbols. */
6222 LT_DLSYM_CONST struct {
6226 lt__PROGRAM__LTX_preloaded_symbols[] =
6228 { "@PROGRAM@", (void *) 0 },
6230 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6231 cat <<\_LT_EOF >> conftest.$ac_ext
6235 /* This works around a problem in FreeBSD linker */
6236 #ifdef FREEBSD_WORKAROUND
6237 static const void *lt_preloaded_setup() {
6238 return lt__PROGRAM__LTX_preloaded_symbols;
6246 # Now try linking the two files.
6247 mv conftest.$ac_objext conftstm.$ac_objext
6248 lt_globsym_save_LIBS=$LIBS
6249 lt_globsym_save_CFLAGS=$CFLAGS
6250 LIBS="conftstm.$ac_objext"
6251 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6253 (eval $ac_link) 2>&5
6255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6256 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6259 LIBS=$lt_globsym_save_LIBS
6260 CFLAGS=$lt_globsym_save_CFLAGS
6262 echo "cannot find nm_test_func in $nlist" >&5
6265 echo "cannot find nm_test_var in $nlist" >&5
6268 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6271 echo "$progname: failed program was:" >&5
6272 cat conftest.$ac_ext >&5
6274 rm -rf conftest* conftst*
6276 # Do not use the global_symbol_pipe unless it works.
6277 if test "$pipe_works" = yes; then
6280 lt_cv_sys_global_symbol_pipe=
6286 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6287 lt_cv_sys_global_symbol_to_cdecl=
6289 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6291 $as_echo "failed" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6294 $as_echo "ok" >&6; }
6297 # Response file support.
6298 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6299 nm_file_list_spec='@'
6300 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6301 nm_file_list_spec='@'
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6331 $as_echo_n "checking for sysroot... " >&6; }
6333 # Check whether --with-sysroot was given.
6334 if test "${with_sysroot+set}" = set; then :
6335 withval=$with_sysroot;
6342 case ${with_sysroot} in #(
6344 if test "$GCC" = yes; then
6345 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6349 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6355 $as_echo "${with_sysroot}" >&6; }
6356 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6361 $as_echo "${lt_sysroot:-no}" >&6; }
6367 # Check whether --enable-libtool-lock was given.
6368 if test "${enable_libtool_lock+set}" = set; then :
6369 enableval=$enable_libtool_lock;
6372 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6374 # Some flags need to be propagated to the compiler or linker for good
6378 # Find out which ABI we are using.
6379 echo 'int i;' > conftest.$ac_ext
6380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6381 (eval $ac_compile) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384 test $ac_status = 0; }; then
6385 case `/usr/bin/file conftest.$ac_objext` in
6397 # Find out which ABI we are using.
6398 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6400 (eval $ac_compile) 2>&5
6402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6403 test $ac_status = 0; }; then
6404 if test "$lt_cv_prog_gnu_ld" = yes; then
6405 case `/usr/bin/file conftest.$ac_objext` in
6407 LD="${LD-ld} -melf32bsmip"
6410 LD="${LD-ld} -melf32bmipn32"
6413 LD="${LD-ld} -melf64bmip"
6417 case `/usr/bin/file conftest.$ac_objext` in
6433 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6434 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6435 # Find out which ABI we are using.
6436 echo 'int i;' > conftest.$ac_ext
6437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6438 (eval $ac_compile) 2>&5
6440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441 test $ac_status = 0; }; then
6442 case `/usr/bin/file conftest.o` in
6445 x86_64-*kfreebsd*-gnu)
6446 LD="${LD-ld} -m elf_i386_fbsd"
6449 case `/usr/bin/file conftest.o` in
6451 LD="${LD-ld} -m elf32_x86_64"
6454 LD="${LD-ld} -m elf_i386"
6459 LD="${LD-ld} -m elf32lppclinux"
6462 LD="${LD-ld} -m elf32ppclinux"
6465 LD="${LD-ld} -m elf_s390"
6468 LD="${LD-ld} -m elf32_sparc"
6474 x86_64-*kfreebsd*-gnu)
6475 LD="${LD-ld} -m elf_x86_64_fbsd"
6478 LD="${LD-ld} -m elf_x86_64"
6481 LD="${LD-ld} -m elf64lppc"
6484 LD="${LD-ld} -m elf64ppc"
6486 s390*-*linux*|s390*-*tpf*)
6487 LD="${LD-ld} -m elf64_s390"
6490 LD="${LD-ld} -m elf64_sparc"
6500 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6501 SAVE_CFLAGS="$CFLAGS"
6502 CFLAGS="$CFLAGS -belf"
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6504 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6505 if ${lt_cv_cc_needs_belf+:} false; then :
6506 $as_echo_n "(cached) " >&6
6509 ac_cpp='$CPP $CPPFLAGS'
6510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h. */
6525 if ac_fn_c_try_link "$LINENO"; then :
6526 lt_cv_cc_needs_belf=yes
6528 lt_cv_cc_needs_belf=no
6530 rm -f core conftest.err conftest.$ac_objext \
6531 conftest$ac_exeext conftest.$ac_ext
6533 ac_cpp='$CPP $CPPFLAGS'
6534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6540 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6541 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6542 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6543 CFLAGS="$SAVE_CFLAGS"
6547 # Find out which ABI we are using.
6548 echo 'int i;' > conftest.$ac_ext
6549 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6550 (eval $ac_compile) 2>&5
6552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6553 test $ac_status = 0; }; then
6554 case `/usr/bin/file conftest.o` in
6556 case $lt_cv_prog_gnu_ld in
6560 LD="${LD-ld} -m elf_x86_64"
6563 LD="${LD-ld} -m elf64_sparc"
6566 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6567 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6572 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6584 need_locks="$enable_libtool_lock"
6586 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6588 set dummy ${ac_tool_prefix}mt; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6592 $as_echo_n "(cached) " >&6
6594 if test -n "$MANIFEST_TOOL"; then
6595 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6614 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6615 if test -n "$MANIFEST_TOOL"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6617 $as_echo "$MANIFEST_TOOL" >&6; }
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6625 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6626 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6627 # Extract the first word of "mt", so it can be a program name with args.
6628 set dummy mt; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6632 $as_echo_n "(cached) " >&6
6634 if test -n "$ac_ct_MANIFEST_TOOL"; then
6635 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6655 if test -n "$ac_ct_MANIFEST_TOOL"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6657 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6663 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6666 case $cross_compiling:$ac_tool_warned in
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670 ac_tool_warned=yes ;;
6672 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6675 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6678 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6680 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6681 if ${lt_cv_path_mainfest_tool+:} false; then :
6682 $as_echo_n "(cached) " >&6
6684 lt_cv_path_mainfest_tool=no
6685 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6686 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6687 cat conftest.err >&5
6688 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6689 lt_cv_path_mainfest_tool=yes
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6694 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6695 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6705 rhapsody* | darwin*)
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6712 $as_echo_n "(cached) " >&6
6714 if test -n "$DSYMUTIL"; then
6715 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6724 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6735 if test -n "$DSYMUTIL"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6737 $as_echo "$DSYMUTIL" >&6; }
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6745 if test -z "$ac_cv_prog_DSYMUTIL"; then
6746 ac_ct_DSYMUTIL=$DSYMUTIL
6747 # Extract the first word of "dsymutil", so it can be a program name with args.
6748 set dummy dsymutil; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6752 $as_echo_n "(cached) " >&6
6754 if test -n "$ac_ct_DSYMUTIL"; then
6755 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6775 if test -n "$ac_ct_DSYMUTIL"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6777 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6783 if test "x$ac_ct_DSYMUTIL" = x; then
6786 case $cross_compiling:$ac_tool_warned in
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6792 DSYMUTIL=$ac_ct_DSYMUTIL
6795 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6798 if test -n "$ac_tool_prefix"; then
6799 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6800 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_NMEDIT+:} false; then :
6804 $as_echo_n "(cached) " >&6
6806 if test -n "$NMEDIT"; then
6807 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6816 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826 NMEDIT=$ac_cv_prog_NMEDIT
6827 if test -n "$NMEDIT"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6829 $as_echo "$NMEDIT" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6837 if test -z "$ac_cv_prog_NMEDIT"; then
6838 ac_ct_NMEDIT=$NMEDIT
6839 # Extract the first word of "nmedit", so it can be a program name with args.
6840 set dummy nmedit; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6844 $as_echo_n "(cached) " >&6
6846 if test -n "$ac_ct_NMEDIT"; then
6847 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6867 if test -n "$ac_ct_NMEDIT"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6869 $as_echo "$ac_ct_NMEDIT" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6875 if test "x$ac_ct_NMEDIT" = x; then
6878 case $cross_compiling:$ac_tool_warned in
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6882 ac_tool_warned=yes ;;
6884 NMEDIT=$ac_ct_NMEDIT
6887 NMEDIT="$ac_cv_prog_NMEDIT"
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_LIPO+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$LIPO"; then
6899 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6908 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 LIPO=$ac_cv_prog_LIPO
6919 if test -n "$LIPO"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6921 $as_echo "$LIPO" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_LIPO"; then
6931 # Extract the first word of "lipo", so it can be a program name with args.
6932 set dummy lipo; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$ac_ct_LIPO"; then
6939 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 ac_cv_prog_ac_ct_LIPO="lipo"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6959 if test -n "$ac_ct_LIPO"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6961 $as_echo "$ac_ct_LIPO" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_LIPO" = x; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6979 LIPO="$ac_cv_prog_LIPO"
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}otool; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_OTOOL+:} false; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$OTOOL"; then
6991 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 OTOOL=$ac_cv_prog_OTOOL
7011 if test -n "$OTOOL"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7013 $as_echo "$OTOOL" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_OTOOL"; then
7023 # Extract the first word of "otool", so it can be a program name with args.
7024 set dummy otool; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_OTOOL"; then
7031 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_ac_ct_OTOOL="otool"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7051 if test -n "$ac_ct_OTOOL"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7053 $as_echo "$ac_ct_OTOOL" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_OTOOL" = x; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7071 OTOOL="$ac_cv_prog_OTOOL"
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_OTOOL64+:} false; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$OTOOL64"; then
7083 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 OTOOL64=$ac_cv_prog_OTOOL64
7103 if test -n "$OTOOL64"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7105 $as_echo "$OTOOL64" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7113 if test -z "$ac_cv_prog_OTOOL64"; then
7114 ac_ct_OTOOL64=$OTOOL64
7115 # Extract the first word of "otool64", so it can be a program name with args.
7116 set dummy otool64; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$ac_ct_OTOOL64"; then
7123 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_ac_ct_OTOOL64="otool64"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7143 if test -n "$ac_ct_OTOOL64"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7145 $as_echo "$ac_ct_OTOOL64" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7151 if test "x$ac_ct_OTOOL64" = x; then
7154 case $cross_compiling:$ac_tool_warned in
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7160 OTOOL64=$ac_ct_OTOOL64
7163 OTOOL64="$ac_cv_prog_OTOOL64"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7193 $as_echo_n "checking for -single_module linker flag... " >&6; }
7194 if ${lt_cv_apple_cc_single_mod+:} false; then :
7195 $as_echo_n "(cached) " >&6
7197 lt_cv_apple_cc_single_mod=no
7198 if test -z "${LT_MULTI_MODULE}"; then
7199 # By default we will add the -single_module flag. You can override
7200 # by either setting the environment variable LT_MULTI_MODULE
7201 # non-empty at configure time, or by adding -multi_module to the
7203 rm -rf libconftest.dylib*
7204 echo "int foo(void){return 1;}" > conftest.c
7205 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7206 -dynamiclib -Wl,-single_module conftest.c" >&5
7207 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7208 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7210 # If there is a non-empty error log, and "single_module"
7211 # appears in it, assume the flag caused a linker warning
7212 if test -s conftest.err && $GREP single_module conftest.err; then
7213 cat conftest.err >&5
7214 # Otherwise, if the output was created with a 0 exit code from
7215 # the compiler, it worked.
7216 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7217 lt_cv_apple_cc_single_mod=yes
7219 cat conftest.err >&5
7221 rm -rf libconftest.dylib*
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7226 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7229 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7230 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7231 $as_echo_n "(cached) " >&6
7233 lt_cv_ld_exported_symbols_list=no
7234 save_LDFLAGS=$LDFLAGS
7235 echo "_main" > conftest.sym
7236 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7248 if ac_fn_c_try_link "$LINENO"; then :
7249 lt_cv_ld_exported_symbols_list=yes
7251 lt_cv_ld_exported_symbols_list=no
7253 rm -f core conftest.err conftest.$ac_objext \
7254 conftest$ac_exeext conftest.$ac_ext
7255 LDFLAGS="$save_LDFLAGS"
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7259 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7262 $as_echo_n "checking for -force_load linker flag... " >&6; }
7263 if ${lt_cv_ld_force_load+:} false; then :
7264 $as_echo_n "(cached) " >&6
7266 lt_cv_ld_force_load=no
7267 cat > conftest.c << _LT_EOF
7268 int forced_loaded() { return 2;}
7270 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7271 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7272 echo "$AR cru libconftest.a conftest.o" >&5
7273 $AR cru libconftest.a conftest.o 2>&5
7274 echo "$RANLIB libconftest.a" >&5
7275 $RANLIB libconftest.a 2>&5
7276 cat > conftest.c << _LT_EOF
7277 int main() { return 0;}
7279 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7280 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7282 if test -s conftest.err && $GREP force_load conftest.err; then
7283 cat conftest.err >&5
7284 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7285 lt_cv_ld_force_load=yes
7287 cat conftest.err >&5
7289 rm -f conftest.err libconftest.a conftest conftest.c
7290 rm -rf conftest.dSYM
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7294 $as_echo "$lt_cv_ld_force_load" >&6; }
7296 rhapsody* | darwin1.[012])
7297 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7299 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7300 darwin*) # darwin 5.x on
7301 # if running on 10.5 or later, the deployment target defaults
7302 # to the OS version, if on x86, and 10.4, the deployment
7303 # target defaults to 10.4. Don't you love it?
7304 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7305 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7306 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7308 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7310 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7314 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7315 _lt_dar_single_mod='$single_module'
7317 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7318 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7320 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7322 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7323 _lt_dsymutil='~$DSYMUTIL $lib || :'
7331 ac_cpp='$CPP $CPPFLAGS'
7332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7336 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7337 # On Suns, sometimes $CPP names a directory.
7338 if test -n "$CPP" && test -d "$CPP"; then
7341 if test -z "$CPP"; then
7342 if ${ac_cv_prog_CPP+:} false; then :
7343 $as_echo_n "(cached) " >&6
7345 # Double quotes because CPP needs to be expanded
7346 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7349 for ac_c_preproc_warn_flag in '' yes
7351 # Use a header file that comes with gcc, so configuring glibc
7352 # with a fresh cross-compiler works.
7353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7354 # <limits.h> exists even on freestanding compilers.
7355 # On the NeXT, cc -E runs the code through the compiler's parser,
7356 # not just through cpp. "Syntax error" is here to catch this case.
7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7360 # include <limits.h>
7362 # include <assert.h>
7366 if ac_fn_c_try_cpp "$LINENO"; then :
7369 # Broken: fails on valid input.
7372 rm -f conftest.err conftest.i conftest.$ac_ext
7374 # OK, works on sane cases. Now check whether nonexistent headers
7375 # can be detected and how.
7376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h. */
7378 #include <ac_nonexistent.h>
7380 if ac_fn_c_try_cpp "$LINENO"; then :
7381 # Broken: success on invalid input.
7384 # Passes both tests.
7388 rm -f conftest.err conftest.i conftest.$ac_ext
7391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7392 rm -f conftest.i conftest.err conftest.$ac_ext
7393 if $ac_preproc_ok; then :
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7406 $as_echo "$CPP" >&6; }
7408 for ac_c_preproc_warn_flag in '' yes
7410 # Use a header file that comes with gcc, so configuring glibc
7411 # with a fresh cross-compiler works.
7412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7413 # <limits.h> exists even on freestanding compilers.
7414 # On the NeXT, cc -E runs the code through the compiler's parser,
7415 # not just through cpp. "Syntax error" is here to catch this case.
7416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h. */
7419 # include <limits.h>
7421 # include <assert.h>
7425 if ac_fn_c_try_cpp "$LINENO"; then :
7428 # Broken: fails on valid input.
7431 rm -f conftest.err conftest.i conftest.$ac_ext
7433 # OK, works on sane cases. Now check whether nonexistent headers
7434 # can be detected and how.
7435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7436 /* end confdefs.h. */
7437 #include <ac_nonexistent.h>
7439 if ac_fn_c_try_cpp "$LINENO"; then :
7440 # Broken: success on invalid input.
7443 # Passes both tests.
7447 rm -f conftest.err conftest.i conftest.$ac_ext
7450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7451 rm -f conftest.i conftest.err conftest.$ac_ext
7452 if $ac_preproc_ok; then :
7455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7457 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7458 See \`config.log' for more details" "$LINENO" 5; }
7462 ac_cpp='$CPP $CPPFLAGS'
7463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7469 $as_echo_n "checking for ANSI C header files... " >&6; }
7470 if ${ac_cv_header_stdc+:} false; then :
7471 $as_echo_n "(cached) " >&6
7473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7488 if ac_fn_c_try_compile "$LINENO"; then :
7489 ac_cv_header_stdc=yes
7491 ac_cv_header_stdc=no
7493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7495 if test $ac_cv_header_stdc = yes; then
7496 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7503 $EGREP "memchr" >/dev/null 2>&1; then :
7506 ac_cv_header_stdc=no
7512 if test $ac_cv_header_stdc = yes; then
7513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7515 /* end confdefs.h. */
7519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7520 $EGREP "free" >/dev/null 2>&1; then :
7523 ac_cv_header_stdc=no
7529 if test $ac_cv_header_stdc = yes; then
7530 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7531 if test "$cross_compiling" = yes; then :
7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535 /* end confdefs.h. */
7538 #if ((' ' & 0x0FF) == 0x020)
7539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7542 # define ISLOWER(c) \
7543 (('a' <= (c) && (c) <= 'i') \
7544 || ('j' <= (c) && (c) <= 'r') \
7545 || ('s' <= (c) && (c) <= 'z'))
7546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7554 for (i = 0; i < 256; i++)
7555 if (XOR (islower (i), ISLOWER (i))
7556 || toupper (i) != TOUPPER (i))
7561 if ac_fn_c_try_run "$LINENO"; then :
7564 ac_cv_header_stdc=no
7566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7567 conftest.$ac_objext conftest.beam conftest.$ac_ext
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7573 $as_echo "$ac_cv_header_stdc" >&6; }
7574 if test $ac_cv_header_stdc = yes; then
7576 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7581 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7582 inttypes.h stdint.h unistd.h
7584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7588 cat >>confdefs.h <<_ACEOF
7589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7597 for ac_header in dlfcn.h
7599 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7601 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7602 cat >>confdefs.h <<_ACEOF
7603 #define HAVE_DLFCN_H 1
7624 # Check whether --enable-shared was given.
7625 if test "${enable_shared+set}" = set; then :
7626 enableval=$enable_shared; p=${PACKAGE-default}
7628 yes) enable_shared=yes ;;
7629 no) enable_shared=no ;;
7632 # Look at the argument we got. We use all the common list separators.
7633 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7634 for pkg in $enableval; do
7636 if test "X$pkg" = "X$p"; then
7655 # Check whether --enable-static was given.
7656 if test "${enable_static+set}" = set; then :
7657 enableval=$enable_static; p=${PACKAGE-default}
7659 yes) enable_static=yes ;;
7660 no) enable_static=no ;;
7663 # Look at the argument we got. We use all the common list separators.
7664 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7665 for pkg in $enableval; do
7667 if test "X$pkg" = "X$p"; then
7687 # Check whether --with-pic was given.
7688 if test "${with_pic+set}" = set; then :
7689 withval=$with_pic; lt_p=${PACKAGE-default}
7691 yes|no) pic_mode=$withval ;;
7694 # Look at the argument we got. We use all the common list separators.
7695 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7696 for lt_pkg in $withval; do
7698 if test "X$lt_pkg" = "X$lt_p"; then
7710 test -z "$pic_mode" && pic_mode=default
7718 # Check whether --enable-fast-install was given.
7719 if test "${enable_fast_install+set}" = set; then :
7720 enableval=$enable_fast_install; p=${PACKAGE-default}
7722 yes) enable_fast_install=yes ;;
7723 no) enable_fast_install=no ;;
7725 enable_fast_install=no
7726 # Look at the argument we got. We use all the common list separators.
7727 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7728 for pkg in $enableval; do
7730 if test "X$pkg" = "X$p"; then
7731 enable_fast_install=yes
7738 enable_fast_install=yes
7751 # This can be used to rebuild libtool when needed
7752 LIBTOOL_DEPS="$ltmain"
7754 # Always use our own libtool.
7755 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7786 test -z "$LN_S" && LN_S="ln -s"
7801 if test -n "${ZSH_VERSION+set}" ; then
7802 setopt NO_GLOB_SUBST
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7806 $as_echo_n "checking for objdir... " >&6; }
7807 if ${lt_cv_objdir+:} false; then :
7808 $as_echo_n "(cached) " >&6
7810 rm -f .libs 2>/dev/null
7811 mkdir .libs 2>/dev/null
7812 if test -d .libs; then
7815 # MS-DOS does not allow filenames that begin with a dot.
7818 rmdir .libs 2>/dev/null
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7821 $as_echo "$lt_cv_objdir" >&6; }
7822 objdir=$lt_cv_objdir
7828 cat >>confdefs.h <<_ACEOF
7829 #define LT_OBJDIR "$lt_cv_objdir/"
7837 # AIX sometimes has problems with the GCC collect2 program. For some
7838 # reason, if we set the COLLECT_NAMES environment variable, the problems
7839 # vanish in a puff of smoke.
7840 if test "X${COLLECT_NAMES+set}" != Xset; then
7842 export COLLECT_NAMES
7849 can_build_shared=yes
7851 # All known linkers require a `.a' archive for static linking (except MSVC,
7852 # which needs '.lib').
7855 with_gnu_ld="$lt_cv_prog_gnu_ld"
7858 old_CFLAGS="$CFLAGS"
7860 # Set sane defaults for various variables
7861 test -z "$CC" && CC=cc
7862 test -z "$LTCC" && LTCC=$CC
7863 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7864 test -z "$LD" && LD=ld
7865 test -z "$ac_objext" && ac_objext=o
7867 for cc_temp in $compiler""; do
7869 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7870 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7875 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7878 # Only perform the check for file, if the check method requires it
7879 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7880 case $deplibs_check_method in
7882 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7884 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7885 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7886 $as_echo_n "(cached) " >&6
7890 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7893 lt_save_MAGIC_CMD="$MAGIC_CMD"
7894 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7895 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7896 for ac_dir in $ac_dummy; do
7898 test -z "$ac_dir" && ac_dir=.
7899 if test -f $ac_dir/${ac_tool_prefix}file; then
7900 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7901 if test -n "$file_magic_test_file"; then
7902 case $deplibs_check_method in
7904 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7906 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7907 $EGREP "$file_magic_regex" > /dev/null; then
7912 *** Warning: the command libtool uses to detect shared libraries,
7913 *** $file_magic_cmd, produces output that libtool cannot recognize.
7914 *** The result is that libtool may fail to recognize shared libraries
7915 *** as such. This will affect the creation of libtool libraries that
7916 *** depend on shared libraries, but programs linked with such libtool
7917 *** libraries will work regardless of this problem. Nevertheless, you
7918 *** may want to report the problem to your system manager and/or to
7919 *** bug-libtool@gnu.org
7929 MAGIC_CMD="$lt_save_MAGIC_CMD"
7934 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7935 if test -n "$MAGIC_CMD"; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7937 $as_echo "$MAGIC_CMD" >&6; }
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940 $as_echo "no" >&6; }
7947 if test -z "$lt_cv_path_MAGIC_CMD"; then
7948 if test -n "$ac_tool_prefix"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7950 $as_echo_n "checking for file... " >&6; }
7951 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7952 $as_echo_n "(cached) " >&6
7956 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7959 lt_save_MAGIC_CMD="$MAGIC_CMD"
7960 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7961 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7962 for ac_dir in $ac_dummy; do
7964 test -z "$ac_dir" && ac_dir=.
7965 if test -f $ac_dir/file; then
7966 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7967 if test -n "$file_magic_test_file"; then
7968 case $deplibs_check_method in
7970 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7972 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7973 $EGREP "$file_magic_regex" > /dev/null; then
7978 *** Warning: the command libtool uses to detect shared libraries,
7979 *** $file_magic_cmd, produces output that libtool cannot recognize.
7980 *** The result is that libtool may fail to recognize shared libraries
7981 *** as such. This will affect the creation of libtool libraries that
7982 *** depend on shared libraries, but programs linked with such libtool
7983 *** libraries will work regardless of this problem. Nevertheless, you
7984 *** may want to report the problem to your system manager and/or to
7985 *** bug-libtool@gnu.org
7995 MAGIC_CMD="$lt_save_MAGIC_CMD"
8000 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8001 if test -n "$MAGIC_CMD"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8003 $as_echo "$MAGIC_CMD" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8019 # Use C for the default configuration in the libtool script
8023 ac_cpp='$CPP $CPPFLAGS'
8024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8029 # Source file extension for C test sources.
8032 # Object file extension for compiled C test sources.
8036 # Code to be used in simple compile tests
8037 lt_simple_compile_test_code="int some_variable = 0;"
8039 # Code to be used in simple link tests
8040 lt_simple_link_test_code='int main(){return(0);}'
8048 # If no C compiler was specified, use CC.
8051 # If no C compiler flags were specified, use CFLAGS.
8052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8054 # Allow CC to be a program name with arguments.
8057 # Save the default compiler, since it gets overwritten when the other
8058 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8059 compiler_DEFAULT=$CC
8061 # save warnings/boilerplate of simple test code
8062 ac_outfile=conftest.$ac_objext
8063 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8064 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8065 _lt_compiler_boilerplate=`cat conftest.err`
8068 ac_outfile=conftest.$ac_objext
8069 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8070 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8071 _lt_linker_boilerplate=`cat conftest.err`
8076 ## There is no encapsulation within the following macros, do not change
8077 ## the running order or otherwise move them around unless you know exactly
8078 ## what you are doing...
8079 if test -n "$compiler"; then
8081 lt_prog_compiler_no_builtin_flag=
8083 if test "$GCC" = yes; then
8084 case $cc_basename in
8086 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8088 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8092 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8093 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8094 $as_echo_n "(cached) " >&6
8096 lt_cv_prog_compiler_rtti_exceptions=no
8097 ac_outfile=conftest.$ac_objext
8098 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8099 lt_compiler_flag="-fno-rtti -fno-exceptions"
8100 # Insert the option either (1) after the last *FLAGS variable, or
8101 # (2) before a word containing "conftest.", or (3) at the end.
8102 # Note that $ac_compile itself does not contain backslashes and begins
8103 # with a dollar sign (not a hyphen), so the echo should work correctly.
8104 # The option is referenced via a variable to avoid confusing sed.
8105 lt_compile=`echo "$ac_compile" | $SED \
8106 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8107 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8108 -e 's:$: $lt_compiler_flag:'`
8109 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8110 (eval "$lt_compile" 2>conftest.err)
8112 cat conftest.err >&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 if (exit $ac_status) && test -s "$ac_outfile"; then
8115 # The compiler can only warn and ignore the option if not recognized
8116 # So say no if there are warnings other than the usual output.
8117 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8118 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8119 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8120 lt_cv_prog_compiler_rtti_exceptions=yes
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8127 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8129 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8130 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8142 lt_prog_compiler_wl=
8143 lt_prog_compiler_pic=
8144 lt_prog_compiler_static=
8147 if test "$GCC" = yes; then
8148 lt_prog_compiler_wl='-Wl,'
8149 lt_prog_compiler_static='-static'
8153 # All AIX code is PIC.
8154 if test "$host_cpu" = ia64; then
8155 # AIX 5 now supports IA64 processor
8156 lt_prog_compiler_static='-Bstatic'
8163 # see comment about AmigaOS4 .so support
8164 lt_prog_compiler_pic='-fPIC'
8167 # FIXME: we need at least 68020 code to build shared libraries, but
8168 # adding the `-m68020' flag to GCC prevents building anything better,
8170 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8175 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8176 # PIC is the default for these OSes.
8179 mingw* | cygwin* | pw32* | os2* | cegcc*)
8180 # This hack is so that the source file can tell whether it is being
8181 # built for inclusion in a dll (and should export symbols for example).
8182 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8183 # (--disable-auto-import) libraries
8184 lt_prog_compiler_pic='-DDLL_EXPORT'
8187 darwin* | rhapsody*)
8188 # PIC is the default on this platform
8189 # Common symbols not allowed in MH_DYLIB files
8190 lt_prog_compiler_pic='-fno-common'
8194 # PIC is the default for Haiku.
8195 # The "-static" flag exists, but is broken.
8196 lt_prog_compiler_static=
8200 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8201 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8202 # sets the default TLS model and affects inlining.
8208 lt_prog_compiler_pic='-fPIC'
8214 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8215 # Instead, we relocate shared libraries at runtime.
8219 # Just because we use GCC doesn't mean we suddenly get shared libraries
8220 # on systems that don't support them.
8221 lt_prog_compiler_can_build_shared=no
8226 # QNX uses GNU C++, but need to define -shared option too, otherwise
8228 lt_prog_compiler_pic='-fPIC -shared'
8232 if test -d /usr/nec; then
8233 lt_prog_compiler_pic=-Kconform_pic
8238 lt_prog_compiler_pic='-fPIC'
8242 case $cc_basename in
8243 nvcc*) # Cuda Compiler Driver 2.2
8244 lt_prog_compiler_wl='-Xlinker '
8245 if test -n "$lt_prog_compiler_pic"; then
8246 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8251 # PORTME Check for flag to pass linker flags through the system compiler.
8254 lt_prog_compiler_wl='-Wl,'
8255 if test "$host_cpu" = ia64; then
8256 # AIX 5 now supports IA64 processor
8257 lt_prog_compiler_static='-Bstatic'
8259 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8263 mingw* | cygwin* | pw32* | os2* | cegcc*)
8264 # This hack is so that the source file can tell whether it is being
8265 # built for inclusion in a dll (and should export symbols for example).
8266 lt_prog_compiler_pic='-DDLL_EXPORT'
8269 hpux9* | hpux10* | hpux11*)
8270 lt_prog_compiler_wl='-Wl,'
8271 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8278 lt_prog_compiler_pic='+Z'
8281 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8282 lt_prog_compiler_static='${wl}-a ${wl}archive'
8285 irix5* | irix6* | nonstopux*)
8286 lt_prog_compiler_wl='-Wl,'
8287 # PIC (with -KPIC) is the default.
8288 lt_prog_compiler_static='-non_shared'
8291 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8292 case $cc_basename in
8293 # old Intel for x86_64 which still supported -KPIC.
8295 lt_prog_compiler_wl='-Wl,'
8296 lt_prog_compiler_pic='-KPIC'
8297 lt_prog_compiler_static='-static'
8299 # icc used to be incompatible with GCC.
8300 # ICC 10 doesn't accept -KPIC any more.
8302 lt_prog_compiler_wl='-Wl,'
8303 lt_prog_compiler_pic='-fPIC'
8304 lt_prog_compiler_static='-static'
8306 # Lahey Fortran 8.1.
8308 lt_prog_compiler_wl='-Wl,'
8309 lt_prog_compiler_pic='--shared'
8310 lt_prog_compiler_static='--static'
8313 # NAG Fortran compiler
8314 lt_prog_compiler_wl='-Wl,-Wl,,'
8315 lt_prog_compiler_pic='-PIC'
8316 lt_prog_compiler_static='-Bstatic'
8318 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8319 # Portland Group compilers (*not* the Pentium gcc compiler,
8320 # which looks to be a dead project)
8321 lt_prog_compiler_wl='-Wl,'
8322 lt_prog_compiler_pic='-fpic'
8323 lt_prog_compiler_static='-Bstatic'
8326 lt_prog_compiler_wl='-Wl,'
8327 # All Alpha code is PIC.
8328 lt_prog_compiler_static='-non_shared'
8330 xl* | bgxl* | bgf* | mpixl*)
8331 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8332 lt_prog_compiler_wl='-Wl,'
8333 lt_prog_compiler_pic='-qpic'
8334 lt_prog_compiler_static='-qstaticlink'
8337 case `$CC -V 2>&1 | sed 5q` in
8338 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8339 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8340 lt_prog_compiler_pic='-KPIC'
8341 lt_prog_compiler_static='-Bstatic'
8342 lt_prog_compiler_wl=''
8344 *Sun\ F* | *Sun*Fortran*)
8345 lt_prog_compiler_pic='-KPIC'
8346 lt_prog_compiler_static='-Bstatic'
8347 lt_prog_compiler_wl='-Qoption ld '
8351 lt_prog_compiler_pic='-KPIC'
8352 lt_prog_compiler_static='-Bstatic'
8353 lt_prog_compiler_wl='-Wl,'
8355 *Intel*\ [CF]*Compiler*)
8356 lt_prog_compiler_wl='-Wl,'
8357 lt_prog_compiler_pic='-fPIC'
8358 lt_prog_compiler_static='-static'
8361 lt_prog_compiler_wl='-Wl,'
8362 lt_prog_compiler_pic='-fpic'
8363 lt_prog_compiler_static='-Bstatic'
8371 lt_prog_compiler_pic='-KPIC'
8372 lt_prog_compiler_static='-Bstatic'
8376 # QNX uses GNU C++, but need to define -shared option too, otherwise
8378 lt_prog_compiler_pic='-fPIC -shared'
8381 osf3* | osf4* | osf5*)
8382 lt_prog_compiler_wl='-Wl,'
8383 # All OSF/1 code is PIC.
8384 lt_prog_compiler_static='-non_shared'
8388 lt_prog_compiler_static='-non_shared'
8392 lt_prog_compiler_pic='-KPIC'
8393 lt_prog_compiler_static='-Bstatic'
8394 case $cc_basename in
8395 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8396 lt_prog_compiler_wl='-Qoption ld ';;
8398 lt_prog_compiler_wl='-Wl,';;
8403 lt_prog_compiler_wl='-Qoption ld '
8404 lt_prog_compiler_pic='-PIC'
8405 lt_prog_compiler_static='-Bstatic'
8408 sysv4 | sysv4.2uw2* | sysv4.3*)
8409 lt_prog_compiler_wl='-Wl,'
8410 lt_prog_compiler_pic='-KPIC'
8411 lt_prog_compiler_static='-Bstatic'
8415 if test -d /usr/nec ;then
8416 lt_prog_compiler_pic='-Kconform_pic'
8417 lt_prog_compiler_static='-Bstatic'
8421 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8422 lt_prog_compiler_wl='-Wl,'
8423 lt_prog_compiler_pic='-KPIC'
8424 lt_prog_compiler_static='-Bstatic'
8428 lt_prog_compiler_wl='-Wl,'
8429 lt_prog_compiler_can_build_shared=no
8433 lt_prog_compiler_pic='-pic'
8434 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_can_build_shared=no
8444 # For platforms which do not support PIC, -DPIC is meaningless:
8446 lt_prog_compiler_pic=
8449 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8454 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8455 if ${lt_cv_prog_compiler_pic+:} false; then :
8456 $as_echo_n "(cached) " >&6
8458 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8461 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8462 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8465 # Check to make sure the PIC flag actually works.
8467 if test -n "$lt_prog_compiler_pic"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8469 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8470 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8471 $as_echo_n "(cached) " >&6
8473 lt_cv_prog_compiler_pic_works=no
8474 ac_outfile=conftest.$ac_objext
8475 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8476 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8477 # Insert the option either (1) after the last *FLAGS variable, or
8478 # (2) before a word containing "conftest.", or (3) at the end.
8479 # Note that $ac_compile itself does not contain backslashes and begins
8480 # with a dollar sign (not a hyphen), so the echo should work correctly.
8481 # The option is referenced via a variable to avoid confusing sed.
8482 lt_compile=`echo "$ac_compile" | $SED \
8483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8485 -e 's:$: $lt_compiler_flag:'`
8486 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8487 (eval "$lt_compile" 2>conftest.err)
8489 cat conftest.err >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 if (exit $ac_status) && test -s "$ac_outfile"; then
8492 # The compiler can only warn and ignore the option if not recognized
8493 # So say no if there are warnings other than the usual output.
8494 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8495 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8496 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8497 lt_cv_prog_compiler_pic_works=yes
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8504 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8506 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8507 case $lt_prog_compiler_pic in
8509 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8512 lt_prog_compiler_pic=
8513 lt_prog_compiler_can_build_shared=no
8529 # Check to make sure the static flag actually works.
8531 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8533 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8534 if ${lt_cv_prog_compiler_static_works+:} false; then :
8535 $as_echo_n "(cached) " >&6
8537 lt_cv_prog_compiler_static_works=no
8538 save_LDFLAGS="$LDFLAGS"
8539 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8540 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8541 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8542 # The linker can only warn and ignore the option if not recognized
8543 # So say no if there are warnings
8544 if test -s conftest.err; then
8545 # Append any errors to the config.log.
8546 cat conftest.err 1>&5
8547 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8548 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8549 if diff conftest.exp conftest.er2 >/dev/null; then
8550 lt_cv_prog_compiler_static_works=yes
8553 lt_cv_prog_compiler_static_works=yes
8557 LDFLAGS="$save_LDFLAGS"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8561 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8563 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8566 lt_prog_compiler_static=
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8576 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8577 if ${lt_cv_prog_compiler_c_o+:} false; then :
8578 $as_echo_n "(cached) " >&6
8580 lt_cv_prog_compiler_c_o=no
8581 $RM -r conftest 2>/dev/null
8585 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8587 lt_compiler_flag="-o out/conftest2.$ac_objext"
8588 # Insert the option either (1) after the last *FLAGS variable, or
8589 # (2) before a word containing "conftest.", or (3) at the end.
8590 # Note that $ac_compile itself does not contain backslashes and begins
8591 # with a dollar sign (not a hyphen), so the echo should work correctly.
8592 lt_compile=`echo "$ac_compile" | $SED \
8593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8595 -e 's:$: $lt_compiler_flag:'`
8596 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8597 (eval "$lt_compile" 2>out/conftest.err)
8599 cat out/conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8603 # The compiler can only warn and ignore the option if not recognized
8604 # So say no if there are warnings
8605 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8606 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8607 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8608 lt_cv_prog_compiler_c_o=yes
8613 # SGI C++ compiler will create directory out/ii_files/ for
8614 # template instantiation
8615 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8616 $RM out/* && rmdir out
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8631 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8632 if ${lt_cv_prog_compiler_c_o+:} false; then :
8633 $as_echo_n "(cached) " >&6
8635 lt_cv_prog_compiler_c_o=no
8636 $RM -r conftest 2>/dev/null
8640 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8642 lt_compiler_flag="-o out/conftest2.$ac_objext"
8643 # Insert the option either (1) after the last *FLAGS variable, or
8644 # (2) before a word containing "conftest.", or (3) at the end.
8645 # Note that $ac_compile itself does not contain backslashes and begins
8646 # with a dollar sign (not a hyphen), so the echo should work correctly.
8647 lt_compile=`echo "$ac_compile" | $SED \
8648 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8650 -e 's:$: $lt_compiler_flag:'`
8651 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8652 (eval "$lt_compile" 2>out/conftest.err)
8654 cat out/conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8658 # The compiler can only warn and ignore the option if not recognized
8659 # So say no if there are warnings
8660 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8661 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8662 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8663 lt_cv_prog_compiler_c_o=yes
8668 # SGI C++ compiler will create directory out/ii_files/ for
8669 # template instantiation
8670 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8671 $RM out/* && rmdir out
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8678 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8683 hard_links="nottested"
8684 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8685 # do not overwrite the value of need_locks provided by the user
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8687 $as_echo_n "checking if we can lock with hard links... " >&6; }
8690 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8692 ln conftest.a conftest.b 2>&5 || hard_links=no
8693 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8695 $as_echo "$hard_links" >&6; }
8696 if test "$hard_links" = no; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8698 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8711 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8714 allow_undefined_flag=
8715 always_export_symbols=no
8717 archive_expsym_cmds=
8718 compiler_needs_object=no
8719 enable_shared_with_static_runtimes=no
8720 export_dynamic_flag_spec=
8721 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8722 hardcode_automatic=no
8724 hardcode_direct_absolute=no
8725 hardcode_libdir_flag_spec=
8726 hardcode_libdir_separator=
8728 hardcode_shlibpath_var=unsupported
8730 link_all_deplibs=unknown
8733 old_archive_from_new_cmds=
8734 old_archive_from_expsyms_cmds=
8735 thread_safe_flag_spec=
8736 whole_archive_flag_spec=
8737 # include_expsyms should be a list of space-separated symbols to be *always*
8738 # included in the symbol list
8740 # exclude_expsyms can be an extended regexp of symbols to exclude
8741 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8742 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8743 # as well as any symbol that contains `d'.
8744 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8745 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8746 # platforms (ab)use it in PIC code, but their linkers get confused if
8747 # the symbol is explicitly referenced. Since portable code cannot
8748 # rely on this symbol name, it's probably fine to never include it in
8749 # preloaded symbol tables.
8750 # Exclude shared library initialization/finalization symbols.
8751 extract_expsyms_cmds=
8754 cygwin* | mingw* | pw32* | cegcc*)
8755 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8756 # When not using gcc, we currently assume that we are using
8757 # Microsoft Visual C++.
8758 if test "$GCC" != yes; then
8763 # we just hope/assume this is gcc and not c89 (= MSVC++)
8769 linux* | k*bsd*-gnu | gnu*)
8776 # On some targets, GNU ld is compatible enough with the native linker
8777 # that we're better off using the native interface for both.
8778 lt_use_gnu_ld_interface=no
8779 if test "$with_gnu_ld" = yes; then
8782 # The AIX port of GNU ld has always aspired to compatibility
8783 # with the native linker. However, as the warning in the GNU ld
8784 # block says, versions before 2.19.5* couldn't really create working
8785 # shared libraries, regardless of the interface used.
8786 case `$LD -v 2>&1` in
8787 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8788 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8789 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8791 lt_use_gnu_ld_interface=yes
8796 lt_use_gnu_ld_interface=yes
8801 if test "$lt_use_gnu_ld_interface" = yes; then
8802 # If archive_cmds runs LD, not CC, wlarc should be empty
8805 # Set some defaults for GNU ld with shared library support. These
8806 # are reset later if shared libraries are not supported. Putting them
8807 # here allows them to be overridden if necessary.
8808 runpath_var=LD_RUN_PATH
8809 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8810 export_dynamic_flag_spec='${wl}--export-dynamic'
8811 # ancient GNU ld didn't support --whole-archive et. al.
8812 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8813 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8815 whole_archive_flag_spec=
8817 supports_anon_versioning=no
8818 case `$LD -v 2>&1` in
8819 *GNU\ gold*) supports_anon_versioning=yes ;;
8820 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8821 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8822 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8823 *\ 2.11.*) ;; # other 2.11 versions
8824 *) supports_anon_versioning=yes ;;
8827 # See if GNU ld supports shared libraries.
8830 # On AIX/PPC, the GNU linker is very broken
8831 if test "$host_cpu" != ia64; then
8835 *** Warning: the GNU linker, at least up to release 2.19, is reported
8836 *** to be unable to reliably create shared libraries on AIX.
8837 *** Therefore, libtool is disabling shared libraries support. If you
8838 *** really care for shared libraries, you may want to install binutils
8839 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8840 *** You will then need to restart the configuration process.
8849 # see comment about AmigaOS4 .so support
8850 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851 archive_expsym_cmds=''
8854 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)'
8855 hardcode_libdir_flag_spec='-L$libdir'
8856 hardcode_minus_L=yes
8862 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8863 allow_undefined_flag=unsupported
8864 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8865 # support --undefined. This deserves some investigation. FIXME
8866 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8872 cygwin* | mingw* | pw32* | cegcc*)
8873 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8874 # as there is no search path for DLLs.
8875 hardcode_libdir_flag_spec='-L$libdir'
8876 export_dynamic_flag_spec='${wl}--export-all-symbols'
8877 allow_undefined_flag=unsupported
8878 always_export_symbols=no
8879 enable_shared_with_static_runtimes=yes
8880 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'
8881 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8883 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8885 # If the export-symbols file already is a .def file (1st line
8886 # is EXPORTS), use it as is; otherwise, prepend...
8887 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8888 cp $export_symbols $output_objdir/$soname.def;
8890 echo EXPORTS > $output_objdir/$soname.def;
8891 cat $export_symbols >> $output_objdir/$soname.def;
8893 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8900 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901 link_all_deplibs=yes
8906 hardcode_shlibpath_var=no
8907 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8908 export_dynamic_flag_spec='${wl}-E'
8909 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8910 # Instead, shared libraries are loaded at an image base (0x10000000 by
8911 # default) and relocated if they conflict, which is a slow very memory
8912 # consuming and fragmenting process. To avoid this, we pick a random,
8913 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8914 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8915 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8916 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'
8919 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8921 if test "$host_os" = linux-dietlibc; then
8922 case $cc_basename in
8923 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8926 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8927 && test "$tmp_diet" = no
8929 tmp_addflag=' $pic_flag'
8930 tmp_sharedflag='-shared'
8931 case $cc_basename,$host_cpu in
8932 pgcc*) # Portland Group C compiler
8933 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'
8934 tmp_addflag=' $pic_flag'
8936 pgf77* | pgf90* | pgf95* | pgfortran*)
8937 # Portland Group f77 and f90 compilers
8938 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'
8939 tmp_addflag=' $pic_flag -Mnomain' ;;
8940 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8941 tmp_addflag=' -i_dynamic' ;;
8942 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8943 tmp_addflag=' -i_dynamic -nofor_main' ;;
8944 ifc* | ifort*) # Intel Fortran compiler
8945 tmp_addflag=' -nofor_main' ;;
8946 lf95*) # Lahey Fortran 8.1
8947 whole_archive_flag_spec=
8948 tmp_sharedflag='--shared' ;;
8949 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8950 tmp_sharedflag='-qmkshrobj'
8952 nvcc*) # Cuda Compiler Driver 2.2
8953 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'
8954 compiler_needs_object=yes
8957 case `$CC -V 2>&1 | sed 5q` in
8958 *Sun\ C*) # Sun C 5.9
8959 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'
8960 compiler_needs_object=yes
8961 tmp_sharedflag='-G' ;;
8962 *Sun\ F*) # Sun Fortran 8.3
8963 tmp_sharedflag='-G' ;;
8965 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967 if test "x$supports_anon_versioning" = xyes; then
8968 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8970 echo "local: *; };" >> $output_objdir/$libname.ver~
8971 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8974 case $cc_basename in
8975 xlf* | bgf* | bgxlf* | mpixlf*)
8976 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8977 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8979 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8980 if test "x$supports_anon_versioning" = xyes; then
8981 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8982 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8983 echo "local: *; };" >> $output_objdir/$libname.ver~
8984 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8993 netbsd* | netbsdelf*-gnu)
8994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8995 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8998 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8999 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9004 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9008 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9009 *** create shared libraries on Solaris systems. Therefore, libtool
9010 *** is disabling shared libraries support. We urge you to upgrade GNU
9011 *** binutils to release 2.9.1 or newer. Another option is to modify
9012 *** your PATH or compiler configuration so that the native linker is
9013 *** used, and then restart.
9016 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9017 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9018 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9024 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9025 case `$LD -v 2>&1` in
9026 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9030 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9031 *** reliably create shared libraries on SCO systems. Therefore, libtool
9032 *** is disabling shared libraries support. We urge you to upgrade GNU
9033 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9034 *** your PATH or compiler configuration so that the native linker is
9035 *** used, and then restart.
9040 # For security reasons, it is highly recommended that you always
9041 # use absolute paths for naming shared libraries, and exclude the
9042 # DT_RUNPATH tag from executables and libraries. But doing so
9043 # requires that you compile everything twice, which is a pain.
9044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9045 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9056 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9059 hardcode_shlibpath_var=no
9063 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9064 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9065 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9072 if test "$ld_shlibs" = no; then
9074 hardcode_libdir_flag_spec=
9075 export_dynamic_flag_spec=
9076 whole_archive_flag_spec=
9079 # PORTME fill in a description of your system's linker (not GNU ld)
9082 allow_undefined_flag=unsupported
9083 always_export_symbols=yes
9084 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'
9085 # Note: this linker hardcodes the directories in LIBPATH if there
9086 # are no directories specified by -L.
9087 hardcode_minus_L=yes
9088 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9089 # Neither direct hardcoding nor static linking is supported with a
9091 hardcode_direct=unsupported
9096 if test "$host_cpu" = ia64; then
9097 # On IA64, the linker does run time linking by default, so we don't
9098 # have to do anything special.
9099 aix_use_runtimelinking=no
9100 exp_sym_flag='-Bexport'
9103 # If we're using GNU nm, then we don't want the "-C" option.
9104 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9105 # Also, AIX nm treats weak defined symbols like other global
9106 # defined symbols, whereas GNU nm marks them as "W".
9107 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9108 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9110 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9112 aix_use_runtimelinking=no
9114 # Test if we are trying to use run time linking or normal
9115 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9116 # need to do runtime linking.
9117 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9118 for ld_flag in $LDFLAGS; do
9119 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9120 aix_use_runtimelinking=yes
9127 exp_sym_flag='-bexport'
9128 no_entry_flag='-bnoentry'
9131 # When large executables or shared objects are built, AIX ld can
9132 # have problems creating the table of contents. If linking a library
9133 # or program results in "error TOC overflow" add -mminimal-toc to
9134 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9135 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9139 hardcode_direct_absolute=yes
9140 hardcode_libdir_separator=':'
9141 link_all_deplibs=yes
9142 file_list_spec='${wl}-f,'
9144 if test "$GCC" = yes; then
9145 case $host_os in aix4.[012]|aix4.[012].*)
9146 # We only want to do this on AIX 4.2 and lower, the check
9147 # below for broken collect2 doesn't work under 4.3+
9148 collect2name=`${CC} -print-prog-name=collect2`
9149 if test -f "$collect2name" &&
9150 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9152 # We have reworked collect2
9155 # We have old collect2
9156 hardcode_direct=unsupported
9157 # It fails to find uninstalled libraries when the uninstalled
9158 # path is not listed in the libpath. Setting hardcode_minus_L
9159 # to unsupported forces relinking
9160 hardcode_minus_L=yes
9161 hardcode_libdir_flag_spec='-L$libdir'
9162 hardcode_libdir_separator=
9166 shared_flag='-shared'
9167 if test "$aix_use_runtimelinking" = yes; then
9168 shared_flag="$shared_flag "'${wl}-G'
9173 if test "$host_cpu" = ia64; then
9174 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9175 # chokes on -Wl,-G. The following line is correct:
9178 if test "$aix_use_runtimelinking" = yes; then
9179 shared_flag='${wl}-G'
9181 shared_flag='${wl}-bM:SRE'
9186 export_dynamic_flag_spec='${wl}-bexpall'
9187 # It seems that -bexpall does not export symbols beginning with
9188 # underscore (_), so it is better to generate a list of symbols to export.
9189 always_export_symbols=yes
9190 if test "$aix_use_runtimelinking" = yes; then
9191 # Warning - without using the other runtime loading flags (-brtl),
9192 # -berok will link without error, but may produce a broken library.
9193 allow_undefined_flag='-berok'
9194 # Determine the default libpath from the value encoded in an
9196 if test "${lt_cv_aix_libpath+set}" = set; then
9197 aix_libpath=$lt_cv_aix_libpath
9199 if ${lt_cv_aix_libpath_+:} false; then :
9200 $as_echo_n "(cached) " >&6
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9213 if ac_fn_c_try_link "$LINENO"; then :
9215 lt_aix_libpath_sed='
9216 /Import File Strings/,/^$/ {
9218 s/^0 *\([^ ]*\) *$/\1/
9222 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223 # Check for a 64-bit object if we didn't find anything.
9224 if test -z "$lt_cv_aix_libpath_"; then
9225 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9230 if test -z "$lt_cv_aix_libpath_"; then
9231 lt_cv_aix_libpath_="/usr/lib:/lib"
9236 aix_libpath=$lt_cv_aix_libpath_
9239 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9240 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9242 if test "$host_cpu" = ia64; then
9243 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9244 allow_undefined_flag="-z nodefs"
9245 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"
9247 # Determine the default libpath from the value encoded in an
9249 if test "${lt_cv_aix_libpath+set}" = set; then
9250 aix_libpath=$lt_cv_aix_libpath
9252 if ${lt_cv_aix_libpath_+:} false; then :
9253 $as_echo_n "(cached) " >&6
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9266 if ac_fn_c_try_link "$LINENO"; then :
9268 lt_aix_libpath_sed='
9269 /Import File Strings/,/^$/ {
9271 s/^0 *\([^ ]*\) *$/\1/
9275 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9276 # Check for a 64-bit object if we didn't find anything.
9277 if test -z "$lt_cv_aix_libpath_"; then
9278 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 if test -z "$lt_cv_aix_libpath_"; then
9284 lt_cv_aix_libpath_="/usr/lib:/lib"
9289 aix_libpath=$lt_cv_aix_libpath_
9292 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9293 # Warning - without using the other run time loading flags,
9294 # -berok will link without error, but may produce a broken library.
9295 no_undefined_flag=' ${wl}-bernotok'
9296 allow_undefined_flag=' ${wl}-berok'
9297 if test "$with_gnu_ld" = yes; then
9298 # We only use this code for GNU lds that support --whole-archive.
9299 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9301 # Exported symbols can be pulled into shared objects from archives
9302 whole_archive_flag_spec='$convenience'
9304 archive_cmds_need_lc=yes
9305 # This is similar to how AIX traditionally builds its shared libraries.
9306 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9314 # see comment about AmigaOS4 .so support
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 archive_expsym_cmds=''
9319 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)'
9320 hardcode_libdir_flag_spec='-L$libdir'
9321 hardcode_minus_L=yes
9327 export_dynamic_flag_spec=-rdynamic
9330 cygwin* | mingw* | pw32* | cegcc*)
9331 # When not using gcc, we currently assume that we are using
9332 # Microsoft Visual C++.
9333 # hardcode_libdir_flag_spec is actually meaningless, as there is
9334 # no search path for DLLs.
9335 case $cc_basename in
9338 hardcode_libdir_flag_spec=' '
9339 allow_undefined_flag=unsupported
9340 always_export_symbols=yes
9342 # Tell ltmain to make .lib files, not .a files.
9344 # Tell ltmain to make .dll files, not .so files.
9346 # FIXME: Setting linknames here is a bad hack.
9347 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9348 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9349 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9351 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9353 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9355 # The linker will not automatically build a static lib if we build a DLL.
9356 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9357 enable_shared_with_static_runtimes=yes
9358 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9359 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9361 old_postinstall_cmds='chmod 644 $oldlib'
9362 postlink_cmds='lt_outputfile="@OUTPUT@"~
9363 lt_tool_outputfile="@TOOL_OUTPUT@"~
9364 case $lt_outputfile in
9367 lt_outputfile="$lt_outputfile.exe"
9368 lt_tool_outputfile="$lt_tool_outputfile.exe"
9371 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9372 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9373 $RM "$lt_outputfile.manifest";
9377 # Assume MSVC wrapper
9378 hardcode_libdir_flag_spec=' '
9379 allow_undefined_flag=unsupported
9380 # Tell ltmain to make .lib files, not .a files.
9382 # Tell ltmain to make .dll files, not .so files.
9384 # FIXME: Setting linknames here is a bad hack.
9385 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9386 # The linker will automatically build a .lib file if we build a DLL.
9387 old_archive_from_new_cmds='true'
9388 # FIXME: Should let the user specify the lib program.
9389 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9390 enable_shared_with_static_runtimes=yes
9395 darwin* | rhapsody*)
9398 archive_cmds_need_lc=no
9400 hardcode_automatic=yes
9401 hardcode_shlibpath_var=unsupported
9402 if test "$lt_cv_ld_force_load" = "yes"; then
9403 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\"`'
9406 whole_archive_flag_spec=''
9408 link_all_deplibs=yes
9409 allow_undefined_flag="$_lt_dar_allow_undefined"
9410 case $cc_basename in
9411 ifort*) _lt_dar_can_shared=yes ;;
9412 *) _lt_dar_can_shared=$GCC ;;
9414 if test "$_lt_dar_can_shared" = "yes"; then
9415 output_verbose_link_cmd=func_echo_all
9416 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9417 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9418 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}"
9419 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}"
9428 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9429 hardcode_libdir_flag_spec='-L$libdir'
9430 hardcode_shlibpath_var=no
9433 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9434 # support. Future versions do this automatically, but an explicit c++rt0.o
9435 # does not break anything, and helps significantly (at the cost of a little
9438 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9439 hardcode_libdir_flag_spec='-R$libdir'
9441 hardcode_shlibpath_var=no
9444 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9446 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9448 hardcode_minus_L=yes
9449 hardcode_shlibpath_var=no
9452 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9453 freebsd* | dragonfly*)
9454 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9455 hardcode_libdir_flag_spec='-R$libdir'
9457 hardcode_shlibpath_var=no
9461 if test "$GCC" = yes; then
9462 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9464 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9466 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9467 hardcode_libdir_separator=:
9470 # hardcode_minus_L: Not really in the search PATH,
9471 # but as the default location of the library.
9472 hardcode_minus_L=yes
9473 export_dynamic_flag_spec='${wl}-E'
9477 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9478 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9480 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9482 if test "$with_gnu_ld" = no; then
9483 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9484 hardcode_libdir_separator=:
9486 hardcode_direct_absolute=yes
9487 export_dynamic_flag_spec='${wl}-E'
9488 # hardcode_minus_L: Not really in the search PATH,
9489 # but as the default location of the library.
9490 hardcode_minus_L=yes
9495 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9498 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9504 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9517 # Older versions of the 11.00 compiler do not understand -b yet
9518 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9520 $as_echo_n "checking if $CC understands -b... " >&6; }
9521 if ${lt_cv_prog_compiler__b+:} false; then :
9522 $as_echo_n "(cached) " >&6
9524 lt_cv_prog_compiler__b=no
9525 save_LDFLAGS="$LDFLAGS"
9526 LDFLAGS="$LDFLAGS -b"
9527 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9528 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9529 # The linker can only warn and ignore the option if not recognized
9530 # So say no if there are warnings
9531 if test -s conftest.err; then
9532 # Append any errors to the config.log.
9533 cat conftest.err 1>&5
9534 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9535 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9536 if diff conftest.exp conftest.er2 >/dev/null; then
9537 lt_cv_prog_compiler__b=yes
9540 lt_cv_prog_compiler__b=yes
9544 LDFLAGS="$save_LDFLAGS"
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9548 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9550 if test x"$lt_cv_prog_compiler__b" = xyes; then
9551 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9559 if test "$with_gnu_ld" = no; then
9560 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9561 hardcode_libdir_separator=:
9566 hardcode_shlibpath_var=no
9570 hardcode_direct_absolute=yes
9571 export_dynamic_flag_spec='${wl}-E'
9573 # hardcode_minus_L: Not really in the search PATH,
9574 # but as the default location of the library.
9575 hardcode_minus_L=yes
9581 irix5* | irix6* | nonstopux*)
9582 if test "$GCC" = yes; then
9583 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'
9584 # Try to use the -exported_symbol ld option, if it does not
9585 # work, assume that -exports_file does not work either and
9586 # implicitly export all symbols.
9587 # This should be the same for all languages, so no per-tag cache variable.
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9589 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9590 if ${lt_cv_irix_exported_symbol+:} false; then :
9591 $as_echo_n "(cached) " >&6
9593 save_LDFLAGS="$LDFLAGS"
9594 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9597 int foo (void) { return 0; }
9599 if ac_fn_c_try_link "$LINENO"; then :
9600 lt_cv_irix_exported_symbol=yes
9602 lt_cv_irix_exported_symbol=no
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LDFLAGS="$save_LDFLAGS"
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9609 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9610 if test "$lt_cv_irix_exported_symbol" = yes; then
9611 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'
9614 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'
9615 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'
9617 archive_cmds_need_lc='no'
9618 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9619 hardcode_libdir_separator=:
9621 link_all_deplibs=yes
9624 netbsd* | netbsdelf*-gnu)
9625 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9626 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9628 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9630 hardcode_libdir_flag_spec='-R$libdir'
9632 hardcode_shlibpath_var=no
9636 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9638 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9639 hardcode_libdir_separator=:
9640 hardcode_shlibpath_var=no
9647 if test -f /usr/libexec/ld.so; then
9649 hardcode_shlibpath_var=no
9650 hardcode_direct_absolute=yes
9651 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9652 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9653 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9654 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9655 export_dynamic_flag_spec='${wl}-E'
9658 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9659 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_libdir_flag_spec='-R$libdir'
9663 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9664 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9674 hardcode_libdir_flag_spec='-L$libdir'
9675 hardcode_minus_L=yes
9676 allow_undefined_flag=unsupported
9677 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9678 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9682 if test "$GCC" = yes; then
9683 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9684 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'
9686 allow_undefined_flag=' -expect_unresolved \*'
9687 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'
9689 archive_cmds_need_lc='no'
9690 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9691 hardcode_libdir_separator=:
9694 osf4* | osf5*) # as osf3* with the addition of -msym flag
9695 if test "$GCC" = yes; then
9696 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9697 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'
9698 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9700 allow_undefined_flag=' -expect_unresolved \*'
9701 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'
9702 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~
9703 $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'
9705 # Both c and cxx compiler support -rpath directly
9706 hardcode_libdir_flag_spec='-rpath $libdir'
9708 archive_cmds_need_lc='no'
9709 hardcode_libdir_separator=:
9713 no_undefined_flag=' -z defs'
9714 if test "$GCC" = yes; then
9716 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9718 $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'
9720 case `$CC -V 2>&1` in
9723 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9724 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9725 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9729 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9731 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9735 hardcode_libdir_flag_spec='-R$libdir'
9736 hardcode_shlibpath_var=no
9738 solaris2.[0-5] | solaris2.[0-5].*) ;;
9740 # The compiler driver will combine and reorder linker options,
9741 # but understands `-z linker_flag'. GCC discards it without `$wl',
9742 # but is careful enough not to reorder.
9743 # Supported since Solaris 2.6 (maybe 2.5.1?)
9744 if test "$GCC" = yes; then
9745 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9747 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9751 link_all_deplibs=yes
9755 if test "x$host_vendor" = xsequent; then
9756 # Use $CC to link under sequent, because it throws in some extra .o
9757 # files that make .init and .fini sections work.
9758 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9760 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_libdir_flag_spec='-L$libdir'
9764 hardcode_minus_L=yes
9765 hardcode_shlibpath_var=no
9769 case $host_vendor in
9771 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9772 hardcode_direct=yes # is this really true???
9775 ## LD is ld it makes a PLAMLIB
9776 ## CC just makes a GrossModule.
9777 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9778 reload_cmds='$CC -r -o $output$reload_objs'
9782 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9783 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9786 runpath_var='LD_RUN_PATH'
9787 hardcode_shlibpath_var=no
9791 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792 hardcode_shlibpath_var=no
9793 export_dynamic_flag_spec='-Bexport'
9797 if test -d /usr/nec; then
9798 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799 hardcode_shlibpath_var=no
9800 runpath_var=LD_RUN_PATH
9801 hardcode_runpath_var=yes
9806 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9807 no_undefined_flag='${wl}-z,text'
9808 archive_cmds_need_lc=no
9809 hardcode_shlibpath_var=no
9810 runpath_var='LD_RUN_PATH'
9812 if test "$GCC" = yes; then
9813 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9821 sysv5* | sco3.2v5* | sco5v6*)
9822 # Note: We can NOT use -z defs as we might desire, because we do not
9823 # link with -lc, and that would cause any symbols used from libc to
9824 # always be unresolved, which means just about no library would
9825 # ever link correctly. If we're not using GNU ld we use -z text
9826 # though, which does catch some bad symbols but isn't as heavy-handed
9828 no_undefined_flag='${wl}-z,text'
9829 allow_undefined_flag='${wl}-z,nodefs'
9830 archive_cmds_need_lc=no
9831 hardcode_shlibpath_var=no
9832 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9833 hardcode_libdir_separator=':'
9834 link_all_deplibs=yes
9835 export_dynamic_flag_spec='${wl}-Bexport'
9836 runpath_var='LD_RUN_PATH'
9838 if test "$GCC" = yes; then
9839 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9849 hardcode_libdir_flag_spec='-L$libdir'
9850 hardcode_shlibpath_var=no
9858 if test x$host_vendor = xsni; then
9860 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9861 export_dynamic_flag_spec='${wl}-Blargedynsym'
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9868 $as_echo "$ld_shlibs" >&6; }
9869 test "$ld_shlibs" = no && can_build_shared=no
9871 with_gnu_ld=$with_gnu_ld
9888 # Do we need to explicitly link libc?
9890 case "x$archive_cmds_need_lc" in
9892 # Assume -lc should be added
9893 archive_cmds_need_lc=yes
9895 if test "$enable_shared" = yes && test "$GCC" = yes; then
9896 case $archive_cmds in
9898 # FIXME: we may have to deal with multi-command sequences.
9901 # Test whether the compiler implicitly links with -lc since on some
9902 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9903 # to ld, don't add -lc before -lgcc.
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9905 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9906 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9907 $as_echo_n "(cached) " >&6
9910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9913 (eval $ac_compile) 2>&5
9915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9916 test $ac_status = 0; } 2>conftest.err; then
9919 libobjs=conftest.$ac_objext
9921 wl=$lt_prog_compiler_wl
9922 pic_flag=$lt_prog_compiler_pic
9928 lt_save_allow_undefined_flag=$allow_undefined_flag
9929 allow_undefined_flag=
9930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9931 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9934 test $ac_status = 0; }
9936 lt_cv_archive_cmds_need_lc=no
9938 lt_cv_archive_cmds_need_lc=yes
9940 allow_undefined_flag=$lt_save_allow_undefined_flag
9942 cat conftest.err 1>&5
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9948 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9949 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10108 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10110 if test "$GCC" = yes; then
10112 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10113 *) lt_awk_arg="/^libraries:/" ;;
10116 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10117 *) lt_sed_strip_eq="s,=/,/,g" ;;
10119 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10120 case $lt_search_path_spec in
10122 # if the path contains ";" then we assume it to be the separator
10123 # otherwise default to the standard path separator (i.e. ":") - it is
10124 # assumed that no part of a normal pathname contains ";" but that should
10125 # okay in the real world where ";" in dirpaths is itself problematic.
10126 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10129 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10132 # Ok, now we have the path, separated by spaces, we can step through it
10133 # and add multilib dir if necessary.
10134 lt_tmp_lt_search_path_spec=
10135 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10136 for lt_sys_path in $lt_search_path_spec; do
10137 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10138 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10140 test -d "$lt_sys_path" && \
10141 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10144 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10145 BEGIN {RS=" "; FS="/|\n";} {
10148 for (lt_i = NF; lt_i > 0; lt_i--) {
10149 if ($lt_i != "" && $lt_i != ".") {
10150 if ($lt_i == "..") {
10153 if (lt_count == 0) {
10154 lt_foo="/" $lt_i lt_foo;
10161 if (lt_foo != "") { lt_freq[lt_foo]++; }
10162 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10164 # AWK program above erroneously prepends '/' to C:/dos/paths
10167 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10168 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10170 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10172 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10174 library_names_spec=
10175 libname_spec='lib$name'
10179 postuninstall_cmds=
10183 shlibpath_overrides_runpath=unknown
10185 dynamic_linker="$host_os ld.so"
10186 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10187 need_lib_prefix=unknown
10188 hardcode_into_libs=no
10190 # when you set need_version to no, make sure it does not cause -set_version
10191 # flags to be left without arguments
10192 need_version=unknown
10196 version_type=linux # correct to gnu/linux during the next big refactor
10197 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10198 shlibpath_var=LIBPATH
10200 # AIX 3 has no versioning support, so we append a major version to the name.
10201 soname_spec='${libname}${release}${shared_ext}$major'
10205 version_type=linux # correct to gnu/linux during the next big refactor
10208 hardcode_into_libs=yes
10209 if test "$host_cpu" = ia64; then
10210 # AIX 5 supports IA64
10211 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10212 shlibpath_var=LD_LIBRARY_PATH
10214 # With GCC up to 2.95.x, collect2 would create an import file
10215 # for dependence libraries. The import file would start with
10216 # the line `#! .'. This would cause the generated library to
10217 # depend on `.', always an invalid library. This was fixed in
10218 # development snapshots of GCC prior to 3.0.
10220 aix4 | aix4.[01] | aix4.[01].*)
10221 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10223 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10226 can_build_shared=no
10230 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10231 # soname into executable. Probably we can add versioning support to
10232 # collect2, so additional links can be useful in future.
10233 if test "$aix_use_runtimelinking" = yes; then
10234 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10235 # instead of lib<name>.a to let people know that these are not
10236 # typical AIX shared libraries.
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10239 # We preserve .a as extension for shared libraries through AIX4.2
10240 # and later when we are not doing run time linking.
10241 library_names_spec='${libname}${release}.a $libname.a'
10242 soname_spec='${libname}${release}${shared_ext}$major'
10244 shlibpath_var=LIBPATH
10251 # Since July 2007 AmigaOS4 officially supports .so libraries.
10252 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 library_names_spec='$libname.ixlibrary $libname.a'
10257 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10258 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10264 library_names_spec='${libname}${shared_ext}'
10265 dynamic_linker="$host_os ld.so"
10266 shlibpath_var=LIBRARY_PATH
10270 version_type=linux # correct to gnu/linux during the next big refactor
10272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10273 soname_spec='${libname}${release}${shared_ext}$major'
10274 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10275 shlibpath_var=LD_LIBRARY_PATH
10276 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10277 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10278 # the default ld.so.conf also contains /usr/contrib/lib and
10279 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10280 # libtool to hard-code these into programs
10283 cygwin* | mingw* | pw32* | cegcc*)
10284 version_type=windows
10289 case $GCC,$cc_basename in
10292 library_names_spec='$libname.dll.a'
10293 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10294 postinstall_cmds='base_file=`basename \${file}`~
10295 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10296 dldir=$destdir/`dirname \$dlpath`~
10297 test -d \$dldir || mkdir -p \$dldir~
10298 $install_prog $dir/$dlname \$dldir/$dlname~
10299 chmod a+x \$dldir/$dlname~
10300 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10301 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10303 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10304 dlpath=$dir/\$dldll~
10306 shlibpath_overrides_runpath=yes
10310 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10311 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10313 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10316 # MinGW DLLs use traditional 'lib' prefix
10317 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10320 # pw32 DLLs use 'pw' prefix rather than 'lib'
10321 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10324 dynamic_linker='Win32 ld.exe'
10329 libname_spec='$name'
10330 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10331 library_names_spec='${libname}.dll.lib'
10335 sys_lib_search_path_spec=
10338 for lt_path in $LIB
10341 # Let DOS variable expansion print the short 8.3 style file name.
10342 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10343 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10346 # Convert to MSYS style.
10347 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10350 # Convert to unix form, then to dos form, then back to unix form
10351 # but this time dos style (no spaces!) so that the unix form looks
10352 # like /cygdrive/c/PROGRA~1:/cygdr...
10353 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10354 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10355 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10358 sys_lib_search_path_spec="$LIB"
10359 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10360 # It is most probably a Windows format PATH.
10361 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10363 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10365 # FIXME: find the short name or the path components, as spaces are
10366 # common. (e.g. "Program Files" -> "PROGRA~1")
10370 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10371 postinstall_cmds='base_file=`basename \${file}`~
10372 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10373 dldir=$destdir/`dirname \$dlpath`~
10374 test -d \$dldir || mkdir -p \$dldir~
10375 $install_prog $dir/$dlname \$dldir/$dlname'
10376 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10377 dlpath=$dir/\$dldll~
10379 shlibpath_overrides_runpath=yes
10380 dynamic_linker='Win32 link.exe'
10384 # Assume MSVC wrapper
10385 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10386 dynamic_linker='Win32 ld.exe'
10389 # FIXME: first we should search . and the directory the executable is in
10393 darwin* | rhapsody*)
10394 dynamic_linker="$host_os dyld"
10395 version_type=darwin
10398 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10399 soname_spec='${libname}${release}${major}$shared_ext'
10400 shlibpath_overrides_runpath=yes
10401 shlibpath_var=DYLD_LIBRARY_PATH
10402 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10404 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10405 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10409 version_type=linux # correct to gnu/linux during the next big refactor
10412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10413 soname_spec='${libname}${release}${shared_ext}$major'
10414 shlibpath_var=LD_LIBRARY_PATH
10417 freebsd* | dragonfly*)
10418 # DragonFly does not have aout. When/if they implement a new
10419 # versioning mechanism, adjust this.
10420 if test -x /usr/bin/objformat; then
10421 objformat=`/usr/bin/objformat`
10424 freebsd[23].*) objformat=aout ;;
10425 *) objformat=elf ;;
10428 version_type=freebsd-$objformat
10429 case $version_type in
10431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10436 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10440 shlibpath_var=LD_LIBRARY_PATH
10443 shlibpath_overrides_runpath=yes
10445 freebsd3.[01]* | freebsdelf3.[01]*)
10446 shlibpath_overrides_runpath=yes
10447 hardcode_into_libs=yes
10449 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10450 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10451 shlibpath_overrides_runpath=no
10452 hardcode_into_libs=yes
10454 *) # from 4.6 on, and DragonFly
10455 shlibpath_overrides_runpath=yes
10456 hardcode_into_libs=yes
10462 version_type=linux # correct to gnu/linux during the next big refactor
10465 dynamic_linker="$host_os runtime_loader"
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10467 soname_spec='${libname}${release}${shared_ext}$major'
10468 shlibpath_var=LIBRARY_PATH
10469 shlibpath_overrides_runpath=yes
10470 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10471 hardcode_into_libs=yes
10474 hpux9* | hpux10* | hpux11*)
10475 # Give a soname corresponding to the major version so that dld.sl refuses to
10476 # link against other versions.
10483 hardcode_into_libs=yes
10484 dynamic_linker="$host_os dld.so"
10485 shlibpath_var=LD_LIBRARY_PATH
10486 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 soname_spec='${libname}${release}${shared_ext}$major'
10489 if test "X$HPUX_IA64_MODE" = X32; then
10490 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10492 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10494 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10498 hardcode_into_libs=yes
10499 dynamic_linker="$host_os dld.sl"
10500 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 soname_spec='${libname}${release}${shared_ext}$major'
10504 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10509 dynamic_linker="$host_os dld.sl"
10510 shlibpath_var=SHLIB_PATH
10511 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec='${libname}${release}${shared_ext}$major'
10516 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10517 postinstall_cmds='chmod 555 $lib'
10518 # or fails outright, so override atomically:
10519 install_override_mode=555
10523 version_type=linux # correct to gnu/linux during the next big refactor
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10528 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 shlibpath_overrides_runpath=no
10531 hardcode_into_libs=yes
10534 irix5* | irix6* | nonstopux*)
10536 nonstopux*) version_type=nonstopux ;;
10538 if test "$lt_cv_prog_gnu_ld" = yes; then
10539 version_type=linux # correct to gnu/linux during the next big refactor
10546 soname_spec='${libname}${release}${shared_ext}$major'
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10549 irix5* | nonstopux*)
10550 libsuff= shlibsuff=
10553 case $LD in # libtool.m4 will add one of these switches to LD
10554 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10555 libsuff= shlibsuff= libmagic=32-bit;;
10556 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10557 libsuff=32 shlibsuff=N32 libmagic=N32;;
10558 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10559 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10560 *) libsuff= shlibsuff= libmagic=never-match;;
10564 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10565 shlibpath_overrides_runpath=no
10566 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10567 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10568 hardcode_into_libs=yes
10571 # No shared lib support for Linux oldld, aout, or coff.
10572 linux*oldld* | linux*aout* | linux*coff*)
10576 # This must be glibc/ELF.
10577 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10578 version_type=linux # correct to gnu/linux during the next big refactor
10581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 soname_spec='${libname}${release}${shared_ext}$major'
10583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10584 shlibpath_var=LD_LIBRARY_PATH
10585 shlibpath_overrides_runpath=no
10587 # Some binutils ld are patched to set DT_RUNPATH
10588 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10589 $as_echo_n "(cached) " >&6
10591 lt_cv_shlibpath_overrides_runpath=no
10592 save_LDFLAGS=$LDFLAGS
10593 save_libdir=$libdir
10594 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10595 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10609 lt_cv_shlibpath_overrides_runpath=yes
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 LDFLAGS=$save_LDFLAGS
10615 libdir=$save_libdir
10619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10621 # This implies no fast_install, which is unacceptable.
10622 # Some rework will be needed to allow for fast_install
10623 # before this can be enabled.
10624 hardcode_into_libs=yes
10626 # Append ld.so.conf contents to the search path
10627 if test -f /etc/ld.so.conf; then
10628 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' ' '`
10629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10632 # We used to test for /lib/ld.so.1 and disable shared libraries on
10633 # powerpc, because MkLinux only supported shared libraries with the
10634 # GNU dynamic linker. Since this was broken with cross compilers,
10635 # most powerpc-linux boxes support dynamic linking these days and
10636 # people can always --disable-shared, the test was removed, and we
10637 # assume the GNU/Linux dynamic linker is in use.
10638 dynamic_linker='GNU/Linux ld.so'
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 shlibpath_var=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10650 dynamic_linker='NetBSD ld.elf_so'
10657 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10659 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10660 dynamic_linker='NetBSD (a.out) ld.so'
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 dynamic_linker='NetBSD ld.elf_so'
10666 shlibpath_var=LD_LIBRARY_PATH
10667 shlibpath_overrides_runpath=yes
10668 hardcode_into_libs=yes
10672 version_type=linux # correct to gnu/linux during the next big refactor
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=yes
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 shlibpath_var=LD_LIBRARY_PATH
10685 shlibpath_overrides_runpath=no
10686 hardcode_into_libs=yes
10687 dynamic_linker='ldqnx.so'
10692 sys_lib_dlsearch_path_spec="/usr/lib"
10694 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10696 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10697 *) need_version=no ;;
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10700 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10701 shlibpath_var=LD_LIBRARY_PATH
10702 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10704 openbsd2.[89] | openbsd2.[89].*)
10705 shlibpath_overrides_runpath=no
10708 shlibpath_overrides_runpath=yes
10712 shlibpath_overrides_runpath=yes
10717 libname_spec='$name'
10720 library_names_spec='$libname${shared_ext} $libname.a'
10721 dynamic_linker='OS/2 ld.exe'
10722 shlibpath_var=LIBPATH
10725 osf3* | osf4* | osf5*)
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10731 shlibpath_var=LD_LIBRARY_PATH
10732 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10733 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10741 version_type=linux # correct to gnu/linux during the next big refactor
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 shlibpath_var=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath=yes
10748 hardcode_into_libs=yes
10749 # ldd complains unless libraries are executable
10750 postinstall_cmds='chmod +x $lib'
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10756 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes
10759 if test "$with_gnu_ld" = yes; then
10766 version_type=linux # correct to gnu/linux during the next big refactor
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768 soname_spec='${libname}${release}${shared_ext}$major'
10769 shlibpath_var=LD_LIBRARY_PATH
10770 case $host_vendor in
10772 shlibpath_overrides_runpath=no
10774 runpath_var=LD_RUN_PATH
10782 shlibpath_overrides_runpath=no
10783 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10789 if test -d /usr/nec ;then
10790 version_type=linux # correct to gnu/linux during the next big refactor
10791 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10792 soname_spec='$libname${shared_ext}.$major'
10793 shlibpath_var=LD_LIBRARY_PATH
10797 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10798 version_type=freebsd-elf
10801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10802 soname_spec='${libname}${release}${shared_ext}$major'
10803 shlibpath_var=LD_LIBRARY_PATH
10804 shlibpath_overrides_runpath=yes
10805 hardcode_into_libs=yes
10806 if test "$with_gnu_ld" = yes; then
10807 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10809 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10812 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10816 sys_lib_dlsearch_path_spec='/usr/lib'
10820 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10821 version_type=linux # correct to gnu/linux during the next big refactor
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 shlibpath_var=LD_LIBRARY_PATH
10826 shlibpath_overrides_runpath=no
10827 hardcode_into_libs=yes
10831 version_type=linux # correct to gnu/linux during the next big refactor
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 shlibpath_var=LD_LIBRARY_PATH
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10842 $as_echo "$dynamic_linker" >&6; }
10843 test "$dynamic_linker" = no && can_build_shared=no
10845 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10846 if test "$GCC" = yes; then
10847 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10850 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10851 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10853 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10854 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10949 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10951 if test -n "$hardcode_libdir_flag_spec" ||
10952 test -n "$runpath_var" ||
10953 test "X$hardcode_automatic" = "Xyes" ; then
10955 # We can hardcode non-existent directories.
10956 if test "$hardcode_direct" != no &&
10957 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10958 # have to relink, otherwise we might link with an installed library
10959 # when we should be linking with a yet-to-be-installed one
10960 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10961 test "$hardcode_minus_L" != no; then
10962 # Linking always hardcodes the temporary library directory.
10963 hardcode_action=relink
10965 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10966 hardcode_action=immediate
10969 # We cannot hardcode anything, or else we can only hardcode existing
10971 hardcode_action=unsupported
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10974 $as_echo "$hardcode_action" >&6; }
10976 if test "$hardcode_action" = relink ||
10977 test "$inherit_rpath" = yes; then
10978 # Fast installation is not supported
10979 enable_fast_install=no
10980 elif test "$shlibpath_overrides_runpath" = yes ||
10981 test "$enable_shared" = no; then
10982 # Fast installation is not necessary
10983 enable_fast_install=needless
10991 if test "x$enable_dlopen" != xyes; then
10992 enable_dlopen=unknown
10993 enable_dlopen_self=unknown
10994 enable_dlopen_self_static=unknown
11001 lt_cv_dlopen="load_add_on"
11003 lt_cv_dlopen_self=yes
11006 mingw* | pw32* | cegcc*)
11007 lt_cv_dlopen="LoadLibrary"
11012 lt_cv_dlopen="dlopen"
11017 # if libdl is installed we need to link against it
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11019 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11020 if ${ac_cv_lib_dl_dlopen+:} false; then :
11021 $as_echo_n "(cached) " >&6
11023 ac_check_lib_save_LIBS=$LIBS
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11028 /* Override any GCC internal prototype to avoid an error.
11029 Use char because int might match the return type of a GCC
11030 builtin and then its argument prototype would still apply. */
11043 if ac_fn_c_try_link "$LINENO"; then :
11044 ac_cv_lib_dl_dlopen=yes
11046 ac_cv_lib_dl_dlopen=no
11048 rm -f core conftest.err conftest.$ac_objext \
11049 conftest$ac_exeext conftest.$ac_ext
11050 LIBS=$ac_check_lib_save_LIBS
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11053 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11054 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11055 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11058 lt_cv_dlopen="dyld"
11060 lt_cv_dlopen_self=yes
11067 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11068 if test "x$ac_cv_func_shl_load" = xyes; then :
11069 lt_cv_dlopen="shl_load"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11072 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11073 if ${ac_cv_lib_dld_shl_load+:} false; then :
11074 $as_echo_n "(cached) " >&6
11076 ac_check_lib_save_LIBS=$LIBS
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11091 return shl_load ();
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 ac_cv_lib_dld_shl_load=yes
11099 ac_cv_lib_dld_shl_load=no
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_lib_save_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11106 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11107 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11108 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11110 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11111 if test "x$ac_cv_func_dlopen" = xyes; then :
11112 lt_cv_dlopen="dlopen"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11115 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11116 if ${ac_cv_lib_dl_dlopen+:} false; then :
11117 $as_echo_n "(cached) " >&6
11119 ac_check_lib_save_LIBS=$LIBS
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 ac_cv_lib_dl_dlopen=yes
11142 ac_cv_lib_dl_dlopen=no
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11149 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11150 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11151 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11154 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11155 if ${ac_cv_lib_svld_dlopen+:} false; then :
11156 $as_echo_n "(cached) " >&6
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lsvld $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_svld_dlopen=yes
11181 ac_cv_lib_svld_dlopen=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11188 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11189 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11190 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11193 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11194 if ${ac_cv_lib_dld_dld_link+:} false; then :
11195 $as_echo_n "(cached) " >&6
11197 ac_check_lib_save_LIBS=$LIBS
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11212 return dld_link ();
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_dld_dld_link=yes
11220 ac_cv_lib_dld_dld_link=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11227 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11228 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11229 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11250 if test "x$lt_cv_dlopen" != xno; then
11256 case $lt_cv_dlopen in
11258 save_CPPFLAGS="$CPPFLAGS"
11259 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11261 save_LDFLAGS="$LDFLAGS"
11262 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11265 LIBS="$lt_cv_dlopen_libs $LIBS"
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11268 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11269 if ${lt_cv_dlopen_self+:} false; then :
11270 $as_echo_n "(cached) " >&6
11272 if test "$cross_compiling" = yes; then :
11273 lt_cv_dlopen_self=cross
11275 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11276 lt_status=$lt_dlunknown
11277 cat > conftest.$ac_ext <<_LT_EOF
11278 #line $LINENO "configure"
11279 #include "confdefs.h"
11288 # define LT_DLGLOBAL RTLD_GLOBAL
11291 # define LT_DLGLOBAL DL_GLOBAL
11293 # define LT_DLGLOBAL 0
11297 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11298 find out it does not work in some platform. */
11299 #ifndef LT_DLLAZY_OR_NOW
11301 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11304 # define LT_DLLAZY_OR_NOW DL_LAZY
11307 # define LT_DLLAZY_OR_NOW RTLD_NOW
11310 # define LT_DLLAZY_OR_NOW DL_NOW
11312 # define LT_DLLAZY_OR_NOW 0
11319 /* When -fvisbility=hidden is used, assume the code has been annotated
11320 correspondingly for the symbols needed. */
11321 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11322 int fnord () __attribute__((visibility("default")));
11325 int fnord () { return 42; }
11328 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11329 int status = $lt_dlunknown;
11333 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11336 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11337 else puts (dlerror ());
11339 /* dlclose (self); */
11347 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11348 (eval $ac_link) 2>&5
11350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11351 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11352 (./conftest; exit; ) >&5 2>/dev/null
11354 case x$lt_status in
11355 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11356 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11357 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11360 # compilation failed
11361 lt_cv_dlopen_self=no
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11369 $as_echo "$lt_cv_dlopen_self" >&6; }
11371 if test "x$lt_cv_dlopen_self" = xyes; then
11372 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11374 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11375 if ${lt_cv_dlopen_self_static+:} false; then :
11376 $as_echo_n "(cached) " >&6
11378 if test "$cross_compiling" = yes; then :
11379 lt_cv_dlopen_self_static=cross
11381 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11382 lt_status=$lt_dlunknown
11383 cat > conftest.$ac_ext <<_LT_EOF
11384 #line $LINENO "configure"
11385 #include "confdefs.h"
11394 # define LT_DLGLOBAL RTLD_GLOBAL
11397 # define LT_DLGLOBAL DL_GLOBAL
11399 # define LT_DLGLOBAL 0
11403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11404 find out it does not work in some platform. */
11405 #ifndef LT_DLLAZY_OR_NOW
11407 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11410 # define LT_DLLAZY_OR_NOW DL_LAZY
11413 # define LT_DLLAZY_OR_NOW RTLD_NOW
11416 # define LT_DLLAZY_OR_NOW DL_NOW
11418 # define LT_DLLAZY_OR_NOW 0
11425 /* When -fvisbility=hidden is used, assume the code has been annotated
11426 correspondingly for the symbols needed. */
11427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11428 int fnord () __attribute__((visibility("default")));
11431 int fnord () { return 42; }
11434 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11435 int status = $lt_dlunknown;
11439 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11442 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11443 else puts (dlerror ());
11445 /* dlclose (self); */
11453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11454 (eval $ac_link) 2>&5
11456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11458 (./conftest; exit; ) >&5 2>/dev/null
11460 case x$lt_status in
11461 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11462 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11463 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11466 # compilation failed
11467 lt_cv_dlopen_self_static=no
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11475 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11478 CPPFLAGS="$save_CPPFLAGS"
11479 LDFLAGS="$save_LDFLAGS"
11484 case $lt_cv_dlopen_self in
11485 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11486 *) enable_dlopen_self=unknown ;;
11489 case $lt_cv_dlopen_self_static in
11490 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11491 *) enable_dlopen_self_static=unknown ;;
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11514 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11515 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11516 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11517 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11519 $as_echo "yes" >&6; }
11521 # FIXME - insert some real tests, host_os isn't really good enough
11524 if test -n "$STRIP" ; then
11525 striplib="$STRIP -x"
11526 old_striplib="$STRIP -S"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11528 $as_echo "yes" >&6; }
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531 $as_echo "no" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536 $as_echo "no" >&6; }
11552 # Report which library types will actually be built
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11554 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11556 $as_echo "$can_build_shared" >&6; }
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11559 $as_echo_n "checking whether to build shared libraries... " >&6; }
11560 test "$can_build_shared" = "no" && enable_shared=no
11562 # On AIX, shared libraries and static libraries use the same namespace, and
11563 # are all built from PIC.
11566 test "$enable_shared" = yes && enable_static=no
11567 if test -n "$RANLIB"; then
11568 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11569 postinstall_cmds='$RANLIB $lib'
11574 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11575 test "$enable_shared" = yes && enable_static=no
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11580 $as_echo "$enable_shared" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11583 $as_echo_n "checking whether to build static libraries... " >&6; }
11584 # Make sure either enable_shared or enable_static is yes.
11585 test "$enable_shared" = yes || enable_static=yes
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11587 $as_echo "$enable_static" >&6; }
11594 ac_cpp='$CPP $CPPFLAGS'
11595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11615 ac_config_commands="$ac_config_commands libtool"
11620 # Only expand once:
11625 ######################################################################
11627 ######################################################################
11639 DX_PROJECT=$PACKAGE_NAME
11641 DX_CONFIG=doxygen.cfg
11646 # Environment variables used inside doxygen.cfg:
11647 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11649 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11651 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11653 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11661 # Check whether --enable-doxygen-doc was given.
11662 if test "${enable_doxygen_doc+set}" = set; then :
11663 enableval=$enable_doxygen_doc;
11664 case "$enableval" in
11676 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11688 if test "$DX_FLAG_doc" = 1; then
11690 if test -n "$ac_tool_prefix"; then
11691 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11692 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11694 $as_echo_n "checking for $ac_word... " >&6; }
11695 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11696 $as_echo_n "(cached) " >&6
11698 case $DX_DOXYGEN in
11700 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11707 test -z "$as_dir" && as_dir=.
11708 for ac_exec_ext in '' $ac_executable_extensions; do
11709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11710 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11721 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11722 if test -n "$DX_DOXYGEN"; then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11724 $as_echo "$DX_DOXYGEN" >&6; }
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11732 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11733 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11734 # Extract the first word of "doxygen", so it can be a program name with args.
11735 set dummy doxygen; ac_word=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11737 $as_echo_n "checking for $ac_word... " >&6; }
11738 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11739 $as_echo_n "(cached) " >&6
11741 case $ac_pt_DX_DOXYGEN in
11743 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11764 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11765 if test -n "$ac_pt_DX_DOXYGEN"; then
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11767 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770 $as_echo "no" >&6; }
11773 if test "x$ac_pt_DX_DOXYGEN" = x; then
11776 case $cross_compiling:$ac_tool_warned in
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11780 ac_tool_warned=yes ;;
11782 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11785 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11788 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11790 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11796 if test -n "$ac_tool_prefix"; then
11797 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11798 set dummy ${ac_tool_prefix}perl; ac_word=$2
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11800 $as_echo_n "checking for $ac_word... " >&6; }
11801 if ${ac_cv_path_DX_PERL+:} false; then :
11802 $as_echo_n "(cached) " >&6
11806 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11816 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11827 DX_PERL=$ac_cv_path_DX_PERL
11828 if test -n "$DX_PERL"; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11830 $as_echo "$DX_PERL" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833 $as_echo "no" >&6; }
11838 if test -z "$ac_cv_path_DX_PERL"; then
11839 ac_pt_DX_PERL=$DX_PERL
11840 # Extract the first word of "perl", so it can be a program name with args.
11841 set dummy perl; ac_word=$2
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11843 $as_echo_n "checking for $ac_word... " >&6; }
11844 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
11845 $as_echo_n "(cached) " >&6
11847 case $ac_pt_DX_PERL in
11849 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11853 for as_dir in $PATH
11856 test -z "$as_dir" && as_dir=.
11857 for ac_exec_ext in '' $ac_executable_extensions; do
11858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11859 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11870 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11871 if test -n "$ac_pt_DX_PERL"; then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11873 $as_echo "$ac_pt_DX_PERL" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11876 $as_echo "no" >&6; }
11879 if test "x$ac_pt_DX_PERL" = x; then
11882 case $cross_compiling:$ac_tool_warned in
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11886 ac_tool_warned=yes ;;
11888 DX_PERL=$ac_pt_DX_PERL
11891 DX_PERL="$ac_cv_path_DX_PERL"
11894 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11896 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11903 if test "$DX_FLAG_doc" = 1; then
11906 DX_COND_doc_FALSE='#'
11908 DX_COND_doc_TRUE='#'
11912 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11918 DX_COND_doc_FALSE='#'
11920 DX_COND_doc_TRUE='#'
11929 # Dot for graphics:
11934 # Check whether --enable-doxygen-dot was given.
11935 if test "${enable_doxygen_dot+set}" = set; then :
11936 enableval=$enable_doxygen_dot;
11937 case "$enableval" in
11943 test "$DX_FLAG_doc" = "1" \
11944 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11952 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11961 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11967 if test "$DX_FLAG_dot" = 1; then
11969 if test -n "$ac_tool_prefix"; then
11970 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11971 set dummy ${ac_tool_prefix}dot; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_path_DX_DOT+:} false; then :
11975 $as_echo_n "(cached) " >&6
11979 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11986 test -z "$as_dir" && as_dir=.
11987 for ac_exec_ext in '' $ac_executable_extensions; do
11988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 DX_DOT=$ac_cv_path_DX_DOT
12001 if test -n "$DX_DOT"; then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12003 $as_echo "$DX_DOT" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12006 $as_echo "no" >&6; }
12011 if test -z "$ac_cv_path_DX_DOT"; then
12012 ac_pt_DX_DOT=$DX_DOT
12013 # Extract the first word of "dot", so it can be a program name with args.
12014 set dummy dot; ac_word=$2
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12016 $as_echo_n "checking for $ac_word... " >&6; }
12017 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12018 $as_echo_n "(cached) " >&6
12020 case $ac_pt_DX_DOT in
12022 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12026 for as_dir in $PATH
12029 test -z "$as_dir" && as_dir=.
12030 for ac_exec_ext in '' $ac_executable_extensions; do
12031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12032 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12043 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12044 if test -n "$ac_pt_DX_DOT"; then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12046 $as_echo "$ac_pt_DX_DOT" >&6; }
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12052 if test "x$ac_pt_DX_DOT" = x; then
12055 case $cross_compiling:$ac_tool_warned in
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12059 ac_tool_warned=yes ;;
12061 DX_DOT=$ac_pt_DX_DOT
12064 DX_DOT="$ac_cv_path_DX_DOT"
12067 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12069 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12076 if test "$DX_FLAG_dot" = 1; then
12079 DX_COND_dot_FALSE='#'
12081 DX_COND_dot_TRUE='#'
12085 DX_ENV="$DX_ENV HAVE_DOT='YES'"
12087 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12093 DX_COND_dot_FALSE='#'
12095 DX_COND_dot_TRUE='#'
12099 DX_ENV="$DX_ENV HAVE_DOT='NO'"
12105 # Man pages generation:
12110 # Check whether --enable-doxygen-man was given.
12111 if test "${enable_doxygen_man+set}" = set; then :
12112 enableval=$enable_doxygen_man;
12113 case "$enableval" in
12119 test "$DX_FLAG_doc" = "1" \
12120 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12128 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12137 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12143 if test "$DX_FLAG_man" = 1; then
12147 if test "$DX_FLAG_man" = 1; then
12150 DX_COND_man_FALSE='#'
12152 DX_COND_man_TRUE='#'
12156 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12162 DX_COND_man_FALSE='#'
12164 DX_COND_man_TRUE='#'
12168 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12174 # RTF file generation:
12179 # Check whether --enable-doxygen-rtf was given.
12180 if test "${enable_doxygen_rtf+set}" = set; then :
12181 enableval=$enable_doxygen_rtf;
12182 case "$enableval" in
12188 test "$DX_FLAG_doc" = "1" \
12189 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12197 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12206 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12212 if test "$DX_FLAG_rtf" = 1; then
12216 if test "$DX_FLAG_rtf" = 1; then
12219 DX_COND_rtf_FALSE='#'
12221 DX_COND_rtf_TRUE='#'
12225 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12231 DX_COND_rtf_FALSE='#'
12233 DX_COND_rtf_TRUE='#'
12237 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12243 # XML file generation:
12248 # Check whether --enable-doxygen-xml was given.
12249 if test "${enable_doxygen_xml+set}" = set; then :
12250 enableval=$enable_doxygen_xml;
12251 case "$enableval" in
12257 test "$DX_FLAG_doc" = "1" \
12258 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12266 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12275 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12281 if test "$DX_FLAG_xml" = 1; then
12285 if test "$DX_FLAG_xml" = 1; then
12288 DX_COND_xml_FALSE='#'
12290 DX_COND_xml_TRUE='#'
12294 DX_ENV="$DX_ENV GENERATE_XML='YES'"
12300 DX_COND_xml_FALSE='#'
12302 DX_COND_xml_TRUE='#'
12306 DX_ENV="$DX_ENV GENERATE_XML='NO'"
12312 # (Compressed) HTML help generation:
12317 # Check whether --enable-doxygen-chm was given.
12318 if test "${enable_doxygen_chm+set}" = set; then :
12319 enableval=$enable_doxygen_chm;
12320 case "$enableval" in
12326 test "$DX_FLAG_doc" = "1" \
12327 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12335 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12344 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12350 if test "$DX_FLAG_chm" = 1; then
12352 if test -n "$ac_tool_prefix"; then
12353 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12354 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12356 $as_echo_n "checking for $ac_word... " >&6; }
12357 if ${ac_cv_path_DX_HHC+:} false; then :
12358 $as_echo_n "(cached) " >&6
12362 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12366 for as_dir in $PATH
12369 test -z "$as_dir" && as_dir=.
12370 for ac_exec_ext in '' $ac_executable_extensions; do
12371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12372 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 DX_HHC=$ac_cv_path_DX_HHC
12384 if test -n "$DX_HHC"; then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12386 $as_echo "$DX_HHC" >&6; }
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12389 $as_echo "no" >&6; }
12394 if test -z "$ac_cv_path_DX_HHC"; then
12395 ac_pt_DX_HHC=$DX_HHC
12396 # Extract the first word of "hhc", so it can be a program name with args.
12397 set dummy hhc; ac_word=$2
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12399 $as_echo_n "checking for $ac_word... " >&6; }
12400 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12401 $as_echo_n "(cached) " >&6
12403 case $ac_pt_DX_HHC in
12405 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12409 for as_dir in $PATH
12412 test -z "$as_dir" && as_dir=.
12413 for ac_exec_ext in '' $ac_executable_extensions; do
12414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12415 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12426 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12427 if test -n "$ac_pt_DX_HHC"; then
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12429 $as_echo "$ac_pt_DX_HHC" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12435 if test "x$ac_pt_DX_HHC" = x; then
12438 case $cross_compiling:$ac_tool_warned in
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12442 ac_tool_warned=yes ;;
12444 DX_HHC=$ac_pt_DX_HHC
12447 DX_HHC="$ac_cv_path_DX_HHC"
12450 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12452 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12459 if test "$DX_FLAG_chm" = 1; then
12462 DX_COND_chm_FALSE='#'
12464 DX_COND_chm_TRUE='#'
12468 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12470 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12472 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12478 DX_COND_chm_FALSE='#'
12480 DX_COND_chm_TRUE='#'
12484 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12490 # Seperate CHI file generation.
12495 # Check whether --enable-doxygen-chi was given.
12496 if test "${enable_doxygen_chi+set}" = set; then :
12497 enableval=$enable_doxygen_chi;
12498 case "$enableval" in
12504 test "$DX_FLAG_chm" = "1" \
12505 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12513 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12522 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12528 if test "$DX_FLAG_chi" = 1; then
12532 if test "$DX_FLAG_chi" = 1; then
12535 DX_COND_chi_FALSE='#'
12537 DX_COND_chi_TRUE='#'
12541 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12547 DX_COND_chi_FALSE='#'
12549 DX_COND_chi_TRUE='#'
12553 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12559 # Plain HTML pages generation:
12564 # Check whether --enable-doxygen-html was given.
12565 if test "${enable_doxygen_html+set}" = set; then :
12566 enableval=$enable_doxygen_html;
12567 case "$enableval" in
12573 test "$DX_FLAG_doc" = "1" \
12574 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12576 test "$DX_FLAG_chm" = "0" \
12577 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12585 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12594 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12597 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12603 if test "$DX_FLAG_html" = 1; then
12607 if test "$DX_FLAG_html" = 1; then
12610 DX_COND_html_FALSE='#'
12612 DX_COND_html_TRUE='#'
12613 DX_COND_html_FALSE=
12616 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12622 DX_COND_html_FALSE='#'
12624 DX_COND_html_TRUE='#'
12625 DX_COND_html_FALSE=
12628 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12634 # PostScript file generation:
12639 # Check whether --enable-doxygen-ps was given.
12640 if test "${enable_doxygen_ps+set}" = set; then :
12641 enableval=$enable_doxygen_ps;
12642 case "$enableval" in
12648 test "$DX_FLAG_doc" = "1" \
12649 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12657 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12666 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12672 if test "$DX_FLAG_ps" = 1; then
12674 if test -n "$ac_tool_prefix"; then
12675 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12676 set dummy ${ac_tool_prefix}latex; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12678 $as_echo_n "checking for $ac_word... " >&6; }
12679 if ${ac_cv_path_DX_LATEX+:} false; then :
12680 $as_echo_n "(cached) " >&6
12684 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12688 for as_dir in $PATH
12691 test -z "$as_dir" && as_dir=.
12692 for ac_exec_ext in '' $ac_executable_extensions; do
12693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12694 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12705 DX_LATEX=$ac_cv_path_DX_LATEX
12706 if test -n "$DX_LATEX"; then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12708 $as_echo "$DX_LATEX" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12716 if test -z "$ac_cv_path_DX_LATEX"; then
12717 ac_pt_DX_LATEX=$DX_LATEX
12718 # Extract the first word of "latex", so it can be a program name with args.
12719 set dummy latex; ac_word=$2
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12721 $as_echo_n "checking for $ac_word... " >&6; }
12722 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12723 $as_echo_n "(cached) " >&6
12725 case $ac_pt_DX_LATEX in
12727 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12734 test -z "$as_dir" && as_dir=.
12735 for ac_exec_ext in '' $ac_executable_extensions; do
12736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12737 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12748 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12749 if test -n "$ac_pt_DX_LATEX"; then
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12751 $as_echo "$ac_pt_DX_LATEX" >&6; }
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12757 if test "x$ac_pt_DX_LATEX" = x; then
12760 case $cross_compiling:$ac_tool_warned in
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12764 ac_tool_warned=yes ;;
12766 DX_LATEX=$ac_pt_DX_LATEX
12769 DX_LATEX="$ac_cv_path_DX_LATEX"
12772 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12774 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12780 if test -n "$ac_tool_prefix"; then
12781 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12782 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12784 $as_echo_n "checking for $ac_word... " >&6; }
12785 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
12786 $as_echo_n "(cached) " >&6
12788 case $DX_MAKEINDEX in
12790 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12794 for as_dir in $PATH
12797 test -z "$as_dir" && as_dir=.
12798 for ac_exec_ext in '' $ac_executable_extensions; do
12799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12800 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12812 if test -n "$DX_MAKEINDEX"; then
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12814 $as_echo "$DX_MAKEINDEX" >&6; }
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12817 $as_echo "no" >&6; }
12822 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12823 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12824 # Extract the first word of "makeindex", so it can be a program name with args.
12825 set dummy makeindex; ac_word=$2
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12827 $as_echo_n "checking for $ac_word... " >&6; }
12828 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
12829 $as_echo_n "(cached) " >&6
12831 case $ac_pt_DX_MAKEINDEX in
12833 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12837 for as_dir in $PATH
12840 test -z "$as_dir" && as_dir=.
12841 for ac_exec_ext in '' $ac_executable_extensions; do
12842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12843 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12854 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12855 if test -n "$ac_pt_DX_MAKEINDEX"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12857 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12863 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12866 case $cross_compiling:$ac_tool_warned in
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12870 ac_tool_warned=yes ;;
12872 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12875 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12878 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12880 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12886 if test -n "$ac_tool_prefix"; then
12887 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12888 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12890 $as_echo_n "checking for $ac_word... " >&6; }
12891 if ${ac_cv_path_DX_DVIPS+:} false; then :
12892 $as_echo_n "(cached) " >&6
12896 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12903 test -z "$as_dir" && as_dir=.
12904 for ac_exec_ext in '' $ac_executable_extensions; do
12905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12906 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12917 DX_DVIPS=$ac_cv_path_DX_DVIPS
12918 if test -n "$DX_DVIPS"; then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12920 $as_echo "$DX_DVIPS" >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 $as_echo "no" >&6; }
12928 if test -z "$ac_cv_path_DX_DVIPS"; then
12929 ac_pt_DX_DVIPS=$DX_DVIPS
12930 # Extract the first word of "dvips", so it can be a program name with args.
12931 set dummy dvips; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12933 $as_echo_n "checking for $ac_word... " >&6; }
12934 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
12935 $as_echo_n "(cached) " >&6
12937 case $ac_pt_DX_DVIPS in
12939 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12949 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12960 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12961 if test -n "$ac_pt_DX_DVIPS"; then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12963 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12966 $as_echo "no" >&6; }
12969 if test "x$ac_pt_DX_DVIPS" = x; then
12972 case $cross_compiling:$ac_tool_warned in
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12976 ac_tool_warned=yes ;;
12978 DX_DVIPS=$ac_pt_DX_DVIPS
12981 DX_DVIPS="$ac_cv_path_DX_DVIPS"
12984 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12986 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12992 if test -n "$ac_tool_prefix"; then
12993 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12994 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12996 $as_echo_n "checking for $ac_word... " >&6; }
12997 if ${ac_cv_path_DX_EGREP+:} false; then :
12998 $as_echo_n "(cached) " >&6
13002 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13009 test -z "$as_dir" && as_dir=.
13010 for ac_exec_ext in '' $ac_executable_extensions; do
13011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13012 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13023 DX_EGREP=$ac_cv_path_DX_EGREP
13024 if test -n "$DX_EGREP"; then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13026 $as_echo "$DX_EGREP" >&6; }
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13029 $as_echo "no" >&6; }
13034 if test -z "$ac_cv_path_DX_EGREP"; then
13035 ac_pt_DX_EGREP=$DX_EGREP
13036 # Extract the first word of "egrep", so it can be a program name with args.
13037 set dummy egrep; ac_word=$2
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13039 $as_echo_n "checking for $ac_word... " >&6; }
13040 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13041 $as_echo_n "(cached) " >&6
13043 case $ac_pt_DX_EGREP in
13045 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13049 for as_dir in $PATH
13052 test -z "$as_dir" && as_dir=.
13053 for ac_exec_ext in '' $ac_executable_extensions; do
13054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13055 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13066 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13067 if test -n "$ac_pt_DX_EGREP"; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13069 $as_echo "$ac_pt_DX_EGREP" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072 $as_echo "no" >&6; }
13075 if test "x$ac_pt_DX_EGREP" = x; then
13078 case $cross_compiling:$ac_tool_warned in
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13082 ac_tool_warned=yes ;;
13084 DX_EGREP=$ac_pt_DX_EGREP
13087 DX_EGREP="$ac_cv_path_DX_EGREP"
13090 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13092 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13099 if test "$DX_FLAG_ps" = 1; then
13102 DX_COND_ps_FALSE='#'
13104 DX_COND_ps_TRUE='#'
13113 DX_COND_ps_FALSE='#'
13115 DX_COND_ps_TRUE='#'
13124 # PDF file generation:
13129 # Check whether --enable-doxygen-pdf was given.
13130 if test "${enable_doxygen_pdf+set}" = set; then :
13131 enableval=$enable_doxygen_pdf;
13132 case "$enableval" in
13138 test "$DX_FLAG_doc" = "1" \
13139 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13147 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13156 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13162 if test "$DX_FLAG_pdf" = 1; then
13164 if test -n "$ac_tool_prefix"; then
13165 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13166 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13168 $as_echo_n "checking for $ac_word... " >&6; }
13169 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13170 $as_echo_n "(cached) " >&6
13172 case $DX_PDFLATEX in
13174 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13178 for as_dir in $PATH
13181 test -z "$as_dir" && as_dir=.
13182 for ac_exec_ext in '' $ac_executable_extensions; do
13183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13184 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13195 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13196 if test -n "$DX_PDFLATEX"; then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13198 $as_echo "$DX_PDFLATEX" >&6; }
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13201 $as_echo "no" >&6; }
13206 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13207 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13208 # Extract the first word of "pdflatex", so it can be a program name with args.
13209 set dummy pdflatex; ac_word=$2
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13211 $as_echo_n "checking for $ac_word... " >&6; }
13212 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13213 $as_echo_n "(cached) " >&6
13215 case $ac_pt_DX_PDFLATEX in
13217 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13221 for as_dir in $PATH
13224 test -z "$as_dir" && as_dir=.
13225 for ac_exec_ext in '' $ac_executable_extensions; do
13226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13227 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13238 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13239 if test -n "$ac_pt_DX_PDFLATEX"; then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13241 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13244 $as_echo "no" >&6; }
13247 if test "x$ac_pt_DX_PDFLATEX" = x; then
13250 case $cross_compiling:$ac_tool_warned in
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13254 ac_tool_warned=yes ;;
13256 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13259 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13262 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13264 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13270 if test -n "$ac_tool_prefix"; then
13271 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13272 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13274 $as_echo_n "checking for $ac_word... " >&6; }
13275 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13276 $as_echo_n "(cached) " >&6
13278 case $DX_MAKEINDEX in
13280 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13284 for as_dir in $PATH
13287 test -z "$as_dir" && as_dir=.
13288 for ac_exec_ext in '' $ac_executable_extensions; do
13289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13290 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13301 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13302 if test -n "$DX_MAKEINDEX"; then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13304 $as_echo "$DX_MAKEINDEX" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307 $as_echo "no" >&6; }
13312 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13313 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13314 # Extract the first word of "makeindex", so it can be a program name with args.
13315 set dummy makeindex; ac_word=$2
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13317 $as_echo_n "checking for $ac_word... " >&6; }
13318 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13319 $as_echo_n "(cached) " >&6
13321 case $ac_pt_DX_MAKEINDEX in
13323 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13330 test -z "$as_dir" && as_dir=.
13331 for ac_exec_ext in '' $ac_executable_extensions; do
13332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13333 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13344 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13345 if test -n "$ac_pt_DX_MAKEINDEX"; then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13347 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350 $as_echo "no" >&6; }
13353 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13356 case $cross_compiling:$ac_tool_warned in
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13360 ac_tool_warned=yes ;;
13362 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13365 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13368 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13370 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13376 if test -n "$ac_tool_prefix"; then
13377 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13378 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13380 $as_echo_n "checking for $ac_word... " >&6; }
13381 if ${ac_cv_path_DX_EGREP+:} false; then :
13382 $as_echo_n "(cached) " >&6
13386 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13390 for as_dir in $PATH
13393 test -z "$as_dir" && as_dir=.
13394 for ac_exec_ext in '' $ac_executable_extensions; do
13395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13396 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13407 DX_EGREP=$ac_cv_path_DX_EGREP
13408 if test -n "$DX_EGREP"; then
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13410 $as_echo "$DX_EGREP" >&6; }
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13413 $as_echo "no" >&6; }
13418 if test -z "$ac_cv_path_DX_EGREP"; then
13419 ac_pt_DX_EGREP=$DX_EGREP
13420 # Extract the first word of "egrep", so it can be a program name with args.
13421 set dummy egrep; ac_word=$2
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13423 $as_echo_n "checking for $ac_word... " >&6; }
13424 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13425 $as_echo_n "(cached) " >&6
13427 case $ac_pt_DX_EGREP in
13429 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13433 for as_dir in $PATH
13436 test -z "$as_dir" && as_dir=.
13437 for ac_exec_ext in '' $ac_executable_extensions; do
13438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13439 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13450 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13451 if test -n "$ac_pt_DX_EGREP"; then
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13453 $as_echo "$ac_pt_DX_EGREP" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13456 $as_echo "no" >&6; }
13459 if test "x$ac_pt_DX_EGREP" = x; then
13462 case $cross_compiling:$ac_tool_warned in
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13466 ac_tool_warned=yes ;;
13468 DX_EGREP=$ac_pt_DX_EGREP
13471 DX_EGREP="$ac_cv_path_DX_EGREP"
13474 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13476 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13483 if test "$DX_FLAG_pdf" = 1; then
13486 DX_COND_pdf_FALSE='#'
13488 DX_COND_pdf_TRUE='#'
13497 DX_COND_pdf_FALSE='#'
13499 DX_COND_pdf_TRUE='#'
13508 # LaTeX generation for PS and/or PDF:
13509 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13511 DX_COND_latex_TRUE=
13512 DX_COND_latex_FALSE='#'
13514 DX_COND_latex_TRUE='#'
13515 DX_COND_latex_FALSE=
13518 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13522 DX_COND_latex_TRUE=
13523 DX_COND_latex_FALSE='#'
13525 DX_COND_latex_TRUE='#'
13526 DX_COND_latex_FALSE=
13529 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13533 # Paper size for PS and/or PDF:
13535 case "$DOXYGEN_PAPER_SIZE" in
13538 DOXYGEN_PAPER_SIZE=""
13541 a4wide|a4|letter|legal|executive)
13542 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13546 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13551 #echo DX_FLAG_doc=$DX_FLAG_doc
13552 #echo DX_FLAG_dot=$DX_FLAG_dot
13553 #echo DX_FLAG_man=$DX_FLAG_man
13554 #echo DX_FLAG_html=$DX_FLAG_html
13555 #echo DX_FLAG_chm=$DX_FLAG_chm
13556 #echo DX_FLAG_chi=$DX_FLAG_chi
13557 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13558 #echo DX_FLAG_xml=$DX_FLAG_xml
13559 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13560 #echo DX_FLAG_ps=$DX_FLAG_ps
13561 #echo DX_ENV=$DX_ENV
13563 ######################################################################
13565 # Checks for programs.
13567 ac_cpp='$CXXCPP $CPPFLAGS'
13568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13571 if test -z "$CXX"; then
13572 if test -n "$CCC"; then
13575 if test -n "$ac_tool_prefix"; then
13576 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_prog_CXX+:} false; then :
13583 $as_echo_n "(cached) " >&6
13585 if test -n "$CXX"; then
13586 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13589 for as_dir in $PATH
13592 test -z "$as_dir" && as_dir=.
13593 for ac_exec_ext in '' $ac_executable_extensions; do
13594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13595 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13605 CXX=$ac_cv_prog_CXX
13606 if test -n "$CXX"; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13608 $as_echo "$CXX" >&6; }
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13611 $as_echo "no" >&6; }
13615 test -n "$CXX" && break
13618 if test -z "$CXX"; then
13620 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13622 # Extract the first word of "$ac_prog", so it can be a program name with args.
13623 set dummy $ac_prog; ac_word=$2
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13625 $as_echo_n "checking for $ac_word... " >&6; }
13626 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13627 $as_echo_n "(cached) " >&6
13629 if test -n "$ac_ct_CXX"; then
13630 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13633 for as_dir in $PATH
13636 test -z "$as_dir" && as_dir=.
13637 for ac_exec_ext in '' $ac_executable_extensions; do
13638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13639 ac_cv_prog_ac_ct_CXX="$ac_prog"
13640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13649 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13650 if test -n "$ac_ct_CXX"; then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13652 $as_echo "$ac_ct_CXX" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13655 $as_echo "no" >&6; }
13659 test -n "$ac_ct_CXX" && break
13662 if test "x$ac_ct_CXX" = x; then
13665 case $cross_compiling:$ac_tool_warned in
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13669 ac_tool_warned=yes ;;
13677 # Provide some information about the compiler.
13678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13681 for ac_option in --version -v -V -qversion; do
13682 { { ac_try="$ac_compiler $ac_option >&5"
13683 case "(($ac_try" in
13684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13685 *) ac_try_echo=$ac_try;;
13687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13688 $as_echo "$ac_try_echo"; } >&5
13689 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13691 if test -s conftest.err; then
13693 ... rest of stderr output deleted ...
13694 10q' conftest.err >conftest.er1
13695 cat conftest.er1 >&5
13697 rm -f conftest.er1 conftest.err
13698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13699 test $ac_status = 0; }
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13703 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13704 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13705 $as_echo_n "(cached) " >&6
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13721 if ac_fn_cxx_try_compile "$LINENO"; then :
13722 ac_compiler_gnu=yes
13726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13727 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13731 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13732 if test $ac_compiler_gnu = yes; then
13737 ac_test_CXXFLAGS=${CXXFLAGS+set}
13738 ac_save_CXXFLAGS=$CXXFLAGS
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13740 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13741 if ${ac_cv_prog_cxx_g+:} false; then :
13742 $as_echo_n "(cached) " >&6
13744 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13745 ac_cxx_werror_flag=yes
13746 ac_cv_prog_cxx_g=no
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13759 if ac_fn_cxx_try_compile "$LINENO"; then :
13760 ac_cv_prog_cxx_g=yes
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13774 if ac_fn_cxx_try_compile "$LINENO"; then :
13777 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13790 if ac_fn_cxx_try_compile "$LINENO"; then :
13791 ac_cv_prog_cxx_g=yes
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13798 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13801 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13802 if test "$ac_test_CXXFLAGS" = set; then
13803 CXXFLAGS=$ac_save_CXXFLAGS
13804 elif test $ac_cv_prog_cxx_g = yes; then
13805 if test "$GXX" = yes; then
13811 if test "$GXX" = yes; then
13818 ac_cpp='$CPP $CPPFLAGS'
13819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13823 depcc="$CXX" am_compiler_list=
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13826 $as_echo_n "checking dependency style of $depcc... " >&6; }
13827 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13828 $as_echo_n "(cached) " >&6
13830 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13831 # We make a subdir and do the tests there. Otherwise we can end up
13832 # making bogus files that we don't know about and never remove. For
13833 # instance it was reported that on HP-UX the gcc test will end up
13834 # making a dummy file named 'D' -- because '-MD' means "put the output
13836 rm -rf conftest.dir
13838 # Copy depcomp to subdir because otherwise we won't find it if we're
13839 # using a relative directory.
13840 cp "$am_depcomp" conftest.dir
13842 # We will build objects and dependencies in a subdirectory because
13843 # it helps to detect inapplicable dependency modes. For instance
13844 # both Tru64's cc and ICC support -MD to output dependencies as a
13845 # side effect of compilation, but ICC will put the dependencies in
13846 # the current directory while Tru64 will put them in the object
13850 am_cv_CXX_dependencies_compiler_type=none
13851 if test "$am_compiler_list" = ""; then
13852 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13854 am__universal=false
13855 case " $depcc " in #(
13856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13859 for depmode in $am_compiler_list; do
13860 # Setup a source with many dependencies, because some compilers
13861 # like to wrap large dependency lists on column 80 (with \), and
13862 # we should not choose a depcomp mode which is confused by this.
13864 # We need to recreate these files for each test, as the compiler may
13865 # overwrite some of them when testing with obscure command lines.
13866 # This happens at least with the AIX C compiler.
13868 for i in 1 2 3 4 5 6; do
13869 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13870 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13871 # Solaris 10 /bin/sh.
13872 echo '/* dummy */' > sub/conftst$i.h
13874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13876 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13877 # mode. It turns out that the SunPro C++ compiler does not properly
13878 # handle '-M -o', and we need to detect this. Also, some Intel
13879 # versions had trouble with output in subdirs.
13880 am__obj=sub/conftest.${OBJEXT-o}
13881 am__minus_obj="-o $am__obj"
13884 # This depmode causes a compiler race in universal mode.
13885 test "$am__universal" = false || continue
13888 # After this tag, mechanisms are not by side-effect, so they'll
13889 # only be used when explicitly requested.
13890 if test "x$enable_dependency_tracking" = xyes; then
13896 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13897 # This compiler won't grok '-c -o', but also, the minuso test has
13898 # not run yet. These depmodes are late enough in the game, and
13899 # so weak that their functioning should not be impacted.
13900 am__obj=conftest.${OBJEXT-o}
13905 if depmode=$depmode \
13906 source=sub/conftest.c object=$am__obj \
13907 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13909 >/dev/null 2>conftest.err &&
13910 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13911 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13913 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13914 # icc doesn't choke on unknown options, it will just issue warnings
13915 # or remarks (even with -Werror). So we grep stderr for any message
13916 # that says an option was ignored or not supported.
13917 # When given -MP, icc 7.0 and 7.1 complain thusly:
13918 # icc: Command line warning: ignoring option '-M'; no argument required
13919 # The diagnosis changed in icc 8.0:
13920 # icc: Command line remark: option '-MP' not supported
13921 if (grep 'ignoring option' conftest.err ||
13922 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13923 am_cv_CXX_dependencies_compiler_type=$depmode
13930 rm -rf conftest.dir
13932 am_cv_CXX_dependencies_compiler_type=none
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13937 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13938 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13941 test "x$enable_dependency_tracking" != xno \
13942 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13943 am__fastdepCXX_TRUE=
13944 am__fastdepCXX_FALSE='#'
13946 am__fastdepCXX_TRUE='#'
13947 am__fastdepCXX_FALSE=
13953 func_stripname_cnf ()
13956 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13957 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13959 } # func_stripname_cnf
13961 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13962 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13963 (test "X$CXX" != "Xg++"))) ; then
13965 ac_cpp='$CXXCPP $CPPFLAGS'
13966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13970 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13971 if test -z "$CXXCPP"; then
13972 if ${ac_cv_prog_CXXCPP+:} false; then :
13973 $as_echo_n "(cached) " >&6
13975 # Double quotes because CXXCPP needs to be expanded
13976 for CXXCPP in "$CXX -E" "/lib/cpp"
13978 ac_preproc_ok=false
13979 for ac_cxx_preproc_warn_flag in '' yes
13981 # Use a header file that comes with gcc, so configuring glibc
13982 # with a fresh cross-compiler works.
13983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13984 # <limits.h> exists even on freestanding compilers.
13985 # On the NeXT, cc -E runs the code through the compiler's parser,
13986 # not just through cpp. "Syntax error" is here to catch this case.
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 # include <limits.h>
13992 # include <assert.h>
13996 if ac_fn_cxx_try_cpp "$LINENO"; then :
13999 # Broken: fails on valid input.
14002 rm -f conftest.err conftest.i conftest.$ac_ext
14004 # OK, works on sane cases. Now check whether nonexistent headers
14005 # can be detected and how.
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 #include <ac_nonexistent.h>
14010 if ac_fn_cxx_try_cpp "$LINENO"; then :
14011 # Broken: success on invalid input.
14014 # Passes both tests.
14018 rm -f conftest.err conftest.i conftest.$ac_ext
14021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14022 rm -f conftest.i conftest.err conftest.$ac_ext
14023 if $ac_preproc_ok; then :
14028 ac_cv_prog_CXXCPP=$CXXCPP
14031 CXXCPP=$ac_cv_prog_CXXCPP
14033 ac_cv_prog_CXXCPP=$CXXCPP
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14036 $as_echo "$CXXCPP" >&6; }
14037 ac_preproc_ok=false
14038 for ac_cxx_preproc_warn_flag in '' yes
14040 # Use a header file that comes with gcc, so configuring glibc
14041 # with a fresh cross-compiler works.
14042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14043 # <limits.h> exists even on freestanding compilers.
14044 # On the NeXT, cc -E runs the code through the compiler's parser,
14045 # not just through cpp. "Syntax error" is here to catch this case.
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 # include <limits.h>
14051 # include <assert.h>
14055 if ac_fn_cxx_try_cpp "$LINENO"; then :
14058 # Broken: fails on valid input.
14061 rm -f conftest.err conftest.i conftest.$ac_ext
14063 # OK, works on sane cases. Now check whether nonexistent headers
14064 # can be detected and how.
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 #include <ac_nonexistent.h>
14069 if ac_fn_cxx_try_cpp "$LINENO"; then :
14070 # Broken: success on invalid input.
14073 # Passes both tests.
14077 rm -f conftest.err conftest.i conftest.$ac_ext
14080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14081 rm -f conftest.i conftest.err conftest.$ac_ext
14082 if $ac_preproc_ok; then :
14085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14087 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14088 See \`config.log' for more details" "$LINENO" 5; }
14092 ac_cpp='$CPP $CPPFLAGS'
14093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14098 _lt_caught_CXX_error=yes
14102 ac_cpp='$CXXCPP $CPPFLAGS'
14103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14107 archive_cmds_need_lc_CXX=no
14108 allow_undefined_flag_CXX=
14109 always_export_symbols_CXX=no
14110 archive_expsym_cmds_CXX=
14111 compiler_needs_object_CXX=no
14112 export_dynamic_flag_spec_CXX=
14113 hardcode_direct_CXX=no
14114 hardcode_direct_absolute_CXX=no
14115 hardcode_libdir_flag_spec_CXX=
14116 hardcode_libdir_separator_CXX=
14117 hardcode_minus_L_CXX=no
14118 hardcode_shlibpath_var_CXX=unsupported
14119 hardcode_automatic_CXX=no
14120 inherit_rpath_CXX=no
14122 module_expsym_cmds_CXX=
14123 link_all_deplibs_CXX=unknown
14124 old_archive_cmds_CXX=$old_archive_cmds
14125 reload_flag_CXX=$reload_flag
14126 reload_cmds_CXX=$reload_cmds
14127 no_undefined_flag_CXX=
14128 whole_archive_flag_spec_CXX=
14129 enable_shared_with_static_runtimes_CXX=no
14131 # Source file extension for C++ test sources.
14134 # Object file extension for compiled C++ test sources.
14138 # No sense in running all these tests if we already determined that
14139 # the CXX compiler isn't working. Some variables (like enable_shared)
14140 # are currently assumed to apply to all compilers on this platform,
14141 # and will be corrupted by setting them based on a non-working compiler.
14142 if test "$_lt_caught_CXX_error" != yes; then
14143 # Code to be used in simple compile tests
14144 lt_simple_compile_test_code="int some_variable = 0;"
14146 # Code to be used in simple link tests
14147 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14149 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14156 # If no C compiler was specified, use CC.
14159 # If no C compiler flags were specified, use CFLAGS.
14160 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14162 # Allow CC to be a program name with arguments.
14166 # save warnings/boilerplate of simple test code
14167 ac_outfile=conftest.$ac_objext
14168 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14169 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14170 _lt_compiler_boilerplate=`cat conftest.err`
14173 ac_outfile=conftest.$ac_objext
14174 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14175 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14176 _lt_linker_boilerplate=`cat conftest.err`
14180 # Allow CC to be a program name with arguments.
14182 lt_save_CFLAGS=$CFLAGS
14186 lt_save_with_gnu_ld=$with_gnu_ld
14187 lt_save_path_LD=$lt_cv_path_LD
14188 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14189 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14191 $as_unset lt_cv_prog_gnu_ld
14193 if test -n "${lt_cv_path_LDCXX+set}"; then
14194 lt_cv_path_LD=$lt_cv_path_LDCXX
14196 $as_unset lt_cv_path_LD
14198 test -z "${LDCXX+set}" || LD=$LDCXX
14203 for cc_temp in $compiler""; do
14205 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14206 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14211 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14214 if test -n "$compiler"; then
14215 # We don't want -fno-exception when compiling C++ code, so set the
14216 # no_builtin_flag separately
14217 if test "$GXX" = yes; then
14218 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14220 lt_prog_compiler_no_builtin_flag_CXX=
14223 if test "$GXX" = yes; then
14224 # Set up default GNU C++ configuration
14228 # Check whether --with-gnu-ld was given.
14229 if test "${with_gnu_ld+set}" = set; then :
14230 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14236 if test "$GCC" = yes; then
14237 # Check if gcc -print-prog-name=ld gives a path.
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14239 $as_echo_n "checking for ld used by $CC... " >&6; }
14242 # gcc leaves a trailing carriage return which upsets mingw
14243 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14245 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14248 # Accept absolute paths.
14250 re_direlt='/[^/][^/]*/\.\./'
14251 # Canonicalize the pathname of ld
14252 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14253 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14254 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14256 test -z "$LD" && LD="$ac_prog"
14259 # If it fails, then pretend we aren't using GCC.
14263 # If it is relative, then search for the first ld in PATH.
14264 with_gnu_ld=unknown
14267 elif test "$with_gnu_ld" = yes; then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14269 $as_echo_n "checking for GNU ld... " >&6; }
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14272 $as_echo_n "checking for non-GNU ld... " >&6; }
14274 if ${lt_cv_path_LD+:} false; then :
14275 $as_echo_n "(cached) " >&6
14277 if test -z "$LD"; then
14278 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14279 for ac_dir in $PATH; do
14281 test -z "$ac_dir" && ac_dir=.
14282 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14283 lt_cv_path_LD="$ac_dir/$ac_prog"
14284 # Check to see if the program is GNU ld. I'd rather use --version,
14285 # but apparently some variants of GNU ld only accept -v.
14286 # Break only if it was the GNU/non-GNU ld that we prefer.
14287 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14288 *GNU* | *'with BFD'*)
14289 test "$with_gnu_ld" != no && break
14292 test "$with_gnu_ld" != yes && break
14299 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14303 LD="$lt_cv_path_LD"
14304 if test -n "$LD"; then
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14306 $as_echo "$LD" >&6; }
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14309 $as_echo "no" >&6; }
14311 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14313 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14314 if ${lt_cv_prog_gnu_ld+:} false; then :
14315 $as_echo_n "(cached) " >&6
14317 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14318 case `$LD -v 2>&1 </dev/null` in
14319 *GNU* | *'with BFD'*)
14320 lt_cv_prog_gnu_ld=yes
14323 lt_cv_prog_gnu_ld=no
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14328 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14329 with_gnu_ld=$lt_cv_prog_gnu_ld
14337 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14338 # archiving commands below assume that GNU ld is being used.
14339 if test "$with_gnu_ld" = yes; then
14340 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14341 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'
14343 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14344 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14346 # If archive_cmds runs LD, not CC, wlarc should be empty
14347 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14348 # investigate it a little bit more. (MM)
14351 # ancient GNU ld didn't support --whole-archive et. al.
14352 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14353 $GREP 'no-whole-archive' > /dev/null; then
14354 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14356 whole_archive_flag_spec_CXX=
14362 # A generic and very simple default shared library creation
14363 # command for GNU C++ for the case where it uses the native
14364 # linker, instead of GNU ld. If possible, this setting should
14365 # overridden to take advantage of the native linker features on
14366 # the platform it is being used on.
14367 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14370 # Commands to make compiler produce verbose output that lists
14371 # what "hidden" libraries, object files and flags are used when
14372 # linking a shared library.
14373 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14381 # PORTME: fill in a description of your system's C++ link characteristics
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14383 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14387 # FIXME: insert proper C++ library support
14391 if test "$host_cpu" = ia64; then
14392 # On IA64, the linker does run time linking by default, so we don't
14393 # have to do anything special.
14394 aix_use_runtimelinking=no
14395 exp_sym_flag='-Bexport'
14398 aix_use_runtimelinking=no
14400 # Test if we are trying to use run time linking or normal
14401 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14402 # need to do runtime linking.
14403 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14404 for ld_flag in $LDFLAGS; do
14407 aix_use_runtimelinking=yes
14415 exp_sym_flag='-bexport'
14416 no_entry_flag='-bnoentry'
14419 # When large executables or shared objects are built, AIX ld can
14420 # have problems creating the table of contents. If linking a library
14421 # or program results in "error TOC overflow" add -mminimal-toc to
14422 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14423 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14425 archive_cmds_CXX=''
14426 hardcode_direct_CXX=yes
14427 hardcode_direct_absolute_CXX=yes
14428 hardcode_libdir_separator_CXX=':'
14429 link_all_deplibs_CXX=yes
14430 file_list_spec_CXX='${wl}-f,'
14432 if test "$GXX" = yes; then
14433 case $host_os in aix4.[012]|aix4.[012].*)
14434 # We only want to do this on AIX 4.2 and lower, the check
14435 # below for broken collect2 doesn't work under 4.3+
14436 collect2name=`${CC} -print-prog-name=collect2`
14437 if test -f "$collect2name" &&
14438 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14440 # We have reworked collect2
14443 # We have old collect2
14444 hardcode_direct_CXX=unsupported
14445 # It fails to find uninstalled libraries when the uninstalled
14446 # path is not listed in the libpath. Setting hardcode_minus_L
14447 # to unsupported forces relinking
14448 hardcode_minus_L_CXX=yes
14449 hardcode_libdir_flag_spec_CXX='-L$libdir'
14450 hardcode_libdir_separator_CXX=
14453 shared_flag='-shared'
14454 if test "$aix_use_runtimelinking" = yes; then
14455 shared_flag="$shared_flag "'${wl}-G'
14459 if test "$host_cpu" = ia64; then
14460 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14461 # chokes on -Wl,-G. The following line is correct:
14464 if test "$aix_use_runtimelinking" = yes; then
14465 shared_flag='${wl}-G'
14467 shared_flag='${wl}-bM:SRE'
14472 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14473 # It seems that -bexpall does not export symbols beginning with
14474 # underscore (_), so it is better to generate a list of symbols to
14476 always_export_symbols_CXX=yes
14477 if test "$aix_use_runtimelinking" = yes; then
14478 # Warning - without using the other runtime loading flags (-brtl),
14479 # -berok will link without error, but may produce a broken library.
14480 allow_undefined_flag_CXX='-berok'
14481 # Determine the default libpath from the value encoded in an empty
14483 if test "${lt_cv_aix_libpath+set}" = set; then
14484 aix_libpath=$lt_cv_aix_libpath
14486 if ${lt_cv_aix_libpath__CXX+:} false; then :
14487 $as_echo_n "(cached) " >&6
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14502 lt_aix_libpath_sed='
14503 /Import File Strings/,/^$/ {
14505 s/^0 *\([^ ]*\) *$/\1/
14509 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14510 # Check for a 64-bit object if we didn't find anything.
14511 if test -z "$lt_cv_aix_libpath__CXX"; then
14512 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14515 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14517 if test -z "$lt_cv_aix_libpath__CXX"; then
14518 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14523 aix_libpath=$lt_cv_aix_libpath__CXX
14526 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14528 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14530 if test "$host_cpu" = ia64; then
14531 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14532 allow_undefined_flag_CXX="-z nodefs"
14533 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"
14535 # Determine the default libpath from the value encoded in an
14536 # empty executable.
14537 if test "${lt_cv_aix_libpath+set}" = set; then
14538 aix_libpath=$lt_cv_aix_libpath
14540 if ${lt_cv_aix_libpath__CXX+:} false; then :
14541 $as_echo_n "(cached) " >&6
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14554 if ac_fn_cxx_try_link "$LINENO"; then :
14556 lt_aix_libpath_sed='
14557 /Import File Strings/,/^$/ {
14559 s/^0 *\([^ ]*\) *$/\1/
14563 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14564 # Check for a 64-bit object if we didn't find anything.
14565 if test -z "$lt_cv_aix_libpath__CXX"; then
14566 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 if test -z "$lt_cv_aix_libpath__CXX"; then
14572 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14577 aix_libpath=$lt_cv_aix_libpath__CXX
14580 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14581 # Warning - without using the other run time loading flags,
14582 # -berok will link without error, but may produce a broken library.
14583 no_undefined_flag_CXX=' ${wl}-bernotok'
14584 allow_undefined_flag_CXX=' ${wl}-berok'
14585 if test "$with_gnu_ld" = yes; then
14586 # We only use this code for GNU lds that support --whole-archive.
14587 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14589 # Exported symbols can be pulled into shared objects from archives
14590 whole_archive_flag_spec_CXX='$convenience'
14592 archive_cmds_need_lc_CXX=yes
14593 # This is similar to how AIX traditionally builds its shared
14595 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14601 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14602 allow_undefined_flag_CXX=unsupported
14603 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14604 # support --undefined. This deserves some investigation. FIXME
14605 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14612 case $cc_basename in
14614 # FIXME: insert proper C++ library support
14620 cygwin* | mingw* | pw32* | cegcc*)
14621 case $GXX,$cc_basename in
14624 # hardcode_libdir_flag_spec is actually meaningless, as there is
14625 # no search path for DLLs.
14626 hardcode_libdir_flag_spec_CXX=' '
14627 allow_undefined_flag_CXX=unsupported
14628 always_export_symbols_CXX=yes
14629 file_list_spec_CXX='@'
14630 # Tell ltmain to make .lib files, not .a files.
14632 # Tell ltmain to make .dll files, not .so files.
14634 # FIXME: Setting linknames here is a bad hack.
14635 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14636 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14637 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14639 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14641 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14643 # The linker will not automatically build a static lib if we build a DLL.
14644 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14645 enable_shared_with_static_runtimes_CXX=yes
14647 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14648 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14649 lt_tool_outputfile="@TOOL_OUTPUT@"~
14650 case $lt_outputfile in
14653 lt_outputfile="$lt_outputfile.exe"
14654 lt_tool_outputfile="$lt_tool_outputfile.exe"
14657 func_to_tool_file "$lt_outputfile"~
14658 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14659 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14660 $RM "$lt_outputfile.manifest";
14665 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14666 # as there is no search path for DLLs.
14667 hardcode_libdir_flag_spec_CXX='-L$libdir'
14668 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14669 allow_undefined_flag_CXX=unsupported
14670 always_export_symbols_CXX=no
14671 enable_shared_with_static_runtimes_CXX=yes
14673 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14674 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'
14675 # If the export-symbols file already is a .def file (1st line
14676 # is EXPORTS), use it as is; otherwise, prepend...
14677 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14678 cp $export_symbols $output_objdir/$soname.def;
14680 echo EXPORTS > $output_objdir/$soname.def;
14681 cat $export_symbols >> $output_objdir/$soname.def;
14683 $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'
14690 darwin* | rhapsody*)
14693 archive_cmds_need_lc_CXX=no
14694 hardcode_direct_CXX=no
14695 hardcode_automatic_CXX=yes
14696 hardcode_shlibpath_var_CXX=unsupported
14697 if test "$lt_cv_ld_force_load" = "yes"; then
14698 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\"`'
14701 whole_archive_flag_spec_CXX=''
14703 link_all_deplibs_CXX=yes
14704 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14705 case $cc_basename in
14706 ifort*) _lt_dar_can_shared=yes ;;
14707 *) _lt_dar_can_shared=$GCC ;;
14709 if test "$_lt_dar_can_shared" = "yes"; then
14710 output_verbose_link_cmd=func_echo_all
14711 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}"
14712 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14713 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}"
14714 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}"
14715 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14716 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}"
14717 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}"
14727 case $cc_basename in
14729 # FIXME: insert proper C++ library support
14733 # Green Hills C++ Compiler
14734 # FIXME: insert proper C++ library support
14738 # FIXME: insert proper C++ library support
14745 # C++ shared libraries reported to be fairly broken before
14751 archive_cmds_need_lc_CXX=no
14754 freebsd* | dragonfly*)
14755 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14761 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14762 link_all_deplibs_CXX=yes
14766 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14767 hardcode_libdir_separator_CXX=:
14768 export_dynamic_flag_spec_CXX='${wl}-E'
14769 hardcode_direct_CXX=yes
14770 hardcode_minus_L_CXX=yes # Not in the search PATH,
14771 # but as the default
14772 # location of the library.
14774 case $cc_basename in
14776 # FIXME: insert proper C++ library support
14780 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14781 # Commands to make compiler produce verbose output that lists
14782 # what "hidden" libraries, object files and flags are used when
14783 # linking a shared library.
14785 # There doesn't appear to be a way to prevent this compiler from
14786 # explicitly linking system object files so we need to strip them
14787 # from the output so that they don't get included in the library
14789 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"'
14792 if test "$GXX" = yes; then
14793 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14795 # FIXME: insert proper C++ library support
14803 if test $with_gnu_ld = no; then
14804 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14805 hardcode_libdir_separator_CXX=:
14811 export_dynamic_flag_spec_CXX='${wl}-E'
14817 hardcode_direct_CXX=no
14818 hardcode_shlibpath_var_CXX=no
14821 hardcode_direct_CXX=yes
14822 hardcode_direct_absolute_CXX=yes
14823 hardcode_minus_L_CXX=yes # Not in the search PATH,
14824 # but as the default
14825 # location of the library.
14829 case $cc_basename in
14831 # FIXME: insert proper C++ library support
14837 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14840 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14843 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14846 # Commands to make compiler produce verbose output that lists
14847 # what "hidden" libraries, object files and flags are used when
14848 # linking a shared library.
14850 # There doesn't appear to be a way to prevent this compiler from
14851 # explicitly linking system object files so we need to strip them
14852 # from the output so that they don't get included in the library
14854 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"'
14857 if test "$GXX" = yes; then
14858 if test $with_gnu_ld = no; then
14861 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14864 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14867 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'
14872 # FIXME: insert proper C++ library support
14880 hardcode_direct_CXX=no
14881 hardcode_shlibpath_var_CXX=no
14882 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14883 export_dynamic_flag_spec_CXX='${wl}-E'
14884 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14885 # Instead, shared libraries are loaded at an image base (0x10000000 by
14886 # default) and relocated if they conflict, which is a slow very memory
14887 # consuming and fragmenting process. To avoid this, we pick a random,
14888 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14889 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14890 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'
14891 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'
14894 case $cc_basename in
14897 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'
14899 # Archives containing C++ object files must be created using
14900 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14901 # necessary to make sure instantiated templates are included
14903 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14906 if test "$GXX" = yes; then
14907 if test "$with_gnu_ld" = no; then
14908 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'
14910 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'
14913 link_all_deplibs_CXX=yes
14916 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14917 hardcode_libdir_separator_CXX=:
14918 inherit_rpath_CXX=yes
14921 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14922 case $cc_basename in
14924 # Kuck and Associates, Inc. (KAI) C++ Compiler
14926 # KCC will only create a shared library if the output file
14927 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14928 # to its proper name (with version) after linking.
14929 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'
14930 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'
14931 # Commands to make compiler produce verbose output that lists
14932 # what "hidden" libraries, object files and flags are used when
14933 # linking a shared library.
14935 # There doesn't appear to be a way to prevent this compiler from
14936 # explicitly linking system object files so we need to strip them
14937 # from the output so that they don't get included in the library
14939 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"'
14941 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14942 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14944 # Archives containing C++ object files must be created using
14945 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14946 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14951 # version 8.0 and above of icpc choke on multiply defined symbols
14952 # if we add $predep_objects and $postdep_objects, however 7.1 and
14953 # earlier do not add the objects themselves.
14954 case `$CC -V 2>&1` in
14956 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14957 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'
14959 *) # Version 8.0 or newer
14962 ia64*) tmp_idyn=' -i_dynamic';;
14964 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14965 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'
14968 archive_cmds_need_lc_CXX=no
14969 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14970 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14971 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14974 # Portland Group C++ compiler
14976 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14977 prelink_cmds_CXX='tpldir=Template.dir~
14979 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14980 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14981 old_archive_cmds_CXX='tpldir=Template.dir~
14983 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14984 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14986 archive_cmds_CXX='tpldir=Template.dir~
14988 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14989 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14990 archive_expsym_cmds_CXX='tpldir=Template.dir~
14992 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14993 $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'
14995 *) # Version 6 and above use weak symbols
14996 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14997 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'
15001 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15002 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15003 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'
15007 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15008 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'
15010 runpath_var=LD_RUN_PATH
15011 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15012 hardcode_libdir_separator_CXX=:
15014 # Commands to make compiler produce verbose output that lists
15015 # what "hidden" libraries, object files and flags are used when
15016 # linking a shared library.
15018 # There doesn't appear to be a way to prevent this compiler from
15019 # explicitly linking system object files so we need to strip them
15020 # from the output so that they don't get included in the library
15022 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'
15024 xl* | mpixl* | bgxl*)
15025 # IBM XL 8.0 on PPC, with GNU ld
15026 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15027 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15028 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15029 if test "x$supports_anon_versioning" = xyes; then
15030 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15032 echo "local: *; };" >> $output_objdir/$libname.ver~
15033 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15037 case `$CC -V 2>&1 | sed 5q` in
15040 no_undefined_flag_CXX=' -zdefs'
15041 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15042 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'
15043 hardcode_libdir_flag_spec_CXX='-R$libdir'
15044 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'
15045 compiler_needs_object_CXX=yes
15047 # Not sure whether something based on
15048 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15050 output_verbose_link_cmd='func_echo_all'
15052 # Archives containing C++ object files must be created using
15053 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15054 # necessary to make sure instantiated templates are included
15056 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15064 # FIXME: insert proper C++ library support
15069 # FIXME: insert proper C++ library support
15074 case $cc_basename in
15076 # FIXME: insert proper C++ library support
15080 # FIXME: insert proper C++ library support
15087 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15088 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15090 hardcode_libdir_flag_spec_CXX='-R$libdir'
15091 hardcode_direct_CXX=yes
15092 hardcode_shlibpath_var_CXX=no
15094 # Workaround some broken pre-1.5 toolchains
15095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15103 # C++ shared libraries are fairly broken
15108 if test -f /usr/libexec/ld.so; then
15109 hardcode_direct_CXX=yes
15110 hardcode_shlibpath_var_CXX=no
15111 hardcode_direct_absolute_CXX=yes
15112 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15113 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15114 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15115 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15116 export_dynamic_flag_spec_CXX='${wl}-E'
15117 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15119 output_verbose_link_cmd=func_echo_all
15125 osf3* | osf4* | osf5*)
15126 case $cc_basename in
15128 # Kuck and Associates, Inc. (KAI) C++ Compiler
15130 # KCC will only create a shared library if the output file
15131 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15132 # to its proper name (with version) after linking.
15133 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'
15135 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15136 hardcode_libdir_separator_CXX=:
15138 # Archives containing C++ object files must be created using
15139 # the KAI C++ compiler.
15141 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15142 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15146 # Rational C++ 2.4.1
15147 # FIXME: insert proper C++ library support
15153 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15154 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'
15155 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15158 allow_undefined_flag_CXX=' -expect_unresolved \*'
15159 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'
15160 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15161 echo "-hidden">> $lib.exp~
15162 $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~
15164 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15168 hardcode_libdir_separator_CXX=:
15170 # Commands to make compiler produce verbose output that lists
15171 # what "hidden" libraries, object files and flags are used when
15172 # linking a shared library.
15174 # There doesn't appear to be a way to prevent this compiler from
15175 # explicitly linking system object files so we need to strip them
15176 # from the output so that they don't get included in the library
15178 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"'
15181 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15182 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15185 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'
15188 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'
15192 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15193 hardcode_libdir_separator_CXX=:
15195 # Commands to make compiler produce verbose output that lists
15196 # what "hidden" libraries, object files and flags are used when
15197 # linking a shared library.
15198 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15201 # FIXME: insert proper C++ library support
15209 # FIXME: insert proper C++ library support
15214 case $cc_basename in
15217 # FIXME: insert proper C++ library support
15222 # FIXME: insert proper C++ library support
15226 # FIXME: insert proper C++ library support
15233 case $cc_basename in
15235 # Sun C++ 4.2, 5.x and Centerline C++
15236 archive_cmds_need_lc_CXX=yes
15237 no_undefined_flag_CXX=' -zdefs'
15238 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15239 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15240 $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'
15242 hardcode_libdir_flag_spec_CXX='-R$libdir'
15243 hardcode_shlibpath_var_CXX=no
15245 solaris2.[0-5] | solaris2.[0-5].*) ;;
15247 # The compiler driver will combine and reorder linker options,
15248 # but understands `-z linker_flag'.
15249 # Supported since Solaris 2.6 (maybe 2.5.1?)
15250 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15253 link_all_deplibs_CXX=yes
15255 output_verbose_link_cmd='func_echo_all'
15257 # Archives containing C++ object files must be created using
15258 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15259 # necessary to make sure instantiated templates are included
15261 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15264 # Green Hills C++ Compiler
15265 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15267 # The C++ compiler must be used to create the archive.
15268 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15271 # GNU C++ compiler with Solaris linker
15272 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15273 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15274 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15275 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15276 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15277 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15279 # Commands to make compiler produce verbose output that lists
15280 # what "hidden" libraries, object files and flags are used when
15281 # linking a shared library.
15282 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15284 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15286 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15287 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15288 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15290 # Commands to make compiler produce verbose output that lists
15291 # what "hidden" libraries, object files and flags are used when
15292 # linking a shared library.
15293 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15296 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15298 solaris2.[0-5] | solaris2.[0-5].*) ;;
15300 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15308 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15309 no_undefined_flag_CXX='${wl}-z,text'
15310 archive_cmds_need_lc_CXX=no
15311 hardcode_shlibpath_var_CXX=no
15312 runpath_var='LD_RUN_PATH'
15314 case $cc_basename in
15316 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15317 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15320 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15321 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15326 sysv5* | sco3.2v5* | sco5v6*)
15327 # Note: We can NOT use -z defs as we might desire, because we do not
15328 # link with -lc, and that would cause any symbols used from libc to
15329 # always be unresolved, which means just about no library would
15330 # ever link correctly. If we're not using GNU ld we use -z text
15331 # though, which does catch some bad symbols but isn't as heavy-handed
15333 no_undefined_flag_CXX='${wl}-z,text'
15334 allow_undefined_flag_CXX='${wl}-z,nodefs'
15335 archive_cmds_need_lc_CXX=no
15336 hardcode_shlibpath_var_CXX=no
15337 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15338 hardcode_libdir_separator_CXX=':'
15339 link_all_deplibs_CXX=yes
15340 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15341 runpath_var='LD_RUN_PATH'
15343 case $cc_basename in
15345 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15346 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15347 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15348 '"$old_archive_cmds_CXX"
15349 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15350 '"$reload_cmds_CXX"
15353 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15354 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15360 case $cc_basename in
15362 # NonStop-UX NCC 3.20
15363 # FIXME: insert proper C++ library support
15367 # FIXME: insert proper C++ library support
15374 # FIXME: insert proper C++ library support
15379 # FIXME: insert proper C++ library support
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15385 $as_echo "$ld_shlibs_CXX" >&6; }
15386 test "$ld_shlibs_CXX" = no && can_build_shared=no
15392 ## There is no encapsulation within the following macros, do not change
15393 ## the running order or otherwise move them around unless you know exactly
15394 ## what you are doing...
15395 # Dependencies to place before and after the object being linked:
15396 predep_objects_CXX=
15397 postdep_objects_CXX=
15400 compiler_lib_search_path_CXX=
15402 cat > conftest.$ac_ext <<_LT_EOF
15406 Foo (void) { a = 0; }
15413 _lt_libdeps_save_CFLAGS=$CFLAGS
15414 case "$CC $CFLAGS " in #(
15415 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15416 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15417 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15421 (eval $ac_compile) 2>&5
15423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15424 test $ac_status = 0; }; then
15425 # Parse the compiler output and extract the necessary
15426 # objects, libraries and library flags.
15428 # Sentinel used to keep track of whether or not we are before
15429 # the conftest object file.
15430 pre_test_object_deps_done=no
15432 for p in `eval "$output_verbose_link_cmd"`; do
15433 case ${prev}${p} in
15436 # Some compilers place space between "-{L,R}" and the path.
15437 # Remove the space.
15438 if test $p = "-L" ||
15439 test $p = "-R"; then
15444 # Expand the sysroot to ease extracting the directories later.
15445 if test -z "$prev"; then
15447 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15448 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15449 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15453 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15455 if test "$pre_test_object_deps_done" = no; then
15458 # Internal compiler library paths should come after those
15459 # provided the user. The postdeps already come after the
15460 # user supplied libs so there is no need to process them.
15461 if test -z "$compiler_lib_search_path_CXX"; then
15462 compiler_lib_search_path_CXX="${prev}${p}"
15464 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15467 # The "-l" case would never come before the object being
15468 # linked, so don't bother handling this case.
15471 if test -z "$postdeps_CXX"; then
15472 postdeps_CXX="${prev}${p}"
15474 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15480 *.lto.$objext) ;; # Ignore GCC LTO objects
15482 # This assumes that the test object file only shows up
15483 # once in the compiler output.
15484 if test "$p" = "conftest.$objext"; then
15485 pre_test_object_deps_done=yes
15489 if test "$pre_test_object_deps_done" = no; then
15490 if test -z "$predep_objects_CXX"; then
15491 predep_objects_CXX="$p"
15493 predep_objects_CXX="$predep_objects_CXX $p"
15496 if test -z "$postdep_objects_CXX"; then
15497 postdep_objects_CXX="$p"
15499 postdep_objects_CXX="$postdep_objects_CXX $p"
15504 *) ;; # Ignore the rest.
15512 echo "libtool.m4: error: problem compiling CXX test program"
15515 $RM -f confest.$objext
15516 CFLAGS=$_lt_libdeps_save_CFLAGS
15518 # PORTME: override above test on systems where it is broken
15521 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15522 # hack all around it, let's just trust "g++" to DTRT.
15523 predep_objects_CXX=
15524 postdep_objects_CXX=
15529 case `$CC -V 2>&1 | sed 5q` in
15533 # The more standards-conforming stlport4 library is
15534 # incompatible with the Cstd library. Avoid specifying
15535 # it if it's in CXXFLAGS. Ignore libCrun as
15536 # -library=stlport4 depends on it.
15537 case " $CXX $CXXFLAGS " in
15538 *" -library=stlport4 "*)
15539 solaris_use_stlport4=yes
15543 if test "$solaris_use_stlport4" != yes; then
15544 postdeps_CXX='-library=Cstd -library=Crun'
15551 case $cc_basename in
15553 # The more standards-conforming stlport4 library is
15554 # incompatible with the Cstd library. Avoid specifying
15555 # it if it's in CXXFLAGS. Ignore libCrun as
15556 # -library=stlport4 depends on it.
15557 case " $CXX $CXXFLAGS " in
15558 *" -library=stlport4 "*)
15559 solaris_use_stlport4=yes
15563 # Adding this requires a known-good setup of shared libraries for
15564 # Sun compiler versions before 5.6, else PIC objects from an old
15565 # archive will be linked into the output, leading to subtle bugs.
15566 if test "$solaris_use_stlport4" != yes; then
15567 postdeps_CXX='-library=Cstd -library=Crun'
15575 case " $postdeps_CXX " in
15576 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15578 compiler_lib_search_dirs_CXX=
15579 if test -n "${compiler_lib_search_path_CXX}"; then
15580 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15613 lt_prog_compiler_wl_CXX=
15614 lt_prog_compiler_pic_CXX=
15615 lt_prog_compiler_static_CXX=
15618 # C++ specific cases for pic, static, wl, etc.
15619 if test "$GXX" = yes; then
15620 lt_prog_compiler_wl_CXX='-Wl,'
15621 lt_prog_compiler_static_CXX='-static'
15625 # All AIX code is PIC.
15626 if test "$host_cpu" = ia64; then
15627 # AIX 5 now supports IA64 processor
15628 lt_prog_compiler_static_CXX='-Bstatic'
15635 # see comment about AmigaOS4 .so support
15636 lt_prog_compiler_pic_CXX='-fPIC'
15639 # FIXME: we need at least 68020 code to build shared libraries, but
15640 # adding the `-m68020' flag to GCC prevents building anything better,
15642 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15647 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15648 # PIC is the default for these OSes.
15650 mingw* | cygwin* | os2* | pw32* | cegcc*)
15651 # This hack is so that the source file can tell whether it is being
15652 # built for inclusion in a dll (and should export symbols for example).
15653 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15654 # (--disable-auto-import) libraries
15655 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15657 darwin* | rhapsody*)
15658 # PIC is the default on this platform
15659 # Common symbols not allowed in MH_DYLIB files
15660 lt_prog_compiler_pic_CXX='-fno-common'
15663 # DJGPP does not support shared libraries at all
15664 lt_prog_compiler_pic_CXX=
15667 # PIC is the default for Haiku.
15668 # The "-static" flag exists, but is broken.
15669 lt_prog_compiler_static_CXX=
15672 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15673 # Instead, we relocate shared libraries at runtime.
15676 if test -d /usr/nec; then
15677 lt_prog_compiler_pic_CXX=-Kconform_pic
15681 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15682 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15683 # sets the default TLS model and affects inlining.
15688 lt_prog_compiler_pic_CXX='-fPIC'
15693 # QNX uses GNU C++, but need to define -shared option too, otherwise
15694 # it will coredump.
15695 lt_prog_compiler_pic_CXX='-fPIC -shared'
15698 lt_prog_compiler_pic_CXX='-fPIC'
15704 # All AIX code is PIC.
15705 if test "$host_cpu" = ia64; then
15706 # AIX 5 now supports IA64 processor
15707 lt_prog_compiler_static_CXX='-Bstatic'
15709 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15713 case $cc_basename in
15715 # Green Hills C++ Compiler
15716 # _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"
15720 mingw* | cygwin* | os2* | pw32* | cegcc*)
15721 # This hack is so that the source file can tell whether it is being
15722 # built for inclusion in a dll (and should export symbols for example).
15723 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15726 case $cc_basename in
15728 lt_prog_compiler_pic_CXX='-KPIC'
15731 # Green Hills C++ Compiler
15732 lt_prog_compiler_pic_CXX='-pic'
15738 freebsd* | dragonfly*)
15739 # FreeBSD uses GNU C++
15741 hpux9* | hpux10* | hpux11*)
15742 case $cc_basename in
15744 lt_prog_compiler_wl_CXX='-Wl,'
15745 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15746 if test "$host_cpu" != ia64; then
15747 lt_prog_compiler_pic_CXX='+Z'
15751 lt_prog_compiler_wl_CXX='-Wl,'
15752 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15758 lt_prog_compiler_pic_CXX='+Z'
15767 # This is c89, which is MS Visual C++ (no shared libs)
15768 # Anyone wants to do a port?
15770 irix5* | irix6* | nonstopux*)
15771 case $cc_basename in
15773 lt_prog_compiler_wl_CXX='-Wl,'
15774 lt_prog_compiler_static_CXX='-non_shared'
15775 # CC pic flag -KPIC is the default.
15781 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15782 case $cc_basename in
15785 lt_prog_compiler_wl_CXX='--backend -Wl,'
15786 lt_prog_compiler_pic_CXX='-fPIC'
15789 # old Intel C++ for x86_64 which still supported -KPIC.
15790 lt_prog_compiler_wl_CXX='-Wl,'
15791 lt_prog_compiler_pic_CXX='-KPIC'
15792 lt_prog_compiler_static_CXX='-static'
15795 # Intel C++, used to be incompatible with GCC.
15796 # ICC 10 doesn't accept -KPIC any more.
15797 lt_prog_compiler_wl_CXX='-Wl,'
15798 lt_prog_compiler_pic_CXX='-fPIC'
15799 lt_prog_compiler_static_CXX='-static'
15802 # Portland Group C++ compiler
15803 lt_prog_compiler_wl_CXX='-Wl,'
15804 lt_prog_compiler_pic_CXX='-fpic'
15805 lt_prog_compiler_static_CXX='-Bstatic'
15809 # Make sure the PIC flag is empty. It appears that all Alpha
15810 # Linux and Compaq Tru64 Unix objects are PIC.
15811 lt_prog_compiler_pic_CXX=
15812 lt_prog_compiler_static_CXX='-non_shared'
15814 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15815 # IBM XL 8.0, 9.0 on PPC and BlueGene
15816 lt_prog_compiler_wl_CXX='-Wl,'
15817 lt_prog_compiler_pic_CXX='-qpic'
15818 lt_prog_compiler_static_CXX='-qstaticlink'
15821 case `$CC -V 2>&1 | sed 5q` in
15824 lt_prog_compiler_pic_CXX='-KPIC'
15825 lt_prog_compiler_static_CXX='-Bstatic'
15826 lt_prog_compiler_wl_CXX='-Qoption ld '
15837 case $cc_basename in
15839 lt_prog_compiler_pic_CXX='-W c,exportall'
15845 netbsd* | netbsdelf*-gnu)
15848 # QNX uses GNU C++, but need to define -shared option too, otherwise
15849 # it will coredump.
15850 lt_prog_compiler_pic_CXX='-fPIC -shared'
15852 osf3* | osf4* | osf5*)
15853 case $cc_basename in
15855 lt_prog_compiler_wl_CXX='--backend -Wl,'
15858 # Rational C++ 2.4.1
15859 lt_prog_compiler_pic_CXX='-pic'
15862 # Digital/Compaq C++
15863 lt_prog_compiler_wl_CXX='-Wl,'
15864 # Make sure the PIC flag is empty. It appears that all Alpha
15865 # Linux and Compaq Tru64 Unix objects are PIC.
15866 lt_prog_compiler_pic_CXX=
15867 lt_prog_compiler_static_CXX='-non_shared'
15876 case $cc_basename in
15878 # Sun C++ 4.2, 5.x and Centerline C++
15879 lt_prog_compiler_pic_CXX='-KPIC'
15880 lt_prog_compiler_static_CXX='-Bstatic'
15881 lt_prog_compiler_wl_CXX='-Qoption ld '
15884 # Green Hills C++ Compiler
15885 lt_prog_compiler_pic_CXX='-PIC'
15892 case $cc_basename in
15895 lt_prog_compiler_pic_CXX='-pic'
15896 lt_prog_compiler_static_CXX='-Bstatic'
15900 lt_prog_compiler_pic_CXX='-pic'
15906 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15907 case $cc_basename in
15909 lt_prog_compiler_wl_CXX='-Wl,'
15910 lt_prog_compiler_pic_CXX='-KPIC'
15911 lt_prog_compiler_static_CXX='-Bstatic'
15916 case $cc_basename in
15918 # NonStop-UX NCC 3.20
15919 lt_prog_compiler_pic_CXX='-KPIC'
15928 lt_prog_compiler_can_build_shared_CXX=no
15934 # For platforms which do not support PIC, -DPIC is meaningless:
15936 lt_prog_compiler_pic_CXX=
15939 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15944 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15945 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15946 $as_echo_n "(cached) " >&6
15948 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15951 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15952 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15955 # Check to make sure the PIC flag actually works.
15957 if test -n "$lt_prog_compiler_pic_CXX"; then
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15959 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15960 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15961 $as_echo_n "(cached) " >&6
15963 lt_cv_prog_compiler_pic_works_CXX=no
15964 ac_outfile=conftest.$ac_objext
15965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15966 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15967 # Insert the option either (1) after the last *FLAGS variable, or
15968 # (2) before a word containing "conftest.", or (3) at the end.
15969 # Note that $ac_compile itself does not contain backslashes and begins
15970 # with a dollar sign (not a hyphen), so the echo should work correctly.
15971 # The option is referenced via a variable to avoid confusing sed.
15972 lt_compile=`echo "$ac_compile" | $SED \
15973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15975 -e 's:$: $lt_compiler_flag:'`
15976 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15977 (eval "$lt_compile" 2>conftest.err)
15979 cat conftest.err >&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 if (exit $ac_status) && test -s "$ac_outfile"; then
15982 # The compiler can only warn and ignore the option if not recognized
15983 # So say no if there are warnings other than the usual output.
15984 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15986 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15987 lt_cv_prog_compiler_pic_works_CXX=yes
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15994 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15996 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15997 case $lt_prog_compiler_pic_CXX in
15999 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16002 lt_prog_compiler_pic_CXX=
16003 lt_prog_compiler_can_build_shared_CXX=no
16013 # Check to make sure the static flag actually works.
16015 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16017 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16018 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16019 $as_echo_n "(cached) " >&6
16021 lt_cv_prog_compiler_static_works_CXX=no
16022 save_LDFLAGS="$LDFLAGS"
16023 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16024 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16025 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16026 # The linker can only warn and ignore the option if not recognized
16027 # So say no if there are warnings
16028 if test -s conftest.err; then
16029 # Append any errors to the config.log.
16030 cat conftest.err 1>&5
16031 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16032 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16033 if diff conftest.exp conftest.er2 >/dev/null; then
16034 lt_cv_prog_compiler_static_works_CXX=yes
16037 lt_cv_prog_compiler_static_works_CXX=yes
16041 LDFLAGS="$save_LDFLAGS"
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16045 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16047 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16050 lt_prog_compiler_static_CXX=
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16057 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16058 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16059 $as_echo_n "(cached) " >&6
16061 lt_cv_prog_compiler_c_o_CXX=no
16062 $RM -r conftest 2>/dev/null
16066 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16068 lt_compiler_flag="-o out/conftest2.$ac_objext"
16069 # Insert the option either (1) after the last *FLAGS variable, or
16070 # (2) before a word containing "conftest.", or (3) at the end.
16071 # Note that $ac_compile itself does not contain backslashes and begins
16072 # with a dollar sign (not a hyphen), so the echo should work correctly.
16073 lt_compile=`echo "$ac_compile" | $SED \
16074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16076 -e 's:$: $lt_compiler_flag:'`
16077 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16078 (eval "$lt_compile" 2>out/conftest.err)
16080 cat out/conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16084 # The compiler can only warn and ignore the option if not recognized
16085 # So say no if there are warnings
16086 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16087 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16088 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16089 lt_cv_prog_compiler_c_o_CXX=yes
16094 # SGI C++ compiler will create directory out/ii_files/ for
16095 # template instantiation
16096 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16097 $RM out/* && rmdir out
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16104 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16109 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16110 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16111 $as_echo_n "(cached) " >&6
16113 lt_cv_prog_compiler_c_o_CXX=no
16114 $RM -r conftest 2>/dev/null
16118 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16120 lt_compiler_flag="-o out/conftest2.$ac_objext"
16121 # Insert the option either (1) after the last *FLAGS variable, or
16122 # (2) before a word containing "conftest.", or (3) at the end.
16123 # Note that $ac_compile itself does not contain backslashes and begins
16124 # with a dollar sign (not a hyphen), so the echo should work correctly.
16125 lt_compile=`echo "$ac_compile" | $SED \
16126 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16127 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16128 -e 's:$: $lt_compiler_flag:'`
16129 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16130 (eval "$lt_compile" 2>out/conftest.err)
16132 cat out/conftest.err >&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16136 # The compiler can only warn and ignore the option if not recognized
16137 # So say no if there are warnings
16138 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16139 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16140 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16141 lt_cv_prog_compiler_c_o_CXX=yes
16146 # SGI C++ compiler will create directory out/ii_files/ for
16147 # template instantiation
16148 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16149 $RM out/* && rmdir out
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16156 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16161 hard_links="nottested"
16162 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16163 # do not overwrite the value of need_locks provided by the user
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16165 $as_echo_n "checking if we can lock with hard links... " >&6; }
16168 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16170 ln conftest.a conftest.b 2>&5 || hard_links=no
16171 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16173 $as_echo "$hard_links" >&6; }
16174 if test "$hard_links" = no; then
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16176 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16186 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16188 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16189 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16192 # If we're using GNU nm, then we don't want the "-C" option.
16193 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16194 # Also, AIX nm treats weak defined symbols like other global defined
16195 # symbols, whereas GNU nm marks them as "W".
16196 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16197 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16199 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16203 export_symbols_cmds_CXX="$ltdll_cmds"
16205 cygwin* | mingw* | cegcc*)
16206 case $cc_basename in
16208 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16211 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'
16212 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16216 linux* | k*bsd*-gnu | gnu*)
16217 link_all_deplibs_CXX=no
16220 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16225 $as_echo "$ld_shlibs_CXX" >&6; }
16226 test "$ld_shlibs_CXX" = no && can_build_shared=no
16228 with_gnu_ld_CXX=$with_gnu_ld
16236 # Do we need to explicitly link libc?
16238 case "x$archive_cmds_need_lc_CXX" in
16240 # Assume -lc should be added
16241 archive_cmds_need_lc_CXX=yes
16243 if test "$enable_shared" = yes && test "$GCC" = yes; then
16244 case $archive_cmds_CXX in
16246 # FIXME: we may have to deal with multi-command sequences.
16249 # Test whether the compiler implicitly links with -lc since on some
16250 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16251 # to ld, don't add -lc before -lgcc.
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16253 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16254 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16255 $as_echo_n "(cached) " >&6
16258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16261 (eval $ac_compile) 2>&5
16263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16264 test $ac_status = 0; } 2>conftest.err; then
16267 libobjs=conftest.$ac_objext
16269 wl=$lt_prog_compiler_wl_CXX
16270 pic_flag=$lt_prog_compiler_pic_CXX
16276 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16277 allow_undefined_flag_CXX=
16278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16279 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16282 test $ac_status = 0; }
16284 lt_cv_archive_cmds_need_lc_CXX=no
16286 lt_cv_archive_cmds_need_lc_CXX=yes
16288 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16290 cat conftest.err 1>&5
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16296 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16297 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16366 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16368 library_names_spec=
16369 libname_spec='lib$name'
16373 postuninstall_cmds=
16377 shlibpath_overrides_runpath=unknown
16379 dynamic_linker="$host_os ld.so"
16380 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16381 need_lib_prefix=unknown
16382 hardcode_into_libs=no
16384 # when you set need_version to no, make sure it does not cause -set_version
16385 # flags to be left without arguments
16386 need_version=unknown
16390 version_type=linux # correct to gnu/linux during the next big refactor
16391 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16392 shlibpath_var=LIBPATH
16394 # AIX 3 has no versioning support, so we append a major version to the name.
16395 soname_spec='${libname}${release}${shared_ext}$major'
16399 version_type=linux # correct to gnu/linux during the next big refactor
16402 hardcode_into_libs=yes
16403 if test "$host_cpu" = ia64; then
16404 # AIX 5 supports IA64
16405 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16406 shlibpath_var=LD_LIBRARY_PATH
16408 # With GCC up to 2.95.x, collect2 would create an import file
16409 # for dependence libraries. The import file would start with
16410 # the line `#! .'. This would cause the generated library to
16411 # depend on `.', always an invalid library. This was fixed in
16412 # development snapshots of GCC prior to 3.0.
16414 aix4 | aix4.[01] | aix4.[01].*)
16415 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16417 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16420 can_build_shared=no
16424 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16425 # soname into executable. Probably we can add versioning support to
16426 # collect2, so additional links can be useful in future.
16427 if test "$aix_use_runtimelinking" = yes; then
16428 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16429 # instead of lib<name>.a to let people know that these are not
16430 # typical AIX shared libraries.
16431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16433 # We preserve .a as extension for shared libraries through AIX4.2
16434 # and later when we are not doing run time linking.
16435 library_names_spec='${libname}${release}.a $libname.a'
16436 soname_spec='${libname}${release}${shared_ext}$major'
16438 shlibpath_var=LIBPATH
16445 # Since July 2007 AmigaOS4 officially supports .so libraries.
16446 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16450 library_names_spec='$libname.ixlibrary $libname.a'
16451 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16452 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16458 library_names_spec='${libname}${shared_ext}'
16459 dynamic_linker="$host_os ld.so"
16460 shlibpath_var=LIBRARY_PATH
16464 version_type=linux # correct to gnu/linux during the next big refactor
16466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16467 soname_spec='${libname}${release}${shared_ext}$major'
16468 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16469 shlibpath_var=LD_LIBRARY_PATH
16470 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16471 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16472 # the default ld.so.conf also contains /usr/contrib/lib and
16473 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16474 # libtool to hard-code these into programs
16477 cygwin* | mingw* | pw32* | cegcc*)
16478 version_type=windows
16483 case $GCC,$cc_basename in
16486 library_names_spec='$libname.dll.a'
16487 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16488 postinstall_cmds='base_file=`basename \${file}`~
16489 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16490 dldir=$destdir/`dirname \$dlpath`~
16491 test -d \$dldir || mkdir -p \$dldir~
16492 $install_prog $dir/$dlname \$dldir/$dlname~
16493 chmod a+x \$dldir/$dlname~
16494 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16495 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16497 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16498 dlpath=$dir/\$dldll~
16500 shlibpath_overrides_runpath=yes
16504 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16505 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16509 # MinGW DLLs use traditional 'lib' prefix
16510 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16513 # pw32 DLLs use 'pw' prefix rather than 'lib'
16514 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16517 dynamic_linker='Win32 ld.exe'
16522 libname_spec='$name'
16523 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16524 library_names_spec='${libname}.dll.lib'
16528 sys_lib_search_path_spec=
16531 for lt_path in $LIB
16534 # Let DOS variable expansion print the short 8.3 style file name.
16535 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16536 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16539 # Convert to MSYS style.
16540 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16543 # Convert to unix form, then to dos form, then back to unix form
16544 # but this time dos style (no spaces!) so that the unix form looks
16545 # like /cygdrive/c/PROGRA~1:/cygdr...
16546 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16547 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16548 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16551 sys_lib_search_path_spec="$LIB"
16552 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16553 # It is most probably a Windows format PATH.
16554 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16556 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16558 # FIXME: find the short name or the path components, as spaces are
16559 # common. (e.g. "Program Files" -> "PROGRA~1")
16563 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16564 postinstall_cmds='base_file=`basename \${file}`~
16565 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16566 dldir=$destdir/`dirname \$dlpath`~
16567 test -d \$dldir || mkdir -p \$dldir~
16568 $install_prog $dir/$dlname \$dldir/$dlname'
16569 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16570 dlpath=$dir/\$dldll~
16572 shlibpath_overrides_runpath=yes
16573 dynamic_linker='Win32 link.exe'
16577 # Assume MSVC wrapper
16578 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16579 dynamic_linker='Win32 ld.exe'
16582 # FIXME: first we should search . and the directory the executable is in
16586 darwin* | rhapsody*)
16587 dynamic_linker="$host_os dyld"
16588 version_type=darwin
16591 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16592 soname_spec='${libname}${release}${major}$shared_ext'
16593 shlibpath_overrides_runpath=yes
16594 shlibpath_var=DYLD_LIBRARY_PATH
16595 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16597 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16601 version_type=linux # correct to gnu/linux during the next big refactor
16604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16605 soname_spec='${libname}${release}${shared_ext}$major'
16606 shlibpath_var=LD_LIBRARY_PATH
16609 freebsd* | dragonfly*)
16610 # DragonFly does not have aout. When/if they implement a new
16611 # versioning mechanism, adjust this.
16612 if test -x /usr/bin/objformat; then
16613 objformat=`/usr/bin/objformat`
16616 freebsd[23].*) objformat=aout ;;
16617 *) objformat=elf ;;
16620 version_type=freebsd-$objformat
16621 case $version_type in
16623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16628 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16632 shlibpath_var=LD_LIBRARY_PATH
16635 shlibpath_overrides_runpath=yes
16637 freebsd3.[01]* | freebsdelf3.[01]*)
16638 shlibpath_overrides_runpath=yes
16639 hardcode_into_libs=yes
16641 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16642 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16643 shlibpath_overrides_runpath=no
16644 hardcode_into_libs=yes
16646 *) # from 4.6 on, and DragonFly
16647 shlibpath_overrides_runpath=yes
16648 hardcode_into_libs=yes
16654 version_type=linux # correct to gnu/linux during the next big refactor
16657 dynamic_linker="$host_os runtime_loader"
16658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16659 soname_spec='${libname}${release}${shared_ext}$major'
16660 shlibpath_var=LIBRARY_PATH
16661 shlibpath_overrides_runpath=yes
16662 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16663 hardcode_into_libs=yes
16666 hpux9* | hpux10* | hpux11*)
16667 # Give a soname corresponding to the major version so that dld.sl refuses to
16668 # link against other versions.
16675 hardcode_into_libs=yes
16676 dynamic_linker="$host_os dld.so"
16677 shlibpath_var=LD_LIBRARY_PATH
16678 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16680 soname_spec='${libname}${release}${shared_ext}$major'
16681 if test "X$HPUX_IA64_MODE" = X32; then
16682 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16684 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16686 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16690 hardcode_into_libs=yes
16691 dynamic_linker="$host_os dld.sl"
16692 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16695 soname_spec='${libname}${release}${shared_ext}$major'
16696 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16697 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16701 dynamic_linker="$host_os dld.sl"
16702 shlibpath_var=SHLIB_PATH
16703 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16705 soname_spec='${libname}${release}${shared_ext}$major'
16708 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16709 postinstall_cmds='chmod 555 $lib'
16710 # or fails outright, so override atomically:
16711 install_override_mode=555
16715 version_type=linux # correct to gnu/linux during the next big refactor
16718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16719 soname_spec='${libname}${release}${shared_ext}$major'
16720 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16721 shlibpath_var=LD_LIBRARY_PATH
16722 shlibpath_overrides_runpath=no
16723 hardcode_into_libs=yes
16726 irix5* | irix6* | nonstopux*)
16728 nonstopux*) version_type=nonstopux ;;
16730 if test "$lt_cv_prog_gnu_ld" = yes; then
16731 version_type=linux # correct to gnu/linux during the next big refactor
16738 soname_spec='${libname}${release}${shared_ext}$major'
16739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16741 irix5* | nonstopux*)
16742 libsuff= shlibsuff=
16745 case $LD in # libtool.m4 will add one of these switches to LD
16746 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16747 libsuff= shlibsuff= libmagic=32-bit;;
16748 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16749 libsuff=32 shlibsuff=N32 libmagic=N32;;
16750 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16751 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16752 *) libsuff= shlibsuff= libmagic=never-match;;
16756 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16757 shlibpath_overrides_runpath=no
16758 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16759 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16760 hardcode_into_libs=yes
16763 # No shared lib support for Linux oldld, aout, or coff.
16764 linux*oldld* | linux*aout* | linux*coff*)
16768 # This must be glibc/ELF.
16769 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16770 version_type=linux # correct to gnu/linux during the next big refactor
16773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16774 soname_spec='${libname}${release}${shared_ext}$major'
16775 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16776 shlibpath_var=LD_LIBRARY_PATH
16777 shlibpath_overrides_runpath=no
16779 # Some binutils ld are patched to set DT_RUNPATH
16780 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16781 $as_echo_n "(cached) " >&6
16783 lt_cv_shlibpath_overrides_runpath=no
16784 save_LDFLAGS=$LDFLAGS
16785 save_libdir=$libdir
16786 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16787 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16799 if ac_fn_cxx_try_link "$LINENO"; then :
16800 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16801 lt_cv_shlibpath_overrides_runpath=yes
16804 rm -f core conftest.err conftest.$ac_objext \
16805 conftest$ac_exeext conftest.$ac_ext
16806 LDFLAGS=$save_LDFLAGS
16807 libdir=$save_libdir
16811 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16813 # This implies no fast_install, which is unacceptable.
16814 # Some rework will be needed to allow for fast_install
16815 # before this can be enabled.
16816 hardcode_into_libs=yes
16818 # Append ld.so.conf contents to the search path
16819 if test -f /etc/ld.so.conf; then
16820 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' ' '`
16821 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16824 # We used to test for /lib/ld.so.1 and disable shared libraries on
16825 # powerpc, because MkLinux only supported shared libraries with the
16826 # GNU dynamic linker. Since this was broken with cross compilers,
16827 # most powerpc-linux boxes support dynamic linking these days and
16828 # people can always --disable-shared, the test was removed, and we
16829 # assume the GNU/Linux dynamic linker is in use.
16830 dynamic_linker='GNU/Linux ld.so'
16837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16838 soname_spec='${libname}${release}${shared_ext}$major'
16839 shlibpath_var=LD_LIBRARY_PATH
16840 shlibpath_overrides_runpath=no
16841 hardcode_into_libs=yes
16842 dynamic_linker='NetBSD ld.elf_so'
16849 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16851 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16852 dynamic_linker='NetBSD (a.out) ld.so'
16854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16855 soname_spec='${libname}${release}${shared_ext}$major'
16856 dynamic_linker='NetBSD ld.elf_so'
16858 shlibpath_var=LD_LIBRARY_PATH
16859 shlibpath_overrides_runpath=yes
16860 hardcode_into_libs=yes
16864 version_type=linux # correct to gnu/linux during the next big refactor
16865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16866 shlibpath_var=LD_LIBRARY_PATH
16867 shlibpath_overrides_runpath=yes
16874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16875 soname_spec='${libname}${release}${shared_ext}$major'
16876 shlibpath_var=LD_LIBRARY_PATH
16877 shlibpath_overrides_runpath=no
16878 hardcode_into_libs=yes
16879 dynamic_linker='ldqnx.so'
16884 sys_lib_dlsearch_path_spec="/usr/lib"
16886 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16888 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16889 *) need_version=no ;;
16891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16893 shlibpath_var=LD_LIBRARY_PATH
16894 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16896 openbsd2.[89] | openbsd2.[89].*)
16897 shlibpath_overrides_runpath=no
16900 shlibpath_overrides_runpath=yes
16904 shlibpath_overrides_runpath=yes
16909 libname_spec='$name'
16912 library_names_spec='$libname${shared_ext} $libname.a'
16913 dynamic_linker='OS/2 ld.exe'
16914 shlibpath_var=LIBPATH
16917 osf3* | osf4* | osf5*)
16921 soname_spec='${libname}${release}${shared_ext}$major'
16922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16923 shlibpath_var=LD_LIBRARY_PATH
16924 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16925 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16933 version_type=linux # correct to gnu/linux during the next big refactor
16936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16937 soname_spec='${libname}${release}${shared_ext}$major'
16938 shlibpath_var=LD_LIBRARY_PATH
16939 shlibpath_overrides_runpath=yes
16940 hardcode_into_libs=yes
16941 # ldd complains unless libraries are executable
16942 postinstall_cmds='chmod +x $lib'
16947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16948 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16949 shlibpath_var=LD_LIBRARY_PATH
16950 shlibpath_overrides_runpath=yes
16951 if test "$with_gnu_ld" = yes; then
16958 version_type=linux # correct to gnu/linux during the next big refactor
16959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16960 soname_spec='${libname}${release}${shared_ext}$major'
16961 shlibpath_var=LD_LIBRARY_PATH
16962 case $host_vendor in
16964 shlibpath_overrides_runpath=no
16966 runpath_var=LD_RUN_PATH
16974 shlibpath_overrides_runpath=no
16975 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16981 if test -d /usr/nec ;then
16982 version_type=linux # correct to gnu/linux during the next big refactor
16983 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16984 soname_spec='$libname${shared_ext}.$major'
16985 shlibpath_var=LD_LIBRARY_PATH
16989 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16990 version_type=freebsd-elf
16993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16994 soname_spec='${libname}${release}${shared_ext}$major'
16995 shlibpath_var=LD_LIBRARY_PATH
16996 shlibpath_overrides_runpath=yes
16997 hardcode_into_libs=yes
16998 if test "$with_gnu_ld" = yes; then
16999 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17001 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17004 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17008 sys_lib_dlsearch_path_spec='/usr/lib'
17012 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17013 version_type=linux # correct to gnu/linux during the next big refactor
17016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17017 shlibpath_var=LD_LIBRARY_PATH
17018 shlibpath_overrides_runpath=no
17019 hardcode_into_libs=yes
17023 version_type=linux # correct to gnu/linux during the next big refactor
17024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17025 soname_spec='${libname}${release}${shared_ext}$major'
17026 shlibpath_var=LD_LIBRARY_PATH
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17034 $as_echo "$dynamic_linker" >&6; }
17035 test "$dynamic_linker" = no && can_build_shared=no
17037 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17038 if test "$GCC" = yes; then
17039 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17042 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17043 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17045 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17046 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17087 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17088 hardcode_action_CXX=
17089 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17090 test -n "$runpath_var_CXX" ||
17091 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17093 # We can hardcode non-existent directories.
17094 if test "$hardcode_direct_CXX" != no &&
17095 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17096 # have to relink, otherwise we might link with an installed library
17097 # when we should be linking with a yet-to-be-installed one
17098 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17099 test "$hardcode_minus_L_CXX" != no; then
17100 # Linking always hardcodes the temporary library directory.
17101 hardcode_action_CXX=relink
17103 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17104 hardcode_action_CXX=immediate
17107 # We cannot hardcode anything, or else we can only hardcode existing
17109 hardcode_action_CXX=unsupported
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17112 $as_echo "$hardcode_action_CXX" >&6; }
17114 if test "$hardcode_action_CXX" = relink ||
17115 test "$inherit_rpath_CXX" = yes; then
17116 # Fast installation is not supported
17117 enable_fast_install=no
17118 elif test "$shlibpath_overrides_runpath" = yes ||
17119 test "$enable_shared" = no; then
17120 # Fast installation is not necessary
17121 enable_fast_install=needless
17130 fi # test -n "$compiler"
17133 CFLAGS=$lt_save_CFLAGS
17137 with_gnu_ld=$lt_save_with_gnu_ld
17138 lt_cv_path_LDCXX=$lt_cv_path_LD
17139 lt_cv_path_LD=$lt_save_path_LD
17140 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17141 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17142 fi # test "$_lt_caught_CXX_error" != yes
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17152 ac_cpp='$CPP $CPPFLAGS'
17153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17156 if test -n "$ac_tool_prefix"; then
17157 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17160 $as_echo_n "checking for $ac_word... " >&6; }
17161 if ${ac_cv_prog_CC+:} false; then :
17162 $as_echo_n "(cached) " >&6
17164 if test -n "$CC"; then
17165 ac_cv_prog_CC="$CC" # Let the user override the test.
17167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17168 for as_dir in $PATH
17171 test -z "$as_dir" && as_dir=.
17172 for ac_exec_ext in '' $ac_executable_extensions; do
17173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17174 ac_cv_prog_CC="${ac_tool_prefix}gcc"
17175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17185 if test -n "$CC"; then
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17187 $as_echo "$CC" >&6; }
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17190 $as_echo "no" >&6; }
17195 if test -z "$ac_cv_prog_CC"; then
17197 # Extract the first word of "gcc", so it can be a program name with args.
17198 set dummy gcc; ac_word=$2
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17200 $as_echo_n "checking for $ac_word... " >&6; }
17201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17202 $as_echo_n "(cached) " >&6
17204 if test -n "$ac_ct_CC"; then
17205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17208 for as_dir in $PATH
17211 test -z "$as_dir" && as_dir=.
17212 for ac_exec_ext in '' $ac_executable_extensions; do
17213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17214 ac_cv_prog_ac_ct_CC="gcc"
17215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17225 if test -n "$ac_ct_CC"; then
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17227 $as_echo "$ac_ct_CC" >&6; }
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230 $as_echo "no" >&6; }
17233 if test "x$ac_ct_CC" = x; then
17236 case $cross_compiling:$ac_tool_warned in
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17240 ac_tool_warned=yes ;;
17245 CC="$ac_cv_prog_CC"
17248 if test -z "$CC"; then
17249 if test -n "$ac_tool_prefix"; then
17250 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17251 set dummy ${ac_tool_prefix}cc; ac_word=$2
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17253 $as_echo_n "checking for $ac_word... " >&6; }
17254 if ${ac_cv_prog_CC+:} false; then :
17255 $as_echo_n "(cached) " >&6
17257 if test -n "$CC"; then
17258 ac_cv_prog_CC="$CC" # Let the user override the test.
17260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17261 for as_dir in $PATH
17264 test -z "$as_dir" && as_dir=.
17265 for ac_exec_ext in '' $ac_executable_extensions; do
17266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17267 ac_cv_prog_CC="${ac_tool_prefix}cc"
17268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17278 if test -n "$CC"; then
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17280 $as_echo "$CC" >&6; }
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17283 $as_echo "no" >&6; }
17289 if test -z "$CC"; then
17290 # Extract the first word of "cc", so it can be a program name with args.
17291 set dummy cc; ac_word=$2
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17293 $as_echo_n "checking for $ac_word... " >&6; }
17294 if ${ac_cv_prog_CC+:} false; then :
17295 $as_echo_n "(cached) " >&6
17297 if test -n "$CC"; then
17298 ac_cv_prog_CC="$CC" # Let the user override the test.
17300 ac_prog_rejected=no
17301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17302 for as_dir in $PATH
17305 test -z "$as_dir" && as_dir=.
17306 for ac_exec_ext in '' $ac_executable_extensions; do
17307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17308 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17309 ac_prog_rejected=yes
17313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17320 if test $ac_prog_rejected = yes; then
17321 # We found a bogon in the path, so make sure we never use it.
17322 set dummy $ac_cv_prog_CC
17324 if test $# != 0; then
17325 # We chose a different compiler from the bogus one.
17326 # However, it has the same basename, so the bogon will be chosen
17327 # first if we set CC to just the basename; use the full file name.
17329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17335 if test -n "$CC"; then
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17337 $as_echo "$CC" >&6; }
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17340 $as_echo "no" >&6; }
17345 if test -z "$CC"; then
17346 if test -n "$ac_tool_prefix"; then
17347 for ac_prog in cl.exe
17349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17352 $as_echo_n "checking for $ac_word... " >&6; }
17353 if ${ac_cv_prog_CC+:} false; then :
17354 $as_echo_n "(cached) " >&6
17356 if test -n "$CC"; then
17357 ac_cv_prog_CC="$CC" # Let the user override the test.
17359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17360 for as_dir in $PATH
17363 test -z "$as_dir" && as_dir=.
17364 for ac_exec_ext in '' $ac_executable_extensions; do
17365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17366 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17377 if test -n "$CC"; then
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17379 $as_echo "$CC" >&6; }
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17382 $as_echo "no" >&6; }
17386 test -n "$CC" && break
17389 if test -z "$CC"; then
17391 for ac_prog in cl.exe
17393 # Extract the first word of "$ac_prog", so it can be a program name with args.
17394 set dummy $ac_prog; ac_word=$2
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17396 $as_echo_n "checking for $ac_word... " >&6; }
17397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17398 $as_echo_n "(cached) " >&6
17400 if test -n "$ac_ct_CC"; then
17401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17404 for as_dir in $PATH
17407 test -z "$as_dir" && as_dir=.
17408 for ac_exec_ext in '' $ac_executable_extensions; do
17409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17410 ac_cv_prog_ac_ct_CC="$ac_prog"
17411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17421 if test -n "$ac_ct_CC"; then
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17423 $as_echo "$ac_ct_CC" >&6; }
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17430 test -n "$ac_ct_CC" && break
17433 if test "x$ac_ct_CC" = x; then
17436 case $cross_compiling:$ac_tool_warned in
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17440 ac_tool_warned=yes ;;
17449 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17451 as_fn_error $? "no acceptable C compiler found in \$PATH
17452 See \`config.log' for more details" "$LINENO" 5; }
17454 # Provide some information about the compiler.
17455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17458 for ac_option in --version -v -V -qversion; do
17459 { { ac_try="$ac_compiler $ac_option >&5"
17460 case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17465 $as_echo "$ac_try_echo"; } >&5
17466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17468 if test -s conftest.err; then
17470 ... rest of stderr output deleted ...
17471 10q' conftest.err >conftest.er1
17472 cat conftest.er1 >&5
17474 rm -f conftest.er1 conftest.err
17475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17476 test $ac_status = 0; }
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17481 if ${ac_cv_c_compiler_gnu+:} false; then :
17482 $as_echo_n "(cached) " >&6
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17498 if ac_fn_c_try_compile "$LINENO"; then :
17499 ac_compiler_gnu=yes
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17508 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17509 if test $ac_compiler_gnu = yes; then
17514 ac_test_CFLAGS=${CFLAGS+set}
17515 ac_save_CFLAGS=$CFLAGS
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17517 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17518 if ${ac_cv_prog_cc_g+:} false; then :
17519 $as_echo_n "(cached) " >&6
17521 ac_save_c_werror_flag=$ac_c_werror_flag
17522 ac_c_werror_flag=yes
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17536 if ac_fn_c_try_compile "$LINENO"; then :
17537 ac_cv_prog_cc_g=yes
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17551 if ac_fn_c_try_compile "$LINENO"; then :
17554 ac_c_werror_flag=$ac_save_c_werror_flag
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 ac_cv_prog_cc_g=yes
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575 ac_c_werror_flag=$ac_save_c_werror_flag
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17578 $as_echo "$ac_cv_prog_cc_g" >&6; }
17579 if test "$ac_test_CFLAGS" = set; then
17580 CFLAGS=$ac_save_CFLAGS
17581 elif test $ac_cv_prog_cc_g = yes; then
17582 if test "$GCC" = yes; then
17588 if test "$GCC" = yes; then
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17596 if ${ac_cv_prog_cc_c89+:} false; then :
17597 $as_echo_n "(cached) " >&6
17599 ac_cv_prog_cc_c89=no
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <stdarg.h>
17606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17607 struct buf { int x; };
17608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17609 static char *e (p, i)
17615 static char *f (char * (*g) (char **, int), char **p, ...)
17620 s = g (p, va_arg (v,int));
17625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17626 function prototypes and stuff, but not '\xHH' hex character constants.
17627 These don't provoke an error unfortunately, instead are silently treated
17628 as 'x'. The following induces an error, until -std is added to get
17629 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17630 array size at least. It's necessary to write '\x00'==0 to get something
17631 that's true only with -std. */
17632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17635 inside strings and character constants. */
17637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17639 int test (int i, double x);
17640 struct s1 {int (*f) (int a);};
17641 struct s2 {int (*f) (double a);};
17642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17648 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17654 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17656 CC="$ac_save_CC $ac_arg"
17657 if ac_fn_c_try_compile "$LINENO"; then :
17658 ac_cv_prog_cc_c89=$ac_arg
17660 rm -f core conftest.err conftest.$ac_objext
17661 test "x$ac_cv_prog_cc_c89" != "xno" && break
17663 rm -f conftest.$ac_ext
17668 case "x$ac_cv_prog_cc_c89" in
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17671 $as_echo "none needed" >&6; } ;;
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17674 $as_echo "unsupported" >&6; } ;;
17676 CC="$CC $ac_cv_prog_cc_c89"
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17680 if test "x$ac_cv_prog_cc_c89" != xno; then :
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17691 ac_cpp='$CPP $CPPFLAGS'
17692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
17696 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
17697 if ${am_cv_prog_cc_c_o+:} false; then :
17698 $as_echo_n "(cached) " >&6
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17711 # Make sure it works both with $CC and with simple cc.
17712 # Following AC_PROG_CC_C_O, we do the test twice because some
17713 # compilers refuse to overwrite an existing .o file with -o,
17714 # though they will create one.
17715 am_cv_prog_cc_c_o=yes
17716 for am_i in 1 2; do
17717 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
17718 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } \
17722 && test -f conftest2.$ac_objext; then
17725 am_cv_prog_cc_c_o=no
17729 rm -f core conftest*
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
17733 $as_echo "$am_cv_prog_cc_c_o" >&6; }
17734 if test "$am_cv_prog_cc_c_o" != yes; then
17735 # Losing compiler, so override with the script.
17736 # FIXME: It is wrong to rewrite CC.
17737 # But if we don't then we get into trouble of one sort or another.
17738 # A longer-term fix would be to have automake use am__CC in this case,
17739 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17740 CC="$am_aux_dir/compile $CC"
17743 ac_cpp='$CPP $CPPFLAGS'
17744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17749 depcc="$CC" am_compiler_list=
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17752 $as_echo_n "checking dependency style of $depcc... " >&6; }
17753 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17754 $as_echo_n "(cached) " >&6
17756 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17757 # We make a subdir and do the tests there. Otherwise we can end up
17758 # making bogus files that we don't know about and never remove. For
17759 # instance it was reported that on HP-UX the gcc test will end up
17760 # making a dummy file named 'D' -- because '-MD' means "put the output
17762 rm -rf conftest.dir
17764 # Copy depcomp to subdir because otherwise we won't find it if we're
17765 # using a relative directory.
17766 cp "$am_depcomp" conftest.dir
17768 # We will build objects and dependencies in a subdirectory because
17769 # it helps to detect inapplicable dependency modes. For instance
17770 # both Tru64's cc and ICC support -MD to output dependencies as a
17771 # side effect of compilation, but ICC will put the dependencies in
17772 # the current directory while Tru64 will put them in the object
17776 am_cv_CC_dependencies_compiler_type=none
17777 if test "$am_compiler_list" = ""; then
17778 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17780 am__universal=false
17781 case " $depcc " in #(
17782 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17785 for depmode in $am_compiler_list; do
17786 # Setup a source with many dependencies, because some compilers
17787 # like to wrap large dependency lists on column 80 (with \), and
17788 # we should not choose a depcomp mode which is confused by this.
17790 # We need to recreate these files for each test, as the compiler may
17791 # overwrite some of them when testing with obscure command lines.
17792 # This happens at least with the AIX C compiler.
17794 for i in 1 2 3 4 5 6; do
17795 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17796 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
17797 # Solaris 10 /bin/sh.
17798 echo '/* dummy */' > sub/conftst$i.h
17800 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17802 # We check with '-c' and '-o' for the sake of the "dashmstdout"
17803 # mode. It turns out that the SunPro C++ compiler does not properly
17804 # handle '-M -o', and we need to detect this. Also, some Intel
17805 # versions had trouble with output in subdirs.
17806 am__obj=sub/conftest.${OBJEXT-o}
17807 am__minus_obj="-o $am__obj"
17810 # This depmode causes a compiler race in universal mode.
17811 test "$am__universal" = false || continue
17814 # After this tag, mechanisms are not by side-effect, so they'll
17815 # only be used when explicitly requested.
17816 if test "x$enable_dependency_tracking" = xyes; then
17822 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17823 # This compiler won't grok '-c -o', but also, the minuso test has
17824 # not run yet. These depmodes are late enough in the game, and
17825 # so weak that their functioning should not be impacted.
17826 am__obj=conftest.${OBJEXT-o}
17831 if depmode=$depmode \
17832 source=sub/conftest.c object=$am__obj \
17833 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17834 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17835 >/dev/null 2>conftest.err &&
17836 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17837 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17838 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17839 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17840 # icc doesn't choke on unknown options, it will just issue warnings
17841 # or remarks (even with -Werror). So we grep stderr for any message
17842 # that says an option was ignored or not supported.
17843 # When given -MP, icc 7.0 and 7.1 complain thusly:
17844 # icc: Command line warning: ignoring option '-M'; no argument required
17845 # The diagnosis changed in icc 8.0:
17846 # icc: Command line remark: option '-MP' not supported
17847 if (grep 'ignoring option' conftest.err ||
17848 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17849 am_cv_CC_dependencies_compiler_type=$depmode
17856 rm -rf conftest.dir
17858 am_cv_CC_dependencies_compiler_type=none
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17863 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17864 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17867 test "x$enable_dependency_tracking" != xno \
17868 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17869 am__fastdepCC_TRUE=
17870 am__fastdepCC_FALSE='#'
17872 am__fastdepCC_TRUE='#'
17873 am__fastdepCC_FALSE=
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17883 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17884 # On Suns, sometimes $CPP names a directory.
17885 if test -n "$CPP" && test -d "$CPP"; then
17888 if test -z "$CPP"; then
17889 if ${ac_cv_prog_CPP+:} false; then :
17890 $as_echo_n "(cached) " >&6
17892 # Double quotes because CPP needs to be expanded
17893 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17895 ac_preproc_ok=false
17896 for ac_c_preproc_warn_flag in '' yes
17898 # Use a header file that comes with gcc, so configuring glibc
17899 # with a fresh cross-compiler works.
17900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17901 # <limits.h> exists even on freestanding compilers.
17902 # On the NeXT, cc -E runs the code through the compiler's parser,
17903 # not just through cpp. "Syntax error" is here to catch this case.
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17907 # include <limits.h>
17909 # include <assert.h>
17913 if ac_fn_c_try_cpp "$LINENO"; then :
17916 # Broken: fails on valid input.
17919 rm -f conftest.err conftest.i conftest.$ac_ext
17921 # OK, works on sane cases. Now check whether nonexistent headers
17922 # can be detected and how.
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17925 #include <ac_nonexistent.h>
17927 if ac_fn_c_try_cpp "$LINENO"; then :
17928 # Broken: success on invalid input.
17931 # Passes both tests.
17935 rm -f conftest.err conftest.i conftest.$ac_ext
17938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17939 rm -f conftest.i conftest.err conftest.$ac_ext
17940 if $ac_preproc_ok; then :
17945 ac_cv_prog_CPP=$CPP
17948 CPP=$ac_cv_prog_CPP
17950 ac_cv_prog_CPP=$CPP
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17953 $as_echo "$CPP" >&6; }
17954 ac_preproc_ok=false
17955 for ac_c_preproc_warn_flag in '' yes
17957 # Use a header file that comes with gcc, so configuring glibc
17958 # with a fresh cross-compiler works.
17959 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17960 # <limits.h> exists even on freestanding compilers.
17961 # On the NeXT, cc -E runs the code through the compiler's parser,
17962 # not just through cpp. "Syntax error" is here to catch this case.
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17966 # include <limits.h>
17968 # include <assert.h>
17972 if ac_fn_c_try_cpp "$LINENO"; then :
17975 # Broken: fails on valid input.
17978 rm -f conftest.err conftest.i conftest.$ac_ext
17980 # OK, works on sane cases. Now check whether nonexistent headers
17981 # can be detected and how.
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17984 #include <ac_nonexistent.h>
17986 if ac_fn_c_try_cpp "$LINENO"; then :
17987 # Broken: success on invalid input.
17990 # Passes both tests.
17994 rm -f conftest.err conftest.i conftest.$ac_ext
17997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17998 rm -f conftest.i conftest.err conftest.$ac_ext
17999 if $ac_preproc_ok; then :
18002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18004 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18005 See \`config.log' for more details" "$LINENO" 5; }
18009 ac_cpp='$CPP $CPPFLAGS'
18010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18015 # Checks for libraries.
18016 ac_config_files="$ac_config_files src/Makefile include/Makefile Makefile"
18020 # Checks for header files.
18022 # Checks for typedefs, structures, and compiler characteristics.
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18024 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18025 if ${ac_cv_header_stdbool_h+:} false; then :
18026 $as_echo_n "(cached) " >&6
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18031 #include <stdbool.h>
18033 "error: bool is not defined"
18036 "error: false is not defined"
18039 "error: false is not 0"
18042 "error: true is not defined"
18045 "error: true is not 1"
18047 #ifndef __bool_true_false_are_defined
18048 "error: __bool_true_false_are_defined is not defined"
18051 struct s { _Bool s: 1; _Bool t; } s;
18053 char a[true == 1 ? 1 : -1];
18054 char b[false == 0 ? 1 : -1];
18055 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18056 char d[(bool) 0.5 == true ? 1 : -1];
18057 /* See body of main program for 'e'. */
18058 char f[(_Bool) 0.0 == false ? 1 : -1];
18060 char h[sizeof (_Bool)];
18061 char i[sizeof s.t];
18062 enum { j = false, k = true, l = false * true, m = true * 256 };
18063 /* The following fails for
18064 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18066 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18067 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18068 /* Catch a bug in an HP-UX C compiler. See
18069 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18070 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18082 /* Refer to every declared value, to avoid compiler optimizations. */
18083 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18084 + !m + !n + !o + !p + !q + !pq);
18090 if ac_fn_c_try_compile "$LINENO"; then :
18091 ac_cv_header_stdbool_h=yes
18093 ac_cv_header_stdbool_h=no
18095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18098 $as_echo "$ac_cv_header_stdbool_h" >&6; }
18099 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18100 if test "x$ac_cv_type__Bool" = xyes; then :
18102 cat >>confdefs.h <<_ACEOF
18103 #define HAVE__BOOL 1
18110 if test $ac_cv_header_stdbool_h = yes; then
18112 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18117 $as_echo_n "checking for inline... " >&6; }
18118 if ${ac_cv_c_inline+:} false; then :
18119 $as_echo_n "(cached) " >&6
18122 for ac_kw in inline __inline__ __inline; do
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18125 #ifndef __cplusplus
18127 static $ac_kw foo_t static_foo () {return 0; }
18128 $ac_kw foo_t foo () {return 0; }
18132 if ac_fn_c_try_compile "$LINENO"; then :
18133 ac_cv_c_inline=$ac_kw
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 test "$ac_cv_c_inline" != no && break
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18141 $as_echo "$ac_cv_c_inline" >&6; }
18143 case $ac_cv_c_inline in
18146 case $ac_cv_c_inline in
18148 *) ac_val=$ac_cv_c_inline;;
18150 cat >>confdefs.h <<_ACEOF
18151 #ifndef __cplusplus
18152 #define inline $ac_val
18159 # Checks for library functions.
18161 cat >confcache <<\_ACEOF
18162 # This file is a shell script that caches the results of configure
18163 # tests run on this system so they can be shared between configure
18164 # scripts and configure runs, see configure's option --config-cache.
18165 # It is not useful on other systems. If it contains results you don't
18166 # want to keep, you may remove or edit it.
18168 # config.status only pays attention to the cache file if you give it
18169 # the --recheck option to rerun configure.
18171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18173 # following values.
18177 # The following way of writing the cache mishandles newlines in values,
18178 # but we know of no workaround that is simple, portable, and efficient.
18179 # So, we kill variables containing newlines.
18180 # Ultrix sh set writes to stderr and can't be redirected directly,
18181 # and sets the high bit in the cache file unless we assign to the vars.
18183 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18184 eval ac_val=\$$ac_var
18188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18192 _ | IFS | as_nl) ;; #(
18193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18194 *) { eval $ac_var=; unset $ac_var;} ;;
18200 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18201 *${as_nl}ac_space=\ *)
18202 # `set' does not quote correctly, so add quotes: double-quote
18203 # substitution turns \\\\ into \\, and sed turns \\ into \.
18206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18209 # `set' quotes correctly as required by POSIX, so do not add quotes.
18210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18219 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18221 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18223 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18224 if test -w "$cache_file"; then
18225 if test "x$cache_file" != "x/dev/null"; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18227 $as_echo "$as_me: updating cache $cache_file" >&6;}
18228 if test ! -f "$cache_file" || test -h "$cache_file"; then
18229 cat confcache >"$cache_file"
18231 case $cache_file in #(
18233 mv -f confcache "$cache_file"$$ &&
18234 mv -f "$cache_file"$$ "$cache_file" ;; #(
18236 mv -f confcache "$cache_file" ;;
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18247 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18248 # Let make expand exec_prefix.
18249 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18251 DEFS=-DHAVE_CONFIG_H
18256 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18257 # 1. Remove the extension, and $U if already installed.
18258 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18259 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18260 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18261 # will be set to the directory where LIBOBJS objects are built.
18262 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18263 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18265 LIBOBJS=$ac_libobjs
18267 LTLIBOBJS=$ac_ltlibobjs
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18271 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18272 if test -n "$am_sleep_pid"; then
18273 # Hide warnings about reused PIDs.
18274 wait $am_sleep_pid 2>/dev/null
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18277 $as_echo "done" >&6; }
18278 if test -n "$EXEEXT"; then
18280 am__EXEEXT_FALSE='#'
18282 am__EXEEXT_TRUE='#'
18286 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18287 as_fn_error $? "conditional \"AMDEP\" was never defined.
18288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18290 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18291 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18294 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
18295 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
18296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18298 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
18299 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
18300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18302 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
18303 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
18304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18306 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
18307 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
18308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18310 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
18311 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
18312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18314 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
18315 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
18316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18318 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
18319 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
18320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18322 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
18323 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
18324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18326 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
18327 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
18328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18330 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
18331 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
18332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18334 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
18335 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
18336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18338 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
18339 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
18340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18342 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
18343 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
18344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18346 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
18347 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
18348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18350 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
18351 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
18352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18354 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
18355 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
18356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18358 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
18359 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
18360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18362 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
18363 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
18364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18366 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
18367 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
18368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18370 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
18371 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
18372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18374 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
18375 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
18376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18378 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
18379 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
18380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18382 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18383 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18386 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18387 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18391 : "${CONFIG_STATUS=./config.status}"
18393 ac_clean_files_save=$ac_clean_files
18394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18396 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18398 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18400 # Generated by $as_me.
18401 # Run this file to recreate the current configuration.
18402 # Compiler output produced by configure, useful for debugging
18403 # configure, is in config.log if it exists.
18406 ac_cs_recheck=false
18409 SHELL=\${CONFIG_SHELL-$SHELL}
18412 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18413 ## -------------------- ##
18414 ## M4sh Initialization. ##
18415 ## -------------------- ##
18417 # Be more Bourne compatible
18418 DUALCASE=1; export DUALCASE # for MKS sh
18419 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18422 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18423 # is contrary to our usage. Disable this feature.
18424 alias -g '${1+"$@"}'='"$@"'
18425 setopt NO_GLOB_SUBST
18427 case `(set -o) 2>/dev/null` in #(
18439 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18440 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18442 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18443 # Prefer a ksh shell builtin over an external printf program on Solaris,
18444 # but without wasting forks for bash or zsh.
18445 if test -z "$BASH_VERSION$ZSH_VERSION" \
18446 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18447 as_echo='print -r --'
18448 as_echo_n='print -rn --'
18449 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18450 as_echo='printf %s\n'
18451 as_echo_n='printf %s'
18453 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18454 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18455 as_echo_n='/usr/ucb/echo -n'
18457 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18458 as_echo_n_body='eval
18462 expr "X$arg" : "X\\(.*\\)$as_nl";
18463 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18465 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18467 export as_echo_n_body
18468 as_echo_n='sh -c $as_echo_n_body as_echo'
18470 export as_echo_body
18471 as_echo='sh -c $as_echo_body as_echo'
18474 # The user is always right.
18475 if test "${PATH_SEPARATOR+set}" != set; then
18477 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18478 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18485 # We need space, tab and new line, in precisely that order. Quoting is
18486 # there to prevent editors from complaining about space-tab.
18487 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18488 # splitting by setting IFS to empty value.)
18491 # Find who we are. Look in the path if we contain no directory separator.
18494 *[\\/]* ) as_myself=$0 ;;
18495 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18496 for as_dir in $PATH
18499 test -z "$as_dir" && as_dir=.
18500 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18506 # We did not find ourselves, most probably we were run as `sh COMMAND'
18507 # in which case we are not to be found in the path.
18508 if test "x$as_myself" = x; then
18511 if test ! -f "$as_myself"; then
18512 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18516 # Unset variables that we do not need and which cause bugs (e.g. in
18517 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18518 # suppresses any "Segmentation fault" message there. '((' could
18519 # trigger a bug in pdksh 5.2.14.
18520 for as_var in BASH_ENV ENV MAIL MAILPATH
18521 do eval test x\${$as_var+set} = xset \
18522 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18535 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18538 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18539 # ----------------------------------------
18540 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18541 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18542 # script with STATUS, using 1 if that was 0.
18545 as_status=$1; test $as_status -eq 0 && as_status=1
18547 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18548 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18550 $as_echo "$as_me: error: $2" >&2
18551 as_fn_exit $as_status
18555 # as_fn_set_status STATUS
18556 # -----------------------
18557 # Set $? to STATUS, without forking.
18558 as_fn_set_status ()
18561 } # as_fn_set_status
18563 # as_fn_exit STATUS
18564 # -----------------
18565 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18569 as_fn_set_status $1
18575 # Portably unset VAR.
18578 { eval $1=; unset $1;}
18580 as_unset=as_fn_unset
18581 # as_fn_append VAR VALUE
18582 # ----------------------
18583 # Append the text in VALUE to the end of the definition contained in VAR. Take
18584 # advantage of any shell optimizations that allow amortized linear growth over
18585 # repeated appends, instead of the typical quadratic growth present in naive
18587 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18588 eval 'as_fn_append ()
18599 # as_fn_arith ARG...
18600 # ------------------
18601 # Perform arithmetic evaluation on the ARGs, and store the result in the
18602 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18603 # must be portable across $(()) and expr.
18604 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18605 eval 'as_fn_arith ()
18612 as_val=`expr "$@" || test $? -eq 1`
18617 if expr a : '\(a\)' >/dev/null 2>&1 &&
18618 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18624 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18625 as_basename=basename
18630 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18636 as_me=`$as_basename -- "$0" ||
18637 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18638 X"$0" : 'X\(//\)$' \| \
18639 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18641 sed '/^.*\/\([^/][^/]*\)\/*$/{
18655 # Avoid depending upon Character Ranges.
18656 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18657 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18658 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18659 as_cr_digits='0123456789'
18660 as_cr_alnum=$as_cr_Letters$as_cr_digits
18662 ECHO_C= ECHO_N= ECHO_T=
18663 case `echo -n x` in #(((((
18665 case `echo 'xy\c'` in
18666 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18668 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18675 rm -f conf$$ conf$$.exe conf$$.file
18676 if test -d conf$$.dir; then
18677 rm -f conf$$.dir/conf$$.file
18680 mkdir conf$$.dir 2>/dev/null
18682 if (echo >conf$$.file) 2>/dev/null; then
18683 if ln -s conf$$.file conf$$ 2>/dev/null; then
18685 # ... but there are two gotchas:
18686 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18687 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18688 # In both cases, we have to default to `cp -pR'.
18689 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18691 elif ln conf$$.file conf$$ 2>/dev/null; then
18699 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18700 rmdir conf$$.dir 2>/dev/null
18705 # Create "$as_dir" as a directory, including parents if necessary.
18710 -*) as_dir=./$as_dir;;
18712 test -d "$as_dir" || eval $as_mkdir_p || {
18716 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18717 *) as_qdir=$as_dir;;
18719 as_dirs="'$as_qdir' $as_dirs"
18720 as_dir=`$as_dirname -- "$as_dir" ||
18721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18722 X"$as_dir" : 'X\(//\)[^/]' \| \
18723 X"$as_dir" : 'X\(//\)$' \| \
18724 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18725 $as_echo X"$as_dir" |
18726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18730 /^X\(\/\/\)[^/].*/{
18743 test -d "$as_dir" && break
18745 test -z "$as_dirs" || eval "mkdir $as_dirs"
18746 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18750 if mkdir -p . 2>/dev/null; then
18751 as_mkdir_p='mkdir -p "$as_dir"'
18753 test -d ./-p && rmdir ./-p
18758 # as_fn_executable_p FILE
18759 # -----------------------
18760 # Test if FILE is an executable regular file.
18761 as_fn_executable_p ()
18763 test -f "$1" && test -x "$1"
18764 } # as_fn_executable_p
18765 as_test_x='test -x'
18766 as_executable_p=as_fn_executable_p
18768 # Sed expression to map a string onto a valid CPP name.
18769 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18771 # Sed expression to map a string onto a valid variable name.
18772 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18776 ## ----------------------------------- ##
18777 ## Main body of $CONFIG_STATUS script. ##
18778 ## ----------------------------------- ##
18780 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18783 # Save the log message, to keep $0 and so on meaningful, and to
18784 # report actual input values of CONFIG_FILES etc. instead of their
18785 # values after options handling.
18787 This file was extended by xplus-gno $as_me 1.0, which was
18788 generated by GNU Autoconf 2.69. Invocation command line was
18790 CONFIG_FILES = $CONFIG_FILES
18791 CONFIG_HEADERS = $CONFIG_HEADERS
18792 CONFIG_LINKS = $CONFIG_LINKS
18793 CONFIG_COMMANDS = $CONFIG_COMMANDS
18796 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18801 case $ac_config_files in *"
18802 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18805 case $ac_config_headers in *"
18806 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18811 # Files that config.status was made for.
18812 config_files="$ac_config_files"
18813 config_headers="$ac_config_headers"
18814 config_commands="$ac_config_commands"
18818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18820 \`$as_me' instantiates files and other configuration actions
18821 from templates according to the current configuration. Unless the files
18822 and actions are specified as TAGs, all are instantiated by default.
18824 Usage: $0 [OPTION]... [TAG]...
18826 -h, --help print this help, then exit
18827 -V, --version print version number and configuration settings, then exit
18828 --config print configuration, then exit
18829 -q, --quiet, --silent
18830 do not print progress messages
18831 -d, --debug don't remove temporary files
18832 --recheck update $as_me by reconfiguring in the same conditions
18833 --file=FILE[:TEMPLATE]
18834 instantiate the configuration file FILE
18835 --header=FILE[:TEMPLATE]
18836 instantiate the configuration header FILE
18838 Configuration files:
18841 Configuration headers:
18844 Configuration commands:
18847 Report bugs to <BUG-REPORT-ADDRESS>."
18850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18851 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18853 xplus-gno config.status 1.0
18854 configured by $0, generated by GNU Autoconf 2.69,
18855 with options \\"\$ac_cs_config\\"
18857 Copyright (C) 2012 Free Software Foundation, Inc.
18858 This config.status script is free software; the Free Software Foundation
18859 gives unlimited permission to copy, distribute and modify it."
18866 test -n "\$AWK" || AWK=awk
18869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18870 # The default lists apply if the user does not specify any file.
18876 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18877 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18881 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18893 # Handling of the options.
18894 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18896 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18897 $as_echo "$ac_cs_version"; exit ;;
18898 --config | --confi | --conf | --con | --co | --c )
18899 $as_echo "$ac_cs_config"; exit ;;
18900 --debug | --debu | --deb | --de | --d | -d )
18902 --file | --fil | --fi | --f )
18905 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18906 '') as_fn_error $? "missing file argument" ;;
18908 as_fn_append CONFIG_FILES " '$ac_optarg'"
18909 ac_need_defaults=false;;
18910 --header | --heade | --head | --hea )
18913 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18915 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18916 ac_need_defaults=false;;
18918 # Conflict between --help and --header
18919 as_fn_error $? "ambiguous option: \`$1'
18920 Try \`$0 --help' for more information.";;
18921 --help | --hel | -h )
18922 $as_echo "$ac_cs_usage"; exit ;;
18923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18924 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18927 # This is an error.
18928 -*) as_fn_error $? "unrecognized option: \`$1'
18929 Try \`$0 --help' for more information." ;;
18931 *) as_fn_append ac_config_targets " $1"
18932 ac_need_defaults=false ;;
18938 ac_configure_extra_args=
18940 if $ac_cs_silent; then
18942 ac_configure_extra_args="$ac_configure_extra_args --silent"
18946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18947 if \$ac_cs_recheck; then
18948 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18950 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18951 CONFIG_SHELL='$SHELL'
18952 export CONFIG_SHELL
18957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18962 ## Running $as_me. ##
18968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18972 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18975 # The HP-UX ksh and POSIX shell print the target directory to stdout
18976 # if CDPATH is set.
18977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18979 sed_quote_subst='$sed_quote_subst'
18980 double_quote_subst='$double_quote_subst'
18981 delay_variable_subst='$delay_variable_subst'
18982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18984 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18985 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18986 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18987 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18988 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18989 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18990 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18991 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18992 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18993 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18994 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18995 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18996 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18997 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18998 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18999 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19000 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19001 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19002 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19003 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19004 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19005 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19006 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19007 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19008 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19009 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19010 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19011 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19012 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19013 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19014 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19015 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19018 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19019 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19020 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19021 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19022 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19023 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19024 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19025 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19026 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19027 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19028 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19029 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19030 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19031 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19032 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19033 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19034 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19035 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19036 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19037 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19038 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"`'
19039 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19040 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19112 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19113 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19114 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19115 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19116 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19117 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19118 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19119 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19120 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19121 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19122 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19123 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19124 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19125 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19127 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19128 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19129 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19130 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19131 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19132 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19133 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19134 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19135 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19136 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19137 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19138 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19139 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19140 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19141 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19142 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19144 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19145 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19146 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19147 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19148 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19149 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19150 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19151 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19152 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19153 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19154 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19155 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19156 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19157 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19158 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19159 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19160 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19161 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19162 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19163 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19164 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19165 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19168 LTCFLAGS='$LTCFLAGS'
19169 compiler='$compiler_DEFAULT'
19171 # A function that is used when there is no print builtin or printf.
19172 func_fallback_echo ()
19174 eval 'cat <<_LTECHO_EOF
19179 # Quote evaled strings.
19194 deplibs_check_method \
19199 sharedlib_from_linklib_cmd \
19202 archiver_list_spec \
19208 lt_cv_sys_global_symbol_pipe \
19209 lt_cv_sys_global_symbol_to_cdecl \
19210 lt_cv_sys_global_symbol_to_c_name_address \
19211 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19212 nm_file_list_spec \
19213 lt_prog_compiler_no_builtin_flag \
19214 lt_prog_compiler_pic \
19215 lt_prog_compiler_wl \
19216 lt_prog_compiler_static \
19217 lt_cv_prog_compiler_c_o \
19226 export_dynamic_flag_spec \
19227 whole_archive_flag_spec \
19228 compiler_needs_object \
19230 allow_undefined_flag \
19231 no_undefined_flag \
19232 hardcode_libdir_flag_spec \
19233 hardcode_libdir_separator \
19237 variables_saved_for_relink \
19239 library_names_spec \
19241 install_override_mode \
19245 compiler_lib_search_dirs \
19250 compiler_lib_search_path \
19254 lt_prog_compiler_no_builtin_flag_CXX \
19255 lt_prog_compiler_pic_CXX \
19256 lt_prog_compiler_wl_CXX \
19257 lt_prog_compiler_static_CXX \
19258 lt_cv_prog_compiler_c_o_CXX \
19259 export_dynamic_flag_spec_CXX \
19260 whole_archive_flag_spec_CXX \
19261 compiler_needs_object_CXX \
19263 allow_undefined_flag_CXX \
19264 no_undefined_flag_CXX \
19265 hardcode_libdir_flag_spec_CXX \
19266 hardcode_libdir_separator_CXX \
19267 exclude_expsyms_CXX \
19268 include_expsyms_CXX \
19269 file_list_spec_CXX \
19270 compiler_lib_search_dirs_CXX \
19271 predep_objects_CXX \
19272 postdep_objects_CXX \
19275 compiler_lib_search_path_CXX; do
19276 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19277 *[\\\\\\\`\\"\\\$]*)
19278 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19281 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19286 # Double-quote double-evaled strings.
19287 for var in reload_cmds \
19288 old_postinstall_cmds \
19289 old_postuninstall_cmds \
19291 extract_expsyms_cmds \
19292 old_archive_from_new_cmds \
19293 old_archive_from_expsyms_cmds \
19295 archive_expsym_cmds \
19297 module_expsym_cmds \
19298 export_symbols_cmds \
19302 postuninstall_cmds \
19304 sys_lib_search_path_spec \
19305 sys_lib_dlsearch_path_spec \
19307 old_archive_cmds_CXX \
19308 old_archive_from_new_cmds_CXX \
19309 old_archive_from_expsyms_cmds_CXX \
19311 archive_expsym_cmds_CXX \
19313 module_expsym_cmds_CXX \
19314 export_symbols_cmds_CXX \
19316 postlink_cmds_CXX; do
19317 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19318 *[\\\\\\\`\\"\\\$]*)
19319 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19322 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19327 ac_aux_dir='$ac_aux_dir'
19328 xsi_shell='$xsi_shell'
19329 lt_shell_append='$lt_shell_append'
19331 # See if we are running on zsh, and set the options which allow our
19332 # commands through without removal of \ escapes INIT.
19333 if test -n "\${ZSH_VERSION+set}" ; then
19334 setopt NO_GLOB_SUBST
19340 TIMESTAMP='$TIMESTAMP'
19351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19353 # Handling of arguments.
19354 for ac_config_target in $ac_config_targets
19356 case $ac_config_target in
19357 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19358 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19359 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19360 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19361 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
19362 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19364 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19369 # If the user did not use the arguments to specify the items to instantiate,
19370 # then the envvar interface is used. Set only those that are not.
19371 # We use the long form for the default assignment because of an extremely
19372 # bizarre bug on SunOS 4.1.3.
19373 if $ac_need_defaults; then
19374 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19375 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19376 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19379 # Have a temporary directory for convenience. Make it in the build tree
19380 # simply because there is no reason against having it here, and in addition,
19381 # creating and moving files from /tmp can sometimes cause problems.
19382 # Hook for its removal unless debugging.
19383 # Note that there is a small window in which the directory will not be cleaned:
19384 # after its creation but before its name has been assigned to `$tmp'.
19388 trap 'exit_status=$?
19389 : "${ac_tmp:=$tmp}"
19390 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19392 trap 'as_fn_exit 1' 1 2 13 15
19394 # Create a (secure) tmp directory for tmp files.
19397 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19401 tmp=./conf$$-$RANDOM
19402 (umask 077 && mkdir "$tmp")
19403 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19406 # Set up the scripts for CONFIG_FILES section.
19407 # No need to generate them if there are no CONFIG_FILES.
19408 # This happens for instance with `./config.status config.h'.
19409 if test -n "$CONFIG_FILES"; then
19412 ac_cr=`echo X | tr X '\015'`
19413 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19414 # But we know of no other shell where ac_cr would be empty at this
19415 # point, so we can use a bashism as a fallback.
19416 if test "x$ac_cr" = x; then
19417 eval ac_cr=\$\'\\r\'
19419 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19420 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19423 ac_cs_awk_cr=$ac_cr
19426 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19431 echo "cat >conf$$subs.awk <<_ACEOF" &&
19432 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19434 } >conf$$subs.sh ||
19435 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19436 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19438 for ac_last_try in false false false false false :; do
19439 . ./conf$$subs.sh ||
19440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19442 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19443 if test $ac_delim_n = $ac_delim_num; then
19445 elif $ac_last_try; then
19446 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19448 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19451 rm -f conf$$subs.sh
19453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19454 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19458 s/^/S["/; s/!.*/"]=/
19468 s/\(.\{148\}\)..*/\1/
19470 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19475 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19482 s/\(.\{148\}\)..*/\1/
19484 s/["\\]/\\&/g; s/^/"/; s/$/"/
19488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19493 ' <conf$$subs.awk | sed '
19498 ' >>$CONFIG_STATUS || ac_write_fail=1
19499 rm -f conf$$subs.awk
19500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19502 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19503 for (key in S) S_is_set[key] = 1
19509 nfields = split(line, field, "@")
19511 len = length(field[1])
19512 for (i = 2; i < nfields; i++) {
19514 keylen = length(key)
19515 if (S_is_set[key]) {
19517 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19518 len += length(value) + length(field[++i])
19529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19530 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19531 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19534 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19535 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19538 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19539 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19540 # trailing colons and then remove the whole line if VPATH becomes empty
19541 # (actually we leave an empty line to preserve line numbers).
19542 if test "x$srcdir" = x.; then
19543 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19562 fi # test -n "$CONFIG_FILES"
19564 # Set up the scripts for CONFIG_HEADERS section.
19565 # No need to generate them if there are no CONFIG_HEADERS.
19566 # This happens for instance with `./config.status Makefile'.
19567 if test -n "$CONFIG_HEADERS"; then
19568 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19572 # Transform confdefs.h into an awk script `defines.awk', embedded as
19573 # here-document in config.status, that substitutes the proper values into
19574 # config.h.in to produce config.h.
19576 # Create a delimiter string that does not exist in confdefs.h, to ease
19577 # handling of long lines.
19579 for ac_last_try in false false :; do
19580 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19581 if test -z "$ac_tt"; then
19583 elif $ac_last_try; then
19584 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19586 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19590 # For the awk script, D is an array of macro values keyed by name,
19591 # likewise P contains macro parameters if any. Preserve backslash
19592 # newline sequences.
19594 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19596 s/.\{148\}/&'"$ac_delim"'/g
19599 s/^[ ]*#[ ]*define[ ][ ]*/ /
19606 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19608 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19612 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19613 D["\1"]=" \3\\\\\\n"\\/p
19615 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19620 s/.\{148\}/&'"$ac_delim"'/g
19625 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19628 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19630 ' <confdefs.h | sed '
19631 s/'"$ac_delim"'/"\\\
19632 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19635 for (key in D) D_is_set[key] = 1
19638 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19640 split(line, arg, " ")
19641 if (arg[1] == "#") {
19645 defundef = substr(arg[1], 2)
19648 split(mac1, mac2, "(") #)
19650 prefix = substr(line, 1, index(line, defundef) - 1)
19651 if (D_is_set[macro]) {
19652 # Preserve the white space surrounding the "#".
19653 print prefix "define", macro P[macro] D[macro]
19656 # Replace #undef with comments. This is necessary, for example,
19657 # in the case of _POSIX_SOURCE, which is predefined and required
19658 # on some systems where configure will not decide to define it.
19659 if (defundef == "undef") {
19660 print "/*", prefix defundef, macro, "*/"
19668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19669 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19670 fi # test -n "$CONFIG_HEADERS"
19673 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19678 :[FHLC]) ac_mode=$ac_tag; continue;;
19680 case $ac_mode$ac_tag in
19682 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19683 :[FH]-) ac_tag=-:-;;
19684 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19701 -) ac_f="$ac_tmp/stdin";;
19702 *) # Look for the file first in the build tree, then in the source tree
19703 # (if the path is not absolute). The absolute path cannot be DOS-style,
19704 # because $ac_f cannot contain `:'.
19708 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19710 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19712 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19713 as_fn_append ac_file_inputs " '$ac_f'"
19716 # Let's still pretend it is `configure' which instantiates (i.e., don't
19717 # use $as_me), people would be surprised to read:
19718 # /* config.h. Generated by config.status. */
19719 configure_input='Generated from '`
19720 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19722 if test x"$ac_file" != x-; then
19723 configure_input="$ac_file. $configure_input"
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19725 $as_echo "$as_me: creating $ac_file" >&6;}
19727 # Neutralize special characters interpreted by sed in replacement strings.
19728 case $configure_input in #(
19729 *\&* | *\|* | *\\* )
19730 ac_sed_conf_input=`$as_echo "$configure_input" |
19731 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19732 *) ac_sed_conf_input=$configure_input;;
19736 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19742 ac_dir=`$as_dirname -- "$ac_file" ||
19743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19744 X"$ac_file" : 'X\(//\)[^/]' \| \
19745 X"$ac_file" : 'X\(//\)$' \| \
19746 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19747 $as_echo X"$ac_file" |
19748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19752 /^X\(\/\/\)[^/].*/{
19765 as_dir="$ac_dir"; as_fn_mkdir_p
19769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19771 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19772 # A ".." for each directory in $ac_dir_suffix.
19773 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19774 case $ac_top_builddir_sub in
19775 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19776 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19779 ac_abs_top_builddir=$ac_pwd
19780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19781 # for backward compatibility:
19782 ac_top_builddir=$ac_top_build_prefix
19785 .) # We are building in place.
19787 ac_top_srcdir=$ac_top_builddir_sub
19788 ac_abs_top_srcdir=$ac_pwd ;;
19789 [\\/]* | ?:[\\/]* ) # Absolute name.
19790 ac_srcdir=$srcdir$ac_dir_suffix;
19791 ac_top_srcdir=$srcdir
19792 ac_abs_top_srcdir=$srcdir ;;
19793 *) # Relative name.
19794 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19795 ac_top_srcdir=$ac_top_build_prefix$srcdir
19796 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19808 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19809 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19811 ac_MKDIR_P=$MKDIR_P
19813 [\\/$]* | ?:[\\/]* ) ;;
19814 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19819 # If the template does not know about datarootdir, expand it.
19820 # FIXME: This hack should be removed a few years after 2.60.
19821 ac_datarootdir_hack=; ac_datarootdir_seen=
19832 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19833 *datarootdir*) ac_datarootdir_seen=yes;;
19834 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19836 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19839 ac_datarootdir_hack='
19840 s&@datadir@&$datadir&g
19841 s&@docdir@&$docdir&g
19842 s&@infodir@&$infodir&g
19843 s&@localedir@&$localedir&g
19844 s&@mandir@&$mandir&g
19845 s&\\\${datarootdir}&$datarootdir&g' ;;
19849 # Neutralize VPATH when `$srcdir' = `.'.
19850 # Shell code in configure.ac might set extrasub.
19851 # FIXME: do we really want to maintain this feature?
19852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19853 ac_sed_extra="$ac_vpsub
19856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19859 s|@configure_input@|$ac_sed_conf_input|;t t
19860 s&@top_builddir@&$ac_top_builddir_sub&;t t
19861 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19862 s&@srcdir@&$ac_srcdir&;t t
19863 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19864 s&@top_srcdir@&$ac_top_srcdir&;t t
19865 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19866 s&@builddir@&$ac_builddir&;t t
19867 s&@abs_builddir@&$ac_abs_builddir&;t t
19868 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19869 s&@INSTALL@&$ac_INSTALL&;t t
19870 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19871 $ac_datarootdir_hack
19873 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19874 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19876 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19877 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19878 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19879 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19881 which seems to be undefined. Please make sure it is defined" >&5
19882 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19883 which seems to be undefined. Please make sure it is defined" >&2;}
19885 rm -f "$ac_tmp/stdin"
19887 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19888 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19890 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19896 if test x"$ac_file" != x-; then
19898 $as_echo "/* $configure_input */" \
19899 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19900 } >"$ac_tmp/config.h" \
19901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19902 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19904 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19907 mv "$ac_tmp/config.h" "$ac_file" \
19908 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19911 $as_echo "/* $configure_input */" \
19912 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19913 || as_fn_error $? "could not create -" "$LINENO" 5
19915 # Compute "$ac_file"'s index in $config_headers.
19918 for _am_header in $config_headers :; do
19919 case $_am_header in
19920 $_am_arg | $_am_arg:* )
19923 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19926 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19927 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19928 X"$_am_arg" : 'X\(//\)[^/]' \| \
19929 X"$_am_arg" : 'X\(//\)$' \| \
19930 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19931 $as_echo X"$_am_arg" |
19932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19936 /^X\(\/\/\)[^/].*/{
19948 s/.*/./; q'`/stamp-h$_am_stamp_count
19951 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19952 $as_echo "$as_me: executing $ac_file commands" >&6;}
19957 case $ac_file$ac_mode in
19958 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19959 # Older Autoconf quotes --file arguments for eval, but not when files
19960 # are listed without --file. Let's play safe and only enable the eval
19961 # if we detect the quoting.
19962 case $CONFIG_FILES in
19963 *\'*) eval set x "$CONFIG_FILES" ;;
19964 *) set x $CONFIG_FILES ;;
19969 # Strip MF so we end up with the name of the file.
19970 mf=`echo "$mf" | sed -e 's/:.*$//'`
19971 # Check whether this is an Automake generated Makefile or not.
19972 # We used to match only the files named 'Makefile.in', but
19973 # some people rename them; so instead we look at the file content.
19974 # Grep'ing the first line is not enough: some people post-process
19975 # each Makefile.in and add a new line on top of each file to say so.
19976 # Grep'ing the whole file is not good either: AIX grep has a line
19977 # limit of 2048, but all sed's we know have understand at least 4000.
19978 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19979 dirpart=`$as_dirname -- "$mf" ||
19980 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19981 X"$mf" : 'X\(//\)[^/]' \| \
19982 X"$mf" : 'X\(//\)$' \| \
19983 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19989 /^X\(\/\/\)[^/].*/{
20005 # Extract the definition of DEPDIR, am__include, and am__quote
20006 # from the Makefile without running 'make'.
20007 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20008 test -z "$DEPDIR" && continue
20009 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20010 test -z "$am__include" && continue
20011 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20012 # Find all dependency output files, they are included files with
20013 # $(DEPDIR) in their names. We invoke sed twice because it is the
20014 # simplest approach to changing $(DEPDIR) to its actual value in the
20016 for file in `sed -n "
20017 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20018 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20019 # Make sure the directory exists.
20020 test -f "$dirpart/$file" && continue
20021 fdir=`$as_dirname -- "$file" ||
20022 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20023 X"$file" : 'X\(//\)[^/]' \| \
20024 X"$file" : 'X\(//\)$' \| \
20025 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20026 $as_echo X"$file" |
20027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20031 /^X\(\/\/\)[^/].*/{
20044 as_dir=$dirpart/$fdir; as_fn_mkdir_p
20045 # echo "creating $dirpart/$file"
20046 echo '# dummy' > "$dirpart/$file"
20053 # See if we are running on zsh, and set the options which allow our
20054 # commands through without removal of \ escapes.
20055 if test -n "${ZSH_VERSION+set}" ; then
20056 setopt NO_GLOB_SUBST
20059 cfgfile="${ofile}T"
20060 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20063 cat <<_LT_EOF >> "$cfgfile"
20066 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20067 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20068 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20069 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20071 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20072 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20074 # Written by Gordon Matzigkeit, 1996
20076 # This file is part of GNU Libtool.
20078 # GNU Libtool is free software; you can redistribute it and/or
20079 # modify it under the terms of the GNU General Public License as
20080 # published by the Free Software Foundation; either version 2 of
20081 # the License, or (at your option) any later version.
20083 # As a special exception to the GNU General Public License,
20084 # if you distribute this file as part of a program or library that
20085 # is built using GNU Libtool, you may include this file under the
20086 # same distribution terms that you use for the rest of that program.
20088 # GNU Libtool is distributed in the hope that it will be useful,
20089 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20090 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20091 # GNU General Public License for more details.
20093 # You should have received a copy of the GNU General Public License
20094 # along with GNU Libtool; see the file COPYING. If not, a copy
20095 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20096 # obtained by writing to the Free Software Foundation, Inc.,
20097 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20100 # The names of the tagged configurations supported by this script.
20101 available_tags="CXX "
20103 # ### BEGIN LIBTOOL CONFIG
20105 # Which release of libtool.m4 was used?
20106 macro_version=$macro_version
20107 macro_revision=$macro_revision
20109 # Whether or not to build shared libraries.
20110 build_libtool_libs=$enable_shared
20112 # Whether or not to build static libraries.
20113 build_old_libs=$enable_static
20115 # What type of objects to build.
20118 # Whether or not to optimize for fast installation.
20119 fast_install=$enable_fast_install
20121 # Shell to use when invoking shell scripts.
20124 # An echo program that protects backslashes.
20127 # The PATH separator for the build system.
20128 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20131 host_alias=$host_alias
20135 # The build system.
20136 build_alias=$build_alias
20140 # A sed program that does not truncate output.
20143 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20144 Xsed="\$SED -e 1s/^X//"
20146 # A grep program that handles long lines.
20152 # A literal string matcher.
20155 # A BSD- or MS-compatible name lister.
20158 # Whether we need soft or hard links.
20161 # What is the maximum length of a command?
20162 max_cmd_len=$max_cmd_len
20164 # Object file suffix (normally "o").
20167 # Executable file suffix (normally "").
20170 # whether the shell understands "unset".
20173 # turn spaces into newlines.
20176 # turn newlines into spaces.
20179 # convert \$build file names to \$host format.
20180 to_host_file_cmd=$lt_cv_to_host_file_cmd
20182 # convert \$build files to toolchain format.
20183 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20185 # An object symbol dumper.
20186 OBJDUMP=$lt_OBJDUMP
20188 # Method to check whether dependent libraries are shared objects.
20189 deplibs_check_method=$lt_deplibs_check_method
20191 # Command to use when deplibs_check_method = "file_magic".
20192 file_magic_cmd=$lt_file_magic_cmd
20194 # How to find potential files when deplibs_check_method = "file_magic".
20195 file_magic_glob=$lt_file_magic_glob
20197 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20198 want_nocaseglob=$lt_want_nocaseglob
20200 # DLL creation program.
20201 DLLTOOL=$lt_DLLTOOL
20203 # Command to associate shared and link libraries.
20204 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20209 # Flags to create an archive.
20210 AR_FLAGS=$lt_AR_FLAGS
20212 # How to feed a file listing to the archiver.
20213 archiver_list_spec=$lt_archiver_list_spec
20215 # A symbol stripping program.
20218 # Commands used to install an old-style archive.
20220 old_postinstall_cmds=$lt_old_postinstall_cmds
20221 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20223 # Whether to use a lock for old archive extraction.
20224 lock_old_archive_extraction=$lock_old_archive_extraction
20229 # LTCC compiler flags.
20230 LTCFLAGS=$lt_CFLAGS
20232 # Take the output of nm and produce a listing of raw symbols and C names.
20233 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20235 # Transform the output of nm in a proper C declaration.
20236 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20238 # Transform the output of nm in a C name address pair.
20239 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20241 # Transform the output of nm in a C name address pair when lib prefix is needed.
20242 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20244 # Specify filename containing input files for \$NM.
20245 nm_file_list_spec=$lt_nm_file_list_spec
20247 # The root where to search for dependent libraries,and in which our libraries should be installed.
20248 lt_sysroot=$lt_sysroot
20250 # The name of the directory that contains temporary libtool files.
20253 # Used to examine libraries when file_magic_cmd begins with "file".
20254 MAGIC_CMD=$MAGIC_CMD
20256 # Must we lock files when doing compilation?
20257 need_locks=$lt_need_locks
20260 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20262 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20263 DSYMUTIL=$lt_DSYMUTIL
20265 # Tool to change global to local symbols on Mac OS X.
20268 # Tool to manipulate fat objects and archives on Mac OS X.
20271 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20274 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20275 OTOOL64=$lt_OTOOL64
20277 # Old archive suffix (normally "a").
20280 # Shared library suffix (normally ".so").
20281 shrext_cmds=$lt_shrext_cmds
20283 # The commands to extract the exported symbol list from a shared archive.
20284 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20286 # Variables whose values should be saved in libtool wrapper scripts and
20287 # restored at link time.
20288 variables_saved_for_relink=$lt_variables_saved_for_relink
20290 # Do we need the "lib" prefix for modules?
20291 need_lib_prefix=$need_lib_prefix
20293 # Do we need a version for libraries?
20294 need_version=$need_version
20296 # Library versioning type.
20297 version_type=$version_type
20299 # Shared library runtime path variable.
20300 runpath_var=$runpath_var
20302 # Shared library path variable.
20303 shlibpath_var=$shlibpath_var
20305 # Is shlibpath searched before the hard-coded library search path?
20306 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20308 # Format of library name prefix.
20309 libname_spec=$lt_libname_spec
20311 # List of archive names. First name is the real one, the rest are links.
20312 # The last name is the one that the linker finds with -lNAME
20313 library_names_spec=$lt_library_names_spec
20315 # The coded name of the library, if different from the real name.
20316 soname_spec=$lt_soname_spec
20318 # Permission mode override for installation of shared libraries.
20319 install_override_mode=$lt_install_override_mode
20321 # Command to use after installation of a shared archive.
20322 postinstall_cmds=$lt_postinstall_cmds
20324 # Command to use after uninstallation of a shared archive.
20325 postuninstall_cmds=$lt_postuninstall_cmds
20327 # Commands used to finish a libtool library installation in a directory.
20328 finish_cmds=$lt_finish_cmds
20330 # As "finish_cmds", except a single script fragment to be evaled but
20332 finish_eval=$lt_finish_eval
20334 # Whether we should hardcode library paths into libraries.
20335 hardcode_into_libs=$hardcode_into_libs
20337 # Compile-time system search path for libraries.
20338 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20340 # Run-time system search path for libraries.
20341 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20343 # Whether dlopen is supported.
20344 dlopen_support=$enable_dlopen
20346 # Whether dlopen of programs is supported.
20347 dlopen_self=$enable_dlopen_self
20349 # Whether dlopen of statically linked programs is supported.
20350 dlopen_self_static=$enable_dlopen_self_static
20352 # Commands to strip libraries.
20353 old_striplib=$lt_old_striplib
20354 striplib=$lt_striplib
20357 # The linker used to build libraries.
20360 # How to create reloadable object files.
20361 reload_flag=$lt_reload_flag
20362 reload_cmds=$lt_reload_cmds
20364 # Commands used to build an old-style archive.
20365 old_archive_cmds=$lt_old_archive_cmds
20367 # A language specific compiler.
20370 # Is the compiler the GNU compiler?
20373 # Compiler flag to turn off builtin functions.
20374 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20376 # Additional compiler flags for building library objects.
20377 pic_flag=$lt_lt_prog_compiler_pic
20379 # How to pass a linker flag through the compiler.
20380 wl=$lt_lt_prog_compiler_wl
20382 # Compiler flag to prevent dynamic linking.
20383 link_static_flag=$lt_lt_prog_compiler_static
20385 # Does compiler simultaneously support -c and -o options?
20386 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20388 # Whether or not to add -lc for building shared libraries.
20389 build_libtool_need_lc=$archive_cmds_need_lc
20391 # Whether or not to disallow shared libs when runtime libs are static.
20392 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20394 # Compiler flag to allow reflexive dlopens.
20395 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20397 # Compiler flag to generate shared objects directly from archives.
20398 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20400 # Whether the compiler copes with passing no objects directly.
20401 compiler_needs_object=$lt_compiler_needs_object
20403 # Create an old-style archive from a shared archive.
20404 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20406 # Create a temporary old-style archive to link instead of a shared archive.
20407 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20409 # Commands used to build a shared archive.
20410 archive_cmds=$lt_archive_cmds
20411 archive_expsym_cmds=$lt_archive_expsym_cmds
20413 # Commands used to build a loadable module if different from building
20414 # a shared archive.
20415 module_cmds=$lt_module_cmds
20416 module_expsym_cmds=$lt_module_expsym_cmds
20418 # Whether we are building with GNU ld or not.
20419 with_gnu_ld=$lt_with_gnu_ld
20421 # Flag that allows shared libraries with undefined symbols to be built.
20422 allow_undefined_flag=$lt_allow_undefined_flag
20424 # Flag that enforces no undefined symbols.
20425 no_undefined_flag=$lt_no_undefined_flag
20427 # Flag to hardcode \$libdir into a binary during linking.
20428 # This must work even if \$libdir does not exist
20429 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20431 # Whether we need a single "-rpath" flag with a separated argument.
20432 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20435 # DIR into the resulting binary.
20436 hardcode_direct=$hardcode_direct
20438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20439 # DIR into the resulting binary and the resulting library dependency is
20440 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20441 # library is relocated.
20442 hardcode_direct_absolute=$hardcode_direct_absolute
20444 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20445 # into the resulting binary.
20446 hardcode_minus_L=$hardcode_minus_L
20448 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20449 # into the resulting binary.
20450 hardcode_shlibpath_var=$hardcode_shlibpath_var
20452 # Set to "yes" if building a shared library automatically hardcodes DIR
20453 # into the library and all subsequent libraries and executables linked
20455 hardcode_automatic=$hardcode_automatic
20457 # Set to yes if linker adds runtime paths of dependent libraries
20458 # to runtime path list.
20459 inherit_rpath=$inherit_rpath
20461 # Whether libtool must link a program against all its dependency libraries.
20462 link_all_deplibs=$link_all_deplibs
20464 # Set to "yes" if exported symbols are required.
20465 always_export_symbols=$always_export_symbols
20467 # The commands to list exported symbols.
20468 export_symbols_cmds=$lt_export_symbols_cmds
20470 # Symbols that should not be listed in the preloaded symbols.
20471 exclude_expsyms=$lt_exclude_expsyms
20473 # Symbols that must always be exported.
20474 include_expsyms=$lt_include_expsyms
20476 # Commands necessary for linking programs (against libraries) with templates.
20477 prelink_cmds=$lt_prelink_cmds
20479 # Commands necessary for finishing linking programs.
20480 postlink_cmds=$lt_postlink_cmds
20482 # Specify filename containing input files.
20483 file_list_spec=$lt_file_list_spec
20485 # How to hardcode a shared library path into an executable.
20486 hardcode_action=$hardcode_action
20488 # The directories searched by this compiler when creating a shared library.
20489 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20491 # Dependencies to place before and after the objects being linked to
20492 # create a shared library.
20493 predep_objects=$lt_predep_objects
20494 postdep_objects=$lt_postdep_objects
20495 predeps=$lt_predeps
20496 postdeps=$lt_postdeps
20498 # The library search path used internally by the compiler when linking
20499 # a shared library.
20500 compiler_lib_search_path=$lt_compiler_lib_search_path
20502 # ### END LIBTOOL CONFIG
20508 cat <<\_LT_EOF >> "$cfgfile"
20509 # AIX sometimes has problems with the GCC collect2 program. For some
20510 # reason, if we set the COLLECT_NAMES environment variable, the problems
20511 # vanish in a puff of smoke.
20512 if test "X${COLLECT_NAMES+set}" != Xset; then
20514 export COLLECT_NAMES
20521 ltmain="$ac_aux_dir/ltmain.sh"
20524 # We use sed instead of cat because bash on DJGPP gets confused if
20525 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20526 # text mode, it properly converts lines to CR/LF. This bash problem
20527 # is reportedly fixed, but why not run on old versions too?
20528 sed '$q' "$ltmain" >> "$cfgfile" \
20529 || (rm -f "$cfgfile"; exit 1)
20531 if test x"$xsi_shell" = xyes; then
20532 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20536 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20537 \ * ) func_dirname_result="${3}" ;;\
20539 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20540 && mv -f "$cfgfile.tmp" "$cfgfile" \
20541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20542 test 0 -eq $? || _lt_function_replace_fail=:
20545 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20548 \ func_basename_result="${1##*/}"\
20549 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20550 && mv -f "$cfgfile.tmp" "$cfgfile" \
20551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20552 test 0 -eq $? || _lt_function_replace_fail=:
20555 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20556 func_dirname_and_basename ()\
20559 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20560 \ * ) func_dirname_result="${3}" ;;\
20562 \ func_basename_result="${1##*/}"\
20563 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20564 && mv -f "$cfgfile.tmp" "$cfgfile" \
20565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20566 test 0 -eq $? || _lt_function_replace_fail=:
20569 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20572 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20573 \ # positional parameters, so assign one to ordinary parameter first.\
20574 \ func_stripname_result=${3}\
20575 \ func_stripname_result=${func_stripname_result#"${1}"}\
20576 \ func_stripname_result=${func_stripname_result%"${2}"}\
20577 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20578 && mv -f "$cfgfile.tmp" "$cfgfile" \
20579 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20580 test 0 -eq $? || _lt_function_replace_fail=:
20583 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20584 func_split_long_opt ()\
20586 \ func_split_long_opt_name=${1%%=*}\
20587 \ func_split_long_opt_arg=${1#*=}\
20588 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20589 && mv -f "$cfgfile.tmp" "$cfgfile" \
20590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20591 test 0 -eq $? || _lt_function_replace_fail=:
20594 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20595 func_split_short_opt ()\
20597 \ func_split_short_opt_arg=${1#??}\
20598 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20599 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20600 && mv -f "$cfgfile.tmp" "$cfgfile" \
20601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20602 test 0 -eq $? || _lt_function_replace_fail=:
20605 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20609 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20610 \ *) func_lo2o_result=${1} ;;\
20612 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20613 && mv -f "$cfgfile.tmp" "$cfgfile" \
20614 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20615 test 0 -eq $? || _lt_function_replace_fail=:
20618 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20621 func_xform_result=${1%.*}.lo\
20622 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20623 && mv -f "$cfgfile.tmp" "$cfgfile" \
20624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20625 test 0 -eq $? || _lt_function_replace_fail=:
20628 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20631 func_arith_result=$(( $* ))\
20632 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20633 && mv -f "$cfgfile.tmp" "$cfgfile" \
20634 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20635 test 0 -eq $? || _lt_function_replace_fail=:
20638 sed -e '/^func_len ()$/,/^} # func_len /c\
20641 func_len_result=${#1}\
20642 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20643 && mv -f "$cfgfile.tmp" "$cfgfile" \
20644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20645 test 0 -eq $? || _lt_function_replace_fail=:
20649 if test x"$lt_shell_append" = xyes; then
20650 sed -e '/^func_append ()$/,/^} # func_append /c\
20653 eval "${1}+=\\${2}"\
20654 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20655 && mv -f "$cfgfile.tmp" "$cfgfile" \
20656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20657 test 0 -eq $? || _lt_function_replace_fail=:
20660 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20661 func_append_quoted ()\
20663 \ func_quote_for_eval "${2}"\
20664 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20665 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20666 && mv -f "$cfgfile.tmp" "$cfgfile" \
20667 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20668 test 0 -eq $? || _lt_function_replace_fail=:
20671 # Save a `func_append' function call where possible by direct use of '+='
20672 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20673 && mv -f "$cfgfile.tmp" "$cfgfile" \
20674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20675 test 0 -eq $? || _lt_function_replace_fail=:
20677 # Save a `func_append' function call even when '+=' is not available
20678 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20679 && mv -f "$cfgfile.tmp" "$cfgfile" \
20680 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20681 test 0 -eq $? || _lt_function_replace_fail=:
20684 if test x"$_lt_function_replace_fail" = x":"; then
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20686 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20690 mv -f "$cfgfile" "$ofile" ||
20691 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20695 cat <<_LT_EOF >> "$ofile"
20697 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20699 # The linker used to build libraries.
20702 # How to create reloadable object files.
20703 reload_flag=$lt_reload_flag_CXX
20704 reload_cmds=$lt_reload_cmds_CXX
20706 # Commands used to build an old-style archive.
20707 old_archive_cmds=$lt_old_archive_cmds_CXX
20709 # A language specific compiler.
20710 CC=$lt_compiler_CXX
20712 # Is the compiler the GNU compiler?
20715 # Compiler flag to turn off builtin functions.
20716 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20718 # Additional compiler flags for building library objects.
20719 pic_flag=$lt_lt_prog_compiler_pic_CXX
20721 # How to pass a linker flag through the compiler.
20722 wl=$lt_lt_prog_compiler_wl_CXX
20724 # Compiler flag to prevent dynamic linking.
20725 link_static_flag=$lt_lt_prog_compiler_static_CXX
20727 # Does compiler simultaneously support -c and -o options?
20728 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20730 # Whether or not to add -lc for building shared libraries.
20731 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20733 # Whether or not to disallow shared libs when runtime libs are static.
20734 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20736 # Compiler flag to allow reflexive dlopens.
20737 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20739 # Compiler flag to generate shared objects directly from archives.
20740 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20742 # Whether the compiler copes with passing no objects directly.
20743 compiler_needs_object=$lt_compiler_needs_object_CXX
20745 # Create an old-style archive from a shared archive.
20746 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20748 # Create a temporary old-style archive to link instead of a shared archive.
20749 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20751 # Commands used to build a shared archive.
20752 archive_cmds=$lt_archive_cmds_CXX
20753 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20755 # Commands used to build a loadable module if different from building
20756 # a shared archive.
20757 module_cmds=$lt_module_cmds_CXX
20758 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20760 # Whether we are building with GNU ld or not.
20761 with_gnu_ld=$lt_with_gnu_ld_CXX
20763 # Flag that allows shared libraries with undefined symbols to be built.
20764 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20766 # Flag that enforces no undefined symbols.
20767 no_undefined_flag=$lt_no_undefined_flag_CXX
20769 # Flag to hardcode \$libdir into a binary during linking.
20770 # This must work even if \$libdir does not exist
20771 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20773 # Whether we need a single "-rpath" flag with a separated argument.
20774 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20777 # DIR into the resulting binary.
20778 hardcode_direct=$hardcode_direct_CXX
20780 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20781 # DIR into the resulting binary and the resulting library dependency is
20782 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20783 # library is relocated.
20784 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20786 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20787 # into the resulting binary.
20788 hardcode_minus_L=$hardcode_minus_L_CXX
20790 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20791 # into the resulting binary.
20792 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20794 # Set to "yes" if building a shared library automatically hardcodes DIR
20795 # into the library and all subsequent libraries and executables linked
20797 hardcode_automatic=$hardcode_automatic_CXX
20799 # Set to yes if linker adds runtime paths of dependent libraries
20800 # to runtime path list.
20801 inherit_rpath=$inherit_rpath_CXX
20803 # Whether libtool must link a program against all its dependency libraries.
20804 link_all_deplibs=$link_all_deplibs_CXX
20806 # Set to "yes" if exported symbols are required.
20807 always_export_symbols=$always_export_symbols_CXX
20809 # The commands to list exported symbols.
20810 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20812 # Symbols that should not be listed in the preloaded symbols.
20813 exclude_expsyms=$lt_exclude_expsyms_CXX
20815 # Symbols that must always be exported.
20816 include_expsyms=$lt_include_expsyms_CXX
20818 # Commands necessary for linking programs (against libraries) with templates.
20819 prelink_cmds=$lt_prelink_cmds_CXX
20821 # Commands necessary for finishing linking programs.
20822 postlink_cmds=$lt_postlink_cmds_CXX
20824 # Specify filename containing input files.
20825 file_list_spec=$lt_file_list_spec_CXX
20827 # How to hardcode a shared library path into an executable.
20828 hardcode_action=$hardcode_action_CXX
20830 # The directories searched by this compiler when creating a shared library.
20831 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20833 # Dependencies to place before and after the objects being linked to
20834 # create a shared library.
20835 predep_objects=$lt_predep_objects_CXX
20836 postdep_objects=$lt_postdep_objects_CXX
20837 predeps=$lt_predeps_CXX
20838 postdeps=$lt_postdeps_CXX
20840 # The library search path used internally by the compiler when linking
20841 # a shared library.
20842 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20844 # ### END LIBTOOL TAG CONFIG: CXX
20855 ac_clean_files=$ac_clean_files_save
20857 test $ac_write_fail = 0 ||
20858 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20861 # configure is writing to config.log, and then calls config.status.
20862 # config.status does its own redirection, appending to config.log.
20863 # Unfortunately, on DOS this fails, as config.log is still kept open
20864 # by configure, so config.status won't be able to write to it; its
20865 # output is simply discarded. So we exec the FD to /dev/null,
20866 # effectively closing config.log, so it can be properly (re)opened and
20867 # appended to by config.status. When coming back to configure, we
20868 # need to make the FD available again.
20869 if test "$no_create" != yes; then
20871 ac_config_status_args=
20872 test "$silent" = yes &&
20873 ac_config_status_args="$ac_config_status_args --quiet"
20875 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20877 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20878 # would make configure fail if this is the last instruction.
20879 $ac_cs_success || as_fn_exit 1
20881 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20883 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}