2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xmltooling 1.4.1.
5 # Report bugs to <https://bugs.internet2.edu/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: https://bugs.internet2.edu/ about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='xmltooling'
572 PACKAGE_TARNAME='xmltooling'
573 PACKAGE_VERSION='1.4.1'
574 PACKAGE_STRING='xmltooling 1.4.1'
575 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
578 ac_unique_file="xmltooling"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
745 INSTALL_STRIP_PROGRAM
787 program_transform_name
800 enable_option_checking
805 enable_dependency_tracking
829 ac_precious_vars='build_alias
851 # Initialize some variables set by options.
853 ac_init_version=false
854 ac_unrecognized_opts=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
865 program_transform_name=s,x,x,
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927 -build | --build | --buil | --bui | --bu)
928 ac_prev=build_alias ;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias=$ac_optarg ;;
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev=cache_file ;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file=$ac_optarg ;;
940 cache_file=config.cache ;;
942 -datadir | --datadir | --datadi | --datad)
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir=$ac_optarg ;;
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev=datarootdir ;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir=$ac_optarg ;;
954 -disable-* | --disable-*)
955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 as_fn_error $? "invalid feature name: $ac_useropt"
959 ac_useropt_orig=$ac_useropt
960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep=', ';;
968 eval enable_$ac_useropt=no ;;
970 -docdir | --docdir | --docdi | --doc | --do)
972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
980 -enable-* | --enable-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid feature name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
994 eval enable_$ac_useropt=\$ac_optarg ;;
996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998 | --exec | --exe | --ex)
999 ac_prev=exec_prefix ;;
1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002 | --exec=* | --exe=* | --ex=*)
1003 exec_prefix=$ac_optarg ;;
1005 -gas | --gas | --ga | --g)
1006 # Obsolete; use --with-gas.
1009 -help | --help | --hel | --he | -h)
1010 ac_init_help=long ;;
1011 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012 ac_init_help=recursive ;;
1013 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014 ac_init_help=short ;;
1016 -host | --host | --hos | --ho)
1017 ac_prev=host_alias ;;
1018 -host=* | --host=* | --hos=* | --ho=*)
1019 host_alias=$ac_optarg ;;
1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1025 htmldir=$ac_optarg ;;
1027 -includedir | --includedir | --includedi | --included | --include \
1028 | --includ | --inclu | --incl | --inc)
1029 ac_prev=includedir ;;
1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 includedir=$ac_optarg ;;
1034 -infodir | --infodir | --infodi | --infod | --info | --inf)
1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 infodir=$ac_optarg ;;
1039 -libdir | --libdir | --libdi | --libd)
1041 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 libdir=$ac_optarg ;;
1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045 | --libexe | --libex | --libe)
1046 ac_prev=libexecdir ;;
1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048 | --libexe=* | --libex=* | --libe=*)
1049 libexecdir=$ac_optarg ;;
1051 -localedir | --localedir | --localedi | --localed | --locale)
1052 ac_prev=localedir ;;
1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 localedir=$ac_optarg ;;
1056 -localstatedir | --localstatedir | --localstatedi | --localstated \
1057 | --localstate | --localstat | --localsta | --localst | --locals)
1058 ac_prev=localstatedir ;;
1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 localstatedir=$ac_optarg ;;
1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 mandir=$ac_optarg ;;
1068 -nfp | --nfp | --nf)
1069 # Obsolete; use --without-fp.
1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073 | --no-cr | --no-c | -n)
1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082 | --oldin | --oldi | --old | --ol | --o)
1083 ac_prev=oldincludedir ;;
1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 oldincludedir=$ac_optarg ;;
1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 prefix=$ac_optarg ;;
1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095 | --program-pre | --program-pr | --program-p)
1096 ac_prev=program_prefix ;;
1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 program_prefix=$ac_optarg ;;
1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102 | --program-suf | --program-su | --program-s)
1103 ac_prev=program_suffix ;;
1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 program_suffix=$ac_optarg ;;
1108 -program-transform-name | --program-transform-name \
1109 | --program-transform-nam | --program-transform-na \
1110 | --program-transform-n | --program-transform- \
1111 | --program-transform | --program-transfor \
1112 | --program-transfo | --program-transf \
1113 | --program-trans | --program-tran \
1114 | --progr-tra | --program-tr | --program-t)
1115 ac_prev=program_transform_name ;;
1116 -program-transform-name=* | --program-transform-name=* \
1117 | --program-transform-nam=* | --program-transform-na=* \
1118 | --program-transform-n=* | --program-transform-=* \
1119 | --program-transform=* | --program-transfor=* \
1120 | --program-transfo=* | --program-transf=* \
1121 | --program-trans=* | --program-tran=* \
1122 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 program_transform_name=$ac_optarg ;;
1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 pdfdir=$ac_optarg ;;
1130 -psdir | --psdir | --psdi | --psd | --ps)
1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136 | -silent | --silent | --silen | --sile | --sil)
1139 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1141 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1143 sbindir=$ac_optarg ;;
1145 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1146 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1147 | --sharedst | --shareds | --shared | --share | --shar \
1149 ac_prev=sharedstatedir ;;
1150 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1151 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1152 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1154 sharedstatedir=$ac_optarg ;;
1156 -site | --site | --sit)
1158 -site=* | --site=* | --sit=*)
1161 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1163 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1164 srcdir=$ac_optarg ;;
1166 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1167 | --syscon | --sysco | --sysc | --sys | --sy)
1168 ac_prev=sysconfdir ;;
1169 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1170 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1171 sysconfdir=$ac_optarg ;;
1173 -target | --target | --targe | --targ | --tar | --ta | --t)
1174 ac_prev=target_alias ;;
1175 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1176 target_alias=$ac_optarg ;;
1178 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1181 -version | --version | --versio | --versi | --vers | -V)
1182 ac_init_version=: ;;
1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 as_fn_error $? "invalid package name: $ac_useropt"
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1198 eval with_$ac_useropt=\$ac_optarg ;;
1200 -without-* | --without-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1214 eval with_$ac_useropt=no ;;
1217 # Obsolete; use --with-x.
1220 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1221 | --x-incl | --x-inc | --x-in | --x-i)
1222 ac_prev=x_includes ;;
1223 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1224 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1225 x_includes=$ac_optarg ;;
1227 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1228 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1229 ac_prev=x_libraries ;;
1230 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1231 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1232 x_libraries=$ac_optarg ;;
1234 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information"
1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' | [0-9]* | *[!_$as_cr_alnum]* )
1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1245 eval $ac_envvar=\$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259 if test -n "$ac_prev"; then
1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error $? "missing argument to $ac_option"
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val=\$$ac_var
1279 # Remove trailing slashes.
1282 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x; then
1302 if test "x$build_alias" = x; then
1303 cross_compiling=maybe
1304 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1305 If a cross compiler is detected then cross compile mode will be used" >&2
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1314 test "$silent" = yes && exec 6>/dev/null
1317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di=`ls -di .` &&
1319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error $? "working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error $? "pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var in $ac_precious_vars; do
1378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_${ac_var}_value=\$${ac_var}
1380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures xmltooling 1.4.1 to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking ...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/xmltooling]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1454 --build=BUILD configure for building on BUILD [guessed]
1455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive ) echo "Configuration of xmltooling 1.4.1:";;
1466 --disable-option-checking ignore unrecognized --enable/--with options
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --enable-static[=PKGS] build static libraries [default=no]
1470 --enable-shared[=PKGS] build shared libraries [default=yes]
1471 --enable-fast-install[=PKGS]
1472 optimize for fast installation [default=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --disable-libtool-lock avoid locking (might break parallel builds)
1476 --disable-doxygen-doc don't generate any doxygen documentation
1477 --disable-doxygen-dot don't generate graphics for doxygen documentation
1478 --enable-doxygen-man generate doxygen manual pages
1479 --enable-doxygen-rtf generate doxygen RTF documentation
1480 --enable-doxygen-xml generate doxygen XML documentation
1481 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1482 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1484 --disable-doxygen-html don't generate doxygen plain HTML documentation
1485 --enable-doxygen-ps generate doxygen PostScript documentation
1486 --enable-doxygen-pdf generate doxygen PDF documentation
1487 --enable-debug Have GCC compile with symbols (Default = no)
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-pic try to use only PIC/non-PIC objects [default=use
1494 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1495 --with-sysroot=DIR Search for dependent libraries within DIR
1496 (or the compiler's sysroot if not specified).
1497 --with-log4shib=PATH where log4shib-config is installed
1498 --with-log4cpp=PATH where log4cpp-config is installed
1499 --with-xerces=PATH where xerces-c is installed
1500 --with-xmlsec=PATH where xmlsec is installed
1501 --with-openssl=PATH where openssl is installed
1502 --with-curl=PATH where curl-config is installed
1503 --with-cxxtest=PATH where cxxtest is installed
1505 Some influential environment variables:
1506 CC C compiler command
1507 CFLAGS C compiler flags
1508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1509 nonstandard directory <lib dir>
1510 LIBS libraries to pass to the linker, e.g. -l<library>
1511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512 you have headers in a nonstandard directory <include dir>
1515 a4wide (default), a4, letter, legal or executive
1516 CXX C++ compiler command
1517 CXXFLAGS C++ compiler flags
1518 CXXCPP C++ preprocessor
1520 Use these variables to override the choices made by `configure' or to help
1521 it to find libraries and programs with nonstandard names/locations.
1523 Report bugs to <https://bugs.internet2.edu/>.
1528 if test "$ac_init_help" = "recursive"; then
1529 # If there are subdirs, report their specific --help.
1530 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1531 test -d "$ac_dir" ||
1532 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1540 # A ".." for each directory in $ac_dir_suffix.
1541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1542 case $ac_top_builddir_sub in
1543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1547 ac_abs_top_builddir=$ac_pwd
1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1549 # for backward compatibility:
1550 ac_top_builddir=$ac_top_build_prefix
1553 .) # We are building in place.
1555 ac_top_srcdir=$ac_top_builddir_sub
1556 ac_abs_top_srcdir=$ac_pwd ;;
1557 [\\/]* | ?:[\\/]* ) # Absolute name.
1558 ac_srcdir=$srcdir$ac_dir_suffix;
1559 ac_top_srcdir=$srcdir
1560 ac_abs_top_srcdir=$srcdir ;;
1562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563 ac_top_srcdir=$ac_top_build_prefix$srcdir
1564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1568 cd "$ac_dir" || { ac_status=$?; continue; }
1569 # Check for guested configure.
1570 if test -f "$ac_srcdir/configure.gnu"; then
1572 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573 elif test -f "$ac_srcdir/configure"; then
1575 $SHELL "$ac_srcdir/configure" --help=recursive
1577 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579 cd "$ac_pwd" || { ac_status=$?; break; }
1583 test -n "$ac_init_help" && exit $ac_status
1584 if $ac_init_version; then
1586 xmltooling configure 1.4.1
1587 generated by GNU Autoconf 2.68
1589 Copyright (C) 2010 Free Software Foundation, Inc.
1590 This configure script is free software; the Free Software Foundation
1591 gives unlimited permission to copy, distribute and modify it.
1596 ## ------------------------ ##
1597 ## Autoconf initialization. ##
1598 ## ------------------------ ##
1600 # ac_fn_c_try_compile LINENO
1601 # --------------------------
1602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1603 ac_fn_c_try_compile ()
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 rm -f conftest.$ac_objext
1607 if { { ac_try="$ac_compile"
1609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_compile") 2>conftest.err
1616 if test -s conftest.err; then
1617 grep -v '^ *+' conftest.err >conftest.er1
1618 cat conftest.er1 >&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && {
1623 test -z "$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1625 } && test -s conftest.$ac_objext; then :
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 as_fn_set_status $ac_retval
1636 } # ac_fn_c_try_compile
1638 # ac_fn_c_try_link LINENO
1639 # -----------------------
1640 # Try to link conftest.$ac_ext, and return whether this succeeded.
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 rm -f conftest.$ac_objext conftest$ac_exeext
1645 if { { ac_try="$ac_link"
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_link") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && {
1661 test -z "$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1663 } && test -s conftest$ac_exeext && {
1664 test "$cross_compiling" = yes ||
1665 $as_test_x conftest$ac_exeext
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1674 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1675 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1676 # interfere with the next link command; also delete a directory that is
1677 # left behind by Apple's compiler. We do this before executing the actions.
1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1682 } # ac_fn_c_try_link
1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists and can be compiled using the include files in
1687 # INCLUDES, setting the cache variable VAR accordingly.
1688 ac_fn_c_check_header_compile ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1701 if ac_fn_c_try_compile "$LINENO"; then :
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 } # ac_fn_c_check_header_compile
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 if { { ac_try="$ac_cpp conftest.$ac_ext"
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } > conftest.i && {
1737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=$ac_status
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1809 #define $2 innocuous_$2
1811 /* System header to define __stub macros and hopefully few prototypes,
1812 which can conflict with char $2 (); below.
1813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814 <limits.h> exists even on freestanding compilers. */
1817 # include <limits.h>
1819 # include <assert.h>
1824 /* Override any GCC internal prototype to avoid an error.
1825 Use char because int might match the return type of a GCC
1826 builtin and then its argument prototype would still apply. */
1831 /* The GNU C library defines this for functions which it implements
1832 to always fail with ENOSYS. Some functions are actually named
1833 something starting with __ and the normal name is an alias. */
1834 #if defined __stub_$2 || defined __stub___$2
1846 if ac_fn_c_try_link "$LINENO"; then :
1851 rm -f core conftest.err conftest.$ac_objext \
1852 conftest$ac_exeext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_func
1861 # ac_fn_cxx_try_compile LINENO
1862 # ----------------------------
1863 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_cxx_try_compile ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 rm -f conftest.$ac_objext
1868 if { { ac_try="$ac_compile"
1870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_compile") 2>conftest.err
1877 if test -s conftest.err; then
1878 grep -v '^ *+' conftest.err >conftest.er1
1879 cat conftest.er1 >&5
1880 mv -f conftest.er1 conftest.err
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; } && {
1884 test -z "$ac_cxx_werror_flag" ||
1885 test ! -s conftest.err
1886 } && test -s conftest.$ac_objext; then :
1889 $as_echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.$ac_ext >&5
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 as_fn_set_status $ac_retval
1897 } # ac_fn_cxx_try_compile
1899 # ac_fn_cxx_try_cpp LINENO
1900 # ------------------------
1901 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1902 ac_fn_cxx_try_cpp ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 if { { ac_try="$ac_cpp conftest.$ac_ext"
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } > conftest.i && {
1921 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1922 test ! -s conftest.err
1926 $as_echo "$as_me: failed program was:" >&5
1927 sed 's/^/| /' conftest.$ac_ext >&5
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 as_fn_set_status $ac_retval
1934 } # ac_fn_cxx_try_cpp
1936 # ac_fn_cxx_try_link LINENO
1937 # -------------------------
1938 # Try to link conftest.$ac_ext, and return whether this succeeded.
1939 ac_fn_cxx_try_link ()
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 rm -f conftest.$ac_objext conftest$ac_exeext
1943 if { { ac_try="$ac_link"
1945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1946 *) ac_try_echo=$ac_try;;
1948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949 $as_echo "$ac_try_echo"; } >&5
1950 (eval "$ac_link") 2>conftest.err
1952 if test -s conftest.err; then
1953 grep -v '^ *+' conftest.err >conftest.er1
1954 cat conftest.er1 >&5
1955 mv -f conftest.er1 conftest.err
1957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958 test $ac_status = 0; } && {
1959 test -z "$ac_cxx_werror_flag" ||
1960 test ! -s conftest.err
1961 } && test -s conftest$ac_exeext && {
1962 test "$cross_compiling" = yes ||
1963 $as_test_x conftest$ac_exeext
1967 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.$ac_ext >&5
1972 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1973 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1974 # interfere with the next link command; also delete a directory that is
1975 # left behind by Apple's compiler. We do this before executing the actions.
1976 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1980 } # ac_fn_cxx_try_link
1982 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1983 # -------------------------------------------
1984 # Tests whether TYPE exists after having included INCLUDES, setting cache
1985 # variable VAR accordingly.
1986 ac_fn_c_check_type ()
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1990 $as_echo_n "checking for $2... " >&6; }
1991 if eval \${$3+:} false; then :
1992 $as_echo_n "(cached) " >&6
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2007 if ac_fn_c_try_compile "$LINENO"; then :
2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2020 if ac_fn_c_try_compile "$LINENO"; then :
2025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031 $as_echo "$ac_res" >&6; }
2032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034 } # ac_fn_c_check_type
2036 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2037 # --------------------------------------------
2038 # Tries to find the compile-time value of EXPR in a program that includes
2039 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2041 ac_fn_c_compute_int ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 if test "$cross_compiling" = yes; then
2045 # Depending upon the size, compute the lo and hi bounds.
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2052 static int test_array [1 - 2 * !(($2) >= 0)];
2059 if ac_fn_c_try_compile "$LINENO"; then :
2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h. */
2068 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 ac_hi=$ac_mid; break
2078 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2079 if test $ac_lo -le $ac_mid; then
2083 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2094 static int test_array [1 - 2 * !(($2) < 0)];
2101 if ac_fn_c_try_compile "$LINENO"; then :
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2110 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2117 if ac_fn_c_try_compile "$LINENO"; then :
2118 ac_lo=$ac_mid; break
2120 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2121 if test $ac_mid -le $ac_hi; then
2125 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2135 # Binary search between lo and hi bounds.
2136 while test "x$ac_lo" != "x$ac_hi"; do
2137 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2144 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2151 if ac_fn_c_try_compile "$LINENO"; then :
2154 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2166 static long int longval () { return $2; }
2167 static unsigned long int ulongval () { return $2; }
2174 FILE *f = fopen ("conftest.val", "w");
2179 long int i = longval ();
2182 fprintf (f, "%ld", i);
2186 unsigned long int i = ulongval ();
2189 fprintf (f, "%lu", i);
2191 /* Do not output a trailing newline, as this causes \r\n confusion
2192 on some platforms. */
2193 return ferror (f) || fclose (f) != 0;
2199 if ac_fn_c_try_run "$LINENO"; then :
2200 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2205 conftest.$ac_objext conftest.beam conftest.$ac_ext
2209 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2210 as_fn_set_status $ac_retval
2212 } # ac_fn_c_compute_int
2214 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2215 # -------------------------------------------------------
2216 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2217 # the include files in INCLUDES and setting the cache variable VAR
2219 ac_fn_c_check_header_mongrel ()
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 if eval \${$3+:} false; then :
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224 $as_echo_n "checking for $2... " >&6; }
2225 if eval \${$3+:} false; then :
2226 $as_echo_n "(cached) " >&6
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2230 $as_echo "$ac_res" >&6; }
2232 # Is the header compilable?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2234 $as_echo_n "checking $2 usability... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2240 if ac_fn_c_try_compile "$LINENO"; then :
2241 ac_header_compiler=yes
2243 ac_header_compiler=no
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2247 $as_echo "$ac_header_compiler" >&6; }
2249 # Is the header present?
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2251 $as_echo_n "checking $2 presence... " >&6; }
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2256 if ac_fn_c_try_cpp "$LINENO"; then :
2257 ac_header_preproc=yes
2259 ac_header_preproc=no
2261 rm -f conftest.err conftest.i conftest.$ac_ext
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2263 $as_echo "$ac_header_preproc" >&6; }
2265 # So? What about this header?
2266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2269 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2271 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2275 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2277 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2279 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2281 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2283 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2284 ( $as_echo "## ------------------------------------------ ##
2285 ## Report this to https://bugs.internet2.edu/ ##
2286 ## ------------------------------------------ ##"
2287 ) | sed "s/^/$as_me: WARNING: /" >&2
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2291 $as_echo_n "checking for $2... " >&6; }
2292 if eval \${$3+:} false; then :
2293 $as_echo_n "(cached) " >&6
2295 eval "$3=\$ac_header_compiler"
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2299 $as_echo "$ac_res" >&6; }
2301 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2303 } # ac_fn_c_check_header_mongrel
2305 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2306 # ---------------------------------------------------------
2307 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2308 # the include files in INCLUDES and setting the cache variable VAR
2310 ac_fn_cxx_check_header_mongrel ()
2312 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2313 if eval \${$3+:} false; then :
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2315 $as_echo_n "checking for $2... " >&6; }
2316 if eval \${$3+:} false; then :
2317 $as_echo_n "(cached) " >&6
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2323 # Is the header compilable?
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2325 $as_echo_n "checking $2 usability... " >&6; }
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2331 if ac_fn_cxx_try_compile "$LINENO"; then :
2332 ac_header_compiler=yes
2334 ac_header_compiler=no
2336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2338 $as_echo "$ac_header_compiler" >&6; }
2340 # Is the header present?
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2342 $as_echo_n "checking $2 presence... " >&6; }
2343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2347 if ac_fn_cxx_try_cpp "$LINENO"; then :
2348 ac_header_preproc=yes
2350 ac_header_preproc=no
2352 rm -f conftest.err conftest.i conftest.$ac_ext
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2354 $as_echo "$ac_header_preproc" >&6; }
2356 # So? What about this header?
2357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2360 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2362 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2366 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2368 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2370 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2372 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2374 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2375 ( $as_echo "## ------------------------------------------ ##
2376 ## Report this to https://bugs.internet2.edu/ ##
2377 ## ------------------------------------------ ##"
2378 ) | sed "s/^/$as_me: WARNING: /" >&2
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2382 $as_echo_n "checking for $2... " >&6; }
2383 if eval \${$3+:} false; then :
2384 $as_echo_n "(cached) " >&6
2386 eval "$3=\$ac_header_compiler"
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2390 $as_echo "$ac_res" >&6; }
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2394 } # ac_fn_cxx_check_header_mongrel
2396 # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
2397 # -----------------------------------------------
2398 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2400 ac_fn_cxx_check_decl ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 as_decl_name=`echo $2|sed 's/ *(.*//'`
2404 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2406 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2407 if eval \${$3+:} false; then :
2408 $as_echo_n "(cached) " >&6
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2416 #ifndef $as_decl_name
2418 (void) $as_decl_use;
2420 (void) $as_decl_name;
2428 if ac_fn_cxx_try_compile "$LINENO"; then :
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2440 } # ac_fn_cxx_check_decl
2442 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2443 # ---------------------------------------------
2444 # Tests whether TYPE exists after having included INCLUDES, setting cache
2445 # variable VAR accordingly.
2446 ac_fn_cxx_check_type ()
2448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2450 $as_echo_n "checking for $2... " >&6; }
2451 if eval \${$3+:} false; then :
2452 $as_echo_n "(cached) " >&6
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2467 if ac_fn_cxx_try_compile "$LINENO"; then :
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2480 if ac_fn_cxx_try_compile "$LINENO"; then :
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2491 $as_echo "$ac_res" >&6; }
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 } # ac_fn_cxx_check_type
2495 cat >config.log <<_ACEOF
2496 This file contains any messages produced by compilers while
2497 running configure, to aid debugging if configure makes a mistake.
2499 It was created by xmltooling $as_me 1.4.1, which was
2500 generated by GNU Autoconf 2.68. Invocation command line was
2512 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2513 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2514 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2515 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2516 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2518 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2519 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2521 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2522 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2523 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2524 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2525 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2526 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2527 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir=.
2536 $as_echo "PATH: $as_dir"
2552 # Keep a trace of the command line.
2553 # Strip out --no-create and --no-recursion so they do not pile up.
2554 # Strip out --silent because we don't want to record it for future runs.
2555 # Also quote any args containing shell meta-characters.
2556 # Make two passes to allow for proper duplicate-argument suppression.
2560 ac_must_keep_next=false
2566 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2568 | -silent | --silent | --silen | --sile | --sil)
2571 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2574 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2576 as_fn_append ac_configure_args1 " '$ac_arg'"
2577 if test $ac_must_keep_next = true; then
2578 ac_must_keep_next=false # Got value, back to normal.
2581 *=* | --config-cache | -C | -disable-* | --disable-* \
2582 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2583 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2584 | -with-* | --with-* | -without-* | --without-* | --x)
2585 case "$ac_configure_args0 " in
2586 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2589 -* ) ac_must_keep_next=true ;;
2592 as_fn_append ac_configure_args " '$ac_arg'"
2597 { ac_configure_args0=; unset ac_configure_args0;}
2598 { ac_configure_args1=; unset ac_configure_args1;}
2600 # When interrupted or exit'd, cleanup temporary files, and complete
2601 # config.log. We remove comments because anyway the quotes in there
2602 # would cause problems or look ugly.
2603 # WARNING: Use '\'' to represent an apostrophe within the trap.
2604 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2605 trap 'exit_status=$?
2606 # Save into config.log some information that might help in debugging.
2610 $as_echo "## ---------------- ##
2611 ## Cache variables. ##
2612 ## ---------------- ##"
2614 # The following way of writing the cache mishandles newlines in values,
2616 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2617 eval ac_val=\$$ac_var
2621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2625 _ | IFS | as_nl) ;; #(
2626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2627 *) { eval $ac_var=; unset $ac_var;} ;;
2632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2633 *${as_nl}ac_space=\ *)
2635 "s/'\''/'\''\\\\'\'''\''/g;
2636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2646 $as_echo "## ----------------- ##
2647 ## Output variables. ##
2648 ## ----------------- ##"
2650 for ac_var in $ac_subst_vars
2652 eval ac_val=\$$ac_var
2654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2656 $as_echo "$ac_var='\''$ac_val'\''"
2660 if test -n "$ac_subst_files"; then
2661 $as_echo "## ------------------- ##
2662 ## File substitutions. ##
2663 ## ------------------- ##"
2665 for ac_var in $ac_subst_files
2667 eval ac_val=\$$ac_var
2669 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2671 $as_echo "$ac_var='\''$ac_val'\''"
2676 if test -s confdefs.h; then
2677 $as_echo "## ----------- ##
2684 test "$ac_signal" != 0 &&
2685 $as_echo "$as_me: caught signal $ac_signal"
2686 $as_echo "$as_me: exit $exit_status"
2688 rm -f core *.core core.conftest.* &&
2689 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2692 for ac_signal in 1 2 13 15; do
2693 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2697 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2698 rm -f -r conftest* confdefs.h
2700 $as_echo "/* confdefs.h */" > confdefs.h
2702 # Predefined preprocessor variables.
2704 cat >>confdefs.h <<_ACEOF
2705 #define PACKAGE_NAME "$PACKAGE_NAME"
2708 cat >>confdefs.h <<_ACEOF
2709 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2712 cat >>confdefs.h <<_ACEOF
2713 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2716 cat >>confdefs.h <<_ACEOF
2717 #define PACKAGE_STRING "$PACKAGE_STRING"
2720 cat >>confdefs.h <<_ACEOF
2721 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2724 cat >>confdefs.h <<_ACEOF
2725 #define PACKAGE_URL "$PACKAGE_URL"
2729 # Let the site file select an alternate cache file if it wants to.
2730 # Prefer an explicitly selected file to automatically selected ones.
2733 if test -n "$CONFIG_SITE"; then
2734 # We do not want a PATH search for config.site.
2735 case $CONFIG_SITE in #((
2736 -*) ac_site_file1=./$CONFIG_SITE;;
2737 */*) ac_site_file1=$CONFIG_SITE;;
2738 *) ac_site_file1=./$CONFIG_SITE;;
2740 elif test "x$prefix" != xNONE; then
2741 ac_site_file1=$prefix/share/config.site
2742 ac_site_file2=$prefix/etc/config.site
2744 ac_site_file1=$ac_default_prefix/share/config.site
2745 ac_site_file2=$ac_default_prefix/etc/config.site
2747 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2749 test "x$ac_site_file" = xNONE && continue
2750 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2752 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2753 sed 's/^/| /' "$ac_site_file" >&5
2755 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757 as_fn_error $? "failed to load site script $ac_site_file
2758 See \`config.log' for more details" "$LINENO" 5; }
2762 if test -r "$cache_file"; then
2763 # Some versions of bash will fail to source /dev/null (special files
2764 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2765 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2767 $as_echo "$as_me: loading cache $cache_file" >&6;}
2769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2770 *) . "./$cache_file";;
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2775 $as_echo "$as_me: creating cache $cache_file" >&6;}
2779 # Check that the precious variables saved in the cache have kept the same
2781 ac_cache_corrupted=false
2782 for ac_var in $ac_precious_vars; do
2783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2784 eval ac_new_set=\$ac_env_${ac_var}_set
2785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2786 eval ac_new_val=\$ac_env_${ac_var}_value
2787 case $ac_old_set,$ac_new_set in
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2790 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2791 ac_cache_corrupted=: ;;
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2794 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2795 ac_cache_corrupted=: ;;
2798 if test "x$ac_old_val" != "x$ac_new_val"; then
2799 # differences in whitespace do not lead to failure.
2800 ac_old_val_w=`echo x $ac_old_val`
2801 ac_new_val_w=`echo x $ac_new_val`
2802 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2804 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2805 ac_cache_corrupted=:
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2808 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2809 eval $ac_var=\$ac_old_val
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2812 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2814 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2817 # Pass precious variables to config.status.
2818 if test "$ac_new_set" = set; then
2820 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2821 *) ac_arg=$ac_var=$ac_new_val ;;
2823 case " $ac_configure_args " in
2824 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2825 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2829 if $ac_cache_corrupted; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2833 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2834 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2836 ## -------------------- ##
2837 ## Main body of script. ##
2838 ## -------------------- ##
2841 ac_cpp='$CPP $CPPFLAGS'
2842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2849 for ac_dir in build-aux "$srcdir"/build-aux; do
2850 if test -f "$ac_dir/install-sh"; then
2852 ac_install_sh="$ac_aux_dir/install-sh -c"
2854 elif test -f "$ac_dir/install.sh"; then
2856 ac_install_sh="$ac_aux_dir/install.sh -c"
2858 elif test -f "$ac_dir/shtool"; then
2860 ac_install_sh="$ac_aux_dir/shtool install -c"
2864 if test -z "$ac_aux_dir"; then
2865 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2868 # These three variables are undocumented and unsupported,
2869 # and are intended to be withdrawn in a future Autoconf release.
2870 # They can cause serious problems if a builder's source tree is in a directory
2871 # whose full name contains unusual characters.
2872 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2873 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2874 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2878 am__api_version='1.11'
2880 # Find a good install program. We prefer a C program (faster),
2881 # so one script is as good as another. But avoid the broken or
2882 # incompatible versions:
2883 # SysV /etc/install, /usr/sbin/install
2884 # SunOS /usr/etc/install
2885 # IRIX /sbin/install
2887 # AmigaOS /C/install, which installs bootblocks on floppy discs
2888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2891 # OS/2's system install, which has a completely different semantic
2892 # ./install, which can be erroneously created by make from ./install.sh.
2893 # Reject install programs that cannot install multiple files.
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2895 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2896 if test -z "$INSTALL"; then
2897 if ${ac_cv_path_install+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir=.
2905 # Account for people who put trailing slashes in PATH elements.
2906 case $as_dir/ in #((
2907 ./ | .// | /[cC]/* | \
2908 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2909 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2912 # OSF1 and SCO ODT 3.0 have their own names for install.
2913 # Don't use installbsd from OSF since it installs stuff as root
2915 for ac_prog in ginstall scoinst install; do
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2918 if test $ac_prog = install &&
2919 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2920 # AIX install. It has an incompatible calling convention.
2922 elif test $ac_prog = install &&
2923 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2924 # program-specific install script used by HP pwplus--don't use.
2927 rm -rf conftest.one conftest.two conftest.dir
2928 echo one > conftest.one
2929 echo two > conftest.two
2931 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2932 test -s conftest.one && test -s conftest.two &&
2933 test -s conftest.dir/conftest.one &&
2934 test -s conftest.dir/conftest.two
2936 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2949 rm -rf conftest.one conftest.two conftest.dir
2952 if test "${ac_cv_path_install+set}" = set; then
2953 INSTALL=$ac_cv_path_install
2955 # As a last resort, use the slow shell script. Don't cache a
2956 # value for INSTALL within a source directory, because that will
2957 # break other packages using the cache if that directory is
2958 # removed, or if the value is a relative name.
2959 INSTALL=$ac_install_sh
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2963 $as_echo "$INSTALL" >&6; }
2965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2966 # It thinks the first close brace ends the variable substitution.
2967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2971 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2974 $as_echo_n "checking whether build environment is sane... " >&6; }
2977 echo timestamp > conftest.file
2978 # Reject unsafe characters in $srcdir or the absolute working directory
2979 # name. Accept space and tab only in the latter.
2983 *[\\\"\#\$\&\'\`$am_lf]*)
2984 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2987 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2988 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2991 # Do `set' in a subshell so we don't clobber the current shell's
2992 # arguments. Must try -L first in case configure is actually a
2993 # symlink; some systems play weird games with the mod time of symlinks
2994 # (eg FreeBSD returns the mod time of the symlink's containing
2997 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2998 if test "$*" = "X"; then
3000 set X `ls -t "$srcdir/configure" conftest.file`
3003 if test "$*" != "X $srcdir/configure conftest.file" \
3004 && test "$*" != "X conftest.file $srcdir/configure"; then
3006 # If neither matched, then we have a broken ls. This can happen
3007 # if, for instance, CONFIG_SHELL is bash and it inherits a
3008 # broken ls alias from the environment. This has actually
3009 # happened. Such a system could not be considered "sane".
3010 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3011 alias in your environment" "$LINENO" 5
3014 test "$2" = conftest.file
3020 as_fn_error $? "newly created file is older than distributed files!
3021 Check your system clock" "$LINENO" 5
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3024 $as_echo "yes" >&6; }
3025 test "$program_prefix" != NONE &&
3026 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3027 # Use a double $ so make ignores it.
3028 test "$program_suffix" != NONE &&
3029 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3030 # Double any \ or $.
3031 # By default was `s,x,x', remove it if useless.
3032 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3033 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3035 # expand $ac_aux_dir to an absolute path
3036 am_aux_dir=`cd $ac_aux_dir && pwd`
3038 if test x"${MISSING+set}" != xset; then
3041 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3043 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3046 # Use eval to expand $SHELL
3047 if eval "$MISSING --run true"; then
3048 am_missing_run="$MISSING --run "
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3052 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3055 if test x"${install_sh}" != xset; then
3058 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3060 install_sh="\${SHELL} $am_aux_dir/install-sh"
3064 # Installed binaries are usually stripped using `strip' when the user
3065 # run `make install-strip'. However `strip' might not be the right
3066 # tool to use in cross-compilation environments, therefore Automake
3067 # will honor the `STRIP' environment variable to overrule this program.
3068 if test "$cross_compiling" != no; then
3069 if test -n "$ac_tool_prefix"; then
3070 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3071 set dummy ${ac_tool_prefix}strip; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_STRIP+:} false; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$STRIP"; then
3078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 STRIP=$ac_cv_prog_STRIP
3098 if test -n "$STRIP"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3100 $as_echo "$STRIP" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3108 if test -z "$ac_cv_prog_STRIP"; then
3110 # Extract the first word of "strip", so it can be a program name with args.
3111 set dummy strip; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$ac_ct_STRIP"; then
3118 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127 ac_cv_prog_ac_ct_STRIP="strip"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3138 if test -n "$ac_ct_STRIP"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3140 $as_echo "$ac_ct_STRIP" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3146 if test "x$ac_ct_STRIP" = x; then
3149 case $cross_compiling:$ac_tool_warned in
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3153 ac_tool_warned=yes ;;
3158 STRIP="$ac_cv_prog_STRIP"
3162 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3165 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3166 if test -z "$MKDIR_P"; then
3167 if ${ac_cv_path_mkdir+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3174 test -z "$as_dir" && as_dir=.
3175 for ac_prog in mkdir gmkdir; do
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3178 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3179 'mkdir (GNU coreutils) '* | \
3180 'mkdir (coreutils) '* | \
3181 'mkdir (fileutils) '4.1*)
3182 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3192 test -d ./--version && rmdir ./--version
3193 if test "${ac_cv_path_mkdir+set}" = set; then
3194 MKDIR_P="$ac_cv_path_mkdir -p"
3196 # As a last resort, use the slow shell script. Don't cache a
3197 # value for MKDIR_P within a source directory, because that will
3198 # break other packages using the cache if that directory is
3199 # removed, or if the value is a relative name.
3200 MKDIR_P="$ac_install_sh -d"
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3204 $as_echo "$MKDIR_P" >&6; }
3208 [\\/$]* | ?:[\\/]*) ;;
3209 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3212 for ac_prog in gawk mawk nawk awk
3214 # Extract the first word of "$ac_prog", so it can be a program name with args.
3215 set dummy $ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_AWK+:} false; then :
3219 $as_echo_n "(cached) " >&6
3221 if test -n "$AWK"; then
3222 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_AWK="$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 if test -n "$AWK"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3244 $as_echo "$AWK" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3251 test -n "$AWK" && break
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3255 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3257 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3258 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 cat >conftest.make <<\_ACEOF
3264 @echo '@@@%%%=$(MAKE)=@@@%%%'
3266 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3267 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3269 eval ac_cv_prog_make_${ac_make}_set=yes;;
3271 eval ac_cv_prog_make_${ac_make}_set=no;;
3275 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3277 $as_echo "yes" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 SET_MAKE="MAKE=${MAKE-make}"
3285 rm -rf .tst 2>/dev/null
3286 mkdir .tst 2>/dev/null
3287 if test -d .tst; then
3292 rmdir .tst 2>/dev/null
3294 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3295 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3296 # is not polluted with repeated "-I."
3297 am__isrc=' -I$(srcdir)'
3298 # test to see if srcdir already configured
3299 if test -f $srcdir/config.status; then
3300 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3304 # test whether we have cygpath
3305 if test -z "$CYGPATH_W"; then
3306 if (cygpath --version) >/dev/null 2>/dev/null; then
3307 CYGPATH_W='cygpath -w'
3314 # Define the identity of the package.
3315 PACKAGE='xmltooling'
3319 cat >>confdefs.h <<_ACEOF
3320 #define PACKAGE "$PACKAGE"
3324 cat >>confdefs.h <<_ACEOF
3325 #define VERSION "$VERSION"
3328 # Some tools Automake needs.
3330 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3333 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3336 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3339 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3342 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3344 # We need awk for the "check" target. The system "awk" is bad on
3346 # Always define AMTAR for backward compatibility.
3348 AMTAR=${AMTAR-"${am_missing_run}tar"}
3350 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3356 # Check whether --enable-static was given.
3357 if test "${enable_static+set}" = set; then :
3358 enableval=$enable_static; p=${PACKAGE-default}
3360 yes) enable_static=yes ;;
3361 no) enable_static=no ;;
3364 # Look at the argument we got. We use all the common list separators.
3365 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3366 for pkg in $enableval; do
3368 if test "X$pkg" = "X$p"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3390 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3396 macro_revision='1.3293'
3410 ltmain="$ac_aux_dir/ltmain.sh"
3412 # Make sure we can run config.sub.
3413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3414 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3417 $as_echo_n "checking build system type... " >&6; }
3418 if ${ac_cv_build+:} false; then :
3419 $as_echo_n "(cached) " >&6
3421 ac_build_alias=$build_alias
3422 test "x$ac_build_alias" = x &&
3423 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3424 test "x$ac_build_alias" = x &&
3425 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3426 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3427 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3431 $as_echo "$ac_cv_build" >&6; }
3432 case $ac_cv_build in
3434 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3437 ac_save_IFS=$IFS; IFS='-'
3443 # Remember, the first character of IFS is used to create $*,
3444 # except with old shells:
3447 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3451 $as_echo_n "checking host system type... " >&6; }
3452 if ${ac_cv_host+:} false; then :
3453 $as_echo_n "(cached) " >&6
3455 if test "x$host_alias" = x; then
3456 ac_cv_host=$ac_cv_build
3458 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3459 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3464 $as_echo "$ac_cv_host" >&6; }
3467 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3470 ac_save_IFS=$IFS; IFS='-'
3476 # Remember, the first character of IFS is used to create $*,
3477 # except with old shells:
3480 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3483 # Backslashify metacharacters that are still active within
3484 # double-quoted strings.
3485 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3487 # Same as above, but do not quote variable references.
3488 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3490 # Sed substitution to delay expansion of an escaped shell variable in a
3491 # double_quote_subst'ed string.
3492 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3494 # Sed substitution to delay expansion of an escaped single quote.
3495 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3497 # Sed substitution to avoid accidental globbing in evaled expressions
3498 no_glob_subst='s/\*/\\\*/g'
3500 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3501 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3502 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3505 $as_echo_n "checking how to print strings... " >&6; }
3506 # Test print first, because it will be a builtin if present.
3507 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3508 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3510 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3513 # Use this function as a fallback that always works.
3514 func_fallback_echo ()
3516 eval 'cat <<_LTECHO_EOF
3520 ECHO='func_fallback_echo'
3523 # func_echo_all arg...
3524 # Invoke $ECHO with all args, space-separated.
3531 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3532 $as_echo "printf" >&6; } ;;
3533 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3534 $as_echo "print -r" >&6; } ;;
3535 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3536 $as_echo "cat" >&6; } ;;
3552 DEPDIR="${am__leading_dot}deps"
3554 ac_config_commands="$ac_config_commands depfiles"
3557 am_make=${MAKE-make}
3558 cat > confinc << 'END'
3560 @echo this is the am__doit target
3563 # If we don't find an include directive, just comment out the code.
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3565 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3569 # First try GNU make style include.
3570 echo "include confinc" > confmf
3571 # Ignore all kinds of additional output from `make'.
3572 case `$am_make -s -f confmf 2> /dev/null` in #(
3573 *the\ am__doit\ target*)
3579 # Now try BSD make style include.
3580 if test "$am__include" = "#"; then
3581 echo '.include "confinc"' > confmf
3582 case `$am_make -s -f confmf 2> /dev/null` in #(
3583 *the\ am__doit\ target*)
3584 am__include=.include
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3593 $as_echo "$_am_result" >&6; }
3594 rm -f confinc confmf
3596 # Check whether --enable-dependency-tracking was given.
3597 if test "${enable_dependency_tracking+set}" = set; then :
3598 enableval=$enable_dependency_tracking;
3601 if test "x$enable_dependency_tracking" != xno; then
3602 am_depcomp="$ac_aux_dir/depcomp"
3605 if test "x$enable_dependency_tracking" != xno; then
3615 ac_cpp='$CPP $CPPFLAGS'
3616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3619 if test -n "$ac_tool_prefix"; then
3620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3621 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_CC+:} false; then :
3625 $as_echo_n "(cached) " >&6
3627 if test -n "$CC"; then
3628 ac_cv_prog_CC="$CC" # Let the user override the test.
3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir=.
3635 for ac_exec_ext in '' $ac_executable_extensions; do
3636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3637 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 if test -n "$CC"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3650 $as_echo "$CC" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3658 if test -z "$ac_cv_prog_CC"; then
3660 # Extract the first word of "gcc", so it can be a program name with args.
3661 set dummy gcc; ac_word=$2
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3663 $as_echo_n "checking for $ac_word... " >&6; }
3664 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3665 $as_echo_n "(cached) " >&6
3667 if test -n "$ac_ct_CC"; then
3668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir=.
3675 for ac_exec_ext in '' $ac_executable_extensions; do
3676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3677 ac_cv_prog_ac_ct_CC="gcc"
3678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3688 if test -n "$ac_ct_CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3690 $as_echo "$ac_ct_CC" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3696 if test "x$ac_ct_CC" = x; then
3699 case $cross_compiling:$ac_tool_warned in
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3703 ac_tool_warned=yes ;;
3711 if test -z "$CC"; then
3712 if test -n "$ac_tool_prefix"; then
3713 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3714 set dummy ${ac_tool_prefix}cc; ac_word=$2
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3716 $as_echo_n "checking for $ac_word... " >&6; }
3717 if ${ac_cv_prog_CC+:} false; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -n "$CC"; then
3721 ac_cv_prog_CC="$CC" # Let the user override the test.
3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 test -z "$as_dir" && as_dir=.
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3730 ac_cv_prog_CC="${ac_tool_prefix}cc"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 if test -n "$CC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3743 $as_echo "$CC" >&6; }
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 # Extract the first word of "cc", so it can be a program name with args.
3754 set dummy cc; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_CC+:} false; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC="$CC" # Let the user override the test.
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3771 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3772 ac_prog_rejected=yes
3776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 if test $ac_prog_rejected = yes; then
3784 # We found a bogon in the path, so make sure we never use it.
3785 set dummy $ac_cv_prog_CC
3787 if test $# != 0; then
3788 # We chose a different compiler from the bogus one.
3789 # However, it has the same basename, so the bogon will be chosen
3790 # first if we set CC to just the basename; use the full file name.
3792 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3798 if test -n "$CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3808 if test -z "$CC"; then
3809 if test -n "$ac_tool_prefix"; then
3810 for ac_prog in cl.exe
3812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC="$CC" # Let the user override the test.
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3829 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test -n "$CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3842 $as_echo "$CC" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$CC" && break
3852 if test -z "$CC"; then
3854 for ac_prog in cl.exe
3856 # Extract the first word of "$ac_prog", so it can be a program name with args.
3857 set dummy $ac_prog; ac_word=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 if test -n "$ac_ct_CC"; then
3864 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3873 ac_cv_prog_ac_ct_CC="$ac_prog"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3884 if test -n "$ac_ct_CC"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3886 $as_echo "$ac_ct_CC" >&6; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3893 test -n "$ac_ct_CC" && break
3896 if test "x$ac_ct_CC" = x; then
3899 case $cross_compiling:$ac_tool_warned in
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3903 ac_tool_warned=yes ;;
3912 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 as_fn_error $? "no acceptable C compiler found in \$PATH
3915 See \`config.log' for more details" "$LINENO" 5; }
3917 # Provide some information about the compiler.
3918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3921 for ac_option in --version -v -V -qversion; do
3922 { { ac_try="$ac_compiler $ac_option >&5"
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3931 if test -s conftest.err; then
3933 ... rest of stderr output deleted ...
3934 10q' conftest.err >conftest.er1
3935 cat conftest.er1 >&5
3937 rm -f conftest.er1 conftest.err
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3953 ac_clean_files_save=$ac_clean_files
3954 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3955 # Try to create an executable without -o first, disregard a.out.
3956 # It will help us diagnose broken compilers, and finding out an intuition
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3959 $as_echo_n "checking whether the C compiler works... " >&6; }
3960 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3962 # The possible output files:
3963 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3966 for ac_file in $ac_files
3969 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3970 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3975 if { { ac_try="$ac_link_default"
3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978 *) ac_try_echo=$ac_try;;
3980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981 $as_echo "$ac_try_echo"; } >&5
3982 (eval "$ac_link_default") 2>&5
3984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3985 test $ac_status = 0; }; then :
3986 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3987 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3988 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3989 # so that the user can short-circuit this test for compilers unknown to
3991 for ac_file in $ac_files ''
3993 test -f "$ac_file" || continue
3995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3998 # We found the default executable, but exeext='' is most
4002 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4004 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4006 # We set ac_cv_exeext here because the later test for it is not
4007 # safe: cross compilers may not add the suffix if given an `-o'
4008 # argument, so we may need to know it at that point already.
4009 # Even if this section looks crufty: it has the advantage of
4016 test "$ac_cv_exeext" = no && ac_cv_exeext=
4021 if test -z "$ac_file"; then :
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4024 $as_echo "$as_me: failed program was:" >&5
4025 sed 's/^/| /' conftest.$ac_ext >&5
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error 77 "C compiler cannot create executables
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4033 $as_echo "yes" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4036 $as_echo_n "checking for C compiler default output file name... " >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4038 $as_echo "$ac_file" >&6; }
4039 ac_exeext=$ac_cv_exeext
4041 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4042 ac_clean_files=$ac_clean_files_save
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4044 $as_echo_n "checking for suffix of executables... " >&6; }
4045 if { { ac_try="$ac_link"
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4057 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4058 # work properly (i.e., refer to `conftest.exe'), while it won't with
4060 for ac_file in conftest.exe conftest conftest.*; do
4061 test -f "$ac_file" || continue
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4064 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4073 See \`config.log' for more details" "$LINENO" 5; }
4075 rm -f conftest conftest$ac_cv_exeext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4077 $as_echo "$ac_cv_exeext" >&6; }
4079 rm -f conftest.$ac_ext
4080 EXEEXT=$ac_cv_exeext
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4088 FILE *f = fopen ("conftest.out", "w");
4089 return ferror (f) || fclose (f) != 0;
4095 ac_clean_files="$ac_clean_files conftest.out"
4096 # Check that the compiler produces executables we can run. If not, either
4097 # the compiler is broken, or we cross compile.
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4099 $as_echo_n "checking whether we are cross compiling... " >&6; }
4100 if test "$cross_compiling" != yes; then
4101 { { ac_try="$ac_link"
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_link") 2>&5
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }
4112 if { ac_try='./conftest$ac_cv_exeext'
4113 { { case "(($ac_try" in
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_try") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; }; then
4125 if test "$cross_compiling" = maybe; then
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "cannot run C compiled programs.
4131 If you meant to cross compile, use \`--host'.
4132 See \`config.log' for more details" "$LINENO" 5; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4137 $as_echo "$cross_compiling" >&6; }
4139 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4140 ac_clean_files=$ac_clean_files_save
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4142 $as_echo_n "checking for suffix of object files... " >&6; }
4143 if ${ac_cv_objext+:} false; then :
4144 $as_echo_n "(cached) " >&6
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4157 rm -f conftest.o conftest.obj
4158 if { { ac_try="$ac_compile"
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4164 $as_echo "$ac_try_echo"; } >&5
4165 (eval "$ac_compile") 2>&5
4167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4168 test $ac_status = 0; }; then :
4169 for ac_file in conftest.o conftest.obj conftest.*; do
4170 test -f "$ac_file" || continue;
4172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4178 $as_echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4183 as_fn_error $? "cannot compute suffix of object files: cannot compile
4184 See \`config.log' for more details" "$LINENO" 5; }
4186 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4189 $as_echo "$ac_cv_objext" >&6; }
4190 OBJEXT=$ac_cv_objext
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4193 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4194 if ${ac_cv_c_compiler_gnu+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4211 if ac_fn_c_try_compile "$LINENO"; then :
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4221 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4222 if test $ac_compiler_gnu = yes; then
4227 ac_test_CFLAGS=${CFLAGS+set}
4228 ac_save_CFLAGS=$CFLAGS
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4230 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4231 if ${ac_cv_prog_cc_g+:} false; then :
4232 $as_echo_n "(cached) " >&6
4234 ac_save_c_werror_flag=$ac_c_werror_flag
4235 ac_c_werror_flag=yes
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4249 if ac_fn_c_try_compile "$LINENO"; then :
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 if ac_fn_c_try_compile "$LINENO"; then :
4267 ac_c_werror_flag=$ac_save_c_werror_flag
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4280 if ac_fn_c_try_compile "$LINENO"; then :
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 ac_c_werror_flag=$ac_save_c_werror_flag
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4291 $as_echo "$ac_cv_prog_cc_g" >&6; }
4292 if test "$ac_test_CFLAGS" = set; then
4293 CFLAGS=$ac_save_CFLAGS
4294 elif test $ac_cv_prog_cc_g = yes; then
4295 if test "$GCC" = yes; then
4301 if test "$GCC" = yes; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4308 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4309 if ${ac_cv_prog_cc_c89+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 ac_cv_prog_cc_c89=no
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4318 #include <sys/types.h>
4319 #include <sys/stat.h>
4320 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4321 struct buf { int x; };
4322 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4323 static char *e (p, i)
4329 static char *f (char * (*g) (char **, int), char **p, ...)
4334 s = g (p, va_arg (v,int));
4339 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4340 function prototypes and stuff, but not '\xHH' hex character constants.
4341 These don't provoke an error unfortunately, instead are silently treated
4342 as 'x'. The following induces an error, until -std is added to get
4343 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4344 array size at least. It's necessary to write '\x00'==0 to get something
4345 that's true only with -std. */
4346 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4348 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4349 inside strings and character constants. */
4351 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4353 int test (int i, double x);
4354 struct s1 {int (*f) (int a);};
4355 struct s2 {int (*f) (double a);};
4356 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4362 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4367 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4368 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4370 CC="$ac_save_CC $ac_arg"
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372 ac_cv_prog_cc_c89=$ac_arg
4374 rm -f core conftest.err conftest.$ac_objext
4375 test "x$ac_cv_prog_cc_c89" != "xno" && break
4377 rm -f conftest.$ac_ext
4382 case "x$ac_cv_prog_cc_c89" in
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4385 $as_echo "none needed" >&6; } ;;
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4388 $as_echo "unsupported" >&6; } ;;
4390 CC="$CC $ac_cv_prog_cc_c89"
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4392 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4394 if test "x$ac_cv_prog_cc_c89" != xno; then :
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404 depcc="$CC" am_compiler_list=
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4407 $as_echo_n "checking dependency style of $depcc... " >&6; }
4408 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4412 # We make a subdir and do the tests there. Otherwise we can end up
4413 # making bogus files that we don't know about and never remove. For
4414 # instance it was reported that on HP-UX the gcc test will end up
4415 # making a dummy file named `D' -- because `-MD' means `put the output
4418 # Copy depcomp to subdir because otherwise we won't find it if we're
4419 # using a relative directory.
4420 cp "$am_depcomp" conftest.dir
4422 # We will build objects and dependencies in a subdirectory because
4423 # it helps to detect inapplicable dependency modes. For instance
4424 # both Tru64's cc and ICC support -MD to output dependencies as a
4425 # side effect of compilation, but ICC will put the dependencies in
4426 # the current directory while Tru64 will put them in the object
4430 am_cv_CC_dependencies_compiler_type=none
4431 if test "$am_compiler_list" = ""; then
4432 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4435 case " $depcc " in #(
4436 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4439 for depmode in $am_compiler_list; do
4440 # Setup a source with many dependencies, because some compilers
4441 # like to wrap large dependency lists on column 80 (with \), and
4442 # we should not choose a depcomp mode which is confused by this.
4444 # We need to recreate these files for each test, as the compiler may
4445 # overwrite some of them when testing with obscure command lines.
4446 # This happens at least with the AIX C compiler.
4448 for i in 1 2 3 4 5 6; do
4449 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4450 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4451 # Solaris 8's {/usr,}/bin/sh.
4452 touch sub/conftst$i.h
4454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4456 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4457 # mode. It turns out that the SunPro C++ compiler does not properly
4458 # handle `-M -o', and we need to detect this. Also, some Intel
4459 # versions had trouble with output in subdirs
4460 am__obj=sub/conftest.${OBJEXT-o}
4461 am__minus_obj="-o $am__obj"
4464 # This depmode causes a compiler race in universal mode.
4465 test "$am__universal" = false || continue
4468 # after this tag, mechanisms are not by side-effect, so they'll
4469 # only be used when explicitly requested
4470 if test "x$enable_dependency_tracking" = xyes; then
4476 msvisualcpp | msvcmsys)
4477 # This compiler won't grok `-c -o', but also, the minuso test has
4478 # not run yet. These depmodes are late enough in the game, and
4479 # so weak that their functioning should not be impacted.
4480 am__obj=conftest.${OBJEXT-o}
4485 if depmode=$depmode \
4486 source=sub/conftest.c object=$am__obj \
4487 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4488 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4489 >/dev/null 2>conftest.err &&
4490 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4491 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4492 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4493 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4494 # icc doesn't choke on unknown options, it will just issue warnings
4495 # or remarks (even with -Werror). So we grep stderr for any message
4496 # that says an option was ignored or not supported.
4497 # When given -MP, icc 7.0 and 7.1 complain thusly:
4498 # icc: Command line warning: ignoring option '-M'; no argument required
4499 # The diagnosis changed in icc 8.0:
4500 # icc: Command line remark: option '-MP' not supported
4501 if (grep 'ignoring option' conftest.err ||
4502 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4503 am_cv_CC_dependencies_compiler_type=$depmode
4512 am_cv_CC_dependencies_compiler_type=none
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4517 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4518 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4521 test "x$enable_dependency_tracking" != xno \
4522 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4524 am__fastdepCC_FALSE='#'
4526 am__fastdepCC_TRUE='#'
4527 am__fastdepCC_FALSE=
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4532 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4533 if ${ac_cv_path_SED+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4537 for ac_i in 1 2 3 4 5 6 7; do
4538 ac_script="$ac_script$as_nl$ac_script"
4540 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4541 { ac_script=; unset ac_script;}
4542 if test -z "$SED"; then
4543 ac_path_SED_found=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 for ac_prog in sed gsed; do
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4553 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4554 # Check for GNU ac_path_SED and select it if it is found.
4555 # Check for GNU $ac_path_SED
4556 case `"$ac_path_SED" --version 2>&1` in
4558 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4561 $as_echo_n 0123456789 >"conftest.in"
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 $as_echo '' >> "conftest.nl"
4568 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4570 as_fn_arith $ac_count + 1 && ac_count=$as_val
4571 if test $ac_count -gt ${ac_path_SED_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_SED="$ac_path_SED"
4574 ac_path_SED_max=$ac_count
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4582 $ac_path_SED_found && break 3
4587 if test -z "$ac_cv_path_SED"; then
4588 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4596 $as_echo "$ac_cv_path_SED" >&6; }
4597 SED="$ac_cv_path_SED"
4600 test -z "$SED" && SED=sed
4601 Xsed="$SED -e 1s/^X//"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 if ${ac_cv_path_GREP+:} false; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -z "$GREP"; then
4619 ac_path_GREP_found=false
4620 # Loop through the user's path and test for each of PROGNAME-LIST
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4625 test -z "$as_dir" && as_dir=.
4626 for ac_prog in grep ggrep; do
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4629 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4630 # Check for GNU ac_path_GREP and select it if it is found.
4631 # Check for GNU $ac_path_GREP
4632 case `"$ac_path_GREP" --version 2>&1` in
4634 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4637 $as_echo_n 0123456789 >"conftest.in"
4640 cat "conftest.in" "conftest.in" >"conftest.tmp"
4641 mv "conftest.tmp" "conftest.in"
4642 cp "conftest.in" "conftest.nl"
4643 $as_echo 'GREP' >> "conftest.nl"
4644 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4646 as_fn_arith $ac_count + 1 && ac_count=$as_val
4647 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_GREP="$ac_path_GREP"
4650 ac_path_GREP_max=$ac_count
4652 # 10*(2^10) chars as input seems more than enough
4653 test $ac_count -gt 10 && break
4655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4658 $ac_path_GREP_found && break 3
4663 if test -z "$ac_cv_path_GREP"; then
4664 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4667 ac_cv_path_GREP=$GREP
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4672 $as_echo "$ac_cv_path_GREP" >&6; }
4673 GREP="$ac_cv_path_GREP"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677 $as_echo_n "checking for egrep... " >&6; }
4678 if ${ac_cv_path_EGREP+:} false; then :
4679 $as_echo_n "(cached) " >&6
4681 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4682 then ac_cv_path_EGREP="$GREP -E"
4684 if test -z "$EGREP"; then
4685 ac_path_EGREP_found=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4691 test -z "$as_dir" && as_dir=.
4692 for ac_prog in egrep; do
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4695 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4696 # Check for GNU ac_path_EGREP and select it if it is found.
4697 # Check for GNU $ac_path_EGREP
4698 case `"$ac_path_EGREP" --version 2>&1` in
4700 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4703 $as_echo_n 0123456789 >"conftest.in"
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo 'EGREP' >> "conftest.nl"
4710 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4711 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4712 as_fn_arith $ac_count + 1 && ac_count=$as_val
4713 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_EGREP="$ac_path_EGREP"
4716 ac_path_EGREP_max=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4721 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4724 $ac_path_EGREP_found && break 3
4729 if test -z "$ac_cv_path_EGREP"; then
4730 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4733 ac_cv_path_EGREP=$EGREP
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4739 $as_echo "$ac_cv_path_EGREP" >&6; }
4740 EGREP="$ac_cv_path_EGREP"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4744 $as_echo_n "checking for fgrep... " >&6; }
4745 if ${ac_cv_path_FGREP+:} false; then :
4746 $as_echo_n "(cached) " >&6
4748 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4749 then ac_cv_path_FGREP="$GREP -F"
4751 if test -z "$FGREP"; then
4752 ac_path_FGREP_found=false
4753 # Loop through the user's path and test for each of PROGNAME-LIST
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4758 test -z "$as_dir" && as_dir=.
4759 for ac_prog in fgrep; do
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4762 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4763 # Check for GNU ac_path_FGREP and select it if it is found.
4764 # Check for GNU $ac_path_FGREP
4765 case `"$ac_path_FGREP" --version 2>&1` in
4767 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4770 $as_echo_n 0123456789 >"conftest.in"
4773 cat "conftest.in" "conftest.in" >"conftest.tmp"
4774 mv "conftest.tmp" "conftest.in"
4775 cp "conftest.in" "conftest.nl"
4776 $as_echo 'FGREP' >> "conftest.nl"
4777 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4778 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4779 as_fn_arith $ac_count + 1 && ac_count=$as_val
4780 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4781 # Best one so far, save it but keep looking for a better one
4782 ac_cv_path_FGREP="$ac_path_FGREP"
4783 ac_path_FGREP_max=$ac_count
4785 # 10*(2^10) chars as input seems more than enough
4786 test $ac_count -gt 10 && break
4788 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4791 $ac_path_FGREP_found && break 3
4796 if test -z "$ac_cv_path_FGREP"; then
4797 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4800 ac_cv_path_FGREP=$FGREP
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4806 $as_echo "$ac_cv_path_FGREP" >&6; }
4807 FGREP="$ac_cv_path_FGREP"
4810 test -z "$GREP" && GREP=grep
4830 # Check whether --with-gnu-ld was given.
4831 if test "${with_gnu_ld+set}" = set; then :
4832 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4838 if test "$GCC" = yes; then
4839 # Check if gcc -print-prog-name=ld gives a path.
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4841 $as_echo_n "checking for ld used by $CC... " >&6; }
4844 # gcc leaves a trailing carriage return which upsets mingw
4845 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4847 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4850 # Accept absolute paths.
4852 re_direlt='/[^/][^/]*/\.\./'
4853 # Canonicalize the pathname of ld
4854 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4856 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4858 test -z "$LD" && LD="$ac_prog"
4861 # If it fails, then pretend we aren't using GCC.
4865 # If it is relative, then search for the first ld in PATH.
4869 elif test "$with_gnu_ld" = yes; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4871 $as_echo_n "checking for GNU ld... " >&6; }
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4874 $as_echo_n "checking for non-GNU ld... " >&6; }
4876 if ${lt_cv_path_LD+:} false; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -z "$LD"; then
4880 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4881 for ac_dir in $PATH; do
4883 test -z "$ac_dir" && ac_dir=.
4884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4885 lt_cv_path_LD="$ac_dir/$ac_prog"
4886 # Check to see if the program is GNU ld. I'd rather use --version,
4887 # but apparently some variants of GNU ld only accept -v.
4888 # Break only if it was the GNU/non-GNU ld that we prefer.
4889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4890 *GNU* | *'with BFD'*)
4891 test "$with_gnu_ld" != no && break
4894 test "$with_gnu_ld" != yes && break
4901 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4906 if test -n "$LD"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4908 $as_echo "$LD" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4913 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4916 if ${lt_cv_prog_gnu_ld+:} false; then :
4917 $as_echo_n "(cached) " >&6
4919 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4920 case `$LD -v 2>&1 </dev/null` in
4921 *GNU* | *'with BFD'*)
4922 lt_cv_prog_gnu_ld=yes
4925 lt_cv_prog_gnu_ld=no
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4930 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4931 with_gnu_ld=$lt_cv_prog_gnu_ld
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4942 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4943 if ${lt_cv_path_NM+:} false; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$NM"; then
4947 # Let the user override the test.
4950 lt_nm_to_check="${ac_tool_prefix}nm"
4951 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4952 lt_nm_to_check="$lt_nm_to_check nm"
4954 for lt_tmp_nm in $lt_nm_to_check; do
4955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4956 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4958 test -z "$ac_dir" && ac_dir=.
4959 tmp_nm="$ac_dir/$lt_tmp_nm"
4960 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4961 # Check to see if the nm accepts a BSD-compat flag.
4962 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4963 # nm: unknown option "B" ignored
4964 # Tru64's nm complains that /dev/null is an invalid object file
4965 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4966 */dev/null* | *'Invalid file or object type'*)
4967 lt_cv_path_NM="$tmp_nm -B"
4971 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4973 lt_cv_path_NM="$tmp_nm -p"
4977 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4978 continue # so that we can try to find one that supports BSD flags
4987 : ${lt_cv_path_NM=no}
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4991 $as_echo "$lt_cv_path_NM" >&6; }
4992 if test "$lt_cv_path_NM" != "no"; then
4995 # Didn't find any BSD compatible name lister, look for dumpbin.
4996 if test -n "$DUMPBIN"; then :
4997 # Let the user override the test.
4999 if test -n "$ac_tool_prefix"; then
5000 for ac_prog in dumpbin "link -dump"
5002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_DUMPBIN+:} false; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$DUMPBIN"; then
5010 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 DUMPBIN=$ac_cv_prog_DUMPBIN
5030 if test -n "$DUMPBIN"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5032 $as_echo "$DUMPBIN" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$DUMPBIN" && break
5042 if test -z "$DUMPBIN"; then
5043 ac_ct_DUMPBIN=$DUMPBIN
5044 for ac_prog in dumpbin "link -dump"
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$ac_ct_DUMPBIN"; then
5054 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5074 if test -n "$ac_ct_DUMPBIN"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5076 $as_echo "$ac_ct_DUMPBIN" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 test -n "$ac_ct_DUMPBIN" && break
5086 if test "x$ac_ct_DUMPBIN" = x; then
5089 case $cross_compiling:$ac_tool_warned in
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5095 DUMPBIN=$ac_ct_DUMPBIN
5099 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5101 DUMPBIN="$DUMPBIN -symbols"
5109 if test "$DUMPBIN" != ":"; then
5113 test -z "$NM" && NM=nm
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5121 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5122 if ${lt_cv_nm_interface+:} false; then :
5123 $as_echo_n "(cached) " >&6
5125 lt_cv_nm_interface="BSD nm"
5126 echo "int some_variable = 0;" > conftest.$ac_ext
5127 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5128 (eval "$ac_compile" 2>conftest.err)
5129 cat conftest.err >&5
5130 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5131 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5132 cat conftest.err >&5
5133 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5134 cat conftest.out >&5
5135 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5136 lt_cv_nm_interface="MS dumpbin"
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5141 $as_echo "$lt_cv_nm_interface" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5144 $as_echo_n "checking whether ln -s works... " >&6; }
5146 if test "$LN_S" = "ln -s"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 $as_echo "yes" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5151 $as_echo "no, using $LN_S" >&6; }
5154 # find the maximum length of command line arguments
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5156 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5157 if ${lt_cv_sys_max_cmd_len+:} false; then :
5158 $as_echo_n "(cached) " >&6
5165 # On DJGPP, this test can blow up pretty badly due to problems in libc
5166 # (any single argument exceeding 2000 bytes causes a buffer overrun
5167 # during glob expansion). Even if it were fixed, the result of this
5168 # check would be larger than it should be.
5169 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5173 # Under GNU Hurd, this test is not required because there is
5174 # no limit to the length of command line arguments.
5175 # Libtool will interpret -1 as no limit whatsoever
5176 lt_cv_sys_max_cmd_len=-1;
5179 cygwin* | mingw* | cegcc*)
5180 # On Win9x/ME, this test blows up -- it succeeds, but takes
5181 # about 5 minutes as the teststring grows exponentially.
5182 # Worse, since 9x/ME are not pre-emptively multitasking,
5183 # you end up with a "frozen" computer, even though with patience
5184 # the test eventually succeeds (with a max line length of 256k).
5185 # Instead, let's just punt: use the minimum linelength reported by
5186 # all of the supported platforms: 8192 (on NT/2K/XP).
5187 lt_cv_sys_max_cmd_len=8192;
5191 # On MiNT this can take a long time and run out of memory.
5192 lt_cv_sys_max_cmd_len=8192;
5196 # On AmigaOS with pdksh, this test takes hours, literally.
5197 # So we just punt and use a minimum line length of 8192.
5198 lt_cv_sys_max_cmd_len=8192;
5201 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5202 # This has been around since 386BSD, at least. Likely further.
5203 if test -x /sbin/sysctl; then
5204 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5205 elif test -x /usr/sbin/sysctl; then
5206 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5208 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5210 # And add a safety zone
5211 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5212 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5216 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5217 lt_cv_sys_max_cmd_len=196608
5221 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5222 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5223 # nice to cause kernel panics so lets avoid the loop below.
5224 # First set a reasonable default.
5225 lt_cv_sys_max_cmd_len=16384
5227 if test -x /sbin/sysconfig; then
5228 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5229 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5234 lt_cv_sys_max_cmd_len=102400
5236 sysv5* | sco5v6* | sysv4.2uw2*)
5237 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5238 if test -n "$kargmax"; then
5239 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5241 lt_cv_sys_max_cmd_len=32768
5245 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5246 if test -n "$lt_cv_sys_max_cmd_len"; then
5247 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5248 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5250 # Make teststring a little bigger before we do anything with it.
5251 # a 1K string should be a reasonable start.
5252 for i in 1 2 3 4 5 6 7 8 ; do
5253 teststring=$teststring$teststring
5255 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5256 # If test is not a shell built-in, we'll probably end up computing a
5257 # maximum length that is only half of the actual maximum length, but
5259 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5260 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5261 test $i != 17 # 1/2 MB should be enough
5264 teststring=$teststring$teststring
5266 # Only check the string length outside the loop.
5267 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5269 # Add a significant safety factor because C++ compilers can tack on
5270 # massive amounts of additional arguments before passing them to the
5271 # linker. It appears as though 1/2 is a usable value.
5272 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5279 if test -n $lt_cv_sys_max_cmd_len ; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5281 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5284 $as_echo "none" >&6; }
5286 max_cmd_len=$lt_cv_sys_max_cmd_len
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5298 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5299 # Try some XSI features
5302 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5304 && eval 'test $(( 1 + 1 )) -eq 2 \
5305 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5308 $as_echo "$xsi_shell" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5312 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5314 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5316 && lt_shell_append=yes
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5318 $as_echo "$lt_shell_append" >&6; }
5321 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5331 # test EBCDIC or ASCII
5332 case `echo X|tr X '\101'` in
5333 A) # ASCII based system
5334 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5335 lt_SP2NL='tr \040 \012'
5336 lt_NL2SP='tr \015\012 \040\040'
5338 *) # EBCDIC based system
5339 lt_SP2NL='tr \100 \n'
5340 lt_NL2SP='tr \r\n \100\100'
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5353 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5354 if ${lt_cv_to_host_file_cmd+:} false; then :
5355 $as_echo_n "(cached) " >&6
5360 *-*-mingw* ) # actually msys
5361 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5364 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5366 * ) # otherwise, assume *nix
5367 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5373 *-*-mingw* ) # actually msys
5374 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5377 lt_cv_to_host_file_cmd=func_convert_file_noop
5379 * ) # otherwise, assume *nix
5380 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5384 * ) # unhandled hosts (and "normal" native builds)
5385 lt_cv_to_host_file_cmd=func_convert_file_noop
5391 to_host_file_cmd=$lt_cv_to_host_file_cmd
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5393 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5400 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5401 if ${lt_cv_to_tool_file_cmd+:} false; then :
5402 $as_echo_n "(cached) " >&6
5404 #assume ordinary cross tools, or native build.
5405 lt_cv_to_tool_file_cmd=func_convert_file_noop
5409 *-*-mingw* ) # actually msys
5410 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5418 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5420 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5427 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5428 if ${lt_cv_ld_reload_flag+:} false; then :
5429 $as_echo_n "(cached) " >&6
5431 lt_cv_ld_reload_flag='-r'
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5434 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5435 reload_flag=$lt_cv_ld_reload_flag
5436 case $reload_flag in
5438 *) reload_flag=" $reload_flag" ;;
5440 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5442 cygwin* | mingw* | pw32* | cegcc*)
5443 if test "$GCC" != yes; then
5448 if test "$GCC" = yes; then
5449 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5451 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5464 if test -n "$ac_tool_prefix"; then
5465 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5466 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_OBJDUMP+:} false; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$OBJDUMP"; then
5473 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir=.
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5482 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 OBJDUMP=$ac_cv_prog_OBJDUMP
5493 if test -n "$OBJDUMP"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5495 $as_echo "$OBJDUMP" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5503 if test -z "$ac_cv_prog_OBJDUMP"; then
5504 ac_ct_OBJDUMP=$OBJDUMP
5505 # Extract the first word of "objdump", so it can be a program name with args.
5506 set dummy objdump; ac_word=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5510 $as_echo_n "(cached) " >&6
5512 if test -n "$ac_ct_OBJDUMP"; then
5513 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir=.
5520 for ac_exec_ext in '' $ac_executable_extensions; do
5521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5522 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5533 if test -n "$ac_ct_OBJDUMP"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5535 $as_echo "$ac_ct_OBJDUMP" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5541 if test "x$ac_ct_OBJDUMP" = x; then
5544 case $cross_compiling:$ac_tool_warned in
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5548 ac_tool_warned=yes ;;
5550 OBJDUMP=$ac_ct_OBJDUMP
5553 OBJDUMP="$ac_cv_prog_OBJDUMP"
5556 test -z "$OBJDUMP" && OBJDUMP=objdump
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5567 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5568 if ${lt_cv_deplibs_check_method+:} false; then :
5569 $as_echo_n "(cached) " >&6
5571 lt_cv_file_magic_cmd='$MAGIC_CMD'
5572 lt_cv_file_magic_test_file=
5573 lt_cv_deplibs_check_method='unknown'
5574 # Need to set the preceding variable on all platforms that support
5575 # interlibrary dependencies.
5576 # 'none' -- dependencies not supported.
5577 # `unknown' -- same as none, but documents that we really don't know.
5578 # 'pass_all' -- all dependencies passed with no checks.
5579 # 'test_compile' -- check by making test program.
5580 # 'file_magic [[regex]]' -- check by looking for files in library path
5581 # which responds to the $file_magic_cmd with a given extended regex.
5582 # If you have `file' or equivalent on your system and you're not sure
5583 # whether `pass_all' will *always* work, you probably want this one.
5587 lt_cv_deplibs_check_method=pass_all
5591 lt_cv_deplibs_check_method=pass_all
5595 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5596 lt_cv_file_magic_cmd='/usr/bin/file -L'
5597 lt_cv_file_magic_test_file=/shlib/libc.so
5601 # func_win32_libid is a shell function defined in ltmain.sh
5602 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5603 lt_cv_file_magic_cmd='func_win32_libid'
5607 # Base MSYS/MinGW do not provide the 'file' command needed by
5608 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5609 # unless we find 'file', for example because we are cross-compiling.
5610 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5611 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5612 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5613 lt_cv_file_magic_cmd='func_win32_libid'
5615 # Keep this pattern in sync with the one in func_win32_libid.
5616 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5617 lt_cv_file_magic_cmd='$OBJDUMP -f'
5622 # use the weaker test based on 'objdump'. See mingw*.
5623 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5624 lt_cv_file_magic_cmd='$OBJDUMP -f'
5627 darwin* | rhapsody*)
5628 lt_cv_deplibs_check_method=pass_all
5631 freebsd* | dragonfly*)
5632 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5635 # Not sure whether the presence of OpenBSD here was a mistake.
5636 # Let's accept both of them until this is cleared up.
5637 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5638 lt_cv_file_magic_cmd=/usr/bin/file
5639 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5643 lt_cv_deplibs_check_method=pass_all
5648 lt_cv_deplibs_check_method=pass_all
5652 lt_cv_deplibs_check_method=pass_all
5655 hpux10.20* | hpux11*)
5656 lt_cv_file_magic_cmd=/usr/bin/file
5659 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5660 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5663 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]'
5664 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5667 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5668 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5674 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5675 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5678 irix5* | irix6* | nonstopux*)
5680 *-32|*"-32 ") libmagic=32-bit;;
5681 *-n32|*"-n32 ") libmagic=N32;;
5682 *-64|*"-64 ") libmagic=64-bit;;
5683 *) libmagic=never-match;;
5685 lt_cv_deplibs_check_method=pass_all
5688 # This must be Linux ELF.
5689 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5690 lt_cv_deplibs_check_method=pass_all
5694 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5697 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5702 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5703 lt_cv_file_magic_cmd=/usr/bin/file
5704 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5708 lt_cv_deplibs_check_method=pass_all
5712 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5713 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5715 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5719 osf3* | osf4* | osf5*)
5720 lt_cv_deplibs_check_method=pass_all
5724 lt_cv_deplibs_check_method=pass_all
5728 lt_cv_deplibs_check_method=pass_all
5731 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5732 lt_cv_deplibs_check_method=pass_all
5736 case $host_vendor in
5738 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]'
5739 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5742 lt_cv_deplibs_check_method=pass_all
5745 lt_cv_file_magic_cmd='/bin/file'
5746 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5749 lt_cv_file_magic_cmd='/bin/file'
5750 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5751 lt_cv_file_magic_test_file=/lib/libc.so
5754 lt_cv_deplibs_check_method=pass_all
5757 lt_cv_deplibs_check_method=pass_all
5763 lt_cv_deplibs_check_method=pass_all
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5769 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5773 if test "$build" = "$host"; then
5776 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5779 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5785 file_magic_cmd=$lt_cv_file_magic_cmd
5786 deplibs_check_method=$lt_cv_deplibs_check_method
5787 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_DLLTOOL+:} false; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$DLLTOOL"; then
5819 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 DLLTOOL=$ac_cv_prog_DLLTOOL
5839 if test -n "$DLLTOOL"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5841 $as_echo "$DLLTOOL" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5849 if test -z "$ac_cv_prog_DLLTOOL"; then
5850 ac_ct_DLLTOOL=$DLLTOOL
5851 # Extract the first word of "dlltool", so it can be a program name with args.
5852 set dummy dlltool; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$ac_ct_DLLTOOL"; then
5859 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5879 if test -n "$ac_ct_DLLTOOL"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5881 $as_echo "$ac_ct_DLLTOOL" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5887 if test "x$ac_ct_DLLTOOL" = x; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5894 ac_tool_warned=yes ;;
5896 DLLTOOL=$ac_ct_DLLTOOL
5899 DLLTOOL="$ac_cv_prog_DLLTOOL"
5902 test -z "$DLLTOOL" && DLLTOOL=dlltool
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5914 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5915 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5916 $as_echo_n "(cached) " >&6
5918 lt_cv_sharedlib_from_linklib_cmd='unknown'
5921 cygwin* | mingw* | pw32* | cegcc*)
5922 # two different shell functions defined in ltmain.sh
5923 # decide which to use based on capabilities of $DLLTOOL
5924 case `$DLLTOOL --help 2>&1` in
5925 *--identify-strict*)
5926 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5929 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5934 # fallback: assume linklib IS sharedlib
5935 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5941 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5942 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5943 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5952 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_AR+:} false; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$AR"; then
5963 ac_cv_prog_AR="$AR" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 if test -n "$AR"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5985 $as_echo "$AR" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 test -n "$AR" && break
5995 if test -z "$AR"; then
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6004 $as_echo_n "(cached) " >&6
6006 if test -n "$ac_ct_AR"; then
6007 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 ac_cv_prog_ac_ct_AR="$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6026 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6027 if test -n "$ac_ct_AR"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6029 $as_echo "$ac_ct_AR" >&6; }
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$ac_ct_AR" && break
6039 if test "x$ac_ct_AR" = x; then
6042 case $cross_compiling:$ac_tool_warned in
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046 ac_tool_warned=yes ;;
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6066 $as_echo_n "checking for archiver @FILE support... " >&6; }
6067 if ${lt_cv_ar_at_file+:} false; then :
6068 $as_echo_n "(cached) " >&6
6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 /* end confdefs.h. */
6082 if ac_fn_c_try_compile "$LINENO"; then :
6083 echo conftest.$ac_objext > conftest.lst
6084 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6086 (eval $lt_ar_try) 2>&5
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 test $ac_status = 0; }
6090 if test "$ac_status" -eq 0; then
6091 # Ensure the archiver fails upon bogus file names.
6092 rm -f conftest.$ac_objext libconftest.a
6093 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6094 (eval $lt_ar_try) 2>&5
6096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 test $ac_status = 0; }
6098 if test "$ac_status" -ne 0; then
6102 rm -f conftest.* libconftest.a
6105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6109 $as_echo "$lt_cv_ar_at_file" >&6; }
6111 if test "x$lt_cv_ar_at_file" = xno; then
6114 archiver_list_spec=$lt_cv_ar_at_file
6123 if test -n "$ac_tool_prefix"; then
6124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6125 set dummy ${ac_tool_prefix}strip; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_STRIP+:} false; then :
6129 $as_echo_n "(cached) " >&6
6131 if test -n "$STRIP"; then
6132 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6141 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 STRIP=$ac_cv_prog_STRIP
6152 if test -n "$STRIP"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6154 $as_echo "$STRIP" >&6; }
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6162 if test -z "$ac_cv_prog_STRIP"; then
6164 # Extract the first word of "strip", so it can be a program name with args.
6165 set dummy strip; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6169 $as_echo_n "(cached) " >&6
6171 if test -n "$ac_ct_STRIP"; then
6172 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_prog_ac_ct_STRIP="strip"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6192 if test -n "$ac_ct_STRIP"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6194 $as_echo "$ac_ct_STRIP" >&6; }
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6200 if test "x$ac_ct_STRIP" = x; then
6203 case $cross_compiling:$ac_tool_warned in
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned=yes ;;
6212 STRIP="$ac_cv_prog_STRIP"
6215 test -z "$STRIP" && STRIP=:
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6224 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if ${ac_cv_prog_RANLIB+:} false; then :
6228 $as_echo_n "(cached) " >&6
6230 if test -n "$RANLIB"; then
6231 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 RANLIB=$ac_cv_prog_RANLIB
6251 if test -n "$RANLIB"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6253 $as_echo "$RANLIB" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6261 if test -z "$ac_cv_prog_RANLIB"; then
6262 ac_ct_RANLIB=$RANLIB
6263 # Extract the first word of "ranlib", so it can be a program name with args.
6264 set dummy ranlib; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6268 $as_echo_n "(cached) " >&6
6270 if test -n "$ac_ct_RANLIB"; then
6271 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_prog_ac_ct_RANLIB="ranlib"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6291 if test -n "$ac_ct_RANLIB"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6293 $as_echo "$ac_ct_RANLIB" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6299 if test "x$ac_ct_RANLIB" = x; then
6302 case $cross_compiling:$ac_tool_warned in
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6306 ac_tool_warned=yes ;;
6308 RANLIB=$ac_ct_RANLIB
6311 RANLIB="$ac_cv_prog_RANLIB"
6314 test -z "$RANLIB" && RANLIB=:
6321 # Determine commands to create old-style static archives.
6322 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6323 old_postinstall_cmds='chmod 644 $oldlib'
6324 old_postuninstall_cmds=
6326 if test -n "$RANLIB"; then
6329 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6332 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6335 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6340 lock_old_archive_extraction=yes ;;
6342 lock_old_archive_extraction=no ;;
6383 # If no C compiler was specified, use CC.
6386 # If no C compiler flags were specified, use CFLAGS.
6387 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6389 # Allow CC to be a program name with arguments.
6393 # Check for command to grab the raw symbol name followed by C symbol from nm.
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6395 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6396 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6397 $as_echo_n "(cached) " >&6
6400 # These are sane defaults that work on at least a few old systems.
6401 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6403 # Character class describing NM global symbol codes.
6404 symcode='[BCDEGRST]'
6406 # Regexp to match symbols that can be accessed directly from C.
6407 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6409 # Define system-specific variables.
6414 cygwin* | mingw* | pw32* | cegcc*)
6415 symcode='[ABCDGISTW]'
6418 if test "$host_cpu" = ia64; then
6419 symcode='[ABCDEGRST]'
6423 symcode='[BCDEGRST]'
6426 symcode='[BCDEGQRST]'
6437 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6445 # If we're using GNU nm, then use its standard symbol codes.
6446 case `$NM -V 2>&1` in
6447 *GNU* | *'with BFD'*)
6448 symcode='[ABCDGIRSTW]' ;;
6451 # Transform an extracted symbol line into a proper C declaration.
6452 # Some systems (esp. on ia64) link data and code symbols differently,
6453 # so use this general approach.
6454 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6456 # Transform an extracted symbol line into symbol name and symbol address
6457 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6458 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'"
6460 # Handle CRLF in mingw tool chain
6464 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6468 # Try without a prefix underscore, then with it.
6469 for ac_symprfx in "" "_"; do
6471 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6472 symxfrm="\\1 $ac_symprfx\\2 \\2"
6474 # Write the raw and C identifiers.
6475 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6476 # Fake it for dumpbin and say T for any non-static function
6477 # and D for any global variable.
6478 # Also find C++ and __fastcall symbols from MSVC++,
6479 # which start with @ or ?.
6480 lt_cv_sys_global_symbol_pipe="$AWK '"\
6481 " {last_section=section; section=\$ 3};"\
6482 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6483 " \$ 0!~/External *\|/{next};"\
6484 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6485 " {if(hide[section]) next};"\
6486 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6487 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6488 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6489 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6490 " ' prfx=^$ac_symprfx"
6492 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6494 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6496 # Check to see that the pipe works correctly.
6500 cat > conftest.$ac_ext <<_LT_EOF
6505 void nm_test_func(void);
6506 void nm_test_func(void){}
6510 int main(){nm_test_var='a';nm_test_func();return(0);}
6513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6514 (eval $ac_compile) 2>&5
6516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6517 test $ac_status = 0; }; then
6518 # Now try to grab the symbols.
6520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6521 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6524 test $ac_status = 0; } && test -s "$nlist"; then
6525 # Try sorting and uniquifying the output.
6526 if sort "$nlist" | uniq > "$nlist"T; then
6527 mv -f "$nlist"T "$nlist"
6532 # Make sure that we snagged all the symbols we need.
6533 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6534 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6535 cat <<_LT_EOF > conftest.$ac_ext
6536 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6537 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6538 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6539 relocations are performed -- see ld's documentation on pseudo-relocs. */
6540 # define LT_DLSYM_CONST
6541 #elif defined(__osf__)
6542 /* This system does not cope well with relocations in const data. */
6543 # define LT_DLSYM_CONST
6545 # define LT_DLSYM_CONST const
6553 # Now generate the symbol file.
6554 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6556 cat <<_LT_EOF >> conftest.$ac_ext
6558 /* The mapping between symbol names and symbols. */
6559 LT_DLSYM_CONST struct {
6563 lt__PROGRAM__LTX_preloaded_symbols[] =
6565 { "@PROGRAM@", (void *) 0 },
6567 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6568 cat <<\_LT_EOF >> conftest.$ac_ext
6572 /* This works around a problem in FreeBSD linker */
6573 #ifdef FREEBSD_WORKAROUND
6574 static const void *lt_preloaded_setup() {
6575 return lt__PROGRAM__LTX_preloaded_symbols;
6583 # Now try linking the two files.
6584 mv conftest.$ac_objext conftstm.$ac_objext
6585 lt_globsym_save_LIBS=$LIBS
6586 lt_globsym_save_CFLAGS=$CFLAGS
6587 LIBS="conftstm.$ac_objext"
6588 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6590 (eval $ac_link) 2>&5
6592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6593 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6596 LIBS=$lt_globsym_save_LIBS
6597 CFLAGS=$lt_globsym_save_CFLAGS
6599 echo "cannot find nm_test_func in $nlist" >&5
6602 echo "cannot find nm_test_var in $nlist" >&5
6605 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6608 echo "$progname: failed program was:" >&5
6609 cat conftest.$ac_ext >&5
6611 rm -rf conftest* conftst*
6613 # Do not use the global_symbol_pipe unless it works.
6614 if test "$pipe_works" = yes; then
6617 lt_cv_sys_global_symbol_pipe=
6623 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6624 lt_cv_sys_global_symbol_to_cdecl=
6626 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6628 $as_echo "failed" >&6; }
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6631 $as_echo "ok" >&6; }
6634 # Response file support.
6635 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6636 nm_file_list_spec='@'
6637 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6638 nm_file_list_spec='@'
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6668 $as_echo_n "checking for sysroot... " >&6; }
6670 # Check whether --with-sysroot was given.
6671 if test "${with_sysroot+set}" = set; then :
6672 withval=$with_sysroot;
6679 case ${with_sysroot} in #(
6681 if test "$GCC" = yes; then
6682 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6686 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6692 $as_echo "${with_sysroot}" >&6; }
6693 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6698 $as_echo "${lt_sysroot:-no}" >&6; }
6704 # Check whether --enable-libtool-lock was given.
6705 if test "${enable_libtool_lock+set}" = set; then :
6706 enableval=$enable_libtool_lock;
6709 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6711 # Some flags need to be propagated to the compiler or linker for good
6715 # Find out which ABI we are using.
6716 echo 'int i;' > conftest.$ac_ext
6717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718 (eval $ac_compile) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6721 test $ac_status = 0; }; then
6722 case `/usr/bin/file conftest.$ac_objext` in
6734 # Find out which ABI we are using.
6735 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737 (eval $ac_compile) 2>&5
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6740 test $ac_status = 0; }; then
6741 if test "$lt_cv_prog_gnu_ld" = yes; then
6742 case `/usr/bin/file conftest.$ac_objext` in
6744 LD="${LD-ld} -melf32bsmip"
6747 LD="${LD-ld} -melf32bmipn32"
6750 LD="${LD-ld} -melf64bmip"
6754 case `/usr/bin/file conftest.$ac_objext` in
6770 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6771 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6772 # Find out which ABI we are using.
6773 echo 'int i;' > conftest.$ac_ext
6774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775 (eval $ac_compile) 2>&5
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778 test $ac_status = 0; }; then
6779 case `/usr/bin/file conftest.o` in
6782 x86_64-*kfreebsd*-gnu)
6783 LD="${LD-ld} -m elf_i386_fbsd"
6786 LD="${LD-ld} -m elf_i386"
6788 ppc64-*linux*|powerpc64-*linux*)
6789 LD="${LD-ld} -m elf32ppclinux"
6792 LD="${LD-ld} -m elf_s390"
6795 LD="${LD-ld} -m elf32_sparc"
6801 x86_64-*kfreebsd*-gnu)
6802 LD="${LD-ld} -m elf_x86_64_fbsd"
6805 LD="${LD-ld} -m elf_x86_64"
6807 ppc*-*linux*|powerpc*-*linux*)
6808 LD="${LD-ld} -m elf64ppc"
6810 s390*-*linux*|s390*-*tpf*)
6811 LD="${LD-ld} -m elf64_s390"
6814 LD="${LD-ld} -m elf64_sparc"
6824 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6825 SAVE_CFLAGS="$CFLAGS"
6826 CFLAGS="$CFLAGS -belf"
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6828 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6829 if ${lt_cv_cc_needs_belf+:} false; then :
6830 $as_echo_n "(cached) " >&6
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6849 if ac_fn_c_try_link "$LINENO"; then :
6850 lt_cv_cc_needs_belf=yes
6852 lt_cv_cc_needs_belf=no
6854 rm -f core conftest.err conftest.$ac_objext \
6855 conftest$ac_exeext conftest.$ac_ext
6857 ac_cpp='$CPP $CPPFLAGS'
6858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6864 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6865 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6866 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6867 CFLAGS="$SAVE_CFLAGS"
6871 # Find out which ABI we are using.
6872 echo 'int i;' > conftest.$ac_ext
6873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6874 (eval $ac_compile) 2>&5
6876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6877 test $ac_status = 0; }; then
6878 case `/usr/bin/file conftest.o` in
6880 case $lt_cv_prog_gnu_ld in
6881 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6883 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6895 need_locks="$enable_libtool_lock"
6897 if test -n "$ac_tool_prefix"; then
6898 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6899 set dummy ${ac_tool_prefix}mt; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6901 $as_echo_n "checking for $ac_word... " >&6; }
6902 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6903 $as_echo_n "(cached) " >&6
6905 if test -n "$MANIFEST_TOOL"; then
6906 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6926 if test -n "$MANIFEST_TOOL"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6928 $as_echo "$MANIFEST_TOOL" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931 $as_echo "no" >&6; }
6936 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6937 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6938 # Extract the first word of "mt", so it can be a program name with args.
6939 set dummy mt; ac_word=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6943 $as_echo_n "(cached) " >&6
6945 if test -n "$ac_ct_MANIFEST_TOOL"; then
6946 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6955 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6966 if test -n "$ac_ct_MANIFEST_TOOL"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6968 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6974 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6977 case $cross_compiling:$ac_tool_warned in
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6981 ac_tool_warned=yes ;;
6983 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6986 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6989 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6991 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6992 if ${lt_cv_path_mainfest_tool+:} false; then :
6993 $as_echo_n "(cached) " >&6
6995 lt_cv_path_mainfest_tool=no
6996 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6997 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6998 cat conftest.err >&5
6999 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7000 lt_cv_path_mainfest_tool=yes
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7005 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7006 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7016 rhapsody* | darwin*)
7017 if test -n "$ac_tool_prefix"; then
7018 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7019 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$DSYMUTIL"; then
7026 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7035 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7046 if test -n "$DSYMUTIL"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7048 $as_echo "$DSYMUTIL" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7056 if test -z "$ac_cv_prog_DSYMUTIL"; then
7057 ac_ct_DSYMUTIL=$DSYMUTIL
7058 # Extract the first word of "dsymutil", so it can be a program name with args.
7059 set dummy dsymutil; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7063 $as_echo_n "(cached) " >&6
7065 if test -n "$ac_ct_DSYMUTIL"; then
7066 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7075 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7086 if test -n "$ac_ct_DSYMUTIL"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7088 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7094 if test "x$ac_ct_DSYMUTIL" = x; then
7097 case $cross_compiling:$ac_tool_warned in
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7101 ac_tool_warned=yes ;;
7103 DSYMUTIL=$ac_ct_DSYMUTIL
7106 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7111 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 $as_echo_n "checking for $ac_word... " >&6; }
7114 if ${ac_cv_prog_NMEDIT+:} false; then :
7115 $as_echo_n "(cached) " >&6
7117 if test -n "$NMEDIT"; then
7118 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7127 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 NMEDIT=$ac_cv_prog_NMEDIT
7138 if test -n "$NMEDIT"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7140 $as_echo "$NMEDIT" >&6; }
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
7148 if test -z "$ac_cv_prog_NMEDIT"; then
7149 ac_ct_NMEDIT=$NMEDIT
7150 # Extract the first word of "nmedit", so it can be a program name with args.
7151 set dummy nmedit; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7155 $as_echo_n "(cached) " >&6
7157 if test -n "$ac_ct_NMEDIT"; then
7158 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7167 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7178 if test -n "$ac_ct_NMEDIT"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7180 $as_echo "$ac_ct_NMEDIT" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7186 if test "x$ac_ct_NMEDIT" = x; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193 ac_tool_warned=yes ;;
7195 NMEDIT=$ac_ct_NMEDIT
7198 NMEDIT="$ac_cv_prog_NMEDIT"
7201 if test -n "$ac_tool_prefix"; then
7202 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7203 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7205 $as_echo_n "checking for $ac_word... " >&6; }
7206 if ${ac_cv_prog_LIPO+:} false; then :
7207 $as_echo_n "(cached) " >&6
7209 if test -n "$LIPO"; then
7210 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7219 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229 LIPO=$ac_cv_prog_LIPO
7230 if test -n "$LIPO"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7232 $as_echo "$LIPO" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 $as_echo "no" >&6; }
7240 if test -z "$ac_cv_prog_LIPO"; then
7242 # Extract the first word of "lipo", so it can be a program name with args.
7243 set dummy lipo; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7247 $as_echo_n "(cached) " >&6
7249 if test -n "$ac_ct_LIPO"; then
7250 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259 ac_cv_prog_ac_ct_LIPO="lipo"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7270 if test -n "$ac_ct_LIPO"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7272 $as_echo "$ac_ct_LIPO" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7278 if test "x$ac_ct_LIPO" = x; then
7281 case $cross_compiling:$ac_tool_warned in
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7285 ac_tool_warned=yes ;;
7290 LIPO="$ac_cv_prog_LIPO"
7293 if test -n "$ac_tool_prefix"; then
7294 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7295 set dummy ${ac_tool_prefix}otool; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 $as_echo_n "checking for $ac_word... " >&6; }
7298 if ${ac_cv_prog_OTOOL+:} false; then :
7299 $as_echo_n "(cached) " >&6
7301 if test -n "$OTOOL"; then
7302 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7311 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 OTOOL=$ac_cv_prog_OTOOL
7322 if test -n "$OTOOL"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7324 $as_echo "$OTOOL" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 $as_echo "no" >&6; }
7332 if test -z "$ac_cv_prog_OTOOL"; then
7334 # Extract the first word of "otool", so it can be a program name with args.
7335 set dummy otool; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 $as_echo_n "checking for $ac_word... " >&6; }
7338 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7339 $as_echo_n "(cached) " >&6
7341 if test -n "$ac_ct_OTOOL"; then
7342 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir=.
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7351 ac_cv_prog_ac_ct_OTOOL="otool"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7362 if test -n "$ac_ct_OTOOL"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7364 $as_echo "$ac_ct_OTOOL" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7370 if test "x$ac_ct_OTOOL" = x; then
7373 case $cross_compiling:$ac_tool_warned in
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7377 ac_tool_warned=yes ;;
7382 OTOOL="$ac_cv_prog_OTOOL"
7385 if test -n "$ac_tool_prefix"; then
7386 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7387 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if ${ac_cv_prog_OTOOL64+:} false; then :
7391 $as_echo_n "(cached) " >&6
7393 if test -n "$OTOOL64"; then
7394 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7403 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 OTOOL64=$ac_cv_prog_OTOOL64
7414 if test -n "$OTOOL64"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7416 $as_echo "$OTOOL64" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7424 if test -z "$ac_cv_prog_OTOOL64"; then
7425 ac_ct_OTOOL64=$OTOOL64
7426 # Extract the first word of "otool64", so it can be a program name with args.
7427 set dummy otool64; ac_word=$2
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 $as_echo_n "checking for $ac_word... " >&6; }
7430 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7431 $as_echo_n "(cached) " >&6
7433 if test -n "$ac_ct_OTOOL64"; then
7434 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir=.
7441 for ac_exec_ext in '' $ac_executable_extensions; do
7442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7443 ac_cv_prog_ac_ct_OTOOL64="otool64"
7444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7454 if test -n "$ac_ct_OTOOL64"; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7456 $as_echo "$ac_ct_OTOOL64" >&6; }
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }
7462 if test "x$ac_ct_OTOOL64" = x; then
7465 case $cross_compiling:$ac_tool_warned in
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7469 ac_tool_warned=yes ;;
7471 OTOOL64=$ac_ct_OTOOL64
7474 OTOOL64="$ac_cv_prog_OTOOL64"
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7504 $as_echo_n "checking for -single_module linker flag... " >&6; }
7505 if ${lt_cv_apple_cc_single_mod+:} false; then :
7506 $as_echo_n "(cached) " >&6
7508 lt_cv_apple_cc_single_mod=no
7509 if test -z "${LT_MULTI_MODULE}"; then
7510 # By default we will add the -single_module flag. You can override
7511 # by either setting the environment variable LT_MULTI_MODULE
7512 # non-empty at configure time, or by adding -multi_module to the
7514 rm -rf libconftest.dylib*
7515 echo "int foo(void){return 1;}" > conftest.c
7516 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7517 -dynamiclib -Wl,-single_module conftest.c" >&5
7518 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7519 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7521 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7522 lt_cv_apple_cc_single_mod=yes
7524 cat conftest.err >&5
7526 rm -rf libconftest.dylib*
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7531 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7533 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7534 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7535 $as_echo_n "(cached) " >&6
7537 lt_cv_ld_exported_symbols_list=no
7538 save_LDFLAGS=$LDFLAGS
7539 echo "_main" > conftest.sym
7540 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7552 if ac_fn_c_try_link "$LINENO"; then :
7553 lt_cv_ld_exported_symbols_list=yes
7555 lt_cv_ld_exported_symbols_list=no
7557 rm -f core conftest.err conftest.$ac_objext \
7558 conftest$ac_exeext conftest.$ac_ext
7559 LDFLAGS="$save_LDFLAGS"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7563 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7565 $as_echo_n "checking for -force_load linker flag... " >&6; }
7566 if ${lt_cv_ld_force_load+:} false; then :
7567 $as_echo_n "(cached) " >&6
7569 lt_cv_ld_force_load=no
7570 cat > conftest.c << _LT_EOF
7571 int forced_loaded() { return 2;}
7573 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7574 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7575 echo "$AR cru libconftest.a conftest.o" >&5
7576 $AR cru libconftest.a conftest.o 2>&5
7577 echo "$RANLIB libconftest.a" >&5
7578 $RANLIB libconftest.a 2>&5
7579 cat > conftest.c << _LT_EOF
7580 int main() { return 0;}
7582 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7583 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7585 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7586 lt_cv_ld_force_load=yes
7588 cat conftest.err >&5
7590 rm -f conftest.err libconftest.a conftest conftest.c
7591 rm -rf conftest.dSYM
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7595 $as_echo "$lt_cv_ld_force_load" >&6; }
7597 rhapsody* | darwin1.[012])
7598 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7600 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7601 darwin*) # darwin 5.x on
7602 # if running on 10.5 or later, the deployment target defaults
7603 # to the OS version, if on x86, and 10.4, the deployment
7604 # target defaults to 10.4. Don't you love it?
7605 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7606 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7607 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7609 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7611 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7615 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7616 _lt_dar_single_mod='$single_module'
7618 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7619 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7621 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7623 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7624 _lt_dsymutil='~$DSYMUTIL $lib || :'
7632 ac_cpp='$CPP $CPPFLAGS'
7633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7638 # On Suns, sometimes $CPP names a directory.
7639 if test -n "$CPP" && test -d "$CPP"; then
7642 if test -z "$CPP"; then
7643 if ${ac_cv_prog_CPP+:} false; then :
7644 $as_echo_n "(cached) " >&6
7646 # Double quotes because CPP needs to be expanded
7647 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7650 for ac_c_preproc_warn_flag in '' yes
7652 # Use a header file that comes with gcc, so configuring glibc
7653 # with a fresh cross-compiler works.
7654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7655 # <limits.h> exists even on freestanding compilers.
7656 # On the NeXT, cc -E runs the code through the compiler's parser,
7657 # not just through cpp. "Syntax error" is here to catch this case.
7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659 /* end confdefs.h. */
7661 # include <limits.h>
7663 # include <assert.h>
7667 if ac_fn_c_try_cpp "$LINENO"; then :
7670 # Broken: fails on valid input.
7673 rm -f conftest.err conftest.i conftest.$ac_ext
7675 # OK, works on sane cases. Now check whether nonexistent headers
7676 # can be detected and how.
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7679 #include <ac_nonexistent.h>
7681 if ac_fn_c_try_cpp "$LINENO"; then :
7682 # Broken: success on invalid input.
7685 # Passes both tests.
7689 rm -f conftest.err conftest.i conftest.$ac_ext
7692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7693 rm -f conftest.i conftest.err conftest.$ac_ext
7694 if $ac_preproc_ok; then :
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7707 $as_echo "$CPP" >&6; }
7709 for ac_c_preproc_warn_flag in '' yes
7711 # Use a header file that comes with gcc, so configuring glibc
7712 # with a fresh cross-compiler works.
7713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7714 # <limits.h> exists even on freestanding compilers.
7715 # On the NeXT, cc -E runs the code through the compiler's parser,
7716 # not just through cpp. "Syntax error" is here to catch this case.
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7720 # include <limits.h>
7722 # include <assert.h>
7726 if ac_fn_c_try_cpp "$LINENO"; then :
7729 # Broken: fails on valid input.
7732 rm -f conftest.err conftest.i conftest.$ac_ext
7734 # OK, works on sane cases. Now check whether nonexistent headers
7735 # can be detected and how.
7736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7738 #include <ac_nonexistent.h>
7740 if ac_fn_c_try_cpp "$LINENO"; then :
7741 # Broken: success on invalid input.
7744 # Passes both tests.
7748 rm -f conftest.err conftest.i conftest.$ac_ext
7751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7752 rm -f conftest.i conftest.err conftest.$ac_ext
7753 if $ac_preproc_ok; then :
7756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7758 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7759 See \`config.log' for more details" "$LINENO" 5; }
7763 ac_cpp='$CPP $CPPFLAGS'
7764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7770 $as_echo_n "checking for ANSI C header files... " >&6; }
7771 if ${ac_cv_header_stdc+:} false; then :
7772 $as_echo_n "(cached) " >&6
7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7789 if ac_fn_c_try_compile "$LINENO"; then :
7790 ac_cv_header_stdc=yes
7792 ac_cv_header_stdc=no
7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7796 if test $ac_cv_header_stdc = yes; then
7797 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7799 /* end confdefs.h. */
7803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7804 $EGREP "memchr" >/dev/null 2>&1; then :
7807 ac_cv_header_stdc=no
7813 if test $ac_cv_header_stdc = yes; then
7814 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h. */
7820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7821 $EGREP "free" >/dev/null 2>&1; then :
7824 ac_cv_header_stdc=no
7830 if test $ac_cv_header_stdc = yes; then
7831 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7832 if test "$cross_compiling" = yes; then :
7835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h. */
7839 #if ((' ' & 0x0FF) == 0x020)
7840 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7841 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7843 # define ISLOWER(c) \
7844 (('a' <= (c) && (c) <= 'i') \
7845 || ('j' <= (c) && (c) <= 'r') \
7846 || ('s' <= (c) && (c) <= 'z'))
7847 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7850 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7855 for (i = 0; i < 256; i++)
7856 if (XOR (islower (i), ISLOWER (i))
7857 || toupper (i) != TOUPPER (i))
7862 if ac_fn_c_try_run "$LINENO"; then :
7865 ac_cv_header_stdc=no
7867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7868 conftest.$ac_objext conftest.beam conftest.$ac_ext
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7874 $as_echo "$ac_cv_header_stdc" >&6; }
7875 if test $ac_cv_header_stdc = yes; then
7877 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7881 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7882 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7883 inttypes.h stdint.h unistd.h
7885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7889 cat >>confdefs.h <<_ACEOF
7890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7898 for ac_header in dlfcn.h
7900 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7902 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7903 cat >>confdefs.h <<_ACEOF
7904 #define HAVE_DLFCN_H 1
7925 # Check whether --enable-shared was given.
7926 if test "${enable_shared+set}" = set; then :
7927 enableval=$enable_shared; p=${PACKAGE-default}
7929 yes) enable_shared=yes ;;
7930 no) enable_shared=no ;;
7933 # Look at the argument we got. We use all the common list separators.
7934 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7935 for pkg in $enableval; do
7937 if test "X$pkg" = "X$p"; then
7958 # Check whether --with-pic was given.
7959 if test "${with_pic+set}" = set; then :
7960 withval=$with_pic; pic_mode="$withval"
7966 test -z "$pic_mode" && pic_mode=default
7974 # Check whether --enable-fast-install was given.
7975 if test "${enable_fast_install+set}" = set; then :
7976 enableval=$enable_fast_install; p=${PACKAGE-default}
7978 yes) enable_fast_install=yes ;;
7979 no) enable_fast_install=no ;;
7981 enable_fast_install=no
7982 # Look at the argument we got. We use all the common list separators.
7983 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7984 for pkg in $enableval; do
7986 if test "X$pkg" = "X$p"; then
7987 enable_fast_install=yes
7994 enable_fast_install=yes
8007 # This can be used to rebuild libtool when needed
8008 LIBTOOL_DEPS="$ltmain"
8010 # Always use our own libtool.
8011 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8038 test -z "$LN_S" && LN_S="ln -s"
8053 if test -n "${ZSH_VERSION+set}" ; then
8054 setopt NO_GLOB_SUBST
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8058 $as_echo_n "checking for objdir... " >&6; }
8059 if ${lt_cv_objdir+:} false; then :
8060 $as_echo_n "(cached) " >&6
8062 rm -f .libs 2>/dev/null
8063 mkdir .libs 2>/dev/null
8064 if test -d .libs; then
8067 # MS-DOS does not allow filenames that begin with a dot.
8070 rmdir .libs 2>/dev/null
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8073 $as_echo "$lt_cv_objdir" >&6; }
8074 objdir=$lt_cv_objdir
8080 cat >>confdefs.h <<_ACEOF
8081 #define LT_OBJDIR "$lt_cv_objdir/"
8089 # AIX sometimes has problems with the GCC collect2 program. For some
8090 # reason, if we set the COLLECT_NAMES environment variable, the problems
8091 # vanish in a puff of smoke.
8092 if test "X${COLLECT_NAMES+set}" != Xset; then
8094 export COLLECT_NAMES
8101 can_build_shared=yes
8103 # All known linkers require a `.a' archive for static linking (except MSVC,
8104 # which needs '.lib').
8107 with_gnu_ld="$lt_cv_prog_gnu_ld"
8110 old_CFLAGS="$CFLAGS"
8112 # Set sane defaults for various variables
8113 test -z "$CC" && CC=cc
8114 test -z "$LTCC" && LTCC=$CC
8115 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8116 test -z "$LD" && LD=ld
8117 test -z "$ac_objext" && ac_objext=o
8119 for cc_temp in $compiler""; do
8121 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8122 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8127 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8130 # Only perform the check for file, if the check method requires it
8131 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8132 case $deplibs_check_method in
8134 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8136 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8137 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8138 $as_echo_n "(cached) " >&6
8142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8145 lt_save_MAGIC_CMD="$MAGIC_CMD"
8146 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8147 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8148 for ac_dir in $ac_dummy; do
8150 test -z "$ac_dir" && ac_dir=.
8151 if test -f $ac_dir/${ac_tool_prefix}file; then
8152 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8153 if test -n "$file_magic_test_file"; then
8154 case $deplibs_check_method in
8156 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8157 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8158 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8159 $EGREP "$file_magic_regex" > /dev/null; then
8164 *** Warning: the command libtool uses to detect shared libraries,
8165 *** $file_magic_cmd, produces output that libtool cannot recognize.
8166 *** The result is that libtool may fail to recognize shared libraries
8167 *** as such. This will affect the creation of libtool libraries that
8168 *** depend on shared libraries, but programs linked with such libtool
8169 *** libraries will work regardless of this problem. Nevertheless, you
8170 *** may want to report the problem to your system manager and/or to
8171 *** bug-libtool@gnu.org
8181 MAGIC_CMD="$lt_save_MAGIC_CMD"
8186 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8187 if test -n "$MAGIC_CMD"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8189 $as_echo "$MAGIC_CMD" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192 $as_echo "no" >&6; }
8199 if test -z "$lt_cv_path_MAGIC_CMD"; then
8200 if test -n "$ac_tool_prefix"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8202 $as_echo_n "checking for file... " >&6; }
8203 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8204 $as_echo_n "(cached) " >&6
8208 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8211 lt_save_MAGIC_CMD="$MAGIC_CMD"
8212 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8213 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8214 for ac_dir in $ac_dummy; do
8216 test -z "$ac_dir" && ac_dir=.
8217 if test -f $ac_dir/file; then
8218 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8219 if test -n "$file_magic_test_file"; then
8220 case $deplibs_check_method in
8222 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8223 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8224 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8225 $EGREP "$file_magic_regex" > /dev/null; then
8230 *** Warning: the command libtool uses to detect shared libraries,
8231 *** $file_magic_cmd, produces output that libtool cannot recognize.
8232 *** The result is that libtool may fail to recognize shared libraries
8233 *** as such. This will affect the creation of libtool libraries that
8234 *** depend on shared libraries, but programs linked with such libtool
8235 *** libraries will work regardless of this problem. Nevertheless, you
8236 *** may want to report the problem to your system manager and/or to
8237 *** bug-libtool@gnu.org
8247 MAGIC_CMD="$lt_save_MAGIC_CMD"
8252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253 if test -n "$MAGIC_CMD"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8255 $as_echo "$MAGIC_CMD" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8271 # Use C for the default configuration in the libtool script
8275 ac_cpp='$CPP $CPPFLAGS'
8276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8281 # Source file extension for C test sources.
8284 # Object file extension for compiled C test sources.
8288 # Code to be used in simple compile tests
8289 lt_simple_compile_test_code="int some_variable = 0;"
8291 # Code to be used in simple link tests
8292 lt_simple_link_test_code='int main(){return(0);}'
8300 # If no C compiler was specified, use CC.
8303 # If no C compiler flags were specified, use CFLAGS.
8304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8306 # Allow CC to be a program name with arguments.
8309 # Save the default compiler, since it gets overwritten when the other
8310 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8311 compiler_DEFAULT=$CC
8313 # save warnings/boilerplate of simple test code
8314 ac_outfile=conftest.$ac_objext
8315 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8316 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8317 _lt_compiler_boilerplate=`cat conftest.err`
8320 ac_outfile=conftest.$ac_objext
8321 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8322 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8323 _lt_linker_boilerplate=`cat conftest.err`
8328 ## There is no encapsulation within the following macros, do not change
8329 ## the running order or otherwise move them around unless you know exactly
8330 ## what you are doing...
8331 if test -n "$compiler"; then
8333 lt_prog_compiler_no_builtin_flag=
8335 if test "$GCC" = yes; then
8336 case $cc_basename in
8338 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8340 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8344 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8345 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8346 $as_echo_n "(cached) " >&6
8348 lt_cv_prog_compiler_rtti_exceptions=no
8349 ac_outfile=conftest.$ac_objext
8350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8351 lt_compiler_flag="-fno-rtti -fno-exceptions"
8352 # Insert the option either (1) after the last *FLAGS variable, or
8353 # (2) before a word containing "conftest.", or (3) at the end.
8354 # Note that $ac_compile itself does not contain backslashes and begins
8355 # with a dollar sign (not a hyphen), so the echo should work correctly.
8356 # The option is referenced via a variable to avoid confusing sed.
8357 lt_compile=`echo "$ac_compile" | $SED \
8358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360 -e 's:$: $lt_compiler_flag:'`
8361 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8362 (eval "$lt_compile" 2>conftest.err)
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 if (exit $ac_status) && test -s "$ac_outfile"; then
8367 # The compiler can only warn and ignore the option if not recognized
8368 # So say no if there are warnings other than the usual output.
8369 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8370 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8371 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8372 lt_cv_prog_compiler_rtti_exceptions=yes
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8379 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8381 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8382 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8394 lt_prog_compiler_wl=
8395 lt_prog_compiler_pic=
8396 lt_prog_compiler_static=
8399 if test "$GCC" = yes; then
8400 lt_prog_compiler_wl='-Wl,'
8401 lt_prog_compiler_static='-static'
8405 # All AIX code is PIC.
8406 if test "$host_cpu" = ia64; then
8407 # AIX 5 now supports IA64 processor
8408 lt_prog_compiler_static='-Bstatic'
8415 # see comment about AmigaOS4 .so support
8416 lt_prog_compiler_pic='-fPIC'
8419 # FIXME: we need at least 68020 code to build shared libraries, but
8420 # adding the `-m68020' flag to GCC prevents building anything better,
8422 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8427 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8428 # PIC is the default for these OSes.
8431 mingw* | cygwin* | pw32* | os2* | cegcc*)
8432 # This hack is so that the source file can tell whether it is being
8433 # built for inclusion in a dll (and should export symbols for example).
8434 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8435 # (--disable-auto-import) libraries
8436 lt_prog_compiler_pic='-DDLL_EXPORT'
8439 darwin* | rhapsody*)
8440 # PIC is the default on this platform
8441 # Common symbols not allowed in MH_DYLIB files
8442 lt_prog_compiler_pic='-fno-common'
8446 # PIC is the default for Haiku.
8447 # The "-static" flag exists, but is broken.
8448 lt_prog_compiler_static=
8452 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8453 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8454 # sets the default TLS model and affects inlining.
8460 lt_prog_compiler_pic='-fPIC'
8466 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8467 # Instead, we relocate shared libraries at runtime.
8471 # Just because we use GCC doesn't mean we suddenly get shared libraries
8472 # on systems that don't support them.
8473 lt_prog_compiler_can_build_shared=no
8478 # QNX uses GNU C++, but need to define -shared option too, otherwise
8480 lt_prog_compiler_pic='-fPIC -shared'
8484 if test -d /usr/nec; then
8485 lt_prog_compiler_pic=-Kconform_pic
8490 lt_prog_compiler_pic='-fPIC'
8494 case $cc_basename in
8495 nvcc*) # Cuda Compiler Driver 2.2
8496 lt_prog_compiler_wl='-Xlinker '
8497 lt_prog_compiler_pic='-Xcompiler -fPIC'
8501 # PORTME Check for flag to pass linker flags through the system compiler.
8504 lt_prog_compiler_wl='-Wl,'
8505 if test "$host_cpu" = ia64; then
8506 # AIX 5 now supports IA64 processor
8507 lt_prog_compiler_static='-Bstatic'
8509 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8513 mingw* | cygwin* | pw32* | os2* | cegcc*)
8514 # This hack is so that the source file can tell whether it is being
8515 # built for inclusion in a dll (and should export symbols for example).
8516 lt_prog_compiler_pic='-DDLL_EXPORT'
8519 hpux9* | hpux10* | hpux11*)
8520 lt_prog_compiler_wl='-Wl,'
8521 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8528 lt_prog_compiler_pic='+Z'
8531 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8532 lt_prog_compiler_static='${wl}-a ${wl}archive'
8535 irix5* | irix6* | nonstopux*)
8536 lt_prog_compiler_wl='-Wl,'
8537 # PIC (with -KPIC) is the default.
8538 lt_prog_compiler_static='-non_shared'
8541 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8542 case $cc_basename in
8543 # old Intel for x86_64 which still supported -KPIC.
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-KPIC'
8547 lt_prog_compiler_static='-static'
8549 # icc used to be incompatible with GCC.
8550 # ICC 10 doesn't accept -KPIC any more.
8552 lt_prog_compiler_wl='-Wl,'
8553 lt_prog_compiler_pic='-fPIC'
8554 lt_prog_compiler_static='-static'
8556 # Lahey Fortran 8.1.
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_pic='--shared'
8560 lt_prog_compiler_static='--static'
8563 # NAG Fortran compiler
8564 lt_prog_compiler_wl='-Wl,-Wl,,'
8565 lt_prog_compiler_pic='-PIC'
8566 lt_prog_compiler_static='-Bstatic'
8568 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8569 # Portland Group compilers (*not* the Pentium gcc compiler,
8570 # which looks to be a dead project)
8571 lt_prog_compiler_wl='-Wl,'
8572 lt_prog_compiler_pic='-fpic'
8573 lt_prog_compiler_static='-Bstatic'
8576 lt_prog_compiler_wl='-Wl,'
8577 # All Alpha code is PIC.
8578 lt_prog_compiler_static='-non_shared'
8580 xl* | bgxl* | bgf* | mpixl*)
8581 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8582 lt_prog_compiler_wl='-Wl,'
8583 lt_prog_compiler_pic='-qpic'
8584 lt_prog_compiler_static='-qstaticlink'
8587 case `$CC -V 2>&1 | sed 5q` in
8588 *Sun\ F* | *Sun*Fortran*)
8589 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8590 lt_prog_compiler_pic='-KPIC'
8591 lt_prog_compiler_static='-Bstatic'
8592 lt_prog_compiler_wl=''
8596 lt_prog_compiler_pic='-KPIC'
8597 lt_prog_compiler_static='-Bstatic'
8598 lt_prog_compiler_wl='-Wl,'
8606 lt_prog_compiler_pic='-KPIC'
8607 lt_prog_compiler_static='-Bstatic'
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8613 lt_prog_compiler_pic='-fPIC -shared'
8616 osf3* | osf4* | osf5*)
8617 lt_prog_compiler_wl='-Wl,'
8618 # All OSF/1 code is PIC.
8619 lt_prog_compiler_static='-non_shared'
8623 lt_prog_compiler_static='-non_shared'
8627 lt_prog_compiler_pic='-KPIC'
8628 lt_prog_compiler_static='-Bstatic'
8629 case $cc_basename in
8630 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8631 lt_prog_compiler_wl='-Qoption ld ';;
8633 lt_prog_compiler_wl='-Wl,';;
8638 lt_prog_compiler_wl='-Qoption ld '
8639 lt_prog_compiler_pic='-PIC'
8640 lt_prog_compiler_static='-Bstatic'
8643 sysv4 | sysv4.2uw2* | sysv4.3*)
8644 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_pic='-KPIC'
8646 lt_prog_compiler_static='-Bstatic'
8650 if test -d /usr/nec ;then
8651 lt_prog_compiler_pic='-Kconform_pic'
8652 lt_prog_compiler_static='-Bstatic'
8656 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-KPIC'
8659 lt_prog_compiler_static='-Bstatic'
8663 lt_prog_compiler_wl='-Wl,'
8664 lt_prog_compiler_can_build_shared=no
8668 lt_prog_compiler_pic='-pic'
8669 lt_prog_compiler_static='-Bstatic'
8673 lt_prog_compiler_can_build_shared=no
8679 # For platforms which do not support PIC, -DPIC is meaningless:
8681 lt_prog_compiler_pic=
8684 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8689 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8690 if ${lt_cv_prog_compiler_pic+:} false; then :
8691 $as_echo_n "(cached) " >&6
8693 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8696 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8697 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8700 # Check to make sure the PIC flag actually works.
8702 if test -n "$lt_prog_compiler_pic"; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8704 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8705 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8706 $as_echo_n "(cached) " >&6
8708 lt_cv_prog_compiler_pic_works=no
8709 ac_outfile=conftest.$ac_objext
8710 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8711 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8712 # Insert the option either (1) after the last *FLAGS variable, or
8713 # (2) before a word containing "conftest.", or (3) at the end.
8714 # Note that $ac_compile itself does not contain backslashes and begins
8715 # with a dollar sign (not a hyphen), so the echo should work correctly.
8716 # The option is referenced via a variable to avoid confusing sed.
8717 lt_compile=`echo "$ac_compile" | $SED \
8718 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8719 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8720 -e 's:$: $lt_compiler_flag:'`
8721 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8722 (eval "$lt_compile" 2>conftest.err)
8724 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 if (exit $ac_status) && test -s "$ac_outfile"; then
8727 # The compiler can only warn and ignore the option if not recognized
8728 # So say no if there are warnings other than the usual output.
8729 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8730 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8731 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8732 lt_cv_prog_compiler_pic_works=yes
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8739 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8741 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8742 case $lt_prog_compiler_pic in
8744 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8747 lt_prog_compiler_pic=
8748 lt_prog_compiler_can_build_shared=no
8764 # Check to make sure the static flag actually works.
8766 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8768 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8769 if ${lt_cv_prog_compiler_static_works+:} false; then :
8770 $as_echo_n "(cached) " >&6
8772 lt_cv_prog_compiler_static_works=no
8773 save_LDFLAGS="$LDFLAGS"
8774 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8775 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8776 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8777 # The linker can only warn and ignore the option if not recognized
8778 # So say no if there are warnings
8779 if test -s conftest.err; then
8780 # Append any errors to the config.log.
8781 cat conftest.err 1>&5
8782 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8783 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8784 if diff conftest.exp conftest.er2 >/dev/null; then
8785 lt_cv_prog_compiler_static_works=yes
8788 lt_cv_prog_compiler_static_works=yes
8792 LDFLAGS="$save_LDFLAGS"
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8796 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8798 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8801 lt_prog_compiler_static=
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8811 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8812 if ${lt_cv_prog_compiler_c_o+:} false; then :
8813 $as_echo_n "(cached) " >&6
8815 lt_cv_prog_compiler_c_o=no
8816 $RM -r conftest 2>/dev/null
8820 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8822 lt_compiler_flag="-o out/conftest2.$ac_objext"
8823 # Insert the option either (1) after the last *FLAGS variable, or
8824 # (2) before a word containing "conftest.", or (3) at the end.
8825 # Note that $ac_compile itself does not contain backslashes and begins
8826 # with a dollar sign (not a hyphen), so the echo should work correctly.
8827 lt_compile=`echo "$ac_compile" | $SED \
8828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8830 -e 's:$: $lt_compiler_flag:'`
8831 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8832 (eval "$lt_compile" 2>out/conftest.err)
8834 cat out/conftest.err >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8838 # The compiler can only warn and ignore the option if not recognized
8839 # So say no if there are warnings
8840 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8841 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8842 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8843 lt_cv_prog_compiler_c_o=yes
8848 # SGI C++ compiler will create directory out/ii_files/ for
8849 # template instantiation
8850 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8851 $RM out/* && rmdir out
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8858 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8867 if ${lt_cv_prog_compiler_c_o+:} false; then :
8868 $as_echo_n "(cached) " >&6
8870 lt_cv_prog_compiler_c_o=no
8871 $RM -r conftest 2>/dev/null
8875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8877 lt_compiler_flag="-o out/conftest2.$ac_objext"
8878 # Insert the option either (1) after the last *FLAGS variable, or
8879 # (2) before a word containing "conftest.", or (3) at the end.
8880 # Note that $ac_compile itself does not contain backslashes and begins
8881 # with a dollar sign (not a hyphen), so the echo should work correctly.
8882 lt_compile=`echo "$ac_compile" | $SED \
8883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8885 -e 's:$: $lt_compiler_flag:'`
8886 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8887 (eval "$lt_compile" 2>out/conftest.err)
8889 cat out/conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8893 # The compiler can only warn and ignore the option if not recognized
8894 # So say no if there are warnings
8895 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8896 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8897 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8898 lt_cv_prog_compiler_c_o=yes
8903 # SGI C++ compiler will create directory out/ii_files/ for
8904 # template instantiation
8905 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8906 $RM out/* && rmdir out
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8913 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8918 hard_links="nottested"
8919 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8920 # do not overwrite the value of need_locks provided by the user
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8922 $as_echo_n "checking if we can lock with hard links... " >&6; }
8925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8927 ln conftest.a conftest.b 2>&5 || hard_links=no
8928 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8930 $as_echo "$hard_links" >&6; }
8931 if test "$hard_links" = no; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8933 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8946 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8949 allow_undefined_flag=
8950 always_export_symbols=no
8952 archive_expsym_cmds=
8953 compiler_needs_object=no
8954 enable_shared_with_static_runtimes=no
8955 export_dynamic_flag_spec=
8956 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8957 hardcode_automatic=no
8959 hardcode_direct_absolute=no
8960 hardcode_libdir_flag_spec=
8961 hardcode_libdir_flag_spec_ld=
8962 hardcode_libdir_separator=
8964 hardcode_shlibpath_var=unsupported
8966 link_all_deplibs=unknown
8969 old_archive_from_new_cmds=
8970 old_archive_from_expsyms_cmds=
8971 thread_safe_flag_spec=
8972 whole_archive_flag_spec=
8973 # include_expsyms should be a list of space-separated symbols to be *always*
8974 # included in the symbol list
8976 # exclude_expsyms can be an extended regexp of symbols to exclude
8977 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8978 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8979 # as well as any symbol that contains `d'.
8980 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8981 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8982 # platforms (ab)use it in PIC code, but their linkers get confused if
8983 # the symbol is explicitly referenced. Since portable code cannot
8984 # rely on this symbol name, it's probably fine to never include it in
8985 # preloaded symbol tables.
8986 # Exclude shared library initialization/finalization symbols.
8987 extract_expsyms_cmds=
8990 cygwin* | mingw* | pw32* | cegcc*)
8991 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8992 # When not using gcc, we currently assume that we are using
8993 # Microsoft Visual C++.
8994 if test "$GCC" != yes; then
8999 # we just hope/assume this is gcc and not c89 (= MSVC++)
9009 # On some targets, GNU ld is compatible enough with the native linker
9010 # that we're better off using the native interface for both.
9011 lt_use_gnu_ld_interface=no
9012 if test "$with_gnu_ld" = yes; then
9015 # The AIX port of GNU ld has always aspired to compatibility
9016 # with the native linker. However, as the warning in the GNU ld
9017 # block says, versions before 2.19.5* couldn't really create working
9018 # shared libraries, regardless of the interface used.
9019 case `$LD -v 2>&1` in
9020 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9021 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9022 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9024 lt_use_gnu_ld_interface=yes
9029 lt_use_gnu_ld_interface=yes
9034 if test "$lt_use_gnu_ld_interface" = yes; then
9035 # If archive_cmds runs LD, not CC, wlarc should be empty
9038 # Set some defaults for GNU ld with shared library support. These
9039 # are reset later if shared libraries are not supported. Putting them
9040 # here allows them to be overridden if necessary.
9041 runpath_var=LD_RUN_PATH
9042 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9043 export_dynamic_flag_spec='${wl}--export-dynamic'
9044 # ancient GNU ld didn't support --whole-archive et. al.
9045 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9046 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9048 whole_archive_flag_spec=
9050 supports_anon_versioning=no
9051 case `$LD -v 2>&1` in
9052 *GNU\ gold*) supports_anon_versioning=yes ;;
9053 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9054 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9055 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9056 *\ 2.11.*) ;; # other 2.11 versions
9057 *) supports_anon_versioning=yes ;;
9060 # See if GNU ld supports shared libraries.
9063 # On AIX/PPC, the GNU linker is very broken
9064 if test "$host_cpu" != ia64; then
9068 *** Warning: the GNU linker, at least up to release 2.19, is reported
9069 *** to be unable to reliably create shared libraries on AIX.
9070 *** Therefore, libtool is disabling shared libraries support. If you
9071 *** really care for shared libraries, you may want to install binutils
9072 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9073 *** You will then need to restart the configuration process.
9082 # see comment about AmigaOS4 .so support
9083 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9084 archive_expsym_cmds=''
9087 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)'
9088 hardcode_libdir_flag_spec='-L$libdir'
9089 hardcode_minus_L=yes
9095 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9096 allow_undefined_flag=unsupported
9097 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9098 # support --undefined. This deserves some investigation. FIXME
9099 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105 cygwin* | mingw* | pw32* | cegcc*)
9106 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9107 # as there is no search path for DLLs.
9108 hardcode_libdir_flag_spec='-L$libdir'
9109 export_dynamic_flag_spec='${wl}--export-all-symbols'
9110 allow_undefined_flag=unsupported
9111 always_export_symbols=no
9112 enable_shared_with_static_runtimes=yes
9113 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'
9114 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9116 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9117 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9118 # If the export-symbols file already is a .def file (1st line
9119 # is EXPORTS), use it as is; otherwise, prepend...
9120 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9121 cp $export_symbols $output_objdir/$soname.def;
9123 echo EXPORTS > $output_objdir/$soname.def;
9124 cat $export_symbols >> $output_objdir/$soname.def;
9126 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9133 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9134 link_all_deplibs=yes
9139 hardcode_shlibpath_var=no
9140 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9141 export_dynamic_flag_spec='${wl}-E'
9142 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9143 # Instead, shared libraries are loaded at an image base (0x10000000 by
9144 # default) and relocated if they conflict, which is a slow very memory
9145 # consuming and fragmenting process. To avoid this, we pick a random,
9146 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9147 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9148 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9149 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'
9152 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9154 if test "$host_os" = linux-dietlibc; then
9155 case $cc_basename in
9156 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9159 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9160 && test "$tmp_diet" = no
9162 tmp_addflag=' $pic_flag'
9163 tmp_sharedflag='-shared'
9164 case $cc_basename,$host_cpu in
9165 pgcc*) # Portland Group C compiler
9166 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'
9167 tmp_addflag=' $pic_flag'
9169 pgf77* | pgf90* | pgf95* | pgfortran*)
9170 # Portland Group f77 and f90 compilers
9171 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'
9172 tmp_addflag=' $pic_flag -Mnomain' ;;
9173 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9174 tmp_addflag=' -i_dynamic' ;;
9175 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9176 tmp_addflag=' -i_dynamic -nofor_main' ;;
9177 ifc* | ifort*) # Intel Fortran compiler
9178 tmp_addflag=' -nofor_main' ;;
9179 lf95*) # Lahey Fortran 8.1
9180 whole_archive_flag_spec=
9181 tmp_sharedflag='--shared' ;;
9182 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9183 tmp_sharedflag='-qmkshrobj'
9185 nvcc*) # Cuda Compiler Driver 2.2
9186 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'
9187 compiler_needs_object=yes
9190 case `$CC -V 2>&1 | sed 5q` in
9191 *Sun\ C*) # Sun C 5.9
9192 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'
9193 compiler_needs_object=yes
9194 tmp_sharedflag='-G' ;;
9195 *Sun\ F*) # Sun Fortran 8.3
9196 tmp_sharedflag='-G' ;;
9198 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9200 if test "x$supports_anon_versioning" = xyes; then
9201 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9202 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9203 echo "local: *; };" >> $output_objdir/$libname.ver~
9204 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9207 case $cc_basename in
9208 xlf* | bgf* | bgxlf* | mpixlf*)
9209 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9210 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9211 hardcode_libdir_flag_spec=
9212 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9213 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9214 if test "x$supports_anon_versioning" = xyes; then
9215 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9216 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9217 echo "local: *; };" >> $output_objdir/$libname.ver~
9218 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9228 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9229 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9232 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9233 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9238 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9242 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9243 *** create shared libraries on Solaris systems. Therefore, libtool
9244 *** is disabling shared libraries support. We urge you to upgrade GNU
9245 *** binutils to release 2.9.1 or newer. Another option is to modify
9246 *** your PATH or compiler configuration so that the native linker is
9247 *** used, and then restart.
9250 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9251 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9258 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9259 case `$LD -v 2>&1` in
9260 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9264 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9265 *** reliably create shared libraries on SCO systems. Therefore, libtool
9266 *** is disabling shared libraries support. We urge you to upgrade GNU
9267 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9268 *** your PATH or compiler configuration so that the native linker is
9269 *** used, and then restart.
9274 # For security reasons, it is highly recommended that you always
9275 # use absolute paths for naming shared libraries, and exclude the
9276 # DT_RUNPATH tag from executables and libraries. But doing so
9277 # requires that you compile everything twice, which is a pain.
9278 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9279 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9280 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9281 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9290 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9293 hardcode_shlibpath_var=no
9297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9298 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9306 if test "$ld_shlibs" = no; then
9308 hardcode_libdir_flag_spec=
9309 export_dynamic_flag_spec=
9310 whole_archive_flag_spec=
9313 # PORTME fill in a description of your system's linker (not GNU ld)
9316 allow_undefined_flag=unsupported
9317 always_export_symbols=yes
9318 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'
9319 # Note: this linker hardcodes the directories in LIBPATH if there
9320 # are no directories specified by -L.
9321 hardcode_minus_L=yes
9322 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9323 # Neither direct hardcoding nor static linking is supported with a
9325 hardcode_direct=unsupported
9330 if test "$host_cpu" = ia64; then
9331 # On IA64, the linker does run time linking by default, so we don't
9332 # have to do anything special.
9333 aix_use_runtimelinking=no
9334 exp_sym_flag='-Bexport'
9337 # If we're using GNU nm, then we don't want the "-C" option.
9338 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9339 # Also, AIX nm treats weak defined symbols like other global
9340 # defined symbols, whereas GNU nm marks them as "W".
9341 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9342 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'
9344 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'
9346 aix_use_runtimelinking=no
9348 # Test if we are trying to use run time linking or normal
9349 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9350 # need to do runtime linking.
9351 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9352 for ld_flag in $LDFLAGS; do
9353 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9354 aix_use_runtimelinking=yes
9361 exp_sym_flag='-bexport'
9362 no_entry_flag='-bnoentry'
9365 # When large executables or shared objects are built, AIX ld can
9366 # have problems creating the table of contents. If linking a library
9367 # or program results in "error TOC overflow" add -mminimal-toc to
9368 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9369 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9373 hardcode_direct_absolute=yes
9374 hardcode_libdir_separator=':'
9375 link_all_deplibs=yes
9376 file_list_spec='${wl}-f,'
9378 if test "$GCC" = yes; then
9379 case $host_os in aix4.[012]|aix4.[012].*)
9380 # We only want to do this on AIX 4.2 and lower, the check
9381 # below for broken collect2 doesn't work under 4.3+
9382 collect2name=`${CC} -print-prog-name=collect2`
9383 if test -f "$collect2name" &&
9384 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9386 # We have reworked collect2
9389 # We have old collect2
9390 hardcode_direct=unsupported
9391 # It fails to find uninstalled libraries when the uninstalled
9392 # path is not listed in the libpath. Setting hardcode_minus_L
9393 # to unsupported forces relinking
9394 hardcode_minus_L=yes
9395 hardcode_libdir_flag_spec='-L$libdir'
9396 hardcode_libdir_separator=
9400 shared_flag='-shared'
9401 if test "$aix_use_runtimelinking" = yes; then
9402 shared_flag="$shared_flag "'${wl}-G'
9406 if test "$host_cpu" = ia64; then
9407 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9408 # chokes on -Wl,-G. The following line is correct:
9411 if test "$aix_use_runtimelinking" = yes; then
9412 shared_flag='${wl}-G'
9414 shared_flag='${wl}-bM:SRE'
9419 export_dynamic_flag_spec='${wl}-bexpall'
9420 # It seems that -bexpall does not export symbols beginning with
9421 # underscore (_), so it is better to generate a list of symbols to export.
9422 always_export_symbols=yes
9423 if test "$aix_use_runtimelinking" = yes; then
9424 # Warning - without using the other runtime loading flags (-brtl),
9425 # -berok will link without error, but may produce a broken library.
9426 allow_undefined_flag='-berok'
9427 # Determine the default libpath from the value encoded in an
9429 if test "${lt_cv_aix_libpath+set}" = set; then
9430 aix_libpath=$lt_cv_aix_libpath
9432 if ${lt_cv_aix_libpath_+:} false; then :
9433 $as_echo_n "(cached) " >&6
9435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9446 if ac_fn_c_try_link "$LINENO"; then :
9448 lt_aix_libpath_sed='
9449 /Import File Strings/,/^$/ {
9451 s/^0 *\([^ ]*\) *$/\1/
9455 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9456 # Check for a 64-bit object if we didn't find anything.
9457 if test -z "$lt_cv_aix_libpath_"; then
9458 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 if test -z "$lt_cv_aix_libpath_"; then
9464 lt_cv_aix_libpath_="/usr/lib:/lib"
9469 aix_libpath=$lt_cv_aix_libpath_
9472 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9473 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"
9475 if test "$host_cpu" = ia64; then
9476 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9477 allow_undefined_flag="-z nodefs"
9478 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"
9480 # Determine the default libpath from the value encoded in an
9482 if test "${lt_cv_aix_libpath+set}" = set; then
9483 aix_libpath=$lt_cv_aix_libpath
9485 if ${lt_cv_aix_libpath_+:} false; then :
9486 $as_echo_n "(cached) " >&6
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9499 if ac_fn_c_try_link "$LINENO"; then :
9501 lt_aix_libpath_sed='
9502 /Import File Strings/,/^$/ {
9504 s/^0 *\([^ ]*\) *$/\1/
9508 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9509 # Check for a 64-bit object if we didn't find anything.
9510 if test -z "$lt_cv_aix_libpath_"; then
9511 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 if test -z "$lt_cv_aix_libpath_"; then
9517 lt_cv_aix_libpath_="/usr/lib:/lib"
9522 aix_libpath=$lt_cv_aix_libpath_
9525 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9526 # Warning - without using the other run time loading flags,
9527 # -berok will link without error, but may produce a broken library.
9528 no_undefined_flag=' ${wl}-bernotok'
9529 allow_undefined_flag=' ${wl}-berok'
9530 if test "$with_gnu_ld" = yes; then
9531 # We only use this code for GNU lds that support --whole-archive.
9532 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9534 # Exported symbols can be pulled into shared objects from archives
9535 whole_archive_flag_spec='$convenience'
9537 archive_cmds_need_lc=yes
9538 # This is similar to how AIX traditionally builds its shared libraries.
9539 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'
9547 # see comment about AmigaOS4 .so support
9548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9549 archive_expsym_cmds=''
9552 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)'
9553 hardcode_libdir_flag_spec='-L$libdir'
9554 hardcode_minus_L=yes
9560 export_dynamic_flag_spec=-rdynamic
9563 cygwin* | mingw* | pw32* | cegcc*)
9564 # When not using gcc, we currently assume that we are using
9565 # Microsoft Visual C++.
9566 # hardcode_libdir_flag_spec is actually meaningless, as there is
9567 # no search path for DLLs.
9568 case $cc_basename in
9571 hardcode_libdir_flag_spec=' '
9572 allow_undefined_flag=unsupported
9573 always_export_symbols=yes
9575 # Tell ltmain to make .lib files, not .a files.
9577 # Tell ltmain to make .dll files, not .so files.
9579 # FIXME: Setting linknames here is a bad hack.
9580 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9581 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9582 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9584 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9586 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9588 # The linker will not automatically build a static lib if we build a DLL.
9589 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9590 enable_shared_with_static_runtimes=yes
9591 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9593 old_postinstall_cmds='chmod 644 $oldlib'
9594 postlink_cmds='lt_outputfile="@OUTPUT@"~
9595 lt_tool_outputfile="@TOOL_OUTPUT@"~
9596 case $lt_outputfile in
9599 lt_outputfile="$lt_outputfile.exe"
9600 lt_tool_outputfile="$lt_tool_outputfile.exe"
9603 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9604 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9605 $RM "$lt_outputfile.manifest";
9609 # Assume MSVC wrapper
9610 hardcode_libdir_flag_spec=' '
9611 allow_undefined_flag=unsupported
9612 # Tell ltmain to make .lib files, not .a files.
9614 # Tell ltmain to make .dll files, not .so files.
9616 # FIXME: Setting linknames here is a bad hack.
9617 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9618 # The linker will automatically build a .lib file if we build a DLL.
9619 old_archive_from_new_cmds='true'
9620 # FIXME: Should let the user specify the lib program.
9621 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9622 enable_shared_with_static_runtimes=yes
9627 darwin* | rhapsody*)
9630 archive_cmds_need_lc=no
9632 hardcode_automatic=yes
9633 hardcode_shlibpath_var=unsupported
9634 if test "$lt_cv_ld_force_load" = "yes"; then
9635 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\"`'
9637 whole_archive_flag_spec=''
9639 link_all_deplibs=yes
9640 allow_undefined_flag="$_lt_dar_allow_undefined"
9641 case $cc_basename in
9642 ifort*) _lt_dar_can_shared=yes ;;
9643 *) _lt_dar_can_shared=$GCC ;;
9645 if test "$_lt_dar_can_shared" = "yes"; then
9646 output_verbose_link_cmd=func_echo_all
9647 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9648 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9649 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}"
9650 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}"
9659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_libdir_flag_spec='-L$libdir'
9661 hardcode_shlibpath_var=no
9668 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9669 # support. Future versions do this automatically, but an explicit c++rt0.o
9670 # does not break anything, and helps significantly (at the cost of a little
9673 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9674 hardcode_libdir_flag_spec='-R$libdir'
9676 hardcode_shlibpath_var=no
9679 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9681 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_minus_L=yes
9684 hardcode_shlibpath_var=no
9687 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9688 freebsd* | dragonfly*)
9689 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690 hardcode_libdir_flag_spec='-R$libdir'
9692 hardcode_shlibpath_var=no
9696 if test "$GCC" = yes; then
9697 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'
9699 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'
9701 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9702 hardcode_libdir_separator=:
9705 # hardcode_minus_L: Not really in the search PATH,
9706 # but as the default location of the library.
9707 hardcode_minus_L=yes
9708 export_dynamic_flag_spec='${wl}-E'
9712 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9713 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9717 if test "$with_gnu_ld" = no; then
9718 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9719 hardcode_libdir_flag_spec_ld='+b $libdir'
9720 hardcode_libdir_separator=:
9722 hardcode_direct_absolute=yes
9723 export_dynamic_flag_spec='${wl}-E'
9724 # hardcode_minus_L: Not really in the search PATH,
9725 # but as the default location of the library.
9726 hardcode_minus_L=yes
9731 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9734 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9749 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9753 # Older versions of the 11.00 compiler do not understand -b yet
9754 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9756 $as_echo_n "checking if $CC understands -b... " >&6; }
9757 if ${lt_cv_prog_compiler__b+:} false; then :
9758 $as_echo_n "(cached) " >&6
9760 lt_cv_prog_compiler__b=no
9761 save_LDFLAGS="$LDFLAGS"
9762 LDFLAGS="$LDFLAGS -b"
9763 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9764 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9765 # The linker can only warn and ignore the option if not recognized
9766 # So say no if there are warnings
9767 if test -s conftest.err; then
9768 # Append any errors to the config.log.
9769 cat conftest.err 1>&5
9770 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9771 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9772 if diff conftest.exp conftest.er2 >/dev/null; then
9773 lt_cv_prog_compiler__b=yes
9776 lt_cv_prog_compiler__b=yes
9780 LDFLAGS="$save_LDFLAGS"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9784 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9786 if test x"$lt_cv_prog_compiler__b" = xyes; then
9787 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795 if test "$with_gnu_ld" = no; then
9796 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9797 hardcode_libdir_separator=:
9802 hardcode_shlibpath_var=no
9806 hardcode_direct_absolute=yes
9807 export_dynamic_flag_spec='${wl}-E'
9809 # hardcode_minus_L: Not really in the search PATH,
9810 # but as the default location of the library.
9811 hardcode_minus_L=yes
9817 irix5* | irix6* | nonstopux*)
9818 if test "$GCC" = yes; then
9819 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'
9820 # Try to use the -exported_symbol ld option, if it does not
9821 # work, assume that -exports_file does not work either and
9822 # implicitly export all symbols.
9823 # This should be the same for all languages, so no per-tag cache variable.
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9825 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9826 if ${lt_cv_irix_exported_symbol+:} false; then :
9827 $as_echo_n "(cached) " >&6
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int foo (void) { return 0; }
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 lt_cv_irix_exported_symbol=yes
9838 lt_cv_irix_exported_symbol=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 LDFLAGS="$save_LDFLAGS"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9845 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9846 if test "$lt_cv_irix_exported_symbol" = yes; then
9847 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'
9850 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'
9851 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'
9853 archive_cmds_need_lc='no'
9854 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9855 hardcode_libdir_separator=:
9857 link_all_deplibs=yes
9861 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9862 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9864 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9866 hardcode_libdir_flag_spec='-R$libdir'
9868 hardcode_shlibpath_var=no
9872 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875 hardcode_libdir_separator=:
9876 hardcode_shlibpath_var=no
9883 if test -f /usr/libexec/ld.so; then
9885 hardcode_shlibpath_var=no
9886 hardcode_direct_absolute=yes
9887 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9888 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9890 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9891 export_dynamic_flag_spec='${wl}-E'
9894 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9895 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9896 hardcode_libdir_flag_spec='-R$libdir'
9899 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9900 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9910 hardcode_libdir_flag_spec='-L$libdir'
9911 hardcode_minus_L=yes
9912 allow_undefined_flag=unsupported
9913 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'
9914 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9918 if test "$GCC" = yes; then
9919 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9920 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'
9922 allow_undefined_flag=' -expect_unresolved \*'
9923 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'
9925 archive_cmds_need_lc='no'
9926 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927 hardcode_libdir_separator=:
9930 osf4* | osf5*) # as osf3* with the addition of -msym flag
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933 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'
9934 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9936 allow_undefined_flag=' -expect_unresolved \*'
9937 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'
9938 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~
9939 $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'
9941 # Both c and cxx compiler support -rpath directly
9942 hardcode_libdir_flag_spec='-rpath $libdir'
9944 archive_cmds_need_lc='no'
9945 hardcode_libdir_separator=:
9949 no_undefined_flag=' -z defs'
9950 if test "$GCC" = yes; then
9952 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $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'
9956 case `$CC -V 2>&1` in
9959 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9961 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9965 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 hardcode_libdir_flag_spec='-R$libdir'
9972 hardcode_shlibpath_var=no
9974 solaris2.[0-5] | solaris2.[0-5].*) ;;
9976 # The compiler driver will combine and reorder linker options,
9977 # but understands `-z linker_flag'. GCC discards it without `$wl',
9978 # but is careful enough not to reorder.
9979 # Supported since Solaris 2.6 (maybe 2.5.1?)
9980 if test "$GCC" = yes; then
9981 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9983 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9987 link_all_deplibs=yes
9991 if test "x$host_vendor" = xsequent; then
9992 # Use $CC to link under sequent, because it throws in some extra .o
9993 # files that make .init and .fini sections work.
9994 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_libdir_flag_spec='-L$libdir'
10000 hardcode_minus_L=yes
10001 hardcode_shlibpath_var=no
10005 case $host_vendor in
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct=yes # is this really true???
10011 ## LD is ld it makes a PLAMLIB
10012 ## CC just makes a GrossModule.
10013 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10014 reload_cmds='$CC -r -o $output$reload_objs'
10018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10022 runpath_var='LD_RUN_PATH'
10023 hardcode_shlibpath_var=no
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var=no
10029 export_dynamic_flag_spec='-Bexport'
10033 if test -d /usr/nec; then
10034 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_shlibpath_var=no
10036 runpath_var=LD_RUN_PATH
10037 hardcode_runpath_var=yes
10042 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10043 no_undefined_flag='${wl}-z,text'
10044 archive_cmds_need_lc=no
10045 hardcode_shlibpath_var=no
10046 runpath_var='LD_RUN_PATH'
10048 if test "$GCC" = yes; then
10049 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 sysv5* | sco3.2v5* | sco5v6*)
10058 # Note: We can NOT use -z defs as we might desire, because we do not
10059 # link with -lc, and that would cause any symbols used from libc to
10060 # always be unresolved, which means just about no library would
10061 # ever link correctly. If we're not using GNU ld we use -z text
10062 # though, which does catch some bad symbols but isn't as heavy-handed
10064 no_undefined_flag='${wl}-z,text'
10065 allow_undefined_flag='${wl}-z,nodefs'
10066 archive_cmds_need_lc=no
10067 hardcode_shlibpath_var=no
10068 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10069 hardcode_libdir_separator=':'
10070 link_all_deplibs=yes
10071 export_dynamic_flag_spec='${wl}-Bexport'
10072 runpath_var='LD_RUN_PATH'
10074 if test "$GCC" = yes; then
10075 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_libdir_flag_spec='-L$libdir'
10086 hardcode_shlibpath_var=no
10094 if test x$host_vendor = xsni; then
10096 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10097 export_dynamic_flag_spec='${wl}-Blargedynsym'
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10104 $as_echo "$ld_shlibs" >&6; }
10105 test "$ld_shlibs" = no && can_build_shared=no
10107 with_gnu_ld=$with_gnu_ld
10124 # Do we need to explicitly link libc?
10126 case "x$archive_cmds_need_lc" in
10128 # Assume -lc should be added
10129 archive_cmds_need_lc=yes
10131 if test "$enable_shared" = yes && test "$GCC" = yes; then
10132 case $archive_cmds in
10134 # FIXME: we may have to deal with multi-command sequences.
10137 # Test whether the compiler implicitly links with -lc since on some
10138 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10139 # to ld, don't add -lc before -lgcc.
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10141 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10142 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10143 $as_echo_n "(cached) " >&6
10146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10149 (eval $ac_compile) 2>&5
10151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10152 test $ac_status = 0; } 2>conftest.err; then
10155 libobjs=conftest.$ac_objext
10157 wl=$lt_prog_compiler_wl
10158 pic_flag=$lt_prog_compiler_pic
10164 lt_save_allow_undefined_flag=$allow_undefined_flag
10165 allow_undefined_flag=
10166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10167 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170 test $ac_status = 0; }
10172 lt_cv_archive_cmds_need_lc=no
10174 lt_cv_archive_cmds_need_lc=yes
10176 allow_undefined_flag=$lt_save_allow_undefined_flag
10178 cat conftest.err 1>&5
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10184 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10185 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10349 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10351 if test "$GCC" = yes; then
10353 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10354 *) lt_awk_arg="/^libraries:/" ;;
10357 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10358 *) lt_sed_strip_eq="s,=/,/,g" ;;
10360 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10361 case $lt_search_path_spec in
10363 # if the path contains ";" then we assume it to be the separator
10364 # otherwise default to the standard path separator (i.e. ":") - it is
10365 # assumed that no part of a normal pathname contains ";" but that should
10366 # okay in the real world where ";" in dirpaths is itself problematic.
10367 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10370 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10373 # Ok, now we have the path, separated by spaces, we can step through it
10374 # and add multilib dir if necessary.
10375 lt_tmp_lt_search_path_spec=
10376 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10377 for lt_sys_path in $lt_search_path_spec; do
10378 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10379 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10381 test -d "$lt_sys_path" && \
10382 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10385 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10386 BEGIN {RS=" "; FS="/|\n";} {
10389 for (lt_i = NF; lt_i > 0; lt_i--) {
10390 if ($lt_i != "" && $lt_i != ".") {
10391 if ($lt_i == "..") {
10394 if (lt_count == 0) {
10395 lt_foo="/" $lt_i lt_foo;
10402 if (lt_foo != "") { lt_freq[lt_foo]++; }
10403 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10405 # AWK program above erroneously prepends '/' to C:/dos/paths
10408 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10409 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10411 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10413 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10415 library_names_spec=
10416 libname_spec='lib$name'
10420 postuninstall_cmds=
10424 shlibpath_overrides_runpath=unknown
10426 dynamic_linker="$host_os ld.so"
10427 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10428 need_lib_prefix=unknown
10429 hardcode_into_libs=no
10431 # when you set need_version to no, make sure it does not cause -set_version
10432 # flags to be left without arguments
10433 need_version=unknown
10438 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10439 shlibpath_var=LIBPATH
10441 # AIX 3 has no versioning support, so we append a major version to the name.
10442 soname_spec='${libname}${release}${shared_ext}$major'
10449 hardcode_into_libs=yes
10450 if test "$host_cpu" = ia64; then
10451 # AIX 5 supports IA64
10452 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10453 shlibpath_var=LD_LIBRARY_PATH
10455 # With GCC up to 2.95.x, collect2 would create an import file
10456 # for dependence libraries. The import file would start with
10457 # the line `#! .'. This would cause the generated library to
10458 # depend on `.', always an invalid library. This was fixed in
10459 # development snapshots of GCC prior to 3.0.
10461 aix4 | aix4.[01] | aix4.[01].*)
10462 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10464 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10467 can_build_shared=no
10471 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10472 # soname into executable. Probably we can add versioning support to
10473 # collect2, so additional links can be useful in future.
10474 if test "$aix_use_runtimelinking" = yes; then
10475 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10476 # instead of lib<name>.a to let people know that these are not
10477 # typical AIX shared libraries.
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 # We preserve .a as extension for shared libraries through AIX4.2
10481 # and later when we are not doing run time linking.
10482 library_names_spec='${libname}${release}.a $libname.a'
10483 soname_spec='${libname}${release}${shared_ext}$major'
10485 shlibpath_var=LIBPATH
10492 # Since July 2007 AmigaOS4 officially supports .so libraries.
10493 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 library_names_spec='$libname.ixlibrary $libname.a'
10498 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10499 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'
10505 library_names_spec='${libname}${shared_ext}'
10506 dynamic_linker="$host_os ld.so"
10507 shlibpath_var=LIBRARY_PATH
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10515 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10516 shlibpath_var=LD_LIBRARY_PATH
10517 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10518 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10519 # the default ld.so.conf also contains /usr/contrib/lib and
10520 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10521 # libtool to hard-code these into programs
10524 cygwin* | mingw* | pw32* | cegcc*)
10525 version_type=windows
10530 case $GCC,$cc_basename in
10533 library_names_spec='$libname.dll.a'
10534 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10535 postinstall_cmds='base_file=`basename \${file}`~
10536 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10537 dldir=$destdir/`dirname \$dlpath`~
10538 test -d \$dldir || mkdir -p \$dldir~
10539 $install_prog $dir/$dlname \$dldir/$dlname~
10540 chmod a+x \$dldir/$dlname~
10541 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10542 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10544 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10545 dlpath=$dir/\$dldll~
10547 shlibpath_overrides_runpath=yes
10551 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10552 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10554 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10557 # MinGW DLLs use traditional 'lib' prefix
10558 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561 # pw32 DLLs use 'pw' prefix rather than 'lib'
10562 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10565 dynamic_linker='Win32 ld.exe'
10570 libname_spec='$name'
10571 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10572 library_names_spec='${libname}.dll.lib'
10576 sys_lib_search_path_spec=
10579 for lt_path in $LIB
10582 # Let DOS variable expansion print the short 8.3 style file name.
10583 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10584 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10587 # Convert to MSYS style.
10588 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10591 # Convert to unix form, then to dos form, then back to unix form
10592 # but this time dos style (no spaces!) so that the unix form looks
10593 # like /cygdrive/c/PROGRA~1:/cygdr...
10594 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10595 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10596 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10599 sys_lib_search_path_spec="$LIB"
10600 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10601 # It is most probably a Windows format PATH.
10602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10604 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10606 # FIXME: find the short name or the path components, as spaces are
10607 # common. (e.g. "Program Files" -> "PROGRA~1")
10611 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10612 postinstall_cmds='base_file=`basename \${file}`~
10613 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10614 dldir=$destdir/`dirname \$dlpath`~
10615 test -d \$dldir || mkdir -p \$dldir~
10616 $install_prog $dir/$dlname \$dldir/$dlname'
10617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10618 dlpath=$dir/\$dldll~
10620 shlibpath_overrides_runpath=yes
10621 dynamic_linker='Win32 link.exe'
10625 # Assume MSVC wrapper
10626 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10627 dynamic_linker='Win32 ld.exe'
10630 # FIXME: first we should search . and the directory the executable is in
10634 darwin* | rhapsody*)
10635 dynamic_linker="$host_os dyld"
10636 version_type=darwin
10639 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10640 soname_spec='${libname}${release}${major}$shared_ext'
10641 shlibpath_overrides_runpath=yes
10642 shlibpath_var=DYLD_LIBRARY_PATH
10643 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10645 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10646 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10654 soname_spec='${libname}${release}${shared_ext}$major'
10655 shlibpath_var=LD_LIBRARY_PATH
10662 freebsd* | dragonfly*)
10663 # DragonFly does not have aout. When/if they implement a new
10664 # versioning mechanism, adjust this.
10665 if test -x /usr/bin/objformat; then
10666 objformat=`/usr/bin/objformat`
10669 freebsd[123]*) objformat=aout ;;
10670 *) objformat=elf ;;
10673 version_type=freebsd-$objformat
10674 case $version_type in
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10685 shlibpath_var=LD_LIBRARY_PATH
10688 shlibpath_overrides_runpath=yes
10690 freebsd3.[01]* | freebsdelf3.[01]*)
10691 shlibpath_overrides_runpath=yes
10692 hardcode_into_libs=yes
10694 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10695 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10696 shlibpath_overrides_runpath=no
10697 hardcode_into_libs=yes
10699 *) # from 4.6 on, and DragonFly
10700 shlibpath_overrides_runpath=yes
10701 hardcode_into_libs=yes
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 shlibpath_var=LD_LIBRARY_PATH
10713 hardcode_into_libs=yes
10720 dynamic_linker="$host_os runtime_loader"
10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10722 soname_spec='${libname}${release}${shared_ext}$major'
10723 shlibpath_var=LIBRARY_PATH
10724 shlibpath_overrides_runpath=yes
10725 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10726 hardcode_into_libs=yes
10729 hpux9* | hpux10* | hpux11*)
10730 # Give a soname corresponding to the major version so that dld.sl refuses to
10731 # link against other versions.
10738 hardcode_into_libs=yes
10739 dynamic_linker="$host_os dld.so"
10740 shlibpath_var=LD_LIBRARY_PATH
10741 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 if test "X$HPUX_IA64_MODE" = X32; then
10745 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10747 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10749 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 hardcode_into_libs=yes
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10756 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10760 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10764 dynamic_linker="$host_os dld.sl"
10765 shlibpath_var=SHLIB_PATH
10766 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
10771 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10772 postinstall_cmds='chmod 555 $lib'
10773 # or fails outright, so override atomically:
10774 install_override_mode=555
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 shlibpath_overrides_runpath=no
10786 hardcode_into_libs=yes
10789 irix5* | irix6* | nonstopux*)
10791 nonstopux*) version_type=nonstopux ;;
10793 if test "$lt_cv_prog_gnu_ld" = yes; then
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 irix5* | nonstopux*)
10805 libsuff= shlibsuff=
10808 case $LD in # libtool.m4 will add one of these switches to LD
10809 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10810 libsuff= shlibsuff= libmagic=32-bit;;
10811 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10812 libsuff=32 shlibsuff=N32 libmagic=N32;;
10813 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10814 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10815 *) libsuff= shlibsuff= libmagic=never-match;;
10819 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10820 shlibpath_overrides_runpath=no
10821 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10822 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10823 hardcode_into_libs=yes
10826 # No shared lib support for Linux oldld, aout, or coff.
10827 linux*oldld* | linux*aout* | linux*coff*)
10831 # This must be Linux ELF.
10832 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 soname_spec='${libname}${release}${shared_ext}$major'
10838 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10839 shlibpath_var=LD_LIBRARY_PATH
10840 shlibpath_overrides_runpath=no
10842 # Some binutils ld are patched to set DT_RUNPATH
10843 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10844 $as_echo_n "(cached) " >&6
10846 lt_cv_shlibpath_overrides_runpath=no
10847 save_LDFLAGS=$LDFLAGS
10848 save_libdir=$libdir
10849 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10850 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10862 if ac_fn_c_try_link "$LINENO"; then :
10863 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10864 lt_cv_shlibpath_overrides_runpath=yes
10867 rm -f core conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 LDFLAGS=$save_LDFLAGS
10870 libdir=$save_libdir
10874 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10876 # This implies no fast_install, which is unacceptable.
10877 # Some rework will be needed to allow for fast_install
10878 # before this can be enabled.
10879 hardcode_into_libs=yes
10881 # Append ld.so.conf contents to the search path
10882 if test -f /etc/ld.so.conf; then
10883 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' ' '`
10884 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10887 # We used to test for /lib/ld.so.1 and disable shared libraries on
10888 # powerpc, because MkLinux only supported shared libraries with the
10889 # GNU dynamic linker. Since this was broken with cross compilers,
10890 # most powerpc-linux boxes support dynamic linking these days and
10891 # people can always --disable-shared, the test was removed, and we
10892 # assume the GNU/Linux dynamic linker is in use.
10893 dynamic_linker='GNU/Linux ld.so'
10900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10903 dynamic_linker='NetBSD (a.out) ld.so'
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 dynamic_linker='NetBSD ld.elf_so'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10911 hardcode_into_libs=yes
10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 shlibpath_var=LD_LIBRARY_PATH
10918 shlibpath_overrides_runpath=yes
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 soname_spec='${libname}${release}${shared_ext}$major'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=no
10929 hardcode_into_libs=yes
10930 dynamic_linker='ldqnx.so'
10935 sys_lib_dlsearch_path_spec="/usr/lib"
10937 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10939 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10940 *) need_version=no ;;
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10947 openbsd2.[89] | openbsd2.[89].*)
10948 shlibpath_overrides_runpath=no
10951 shlibpath_overrides_runpath=yes
10955 shlibpath_overrides_runpath=yes
10960 libname_spec='$name'
10963 library_names_spec='$libname${shared_ext} $libname.a'
10964 dynamic_linker='OS/2 ld.exe'
10965 shlibpath_var=LIBPATH
10968 osf3* | osf4* | osf5*)
10972 soname_spec='${libname}${release}${shared_ext}$major'
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974 shlibpath_var=LD_LIBRARY_PATH
10975 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10976 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988 soname_spec='${libname}${release}${shared_ext}$major'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=yes
10991 hardcode_into_libs=yes
10992 # ldd complains unless libraries are executable
10993 postinstall_cmds='chmod +x $lib'
10998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10999 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 shlibpath_overrides_runpath=yes
11002 if test "$with_gnu_ld" = yes; then
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 case $host_vendor in
11015 shlibpath_overrides_runpath=no
11017 runpath_var=LD_RUN_PATH
11025 shlibpath_overrides_runpath=no
11026 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11032 if test -d /usr/nec ;then
11034 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11035 soname_spec='$libname${shared_ext}.$major'
11036 shlibpath_var=LD_LIBRARY_PATH
11040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11041 version_type=freebsd-elf
11044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11045 soname_spec='${libname}${release}${shared_ext}$major'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath=yes
11048 hardcode_into_libs=yes
11049 if test "$with_gnu_ld" = yes; then
11050 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11052 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11055 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11059 sys_lib_dlsearch_path_spec='/usr/lib'
11063 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11068 shlibpath_var=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath=no
11070 hardcode_into_libs=yes
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 soname_spec='${libname}${release}${shared_ext}$major'
11077 shlibpath_var=LD_LIBRARY_PATH
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11085 $as_echo "$dynamic_linker" >&6; }
11086 test "$dynamic_linker" = no && can_build_shared=no
11088 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11089 if test "$GCC" = yes; then
11090 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11093 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11094 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11096 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11097 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11192 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11194 if test -n "$hardcode_libdir_flag_spec" ||
11195 test -n "$runpath_var" ||
11196 test "X$hardcode_automatic" = "Xyes" ; then
11198 # We can hardcode non-existent directories.
11199 if test "$hardcode_direct" != no &&
11200 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11201 # have to relink, otherwise we might link with an installed library
11202 # when we should be linking with a yet-to-be-installed one
11203 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11204 test "$hardcode_minus_L" != no; then
11205 # Linking always hardcodes the temporary library directory.
11206 hardcode_action=relink
11208 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11209 hardcode_action=immediate
11212 # We cannot hardcode anything, or else we can only hardcode existing
11214 hardcode_action=unsupported
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11217 $as_echo "$hardcode_action" >&6; }
11219 if test "$hardcode_action" = relink ||
11220 test "$inherit_rpath" = yes; then
11221 # Fast installation is not supported
11222 enable_fast_install=no
11223 elif test "$shlibpath_overrides_runpath" = yes ||
11224 test "$enable_shared" = no; then
11225 # Fast installation is not necessary
11226 enable_fast_install=needless
11234 if test "x$enable_dlopen" != xyes; then
11235 enable_dlopen=unknown
11236 enable_dlopen_self=unknown
11237 enable_dlopen_self_static=unknown
11244 lt_cv_dlopen="load_add_on"
11246 lt_cv_dlopen_self=yes
11249 mingw* | pw32* | cegcc*)
11250 lt_cv_dlopen="LoadLibrary"
11255 lt_cv_dlopen="dlopen"
11260 # if libdl is installed we need to link against it
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11262 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11263 if ${ac_cv_lib_dl_dlopen+:} false; then :
11264 $as_echo_n "(cached) " >&6
11266 ac_check_lib_save_LIBS=$LIBS
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 ac_cv_lib_dl_dlopen=yes
11289 ac_cv_lib_dl_dlopen=no
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11296 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11297 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11298 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11301 lt_cv_dlopen="dyld"
11303 lt_cv_dlopen_self=yes
11310 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11311 if test "x$ac_cv_func_shl_load" = xyes; then :
11312 lt_cv_dlopen="shl_load"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11315 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11316 if ${ac_cv_lib_dld_shl_load+:} false; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_lib_save_LIBS=$LIBS
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11334 return shl_load ();
11339 if ac_fn_c_try_link "$LINENO"; then :
11340 ac_cv_lib_dld_shl_load=yes
11342 ac_cv_lib_dld_shl_load=no
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11349 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11350 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11351 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11353 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11354 if test "x$ac_cv_func_dlopen" = xyes; then :
11355 lt_cv_dlopen="dlopen"
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11358 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11359 if ${ac_cv_lib_dl_dlopen+:} false; then :
11360 $as_echo_n "(cached) " >&6
11362 ac_check_lib_save_LIBS=$LIBS
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 ac_cv_lib_dl_dlopen=yes
11385 ac_cv_lib_dl_dlopen=no
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11393 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11394 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11397 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11398 if ${ac_cv_lib_svld_dlopen+:} false; then :
11399 $as_echo_n "(cached) " >&6
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lsvld $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 ac_cv_lib_svld_dlopen=yes
11424 ac_cv_lib_svld_dlopen=no
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_lib_save_LIBS
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11431 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11432 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11433 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11436 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11437 if ${ac_cv_lib_dld_dld_link+:} false; then :
11438 $as_echo_n "(cached) " >&6
11440 ac_check_lib_save_LIBS=$LIBS
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11455 return dld_link ();
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 ac_cv_lib_dld_dld_link=yes
11463 ac_cv_lib_dld_dld_link=no
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11470 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11471 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11472 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11493 if test "x$lt_cv_dlopen" != xno; then
11499 case $lt_cv_dlopen in
11501 save_CPPFLAGS="$CPPFLAGS"
11502 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11504 save_LDFLAGS="$LDFLAGS"
11505 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11508 LIBS="$lt_cv_dlopen_libs $LIBS"
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11511 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11512 if ${lt_cv_dlopen_self+:} false; then :
11513 $as_echo_n "(cached) " >&6
11515 if test "$cross_compiling" = yes; then :
11516 lt_cv_dlopen_self=cross
11518 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11519 lt_status=$lt_dlunknown
11520 cat > conftest.$ac_ext <<_LT_EOF
11521 #line $LINENO "configure"
11522 #include "confdefs.h"
11531 # define LT_DLGLOBAL RTLD_GLOBAL
11534 # define LT_DLGLOBAL DL_GLOBAL
11536 # define LT_DLGLOBAL 0
11540 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11541 find out it does not work in some platform. */
11542 #ifndef LT_DLLAZY_OR_NOW
11544 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11547 # define LT_DLLAZY_OR_NOW DL_LAZY
11550 # define LT_DLLAZY_OR_NOW RTLD_NOW
11553 # define LT_DLLAZY_OR_NOW DL_NOW
11555 # define LT_DLLAZY_OR_NOW 0
11562 /* When -fvisbility=hidden is used, assume the code has been annotated
11563 correspondingly for the symbols needed. */
11564 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11565 int fnord () __attribute__((visibility("default")));
11568 int fnord () { return 42; }
11571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11572 int status = $lt_dlunknown;
11576 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11579 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11580 else puts (dlerror ());
11582 /* dlclose (self); */
11590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11591 (eval $ac_link) 2>&5
11593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11594 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11595 (./conftest; exit; ) >&5 2>/dev/null
11597 case x$lt_status in
11598 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11599 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11600 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11603 # compilation failed
11604 lt_cv_dlopen_self=no
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11612 $as_echo "$lt_cv_dlopen_self" >&6; }
11614 if test "x$lt_cv_dlopen_self" = xyes; then
11615 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11617 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11618 if ${lt_cv_dlopen_self_static+:} false; then :
11619 $as_echo_n "(cached) " >&6
11621 if test "$cross_compiling" = yes; then :
11622 lt_cv_dlopen_self_static=cross
11624 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11625 lt_status=$lt_dlunknown
11626 cat > conftest.$ac_ext <<_LT_EOF
11627 #line $LINENO "configure"
11628 #include "confdefs.h"
11637 # define LT_DLGLOBAL RTLD_GLOBAL
11640 # define LT_DLGLOBAL DL_GLOBAL
11642 # define LT_DLGLOBAL 0
11646 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11647 find out it does not work in some platform. */
11648 #ifndef LT_DLLAZY_OR_NOW
11650 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11653 # define LT_DLLAZY_OR_NOW DL_LAZY
11656 # define LT_DLLAZY_OR_NOW RTLD_NOW
11659 # define LT_DLLAZY_OR_NOW DL_NOW
11661 # define LT_DLLAZY_OR_NOW 0
11668 /* When -fvisbility=hidden is used, assume the code has been annotated
11669 correspondingly for the symbols needed. */
11670 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11671 int fnord () __attribute__((visibility("default")));
11674 int fnord () { return 42; }
11677 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11678 int status = $lt_dlunknown;
11682 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11685 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11686 else puts (dlerror ());
11688 /* dlclose (self); */
11696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11697 (eval $ac_link) 2>&5
11699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11700 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11701 (./conftest; exit; ) >&5 2>/dev/null
11703 case x$lt_status in
11704 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11705 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11706 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11709 # compilation failed
11710 lt_cv_dlopen_self_static=no
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11718 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11721 CPPFLAGS="$save_CPPFLAGS"
11722 LDFLAGS="$save_LDFLAGS"
11727 case $lt_cv_dlopen_self in
11728 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11729 *) enable_dlopen_self=unknown ;;
11732 case $lt_cv_dlopen_self_static in
11733 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11734 *) enable_dlopen_self_static=unknown ;;
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11757 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11758 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11759 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11760 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11762 $as_echo "yes" >&6; }
11764 # FIXME - insert some real tests, host_os isn't really good enough
11767 if test -n "$STRIP" ; then
11768 striplib="$STRIP -x"
11769 old_striplib="$STRIP -S"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11771 $as_echo "yes" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11795 # Report which library types will actually be built
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11797 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11799 $as_echo "$can_build_shared" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11802 $as_echo_n "checking whether to build shared libraries... " >&6; }
11803 test "$can_build_shared" = "no" && enable_shared=no
11805 # On AIX, shared libraries and static libraries use the same namespace, and
11806 # are all built from PIC.
11809 test "$enable_shared" = yes && enable_static=no
11810 if test -n "$RANLIB"; then
11811 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11812 postinstall_cmds='$RANLIB $lib'
11817 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11818 test "$enable_shared" = yes && enable_static=no
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11823 $as_echo "$enable_shared" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11826 $as_echo_n "checking whether to build static libraries... " >&6; }
11827 # Make sure either enable_shared or enable_static is yes.
11828 test "$enable_shared" = yes || enable_static=yes
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11830 $as_echo "$enable_static" >&6; }
11837 ac_cpp='$CPP $CPPFLAGS'
11838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11856 ac_config_commands="$ac_config_commands libtool"
11861 # Only expand once:
11877 DX_PROJECT=xmltooling
11879 DX_CONFIG=doxygen.cfg
11884 # Environment variables used inside doxygen.cfg:
11885 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11887 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11889 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11891 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11898 # Check whether --enable-doxygen-doc was given.
11899 if test "${enable_doxygen_doc+set}" = set; then :
11900 enableval=$enable_doxygen_doc;
11901 case "$enableval" in
11913 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11925 if test "$DX_FLAG_doc" = 1; then
11927 if test -n "$ac_tool_prefix"; then
11928 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11929 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11933 $as_echo_n "(cached) " >&6
11935 case $DX_DOXYGEN in
11937 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11944 test -z "$as_dir" && as_dir=.
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11947 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11959 if test -n "$DX_DOXYGEN"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11961 $as_echo "$DX_DOXYGEN" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11969 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11970 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11971 # Extract the first word of "doxygen", so it can be a program name with args.
11972 set dummy doxygen; ac_word=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11974 $as_echo_n "checking for $ac_word... " >&6; }
11975 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11976 $as_echo_n "(cached) " >&6
11978 case $ac_pt_DX_DOXYGEN in
11980 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11984 for as_dir in $PATH
11987 test -z "$as_dir" && as_dir=.
11988 for ac_exec_ext in '' $ac_executable_extensions; do
11989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11990 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12001 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
12002 if test -n "$ac_pt_DX_DOXYGEN"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
12004 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12007 $as_echo "no" >&6; }
12010 if test "x$ac_pt_DX_DOXYGEN" = x; then
12013 case $cross_compiling:$ac_tool_warned in
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12017 ac_tool_warned=yes ;;
12019 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
12022 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
12025 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
12027 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
12033 if test -n "$ac_tool_prefix"; then
12034 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
12035 set dummy ${ac_tool_prefix}perl; ac_word=$2
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12037 $as_echo_n "checking for $ac_word... " >&6; }
12038 if ${ac_cv_path_DX_PERL+:} false; then :
12039 $as_echo_n "(cached) " >&6
12043 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
12046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12047 for as_dir in $PATH
12050 test -z "$as_dir" && as_dir=.
12051 for ac_exec_ext in '' $ac_executable_extensions; do
12052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12053 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
12054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12064 DX_PERL=$ac_cv_path_DX_PERL
12065 if test -n "$DX_PERL"; then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
12067 $as_echo "$DX_PERL" >&6; }
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12070 $as_echo "no" >&6; }
12075 if test -z "$ac_cv_path_DX_PERL"; then
12076 ac_pt_DX_PERL=$DX_PERL
12077 # Extract the first word of "perl", so it can be a program name with args.
12078 set dummy perl; ac_word=$2
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12080 $as_echo_n "checking for $ac_word... " >&6; }
12081 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
12082 $as_echo_n "(cached) " >&6
12084 case $ac_pt_DX_PERL in
12086 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
12089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12090 for as_dir in $PATH
12093 test -z "$as_dir" && as_dir=.
12094 for ac_exec_ext in '' $ac_executable_extensions; do
12095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12096 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
12097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12107 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
12108 if test -n "$ac_pt_DX_PERL"; then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
12110 $as_echo "$ac_pt_DX_PERL" >&6; }
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12113 $as_echo "no" >&6; }
12116 if test "x$ac_pt_DX_PERL" = x; then
12119 case $cross_compiling:$ac_tool_warned in
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12123 ac_tool_warned=yes ;;
12125 DX_PERL=$ac_pt_DX_PERL
12128 DX_PERL="$ac_cv_path_DX_PERL"
12131 if test "$DX_FLAG_doc$DX_PERL" = 1; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12133 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12140 if test "$DX_FLAG_doc" = 1; then
12143 DX_COND_doc_FALSE='#'
12145 DX_COND_doc_TRUE='#'
12149 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12155 DX_COND_doc_FALSE='#'
12157 DX_COND_doc_TRUE='#'
12166 # Dot for graphics:
12170 # Check whether --enable-doxygen-dot was given.
12171 if test "${enable_doxygen_dot+set}" = set; then :
12172 enableval=$enable_doxygen_dot;
12173 case "$enableval" in
12179 test "$DX_FLAG_doc" = "1" \
12180 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12188 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12197 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12203 if test "$DX_FLAG_dot" = 1; then
12205 if test -n "$ac_tool_prefix"; then
12206 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12207 set dummy ${ac_tool_prefix}dot; ac_word=$2
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12209 $as_echo_n "checking for $ac_word... " >&6; }
12210 if ${ac_cv_path_DX_DOT+:} false; then :
12211 $as_echo_n "(cached) " >&6
12215 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12219 for as_dir in $PATH
12222 test -z "$as_dir" && as_dir=.
12223 for ac_exec_ext in '' $ac_executable_extensions; do
12224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12225 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12236 DX_DOT=$ac_cv_path_DX_DOT
12237 if test -n "$DX_DOT"; then
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12239 $as_echo "$DX_DOT" >&6; }
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12242 $as_echo "no" >&6; }
12247 if test -z "$ac_cv_path_DX_DOT"; then
12248 ac_pt_DX_DOT=$DX_DOT
12249 # Extract the first word of "dot", so it can be a program name with args.
12250 set dummy dot; ac_word=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12254 $as_echo_n "(cached) " >&6
12256 case $ac_pt_DX_DOT in
12258 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12262 for as_dir in $PATH
12265 test -z "$as_dir" && as_dir=.
12266 for ac_exec_ext in '' $ac_executable_extensions; do
12267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12268 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12279 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12280 if test -n "$ac_pt_DX_DOT"; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12282 $as_echo "$ac_pt_DX_DOT" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12285 $as_echo "no" >&6; }
12288 if test "x$ac_pt_DX_DOT" = x; then
12291 case $cross_compiling:$ac_tool_warned in
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12295 ac_tool_warned=yes ;;
12297 DX_DOT=$ac_pt_DX_DOT
12300 DX_DOT="$ac_cv_path_DX_DOT"
12303 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12305 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12312 if test "$DX_FLAG_dot" = 1; then
12315 DX_COND_dot_FALSE='#'
12317 DX_COND_dot_TRUE='#'
12321 DX_ENV="$DX_ENV HAVE_DOT='YES'"
12323 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12329 DX_COND_dot_FALSE='#'
12331 DX_COND_dot_TRUE='#'
12335 DX_ENV="$DX_ENV HAVE_DOT='NO'"
12341 # Man pages generation:
12345 # Check whether --enable-doxygen-man was given.
12346 if test "${enable_doxygen_man+set}" = set; then :
12347 enableval=$enable_doxygen_man;
12348 case "$enableval" in
12354 test "$DX_FLAG_doc" = "1" \
12355 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12363 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12372 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12378 if test "$DX_FLAG_man" = 1; then
12382 if test "$DX_FLAG_man" = 1; then
12385 DX_COND_man_FALSE='#'
12387 DX_COND_man_TRUE='#'
12391 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12397 DX_COND_man_FALSE='#'
12399 DX_COND_man_TRUE='#'
12403 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12409 # RTF file generation:
12413 # Check whether --enable-doxygen-rtf was given.
12414 if test "${enable_doxygen_rtf+set}" = set; then :
12415 enableval=$enable_doxygen_rtf;
12416 case "$enableval" in
12422 test "$DX_FLAG_doc" = "1" \
12423 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12431 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12440 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12446 if test "$DX_FLAG_rtf" = 1; then
12450 if test "$DX_FLAG_rtf" = 1; then
12453 DX_COND_rtf_FALSE='#'
12455 DX_COND_rtf_TRUE='#'
12459 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12465 DX_COND_rtf_FALSE='#'
12467 DX_COND_rtf_TRUE='#'
12471 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12477 # XML file generation:
12481 # Check whether --enable-doxygen-xml was given.
12482 if test "${enable_doxygen_xml+set}" = set; then :
12483 enableval=$enable_doxygen_xml;
12484 case "$enableval" in
12490 test "$DX_FLAG_doc" = "1" \
12491 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12499 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12508 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12514 if test "$DX_FLAG_xml" = 1; then
12518 if test "$DX_FLAG_xml" = 1; then
12521 DX_COND_xml_FALSE='#'
12523 DX_COND_xml_TRUE='#'
12527 DX_ENV="$DX_ENV GENERATE_XML='YES'"
12533 DX_COND_xml_FALSE='#'
12535 DX_COND_xml_TRUE='#'
12539 DX_ENV="$DX_ENV GENERATE_XML='NO'"
12545 # (Compressed) HTML help generation:
12549 # Check whether --enable-doxygen-chm was given.
12550 if test "${enable_doxygen_chm+set}" = set; then :
12551 enableval=$enable_doxygen_chm;
12552 case "$enableval" in
12558 test "$DX_FLAG_doc" = "1" \
12559 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12567 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12576 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12582 if test "$DX_FLAG_chm" = 1; then
12584 if test -n "$ac_tool_prefix"; then
12585 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12586 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12588 $as_echo_n "checking for $ac_word... " >&6; }
12589 if ${ac_cv_path_DX_HHC+:} false; then :
12590 $as_echo_n "(cached) " >&6
12594 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12598 for as_dir in $PATH
12601 test -z "$as_dir" && as_dir=.
12602 for ac_exec_ext in '' $ac_executable_extensions; do
12603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12604 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12615 DX_HHC=$ac_cv_path_DX_HHC
12616 if test -n "$DX_HHC"; then
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12618 $as_echo "$DX_HHC" >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12621 $as_echo "no" >&6; }
12626 if test -z "$ac_cv_path_DX_HHC"; then
12627 ac_pt_DX_HHC=$DX_HHC
12628 # Extract the first word of "hhc", so it can be a program name with args.
12629 set dummy hhc; ac_word=$2
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12631 $as_echo_n "checking for $ac_word... " >&6; }
12632 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12633 $as_echo_n "(cached) " >&6
12635 case $ac_pt_DX_HHC in
12637 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12641 for as_dir in $PATH
12644 test -z "$as_dir" && as_dir=.
12645 for ac_exec_ext in '' $ac_executable_extensions; do
12646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12647 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12658 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12659 if test -n "$ac_pt_DX_HHC"; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12661 $as_echo "$ac_pt_DX_HHC" >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664 $as_echo "no" >&6; }
12667 if test "x$ac_pt_DX_HHC" = x; then
12670 case $cross_compiling:$ac_tool_warned in
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12674 ac_tool_warned=yes ;;
12676 DX_HHC=$ac_pt_DX_HHC
12679 DX_HHC="$ac_cv_path_DX_HHC"
12682 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12684 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12691 if test "$DX_FLAG_chm" = 1; then
12694 DX_COND_chm_FALSE='#'
12696 DX_COND_chm_TRUE='#'
12700 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12702 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12704 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12710 DX_COND_chm_FALSE='#'
12712 DX_COND_chm_TRUE='#'
12716 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12722 # Seperate CHI file generation.
12726 # Check whether --enable-doxygen-chi was given.
12727 if test "${enable_doxygen_chi+set}" = set; then :
12728 enableval=$enable_doxygen_chi;
12729 case "$enableval" in
12735 test "$DX_FLAG_chm" = "1" \
12736 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12744 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12753 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12759 if test "$DX_FLAG_chi" = 1; then
12763 if test "$DX_FLAG_chi" = 1; then
12766 DX_COND_chi_FALSE='#'
12768 DX_COND_chi_TRUE='#'
12772 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12778 DX_COND_chi_FALSE='#'
12780 DX_COND_chi_TRUE='#'
12784 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12790 # Plain HTML pages generation:
12794 # Check whether --enable-doxygen-html was given.
12795 if test "${enable_doxygen_html+set}" = set; then :
12796 enableval=$enable_doxygen_html;
12797 case "$enableval" in
12803 test "$DX_FLAG_doc" = "1" \
12804 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12806 test "$DX_FLAG_chm" = "0" \
12807 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12815 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12824 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12827 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12833 if test "$DX_FLAG_html" = 1; then
12837 if test "$DX_FLAG_html" = 1; then
12840 DX_COND_html_FALSE='#'
12842 DX_COND_html_TRUE='#'
12843 DX_COND_html_FALSE=
12846 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12852 DX_COND_html_FALSE='#'
12854 DX_COND_html_TRUE='#'
12855 DX_COND_html_FALSE=
12858 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12864 # PostScript file generation:
12868 # Check whether --enable-doxygen-ps was given.
12869 if test "${enable_doxygen_ps+set}" = set; then :
12870 enableval=$enable_doxygen_ps;
12871 case "$enableval" in
12877 test "$DX_FLAG_doc" = "1" \
12878 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12886 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12895 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12901 if test "$DX_FLAG_ps" = 1; then
12903 if test -n "$ac_tool_prefix"; then
12904 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12905 set dummy ${ac_tool_prefix}latex; ac_word=$2
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12907 $as_echo_n "checking for $ac_word... " >&6; }
12908 if ${ac_cv_path_DX_LATEX+:} false; then :
12909 $as_echo_n "(cached) " >&6
12913 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12917 for as_dir in $PATH
12920 test -z "$as_dir" && as_dir=.
12921 for ac_exec_ext in '' $ac_executable_extensions; do
12922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12923 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12934 DX_LATEX=$ac_cv_path_DX_LATEX
12935 if test -n "$DX_LATEX"; then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12937 $as_echo "$DX_LATEX" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12940 $as_echo "no" >&6; }
12945 if test -z "$ac_cv_path_DX_LATEX"; then
12946 ac_pt_DX_LATEX=$DX_LATEX
12947 # Extract the first word of "latex", so it can be a program name with args.
12948 set dummy latex; ac_word=$2
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950 $as_echo_n "checking for $ac_word... " >&6; }
12951 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12952 $as_echo_n "(cached) " >&6
12954 case $ac_pt_DX_LATEX in
12956 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12963 test -z "$as_dir" && as_dir=.
12964 for ac_exec_ext in '' $ac_executable_extensions; do
12965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12977 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12978 if test -n "$ac_pt_DX_LATEX"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12980 $as_echo "$ac_pt_DX_LATEX" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12986 if test "x$ac_pt_DX_LATEX" = x; then
12989 case $cross_compiling:$ac_tool_warned in
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12993 ac_tool_warned=yes ;;
12995 DX_LATEX=$ac_pt_DX_LATEX
12998 DX_LATEX="$ac_cv_path_DX_LATEX"
13001 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
13003 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
13009 if test -n "$ac_tool_prefix"; then
13010 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13011 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13013 $as_echo_n "checking for $ac_word... " >&6; }
13014 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13015 $as_echo_n "(cached) " >&6
13017 case $DX_MAKEINDEX in
13019 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13023 for as_dir in $PATH
13026 test -z "$as_dir" && as_dir=.
13027 for ac_exec_ext in '' $ac_executable_extensions; do
13028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13029 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13040 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13041 if test -n "$DX_MAKEINDEX"; then
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13043 $as_echo "$DX_MAKEINDEX" >&6; }
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13046 $as_echo "no" >&6; }
13051 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13052 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13053 # Extract the first word of "makeindex", so it can be a program name with args.
13054 set dummy makeindex; ac_word=$2
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13056 $as_echo_n "checking for $ac_word... " >&6; }
13057 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13058 $as_echo_n "(cached) " >&6
13060 case $ac_pt_DX_MAKEINDEX in
13062 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13066 for as_dir in $PATH
13069 test -z "$as_dir" && as_dir=.
13070 for ac_exec_ext in '' $ac_executable_extensions; do
13071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13072 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13083 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13084 if test -n "$ac_pt_DX_MAKEINDEX"; then
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13086 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13089 $as_echo "no" >&6; }
13092 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13095 case $cross_compiling:$ac_tool_warned in
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13099 ac_tool_warned=yes ;;
13101 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13104 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13107 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
13109 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
13115 if test -n "$ac_tool_prefix"; then
13116 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
13117 set dummy ${ac_tool_prefix}dvips; ac_word=$2
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13119 $as_echo_n "checking for $ac_word... " >&6; }
13120 if ${ac_cv_path_DX_DVIPS+:} false; then :
13121 $as_echo_n "(cached) " >&6
13125 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
13128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13129 for as_dir in $PATH
13132 test -z "$as_dir" && as_dir=.
13133 for ac_exec_ext in '' $ac_executable_extensions; do
13134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13135 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13146 DX_DVIPS=$ac_cv_path_DX_DVIPS
13147 if test -n "$DX_DVIPS"; then
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13149 $as_echo "$DX_DVIPS" >&6; }
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13152 $as_echo "no" >&6; }
13157 if test -z "$ac_cv_path_DX_DVIPS"; then
13158 ac_pt_DX_DVIPS=$DX_DVIPS
13159 # Extract the first word of "dvips", so it can be a program name with args.
13160 set dummy dvips; ac_word=$2
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13162 $as_echo_n "checking for $ac_word... " >&6; }
13163 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
13164 $as_echo_n "(cached) " >&6
13166 case $ac_pt_DX_DVIPS in
13168 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13172 for as_dir in $PATH
13175 test -z "$as_dir" && as_dir=.
13176 for ac_exec_ext in '' $ac_executable_extensions; do
13177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13178 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13189 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13190 if test -n "$ac_pt_DX_DVIPS"; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13192 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13195 $as_echo "no" >&6; }
13198 if test "x$ac_pt_DX_DVIPS" = x; then
13201 case $cross_compiling:$ac_tool_warned in
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13205 ac_tool_warned=yes ;;
13207 DX_DVIPS=$ac_pt_DX_DVIPS
13210 DX_DVIPS="$ac_cv_path_DX_DVIPS"
13213 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13215 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13221 if test -n "$ac_tool_prefix"; then
13222 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13223 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13225 $as_echo_n "checking for $ac_word... " >&6; }
13226 if ${ac_cv_path_DX_EGREP+:} false; then :
13227 $as_echo_n "(cached) " >&6
13231 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13235 for as_dir in $PATH
13238 test -z "$as_dir" && as_dir=.
13239 for ac_exec_ext in '' $ac_executable_extensions; do
13240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13241 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13252 DX_EGREP=$ac_cv_path_DX_EGREP
13253 if test -n "$DX_EGREP"; then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13255 $as_echo "$DX_EGREP" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13258 $as_echo "no" >&6; }
13263 if test -z "$ac_cv_path_DX_EGREP"; then
13264 ac_pt_DX_EGREP=$DX_EGREP
13265 # Extract the first word of "egrep", so it can be a program name with args.
13266 set dummy egrep; ac_word=$2
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13268 $as_echo_n "checking for $ac_word... " >&6; }
13269 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13270 $as_echo_n "(cached) " >&6
13272 case $ac_pt_DX_EGREP in
13274 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13278 for as_dir in $PATH
13281 test -z "$as_dir" && as_dir=.
13282 for ac_exec_ext in '' $ac_executable_extensions; do
13283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13284 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13295 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13296 if test -n "$ac_pt_DX_EGREP"; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13298 $as_echo "$ac_pt_DX_EGREP" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301 $as_echo "no" >&6; }
13304 if test "x$ac_pt_DX_EGREP" = x; then
13307 case $cross_compiling:$ac_tool_warned in
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13311 ac_tool_warned=yes ;;
13313 DX_EGREP=$ac_pt_DX_EGREP
13316 DX_EGREP="$ac_cv_path_DX_EGREP"
13319 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13321 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13328 if test "$DX_FLAG_ps" = 1; then
13331 DX_COND_ps_FALSE='#'
13333 DX_COND_ps_TRUE='#'
13342 DX_COND_ps_FALSE='#'
13344 DX_COND_ps_TRUE='#'
13353 # PDF file generation:
13357 # Check whether --enable-doxygen-pdf was given.
13358 if test "${enable_doxygen_pdf+set}" = set; then :
13359 enableval=$enable_doxygen_pdf;
13360 case "$enableval" in
13366 test "$DX_FLAG_doc" = "1" \
13367 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13375 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13384 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13390 if test "$DX_FLAG_pdf" = 1; then
13392 if test -n "$ac_tool_prefix"; then
13393 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13394 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13396 $as_echo_n "checking for $ac_word... " >&6; }
13397 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13398 $as_echo_n "(cached) " >&6
13400 case $DX_PDFLATEX in
13402 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13406 for as_dir in $PATH
13409 test -z "$as_dir" && as_dir=.
13410 for ac_exec_ext in '' $ac_executable_extensions; do
13411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13412 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13423 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13424 if test -n "$DX_PDFLATEX"; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13426 $as_echo "$DX_PDFLATEX" >&6; }
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13429 $as_echo "no" >&6; }
13434 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13435 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13436 # Extract the first word of "pdflatex", so it can be a program name with args.
13437 set dummy pdflatex; ac_word=$2
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13439 $as_echo_n "checking for $ac_word... " >&6; }
13440 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13441 $as_echo_n "(cached) " >&6
13443 case $ac_pt_DX_PDFLATEX in
13445 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13449 for as_dir in $PATH
13452 test -z "$as_dir" && as_dir=.
13453 for ac_exec_ext in '' $ac_executable_extensions; do
13454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13455 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13466 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13467 if test -n "$ac_pt_DX_PDFLATEX"; then
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13469 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13472 $as_echo "no" >&6; }
13475 if test "x$ac_pt_DX_PDFLATEX" = x; then
13478 case $cross_compiling:$ac_tool_warned in
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13482 ac_tool_warned=yes ;;
13484 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13487 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13490 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13492 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13498 if test -n "$ac_tool_prefix"; then
13499 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13500 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13502 $as_echo_n "checking for $ac_word... " >&6; }
13503 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13504 $as_echo_n "(cached) " >&6
13506 case $DX_MAKEINDEX in
13508 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13512 for as_dir in $PATH
13515 test -z "$as_dir" && as_dir=.
13516 for ac_exec_ext in '' $ac_executable_extensions; do
13517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13518 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13529 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13530 if test -n "$DX_MAKEINDEX"; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13532 $as_echo "$DX_MAKEINDEX" >&6; }
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13540 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13541 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13542 # Extract the first word of "makeindex", so it can be a program name with args.
13543 set dummy makeindex; ac_word=$2
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13545 $as_echo_n "checking for $ac_word... " >&6; }
13546 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13547 $as_echo_n "(cached) " >&6
13549 case $ac_pt_DX_MAKEINDEX in
13551 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13555 for as_dir in $PATH
13558 test -z "$as_dir" && as_dir=.
13559 for ac_exec_ext in '' $ac_executable_extensions; do
13560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13561 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13572 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13573 if test -n "$ac_pt_DX_MAKEINDEX"; then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13575 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578 $as_echo "no" >&6; }
13581 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13584 case $cross_compiling:$ac_tool_warned in
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13588 ac_tool_warned=yes ;;
13590 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13593 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13596 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13598 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13604 if test -n "$ac_tool_prefix"; then
13605 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13606 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13608 $as_echo_n "checking for $ac_word... " >&6; }
13609 if ${ac_cv_path_DX_EGREP+:} false; then :
13610 $as_echo_n "(cached) " >&6
13614 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13618 for as_dir in $PATH
13621 test -z "$as_dir" && as_dir=.
13622 for ac_exec_ext in '' $ac_executable_extensions; do
13623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13624 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13635 DX_EGREP=$ac_cv_path_DX_EGREP
13636 if test -n "$DX_EGREP"; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13638 $as_echo "$DX_EGREP" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13641 $as_echo "no" >&6; }
13646 if test -z "$ac_cv_path_DX_EGREP"; then
13647 ac_pt_DX_EGREP=$DX_EGREP
13648 # Extract the first word of "egrep", so it can be a program name with args.
13649 set dummy egrep; ac_word=$2
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13651 $as_echo_n "checking for $ac_word... " >&6; }
13652 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13653 $as_echo_n "(cached) " >&6
13655 case $ac_pt_DX_EGREP in
13657 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13661 for as_dir in $PATH
13664 test -z "$as_dir" && as_dir=.
13665 for ac_exec_ext in '' $ac_executable_extensions; do
13666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13667 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13678 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13679 if test -n "$ac_pt_DX_EGREP"; then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13681 $as_echo "$ac_pt_DX_EGREP" >&6; }
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13684 $as_echo "no" >&6; }
13687 if test "x$ac_pt_DX_EGREP" = x; then
13690 case $cross_compiling:$ac_tool_warned in
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13694 ac_tool_warned=yes ;;
13696 DX_EGREP=$ac_pt_DX_EGREP
13699 DX_EGREP="$ac_cv_path_DX_EGREP"
13702 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13704 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13711 if test "$DX_FLAG_pdf" = 1; then
13714 DX_COND_pdf_FALSE='#'
13716 DX_COND_pdf_TRUE='#'
13725 DX_COND_pdf_FALSE='#'
13727 DX_COND_pdf_TRUE='#'
13736 # LaTeX generation for PS and/or PDF:
13737 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13739 DX_COND_latex_TRUE=
13740 DX_COND_latex_FALSE='#'
13742 DX_COND_latex_TRUE='#'
13743 DX_COND_latex_FALSE=
13746 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13750 DX_COND_latex_TRUE=
13751 DX_COND_latex_FALSE='#'
13753 DX_COND_latex_TRUE='#'
13754 DX_COND_latex_FALSE=
13757 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13761 # Paper size for PS and/or PDF:
13763 case "$DOXYGEN_PAPER_SIZE" in
13766 DOXYGEN_PAPER_SIZE=""
13769 a4wide|a4|letter|legal|executive)
13770 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13774 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13779 #echo DX_FLAG_doc=$DX_FLAG_doc
13780 #echo DX_FLAG_dot=$DX_FLAG_dot
13781 #echo DX_FLAG_man=$DX_FLAG_man
13782 #echo DX_FLAG_html=$DX_FLAG_html
13783 #echo DX_FLAG_chm=$DX_FLAG_chm
13784 #echo DX_FLAG_chi=$DX_FLAG_chi
13785 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13786 #echo DX_FLAG_xml=$DX_FLAG_xml
13787 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13788 #echo DX_FLAG_ps=$DX_FLAG_ps
13789 #echo DX_ENV=$DX_ENV
13792 # Check whether --enable-debug was given.
13793 if test "${enable_debug+set}" = set; then :
13794 enableval=$enable_debug; enable_debug=$enableval
13800 if test "$enable_debug" = "yes" ; then
13801 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13802 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13804 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13805 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13808 ac_config_headers="$ac_config_headers config.h xmltooling/config_pub.h"
13810 ac_config_files="$ac_config_files xmltooling.spec pkginfo Portfile"
13812 ac_config_files="$ac_config_files Makefile xmltooling/Makefile xmltoolingtest/Makefile schemas/Makefile doc/Makefile"
13816 ac_cpp='$CPP $CPPFLAGS'
13817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13820 if test -n "$ac_tool_prefix"; then
13821 for ac_prog in gcc gcc3 cc
13823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13826 $as_echo_n "checking for $ac_word... " >&6; }
13827 if ${ac_cv_prog_CC+:} false; then :
13828 $as_echo_n "(cached) " >&6
13830 if test -n "$CC"; then
13831 ac_cv_prog_CC="$CC" # Let the user override the test.
13833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13834 for as_dir in $PATH
13837 test -z "$as_dir" && as_dir=.
13838 for ac_exec_ext in '' $ac_executable_extensions; do
13839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 if test -n "$CC"; then
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13853 $as_echo "$CC" >&6; }
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13856 $as_echo "no" >&6; }
13860 test -n "$CC" && break
13863 if test -z "$CC"; then
13865 for ac_prog in gcc gcc3 cc
13867 # Extract the first word of "$ac_prog", so it can be a program name with args.
13868 set dummy $ac_prog; ac_word=$2
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13870 $as_echo_n "checking for $ac_word... " >&6; }
13871 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13872 $as_echo_n "(cached) " >&6
13874 if test -n "$ac_ct_CC"; then
13875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13878 for as_dir in $PATH
13881 test -z "$as_dir" && as_dir=.
13882 for ac_exec_ext in '' $ac_executable_extensions; do
13883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13884 ac_cv_prog_ac_ct_CC="$ac_prog"
13885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13895 if test -n "$ac_ct_CC"; then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13897 $as_echo "$ac_ct_CC" >&6; }
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13900 $as_echo "no" >&6; }
13904 test -n "$ac_ct_CC" && break
13907 if test "x$ac_ct_CC" = x; then
13910 case $cross_compiling:$ac_tool_warned in
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13914 ac_tool_warned=yes ;;
13921 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13923 as_fn_error $? "no acceptable C compiler found in \$PATH
13924 See \`config.log' for more details" "$LINENO" 5; }
13926 # Provide some information about the compiler.
13927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13930 for ac_option in --version -v -V -qversion; do
13931 { { ac_try="$ac_compiler $ac_option >&5"
13932 case "(($ac_try" in
13933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13934 *) ac_try_echo=$ac_try;;
13936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13937 $as_echo "$ac_try_echo"; } >&5
13938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13940 if test -s conftest.err; then
13942 ... rest of stderr output deleted ...
13943 10q' conftest.err >conftest.er1
13944 cat conftest.er1 >&5
13946 rm -f conftest.er1 conftest.err
13947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13948 test $ac_status = 0; }
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13953 if ${ac_cv_c_compiler_gnu+:} false; then :
13954 $as_echo_n "(cached) " >&6
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13970 if ac_fn_c_try_compile "$LINENO"; then :
13971 ac_compiler_gnu=yes
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13980 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13981 if test $ac_compiler_gnu = yes; then
13986 ac_test_CFLAGS=${CFLAGS+set}
13987 ac_save_CFLAGS=$CFLAGS
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13989 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13990 if ${ac_cv_prog_cc_g+:} false; then :
13991 $as_echo_n "(cached) " >&6
13993 ac_save_c_werror_flag=$ac_c_werror_flag
13994 ac_c_werror_flag=yes
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14008 if ac_fn_c_try_compile "$LINENO"; then :
14009 ac_cv_prog_cc_g=yes
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14023 if ac_fn_c_try_compile "$LINENO"; then :
14026 ac_c_werror_flag=$ac_save_c_werror_flag
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14039 if ac_fn_c_try_compile "$LINENO"; then :
14040 ac_cv_prog_cc_g=yes
14042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14047 ac_c_werror_flag=$ac_save_c_werror_flag
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14050 $as_echo "$ac_cv_prog_cc_g" >&6; }
14051 if test "$ac_test_CFLAGS" = set; then
14052 CFLAGS=$ac_save_CFLAGS
14053 elif test $ac_cv_prog_cc_g = yes; then
14054 if test "$GCC" = yes; then
14060 if test "$GCC" = yes; then
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14067 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14068 if ${ac_cv_prog_cc_c89+:} false; then :
14069 $as_echo_n "(cached) " >&6
14071 ac_cv_prog_cc_c89=no
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 #include <stdarg.h>
14077 #include <sys/types.h>
14078 #include <sys/stat.h>
14079 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14080 struct buf { int x; };
14081 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14082 static char *e (p, i)
14088 static char *f (char * (*g) (char **, int), char **p, ...)
14093 s = g (p, va_arg (v,int));
14098 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14099 function prototypes and stuff, but not '\xHH' hex character constants.
14100 These don't provoke an error unfortunately, instead are silently treated
14101 as 'x'. The following induces an error, until -std is added to get
14102 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14103 array size at least. It's necessary to write '\x00'==0 to get something
14104 that's true only with -std. */
14105 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14107 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14108 inside strings and character constants. */
14110 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14112 int test (int i, double x);
14113 struct s1 {int (*f) (int a);};
14114 struct s2 {int (*f) (double a);};
14115 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14121 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14126 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14127 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14129 CC="$ac_save_CC $ac_arg"
14130 if ac_fn_c_try_compile "$LINENO"; then :
14131 ac_cv_prog_cc_c89=$ac_arg
14133 rm -f core conftest.err conftest.$ac_objext
14134 test "x$ac_cv_prog_cc_c89" != "xno" && break
14136 rm -f conftest.$ac_ext
14141 case "x$ac_cv_prog_cc_c89" in
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14144 $as_echo "none needed" >&6; } ;;
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14147 $as_echo "unsupported" >&6; } ;;
14149 CC="$CC $ac_cv_prog_cc_c89"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14151 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14153 if test "x$ac_cv_prog_cc_c89" != xno; then :
14158 ac_cpp='$CPP $CPPFLAGS'
14159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14163 depcc="$CC" am_compiler_list=
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14166 $as_echo_n "checking dependency style of $depcc... " >&6; }
14167 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14168 $as_echo_n "(cached) " >&6
14170 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14171 # We make a subdir and do the tests there. Otherwise we can end up
14172 # making bogus files that we don't know about and never remove. For
14173 # instance it was reported that on HP-UX the gcc test will end up
14174 # making a dummy file named `D' -- because `-MD' means `put the output
14177 # Copy depcomp to subdir because otherwise we won't find it if we're
14178 # using a relative directory.
14179 cp "$am_depcomp" conftest.dir
14181 # We will build objects and dependencies in a subdirectory because
14182 # it helps to detect inapplicable dependency modes. For instance
14183 # both Tru64's cc and ICC support -MD to output dependencies as a
14184 # side effect of compilation, but ICC will put the dependencies in
14185 # the current directory while Tru64 will put them in the object
14189 am_cv_CC_dependencies_compiler_type=none
14190 if test "$am_compiler_list" = ""; then
14191 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14193 am__universal=false
14194 case " $depcc " in #(
14195 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14198 for depmode in $am_compiler_list; do
14199 # Setup a source with many dependencies, because some compilers
14200 # like to wrap large dependency lists on column 80 (with \), and
14201 # we should not choose a depcomp mode which is confused by this.
14203 # We need to recreate these files for each test, as the compiler may
14204 # overwrite some of them when testing with obscure command lines.
14205 # This happens at least with the AIX C compiler.
14207 for i in 1 2 3 4 5 6; do
14208 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14209 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14210 # Solaris 8's {/usr,}/bin/sh.
14211 touch sub/conftst$i.h
14213 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14215 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14216 # mode. It turns out that the SunPro C++ compiler does not properly
14217 # handle `-M -o', and we need to detect this. Also, some Intel
14218 # versions had trouble with output in subdirs
14219 am__obj=sub/conftest.${OBJEXT-o}
14220 am__minus_obj="-o $am__obj"
14223 # This depmode causes a compiler race in universal mode.
14224 test "$am__universal" = false || continue
14227 # after this tag, mechanisms are not by side-effect, so they'll
14228 # only be used when explicitly requested
14229 if test "x$enable_dependency_tracking" = xyes; then
14235 msvisualcpp | msvcmsys)
14236 # This compiler won't grok `-c -o', but also, the minuso test has
14237 # not run yet. These depmodes are late enough in the game, and
14238 # so weak that their functioning should not be impacted.
14239 am__obj=conftest.${OBJEXT-o}
14244 if depmode=$depmode \
14245 source=sub/conftest.c object=$am__obj \
14246 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14247 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14248 >/dev/null 2>conftest.err &&
14249 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14250 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14251 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14252 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14253 # icc doesn't choke on unknown options, it will just issue warnings
14254 # or remarks (even with -Werror). So we grep stderr for any message
14255 # that says an option was ignored or not supported.
14256 # When given -MP, icc 7.0 and 7.1 complain thusly:
14257 # icc: Command line warning: ignoring option '-M'; no argument required
14258 # The diagnosis changed in icc 8.0:
14259 # icc: Command line remark: option '-MP' not supported
14260 if (grep 'ignoring option' conftest.err ||
14261 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14262 am_cv_CC_dependencies_compiler_type=$depmode
14269 rm -rf conftest.dir
14271 am_cv_CC_dependencies_compiler_type=none
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14276 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14277 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14280 test "x$enable_dependency_tracking" != xno \
14281 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14282 am__fastdepCC_TRUE=
14283 am__fastdepCC_FALSE='#'
14285 am__fastdepCC_TRUE='#'
14286 am__fastdepCC_FALSE=
14291 ac_cpp='$CXXCPP $CPPFLAGS'
14292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14295 if test -z "$CXX"; then
14296 if test -n "$CCC"; then
14299 if test -n "$ac_tool_prefix"; then
14300 for ac_prog in g++ g++3 c++ CC
14302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14305 $as_echo_n "checking for $ac_word... " >&6; }
14306 if ${ac_cv_prog_CXX+:} false; then :
14307 $as_echo_n "(cached) " >&6
14309 if test -n "$CXX"; then
14310 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14313 for as_dir in $PATH
14316 test -z "$as_dir" && as_dir=.
14317 for ac_exec_ext in '' $ac_executable_extensions; do
14318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14319 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14329 CXX=$ac_cv_prog_CXX
14330 if test -n "$CXX"; then
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14332 $as_echo "$CXX" >&6; }
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14335 $as_echo "no" >&6; }
14339 test -n "$CXX" && break
14342 if test -z "$CXX"; then
14344 for ac_prog in g++ g++3 c++ CC
14346 # Extract the first word of "$ac_prog", so it can be a program name with args.
14347 set dummy $ac_prog; ac_word=$2
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14349 $as_echo_n "checking for $ac_word... " >&6; }
14350 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14351 $as_echo_n "(cached) " >&6
14353 if test -n "$ac_ct_CXX"; then
14354 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14363 ac_cv_prog_ac_ct_CXX="$ac_prog"
14364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14373 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14374 if test -n "$ac_ct_CXX"; then
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14376 $as_echo "$ac_ct_CXX" >&6; }
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14379 $as_echo "no" >&6; }
14383 test -n "$ac_ct_CXX" && break
14386 if test "x$ac_ct_CXX" = x; then
14389 case $cross_compiling:$ac_tool_warned in
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14393 ac_tool_warned=yes ;;
14401 # Provide some information about the compiler.
14402 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14405 for ac_option in --version -v -V -qversion; do
14406 { { ac_try="$ac_compiler $ac_option >&5"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14412 $as_echo "$ac_try_echo"; } >&5
14413 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14415 if test -s conftest.err; then
14417 ... rest of stderr output deleted ...
14418 10q' conftest.err >conftest.er1
14419 cat conftest.er1 >&5
14421 rm -f conftest.er1 conftest.err
14422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14423 test $ac_status = 0; }
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14427 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14428 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14429 $as_echo_n "(cached) " >&6
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14445 if ac_fn_cxx_try_compile "$LINENO"; then :
14446 ac_compiler_gnu=yes
14450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14451 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14455 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14456 if test $ac_compiler_gnu = yes; then
14461 ac_test_CXXFLAGS=${CXXFLAGS+set}
14462 ac_save_CXXFLAGS=$CXXFLAGS
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14464 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14465 if ${ac_cv_prog_cxx_g+:} false; then :
14466 $as_echo_n "(cached) " >&6
14468 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14469 ac_cxx_werror_flag=yes
14470 ac_cv_prog_cxx_g=no
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14483 if ac_fn_cxx_try_compile "$LINENO"; then :
14484 ac_cv_prog_cxx_g=yes
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14498 if ac_fn_cxx_try_compile "$LINENO"; then :
14501 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14514 if ac_fn_cxx_try_compile "$LINENO"; then :
14515 ac_cv_prog_cxx_g=yes
14517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14522 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14525 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14526 if test "$ac_test_CXXFLAGS" = set; then
14527 CXXFLAGS=$ac_save_CXXFLAGS
14528 elif test $ac_cv_prog_cxx_g = yes; then
14529 if test "$GXX" = yes; then
14535 if test "$GXX" = yes; then
14542 ac_cpp='$CPP $CPPFLAGS'
14543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14547 depcc="$CXX" am_compiler_list=
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14550 $as_echo_n "checking dependency style of $depcc... " >&6; }
14551 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14552 $as_echo_n "(cached) " >&6
14554 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14555 # We make a subdir and do the tests there. Otherwise we can end up
14556 # making bogus files that we don't know about and never remove. For
14557 # instance it was reported that on HP-UX the gcc test will end up
14558 # making a dummy file named `D' -- because `-MD' means `put the output
14561 # Copy depcomp to subdir because otherwise we won't find it if we're
14562 # using a relative directory.
14563 cp "$am_depcomp" conftest.dir
14565 # We will build objects and dependencies in a subdirectory because
14566 # it helps to detect inapplicable dependency modes. For instance
14567 # both Tru64's cc and ICC support -MD to output dependencies as a
14568 # side effect of compilation, but ICC will put the dependencies in
14569 # the current directory while Tru64 will put them in the object
14573 am_cv_CXX_dependencies_compiler_type=none
14574 if test "$am_compiler_list" = ""; then
14575 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14577 am__universal=false
14578 case " $depcc " in #(
14579 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14582 for depmode in $am_compiler_list; do
14583 # Setup a source with many dependencies, because some compilers
14584 # like to wrap large dependency lists on column 80 (with \), and
14585 # we should not choose a depcomp mode which is confused by this.
14587 # We need to recreate these files for each test, as the compiler may
14588 # overwrite some of them when testing with obscure command lines.
14589 # This happens at least with the AIX C compiler.
14591 for i in 1 2 3 4 5 6; do
14592 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14593 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14594 # Solaris 8's {/usr,}/bin/sh.
14595 touch sub/conftst$i.h
14597 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14599 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14600 # mode. It turns out that the SunPro C++ compiler does not properly
14601 # handle `-M -o', and we need to detect this. Also, some Intel
14602 # versions had trouble with output in subdirs
14603 am__obj=sub/conftest.${OBJEXT-o}
14604 am__minus_obj="-o $am__obj"
14607 # This depmode causes a compiler race in universal mode.
14608 test "$am__universal" = false || continue
14611 # after this tag, mechanisms are not by side-effect, so they'll
14612 # only be used when explicitly requested
14613 if test "x$enable_dependency_tracking" = xyes; then
14619 msvisualcpp | msvcmsys)
14620 # This compiler won't grok `-c -o', but also, the minuso test has
14621 # not run yet. These depmodes are late enough in the game, and
14622 # so weak that their functioning should not be impacted.
14623 am__obj=conftest.${OBJEXT-o}
14628 if depmode=$depmode \
14629 source=sub/conftest.c object=$am__obj \
14630 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14631 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14632 >/dev/null 2>conftest.err &&
14633 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14634 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14635 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14636 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14637 # icc doesn't choke on unknown options, it will just issue warnings
14638 # or remarks (even with -Werror). So we grep stderr for any message
14639 # that says an option was ignored or not supported.
14640 # When given -MP, icc 7.0 and 7.1 complain thusly:
14641 # icc: Command line warning: ignoring option '-M'; no argument required
14642 # The diagnosis changed in icc 8.0:
14643 # icc: Command line remark: option '-MP' not supported
14644 if (grep 'ignoring option' conftest.err ||
14645 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14646 am_cv_CXX_dependencies_compiler_type=$depmode
14653 rm -rf conftest.dir
14655 am_cv_CXX_dependencies_compiler_type=none
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14660 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14661 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14664 test "x$enable_dependency_tracking" != xno \
14665 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14666 am__fastdepCXX_TRUE=
14667 am__fastdepCXX_FALSE='#'
14669 am__fastdepCXX_TRUE='#'
14670 am__fastdepCXX_FALSE=
14676 func_stripname_cnf ()
14679 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14680 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14682 } # func_stripname_cnf
14684 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14685 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14686 (test "X$CXX" != "Xg++"))) ; then
14688 ac_cpp='$CXXCPP $CPPFLAGS'
14689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14693 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14694 if test -z "$CXXCPP"; then
14695 if ${ac_cv_prog_CXXCPP+:} false; then :
14696 $as_echo_n "(cached) " >&6
14698 # Double quotes because CXXCPP needs to be expanded
14699 for CXXCPP in "$CXX -E" "/lib/cpp"
14701 ac_preproc_ok=false
14702 for ac_cxx_preproc_warn_flag in '' yes
14704 # Use a header file that comes with gcc, so configuring glibc
14705 # with a fresh cross-compiler works.
14706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14707 # <limits.h> exists even on freestanding compilers.
14708 # On the NeXT, cc -E runs the code through the compiler's parser,
14709 # not just through cpp. "Syntax error" is here to catch this case.
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14713 # include <limits.h>
14715 # include <assert.h>
14719 if ac_fn_cxx_try_cpp "$LINENO"; then :
14722 # Broken: fails on valid input.
14725 rm -f conftest.err conftest.i conftest.$ac_ext
14727 # OK, works on sane cases. Now check whether nonexistent headers
14728 # can be detected and how.
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14731 #include <ac_nonexistent.h>
14733 if ac_fn_cxx_try_cpp "$LINENO"; then :
14734 # Broken: success on invalid input.
14737 # Passes both tests.
14741 rm -f conftest.err conftest.i conftest.$ac_ext
14744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14745 rm -f conftest.i conftest.err conftest.$ac_ext
14746 if $ac_preproc_ok; then :
14751 ac_cv_prog_CXXCPP=$CXXCPP
14754 CXXCPP=$ac_cv_prog_CXXCPP
14756 ac_cv_prog_CXXCPP=$CXXCPP
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14759 $as_echo "$CXXCPP" >&6; }
14760 ac_preproc_ok=false
14761 for ac_cxx_preproc_warn_flag in '' yes
14763 # Use a header file that comes with gcc, so configuring glibc
14764 # with a fresh cross-compiler works.
14765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14766 # <limits.h> exists even on freestanding compilers.
14767 # On the NeXT, cc -E runs the code through the compiler's parser,
14768 # not just through cpp. "Syntax error" is here to catch this case.
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 # include <limits.h>
14774 # include <assert.h>
14778 if ac_fn_cxx_try_cpp "$LINENO"; then :
14781 # Broken: fails on valid input.
14784 rm -f conftest.err conftest.i conftest.$ac_ext
14786 # OK, works on sane cases. Now check whether nonexistent headers
14787 # can be detected and how.
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14790 #include <ac_nonexistent.h>
14792 if ac_fn_cxx_try_cpp "$LINENO"; then :
14793 # Broken: success on invalid input.
14796 # Passes both tests.
14800 rm -f conftest.err conftest.i conftest.$ac_ext
14803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14804 rm -f conftest.i conftest.err conftest.$ac_ext
14805 if $ac_preproc_ok; then :
14808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14810 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14811 See \`config.log' for more details" "$LINENO" 5; }
14815 ac_cpp='$CPP $CPPFLAGS'
14816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14821 _lt_caught_CXX_error=yes
14825 ac_cpp='$CXXCPP $CPPFLAGS'
14826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14830 archive_cmds_need_lc_CXX=no
14831 allow_undefined_flag_CXX=
14832 always_export_symbols_CXX=no
14833 archive_expsym_cmds_CXX=
14834 compiler_needs_object_CXX=no
14835 export_dynamic_flag_spec_CXX=
14836 hardcode_direct_CXX=no
14837 hardcode_direct_absolute_CXX=no
14838 hardcode_libdir_flag_spec_CXX=
14839 hardcode_libdir_flag_spec_ld_CXX=
14840 hardcode_libdir_separator_CXX=
14841 hardcode_minus_L_CXX=no
14842 hardcode_shlibpath_var_CXX=unsupported
14843 hardcode_automatic_CXX=no
14844 inherit_rpath_CXX=no
14846 module_expsym_cmds_CXX=
14847 link_all_deplibs_CXX=unknown
14848 old_archive_cmds_CXX=$old_archive_cmds
14849 reload_flag_CXX=$reload_flag
14850 reload_cmds_CXX=$reload_cmds
14851 no_undefined_flag_CXX=
14852 whole_archive_flag_spec_CXX=
14853 enable_shared_with_static_runtimes_CXX=no
14855 # Source file extension for C++ test sources.
14858 # Object file extension for compiled C++ test sources.
14862 # No sense in running all these tests if we already determined that
14863 # the CXX compiler isn't working. Some variables (like enable_shared)
14864 # are currently assumed to apply to all compilers on this platform,
14865 # and will be corrupted by setting them based on a non-working compiler.
14866 if test "$_lt_caught_CXX_error" != yes; then
14867 # Code to be used in simple compile tests
14868 lt_simple_compile_test_code="int some_variable = 0;"
14870 # Code to be used in simple link tests
14871 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14873 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14880 # If no C compiler was specified, use CC.
14883 # If no C compiler flags were specified, use CFLAGS.
14884 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14886 # Allow CC to be a program name with arguments.
14890 # save warnings/boilerplate of simple test code
14891 ac_outfile=conftest.$ac_objext
14892 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14893 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14894 _lt_compiler_boilerplate=`cat conftest.err`
14897 ac_outfile=conftest.$ac_objext
14898 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14899 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14900 _lt_linker_boilerplate=`cat conftest.err`
14904 # Allow CC to be a program name with arguments.
14906 lt_save_CFLAGS=$CFLAGS
14910 lt_save_with_gnu_ld=$with_gnu_ld
14911 lt_save_path_LD=$lt_cv_path_LD
14912 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14913 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14915 $as_unset lt_cv_prog_gnu_ld
14917 if test -n "${lt_cv_path_LDCXX+set}"; then
14918 lt_cv_path_LD=$lt_cv_path_LDCXX
14920 $as_unset lt_cv_path_LD
14922 test -z "${LDCXX+set}" || LD=$LDCXX
14927 for cc_temp in $compiler""; do
14929 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14930 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14935 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14938 if test -n "$compiler"; then
14939 # We don't want -fno-exception when compiling C++ code, so set the
14940 # no_builtin_flag separately
14941 if test "$GXX" = yes; then
14942 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14944 lt_prog_compiler_no_builtin_flag_CXX=
14947 if test "$GXX" = yes; then
14948 # Set up default GNU C++ configuration
14952 # Check whether --with-gnu-ld was given.
14953 if test "${with_gnu_ld+set}" = set; then :
14954 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14960 if test "$GCC" = yes; then
14961 # Check if gcc -print-prog-name=ld gives a path.
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14963 $as_echo_n "checking for ld used by $CC... " >&6; }
14966 # gcc leaves a trailing carriage return which upsets mingw
14967 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14969 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14972 # Accept absolute paths.
14974 re_direlt='/[^/][^/]*/\.\./'
14975 # Canonicalize the pathname of ld
14976 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14977 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14978 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14980 test -z "$LD" && LD="$ac_prog"
14983 # If it fails, then pretend we aren't using GCC.
14987 # If it is relative, then search for the first ld in PATH.
14988 with_gnu_ld=unknown
14991 elif test "$with_gnu_ld" = yes; then
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14993 $as_echo_n "checking for GNU ld... " >&6; }
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14996 $as_echo_n "checking for non-GNU ld... " >&6; }
14998 if ${lt_cv_path_LD+:} false; then :
14999 $as_echo_n "(cached) " >&6
15001 if test -z "$LD"; then
15002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15003 for ac_dir in $PATH; do
15005 test -z "$ac_dir" && ac_dir=.
15006 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15007 lt_cv_path_LD="$ac_dir/$ac_prog"
15008 # Check to see if the program is GNU ld. I'd rather use --version,
15009 # but apparently some variants of GNU ld only accept -v.
15010 # Break only if it was the GNU/non-GNU ld that we prefer.
15011 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15012 *GNU* | *'with BFD'*)
15013 test "$with_gnu_ld" != no && break
15016 test "$with_gnu_ld" != yes && break
15023 lt_cv_path_LD="$LD" # Let the user override the test with a path.
15027 LD="$lt_cv_path_LD"
15028 if test -n "$LD"; then
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15030 $as_echo "$LD" >&6; }
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15033 $as_echo "no" >&6; }
15035 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15037 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15038 if ${lt_cv_prog_gnu_ld+:} false; then :
15039 $as_echo_n "(cached) " >&6
15041 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15042 case `$LD -v 2>&1 </dev/null` in
15043 *GNU* | *'with BFD'*)
15044 lt_cv_prog_gnu_ld=yes
15047 lt_cv_prog_gnu_ld=no
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15052 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15053 with_gnu_ld=$lt_cv_prog_gnu_ld
15061 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15062 # archiving commands below assume that GNU ld is being used.
15063 if test "$with_gnu_ld" = yes; then
15064 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15065 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'
15067 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15068 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15070 # If archive_cmds runs LD, not CC, wlarc should be empty
15071 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15072 # investigate it a little bit more. (MM)
15075 # ancient GNU ld didn't support --whole-archive et. al.
15076 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15077 $GREP 'no-whole-archive' > /dev/null; then
15078 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15080 whole_archive_flag_spec_CXX=
15086 # A generic and very simple default shared library creation
15087 # command for GNU C++ for the case where it uses the native
15088 # linker, instead of GNU ld. If possible, this setting should
15089 # overridden to take advantage of the native linker features on
15090 # the platform it is being used on.
15091 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15094 # Commands to make compiler produce verbose output that lists
15095 # what "hidden" libraries, object files and flags are used when
15096 # linking a shared library.
15097 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15105 # PORTME: fill in a description of your system's C++ link characteristics
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15107 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15111 # FIXME: insert proper C++ library support
15115 if test "$host_cpu" = ia64; then
15116 # On IA64, the linker does run time linking by default, so we don't
15117 # have to do anything special.
15118 aix_use_runtimelinking=no
15119 exp_sym_flag='-Bexport'
15122 aix_use_runtimelinking=no
15124 # Test if we are trying to use run time linking or normal
15125 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15126 # need to do runtime linking.
15127 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15128 for ld_flag in $LDFLAGS; do
15131 aix_use_runtimelinking=yes
15139 exp_sym_flag='-bexport'
15140 no_entry_flag='-bnoentry'
15143 # When large executables or shared objects are built, AIX ld can
15144 # have problems creating the table of contents. If linking a library
15145 # or program results in "error TOC overflow" add -mminimal-toc to
15146 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15147 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15149 archive_cmds_CXX=''
15150 hardcode_direct_CXX=yes
15151 hardcode_direct_absolute_CXX=yes
15152 hardcode_libdir_separator_CXX=':'
15153 link_all_deplibs_CXX=yes
15154 file_list_spec_CXX='${wl}-f,'
15156 if test "$GXX" = yes; then
15157 case $host_os in aix4.[012]|aix4.[012].*)
15158 # We only want to do this on AIX 4.2 and lower, the check
15159 # below for broken collect2 doesn't work under 4.3+
15160 collect2name=`${CC} -print-prog-name=collect2`
15161 if test -f "$collect2name" &&
15162 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15164 # We have reworked collect2
15167 # We have old collect2
15168 hardcode_direct_CXX=unsupported
15169 # It fails to find uninstalled libraries when the uninstalled
15170 # path is not listed in the libpath. Setting hardcode_minus_L
15171 # to unsupported forces relinking
15172 hardcode_minus_L_CXX=yes
15173 hardcode_libdir_flag_spec_CXX='-L$libdir'
15174 hardcode_libdir_separator_CXX=
15177 shared_flag='-shared'
15178 if test "$aix_use_runtimelinking" = yes; then
15179 shared_flag="$shared_flag "'${wl}-G'
15183 if test "$host_cpu" = ia64; then
15184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15185 # chokes on -Wl,-G. The following line is correct:
15188 if test "$aix_use_runtimelinking" = yes; then
15189 shared_flag='${wl}-G'
15191 shared_flag='${wl}-bM:SRE'
15196 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15197 # It seems that -bexpall does not export symbols beginning with
15198 # underscore (_), so it is better to generate a list of symbols to
15200 always_export_symbols_CXX=yes
15201 if test "$aix_use_runtimelinking" = yes; then
15202 # Warning - without using the other runtime loading flags (-brtl),
15203 # -berok will link without error, but may produce a broken library.
15204 allow_undefined_flag_CXX='-berok'
15205 # Determine the default libpath from the value encoded in an empty
15207 if test "${lt_cv_aix_libpath+set}" = set; then
15208 aix_libpath=$lt_cv_aix_libpath
15210 if ${lt_cv_aix_libpath__CXX+:} false; then :
15211 $as_echo_n "(cached) " >&6
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15224 if ac_fn_cxx_try_link "$LINENO"; then :
15226 lt_aix_libpath_sed='
15227 /Import File Strings/,/^$/ {
15229 s/^0 *\([^ ]*\) *$/\1/
15233 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15234 # Check for a 64-bit object if we didn't find anything.
15235 if test -z "$lt_cv_aix_libpath__CXX"; then
15236 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 if test -z "$lt_cv_aix_libpath__CXX"; then
15242 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15247 aix_libpath=$lt_cv_aix_libpath__CXX
15250 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15252 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"
15254 if test "$host_cpu" = ia64; then
15255 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15256 allow_undefined_flag_CXX="-z nodefs"
15257 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"
15259 # Determine the default libpath from the value encoded in an
15260 # empty executable.
15261 if test "${lt_cv_aix_libpath+set}" = set; then
15262 aix_libpath=$lt_cv_aix_libpath
15264 if ${lt_cv_aix_libpath__CXX+:} false; then :
15265 $as_echo_n "(cached) " >&6
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15278 if ac_fn_cxx_try_link "$LINENO"; then :
15280 lt_aix_libpath_sed='
15281 /Import File Strings/,/^$/ {
15283 s/^0 *\([^ ]*\) *$/\1/
15287 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15288 # Check for a 64-bit object if we didn't find anything.
15289 if test -z "$lt_cv_aix_libpath__CXX"; then
15290 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15293 rm -f core conftest.err conftest.$ac_objext \
15294 conftest$ac_exeext conftest.$ac_ext
15295 if test -z "$lt_cv_aix_libpath__CXX"; then
15296 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15301 aix_libpath=$lt_cv_aix_libpath__CXX
15304 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15305 # Warning - without using the other run time loading flags,
15306 # -berok will link without error, but may produce a broken library.
15307 no_undefined_flag_CXX=' ${wl}-bernotok'
15308 allow_undefined_flag_CXX=' ${wl}-berok'
15309 if test "$with_gnu_ld" = yes; then
15310 # We only use this code for GNU lds that support --whole-archive.
15311 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15313 # Exported symbols can be pulled into shared objects from archives
15314 whole_archive_flag_spec_CXX='$convenience'
15316 archive_cmds_need_lc_CXX=yes
15317 # This is similar to how AIX traditionally builds its shared
15319 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'
15325 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15326 allow_undefined_flag_CXX=unsupported
15327 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15328 # support --undefined. This deserves some investigation. FIXME
15329 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15336 case $cc_basename in
15338 # FIXME: insert proper C++ library support
15344 cygwin* | mingw* | pw32* | cegcc*)
15345 case $GXX,$cc_basename in
15348 # hardcode_libdir_flag_spec is actually meaningless, as there is
15349 # no search path for DLLs.
15350 hardcode_libdir_flag_spec_CXX=' '
15351 allow_undefined_flag_CXX=unsupported
15352 always_export_symbols_CXX=yes
15353 file_list_spec_CXX='@'
15354 # Tell ltmain to make .lib files, not .a files.
15356 # Tell ltmain to make .dll files, not .so files.
15358 # FIXME: Setting linknames here is a bad hack.
15359 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15360 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15361 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15363 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15365 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15367 # The linker will not automatically build a static lib if we build a DLL.
15368 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15369 enable_shared_with_static_runtimes_CXX=yes
15371 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15372 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15373 lt_tool_outputfile="@TOOL_OUTPUT@"~
15374 case $lt_outputfile in
15377 lt_outputfile="$lt_outputfile.exe"
15378 lt_tool_outputfile="$lt_tool_outputfile.exe"
15381 func_to_tool_file "$lt_outputfile"~
15382 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15383 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15384 $RM "$lt_outputfile.manifest";
15389 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15390 # as there is no search path for DLLs.
15391 hardcode_libdir_flag_spec_CXX='-L$libdir'
15392 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15393 allow_undefined_flag_CXX=unsupported
15394 always_export_symbols_CXX=no
15395 enable_shared_with_static_runtimes_CXX=yes
15397 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15398 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'
15399 # If the export-symbols file already is a .def file (1st line
15400 # is EXPORTS), use it as is; otherwise, prepend...
15401 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15402 cp $export_symbols $output_objdir/$soname.def;
15404 echo EXPORTS > $output_objdir/$soname.def;
15405 cat $export_symbols >> $output_objdir/$soname.def;
15407 $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'
15414 darwin* | rhapsody*)
15417 archive_cmds_need_lc_CXX=no
15418 hardcode_direct_CXX=no
15419 hardcode_automatic_CXX=yes
15420 hardcode_shlibpath_var_CXX=unsupported
15421 if test "$lt_cv_ld_force_load" = "yes"; then
15422 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\"`'
15424 whole_archive_flag_spec_CXX=''
15426 link_all_deplibs_CXX=yes
15427 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15428 case $cc_basename in
15429 ifort*) _lt_dar_can_shared=yes ;;
15430 *) _lt_dar_can_shared=$GCC ;;
15432 if test "$_lt_dar_can_shared" = "yes"; then
15433 output_verbose_link_cmd=func_echo_all
15434 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}"
15435 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15436 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}"
15437 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}"
15438 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15439 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}"
15440 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}"
15450 case $cc_basename in
15452 # FIXME: insert proper C++ library support
15456 # Green Hills C++ Compiler
15457 # FIXME: insert proper C++ library support
15461 # FIXME: insert proper C++ library support
15468 # C++ shared libraries reported to be fairly broken before
15474 archive_cmds_need_lc_CXX=no
15477 freebsd* | dragonfly*)
15478 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15487 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15488 link_all_deplibs_CXX=yes
15492 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15493 hardcode_libdir_separator_CXX=:
15494 export_dynamic_flag_spec_CXX='${wl}-E'
15495 hardcode_direct_CXX=yes
15496 hardcode_minus_L_CXX=yes # Not in the search PATH,
15497 # but as the default
15498 # location of the library.
15500 case $cc_basename in
15502 # FIXME: insert proper C++ library support
15506 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'
15507 # Commands to make compiler produce verbose output that lists
15508 # what "hidden" libraries, object files and flags are used when
15509 # linking a shared library.
15511 # There doesn't appear to be a way to prevent this compiler from
15512 # explicitly linking system object files so we need to strip them
15513 # from the output so that they don't get included in the library
15515 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"'
15518 if test "$GXX" = yes; then
15519 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'
15521 # FIXME: insert proper C++ library support
15529 if test $with_gnu_ld = no; then
15530 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15531 hardcode_libdir_separator_CXX=:
15537 export_dynamic_flag_spec_CXX='${wl}-E'
15543 hardcode_direct_CXX=no
15544 hardcode_shlibpath_var_CXX=no
15547 hardcode_direct_CXX=yes
15548 hardcode_direct_absolute_CXX=yes
15549 hardcode_minus_L_CXX=yes # Not in the search PATH,
15550 # but as the default
15551 # location of the library.
15555 case $cc_basename in
15557 # FIXME: insert proper C++ library support
15563 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15566 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15569 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15572 # Commands to make compiler produce verbose output that lists
15573 # what "hidden" libraries, object files and flags are used when
15574 # linking a shared library.
15576 # There doesn't appear to be a way to prevent this compiler from
15577 # explicitly linking system object files so we need to strip them
15578 # from the output so that they don't get included in the library
15580 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"'
15583 if test "$GXX" = yes; then
15584 if test $with_gnu_ld = no; then
15587 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15590 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15593 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'
15598 # FIXME: insert proper C++ library support
15606 hardcode_direct_CXX=no
15607 hardcode_shlibpath_var_CXX=no
15608 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15609 export_dynamic_flag_spec_CXX='${wl}-E'
15610 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15611 # Instead, shared libraries are loaded at an image base (0x10000000 by
15612 # default) and relocated if they conflict, which is a slow very memory
15613 # consuming and fragmenting process. To avoid this, we pick a random,
15614 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15615 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15616 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'
15617 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'
15620 case $cc_basename in
15623 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'
15625 # Archives containing C++ object files must be created using
15626 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15627 # necessary to make sure instantiated templates are included
15629 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15632 if test "$GXX" = yes; then
15633 if test "$with_gnu_ld" = no; then
15634 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'
15636 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'
15639 link_all_deplibs_CXX=yes
15642 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15643 hardcode_libdir_separator_CXX=:
15644 inherit_rpath_CXX=yes
15647 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15648 case $cc_basename in
15650 # Kuck and Associates, Inc. (KAI) C++ Compiler
15652 # KCC will only create a shared library if the output file
15653 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15654 # to its proper name (with version) after linking.
15655 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'
15656 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'
15657 # Commands to make compiler produce verbose output that lists
15658 # what "hidden" libraries, object files and flags are used when
15659 # linking a shared library.
15661 # There doesn't appear to be a way to prevent this compiler from
15662 # explicitly linking system object files so we need to strip them
15663 # from the output so that they don't get included in the library
15665 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"'
15667 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15668 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15670 # Archives containing C++ object files must be created using
15671 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15672 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15677 # version 8.0 and above of icpc choke on multiply defined symbols
15678 # if we add $predep_objects and $postdep_objects, however 7.1 and
15679 # earlier do not add the objects themselves.
15680 case `$CC -V 2>&1` in
15682 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15683 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'
15685 *) # Version 8.0 or newer
15688 ia64*) tmp_idyn=' -i_dynamic';;
15690 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15691 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'
15694 archive_cmds_need_lc_CXX=no
15695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15696 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15697 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15700 # Portland Group C++ compiler
15702 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15703 prelink_cmds_CXX='tpldir=Template.dir~
15705 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15706 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15707 old_archive_cmds_CXX='tpldir=Template.dir~
15709 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15710 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15712 archive_cmds_CXX='tpldir=Template.dir~
15714 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15715 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15716 archive_expsym_cmds_CXX='tpldir=Template.dir~
15718 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15719 $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'
15721 *) # Version 6 and above use weak symbols
15722 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15723 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'
15727 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15728 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15729 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'
15733 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15734 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'
15736 runpath_var=LD_RUN_PATH
15737 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15738 hardcode_libdir_separator_CXX=:
15740 # Commands to make compiler produce verbose output that lists
15741 # what "hidden" libraries, object files and flags are used when
15742 # linking a shared library.
15744 # There doesn't appear to be a way to prevent this compiler from
15745 # explicitly linking system object files so we need to strip them
15746 # from the output so that they don't get included in the library
15748 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'
15750 xl* | mpixl* | bgxl*)
15751 # IBM XL 8.0 on PPC, with GNU ld
15752 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15753 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15754 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15755 if test "x$supports_anon_versioning" = xyes; then
15756 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15757 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15758 echo "local: *; };" >> $output_objdir/$libname.ver~
15759 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15763 case `$CC -V 2>&1 | sed 5q` in
15766 no_undefined_flag_CXX=' -zdefs'
15767 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15768 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'
15769 hardcode_libdir_flag_spec_CXX='-R$libdir'
15770 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'
15771 compiler_needs_object_CXX=yes
15773 # Not sure whether something based on
15774 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15776 output_verbose_link_cmd='func_echo_all'
15778 # Archives containing C++ object files must be created using
15779 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15780 # necessary to make sure instantiated templates are included
15782 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15790 # FIXME: insert proper C++ library support
15795 # FIXME: insert proper C++ library support
15800 case $cc_basename in
15802 # FIXME: insert proper C++ library support
15806 # FIXME: insert proper C++ library support
15813 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15814 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15816 hardcode_libdir_flag_spec_CXX='-R$libdir'
15817 hardcode_direct_CXX=yes
15818 hardcode_shlibpath_var_CXX=no
15820 # Workaround some broken pre-1.5 toolchains
15821 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15829 # C++ shared libraries are fairly broken
15834 if test -f /usr/libexec/ld.so; then
15835 hardcode_direct_CXX=yes
15836 hardcode_shlibpath_var_CXX=no
15837 hardcode_direct_absolute_CXX=yes
15838 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15839 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15840 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15841 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15842 export_dynamic_flag_spec_CXX='${wl}-E'
15843 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15845 output_verbose_link_cmd=func_echo_all
15851 osf3* | osf4* | osf5*)
15852 case $cc_basename in
15854 # Kuck and Associates, Inc. (KAI) C++ Compiler
15856 # KCC will only create a shared library if the output file
15857 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15858 # to its proper name (with version) after linking.
15859 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'
15861 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15862 hardcode_libdir_separator_CXX=:
15864 # Archives containing C++ object files must be created using
15865 # the KAI C++ compiler.
15867 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15868 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15872 # Rational C++ 2.4.1
15873 # FIXME: insert proper C++ library support
15879 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15880 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'
15881 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15884 allow_undefined_flag_CXX=' -expect_unresolved \*'
15885 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'
15886 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15887 echo "-hidden">> $lib.exp~
15888 $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~
15890 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15894 hardcode_libdir_separator_CXX=:
15896 # Commands to make compiler produce verbose output that lists
15897 # what "hidden" libraries, object files and flags are used when
15898 # linking a shared library.
15900 # There doesn't appear to be a way to prevent this compiler from
15901 # explicitly linking system object files so we need to strip them
15902 # from the output so that they don't get included in the library
15904 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"'
15907 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15908 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15911 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'
15914 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'
15918 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15919 hardcode_libdir_separator_CXX=:
15921 # Commands to make compiler produce verbose output that lists
15922 # what "hidden" libraries, object files and flags are used when
15923 # linking a shared library.
15924 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15927 # FIXME: insert proper C++ library support
15935 # FIXME: insert proper C++ library support
15940 case $cc_basename in
15943 # FIXME: insert proper C++ library support
15948 # FIXME: insert proper C++ library support
15952 # FIXME: insert proper C++ library support
15959 case $cc_basename in
15961 # Sun C++ 4.2, 5.x and Centerline C++
15962 archive_cmds_need_lc_CXX=yes
15963 no_undefined_flag_CXX=' -zdefs'
15964 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15965 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15966 $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'
15968 hardcode_libdir_flag_spec_CXX='-R$libdir'
15969 hardcode_shlibpath_var_CXX=no
15971 solaris2.[0-5] | solaris2.[0-5].*) ;;
15973 # The compiler driver will combine and reorder linker options,
15974 # but understands `-z linker_flag'.
15975 # Supported since Solaris 2.6 (maybe 2.5.1?)
15976 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15979 link_all_deplibs_CXX=yes
15981 output_verbose_link_cmd='func_echo_all'
15983 # Archives containing C++ object files must be created using
15984 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15985 # necessary to make sure instantiated templates are included
15987 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15990 # Green Hills C++ Compiler
15991 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15993 # The C++ compiler must be used to create the archive.
15994 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15997 # GNU C++ compiler with Solaris linker
15998 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15999 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16000 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16001 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16002 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16003 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16005 # Commands to make compiler produce verbose output that lists
16006 # what "hidden" libraries, object files and flags are used when
16007 # linking a shared library.
16008 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16010 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16012 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16013 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16014 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16016 # Commands to make compiler produce verbose output that lists
16017 # what "hidden" libraries, object files and flags are used when
16018 # linking a shared library.
16019 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16022 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16024 solaris2.[0-5] | solaris2.[0-5].*) ;;
16026 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16034 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16035 no_undefined_flag_CXX='${wl}-z,text'
16036 archive_cmds_need_lc_CXX=no
16037 hardcode_shlibpath_var_CXX=no
16038 runpath_var='LD_RUN_PATH'
16040 case $cc_basename in
16042 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16043 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16046 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16047 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16052 sysv5* | sco3.2v5* | sco5v6*)
16053 # Note: We can NOT use -z defs as we might desire, because we do not
16054 # link with -lc, and that would cause any symbols used from libc to
16055 # always be unresolved, which means just about no library would
16056 # ever link correctly. If we're not using GNU ld we use -z text
16057 # though, which does catch some bad symbols but isn't as heavy-handed
16059 no_undefined_flag_CXX='${wl}-z,text'
16060 allow_undefined_flag_CXX='${wl}-z,nodefs'
16061 archive_cmds_need_lc_CXX=no
16062 hardcode_shlibpath_var_CXX=no
16063 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16064 hardcode_libdir_separator_CXX=':'
16065 link_all_deplibs_CXX=yes
16066 export_dynamic_flag_spec_CXX='${wl}-Bexport'
16067 runpath_var='LD_RUN_PATH'
16069 case $cc_basename in
16071 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16072 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16073 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16074 '"$old_archive_cmds_CXX"
16075 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16076 '"$reload_cmds_CXX"
16079 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16080 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16086 case $cc_basename in
16088 # NonStop-UX NCC 3.20
16089 # FIXME: insert proper C++ library support
16093 # FIXME: insert proper C++ library support
16100 # FIXME: insert proper C++ library support
16105 # FIXME: insert proper C++ library support
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16111 $as_echo "$ld_shlibs_CXX" >&6; }
16112 test "$ld_shlibs_CXX" = no && can_build_shared=no
16118 ## There is no encapsulation within the following macros, do not change
16119 ## the running order or otherwise move them around unless you know exactly
16120 ## what you are doing...
16121 # Dependencies to place before and after the object being linked:
16122 predep_objects_CXX=
16123 postdep_objects_CXX=
16126 compiler_lib_search_path_CXX=
16128 cat > conftest.$ac_ext <<_LT_EOF
16132 Foo (void) { a = 0; }
16139 _lt_libdeps_save_CFLAGS=$CFLAGS
16140 case "$CC $CFLAGS " in #(
16141 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16142 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16146 (eval $ac_compile) 2>&5
16148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16149 test $ac_status = 0; }; then
16150 # Parse the compiler output and extract the necessary
16151 # objects, libraries and library flags.
16153 # Sentinel used to keep track of whether or not we are before
16154 # the conftest object file.
16155 pre_test_object_deps_done=no
16157 for p in `eval "$output_verbose_link_cmd"`; do
16158 case ${prev}${p} in
16161 # Some compilers place space between "-{L,R}" and the path.
16162 # Remove the space.
16163 if test $p = "-L" ||
16164 test $p = "-R"; then
16169 # Expand the sysroot to ease extracting the directories later.
16170 if test -z "$prev"; then
16172 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16173 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16174 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16178 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16180 if test "$pre_test_object_deps_done" = no; then
16183 # Internal compiler library paths should come after those
16184 # provided the user. The postdeps already come after the
16185 # user supplied libs so there is no need to process them.
16186 if test -z "$compiler_lib_search_path_CXX"; then
16187 compiler_lib_search_path_CXX="${prev}${p}"
16189 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16192 # The "-l" case would never come before the object being
16193 # linked, so don't bother handling this case.
16196 if test -z "$postdeps_CXX"; then
16197 postdeps_CXX="${prev}${p}"
16199 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16205 *.lto.$objext) ;; # Ignore GCC LTO objects
16207 # This assumes that the test object file only shows up
16208 # once in the compiler output.
16209 if test "$p" = "conftest.$objext"; then
16210 pre_test_object_deps_done=yes
16214 if test "$pre_test_object_deps_done" = no; then
16215 if test -z "$predep_objects_CXX"; then
16216 predep_objects_CXX="$p"
16218 predep_objects_CXX="$predep_objects_CXX $p"
16221 if test -z "$postdep_objects_CXX"; then
16222 postdep_objects_CXX="$p"
16224 postdep_objects_CXX="$postdep_objects_CXX $p"
16229 *) ;; # Ignore the rest.
16237 echo "libtool.m4: error: problem compiling CXX test program"
16240 $RM -f confest.$objext
16241 CFLAGS=$_lt_libdeps_save_CFLAGS
16243 # PORTME: override above test on systems where it is broken
16246 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16247 # hack all around it, let's just trust "g++" to DTRT.
16248 predep_objects_CXX=
16249 postdep_objects_CXX=
16254 case `$CC -V 2>&1 | sed 5q` in
16258 # The more standards-conforming stlport4 library is
16259 # incompatible with the Cstd library. Avoid specifying
16260 # it if it's in CXXFLAGS. Ignore libCrun as
16261 # -library=stlport4 depends on it.
16262 case " $CXX $CXXFLAGS " in
16263 *" -library=stlport4 "*)
16264 solaris_use_stlport4=yes
16268 if test "$solaris_use_stlport4" != yes; then
16269 postdeps_CXX='-library=Cstd -library=Crun'
16276 case $cc_basename in
16278 # The more standards-conforming stlport4 library is
16279 # incompatible with the Cstd library. Avoid specifying
16280 # it if it's in CXXFLAGS. Ignore libCrun as
16281 # -library=stlport4 depends on it.
16282 case " $CXX $CXXFLAGS " in
16283 *" -library=stlport4 "*)
16284 solaris_use_stlport4=yes
16288 # Adding this requires a known-good setup of shared libraries for
16289 # Sun compiler versions before 5.6, else PIC objects from an old
16290 # archive will be linked into the output, leading to subtle bugs.
16291 if test "$solaris_use_stlport4" != yes; then
16292 postdeps_CXX='-library=Cstd -library=Crun'
16300 case " $postdeps_CXX " in
16301 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16303 compiler_lib_search_dirs_CXX=
16304 if test -n "${compiler_lib_search_path_CXX}"; then
16305 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16338 lt_prog_compiler_wl_CXX=
16339 lt_prog_compiler_pic_CXX=
16340 lt_prog_compiler_static_CXX=
16343 # C++ specific cases for pic, static, wl, etc.
16344 if test "$GXX" = yes; then
16345 lt_prog_compiler_wl_CXX='-Wl,'
16346 lt_prog_compiler_static_CXX='-static'
16350 # All AIX code is PIC.
16351 if test "$host_cpu" = ia64; then
16352 # AIX 5 now supports IA64 processor
16353 lt_prog_compiler_static_CXX='-Bstatic'
16360 # see comment about AmigaOS4 .so support
16361 lt_prog_compiler_pic_CXX='-fPIC'
16364 # FIXME: we need at least 68020 code to build shared libraries, but
16365 # adding the `-m68020' flag to GCC prevents building anything better,
16367 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16372 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16373 # PIC is the default for these OSes.
16375 mingw* | cygwin* | os2* | pw32* | cegcc*)
16376 # This hack is so that the source file can tell whether it is being
16377 # built for inclusion in a dll (and should export symbols for example).
16378 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16379 # (--disable-auto-import) libraries
16380 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16382 darwin* | rhapsody*)
16383 # PIC is the default on this platform
16384 # Common symbols not allowed in MH_DYLIB files
16385 lt_prog_compiler_pic_CXX='-fno-common'
16388 # DJGPP does not support shared libraries at all
16389 lt_prog_compiler_pic_CXX=
16392 # PIC is the default for Haiku.
16393 # The "-static" flag exists, but is broken.
16394 lt_prog_compiler_static_CXX=
16397 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16398 # Instead, we relocate shared libraries at runtime.
16401 if test -d /usr/nec; then
16402 lt_prog_compiler_pic_CXX=-Kconform_pic
16406 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16407 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16408 # sets the default TLS model and affects inlining.
16413 lt_prog_compiler_pic_CXX='-fPIC'
16418 # QNX uses GNU C++, but need to define -shared option too, otherwise
16419 # it will coredump.
16420 lt_prog_compiler_pic_CXX='-fPIC -shared'
16423 lt_prog_compiler_pic_CXX='-fPIC'
16429 # All AIX code is PIC.
16430 if test "$host_cpu" = ia64; then
16431 # AIX 5 now supports IA64 processor
16432 lt_prog_compiler_static_CXX='-Bstatic'
16434 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16438 case $cc_basename in
16440 # Green Hills C++ Compiler
16441 # _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"
16445 mingw* | cygwin* | os2* | pw32* | cegcc*)
16446 # This hack is so that the source file can tell whether it is being
16447 # built for inclusion in a dll (and should export symbols for example).
16448 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16451 case $cc_basename in
16453 lt_prog_compiler_pic_CXX='-KPIC'
16456 # Green Hills C++ Compiler
16457 lt_prog_compiler_pic_CXX='-pic'
16463 freebsd* | dragonfly*)
16464 # FreeBSD uses GNU C++
16466 hpux9* | hpux10* | hpux11*)
16467 case $cc_basename in
16469 lt_prog_compiler_wl_CXX='-Wl,'
16470 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16471 if test "$host_cpu" != ia64; then
16472 lt_prog_compiler_pic_CXX='+Z'
16476 lt_prog_compiler_wl_CXX='-Wl,'
16477 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16483 lt_prog_compiler_pic_CXX='+Z'
16492 # This is c89, which is MS Visual C++ (no shared libs)
16493 # Anyone wants to do a port?
16495 irix5* | irix6* | nonstopux*)
16496 case $cc_basename in
16498 lt_prog_compiler_wl_CXX='-Wl,'
16499 lt_prog_compiler_static_CXX='-non_shared'
16500 # CC pic flag -KPIC is the default.
16506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16507 case $cc_basename in
16510 lt_prog_compiler_wl_CXX='--backend -Wl,'
16511 lt_prog_compiler_pic_CXX='-fPIC'
16514 # old Intel C++ for x86_64 which still supported -KPIC.
16515 lt_prog_compiler_wl_CXX='-Wl,'
16516 lt_prog_compiler_pic_CXX='-KPIC'
16517 lt_prog_compiler_static_CXX='-static'
16520 # Intel C++, used to be incompatible with GCC.
16521 # ICC 10 doesn't accept -KPIC any more.
16522 lt_prog_compiler_wl_CXX='-Wl,'
16523 lt_prog_compiler_pic_CXX='-fPIC'
16524 lt_prog_compiler_static_CXX='-static'
16527 # Portland Group C++ compiler
16528 lt_prog_compiler_wl_CXX='-Wl,'
16529 lt_prog_compiler_pic_CXX='-fpic'
16530 lt_prog_compiler_static_CXX='-Bstatic'
16534 # Make sure the PIC flag is empty. It appears that all Alpha
16535 # Linux and Compaq Tru64 Unix objects are PIC.
16536 lt_prog_compiler_pic_CXX=
16537 lt_prog_compiler_static_CXX='-non_shared'
16539 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16540 # IBM XL 8.0, 9.0 on PPC and BlueGene
16541 lt_prog_compiler_wl_CXX='-Wl,'
16542 lt_prog_compiler_pic_CXX='-qpic'
16543 lt_prog_compiler_static_CXX='-qstaticlink'
16546 case `$CC -V 2>&1 | sed 5q` in
16549 lt_prog_compiler_pic_CXX='-KPIC'
16550 lt_prog_compiler_static_CXX='-Bstatic'
16551 lt_prog_compiler_wl_CXX='-Qoption ld '
16562 case $cc_basename in
16564 lt_prog_compiler_pic_CXX='-W c,exportall'
16573 # QNX uses GNU C++, but need to define -shared option too, otherwise
16574 # it will coredump.
16575 lt_prog_compiler_pic_CXX='-fPIC -shared'
16577 osf3* | osf4* | osf5*)
16578 case $cc_basename in
16580 lt_prog_compiler_wl_CXX='--backend -Wl,'
16583 # Rational C++ 2.4.1
16584 lt_prog_compiler_pic_CXX='-pic'
16587 # Digital/Compaq C++
16588 lt_prog_compiler_wl_CXX='-Wl,'
16589 # Make sure the PIC flag is empty. It appears that all Alpha
16590 # Linux and Compaq Tru64 Unix objects are PIC.
16591 lt_prog_compiler_pic_CXX=
16592 lt_prog_compiler_static_CXX='-non_shared'
16601 case $cc_basename in
16603 # Sun C++ 4.2, 5.x and Centerline C++
16604 lt_prog_compiler_pic_CXX='-KPIC'
16605 lt_prog_compiler_static_CXX='-Bstatic'
16606 lt_prog_compiler_wl_CXX='-Qoption ld '
16609 # Green Hills C++ Compiler
16610 lt_prog_compiler_pic_CXX='-PIC'
16617 case $cc_basename in
16620 lt_prog_compiler_pic_CXX='-pic'
16621 lt_prog_compiler_static_CXX='-Bstatic'
16625 lt_prog_compiler_pic_CXX='-pic'
16631 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16632 case $cc_basename in
16634 lt_prog_compiler_wl_CXX='-Wl,'
16635 lt_prog_compiler_pic_CXX='-KPIC'
16636 lt_prog_compiler_static_CXX='-Bstatic'
16641 case $cc_basename in
16643 # NonStop-UX NCC 3.20
16644 lt_prog_compiler_pic_CXX='-KPIC'
16653 lt_prog_compiler_can_build_shared_CXX=no
16659 # For platforms which do not support PIC, -DPIC is meaningless:
16661 lt_prog_compiler_pic_CXX=
16664 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16669 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16670 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16671 $as_echo_n "(cached) " >&6
16673 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16676 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16677 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16680 # Check to make sure the PIC flag actually works.
16682 if test -n "$lt_prog_compiler_pic_CXX"; then
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16684 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16685 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16686 $as_echo_n "(cached) " >&6
16688 lt_cv_prog_compiler_pic_works_CXX=no
16689 ac_outfile=conftest.$ac_objext
16690 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16691 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16692 # Insert the option either (1) after the last *FLAGS variable, or
16693 # (2) before a word containing "conftest.", or (3) at the end.
16694 # Note that $ac_compile itself does not contain backslashes and begins
16695 # with a dollar sign (not a hyphen), so the echo should work correctly.
16696 # The option is referenced via a variable to avoid confusing sed.
16697 lt_compile=`echo "$ac_compile" | $SED \
16698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16700 -e 's:$: $lt_compiler_flag:'`
16701 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16702 (eval "$lt_compile" 2>conftest.err)
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 if (exit $ac_status) && test -s "$ac_outfile"; then
16707 # The compiler can only warn and ignore the option if not recognized
16708 # So say no if there are warnings other than the usual output.
16709 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16710 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16711 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16712 lt_cv_prog_compiler_pic_works_CXX=yes
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16719 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16721 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16722 case $lt_prog_compiler_pic_CXX in
16724 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16727 lt_prog_compiler_pic_CXX=
16728 lt_prog_compiler_can_build_shared_CXX=no
16738 # Check to make sure the static flag actually works.
16740 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16742 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16743 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16744 $as_echo_n "(cached) " >&6
16746 lt_cv_prog_compiler_static_works_CXX=no
16747 save_LDFLAGS="$LDFLAGS"
16748 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16749 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16750 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16751 # The linker can only warn and ignore the option if not recognized
16752 # So say no if there are warnings
16753 if test -s conftest.err; then
16754 # Append any errors to the config.log.
16755 cat conftest.err 1>&5
16756 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16757 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16758 if diff conftest.exp conftest.er2 >/dev/null; then
16759 lt_cv_prog_compiler_static_works_CXX=yes
16762 lt_cv_prog_compiler_static_works_CXX=yes
16766 LDFLAGS="$save_LDFLAGS"
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16770 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16772 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16775 lt_prog_compiler_static_CXX=
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16782 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16783 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16784 $as_echo_n "(cached) " >&6
16786 lt_cv_prog_compiler_c_o_CXX=no
16787 $RM -r conftest 2>/dev/null
16791 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16793 lt_compiler_flag="-o out/conftest2.$ac_objext"
16794 # Insert the option either (1) after the last *FLAGS variable, or
16795 # (2) before a word containing "conftest.", or (3) at the end.
16796 # Note that $ac_compile itself does not contain backslashes and begins
16797 # with a dollar sign (not a hyphen), so the echo should work correctly.
16798 lt_compile=`echo "$ac_compile" | $SED \
16799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16801 -e 's:$: $lt_compiler_flag:'`
16802 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16803 (eval "$lt_compile" 2>out/conftest.err)
16805 cat out/conftest.err >&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16809 # The compiler can only warn and ignore the option if not recognized
16810 # So say no if there are warnings
16811 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16812 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16813 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16814 lt_cv_prog_compiler_c_o_CXX=yes
16819 # SGI C++ compiler will create directory out/ii_files/ for
16820 # template instantiation
16821 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16822 $RM out/* && rmdir out
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16829 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16835 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16836 $as_echo_n "(cached) " >&6
16838 lt_cv_prog_compiler_c_o_CXX=no
16839 $RM -r conftest 2>/dev/null
16843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16845 lt_compiler_flag="-o out/conftest2.$ac_objext"
16846 # Insert the option either (1) after the last *FLAGS variable, or
16847 # (2) before a word containing "conftest.", or (3) at the end.
16848 # Note that $ac_compile itself does not contain backslashes and begins
16849 # with a dollar sign (not a hyphen), so the echo should work correctly.
16850 lt_compile=`echo "$ac_compile" | $SED \
16851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16853 -e 's:$: $lt_compiler_flag:'`
16854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16855 (eval "$lt_compile" 2>out/conftest.err)
16857 cat out/conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16861 # The compiler can only warn and ignore the option if not recognized
16862 # So say no if there are warnings
16863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16864 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16865 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16866 lt_cv_prog_compiler_c_o_CXX=yes
16871 # SGI C++ compiler will create directory out/ii_files/ for
16872 # template instantiation
16873 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16874 $RM out/* && rmdir out
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16881 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16886 hard_links="nottested"
16887 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16888 # do not overwrite the value of need_locks provided by the user
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16890 $as_echo_n "checking if we can lock with hard links... " >&6; }
16893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16895 ln conftest.a conftest.b 2>&5 || hard_links=no
16896 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16898 $as_echo "$hard_links" >&6; }
16899 if test "$hard_links" = no; then
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16901 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16911 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16913 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16914 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16917 # If we're using GNU nm, then we don't want the "-C" option.
16918 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16919 # Also, AIX nm treats weak defined symbols like other global defined
16920 # symbols, whereas GNU nm marks them as "W".
16921 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16922 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'
16924 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'
16928 export_symbols_cmds_CXX="$ltdll_cmds"
16930 cygwin* | mingw* | cegcc*)
16931 case $cc_basename in
16934 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'
16935 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16940 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16945 $as_echo "$ld_shlibs_CXX" >&6; }
16946 test "$ld_shlibs_CXX" = no && can_build_shared=no
16948 with_gnu_ld_CXX=$with_gnu_ld
16956 # Do we need to explicitly link libc?
16958 case "x$archive_cmds_need_lc_CXX" in
16960 # Assume -lc should be added
16961 archive_cmds_need_lc_CXX=yes
16963 if test "$enable_shared" = yes && test "$GCC" = yes; then
16964 case $archive_cmds_CXX in
16966 # FIXME: we may have to deal with multi-command sequences.
16969 # Test whether the compiler implicitly links with -lc since on some
16970 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16971 # to ld, don't add -lc before -lgcc.
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16973 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16974 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16975 $as_echo_n "(cached) " >&6
16978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16980 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16981 (eval $ac_compile) 2>&5
16983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16984 test $ac_status = 0; } 2>conftest.err; then
16987 libobjs=conftest.$ac_objext
16989 wl=$lt_prog_compiler_wl_CXX
16990 pic_flag=$lt_prog_compiler_pic_CXX
16996 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16997 allow_undefined_flag_CXX=
16998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16999 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17002 test $ac_status = 0; }
17004 lt_cv_archive_cmds_need_lc_CXX=no
17006 lt_cv_archive_cmds_need_lc_CXX=yes
17008 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17010 cat conftest.err 1>&5
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17016 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17017 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17088 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17090 library_names_spec=
17091 libname_spec='lib$name'
17095 postuninstall_cmds=
17099 shlibpath_overrides_runpath=unknown
17101 dynamic_linker="$host_os ld.so"
17102 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17103 need_lib_prefix=unknown
17104 hardcode_into_libs=no
17106 # when you set need_version to no, make sure it does not cause -set_version
17107 # flags to be left without arguments
17108 need_version=unknown
17113 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17114 shlibpath_var=LIBPATH
17116 # AIX 3 has no versioning support, so we append a major version to the name.
17117 soname_spec='${libname}${release}${shared_ext}$major'
17124 hardcode_into_libs=yes
17125 if test "$host_cpu" = ia64; then
17126 # AIX 5 supports IA64
17127 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17128 shlibpath_var=LD_LIBRARY_PATH
17130 # With GCC up to 2.95.x, collect2 would create an import file
17131 # for dependence libraries. The import file would start with
17132 # the line `#! .'. This would cause the generated library to
17133 # depend on `.', always an invalid library. This was fixed in
17134 # development snapshots of GCC prior to 3.0.
17136 aix4 | aix4.[01] | aix4.[01].*)
17137 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17139 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17142 can_build_shared=no
17146 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17147 # soname into executable. Probably we can add versioning support to
17148 # collect2, so additional links can be useful in future.
17149 if test "$aix_use_runtimelinking" = yes; then
17150 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17151 # instead of lib<name>.a to let people know that these are not
17152 # typical AIX shared libraries.
17153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17155 # We preserve .a as extension for shared libraries through AIX4.2
17156 # and later when we are not doing run time linking.
17157 library_names_spec='${libname}${release}.a $libname.a'
17158 soname_spec='${libname}${release}${shared_ext}$major'
17160 shlibpath_var=LIBPATH
17167 # Since July 2007 AmigaOS4 officially supports .so libraries.
17168 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17172 library_names_spec='$libname.ixlibrary $libname.a'
17173 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17174 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'
17180 library_names_spec='${libname}${shared_ext}'
17181 dynamic_linker="$host_os ld.so"
17182 shlibpath_var=LIBRARY_PATH
17188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17189 soname_spec='${libname}${release}${shared_ext}$major'
17190 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17191 shlibpath_var=LD_LIBRARY_PATH
17192 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17193 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17194 # the default ld.so.conf also contains /usr/contrib/lib and
17195 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17196 # libtool to hard-code these into programs
17199 cygwin* | mingw* | pw32* | cegcc*)
17200 version_type=windows
17205 case $GCC,$cc_basename in
17208 library_names_spec='$libname.dll.a'
17209 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17210 postinstall_cmds='base_file=`basename \${file}`~
17211 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17212 dldir=$destdir/`dirname \$dlpath`~
17213 test -d \$dldir || mkdir -p \$dldir~
17214 $install_prog $dir/$dlname \$dldir/$dlname~
17215 chmod a+x \$dldir/$dlname~
17216 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17217 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17219 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17220 dlpath=$dir/\$dldll~
17222 shlibpath_overrides_runpath=yes
17226 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17227 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17231 # MinGW DLLs use traditional 'lib' prefix
17232 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17235 # pw32 DLLs use 'pw' prefix rather than 'lib'
17236 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17239 dynamic_linker='Win32 ld.exe'
17244 libname_spec='$name'
17245 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17246 library_names_spec='${libname}.dll.lib'
17250 sys_lib_search_path_spec=
17253 for lt_path in $LIB
17256 # Let DOS variable expansion print the short 8.3 style file name.
17257 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17258 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17261 # Convert to MSYS style.
17262 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17265 # Convert to unix form, then to dos form, then back to unix form
17266 # but this time dos style (no spaces!) so that the unix form looks
17267 # like /cygdrive/c/PROGRA~1:/cygdr...
17268 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17269 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17270 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17273 sys_lib_search_path_spec="$LIB"
17274 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17275 # It is most probably a Windows format PATH.
17276 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17278 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17280 # FIXME: find the short name or the path components, as spaces are
17281 # common. (e.g. "Program Files" -> "PROGRA~1")
17285 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17286 postinstall_cmds='base_file=`basename \${file}`~
17287 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17288 dldir=$destdir/`dirname \$dlpath`~
17289 test -d \$dldir || mkdir -p \$dldir~
17290 $install_prog $dir/$dlname \$dldir/$dlname'
17291 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17292 dlpath=$dir/\$dldll~
17294 shlibpath_overrides_runpath=yes
17295 dynamic_linker='Win32 link.exe'
17299 # Assume MSVC wrapper
17300 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17301 dynamic_linker='Win32 ld.exe'
17304 # FIXME: first we should search . and the directory the executable is in
17308 darwin* | rhapsody*)
17309 dynamic_linker="$host_os dyld"
17310 version_type=darwin
17313 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17314 soname_spec='${libname}${release}${major}$shared_ext'
17315 shlibpath_overrides_runpath=yes
17316 shlibpath_var=DYLD_LIBRARY_PATH
17317 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17319 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17327 soname_spec='${libname}${release}${shared_ext}$major'
17328 shlibpath_var=LD_LIBRARY_PATH
17335 freebsd* | dragonfly*)
17336 # DragonFly does not have aout. When/if they implement a new
17337 # versioning mechanism, adjust this.
17338 if test -x /usr/bin/objformat; then
17339 objformat=`/usr/bin/objformat`
17342 freebsd[123]*) objformat=aout ;;
17343 *) objformat=elf ;;
17346 version_type=freebsd-$objformat
17347 case $version_type in
17349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17354 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17358 shlibpath_var=LD_LIBRARY_PATH
17361 shlibpath_overrides_runpath=yes
17363 freebsd3.[01]* | freebsdelf3.[01]*)
17364 shlibpath_overrides_runpath=yes
17365 hardcode_into_libs=yes
17367 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17368 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17369 shlibpath_overrides_runpath=no
17370 hardcode_into_libs=yes
17372 *) # from 4.6 on, and DragonFly
17373 shlibpath_overrides_runpath=yes
17374 hardcode_into_libs=yes
17383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17384 soname_spec='${libname}${release}${shared_ext}$major'
17385 shlibpath_var=LD_LIBRARY_PATH
17386 hardcode_into_libs=yes
17393 dynamic_linker="$host_os runtime_loader"
17394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17395 soname_spec='${libname}${release}${shared_ext}$major'
17396 shlibpath_var=LIBRARY_PATH
17397 shlibpath_overrides_runpath=yes
17398 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17399 hardcode_into_libs=yes
17402 hpux9* | hpux10* | hpux11*)
17403 # Give a soname corresponding to the major version so that dld.sl refuses to
17404 # link against other versions.
17411 hardcode_into_libs=yes
17412 dynamic_linker="$host_os dld.so"
17413 shlibpath_var=LD_LIBRARY_PATH
17414 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17416 soname_spec='${libname}${release}${shared_ext}$major'
17417 if test "X$HPUX_IA64_MODE" = X32; then
17418 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17420 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17422 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17426 hardcode_into_libs=yes
17427 dynamic_linker="$host_os dld.sl"
17428 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17429 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17431 soname_spec='${libname}${release}${shared_ext}$major'
17432 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17433 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17437 dynamic_linker="$host_os dld.sl"
17438 shlibpath_var=SHLIB_PATH
17439 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17441 soname_spec='${libname}${release}${shared_ext}$major'
17444 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17445 postinstall_cmds='chmod 555 $lib'
17446 # or fails outright, so override atomically:
17447 install_override_mode=555
17454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17455 soname_spec='${libname}${release}${shared_ext}$major'
17456 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17457 shlibpath_var=LD_LIBRARY_PATH
17458 shlibpath_overrides_runpath=no
17459 hardcode_into_libs=yes
17462 irix5* | irix6* | nonstopux*)
17464 nonstopux*) version_type=nonstopux ;;
17466 if test "$lt_cv_prog_gnu_ld" = yes; then
17474 soname_spec='${libname}${release}${shared_ext}$major'
17475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17477 irix5* | nonstopux*)
17478 libsuff= shlibsuff=
17481 case $LD in # libtool.m4 will add one of these switches to LD
17482 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17483 libsuff= shlibsuff= libmagic=32-bit;;
17484 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17485 libsuff=32 shlibsuff=N32 libmagic=N32;;
17486 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17487 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17488 *) libsuff= shlibsuff= libmagic=never-match;;
17492 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17493 shlibpath_overrides_runpath=no
17494 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17495 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17496 hardcode_into_libs=yes
17499 # No shared lib support for Linux oldld, aout, or coff.
17500 linux*oldld* | linux*aout* | linux*coff*)
17504 # This must be Linux ELF.
17505 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17510 soname_spec='${libname}${release}${shared_ext}$major'
17511 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17512 shlibpath_var=LD_LIBRARY_PATH
17513 shlibpath_overrides_runpath=no
17515 # Some binutils ld are patched to set DT_RUNPATH
17516 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17517 $as_echo_n "(cached) " >&6
17519 lt_cv_shlibpath_overrides_runpath=no
17520 save_LDFLAGS=$LDFLAGS
17521 save_libdir=$libdir
17522 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17523 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17535 if ac_fn_cxx_try_link "$LINENO"; then :
17536 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17537 lt_cv_shlibpath_overrides_runpath=yes
17540 rm -f core conftest.err conftest.$ac_objext \
17541 conftest$ac_exeext conftest.$ac_ext
17542 LDFLAGS=$save_LDFLAGS
17543 libdir=$save_libdir
17547 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17549 # This implies no fast_install, which is unacceptable.
17550 # Some rework will be needed to allow for fast_install
17551 # before this can be enabled.
17552 hardcode_into_libs=yes
17554 # Append ld.so.conf contents to the search path
17555 if test -f /etc/ld.so.conf; then
17556 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' ' '`
17557 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17560 # We used to test for /lib/ld.so.1 and disable shared libraries on
17561 # powerpc, because MkLinux only supported shared libraries with the
17562 # GNU dynamic linker. Since this was broken with cross compilers,
17563 # most powerpc-linux boxes support dynamic linking these days and
17564 # people can always --disable-shared, the test was removed, and we
17565 # assume the GNU/Linux dynamic linker is in use.
17566 dynamic_linker='GNU/Linux ld.so'
17573 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17575 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17576 dynamic_linker='NetBSD (a.out) ld.so'
17578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17579 soname_spec='${libname}${release}${shared_ext}$major'
17580 dynamic_linker='NetBSD ld.elf_so'
17582 shlibpath_var=LD_LIBRARY_PATH
17583 shlibpath_overrides_runpath=yes
17584 hardcode_into_libs=yes
17589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17590 shlibpath_var=LD_LIBRARY_PATH
17591 shlibpath_overrides_runpath=yes
17598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17599 soname_spec='${libname}${release}${shared_ext}$major'
17600 shlibpath_var=LD_LIBRARY_PATH
17601 shlibpath_overrides_runpath=no
17602 hardcode_into_libs=yes
17603 dynamic_linker='ldqnx.so'
17608 sys_lib_dlsearch_path_spec="/usr/lib"
17610 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17612 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17613 *) need_version=no ;;
17615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17616 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17617 shlibpath_var=LD_LIBRARY_PATH
17618 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17620 openbsd2.[89] | openbsd2.[89].*)
17621 shlibpath_overrides_runpath=no
17624 shlibpath_overrides_runpath=yes
17628 shlibpath_overrides_runpath=yes
17633 libname_spec='$name'
17636 library_names_spec='$libname${shared_ext} $libname.a'
17637 dynamic_linker='OS/2 ld.exe'
17638 shlibpath_var=LIBPATH
17641 osf3* | osf4* | osf5*)
17645 soname_spec='${libname}${release}${shared_ext}$major'
17646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17647 shlibpath_var=LD_LIBRARY_PATH
17648 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17649 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17661 soname_spec='${libname}${release}${shared_ext}$major'
17662 shlibpath_var=LD_LIBRARY_PATH
17663 shlibpath_overrides_runpath=yes
17664 hardcode_into_libs=yes
17665 # ldd complains unless libraries are executable
17666 postinstall_cmds='chmod +x $lib'
17671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17672 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17673 shlibpath_var=LD_LIBRARY_PATH
17674 shlibpath_overrides_runpath=yes
17675 if test "$with_gnu_ld" = yes; then
17683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17684 soname_spec='${libname}${release}${shared_ext}$major'
17685 shlibpath_var=LD_LIBRARY_PATH
17686 case $host_vendor in
17688 shlibpath_overrides_runpath=no
17690 runpath_var=LD_RUN_PATH
17698 shlibpath_overrides_runpath=no
17699 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17705 if test -d /usr/nec ;then
17707 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17708 soname_spec='$libname${shared_ext}.$major'
17709 shlibpath_var=LD_LIBRARY_PATH
17713 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17714 version_type=freebsd-elf
17717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17718 soname_spec='${libname}${release}${shared_ext}$major'
17719 shlibpath_var=LD_LIBRARY_PATH
17720 shlibpath_overrides_runpath=yes
17721 hardcode_into_libs=yes
17722 if test "$with_gnu_ld" = yes; then
17723 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17725 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17728 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17732 sys_lib_dlsearch_path_spec='/usr/lib'
17736 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17741 shlibpath_var=LD_LIBRARY_PATH
17742 shlibpath_overrides_runpath=no
17743 hardcode_into_libs=yes
17748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17749 soname_spec='${libname}${release}${shared_ext}$major'
17750 shlibpath_var=LD_LIBRARY_PATH
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17758 $as_echo "$dynamic_linker" >&6; }
17759 test "$dynamic_linker" = no && can_build_shared=no
17761 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17762 if test "$GCC" = yes; then
17763 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17766 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17767 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17769 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17770 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17811 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17812 hardcode_action_CXX=
17813 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17814 test -n "$runpath_var_CXX" ||
17815 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17817 # We can hardcode non-existent directories.
17818 if test "$hardcode_direct_CXX" != no &&
17819 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17820 # have to relink, otherwise we might link with an installed library
17821 # when we should be linking with a yet-to-be-installed one
17822 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17823 test "$hardcode_minus_L_CXX" != no; then
17824 # Linking always hardcodes the temporary library directory.
17825 hardcode_action_CXX=relink
17827 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17828 hardcode_action_CXX=immediate
17831 # We cannot hardcode anything, or else we can only hardcode existing
17833 hardcode_action_CXX=unsupported
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17836 $as_echo "$hardcode_action_CXX" >&6; }
17838 if test "$hardcode_action_CXX" = relink ||
17839 test "$inherit_rpath_CXX" = yes; then
17840 # Fast installation is not supported
17841 enable_fast_install=no
17842 elif test "$shlibpath_overrides_runpath" = yes ||
17843 test "$enable_shared" = no; then
17844 # Fast installation is not necessary
17845 enable_fast_install=needless
17854 fi # test -n "$compiler"
17857 CFLAGS=$lt_save_CFLAGS
17861 with_gnu_ld=$lt_save_with_gnu_ld
17862 lt_cv_path_LDCXX=$lt_cv_path_LD
17863 lt_cv_path_LD=$lt_save_path_LD
17864 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17865 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17866 fi # test "$_lt_caught_CXX_error" != yes
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17877 if test "$GCC" = "yes" ; then
17878 # AC_HAVE_GCC_VERSION(4,0,0,0,
17880 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17881 # [Define to enable class visibility control in gcc.])
17882 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17883 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17885 CFLAGS="-Wall $GCC_CFLAGS"
17886 CXXFLAGS="-Wall $GCC_CXXFLAGS"
17888 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17889 case "${host_cpu}-${host_os}" in
17891 if test "$CXX" = "CC" ; then
17892 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17898 # Checks for typedefs, structures, and compiler characteristics.
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17900 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17901 if ${ac_cv_c_const+:} false; then :
17902 $as_echo_n "(cached) " >&6
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17910 /* FIXME: Include the comments suggested by Paul. */
17911 #ifndef __cplusplus
17912 /* Ultrix mips cc rejects this. */
17913 typedef int charset[2];
17915 /* SunOS 4.1.1 cc rejects this. */
17916 char const *const *pcpcc;
17918 /* NEC SVR4.0.2 mips cc rejects this. */
17919 struct point {int x, y;};
17920 static struct point const zero = {0,0};
17921 /* AIX XL C 1.02.0.0 rejects this.
17922 It does not let you subtract one const X* pointer from another in
17923 an arm of an if-expression whose if-part is not a constant
17925 const char *g = "string";
17926 pcpcc = &g + (g ? g-g : 0);
17927 /* HPUX 7.0 cc rejects these. */
17929 ppc = (char**) pcpcc;
17930 pcpcc = (char const *const *) ppc;
17931 { /* SCO 3.2v4 cc rejects this. */
17933 char const *s = 0 ? (char *) 0 : (char const *) 0;
17938 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17939 int x[] = {25, 17};
17940 const int *foo = &x[0];
17943 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17944 typedef const int *iptr;
17948 { /* AIX XL C 1.02.0.0 rejects this saying
17949 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17950 struct s { int j; const int *ap[3]; };
17951 struct s *b; b->j = 5;
17953 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17954 const int foo = 10;
17955 if (!foo) return 0;
17957 return !cs[0] && !zero.x;
17964 if ac_fn_c_try_compile "$LINENO"; then :
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17972 $as_echo "$ac_cv_c_const" >&6; }
17973 if test $ac_cv_c_const = no; then
17975 $as_echo "#define const /**/" >>confdefs.h
17979 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17980 if test "x$ac_cv_type_size_t" = xyes; then :
17984 cat >>confdefs.h <<_ACEOF
17985 #define size_t unsigned int
17990 # The cast to long int works around a bug in the HP C Compiler
17991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17993 # This bug is HP SR number 8606223364.
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
17995 $as_echo_n "checking size of long... " >&6; }
17996 if ${ac_cv_sizeof_long+:} false; then :
17997 $as_echo_n "(cached) " >&6
17999 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
18002 if test "$ac_cv_type_long" = yes; then
18003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18005 as_fn_error 77 "cannot compute sizeof (long)
18006 See \`config.log' for more details" "$LINENO" 5; }
18008 ac_cv_sizeof_long=0
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
18014 $as_echo "$ac_cv_sizeof_long" >&6; }
18018 cat >>confdefs.h <<_ACEOF
18019 #define SIZEOF_LONG $ac_cv_sizeof_long
18024 # Checks for library functions.
18025 for ac_func in strchr strdup strstr timegm strcasecmp
18027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18029 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18030 cat >>confdefs.h <<_ACEOF
18031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18037 for ac_header in dlfcn.h
18039 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
18040 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
18041 cat >>confdefs.h <<_ACEOF
18042 #define HAVE_DLFCN_H 1
18049 ac_fn_c_check_func "$LINENO" "dlclose" "ac_cv_func_dlclose"
18050 if test "x$ac_cv_func_dlclose" = xyes; then :
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18054 $as_echo_n "checking for dlopen in -ldl... " >&6; }
18055 if ${ac_cv_lib_dl_dlopen+:} false; then :
18056 $as_echo_n "(cached) " >&6
18058 ac_check_lib_save_LIBS=$LIBS
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18063 /* Override any GCC internal prototype to avoid an error.
18064 Use char because int might match the return type of a GCC
18065 builtin and then its argument prototype would still apply. */
18078 if ac_fn_c_try_link "$LINENO"; then :
18079 ac_cv_lib_dl_dlopen=yes
18081 ac_cv_lib_dl_dlopen=no
18083 rm -f core conftest.err conftest.$ac_objext \
18084 conftest$ac_exeext conftest.$ac_ext
18085 LIBS=$ac_check_lib_save_LIBS
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18088 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18089 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
18090 cat >>confdefs.h <<_ACEOF
18091 #define HAVE_LIBDL 1
18101 # checks for pthreads
18105 ac_cpp='$CPP $CPPFLAGS'
18106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18112 # We used to check for pthread.h first, but this fails if pthread.h
18113 # requires special compiler flags (e.g. on True64 or Sequent).
18114 # It gets checked for in the link test anyway.
18116 # First of all, check if the user has set any of the PTHREAD_LIBS,
18117 # etcetera environment variables, and if threads linking works using
18119 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
18120 save_CFLAGS="$CFLAGS"
18121 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18123 LIBS="$PTHREAD_LIBS $LIBS"
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18125 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18127 /* end confdefs.h. */
18129 /* Override any GCC internal prototype to avoid an error.
18130 Use char because int might match the return type of a GCC
18131 builtin and then its argument prototype would still apply. */
18135 char pthread_join ();
18139 return pthread_join ();
18144 if ac_fn_c_try_link "$LINENO"; then :
18147 rm -f core conftest.err conftest.$ac_objext \
18148 conftest$ac_exeext conftest.$ac_ext
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18150 $as_echo "$acx_pthread_ok" >&6; }
18151 if test x"$acx_pthread_ok" = xno; then
18156 CFLAGS="$save_CFLAGS"
18159 # We must check for the threads library under a number of different
18160 # names; the ordering is very important because some systems
18161 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18162 # libraries is broken (non-POSIX).
18164 # Create a list of thread flags to try. Items starting with a "-" are
18165 # C compiler flags, and other items are library names, except for "none"
18166 # which indicates that we try without any flags at all, and "pthread-config"
18167 # which is a program returning the flags for the Pth emulation library.
18169 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18171 # The ordering *is* (sometimes) important. Some notes on the
18172 # individual items follow:
18174 # pthreads: AIX (must check this before -lpthread)
18175 # none: in case threads are in libc; should be tried before -Kthread and
18176 # other compiler flags to prevent continual compiler warnings
18177 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18178 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18179 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18180 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18181 # -pthreads: Solaris/gcc
18182 # -mthreads: Mingw32/gcc, Lynx/gcc
18183 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18184 # doesn't hurt to check since this sometimes defines pthreads too;
18185 # also defines -D_REENTRANT)
18186 # ... -mt is also the pthreads flag for HP/aCC
18187 # pthread: Linux, etcetera
18188 # --thread-safe: KAI C++
18189 # pthread-config: use pthread-config program (for GNU Pth library)
18191 case "${host_cpu}-${host_os}" in
18194 # On Solaris (at least, for some versions), libc contains stubbed
18195 # (non-functional) versions of the pthreads routines, so link-based
18196 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
18197 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18198 # a function called by this macro, so we could check for that, but
18199 # who knows whether they'll stub that too in a future libc.) So,
18200 # we'll just look for -pthreads and -lpthread first:
18202 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18206 if test x"$acx_pthread_ok" = xno; then
18207 for flag in $acx_pthread_flags; do
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18212 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18217 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18218 PTHREAD_CFLAGS="$flag"
18222 # Extract the first word of "pthread-config", so it can be a program name with args.
18223 set dummy pthread-config; ac_word=$2
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18225 $as_echo_n "checking for $ac_word... " >&6; }
18226 if ${ac_cv_prog_acx_pthread_config+:} false; then :
18227 $as_echo_n "(cached) " >&6
18229 if test -n "$acx_pthread_config"; then
18230 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18233 for as_dir in $PATH
18236 test -z "$as_dir" && as_dir=.
18237 for ac_exec_ext in '' $ac_executable_extensions; do
18238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18239 ac_cv_prog_acx_pthread_config="yes"
18240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18247 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18250 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18251 if test -n "$acx_pthread_config"; then
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18253 $as_echo "$acx_pthread_config" >&6; }
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18256 $as_echo "no" >&6; }
18260 if test x"$acx_pthread_config" = xno; then continue; fi
18261 PTHREAD_CFLAGS="`pthread-config --cflags`"
18262 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18267 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18268 PTHREAD_LIBS="-l$flag"
18273 save_CFLAGS="$CFLAGS"
18274 LIBS="$PTHREAD_LIBS $LIBS"
18275 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18277 # Check for various functions. We must include pthread.h,
18278 # since some functions may be macros. (On the Sequent, we
18279 # need a special flag -Kthread to make this header compile.)
18280 # We check for pthread_join because it is in -lpthread on IRIX
18281 # while pthread_create is in libc. We check for pthread_attr_init
18282 # due to DEC craziness with -lpthreads. We check for
18283 # pthread_cleanup_push because it is one of the few pthread
18284 # functions on Solaris that doesn't have a non-functional libc stub.
18285 # We try pthread_create on general principles.
18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18288 #include <pthread.h>
18292 pthread_t th; pthread_join(th, 0);
18293 pthread_attr_init(0); pthread_cleanup_push(0, 0);
18294 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18299 if ac_fn_c_try_link "$LINENO"; then :
18302 rm -f core conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext conftest.$ac_ext
18306 CFLAGS="$save_CFLAGS"
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18309 $as_echo "$acx_pthread_ok" >&6; }
18310 if test "x$acx_pthread_ok" = xyes; then
18319 # Various other checks:
18320 if test "x$acx_pthread_ok" = xyes; then
18322 LIBS="$PTHREAD_LIBS $LIBS"
18323 save_CFLAGS="$CFLAGS"
18324 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18326 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18328 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18330 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #include <pthread.h>
18337 int attr=$attr; return attr;
18342 if ac_fn_c_try_link "$LINENO"; then :
18343 attr_name=$attr; break
18345 rm -f core conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18349 $as_echo "$attr_name" >&6; }
18350 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18352 cat >>confdefs.h <<_ACEOF
18353 #define PTHREAD_CREATE_JOINABLE $attr_name
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18359 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18361 case "${host_cpu}-${host_os}" in
18362 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
18363 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18365 if test "$GCC" = "yes"; then
18366 flag="-D_REENTRANT"
18368 flag="-mt -D_REENTRANT"
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18373 $as_echo "${flag}" >&6; }
18374 if test "x$flag" != xno; then
18375 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18379 CFLAGS="$save_CFLAGS"
18381 # More AIX lossage: must compile with xlc_r or cc_r
18382 if test x"$GCC" != xyes; then
18383 for ac_prog in xlc_r cc_r
18385 # Extract the first word of "$ac_prog", so it can be a program name with args.
18386 set dummy $ac_prog; ac_word=$2
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18388 $as_echo_n "checking for $ac_word... " >&6; }
18389 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18390 $as_echo_n "(cached) " >&6
18392 if test -n "$PTHREAD_CC"; then
18393 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18396 for as_dir in $PATH
18399 test -z "$as_dir" && as_dir=.
18400 for ac_exec_ext in '' $ac_executable_extensions; do
18401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18402 ac_cv_prog_PTHREAD_CC="$ac_prog"
18403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18412 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18413 if test -n "$PTHREAD_CC"; then
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18415 $as_echo "$PTHREAD_CC" >&6; }
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18418 $as_echo "no" >&6; }
18422 test -n "$PTHREAD_CC" && break
18424 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18437 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18438 if test x"$acx_pthread_ok" = xyes; then
18439 enable_threads="pthread"
18443 enable_threads="no"
18446 ac_cpp='$CPP $CPPFLAGS'
18447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18452 if test $enable_threads != "pthread"; then
18453 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18456 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18458 if test "$enable_threads" = "pthread"; then
18459 BUILD_PTHREAD_TRUE=
18460 BUILD_PTHREAD_FALSE='#'
18462 BUILD_PTHREAD_TRUE='#'
18463 BUILD_PTHREAD_FALSE=
18466 LIBS="$PTHREAD_LIBS $LIBS"
18467 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18468 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18471 for ac_func in pthread_rwlock_init
18473 ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
18474 if test "x$ac_cv_func_pthread_rwlock_init" = xyes; then :
18475 cat >>confdefs.h <<_ACEOF
18476 #define HAVE_PTHREAD_RWLOCK_INIT 1
18484 ac_cpp='$CXXCPP $CPPFLAGS'
18485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18492 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18493 if ${ac_cv_cxx_namespaces+:} false; then :
18494 $as_echo_n "(cached) " >&6
18498 ac_cpp='$CXXCPP $CPPFLAGS'
18499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 namespace Outer { namespace Inner { int i = 0; }}
18509 using namespace Outer::Inner; return i;
18514 if ac_fn_cxx_try_compile "$LINENO"; then :
18515 ac_cv_cxx_namespaces=yes
18517 ac_cv_cxx_namespaces=no
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18521 ac_cpp='$CXXCPP $CPPFLAGS'
18522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18529 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18530 if test "$ac_cv_cxx_namespaces" = yes; then
18532 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18537 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18538 if ${ac_cv_cxx_have_stl+:} false; then :
18539 $as_echo_n "(cached) " >&6
18543 ac_cpp='$CXXCPP $CPPFLAGS'
18544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18552 #ifdef HAVE_NAMESPACES
18553 using namespace std;
18558 list<int> x; x.push_back(5);
18559 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18564 if ac_fn_cxx_try_compile "$LINENO"; then :
18565 ac_cv_cxx_have_stl=yes
18567 ac_cv_cxx_have_stl=no
18569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 ac_cpp='$CXXCPP $CPPFLAGS'
18572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18579 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18580 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18581 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18585 # are covariant methods allowed?
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18593 class base { public: virtual base *GetPtr( void ) { return this; } };
18594 class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
18600 if ac_fn_cxx_try_link "$LINENO"; then :
18602 $as_echo "#define HAVE_COVARIANT_RETURNS 1" >>confdefs.h
18605 rm -f core conftest.err conftest.$ac_objext \
18606 conftest$ac_exeext conftest.$ac_ext
18608 # is nullptr supported?
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18615 const char* ptr = nullptr;
18620 if ac_fn_cxx_try_compile "$LINENO"; then :
18622 $as_echo "#define HAVE_NULLPTR 1" >>confdefs.h
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18627 # log4shib settings (favor this version over the log4cpp code)
18628 # Extract the first word of "log4shib-config", so it can be a program name with args.
18629 set dummy log4shib-config; ac_word=$2
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18631 $as_echo_n "checking for $ac_word... " >&6; }
18632 if ${ac_cv_path_LOG4SHIB_CONFIG+:} false; then :
18633 $as_echo_n "(cached) " >&6
18635 case $LOG4SHIB_CONFIG in
18637 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18641 for as_dir in $PATH
18644 test -z "$as_dir" && as_dir=.
18645 for ac_exec_ext in '' $ac_executable_extensions; do
18646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18647 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18658 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18659 if test -n "$LOG4SHIB_CONFIG"; then
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18661 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18664 $as_echo "no" >&6; }
18669 # Check whether --with-log4shib was given.
18670 if test "${with_log4shib+set}" = set; then :
18671 withval=$with_log4shib;
18672 LOG4SHIB_CONFIG="${with_log4shib}"
18673 if ! test -f "${LOG4SHIB_CONFIG}" ; then
18674 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18679 if test -f "${LOG4SHIB_CONFIG}" ; then
18680 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18681 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18683 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18684 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = xyes; then :
18687 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693 #include <log4shib/Category.hh>
18694 #include <log4shib/CategoryStream.hh>
18698 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18703 if ac_fn_cxx_try_link "$LINENO"; then :
18705 $as_echo "#define XMLTOOLING_LOG4SHIB 1" >>confdefs.h
18708 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18710 rm -f core conftest.err conftest.$ac_objext \
18711 conftest$ac_exeext conftest.$ac_ext
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18714 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18716 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18719 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18720 set dummy log4cpp-config; ac_word=$2
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18722 $as_echo_n "checking for $ac_word... " >&6; }
18723 if ${ac_cv_path_LOG4CPP_CONFIG+:} false; then :
18724 $as_echo_n "(cached) " >&6
18726 case $LOG4CPP_CONFIG in
18728 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18732 for as_dir in $PATH
18735 test -z "$as_dir" && as_dir=.
18736 for ac_exec_ext in '' $ac_executable_extensions; do
18737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18738 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18749 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18750 if test -n "$LOG4CPP_CONFIG"; then
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18752 $as_echo "$LOG4CPP_CONFIG" >&6; }
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18755 $as_echo "no" >&6; }
18760 # Check whether --with-log4cpp was given.
18761 if test "${with_log4cpp+set}" = set; then :
18762 withval=$with_log4cpp;
18763 LOG4CPP_CONFIG="${with_log4cpp}"
18764 if ! test -f "${LOG4CPP_CONFIG}" ; then
18765 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18770 if test -f "${LOG4CPP_CONFIG}"; then
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
18772 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18773 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18774 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18775 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18776 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = xyes; then :
18779 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 #include <log4cpp/Category.hh>
18786 #include <log4cpp/CategoryStream.hh>
18790 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18795 if ac_fn_cxx_try_link "$LINENO"; then :
18797 $as_echo "#define XMLTOOLING_LOG4CPP 1" >>confdefs.h
18800 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18802 rm -f core conftest.err conftest.$ac_objext \
18803 conftest$ac_exeext conftest.$ac_ext
18805 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18811 # Check whether --with-xerces was given.
18812 if test "${with_xerces+set}" = set; then :
18813 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18814 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18815 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18819 LIBS="-lxerces-c $LIBS"
18820 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18821 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = xyes; then :
18824 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18829 $as_echo_n "checking Xerces version... " >&6; }
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 #include <xercesc/util/XercesVersion.hpp>
18836 #if _XERCES_VERSION != 20600
18839 #error cannot use version 2.6.0
18845 if ac_fn_cxx_try_cpp "$LINENO"; then :
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18847 $as_echo "OK" >&6; }
18849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18851 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18852 See \`config.log' for more details" "$LINENO" 5; }
18854 rm -f conftest.err conftest.i conftest.$ac_ext
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <xercesc/util/PlatformUtils.hpp>
18861 xercesc::XMLPlatformUtils::Initialize()
18866 if ac_fn_cxx_try_link "$LINENO"; then :
18869 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18871 rm -f core conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces is 64-bit clean" >&5
18875 $as_echo_n "checking whether Xerces is 64-bit clean... " >&6; }
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 #include <xercesc/framework/MemBufInputSource.hpp>
18882 using namespace XERCES_CPP_NAMESPACE; XMLFilePos testvar;
18887 if ac_fn_cxx_try_compile "$LINENO"; then :
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18889 $as_echo "yes" >&6; }
18890 $as_echo "#define XMLTOOLING_XERCESC_64BITSAFE 1" >>confdefs.h
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18894 $as_echo "no" >&6; }
18896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces BinInputStream requires getContentType" >&5
18899 $as_echo_n "checking whether Xerces BinInputStream requires getContentType... " >&6; }
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #include <xercesc/util/BinMemInputStream.hpp>
18906 using namespace XERCES_CPP_NAMESPACE; XMLByte buf[1024]; BinMemInputStream in(buf,1024); in.getContentType();
18911 if ac_fn_cxx_try_compile "$LINENO"; then :
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18913 $as_echo "yes" >&6; }
18914 $as_echo "#define XMLTOOLING_XERCESC_INPUTSTREAM_HAS_CONTENTTYPE 1" >>confdefs.h
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18918 $as_echo "no" >&6; }
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMLS API is compliant" >&5
18923 $as_echo_n "checking whether Xerces DOMLS API is compliant... " >&6; }
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #include <xercesc/dom/DOM.hpp>
18930 using namespace XERCES_CPP_NAMESPACE;
18931 DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(NULL);
18932 DOMLSSerializer *ls = ((DOMImplementationLS*)impl)->createLSSerializer();
18937 if ac_fn_cxx_try_compile "$LINENO"; then :
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18939 $as_echo "yes" >&6; }
18940 $as_echo "#define XMLTOOLING_XERCESC_COMPLIANT_DOMLS 1" >>confdefs.h
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18944 $as_echo "no" >&6; }
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces has setIdAttribute(XMLCh*, bool)" >&5
18949 $as_echo_n "checking whether Xerces has setIdAttribute(XMLCh*, bool)... " >&6; }
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18952 #include <xercesc/dom/DOM.hpp>
18956 using namespace XERCES_CPP_NAMESPACE; DOMElement * elt; elt->setIdAttribute(NULL, false);
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18963 $as_echo "yes" >&6; }
18964 $as_echo "#define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE 1" >>confdefs.h
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18968 $as_echo "no" >&6; }
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18973 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 #include <xercesc/util/XMLString.hpp>
18980 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18985 if ac_fn_cxx_try_compile "$LINENO"; then :
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18987 $as_echo "yes" >&6; }
18988 $as_echo "#define XMLTOOLING_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992 $as_echo "no" >&6; }
18994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996 # XML-Security settings
18998 # Check whether --with-xmlsec was given.
18999 if test "${with_xmlsec+set}" = set; then :
19000 withval=$with_xmlsec;
19006 if test x_$with_xmlsec != x_no; then
19008 # OpenSSL settings (need to do this first in case it's in a different spot from xmlsec)
19010 # Check whether --with-openssl was given.
19011 if test "${with_openssl+set}" = set; then :
19012 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
19013 SSLFLAGS="-I${with_openssl}/include"
19014 SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
19016 SSLLIBS="-lcrypto -lssl"
19021 if test "x$SSLLIBS" = "x" ; then
19022 # Extract the first word of "pkg-config", so it can be a program name with args.
19023 set dummy pkg-config; ac_word=$2
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19025 $as_echo_n "checking for $ac_word... " >&6; }
19026 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19027 $as_echo_n "(cached) " >&6
19029 case $PKG_CONFIG in
19031 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19035 for as_dir in $PATH
19038 test -z "$as_dir" && as_dir=.
19039 for ac_exec_ext in '' $ac_executable_extensions; do
19040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19041 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19052 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19053 if test -n "$PKG_CONFIG"; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19055 $as_echo "$PKG_CONFIG" >&6; }
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19058 $as_echo "no" >&6; }
19062 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
19063 if pkg-config openssl ; then
19064 SSLLIBS="`$PKG_CONFIG --libs openssl`"
19065 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
19068 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
19073 if test "x$SSLLIBS" = "x" ; then
19074 SSLLIBS="-lcrypto -lssl"
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
19078 $as_echo_n "checking for OpenSSL cflags... " >&6; }
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
19080 $as_echo "$SSLFLAGS" >&6; }
19081 CPPFLAGS="$CPPFLAGS $SSLFLAGS"
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
19083 $as_echo_n "checking for OpenSSL libraries... " >&6; }
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLLIBS" >&5
19085 $as_echo "$SSLLIBS" >&6; }
19086 XMLSEC_LIBS="$XMLSEC_LIBS $SSLLIBS"
19088 # save and append master libs
19090 LIBS="$XMLSEC_LIBS $LIBS"
19092 ac_fn_cxx_check_header_mongrel "$LINENO" "openssl/pem.h" "ac_cv_header_openssl_pem_h" "$ac_includes_default"
19093 if test "x$ac_cv_header_openssl_pem_h" = xyes; then :
19096 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_CRYPTO_string" >&5
19101 $as_echo_n "checking for ERR_load_CRYPTO_string... " >&6; }
19102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19103 /* end confdefs.h. */
19105 /* Override any GCC internal prototype to avoid an error.
19106 Use char because int might match the return type of a GCC
19107 builtin and then its argument prototype would still apply. */
19111 char ERR_load_CRYPTO_strings ();
19115 return ERR_load_CRYPTO_strings ();
19120 if ac_fn_cxx_try_link "$LINENO"; then :
19123 as_fn_error $? "unable to link with openssl libraries" "$LINENO" 5
19125 rm -f core conftest.err conftest.$ac_objext \
19126 conftest$ac_exeext conftest.$ac_ext
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19128 $as_echo "yes" >&6; }
19130 ac_fn_cxx_check_decl "$LINENO" "EVP_sha512" "ac_cv_have_decl_EVP_sha512" "#include <openssl/evp.h>
19132 if test "x$ac_cv_have_decl_EVP_sha512" = xyes; then :
19134 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_SHA2 1" >>confdefs.h
19138 ac_fn_cxx_check_decl "$LINENO" "EVP_PKEY_set1_EC_KEY" "ac_cv_have_decl_EVP_PKEY_set1_EC_KEY" "#include <openssl/evp.h>
19140 if test "x$ac_cv_have_decl_EVP_PKEY_set1_EC_KEY" = xyes; then :
19142 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_EC 1" >>confdefs.h
19147 # restore master libs
19150 if test x_$with_xmlsec != x_/usr; then
19151 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
19152 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
19154 XMLSEC_LIBS="$XMLSEC_LIBS -lxml-security-c"
19156 # save and append master libs
19158 LIBS="$XMLSEC_LIBS $LIBS"
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
19161 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = xyes; then :
19164 as_fn_error $? "unable to find XML-Security header files" "$LINENO" 5
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
19169 $as_echo_n "checking XML-Security version... " >&6; }
19170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19172 #include <xsec/utils/XSECPlatformUtils.hpp>
19176 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
19179 #error need version 1.4.0 or later
19185 if ac_fn_cxx_try_cpp "$LINENO"; then :
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
19187 $as_echo "OK" >&6; }
19189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19191 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
19192 See \`config.log' for more details" "$LINENO" 5; }
19194 rm -f conftest.err conftest.i conftest.$ac_ext
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 #include <xsec/utils/XSECPlatformUtils.hpp>
19202 XSECPlatformUtils::Initialise()
19207 if ac_fn_cxx_try_link "$LINENO"; then :
19210 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
19212 rm -f core conftest.err conftest.$ac_objext \
19213 conftest$ac_exeext conftest.$ac_ext
19214 ac_fn_cxx_check_type "$LINENO" "xsecsize_t" "ac_cv_type_xsecsize_t" "$ac_includes_default"
19215 if test "x$ac_cv_type_xsecsize_t" = xyes; then :
19217 $as_echo "#define HAVE_XSECSIZE_T 1" >>confdefs.h
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C has multiple CRL support" >&5
19223 $as_echo_n "checking whether XML-Security-C has multiple CRL support... " >&6; }
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 #include <xsec/dsig/DSIGKeyInfoX509.hpp>
19230 DSIGKeyInfoX509* klist; klist->getX509CRLListSize();
19235 if ac_fn_cxx_try_compile "$LINENO"; then :
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19237 $as_echo "yes" >&6; }
19238 $as_echo "#define XMLTOOLING_XMLSEC_MULTIPLECRL 1" >>confdefs.h
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19242 $as_echo "no" >&6; }
19244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C exposes the signature algorithm URI" >&5
19247 $as_echo_n "checking whether XML-Security-C exposes the signature algorithm URI... " >&6; }
19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19250 #include <xsec/dsig/DSIGSignature.hpp>
19254 DSIGSignature* sig; sig->getAlgorithmURI();
19259 if ac_fn_cxx_try_compile "$LINENO"; then :
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19261 $as_echo "yes" >&6; }
19262 $as_echo "#define XMLTOOLING_XMLSEC_SIGALGORITHM 1" >>confdefs.h
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19266 $as_echo "no" >&6; }
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes ECC support" >&5
19271 $as_echo_n "checking whether XML-Security-C includes ECC support... " >&6; }
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 #include <xsec/dsig/DSIGKeyInfoValue.hpp>
19278 DSIGKeyInfoValue* info; info->getECNamedCurve();
19283 if ac_fn_cxx_try_compile "$LINENO"; then :
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19285 $as_echo "yes" >&6; }
19286 $as_echo "#define XMLTOOLING_XMLSEC_ECC 1" >>confdefs.h
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19290 $as_echo "no" >&6; }
19292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes C14N 1.1 support" >&5
19295 $as_echo_n "checking whether XML-Security-C includes C14N 1.1 support... " >&6; }
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19298 #include <xsec/dsig/DSIGConstants.hpp>
19302 transformType t = TRANSFORM_C14N11;
19307 if ac_fn_cxx_try_compile "$LINENO"; then :
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19309 $as_echo "yes" >&6; }
19310 $as_echo "#define XMLTOOLING_XMLSEC_C14N11 1" >>confdefs.h
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19314 $as_echo "no" >&6; }
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes debug logging support" >&5
19319 $as_echo_n "checking whether XML-Security-C includes debug logging support... " >&6; }
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 #include <xsec/utils/XSECPlatformUtils.hpp>
19326 XSECPlatformUtils::SetReferenceLoggingSink(NULL)
19331 if ac_fn_cxx_try_compile "$LINENO"; then :
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19333 $as_echo "yes" >&6; }
19334 $as_echo "#define XMLTOOLING_XMLSEC_DEBUGLOGGING 1" >>confdefs.h
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19338 $as_echo "no" >&6; }
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 # restore master libs
19346 # Extract the first word of "curl-config", so it can be a program name with args.
19347 set dummy curl-config; ac_word=$2
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19349 $as_echo_n "checking for $ac_word... " >&6; }
19350 if ${ac_cv_path_CURL_CONFIG+:} false; then :
19351 $as_echo_n "(cached) " >&6
19353 case $CURL_CONFIG in
19355 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
19358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19359 for as_dir in $PATH
19362 test -z "$as_dir" && as_dir=.
19363 for ac_exec_ext in '' $ac_executable_extensions; do
19364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19365 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19376 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
19377 if test -n "$CURL_CONFIG"; then
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
19379 $as_echo "$CURL_CONFIG" >&6; }
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19382 $as_echo "no" >&6; }
19387 # Check whether --with-curl was given.
19388 if test "${with_curl+set}" = set; then :
19389 withval=$with_curl;
19390 CURL_CONFIG="${with_curl}"
19391 if ! test -f "${CURL_CONFIG}" ; then
19392 CURL_CONFIG="${with_curl}/bin/curl-config"
19397 if test -f "${CURL_CONFIG}" ; then
19398 CPPFLAGS="`${CURL_CONFIG} --cflags` $CPPFLAGS"
19399 XMLSEC_LIBS="`${CURL_CONFIG} --libs` $XMLSEC_LIBS"
19401 as_fn_error $? "curl-config not found, may need to use --with-curl option" "$LINENO" 5
19404 # save and append master libs
19406 LIBS="$XMLSEC_LIBS $LIBS"
19408 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
19409 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
19412 as_fn_error $? "unable to find libcurl header files" "$LINENO" 5
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
19417 $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
19418 if ${ac_cv_lib_curl_curl_global_init+:} false; then :
19419 $as_echo_n "(cached) " >&6
19421 ac_check_lib_save_LIBS=$LIBS
19422 LIBS="-lcurl $LIBS"
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19426 /* Override any GCC internal prototype to avoid an error.
19427 Use char because int might match the return type of a GCC
19428 builtin and then its argument prototype would still apply. */
19432 char curl_global_init ();
19436 return curl_global_init ();
19441 if ac_fn_cxx_try_link "$LINENO"; then :
19442 ac_cv_lib_curl_curl_global_init=yes
19444 ac_cv_lib_curl_curl_global_init=no
19446 rm -f core conftest.err conftest.$ac_objext \
19447 conftest$ac_exeext conftest.$ac_ext
19448 LIBS=$ac_check_lib_save_LIBS
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
19451 $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
19452 if test "x$ac_cv_lib_curl_curl_global_init" = xyes; then :
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_LIBCURL 1
19457 LIBS="-lcurl $LIBS"
19460 as_fn_error $? "unable to link with libcurl" "$LINENO" 5
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURLOPT_SSL_CTX_FUNCTION in curl.h" >&5
19464 $as_echo_n "checking for CURLOPT_SSL_CTX_FUNCTION in curl.h... " >&6; }
19465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19466 /* end confdefs.h. */
19467 #include <curl/curl.h>
19470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19471 $EGREP "CURLOPT_SSL_CTX_FUNCTION" >/dev/null 2>&1; then :
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19473 $as_echo "yes" >&6; }
19475 as_fn_error $? "need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" "$LINENO" 5
19479 ac_fn_cxx_check_type "$LINENO" "curl_off_t" "ac_cv_type_curl_off_t" "$ac_includes_default"
19480 if test "x$ac_cv_type_curl_off_t" = xyes; then :
19482 $as_echo "#define HAVE_CURL_OFF_T 1" >>confdefs.h
19487 # restore master libs
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
19493 $as_echo "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
19495 $as_echo "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
19498 if test x_$with_xmlsec != x_no; then
19500 BUILD_XMLSEC_FALSE='#'
19502 BUILD_XMLSEC_TRUE='#'
19503 BUILD_XMLSEC_FALSE=
19507 # Does the STL in use help or screw us?
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19514 std::basic_string<unsigned short> foo; foo=foo+(unsigned short)65
19519 if ac_fn_cxx_try_link "$LINENO"; then :
19521 $as_echo "#define HAVE_GOOD_STL 1" >>confdefs.h
19524 rm -f core conftest.err conftest.$ac_objext \
19525 conftest$ac_exeext conftest.$ac_ext
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19532 std::iterator_traits<std::vector<int>::iterator>::value_type foo=0
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19539 $as_echo "#define HAVE_ITERATOR_TRAITS 1" >>confdefs.h
19542 rm -f core conftest.err conftest.$ac_objext \
19543 conftest$ac_exeext conftest.$ac_ext
19545 # Check for unit test support
19546 CXXTEST="/usr/bin/cxxtestgen.pl"
19549 # Check whether --with-cxxtest was given.
19550 if test "${with_cxxtest+set}" = set; then :
19551 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
19552 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
19553 CXXTESTFLAGS="-I${with_cxxtest}"
19557 if ! test -f "${CXXTEST}"; then
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
19559 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
19564 if test -f ${CXXTEST}; then
19565 BUILD_UNITTEST_TRUE=
19566 BUILD_UNITTEST_FALSE='#'
19568 BUILD_UNITTEST_TRUE='#'
19569 BUILD_UNITTEST_FALSE=
19574 # we need the expanded forms...
19575 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19576 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
19579 $as_echo_n "checking our pkgconfig libname... " >&6; }
19580 test ".$ax_create_pkgconfig_libname" != "." || \
19581 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
19582 test ".$ax_create_pkgconfig_libname" != "." || \
19583 ax_create_pkgconfig_libname="$PACKAGE"
19584 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
19585 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
19587 $as_echo "$ax_create_pkgconfig_libname" >&6; }
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
19590 $as_echo_n "checking our pkgconfig version... " >&6; }
19591 test ".$ax_create_pkgconfig_version" != "." || \
19592 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
19593 test ".$ax_create_pkgconfig_version" != "." || \
19594 ax_create_pkgconfig_version="$VERSION"
19595 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
19596 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
19598 $as_echo "$ax_create_pkgconfig_version" >&6; }
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
19601 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
19602 test ".$pkgconfig_libdir" = "." && \
19603 pkgconfig_libdir='${libdir}/pkgconfig'
19604 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
19605 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
19606 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
19608 $as_echo "$pkgconfig_libdir" >&6; }
19609 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
19611 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
19615 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
19616 test ".$pkgconfig_libfile" != "." || \
19617 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
19618 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
19619 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
19621 $as_echo "$pkgconfig_libfile" >&6; }
19622 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
19624 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
19628 $as_echo_n "checking our package / suffix... " >&6; }
19629 ax_create_pkgconfig_suffix="$program_suffix"
19630 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
19632 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19635 $as_echo_n "checking our pkgconfig description... " >&6; }
19636 ax_create_pkgconfig_description="OpenSAML XMLTooling-C library"
19637 test ".$ax_create_pkgconfig_description" != "." || \
19638 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19639 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19640 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19642 $as_echo "$ax_create_pkgconfig_description" >&6; }
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19645 $as_echo_n "checking our pkgconfig requires... " >&6; }
19646 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19647 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19648 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19650 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19653 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19654 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19655 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19656 ax_create_pkgconfig_libs="$XMLSEC_LIBS -lxmltooling"
19657 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19658 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19660 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19663 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19664 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19665 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19666 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19668 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19671 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19672 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19673 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19674 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19676 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19678 test ".$ax_create_pkgconfig_generate" != "." || \
19679 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19680 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19681 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19682 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19684 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19686 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19687 ax_create_pkgconfig_src_libdir=`pwd`
19688 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19689 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19690 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19691 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19692 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19693 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19698 /^X\(\/\/\)[^/].*/{
19711 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19712 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19714 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19716 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19719 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19720 ax_create_pkgconfig_src_headers=`pwd`
19721 v="$ac_top_srcdir" ;
19722 test ".$v" != "." || v="$ax_spec_dir"
19723 test ".$v" != "." || v="$srcdir"
19724 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19725 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19726 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19727 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19728 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19729 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19730 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19735 /^X\(\/\/\)[^/].*/{
19748 test ! -d $ax_create_pkgconfig_src_headers/include || \
19749 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19751 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19755 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19758 LIBTOOL="$LIBTOOL --silent"
19760 # output packaging and makefiles
19761 cat >confcache <<\_ACEOF
19762 # This file is a shell script that caches the results of configure
19763 # tests run on this system so they can be shared between configure
19764 # scripts and configure runs, see configure's option --config-cache.
19765 # It is not useful on other systems. If it contains results you don't
19766 # want to keep, you may remove or edit it.
19768 # config.status only pays attention to the cache file if you give it
19769 # the --recheck option to rerun configure.
19771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19773 # following values.
19777 # The following way of writing the cache mishandles newlines in values,
19778 # but we know of no workaround that is simple, portable, and efficient.
19779 # So, we kill variables containing newlines.
19780 # Ultrix sh set writes to stderr and can't be redirected directly,
19781 # and sets the high bit in the cache file unless we assign to the vars.
19783 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19784 eval ac_val=\$$ac_var
19788 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19789 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19792 _ | IFS | as_nl) ;; #(
19793 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19794 *) { eval $ac_var=; unset $ac_var;} ;;
19800 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19801 *${as_nl}ac_space=\ *)
19802 # `set' does not quote correctly, so add quotes: double-quote
19803 # substitution turns \\\\ into \\, and sed turns \\ into \.
19806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19809 # `set' quotes correctly as required by POSIX, so do not add quotes.
19810 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19819 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19821 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19823 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19824 if test -w "$cache_file"; then
19825 if test "x$cache_file" != "x/dev/null"; then
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19827 $as_echo "$as_me: updating cache $cache_file" >&6;}
19828 if test ! -f "$cache_file" || test -h "$cache_file"; then
19829 cat confcache >"$cache_file"
19831 case $cache_file in #(
19833 mv -f confcache "$cache_file"$$ &&
19834 mv -f "$cache_file"$$ "$cache_file" ;; #(
19836 mv -f confcache "$cache_file" ;;
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19842 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19847 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19848 # Let make expand exec_prefix.
19849 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19851 DEFS=-DHAVE_CONFIG_H
19856 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19857 # 1. Remove the extension, and $U if already installed.
19858 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19859 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19860 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19861 # will be set to the directory where LIBOBJS objects are built.
19862 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19863 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19865 LIBOBJS=$ac_libobjs
19867 LTLIBOBJS=$ac_ltlibobjs
19870 if test -n "$EXEEXT"; then
19872 am__EXEEXT_FALSE='#'
19874 am__EXEEXT_TRUE='#'
19878 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19879 as_fn_error $? "conditional \"AMDEP\" was never defined.
19880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19882 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19883 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19886 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19887 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19890 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19891 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19894 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19895 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19898 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19899 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19902 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19903 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19906 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19907 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19910 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19911 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19914 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19915 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19918 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19919 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19922 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19923 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19926 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19927 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19930 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19931 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19934 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19935 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19938 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19939 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19942 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19943 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19946 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19947 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19950 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19951 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19954 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19955 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19958 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19959 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19962 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19963 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19966 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19967 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19970 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19971 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19974 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19975 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19978 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19979 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19982 if test -z "${BUILD_PTHREAD_TRUE}" && test -z "${BUILD_PTHREAD_FALSE}"; then
19983 as_fn_error $? "conditional \"BUILD_PTHREAD\" was never defined.
19984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19986 if test -z "${BUILD_XMLSEC_TRUE}" && test -z "${BUILD_XMLSEC_FALSE}"; then
19987 as_fn_error $? "conditional \"BUILD_XMLSEC\" was never defined.
19988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19990 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19991 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19995 : "${CONFIG_STATUS=./config.status}"
19997 ac_clean_files_save=$ac_clean_files
19998 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20000 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20002 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20004 # Generated by $as_me.
20005 # Run this file to recreate the current configuration.
20006 # Compiler output produced by configure, useful for debugging
20007 # configure, is in config.log if it exists.
20010 ac_cs_recheck=false
20013 SHELL=\${CONFIG_SHELL-$SHELL}
20016 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20017 ## -------------------- ##
20018 ## M4sh Initialization. ##
20019 ## -------------------- ##
20021 # Be more Bourne compatible
20022 DUALCASE=1; export DUALCASE # for MKS sh
20023 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20026 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20027 # is contrary to our usage. Disable this feature.
20028 alias -g '${1+"$@"}'='"$@"'
20029 setopt NO_GLOB_SUBST
20031 case `(set -o) 2>/dev/null` in #(
20043 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20044 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20045 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20046 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20047 # Prefer a ksh shell builtin over an external printf program on Solaris,
20048 # but without wasting forks for bash or zsh.
20049 if test -z "$BASH_VERSION$ZSH_VERSION" \
20050 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20051 as_echo='print -r --'
20052 as_echo_n='print -rn --'
20053 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20054 as_echo='printf %s\n'
20055 as_echo_n='printf %s'
20057 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20058 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20059 as_echo_n='/usr/ucb/echo -n'
20061 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20062 as_echo_n_body='eval
20066 expr "X$arg" : "X\\(.*\\)$as_nl";
20067 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20069 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20071 export as_echo_n_body
20072 as_echo_n='sh -c $as_echo_n_body as_echo'
20074 export as_echo_body
20075 as_echo='sh -c $as_echo_body as_echo'
20078 # The user is always right.
20079 if test "${PATH_SEPARATOR+set}" != set; then
20081 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20082 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20089 # We need space, tab and new line, in precisely that order. Quoting is
20090 # there to prevent editors from complaining about space-tab.
20091 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20092 # splitting by setting IFS to empty value.)
20095 # Find who we are. Look in the path if we contain no directory separator.
20098 *[\\/]* ) as_myself=$0 ;;
20099 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20100 for as_dir in $PATH
20103 test -z "$as_dir" && as_dir=.
20104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20110 # We did not find ourselves, most probably we were run as `sh COMMAND'
20111 # in which case we are not to be found in the path.
20112 if test "x$as_myself" = x; then
20115 if test ! -f "$as_myself"; then
20116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20120 # Unset variables that we do not need and which cause bugs (e.g. in
20121 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20122 # suppresses any "Segmentation fault" message there. '((' could
20123 # trigger a bug in pdksh 5.2.14.
20124 for as_var in BASH_ENV ENV MAIL MAILPATH
20125 do eval test x\${$as_var+set} = xset \
20126 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20139 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20142 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20143 # ----------------------------------------
20144 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20145 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20146 # script with STATUS, using 1 if that was 0.
20149 as_status=$1; test $as_status -eq 0 && as_status=1
20151 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20152 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20154 $as_echo "$as_me: error: $2" >&2
20155 as_fn_exit $as_status
20159 # as_fn_set_status STATUS
20160 # -----------------------
20161 # Set $? to STATUS, without forking.
20162 as_fn_set_status ()
20165 } # as_fn_set_status
20167 # as_fn_exit STATUS
20168 # -----------------
20169 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20173 as_fn_set_status $1
20179 # Portably unset VAR.
20182 { eval $1=; unset $1;}
20184 as_unset=as_fn_unset
20185 # as_fn_append VAR VALUE
20186 # ----------------------
20187 # Append the text in VALUE to the end of the definition contained in VAR. Take
20188 # advantage of any shell optimizations that allow amortized linear growth over
20189 # repeated appends, instead of the typical quadratic growth present in naive
20191 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20192 eval 'as_fn_append ()
20203 # as_fn_arith ARG...
20204 # ------------------
20205 # Perform arithmetic evaluation on the ARGs, and store the result in the
20206 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20207 # must be portable across $(()) and expr.
20208 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20209 eval 'as_fn_arith ()
20216 as_val=`expr "$@" || test $? -eq 1`
20221 if expr a : '\(a\)' >/dev/null 2>&1 &&
20222 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20229 as_basename=basename
20234 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20240 as_me=`$as_basename -- "$0" ||
20241 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20242 X"$0" : 'X\(//\)$' \| \
20243 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20245 sed '/^.*\/\([^/][^/]*\)\/*$/{
20259 # Avoid depending upon Character Ranges.
20260 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20261 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20262 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20263 as_cr_digits='0123456789'
20264 as_cr_alnum=$as_cr_Letters$as_cr_digits
20266 ECHO_C= ECHO_N= ECHO_T=
20267 case `echo -n x` in #(((((
20269 case `echo 'xy\c'` in
20270 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20272 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20279 rm -f conf$$ conf$$.exe conf$$.file
20280 if test -d conf$$.dir; then
20281 rm -f conf$$.dir/conf$$.file
20284 mkdir conf$$.dir 2>/dev/null
20286 if (echo >conf$$.file) 2>/dev/null; then
20287 if ln -s conf$$.file conf$$ 2>/dev/null; then
20289 # ... but there are two gotchas:
20290 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20291 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20292 # In both cases, we have to default to `cp -p'.
20293 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20295 elif ln conf$$.file conf$$ 2>/dev/null; then
20303 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20304 rmdir conf$$.dir 2>/dev/null
20309 # Create "$as_dir" as a directory, including parents if necessary.
20314 -*) as_dir=./$as_dir;;
20316 test -d "$as_dir" || eval $as_mkdir_p || {
20320 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20321 *) as_qdir=$as_dir;;
20323 as_dirs="'$as_qdir' $as_dirs"
20324 as_dir=`$as_dirname -- "$as_dir" ||
20325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20326 X"$as_dir" : 'X\(//\)[^/]' \| \
20327 X"$as_dir" : 'X\(//\)$' \| \
20328 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20329 $as_echo X"$as_dir" |
20330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20334 /^X\(\/\/\)[^/].*/{
20347 test -d "$as_dir" && break
20349 test -z "$as_dirs" || eval "mkdir $as_dirs"
20350 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20354 if mkdir -p . 2>/dev/null; then
20355 as_mkdir_p='mkdir -p "$as_dir"'
20357 test -d ./-p && rmdir ./-p
20361 if test -x / >/dev/null 2>&1; then
20362 as_test_x='test -x'
20364 if ls -dL / >/dev/null 2>&1; then
20371 if test -d "$1"; then
20377 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20378 ???[sx]*):;;*)false;;esac;fi
20382 as_executable_p=$as_test_x
20384 # Sed expression to map a string onto a valid CPP name.
20385 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20387 # Sed expression to map a string onto a valid variable name.
20388 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20392 ## ----------------------------------- ##
20393 ## Main body of $CONFIG_STATUS script. ##
20394 ## ----------------------------------- ##
20396 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20399 # Save the log message, to keep $0 and so on meaningful, and to
20400 # report actual input values of CONFIG_FILES etc. instead of their
20401 # values after options handling.
20403 This file was extended by xmltooling $as_me 1.4.1, which was
20404 generated by GNU Autoconf 2.68. Invocation command line was
20406 CONFIG_FILES = $CONFIG_FILES
20407 CONFIG_HEADERS = $CONFIG_HEADERS
20408 CONFIG_LINKS = $CONFIG_LINKS
20409 CONFIG_COMMANDS = $CONFIG_COMMANDS
20412 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20417 case $ac_config_files in *"
20418 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20421 case $ac_config_headers in *"
20422 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20427 # Files that config.status was made for.
20428 config_files="$ac_config_files"
20429 config_headers="$ac_config_headers"
20430 config_commands="$ac_config_commands"
20434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20436 \`$as_me' instantiates files and other configuration actions
20437 from templates according to the current configuration. Unless the files
20438 and actions are specified as TAGs, all are instantiated by default.
20440 Usage: $0 [OPTION]... [TAG]...
20442 -h, --help print this help, then exit
20443 -V, --version print version number and configuration settings, then exit
20444 --config print configuration, then exit
20445 -q, --quiet, --silent
20446 do not print progress messages
20447 -d, --debug don't remove temporary files
20448 --recheck update $as_me by reconfiguring in the same conditions
20449 --file=FILE[:TEMPLATE]
20450 instantiate the configuration file FILE
20451 --header=FILE[:TEMPLATE]
20452 instantiate the configuration header FILE
20454 Configuration files:
20457 Configuration headers:
20460 Configuration commands:
20463 Report bugs to <https://bugs.internet2.edu/>."
20466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20467 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20469 xmltooling config.status 1.4.1
20470 configured by $0, generated by GNU Autoconf 2.68,
20471 with options \\"\$ac_cs_config\\"
20473 Copyright (C) 2010 Free Software Foundation, Inc.
20474 This config.status script is free software; the Free Software Foundation
20475 gives unlimited permission to copy, distribute and modify it."
20482 test -n "\$AWK" || AWK=awk
20485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20486 # The default lists apply if the user does not specify any file.
20492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20493 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20497 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20509 # Handling of the options.
20510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20512 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20513 $as_echo "$ac_cs_version"; exit ;;
20514 --config | --confi | --conf | --con | --co | --c )
20515 $as_echo "$ac_cs_config"; exit ;;
20516 --debug | --debu | --deb | --de | --d | -d )
20518 --file | --fil | --fi | --f )
20521 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20522 '') as_fn_error $? "missing file argument" ;;
20524 as_fn_append CONFIG_FILES " '$ac_optarg'"
20525 ac_need_defaults=false;;
20526 --header | --heade | --head | --hea )
20529 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20531 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20532 ac_need_defaults=false;;
20534 # Conflict between --help and --header
20535 as_fn_error $? "ambiguous option: \`$1'
20536 Try \`$0 --help' for more information.";;
20537 --help | --hel | -h )
20538 $as_echo "$ac_cs_usage"; exit ;;
20539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20540 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20543 # This is an error.
20544 -*) as_fn_error $? "unrecognized option: \`$1'
20545 Try \`$0 --help' for more information." ;;
20547 *) as_fn_append ac_config_targets " $1"
20548 ac_need_defaults=false ;;
20554 ac_configure_extra_args=
20556 if $ac_cs_silent; then
20558 ac_configure_extra_args="$ac_configure_extra_args --silent"
20562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20563 if \$ac_cs_recheck; then
20564 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20566 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20567 CONFIG_SHELL='$SHELL'
20568 export CONFIG_SHELL
20573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20577 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20578 ## Running $as_me. ##
20584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20588 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20591 # The HP-UX ksh and POSIX shell print the target directory to stdout
20592 # if CDPATH is set.
20593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20595 sed_quote_subst='$sed_quote_subst'
20596 double_quote_subst='$double_quote_subst'
20597 delay_variable_subst='$delay_variable_subst'
20598 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20599 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20600 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20601 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20602 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20603 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20604 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20605 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20606 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20607 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20608 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20609 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20610 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20611 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20612 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20613 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20614 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20615 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20616 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20617 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20618 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20619 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20620 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20621 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20622 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20623 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20624 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20625 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20626 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20627 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20628 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20629 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20630 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20631 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20632 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20633 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20634 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20635 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20636 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20637 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20638 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20639 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20640 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20641 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20642 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20643 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20644 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20645 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20646 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20647 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20648 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20649 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20650 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20651 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20652 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20653 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"`'
20654 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20655 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20656 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20657 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20658 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20659 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20660 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20661 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20662 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20663 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20664 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20665 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20666 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20667 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20668 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20669 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20670 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20671 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20672 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20673 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20674 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20675 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20676 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20677 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20678 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20679 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20680 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20681 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20682 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20683 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20684 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20685 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20686 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20687 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20688 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20689 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20690 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20691 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20692 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20693 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20694 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20695 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20696 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20697 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20698 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20699 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20700 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20701 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20702 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20703 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20704 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20705 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20706 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20707 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20708 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20709 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20710 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20711 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20712 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20713 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20714 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20715 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20716 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20717 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20718 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20719 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20720 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20721 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20722 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20723 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20724 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20725 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20726 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20727 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20728 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20729 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20730 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20731 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20732 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20733 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20734 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20735 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20736 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20737 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20738 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20739 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20740 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20741 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20742 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20743 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20744 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20745 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20746 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20747 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20748 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20749 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20750 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20751 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20752 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20753 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20754 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20755 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20756 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20757 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20758 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20759 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20760 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20761 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20762 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20763 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20764 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20765 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20766 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20767 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20768 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20769 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20770 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20771 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20772 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20773 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20774 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20775 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20776 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20777 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20778 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20779 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20780 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20781 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20782 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20785 LTCFLAGS='$LTCFLAGS'
20786 compiler='$compiler_DEFAULT'
20788 # A function that is used when there is no print builtin or printf.
20789 func_fallback_echo ()
20791 eval 'cat <<_LTECHO_EOF
20796 # Quote evaled strings.
20810 deplibs_check_method \
20815 sharedlib_from_linklib_cmd \
20818 archiver_list_spec \
20824 lt_cv_sys_global_symbol_pipe \
20825 lt_cv_sys_global_symbol_to_cdecl \
20826 lt_cv_sys_global_symbol_to_c_name_address \
20827 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20828 nm_file_list_spec \
20829 lt_prog_compiler_no_builtin_flag \
20830 lt_prog_compiler_pic \
20831 lt_prog_compiler_wl \
20832 lt_prog_compiler_static \
20833 lt_cv_prog_compiler_c_o \
20842 export_dynamic_flag_spec \
20843 whole_archive_flag_spec \
20844 compiler_needs_object \
20846 allow_undefined_flag \
20847 no_undefined_flag \
20848 hardcode_libdir_flag_spec \
20849 hardcode_libdir_flag_spec_ld \
20850 hardcode_libdir_separator \
20854 variables_saved_for_relink \
20856 library_names_spec \
20858 install_override_mode \
20862 compiler_lib_search_dirs \
20867 compiler_lib_search_path \
20871 lt_prog_compiler_no_builtin_flag_CXX \
20872 lt_prog_compiler_pic_CXX \
20873 lt_prog_compiler_wl_CXX \
20874 lt_prog_compiler_static_CXX \
20875 lt_cv_prog_compiler_c_o_CXX \
20876 export_dynamic_flag_spec_CXX \
20877 whole_archive_flag_spec_CXX \
20878 compiler_needs_object_CXX \
20880 allow_undefined_flag_CXX \
20881 no_undefined_flag_CXX \
20882 hardcode_libdir_flag_spec_CXX \
20883 hardcode_libdir_flag_spec_ld_CXX \
20884 hardcode_libdir_separator_CXX \
20885 exclude_expsyms_CXX \
20886 include_expsyms_CXX \
20887 file_list_spec_CXX \
20888 compiler_lib_search_dirs_CXX \
20889 predep_objects_CXX \
20890 postdep_objects_CXX \
20893 compiler_lib_search_path_CXX; do
20894 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20895 *[\\\\\\\`\\"\\\$]*)
20896 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20899 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20904 # Double-quote double-evaled strings.
20905 for var in reload_cmds \
20906 old_postinstall_cmds \
20907 old_postuninstall_cmds \
20909 extract_expsyms_cmds \
20910 old_archive_from_new_cmds \
20911 old_archive_from_expsyms_cmds \
20913 archive_expsym_cmds \
20915 module_expsym_cmds \
20916 export_symbols_cmds \
20920 postuninstall_cmds \
20922 sys_lib_search_path_spec \
20923 sys_lib_dlsearch_path_spec \
20925 old_archive_cmds_CXX \
20926 old_archive_from_new_cmds_CXX \
20927 old_archive_from_expsyms_cmds_CXX \
20929 archive_expsym_cmds_CXX \
20931 module_expsym_cmds_CXX \
20932 export_symbols_cmds_CXX \
20934 postlink_cmds_CXX; do
20935 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20936 *[\\\\\\\`\\"\\\$]*)
20937 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20940 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20945 ac_aux_dir='$ac_aux_dir'
20946 xsi_shell='$xsi_shell'
20947 lt_shell_append='$lt_shell_append'
20949 # See if we are running on zsh, and set the options which allow our
20950 # commands through without removal of \ escapes INIT.
20951 if test -n "\${ZSH_VERSION+set}" ; then
20952 setopt NO_GLOB_SUBST
20958 TIMESTAMP='$TIMESTAMP'
20967 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20968 pkgconfig_prefix='$prefix'
20969 pkgconfig_execprefix='$exec_prefix'
20970 pkgconfig_bindir='$bindir'
20971 pkgconfig_libdir='$libdir'
20972 pkgconfig_includedir='$includedir'
20973 pkgconfig_datarootdir='$datarootdir'
20974 pkgconfig_datadir='$datadir'
20975 pkgconfig_sysconfdir='$sysconfdir'
20976 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20977 pkgconfig_package='$PACKAGE_NAME'
20978 pkgconfig_libname='$ax_create_pkgconfig_libname'
20979 pkgconfig_description='$ax_create_pkgconfig_description'
20980 pkgconfig_version='$ax_create_pkgconfig_version'
20981 pkgconfig_requires='$ax_create_pkgconfig_requires'
20982 pkgconfig_libs='$ax_create_pkgconfig_libs'
20983 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20984 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20985 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20986 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20993 # Handling of arguments.
20994 for ac_config_target in $ac_config_targets
20996 case $ac_config_target in
20997 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20998 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20999 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21000 "xmltooling/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS xmltooling/config_pub.h" ;;
21001 "xmltooling.spec") CONFIG_FILES="$CONFIG_FILES xmltooling.spec" ;;
21002 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
21003 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
21004 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21005 "xmltooling/Makefile") CONFIG_FILES="$CONFIG_FILES xmltooling/Makefile" ;;
21006 "xmltoolingtest/Makefile") CONFIG_FILES="$CONFIG_FILES xmltoolingtest/Makefile" ;;
21007 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
21008 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21009 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
21011 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21016 # If the user did not use the arguments to specify the items to instantiate,
21017 # then the envvar interface is used. Set only those that are not.
21018 # We use the long form for the default assignment because of an extremely
21019 # bizarre bug on SunOS 4.1.3.
21020 if $ac_need_defaults; then
21021 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21022 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21023 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21026 # Have a temporary directory for convenience. Make it in the build tree
21027 # simply because there is no reason against having it here, and in addition,
21028 # creating and moving files from /tmp can sometimes cause problems.
21029 # Hook for its removal unless debugging.
21030 # Note that there is a small window in which the directory will not be cleaned:
21031 # after its creation but before its name has been assigned to `$tmp'.
21035 trap 'exit_status=$?
21036 : "${ac_tmp:=$tmp}"
21037 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21039 trap 'as_fn_exit 1' 1 2 13 15
21041 # Create a (secure) tmp directory for tmp files.
21044 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21048 tmp=./conf$$-$RANDOM
21049 (umask 077 && mkdir "$tmp")
21050 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21053 # Set up the scripts for CONFIG_FILES section.
21054 # No need to generate them if there are no CONFIG_FILES.
21055 # This happens for instance with `./config.status config.h'.
21056 if test -n "$CONFIG_FILES"; then
21059 ac_cr=`echo X | tr X '\015'`
21060 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21061 # But we know of no other shell where ac_cr would be empty at this
21062 # point, so we can use a bashism as a fallback.
21063 if test "x$ac_cr" = x; then
21064 eval ac_cr=\$\'\\r\'
21066 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21067 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21070 ac_cs_awk_cr=$ac_cr
21073 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21078 echo "cat >conf$$subs.awk <<_ACEOF" &&
21079 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21081 } >conf$$subs.sh ||
21082 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21083 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21085 for ac_last_try in false false false false false :; do
21086 . ./conf$$subs.sh ||
21087 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21089 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21090 if test $ac_delim_n = $ac_delim_num; then
21092 elif $ac_last_try; then
21093 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21095 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21098 rm -f conf$$subs.sh
21100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21101 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21105 s/^/S["/; s/!.*/"]=/
21115 s/\(.\{148\}\)..*/\1/
21117 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21122 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21129 s/\(.\{148\}\)..*/\1/
21131 s/["\\]/\\&/g; s/^/"/; s/$/"/
21135 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21140 ' <conf$$subs.awk | sed '
21145 ' >>$CONFIG_STATUS || ac_write_fail=1
21146 rm -f conf$$subs.awk
21147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21149 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21150 for (key in S) S_is_set[key] = 1
21156 nfields = split(line, field, "@")
21158 len = length(field[1])
21159 for (i = 2; i < nfields; i++) {
21161 keylen = length(key)
21162 if (S_is_set[key]) {
21164 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21165 len += length(value) + length(field[++i])
21176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21177 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21178 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21181 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21182 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21185 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21186 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21187 # trailing colons and then remove the whole line if VPATH becomes empty
21188 # (actually we leave an empty line to preserve line numbers).
21189 if test "x$srcdir" = x.; then
21190 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21209 fi # test -n "$CONFIG_FILES"
21211 # Set up the scripts for CONFIG_HEADERS section.
21212 # No need to generate them if there are no CONFIG_HEADERS.
21213 # This happens for instance with `./config.status Makefile'.
21214 if test -n "$CONFIG_HEADERS"; then
21215 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21219 # Transform confdefs.h into an awk script `defines.awk', embedded as
21220 # here-document in config.status, that substitutes the proper values into
21221 # config.h.in to produce config.h.
21223 # Create a delimiter string that does not exist in confdefs.h, to ease
21224 # handling of long lines.
21226 for ac_last_try in false false :; do
21227 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21228 if test -z "$ac_tt"; then
21230 elif $ac_last_try; then
21231 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21237 # For the awk script, D is an array of macro values keyed by name,
21238 # likewise P contains macro parameters if any. Preserve backslash
21239 # newline sequences.
21241 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21243 s/.\{148\}/&'"$ac_delim"'/g
21246 s/^[ ]*#[ ]*define[ ][ ]*/ /
21253 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21255 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21259 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21260 D["\1"]=" \3\\\\\\n"\\/p
21262 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21267 s/.\{148\}/&'"$ac_delim"'/g
21272 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21275 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21277 ' <confdefs.h | sed '
21278 s/'"$ac_delim"'/"\\\
21279 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21282 for (key in D) D_is_set[key] = 1
21285 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21287 split(line, arg, " ")
21288 if (arg[1] == "#") {
21292 defundef = substr(arg[1], 2)
21295 split(mac1, mac2, "(") #)
21297 prefix = substr(line, 1, index(line, defundef) - 1)
21298 if (D_is_set[macro]) {
21299 # Preserve the white space surrounding the "#".
21300 print prefix "define", macro P[macro] D[macro]
21303 # Replace #undef with comments. This is necessary, for example,
21304 # in the case of _POSIX_SOURCE, which is predefined and required
21305 # on some systems where configure will not decide to define it.
21306 if (defundef == "undef") {
21307 print "/*", prefix defundef, macro, "*/"
21315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21316 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21317 fi # test -n "$CONFIG_HEADERS"
21320 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21325 :[FHLC]) ac_mode=$ac_tag; continue;;
21327 case $ac_mode$ac_tag in
21329 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21330 :[FH]-) ac_tag=-:-;;
21331 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21348 -) ac_f="$ac_tmp/stdin";;
21349 *) # Look for the file first in the build tree, then in the source tree
21350 # (if the path is not absolute). The absolute path cannot be DOS-style,
21351 # because $ac_f cannot contain `:'.
21355 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21357 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21359 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21360 as_fn_append ac_file_inputs " '$ac_f'"
21363 # Let's still pretend it is `configure' which instantiates (i.e., don't
21364 # use $as_me), people would be surprised to read:
21365 # /* config.h. Generated by config.status. */
21366 configure_input='Generated from '`
21367 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21369 if test x"$ac_file" != x-; then
21370 configure_input="$ac_file. $configure_input"
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21372 $as_echo "$as_me: creating $ac_file" >&6;}
21374 # Neutralize special characters interpreted by sed in replacement strings.
21375 case $configure_input in #(
21376 *\&* | *\|* | *\\* )
21377 ac_sed_conf_input=`$as_echo "$configure_input" |
21378 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21379 *) ac_sed_conf_input=$configure_input;;
21383 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21389 ac_dir=`$as_dirname -- "$ac_file" ||
21390 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21391 X"$ac_file" : 'X\(//\)[^/]' \| \
21392 X"$ac_file" : 'X\(//\)$' \| \
21393 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21394 $as_echo X"$ac_file" |
21395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21399 /^X\(\/\/\)[^/].*/{
21412 as_dir="$ac_dir"; as_fn_mkdir_p
21416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21418 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21419 # A ".." for each directory in $ac_dir_suffix.
21420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21421 case $ac_top_builddir_sub in
21422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21426 ac_abs_top_builddir=$ac_pwd
21427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21428 # for backward compatibility:
21429 ac_top_builddir=$ac_top_build_prefix
21432 .) # We are building in place.
21434 ac_top_srcdir=$ac_top_builddir_sub
21435 ac_abs_top_srcdir=$ac_pwd ;;
21436 [\\/]* | ?:[\\/]* ) # Absolute name.
21437 ac_srcdir=$srcdir$ac_dir_suffix;
21438 ac_top_srcdir=$srcdir
21439 ac_abs_top_srcdir=$srcdir ;;
21440 *) # Relative name.
21441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21442 ac_top_srcdir=$ac_top_build_prefix$srcdir
21443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21455 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21456 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21458 ac_MKDIR_P=$MKDIR_P
21460 [\\/$]* | ?:[\\/]* ) ;;
21461 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21466 # If the template does not know about datarootdir, expand it.
21467 # FIXME: This hack should be removed a few years after 2.60.
21468 ac_datarootdir_hack=; ac_datarootdir_seen=
21479 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21480 *datarootdir*) ac_datarootdir_seen=yes;;
21481 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21483 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21486 ac_datarootdir_hack='
21487 s&@datadir@&$datadir&g
21488 s&@docdir@&$docdir&g
21489 s&@infodir@&$infodir&g
21490 s&@localedir@&$localedir&g
21491 s&@mandir@&$mandir&g
21492 s&\\\${datarootdir}&$datarootdir&g' ;;
21496 # Neutralize VPATH when `$srcdir' = `.'.
21497 # Shell code in configure.ac might set extrasub.
21498 # FIXME: do we really want to maintain this feature?
21499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21500 ac_sed_extra="$ac_vpsub
21503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21505 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21506 s|@configure_input@|$ac_sed_conf_input|;t t
21507 s&@top_builddir@&$ac_top_builddir_sub&;t t
21508 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21509 s&@srcdir@&$ac_srcdir&;t t
21510 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21511 s&@top_srcdir@&$ac_top_srcdir&;t t
21512 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21513 s&@builddir@&$ac_builddir&;t t
21514 s&@abs_builddir@&$ac_abs_builddir&;t t
21515 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21516 s&@INSTALL@&$ac_INSTALL&;t t
21517 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21518 $ac_datarootdir_hack
21520 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21521 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21523 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21524 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21525 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21526 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21528 which seems to be undefined. Please make sure it is defined" >&5
21529 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21530 which seems to be undefined. Please make sure it is defined" >&2;}
21532 rm -f "$ac_tmp/stdin"
21534 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21535 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21543 if test x"$ac_file" != x-; then
21545 $as_echo "/* $configure_input */" \
21546 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21547 } >"$ac_tmp/config.h" \
21548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21549 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21551 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21554 mv "$ac_tmp/config.h" "$ac_file" \
21555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21558 $as_echo "/* $configure_input */" \
21559 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21560 || as_fn_error $? "could not create -" "$LINENO" 5
21562 # Compute "$ac_file"'s index in $config_headers.
21565 for _am_header in $config_headers :; do
21566 case $_am_header in
21567 $_am_arg | $_am_arg:* )
21570 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21573 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21574 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21575 X"$_am_arg" : 'X\(//\)[^/]' \| \
21576 X"$_am_arg" : 'X\(//\)$' \| \
21577 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21578 $as_echo X"$_am_arg" |
21579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21583 /^X\(\/\/\)[^/].*/{
21595 s/.*/./; q'`/stamp-h$_am_stamp_count
21598 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21599 $as_echo "$as_me: executing $ac_file commands" >&6;}
21604 case $ac_file$ac_mode in
21605 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21606 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21607 # are listed without --file. Let's play safe and only enable the eval
21608 # if we detect the quoting.
21609 case $CONFIG_FILES in
21610 *\'*) eval set x "$CONFIG_FILES" ;;
21611 *) set x $CONFIG_FILES ;;
21616 # Strip MF so we end up with the name of the file.
21617 mf=`echo "$mf" | sed -e 's/:.*$//'`
21618 # Check whether this is an Automake generated Makefile or not.
21619 # We used to match only the files named `Makefile.in', but
21620 # some people rename them; so instead we look at the file content.
21621 # Grep'ing the first line is not enough: some people post-process
21622 # each Makefile.in and add a new line on top of each file to say so.
21623 # Grep'ing the whole file is not good either: AIX grep has a line
21624 # limit of 2048, but all sed's we know have understand at least 4000.
21625 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21626 dirpart=`$as_dirname -- "$mf" ||
21627 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21628 X"$mf" : 'X\(//\)[^/]' \| \
21629 X"$mf" : 'X\(//\)$' \| \
21630 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21636 /^X\(\/\/\)[^/].*/{
21652 # Extract the definition of DEPDIR, am__include, and am__quote
21653 # from the Makefile without running `make'.
21654 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21655 test -z "$DEPDIR" && continue
21656 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21657 test -z "am__include" && continue
21658 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21659 # When using ansi2knr, U may be empty or an underscore; expand it
21660 U=`sed -n 's/^U = //p' < "$mf"`
21661 # Find all dependency output files, they are included files with
21662 # $(DEPDIR) in their names. We invoke sed twice because it is the
21663 # simplest approach to changing $(DEPDIR) to its actual value in the
21665 for file in `sed -n "
21666 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21667 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21668 # Make sure the directory exists.
21669 test -f "$dirpart/$file" && continue
21670 fdir=`$as_dirname -- "$file" ||
21671 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21672 X"$file" : 'X\(//\)[^/]' \| \
21673 X"$file" : 'X\(//\)$' \| \
21674 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21675 $as_echo X"$file" |
21676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21680 /^X\(\/\/\)[^/].*/{
21693 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21694 # echo "creating $dirpart/$file"
21695 echo '# dummy' > "$dirpart/$file"
21702 # See if we are running on zsh, and set the options which allow our
21703 # commands through without removal of \ escapes.
21704 if test -n "${ZSH_VERSION+set}" ; then
21705 setopt NO_GLOB_SUBST
21708 cfgfile="${ofile}T"
21709 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21712 cat <<_LT_EOF >> "$cfgfile"
21715 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21716 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21717 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21718 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21720 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21721 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21723 # Written by Gordon Matzigkeit, 1996
21725 # This file is part of GNU Libtool.
21727 # GNU Libtool is free software; you can redistribute it and/or
21728 # modify it under the terms of the GNU General Public License as
21729 # published by the Free Software Foundation; either version 2 of
21730 # the License, or (at your option) any later version.
21732 # As a special exception to the GNU General Public License,
21733 # if you distribute this file as part of a program or library that
21734 # is built using GNU Libtool, you may include this file under the
21735 # same distribution terms that you use for the rest of that program.
21737 # GNU Libtool is distributed in the hope that it will be useful,
21738 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21740 # GNU General Public License for more details.
21742 # You should have received a copy of the GNU General Public License
21743 # along with GNU Libtool; see the file COPYING. If not, a copy
21744 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21745 # obtained by writing to the Free Software Foundation, Inc.,
21746 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21749 # The names of the tagged configurations supported by this script.
21750 available_tags="CXX "
21752 # ### BEGIN LIBTOOL CONFIG
21754 # Whether or not to build static libraries.
21755 build_old_libs=$enable_static
21757 # Which release of libtool.m4 was used?
21758 macro_version=$macro_version
21759 macro_revision=$macro_revision
21761 # Whether or not to build shared libraries.
21762 build_libtool_libs=$enable_shared
21764 # What type of objects to build.
21767 # Whether or not to optimize for fast installation.
21768 fast_install=$enable_fast_install
21770 # Shell to use when invoking shell scripts.
21773 # An echo program that protects backslashes.
21777 host_alias=$host_alias
21781 # The build system.
21782 build_alias=$build_alias
21786 # A sed program that does not truncate output.
21789 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21790 Xsed="\$SED -e 1s/^X//"
21792 # A grep program that handles long lines.
21798 # A literal string matcher.
21801 # A BSD- or MS-compatible name lister.
21804 # Whether we need soft or hard links.
21807 # What is the maximum length of a command?
21808 max_cmd_len=$max_cmd_len
21810 # Object file suffix (normally "o").
21813 # Executable file suffix (normally "").
21816 # whether the shell understands "unset".
21819 # turn spaces into newlines.
21822 # turn newlines into spaces.
21825 # convert \$build file names to \$host format.
21826 to_host_file_cmd=$lt_cv_to_host_file_cmd
21828 # convert \$build files to toolchain format.
21829 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21831 # An object symbol dumper.
21832 OBJDUMP=$lt_OBJDUMP
21834 # Method to check whether dependent libraries are shared objects.
21835 deplibs_check_method=$lt_deplibs_check_method
21837 # Command to use when deplibs_check_method = "file_magic".
21838 file_magic_cmd=$lt_file_magic_cmd
21840 # How to find potential files when deplibs_check_method = "file_magic".
21841 file_magic_glob=$lt_file_magic_glob
21843 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21844 want_nocaseglob=$lt_want_nocaseglob
21846 # DLL creation program.
21847 DLLTOOL=$lt_DLLTOOL
21849 # Command to associate shared and link libraries.
21850 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21855 # Flags to create an archive.
21856 AR_FLAGS=$lt_AR_FLAGS
21858 # How to feed a file listing to the archiver.
21859 archiver_list_spec=$lt_archiver_list_spec
21861 # A symbol stripping program.
21864 # Commands used to install an old-style archive.
21866 old_postinstall_cmds=$lt_old_postinstall_cmds
21867 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21869 # Whether to use a lock for old archive extraction.
21870 lock_old_archive_extraction=$lock_old_archive_extraction
21875 # LTCC compiler flags.
21876 LTCFLAGS=$lt_CFLAGS
21878 # Take the output of nm and produce a listing of raw symbols and C names.
21879 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21881 # Transform the output of nm in a proper C declaration.
21882 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21884 # Transform the output of nm in a C name address pair.
21885 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21887 # Transform the output of nm in a C name address pair when lib prefix is needed.
21888 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21890 # Specify filename containing input files for \$NM.
21891 nm_file_list_spec=$lt_nm_file_list_spec
21893 # The root where to search for dependent libraries,and in which our libraries should be installed.
21894 lt_sysroot=$lt_sysroot
21896 # The name of the directory that contains temporary libtool files.
21899 # Used to examine libraries when file_magic_cmd begins with "file".
21900 MAGIC_CMD=$MAGIC_CMD
21902 # Must we lock files when doing compilation?
21903 need_locks=$lt_need_locks
21906 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21908 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21909 DSYMUTIL=$lt_DSYMUTIL
21911 # Tool to change global to local symbols on Mac OS X.
21914 # Tool to manipulate fat objects and archives on Mac OS X.
21917 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21920 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21921 OTOOL64=$lt_OTOOL64
21923 # Old archive suffix (normally "a").
21926 # Shared library suffix (normally ".so").
21927 shrext_cmds=$lt_shrext_cmds
21929 # The commands to extract the exported symbol list from a shared archive.
21930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21932 # Variables whose values should be saved in libtool wrapper scripts and
21933 # restored at link time.
21934 variables_saved_for_relink=$lt_variables_saved_for_relink
21936 # Do we need the "lib" prefix for modules?
21937 need_lib_prefix=$need_lib_prefix
21939 # Do we need a version for libraries?
21940 need_version=$need_version
21942 # Library versioning type.
21943 version_type=$version_type
21945 # Shared library runtime path variable.
21946 runpath_var=$runpath_var
21948 # Shared library path variable.
21949 shlibpath_var=$shlibpath_var
21951 # Is shlibpath searched before the hard-coded library search path?
21952 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21954 # Format of library name prefix.
21955 libname_spec=$lt_libname_spec
21957 # List of archive names. First name is the real one, the rest are links.
21958 # The last name is the one that the linker finds with -lNAME
21959 library_names_spec=$lt_library_names_spec
21961 # The coded name of the library, if different from the real name.
21962 soname_spec=$lt_soname_spec
21964 # Permission mode override for installation of shared libraries.
21965 install_override_mode=$lt_install_override_mode
21967 # Command to use after installation of a shared archive.
21968 postinstall_cmds=$lt_postinstall_cmds
21970 # Command to use after uninstallation of a shared archive.
21971 postuninstall_cmds=$lt_postuninstall_cmds
21973 # Commands used to finish a libtool library installation in a directory.
21974 finish_cmds=$lt_finish_cmds
21976 # As "finish_cmds", except a single script fragment to be evaled but
21978 finish_eval=$lt_finish_eval
21980 # Whether we should hardcode library paths into libraries.
21981 hardcode_into_libs=$hardcode_into_libs
21983 # Compile-time system search path for libraries.
21984 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21986 # Run-time system search path for libraries.
21987 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21989 # Whether dlopen is supported.
21990 dlopen_support=$enable_dlopen
21992 # Whether dlopen of programs is supported.
21993 dlopen_self=$enable_dlopen_self
21995 # Whether dlopen of statically linked programs is supported.
21996 dlopen_self_static=$enable_dlopen_self_static
21998 # Commands to strip libraries.
21999 old_striplib=$lt_old_striplib
22000 striplib=$lt_striplib
22003 # The linker used to build libraries.
22006 # How to create reloadable object files.
22007 reload_flag=$lt_reload_flag
22008 reload_cmds=$lt_reload_cmds
22010 # Commands used to build an old-style archive.
22011 old_archive_cmds=$lt_old_archive_cmds
22013 # A language specific compiler.
22016 # Is the compiler the GNU compiler?
22019 # Compiler flag to turn off builtin functions.
22020 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22022 # Additional compiler flags for building library objects.
22023 pic_flag=$lt_lt_prog_compiler_pic
22025 # How to pass a linker flag through the compiler.
22026 wl=$lt_lt_prog_compiler_wl
22028 # Compiler flag to prevent dynamic linking.
22029 link_static_flag=$lt_lt_prog_compiler_static
22031 # Does compiler simultaneously support -c and -o options?
22032 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22034 # Whether or not to add -lc for building shared libraries.
22035 build_libtool_need_lc=$archive_cmds_need_lc
22037 # Whether or not to disallow shared libs when runtime libs are static.
22038 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22040 # Compiler flag to allow reflexive dlopens.
22041 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22043 # Compiler flag to generate shared objects directly from archives.
22044 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22046 # Whether the compiler copes with passing no objects directly.
22047 compiler_needs_object=$lt_compiler_needs_object
22049 # Create an old-style archive from a shared archive.
22050 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22052 # Create a temporary old-style archive to link instead of a shared archive.
22053 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22055 # Commands used to build a shared archive.
22056 archive_cmds=$lt_archive_cmds
22057 archive_expsym_cmds=$lt_archive_expsym_cmds
22059 # Commands used to build a loadable module if different from building
22060 # a shared archive.
22061 module_cmds=$lt_module_cmds
22062 module_expsym_cmds=$lt_module_expsym_cmds
22064 # Whether we are building with GNU ld or not.
22065 with_gnu_ld=$lt_with_gnu_ld
22067 # Flag that allows shared libraries with undefined symbols to be built.
22068 allow_undefined_flag=$lt_allow_undefined_flag
22070 # Flag that enforces no undefined symbols.
22071 no_undefined_flag=$lt_no_undefined_flag
22073 # Flag to hardcode \$libdir into a binary during linking.
22074 # This must work even if \$libdir does not exist
22075 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22077 # If ld is used when linking, flag to hardcode \$libdir into a binary
22078 # during linking. This must work even if \$libdir does not exist.
22079 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22081 # Whether we need a single "-rpath" flag with a separated argument.
22082 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22084 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22085 # DIR into the resulting binary.
22086 hardcode_direct=$hardcode_direct
22088 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22089 # DIR into the resulting binary and the resulting library dependency is
22090 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22091 # library is relocated.
22092 hardcode_direct_absolute=$hardcode_direct_absolute
22094 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22095 # into the resulting binary.
22096 hardcode_minus_L=$hardcode_minus_L
22098 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22099 # into the resulting binary.
22100 hardcode_shlibpath_var=$hardcode_shlibpath_var
22102 # Set to "yes" if building a shared library automatically hardcodes DIR
22103 # into the library and all subsequent libraries and executables linked
22105 hardcode_automatic=$hardcode_automatic
22107 # Set to yes if linker adds runtime paths of dependent libraries
22108 # to runtime path list.
22109 inherit_rpath=$inherit_rpath
22111 # Whether libtool must link a program against all its dependency libraries.
22112 link_all_deplibs=$link_all_deplibs
22114 # Set to "yes" if exported symbols are required.
22115 always_export_symbols=$always_export_symbols
22117 # The commands to list exported symbols.
22118 export_symbols_cmds=$lt_export_symbols_cmds
22120 # Symbols that should not be listed in the preloaded symbols.
22121 exclude_expsyms=$lt_exclude_expsyms
22123 # Symbols that must always be exported.
22124 include_expsyms=$lt_include_expsyms
22126 # Commands necessary for linking programs (against libraries) with templates.
22127 prelink_cmds=$lt_prelink_cmds
22129 # Commands necessary for finishing linking programs.
22130 postlink_cmds=$lt_postlink_cmds
22132 # Specify filename containing input files.
22133 file_list_spec=$lt_file_list_spec
22135 # How to hardcode a shared library path into an executable.
22136 hardcode_action=$hardcode_action
22138 # The directories searched by this compiler when creating a shared library.
22139 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22141 # Dependencies to place before and after the objects being linked to
22142 # create a shared library.
22143 predep_objects=$lt_predep_objects
22144 postdep_objects=$lt_postdep_objects
22145 predeps=$lt_predeps
22146 postdeps=$lt_postdeps
22148 # The library search path used internally by the compiler when linking
22149 # a shared library.
22150 compiler_lib_search_path=$lt_compiler_lib_search_path
22152 # ### END LIBTOOL CONFIG
22158 cat <<\_LT_EOF >> "$cfgfile"
22159 # AIX sometimes has problems with the GCC collect2 program. For some
22160 # reason, if we set the COLLECT_NAMES environment variable, the problems
22161 # vanish in a puff of smoke.
22162 if test "X${COLLECT_NAMES+set}" != Xset; then
22164 export COLLECT_NAMES
22171 ltmain="$ac_aux_dir/ltmain.sh"
22174 # We use sed instead of cat because bash on DJGPP gets confused if
22175 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22176 # text mode, it properly converts lines to CR/LF. This bash problem
22177 # is reportedly fixed, but why not run on old versions too?
22178 sed '$q' "$ltmain" >> "$cfgfile" \
22179 || (rm -f "$cfgfile"; exit 1)
22181 if test x"$xsi_shell" = xyes; then
22182 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22186 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22187 \ * ) func_dirname_result="${3}" ;;\
22189 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22190 && mv -f "$cfgfile.tmp" "$cfgfile" \
22191 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22192 test 0 -eq $? || _lt_function_replace_fail=:
22195 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22198 \ func_basename_result="${1##*/}"\
22199 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22200 && mv -f "$cfgfile.tmp" "$cfgfile" \
22201 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22202 test 0 -eq $? || _lt_function_replace_fail=:
22205 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22206 func_dirname_and_basename ()\
22209 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22210 \ * ) func_dirname_result="${3}" ;;\
22212 \ func_basename_result="${1##*/}"\
22213 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22214 && mv -f "$cfgfile.tmp" "$cfgfile" \
22215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22216 test 0 -eq $? || _lt_function_replace_fail=:
22219 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22222 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22223 \ # positional parameters, so assign one to ordinary parameter first.\
22224 \ func_stripname_result=${3}\
22225 \ func_stripname_result=${func_stripname_result#"${1}"}\
22226 \ func_stripname_result=${func_stripname_result%"${2}"}\
22227 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22228 && mv -f "$cfgfile.tmp" "$cfgfile" \
22229 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22230 test 0 -eq $? || _lt_function_replace_fail=:
22233 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22234 func_split_long_opt ()\
22236 \ func_split_long_opt_name=${1%%=*}\
22237 \ func_split_long_opt_arg=${1#*=}\
22238 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22239 && mv -f "$cfgfile.tmp" "$cfgfile" \
22240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22241 test 0 -eq $? || _lt_function_replace_fail=:
22244 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22245 func_split_short_opt ()\
22247 \ func_split_short_opt_arg=${1#??}\
22248 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22249 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22250 && mv -f "$cfgfile.tmp" "$cfgfile" \
22251 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22252 test 0 -eq $? || _lt_function_replace_fail=:
22255 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22259 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22260 \ *) func_lo2o_result=${1} ;;\
22262 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22263 && mv -f "$cfgfile.tmp" "$cfgfile" \
22264 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22265 test 0 -eq $? || _lt_function_replace_fail=:
22268 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22271 func_xform_result=${1%.*}.lo\
22272 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22273 && mv -f "$cfgfile.tmp" "$cfgfile" \
22274 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22275 test 0 -eq $? || _lt_function_replace_fail=:
22278 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22281 func_arith_result=$(( $* ))\
22282 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22283 && mv -f "$cfgfile.tmp" "$cfgfile" \
22284 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22285 test 0 -eq $? || _lt_function_replace_fail=:
22288 sed -e '/^func_len ()$/,/^} # func_len /c\
22291 func_len_result=${#1}\
22292 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22293 && mv -f "$cfgfile.tmp" "$cfgfile" \
22294 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22295 test 0 -eq $? || _lt_function_replace_fail=:
22299 if test x"$lt_shell_append" = xyes; then
22300 sed -e '/^func_append ()$/,/^} # func_append /c\
22303 eval "${1}+=\\${2}"\
22304 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22305 && mv -f "$cfgfile.tmp" "$cfgfile" \
22306 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22307 test 0 -eq $? || _lt_function_replace_fail=:
22310 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22311 func_append_quoted ()\
22313 \ func_quote_for_eval "${2}"\
22314 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22315 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22316 && mv -f "$cfgfile.tmp" "$cfgfile" \
22317 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22318 test 0 -eq $? || _lt_function_replace_fail=:
22321 # Save a `func_append' function call where possible by direct use of '+='
22322 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22323 && mv -f "$cfgfile.tmp" "$cfgfile" \
22324 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22325 test 0 -eq $? || _lt_function_replace_fail=:
22327 # Save a `func_append' function call even when '+=' is not available
22328 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22329 && mv -f "$cfgfile.tmp" "$cfgfile" \
22330 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22331 test 0 -eq $? || _lt_function_replace_fail=:
22334 if test x"$_lt_function_replace_fail" = x":"; then
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22336 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22340 mv -f "$cfgfile" "$ofile" ||
22341 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22345 cat <<_LT_EOF >> "$ofile"
22347 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22349 # The linker used to build libraries.
22352 # How to create reloadable object files.
22353 reload_flag=$lt_reload_flag_CXX
22354 reload_cmds=$lt_reload_cmds_CXX
22356 # Commands used to build an old-style archive.
22357 old_archive_cmds=$lt_old_archive_cmds_CXX
22359 # A language specific compiler.
22360 CC=$lt_compiler_CXX
22362 # Is the compiler the GNU compiler?
22365 # Compiler flag to turn off builtin functions.
22366 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22368 # Additional compiler flags for building library objects.
22369 pic_flag=$lt_lt_prog_compiler_pic_CXX
22371 # How to pass a linker flag through the compiler.
22372 wl=$lt_lt_prog_compiler_wl_CXX
22374 # Compiler flag to prevent dynamic linking.
22375 link_static_flag=$lt_lt_prog_compiler_static_CXX
22377 # Does compiler simultaneously support -c and -o options?
22378 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22380 # Whether or not to add -lc for building shared libraries.
22381 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22383 # Whether or not to disallow shared libs when runtime libs are static.
22384 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22386 # Compiler flag to allow reflexive dlopens.
22387 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22389 # Compiler flag to generate shared objects directly from archives.
22390 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22392 # Whether the compiler copes with passing no objects directly.
22393 compiler_needs_object=$lt_compiler_needs_object_CXX
22395 # Create an old-style archive from a shared archive.
22396 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22398 # Create a temporary old-style archive to link instead of a shared archive.
22399 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22401 # Commands used to build a shared archive.
22402 archive_cmds=$lt_archive_cmds_CXX
22403 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22405 # Commands used to build a loadable module if different from building
22406 # a shared archive.
22407 module_cmds=$lt_module_cmds_CXX
22408 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22410 # Whether we are building with GNU ld or not.
22411 with_gnu_ld=$lt_with_gnu_ld_CXX
22413 # Flag that allows shared libraries with undefined symbols to be built.
22414 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22416 # Flag that enforces no undefined symbols.
22417 no_undefined_flag=$lt_no_undefined_flag_CXX
22419 # Flag to hardcode \$libdir into a binary during linking.
22420 # This must work even if \$libdir does not exist
22421 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22423 # If ld is used when linking, flag to hardcode \$libdir into a binary
22424 # during linking. This must work even if \$libdir does not exist.
22425 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22427 # Whether we need a single "-rpath" flag with a separated argument.
22428 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22430 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22431 # DIR into the resulting binary.
22432 hardcode_direct=$hardcode_direct_CXX
22434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22435 # DIR into the resulting binary and the resulting library dependency is
22436 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22437 # library is relocated.
22438 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22440 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22441 # into the resulting binary.
22442 hardcode_minus_L=$hardcode_minus_L_CXX
22444 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22445 # into the resulting binary.
22446 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22448 # Set to "yes" if building a shared library automatically hardcodes DIR
22449 # into the library and all subsequent libraries and executables linked
22451 hardcode_automatic=$hardcode_automatic_CXX
22453 # Set to yes if linker adds runtime paths of dependent libraries
22454 # to runtime path list.
22455 inherit_rpath=$inherit_rpath_CXX
22457 # Whether libtool must link a program against all its dependency libraries.
22458 link_all_deplibs=$link_all_deplibs_CXX
22460 # Set to "yes" if exported symbols are required.
22461 always_export_symbols=$always_export_symbols_CXX
22463 # The commands to list exported symbols.
22464 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22466 # Symbols that should not be listed in the preloaded symbols.
22467 exclude_expsyms=$lt_exclude_expsyms_CXX
22469 # Symbols that must always be exported.
22470 include_expsyms=$lt_include_expsyms_CXX
22472 # Commands necessary for linking programs (against libraries) with templates.
22473 prelink_cmds=$lt_prelink_cmds_CXX
22475 # Commands necessary for finishing linking programs.
22476 postlink_cmds=$lt_postlink_cmds_CXX
22478 # Specify filename containing input files.
22479 file_list_spec=$lt_file_list_spec_CXX
22481 # How to hardcode a shared library path into an executable.
22482 hardcode_action=$hardcode_action_CXX
22484 # The directories searched by this compiler when creating a shared library.
22485 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22487 # Dependencies to place before and after the objects being linked to
22488 # create a shared library.
22489 predep_objects=$lt_predep_objects_CXX
22490 postdep_objects=$lt_postdep_objects_CXX
22491 predeps=$lt_predeps_CXX
22492 postdeps=$lt_postdeps_CXX
22494 # The library search path used internally by the compiler when linking
22495 # a shared library.
22496 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22498 # ### END LIBTOOL TAG CONFIG: CXX
22502 "$ax_create_pkgconfig_generate":C)
22503 pkgconfig_generate="$ax_create_pkgconfig_generate"
22504 if test ! -f "$pkgconfig_generate.in"
22505 then generate="true"
22506 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
22507 then generate="true"
22508 else generate="false";
22510 if $generate ; then
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
22512 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
22513 cat > $pkgconfig_generate.in <<AXEOF
22514 # generated by configure / remove this line to disable regeneration
22516 exec_prefix=@exec_prefix@
22519 datarootdir=@datarootdir@
22521 sysconfdir=@sysconfdir@
22522 includedir=@includedir@
22526 Name: @PACKAGE_NAME@
22527 Description: @PACKAGE_DESCRIPTION@
22528 Version: @PACKAGE_VERSION@
22529 Requires: @PACKAGE_REQUIRES@
22530 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
22531 Cflags: -I\${includedir} @CPPFLAGS@
22533 fi # DONE generate $pkgconfig_generate.in
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
22535 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
22536 cat >conftest.sed <<AXEOF
22537 s|@prefix@|${pkgconfig_prefix}|
22538 s|@exec_prefix@|${pkgconfig_execprefix}|
22539 s|@bindir@|${pkgconfig_bindir}|
22540 s|@libdir@|${pkgconfig_libdir}|
22541 s|@datarootdir@|${pkgconfig_datarootdir}|
22542 s|@datadir@|${pkgconfig_datadir}|
22543 s|@sysconfdir@|${pkgconfig_sysconfdir}|
22544 s|@includedir@|${pkgconfig_includedir}|
22545 s|@suffix@|${pkgconfig_suffix}|
22546 s|@PACKAGE@|${pkgconfig_package}|
22547 s|@PACKAGE_NAME@|${pkgconfig_libname}|
22548 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
22549 s|@PACKAGE_VERSION@|${pkgconfig_version}|
22550 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
22551 s|@LIBS@|${pkgconfig_libs}|
22552 s|@LDFLAGS@|${pkgconfig_ldflags}|
22553 s|@CPPFLAGS@|${pkgconfig_cppflags}|
22555 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
22556 if test ! -s $pkgconfig_generate ; then
22557 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
22558 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
22559 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
22561 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
22562 cat >conftest.sed <<AXEOF
22563 s|@prefix@|${pkgconfig_prefix}|
22564 s|@exec_prefix@|${pkgconfig_execprefix}|
22565 s|@bindir@|${pkgconfig_bindir}|
22566 s|@libdir@|${pkgconfig_src_libdir}|
22567 s|@datarootdir@|${pkgconfig_datarootdir}|
22568 s|@datadir@|${pkgconfig_datadir}|
22569 s|@sysconfdir@|${pkgconfig_sysconfdir}|
22570 s|@includedir@|${pkgconfig_src_headers}|
22571 s|@suffix@|${pkgconfig_suffix}|
22572 s|@PACKAGE@|${pkgconfig_package}|
22573 s|@PACKAGE_NAME@|${pkgconfig_libname}|
22574 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
22575 s|@PACKAGE_VERSION@|${pkgconfig_version}|
22576 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
22577 s|@LIBS@|${pkgconfig_libs}|
22578 s|@LDFLAGS@|${pkgconfig_ldflags}|
22579 s|@CPPFLAGS@|${pkgconfig_cppflags}|
22581 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
22582 if test ! -s $pkgconfig_uninstalled ; then
22583 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22584 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22585 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
22586 if test ".$pkgconfig_requires_add" != "." ; then
22587 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
22588 else pkgconfig_requires_add=":" ; fi
22589 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
22591 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
22592 cat >conftest.sed <<AXEOF
22593 s|@prefix@|\"${pkgconfig_prefix}\"|
22594 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
22595 s|@bindir@|\"${pkgconfig_bindir}\"|
22596 s|@libdir@|\"${pkgconfig_src_libdir}\"|
22597 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
22598 s|@datadir@|\"${pkgconfig_datadir}\"|
22599 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
22600 s|@includedir@|\"${pkgconfig_src_headers}\"|
22601 s|@suffix@|\"${pkgconfig_suffix}\"|
22602 s|@PACKAGE@|\"${pkgconfig_package}\"|
22603 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
22604 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
22605 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
22606 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
22607 s|@LIBS@|\"${pkgconfig_libs}\"|
22608 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
22609 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
22610 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
22611 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
22612 s>Version: *>\\;\\; --modversion|--version) echo >
22613 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
22614 s>Libs: *>\\;\\; --libs) echo >
22615 s>Cflags: *>\\;\\; --cflags) echo >
22617 $pkgconfig_requires_add
22619 $pkgconfig_requires_add\\
22620 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
22621 ;; --uninstalled) exit 0 \\
22624 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
22625 if test ! -s $pkgconfig_uninstalled ; then
22626 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22627 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22636 ac_clean_files=$ac_clean_files_save
22638 test $ac_write_fail = 0 ||
22639 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22642 # configure is writing to config.log, and then calls config.status.
22643 # config.status does its own redirection, appending to config.log.
22644 # Unfortunately, on DOS this fails, as config.log is still kept open
22645 # by configure, so config.status won't be able to write to it; its
22646 # output is simply discarded. So we exec the FD to /dev/null,
22647 # effectively closing config.log, so it can be properly (re)opened and
22648 # appended to by config.status. When coming back to configure, we
22649 # need to make the FD available again.
22650 if test "$no_create" != yes; then
22652 ac_config_status_args=
22653 test "$silent" = yes &&
22654 ac_config_status_args="$ac_config_status_args --quiet"
22656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22659 # would make configure fail if this is the last instruction.
22660 $ac_cs_success || as_fn_exit 1
22662 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22664 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}