2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for shibboleth 2.4.
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='shibboleth'
572 PACKAGE_TARNAME='shibboleth'
573 PACKAGE_VERSION='2.4'
574 PACKAGE_STRING='shibboleth 2.4'
575 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
578 ac_unique_file="shibsp"
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
643 BUILD_MEMCACHED_FALSE
774 INSTALL_STRIP_PROGRAM
816 program_transform_name
829 enable_option_checking
834 enable_dependency_tracking
877 ac_precious_vars='build_alias
899 # Initialize some variables set by options.
901 ac_init_version=false
902 ac_unrecognized_opts=
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
913 program_transform_name=s,x,x,
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir='${exec_prefix}/bin'
928 sbindir='${exec_prefix}/sbin'
929 libexecdir='${exec_prefix}/libexec'
930 datarootdir='${prefix}/share'
931 datadir='${datarootdir}'
932 sysconfdir='${prefix}/etc'
933 sharedstatedir='${prefix}/com'
934 localstatedir='${prefix}/var'
935 includedir='${prefix}/include'
936 oldincludedir='/usr/include'
937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir='${datarootdir}/info'
943 libdir='${exec_prefix}/lib'
944 localedir='${datarootdir}/locale'
945 mandir='${datarootdir}/man'
951 # If the previous option needs an argument, assign it.
952 if test -n "$ac_prev"; then
953 eval $ac_prev=\$ac_option
959 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir | --bindir | --bindi | --bind | --bin | --bi)
972 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
975 -build | --build | --buil | --bui | --bu)
976 ac_prev=build_alias ;;
977 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
978 build_alias=$ac_optarg ;;
980 -cache-file | --cache-file | --cache-fil | --cache-fi \
981 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
982 ac_prev=cache_file ;;
983 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
984 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
985 cache_file=$ac_optarg ;;
988 cache_file=config.cache ;;
990 -datadir | --datadir | --datadi | --datad)
992 -datadir=* | --datadir=* | --datadi=* | --datad=*)
993 datadir=$ac_optarg ;;
995 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996 | --dataroo | --dataro | --datar)
997 ac_prev=datarootdir ;;
998 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000 datarootdir=$ac_optarg ;;
1002 -disable-* | --disable-*)
1003 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error $? "invalid feature name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_$ac_useropt"
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1016 eval enable_$ac_useropt=no ;;
1018 -docdir | --docdir | --docdi | --doc | --do)
1020 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1021 docdir=$ac_optarg ;;
1023 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1025 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1026 dvidir=$ac_optarg ;;
1028 -enable-* | --enable-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid feature name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_$ac_useropt"
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1042 eval enable_$ac_useropt=\$ac_optarg ;;
1044 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1046 | --exec | --exe | --ex)
1047 ac_prev=exec_prefix ;;
1048 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1049 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1050 | --exec=* | --exe=* | --ex=*)
1051 exec_prefix=$ac_optarg ;;
1053 -gas | --gas | --ga | --g)
1054 # Obsolete; use --with-gas.
1057 -help | --help | --hel | --he | -h)
1058 ac_init_help=long ;;
1059 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1060 ac_init_help=recursive ;;
1061 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1062 ac_init_help=short ;;
1064 -host | --host | --hos | --ho)
1065 ac_prev=host_alias ;;
1066 -host=* | --host=* | --hos=* | --ho=*)
1067 host_alias=$ac_optarg ;;
1069 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1071 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1073 htmldir=$ac_optarg ;;
1075 -includedir | --includedir | --includedi | --included | --include \
1076 | --includ | --inclu | --incl | --inc)
1077 ac_prev=includedir ;;
1078 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1079 | --includ=* | --inclu=* | --incl=* | --inc=*)
1080 includedir=$ac_optarg ;;
1082 -infodir | --infodir | --infodi | --infod | --info | --inf)
1084 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1085 infodir=$ac_optarg ;;
1087 -libdir | --libdir | --libdi | --libd)
1089 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1090 libdir=$ac_optarg ;;
1092 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1093 | --libexe | --libex | --libe)
1094 ac_prev=libexecdir ;;
1095 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1096 | --libexe=* | --libex=* | --libe=*)
1097 libexecdir=$ac_optarg ;;
1099 -localedir | --localedir | --localedi | --localed | --locale)
1100 ac_prev=localedir ;;
1101 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102 localedir=$ac_optarg ;;
1104 -localstatedir | --localstatedir | --localstatedi | --localstated \
1105 | --localstate | --localstat | --localsta | --localst | --locals)
1106 ac_prev=localstatedir ;;
1107 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1109 localstatedir=$ac_optarg ;;
1111 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1113 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1114 mandir=$ac_optarg ;;
1116 -nfp | --nfp | --nf)
1117 # Obsolete; use --without-fp.
1120 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1121 | --no-cr | --no-c | -n)
1124 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1125 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1128 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1129 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1130 | --oldin | --oldi | --old | --ol | --o)
1131 ac_prev=oldincludedir ;;
1132 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1133 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1134 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1135 oldincludedir=$ac_optarg ;;
1137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1140 prefix=$ac_optarg ;;
1142 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1143 | --program-pre | --program-pr | --program-p)
1144 ac_prev=program_prefix ;;
1145 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1146 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1147 program_prefix=$ac_optarg ;;
1149 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1150 | --program-suf | --program-su | --program-s)
1151 ac_prev=program_suffix ;;
1152 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1153 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1154 program_suffix=$ac_optarg ;;
1156 -program-transform-name | --program-transform-name \
1157 | --program-transform-nam | --program-transform-na \
1158 | --program-transform-n | --program-transform- \
1159 | --program-transform | --program-transfor \
1160 | --program-transfo | --program-transf \
1161 | --program-trans | --program-tran \
1162 | --progr-tra | --program-tr | --program-t)
1163 ac_prev=program_transform_name ;;
1164 -program-transform-name=* | --program-transform-name=* \
1165 | --program-transform-nam=* | --program-transform-na=* \
1166 | --program-transform-n=* | --program-transform-=* \
1167 | --program-transform=* | --program-transfor=* \
1168 | --program-transfo=* | --program-transf=* \
1169 | --program-trans=* | --program-tran=* \
1170 | --progr-tra=* | --program-tr=* | --program-t=*)
1171 program_transform_name=$ac_optarg ;;
1173 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1175 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176 pdfdir=$ac_optarg ;;
1178 -psdir | --psdir | --psdi | --psd | --ps)
1180 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184 | -silent | --silent | --silen | --sile | --sil)
1187 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1189 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1191 sbindir=$ac_optarg ;;
1193 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1194 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1195 | --sharedst | --shareds | --shared | --share | --shar \
1197 ac_prev=sharedstatedir ;;
1198 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1199 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1200 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1202 sharedstatedir=$ac_optarg ;;
1204 -site | --site | --sit)
1206 -site=* | --site=* | --sit=*)
1209 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1211 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1212 srcdir=$ac_optarg ;;
1214 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1215 | --syscon | --sysco | --sysc | --sys | --sy)
1216 ac_prev=sysconfdir ;;
1217 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1218 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1219 sysconfdir=$ac_optarg ;;
1221 -target | --target | --targe | --targ | --tar | --ta | --t)
1222 ac_prev=target_alias ;;
1223 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1224 target_alias=$ac_optarg ;;
1226 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229 -version | --version | --versio | --versi | --vers | -V)
1230 ac_init_version=: ;;
1233 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236 as_fn_error $? "invalid package name: $ac_useropt"
1237 ac_useropt_orig=$ac_useropt
1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244 ac_unrecognized_sep=', ';;
1246 eval with_$ac_useropt=\$ac_optarg ;;
1248 -without-* | --without-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error $? "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1262 eval with_$ac_useropt=no ;;
1265 # Obsolete; use --with-x.
1268 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1269 | --x-incl | --x-inc | --x-in | --x-i)
1270 ac_prev=x_includes ;;
1271 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1272 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1273 x_includes=$ac_optarg ;;
1275 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1276 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1277 ac_prev=x_libraries ;;
1278 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1279 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1280 x_libraries=$ac_optarg ;;
1282 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information"
1287 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1288 # Reject names that are not valid shell variable names.
1289 case $ac_envvar in #(
1290 '' | [0-9]* | *[!_$as_cr_alnum]* )
1291 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1293 eval $ac_envvar=\$ac_optarg
1294 export $ac_envvar ;;
1297 # FIXME: should be removed in autoconf 3.0.
1298 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1307 if test -n "$ac_prev"; then
1308 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1309 as_fn_error $? "missing argument to $ac_option"
1312 if test -n "$ac_unrecognized_opts"; then
1313 case $enable_option_checking in
1315 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1316 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 # Check all directory arguments for consistency.
1321 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val=\$$ac_var
1327 # Remove trailing slashes.
1330 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331 eval $ac_var=\$ac_val;;
1333 # Be sure to have absolute directory names.
1335 [\\/$]* | ?:[\\/]* ) continue;;
1336 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1338 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1346 target=$target_alias
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x; then
1350 if test "x$build_alias" = x; then
1351 cross_compiling=maybe
1352 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1353 If a cross compiler is detected then cross compile mode will be used" >&2
1354 elif test "x$build_alias" != "x$host_alias"; then
1360 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1362 test "$silent" = yes && exec 6>/dev/null
1365 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1366 ac_ls_di=`ls -di .` &&
1367 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1368 as_fn_error $? "working directory cannot be determined"
1369 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370 as_fn_error $? "pwd does not report name of working directory"
1373 # Find the source files, if location was not specified.
1374 if test -z "$srcdir"; then
1375 ac_srcdir_defaulted=yes
1376 # Try the directory containing this script, then the parent directory.
1377 ac_confdir=`$as_dirname -- "$as_myself" ||
1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$as_myself" : 'X\(//\)[^/]' \| \
1380 X"$as_myself" : 'X\(//\)$' \| \
1381 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382 $as_echo X"$as_myself" |
1383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1405 ac_srcdir_defaulted=no
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1409 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1411 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1413 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1415 # When building in place, set srcdir=.
1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419 # Remove unnecessary trailing slashes from srcdir.
1420 # Double slashes in file names in object file debugging info
1421 # mess up M-x gdb in Emacs.
1423 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1425 for ac_var in $ac_precious_vars; do
1426 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1427 eval ac_env_${ac_var}_value=\$${ac_var}
1428 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1429 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 # Report the --help message.
1435 if test "$ac_init_help" = "long"; then
1436 # Omit some internal or obsolete options to make the list less imposing.
1437 # This message is too long to be a string in the A/UX 3.1 sh.
1439 \`configure' configures shibboleth 2.4 to adapt to many kinds of systems.
1441 Usage: $0 [OPTION]... [VAR=VALUE]...
1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444 VAR=VALUE. See below for descriptions of some of the useful variables.
1446 Defaults for the options are specified in brackets.
1449 -h, --help display this help and exit
1450 --help=short display options specific to this package
1451 --help=recursive display the short help of all the included packages
1452 -V, --version display version information and exit
1453 -q, --quiet, --silent do not print \`checking ...' messages
1454 --cache-file=FILE cache test results in FILE [disabled]
1455 -C, --config-cache alias for \`--cache-file=config.cache'
1456 -n, --no-create do not create output files
1457 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1459 Installation directories:
1460 --prefix=PREFIX install architecture-independent files in PREFIX
1461 [$ac_default_prefix]
1462 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1465 By default, \`make install' will install all the files in
1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468 for instance \`--prefix=\$HOME'.
1470 For better control, use the options below.
1472 Fine tuning of the installation directories:
1473 --bindir=DIR user executables [EPREFIX/bin]
1474 --sbindir=DIR system admin executables [EPREFIX/sbin]
1475 --libexecdir=DIR program executables [EPREFIX/libexec]
1476 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1477 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1478 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1479 --libdir=DIR object code libraries [EPREFIX/lib]
1480 --includedir=DIR C header files [PREFIX/include]
1481 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1482 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1483 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1484 --infodir=DIR info documentation [DATAROOTDIR/info]
1485 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1486 --mandir=DIR man documentation [DATAROOTDIR/man]
1487 --docdir=DIR documentation root [DATAROOTDIR/doc/shibboleth]
1488 --htmldir=DIR html documentation [DOCDIR]
1489 --dvidir=DIR dvi documentation [DOCDIR]
1490 --pdfdir=DIR pdf documentation [DOCDIR]
1491 --psdir=DIR ps documentation [DOCDIR]
1497 --program-prefix=PREFIX prepend PREFIX to installed program names
1498 --program-suffix=SUFFIX append SUFFIX to installed program names
1499 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1502 --build=BUILD configure for building on BUILD [guessed]
1503 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 if test -n "$ac_init_help"; then
1508 case $ac_init_help in
1509 short | recursive ) echo "Configuration of shibboleth 2.4:";;
1514 --disable-option-checking ignore unrecognized --enable/--with options
1515 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1516 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1517 --enable-static[=PKGS] build static libraries [default=no]
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-fast-install[=PKGS]
1520 optimize for fast installation [default=yes]
1521 --disable-dependency-tracking speeds up one-time build
1522 --enable-dependency-tracking do not reject slow dependency extractors
1523 --disable-libtool-lock avoid locking (might break parallel builds)
1524 --disable-doxygen-doc don't generate any doxygen documentation
1525 --disable-doxygen-dot don't generate graphics for doxygen documentation
1526 --enable-doxygen-man generate doxygen manual pages
1527 --enable-doxygen-rtf generate doxygen RTF documentation
1528 --enable-doxygen-xml generate doxygen XML documentation
1529 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1530 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1532 --disable-doxygen-html don't generate doxygen plain HTML documentation
1533 --enable-doxygen-ps generate doxygen PostScript documentation
1534 --enable-doxygen-pdf generate doxygen PDF documentation
1535 --enable-debug Have GCC compile with symbols (Default = no)
1536 --disable-adfs don't build the ADFS module
1537 --enable-apache-13 enable the Apache 1.3 module
1538 --enable-apache-20 enable the Apache 2.0 module
1539 --enable-apache-22 enable the Apache 2.2 module
1540 --disable-odbc disable the ODBC Storage Service
1543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1545 --with-pic try to use only PIC/non-PIC objects [default=use
1547 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1548 --with-sysroot=DIR Search for dependent libraries within DIR
1549 (or the compiler's sysroot if not specified).
1550 --with-openssl=PATH where openssl is installed
1551 --with-log4shib=PATH where log4shib-config is installed
1552 --with-log4cpp=PATH where log4cpp-config is installed
1553 --with-xerces=PATH where xerces-c is installed
1554 --with-xmltooling=PATH where xmltooling is installed
1555 --with-xmlsec=PATH where xmlsec is installed
1556 --with-saml=PATH where saml is installed
1557 --with-nsapi=DIR Build NSAPI module for Netscape/iPlanet/SunONE
1558 --with-fastcgi=DIR Build FastCGI support
1559 --with-memcached=DIR Build Memcached support
1560 --with-apxs=FILE Specifies where to find the Apache 1.3 apxs script.
1561 --with-apxs2=FILE Specifies where to find the Apache 2.0 apxs script.
1562 --with-apr=PATH where apr-config is installed
1563 --with-apu=PATH where apu-config is installed
1564 --with-apxs22=FILE Specifies where to find the Apache 2.2 apxs script.
1565 --with-apr1=PATH where apr-1-config is installed
1566 --with-apu1=PATH where apu-1-config is installed
1567 --with-odbc=PATH directory where odbc is installed
1568 --with-gssapi-includes=DIR
1569 Specify location of GSSAPI header
1570 --with-gssapi-libs=DIR Specify location of GSSAPI libs
1571 --with-gssapi=DIR Where to look for GSSAPI
1573 Some influential environment variables:
1574 CC C compiler command
1575 CFLAGS C compiler flags
1576 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1577 nonstandard directory <lib dir>
1578 LIBS libraries to pass to the linker, e.g. -l<library>
1579 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1580 you have headers in a nonstandard directory <include dir>
1583 a4wide (default), a4, letter, legal or executive
1584 CXX C++ compiler command
1585 CXXFLAGS C++ compiler flags
1586 CXXCPP C++ preprocessor
1588 Use these variables to override the choices made by `configure' or to help
1589 it to find libraries and programs with nonstandard names/locations.
1591 Report bugs to <https://bugs.internet2.edu/>.
1596 if test "$ac_init_help" = "recursive"; then
1597 # If there are subdirs, report their specific --help.
1598 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1599 test -d "$ac_dir" ||
1600 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1608 # A ".." for each directory in $ac_dir_suffix.
1609 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1610 case $ac_top_builddir_sub in
1611 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1615 ac_abs_top_builddir=$ac_pwd
1616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1617 # for backward compatibility:
1618 ac_top_builddir=$ac_top_build_prefix
1621 .) # We are building in place.
1623 ac_top_srcdir=$ac_top_builddir_sub
1624 ac_abs_top_srcdir=$ac_pwd ;;
1625 [\\/]* | ?:[\\/]* ) # Absolute name.
1626 ac_srcdir=$srcdir$ac_dir_suffix;
1627 ac_top_srcdir=$srcdir
1628 ac_abs_top_srcdir=$srcdir ;;
1630 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631 ac_top_srcdir=$ac_top_build_prefix$srcdir
1632 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1636 cd "$ac_dir" || { ac_status=$?; continue; }
1637 # Check for guested configure.
1638 if test -f "$ac_srcdir/configure.gnu"; then
1640 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1641 elif test -f "$ac_srcdir/configure"; then
1643 $SHELL "$ac_srcdir/configure" --help=recursive
1645 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1647 cd "$ac_pwd" || { ac_status=$?; break; }
1651 test -n "$ac_init_help" && exit $ac_status
1652 if $ac_init_version; then
1654 shibboleth configure 2.4
1655 generated by GNU Autoconf 2.68
1657 Copyright (C) 2010 Free Software Foundation, Inc.
1658 This configure script is free software; the Free Software Foundation
1659 gives unlimited permission to copy, distribute and modify it.
1664 ## ------------------------ ##
1665 ## Autoconf initialization. ##
1666 ## ------------------------ ##
1668 # ac_fn_c_try_compile LINENO
1669 # --------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_compile ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext
1675 if { { ac_try="$ac_compile"
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.$ac_objext; then :
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1704 } # ac_fn_c_try_compile
1706 # ac_fn_c_try_link LINENO
1707 # -----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 rm -f conftest.$ac_objext conftest$ac_exeext
1713 if { { ac_try="$ac_link"
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>conftest.err
1722 if test -s conftest.err; then
1723 grep -v '^ *+' conftest.err >conftest.er1
1724 cat conftest.er1 >&5
1725 mv -f conftest.er1 conftest.err
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && {
1729 test -z "$ac_c_werror_flag" ||
1730 test ! -s conftest.err
1731 } && test -s conftest$ac_exeext && {
1732 test "$cross_compiling" = yes ||
1733 $as_test_x conftest$ac_exeext
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1742 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744 # interfere with the next link command; also delete a directory that is
1745 # left behind by Apple's compiler. We do this before executing the actions.
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1750 } # ac_fn_c_try_link
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \${$3+:} false; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile "$LINENO"; then :
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_header_compile
1783 # ac_fn_c_try_cpp LINENO
1784 # ----------------------
1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { { ac_try="$ac_cpp conftest.$ac_ext"
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } > conftest.i && {
1805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status $ac_retval
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>&5
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838 { { case "(($ac_try" in
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_try") 2>&5
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; }; }; then :
1850 $as_echo "$as_me: program exited with status $ac_status" >&5
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=$ac_status
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 as_fn_set_status $ac_retval
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1877 #define $2 innocuous_$2
1879 /* System header to define __stub macros and hopefully few prototypes,
1880 which can conflict with char $2 (); below.
1881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1882 <limits.h> exists even on freestanding compilers. */
1885 # include <limits.h>
1887 # include <assert.h>
1892 /* Override any GCC internal prototype to avoid an error.
1893 Use char because int might match the return type of a GCC
1894 builtin and then its argument prototype would still apply. */
1899 /* The GNU C library defines this for functions which it implements
1900 to always fail with ENOSYS. Some functions are actually named
1901 something starting with __ and the normal name is an alias. */
1902 #if defined __stub_$2 || defined __stub___$2
1914 if ac_fn_c_try_link "$LINENO"; then :
1919 rm -f core conftest.err conftest.$ac_objext \
1920 conftest$ac_exeext conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 } # ac_fn_c_check_func
1929 # ac_fn_cxx_try_compile LINENO
1930 # ----------------------------
1931 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1932 ac_fn_cxx_try_compile ()
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 rm -f conftest.$ac_objext
1936 if { { ac_try="$ac_compile"
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943 (eval "$ac_compile") 2>conftest.err
1945 if test -s conftest.err; then
1946 grep -v '^ *+' conftest.err >conftest.er1
1947 cat conftest.er1 >&5
1948 mv -f conftest.er1 conftest.err
1950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 test $ac_status = 0; } && {
1952 test -z "$ac_cxx_werror_flag" ||
1953 test ! -s conftest.err
1954 } && test -s conftest.$ac_objext; then :
1957 $as_echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.$ac_ext >&5
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963 as_fn_set_status $ac_retval
1965 } # ac_fn_cxx_try_compile
1967 # ac_fn_cxx_try_cpp LINENO
1968 # ------------------------
1969 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1970 ac_fn_cxx_try_cpp ()
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 if { { ac_try="$ac_cpp conftest.$ac_ext"
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1982 if test -s conftest.err; then
1983 grep -v '^ *+' conftest.err >conftest.er1
1984 cat conftest.er1 >&5
1985 mv -f conftest.er1 conftest.err
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } > conftest.i && {
1989 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1990 test ! -s conftest.err
1994 $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 as_fn_set_status $ac_retval
2002 } # ac_fn_cxx_try_cpp
2004 # ac_fn_cxx_try_link LINENO
2005 # -------------------------
2006 # Try to link conftest.$ac_ext, and return whether this succeeded.
2007 ac_fn_cxx_try_link ()
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 rm -f conftest.$ac_objext conftest$ac_exeext
2011 if { { ac_try="$ac_link"
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018 (eval "$ac_link") 2>conftest.err
2020 if test -s conftest.err; then
2021 grep -v '^ *+' conftest.err >conftest.er1
2022 cat conftest.er1 >&5
2023 mv -f conftest.er1 conftest.err
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; } && {
2027 test -z "$ac_cxx_werror_flag" ||
2028 test ! -s conftest.err
2029 } && test -s conftest$ac_exeext && {
2030 test "$cross_compiling" = yes ||
2031 $as_test_x conftest$ac_exeext
2035 $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2040 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2041 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2042 # interfere with the next link command; also delete a directory that is
2043 # left behind by Apple's compiler. We do this before executing the actions.
2044 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 as_fn_set_status $ac_retval
2048 } # ac_fn_cxx_try_link
2050 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2051 # -------------------------------------------
2052 # Tests whether TYPE exists after having included INCLUDES, setting cache
2053 # variable VAR accordingly.
2054 ac_fn_c_check_type ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if eval \${$3+:} false; then :
2060 $as_echo_n "(cached) " >&6
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2088 if ac_fn_c_try_compile "$LINENO"; then :
2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2102 } # ac_fn_c_check_type
2104 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2105 # ---------------------------------------------
2106 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2108 ac_fn_c_check_decl ()
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 as_decl_name=`echo $2|sed 's/ *(.*//'`
2112 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2114 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 #ifndef $as_decl_name
2126 (void) $as_decl_use;
2128 (void) $as_decl_name;
2136 if ac_fn_c_try_compile "$LINENO"; then :
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2146 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2148 } # ac_fn_c_check_decl
2150 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2151 # -------------------------------------------------------
2152 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2153 # the include files in INCLUDES and setting the cache variable VAR
2155 ac_fn_c_check_header_mongrel ()
2157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158 if eval \${$3+:} false; then :
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160 $as_echo_n "checking for $2... " >&6; }
2161 if eval \${$3+:} false; then :
2162 $as_echo_n "(cached) " >&6
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2168 # Is the header compilable?
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2170 $as_echo_n "checking $2 usability... " >&6; }
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2176 if ac_fn_c_try_compile "$LINENO"; then :
2177 ac_header_compiler=yes
2179 ac_header_compiler=no
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2183 $as_echo "$ac_header_compiler" >&6; }
2185 # Is the header present?
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2187 $as_echo_n "checking $2 presence... " >&6; }
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2192 if ac_fn_c_try_cpp "$LINENO"; then :
2193 ac_header_preproc=yes
2195 ac_header_preproc=no
2197 rm -f conftest.err conftest.i conftest.$ac_ext
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2199 $as_echo "$ac_header_preproc" >&6; }
2201 # So? What about this header?
2202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2205 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2207 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2211 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2213 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2215 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2217 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2219 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2220 ( $as_echo "## ------------------------------------------ ##
2221 ## Report this to https://bugs.internet2.edu/ ##
2222 ## ------------------------------------------ ##"
2223 ) | sed "s/^/$as_me: WARNING: /" >&2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 eval "$3=\$ac_header_compiler"
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2235 $as_echo "$ac_res" >&6; }
2237 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 } # ac_fn_c_check_header_mongrel
2241 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2242 # ---------------------------------------------------------
2243 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2244 # the include files in INCLUDES and setting the cache variable VAR
2246 ac_fn_cxx_check_header_mongrel ()
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 if eval \${$3+:} false; then :
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2251 $as_echo_n "checking for $2... " >&6; }
2252 if eval \${$3+:} false; then :
2253 $as_echo_n "(cached) " >&6
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2257 $as_echo "$ac_res" >&6; }
2259 # Is the header compilable?
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2261 $as_echo_n "checking $2 usability... " >&6; }
2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2263 /* end confdefs.h. */
2267 if ac_fn_cxx_try_compile "$LINENO"; then :
2268 ac_header_compiler=yes
2270 ac_header_compiler=no
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2274 $as_echo "$ac_header_compiler" >&6; }
2276 # Is the header present?
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2278 $as_echo_n "checking $2 presence... " >&6; }
2279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2280 /* end confdefs.h. */
2283 if ac_fn_cxx_try_cpp "$LINENO"; then :
2284 ac_header_preproc=yes
2286 ac_header_preproc=no
2288 rm -f conftest.err conftest.i conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2290 $as_echo "$ac_header_preproc" >&6; }
2292 # So? What about this header?
2293 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2296 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2298 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2302 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2304 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2306 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2308 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2310 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2311 ( $as_echo "## ------------------------------------------ ##
2312 ## Report this to https://bugs.internet2.edu/ ##
2313 ## ------------------------------------------ ##"
2314 ) | sed "s/^/$as_me: WARNING: /" >&2
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2318 $as_echo_n "checking for $2... " >&6; }
2319 if eval \${$3+:} false; then :
2320 $as_echo_n "(cached) " >&6
2322 eval "$3=\$ac_header_compiler"
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2326 $as_echo "$ac_res" >&6; }
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 } # ac_fn_cxx_check_header_mongrel
2332 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2333 # ---------------------------------------------------------
2334 # Tests whether HEADER exists and can be compiled using the include files in
2335 # INCLUDES, setting the cache variable VAR accordingly.
2336 ac_fn_cxx_check_header_compile ()
2338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2340 $as_echo_n "checking for $2... " >&6; }
2341 if eval \${$3+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 /* end confdefs.h. */
2349 if ac_fn_cxx_try_compile "$LINENO"; then :
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2358 $as_echo "$ac_res" >&6; }
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361 } # ac_fn_cxx_check_header_compile
2362 cat >config.log <<_ACEOF
2363 This file contains any messages produced by compilers while
2364 running configure, to aid debugging if configure makes a mistake.
2366 It was created by shibboleth $as_me 2.4, which was
2367 generated by GNU Autoconf 2.68. Invocation command line was
2379 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2380 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2381 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2382 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2383 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2385 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2386 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2388 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2389 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2390 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2391 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2392 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2393 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2394 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir=.
2403 $as_echo "PATH: $as_dir"
2419 # Keep a trace of the command line.
2420 # Strip out --no-create and --no-recursion so they do not pile up.
2421 # Strip out --silent because we don't want to record it for future runs.
2422 # Also quote any args containing shell meta-characters.
2423 # Make two passes to allow for proper duplicate-argument suppression.
2427 ac_must_keep_next=false
2433 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2434 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2435 | -silent | --silent | --silen | --sile | --sil)
2438 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2441 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2443 as_fn_append ac_configure_args1 " '$ac_arg'"
2444 if test $ac_must_keep_next = true; then
2445 ac_must_keep_next=false # Got value, back to normal.
2448 *=* | --config-cache | -C | -disable-* | --disable-* \
2449 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2450 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2451 | -with-* | --with-* | -without-* | --without-* | --x)
2452 case "$ac_configure_args0 " in
2453 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2456 -* ) ac_must_keep_next=true ;;
2459 as_fn_append ac_configure_args " '$ac_arg'"
2464 { ac_configure_args0=; unset ac_configure_args0;}
2465 { ac_configure_args1=; unset ac_configure_args1;}
2467 # When interrupted or exit'd, cleanup temporary files, and complete
2468 # config.log. We remove comments because anyway the quotes in there
2469 # would cause problems or look ugly.
2470 # WARNING: Use '\'' to represent an apostrophe within the trap.
2471 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2472 trap 'exit_status=$?
2473 # Save into config.log some information that might help in debugging.
2477 $as_echo "## ---------------- ##
2478 ## Cache variables. ##
2479 ## ---------------- ##"
2481 # The following way of writing the cache mishandles newlines in values,
2483 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2484 eval ac_val=\$$ac_var
2488 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2489 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2492 _ | IFS | as_nl) ;; #(
2493 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2494 *) { eval $ac_var=; unset $ac_var;} ;;
2499 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2500 *${as_nl}ac_space=\ *)
2502 "s/'\''/'\''\\\\'\'''\''/g;
2503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2513 $as_echo "## ----------------- ##
2514 ## Output variables. ##
2515 ## ----------------- ##"
2517 for ac_var in $ac_subst_vars
2519 eval ac_val=\$$ac_var
2521 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2523 $as_echo "$ac_var='\''$ac_val'\''"
2527 if test -n "$ac_subst_files"; then
2528 $as_echo "## ------------------- ##
2529 ## File substitutions. ##
2530 ## ------------------- ##"
2532 for ac_var in $ac_subst_files
2534 eval ac_val=\$$ac_var
2536 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2538 $as_echo "$ac_var='\''$ac_val'\''"
2543 if test -s confdefs.h; then
2544 $as_echo "## ----------- ##
2551 test "$ac_signal" != 0 &&
2552 $as_echo "$as_me: caught signal $ac_signal"
2553 $as_echo "$as_me: exit $exit_status"
2555 rm -f core *.core core.conftest.* &&
2556 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2559 for ac_signal in 1 2 13 15; do
2560 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2564 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2565 rm -f -r conftest* confdefs.h
2567 $as_echo "/* confdefs.h */" > confdefs.h
2569 # Predefined preprocessor variables.
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_NAME "$PACKAGE_NAME"
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2583 cat >>confdefs.h <<_ACEOF
2584 #define PACKAGE_STRING "$PACKAGE_STRING"
2587 cat >>confdefs.h <<_ACEOF
2588 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2591 cat >>confdefs.h <<_ACEOF
2592 #define PACKAGE_URL "$PACKAGE_URL"
2596 # Let the site file select an alternate cache file if it wants to.
2597 # Prefer an explicitly selected file to automatically selected ones.
2600 if test -n "$CONFIG_SITE"; then
2601 # We do not want a PATH search for config.site.
2602 case $CONFIG_SITE in #((
2603 -*) ac_site_file1=./$CONFIG_SITE;;
2604 */*) ac_site_file1=$CONFIG_SITE;;
2605 *) ac_site_file1=./$CONFIG_SITE;;
2607 elif test "x$prefix" != xNONE; then
2608 ac_site_file1=$prefix/share/config.site
2609 ac_site_file2=$prefix/etc/config.site
2611 ac_site_file1=$ac_default_prefix/share/config.site
2612 ac_site_file2=$ac_default_prefix/etc/config.site
2614 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2616 test "x$ac_site_file" = xNONE && continue
2617 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2619 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2620 sed 's/^/| /' "$ac_site_file" >&5
2622 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error $? "failed to load site script $ac_site_file
2625 See \`config.log' for more details" "$LINENO" 5; }
2629 if test -r "$cache_file"; then
2630 # Some versions of bash will fail to source /dev/null (special files
2631 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2632 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2634 $as_echo "$as_me: loading cache $cache_file" >&6;}
2636 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2637 *) . "./$cache_file";;
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2642 $as_echo "$as_me: creating cache $cache_file" >&6;}
2646 # Check that the precious variables saved in the cache have kept the same
2648 ac_cache_corrupted=false
2649 for ac_var in $ac_precious_vars; do
2650 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2651 eval ac_new_set=\$ac_env_${ac_var}_set
2652 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2653 eval ac_new_val=\$ac_env_${ac_var}_value
2654 case $ac_old_set,$ac_new_set in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2657 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2658 ac_cache_corrupted=: ;;
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2661 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2662 ac_cache_corrupted=: ;;
2665 if test "x$ac_old_val" != "x$ac_new_val"; then
2666 # differences in whitespace do not lead to failure.
2667 ac_old_val_w=`echo x $ac_old_val`
2668 ac_new_val_w=`echo x $ac_new_val`
2669 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2672 ac_cache_corrupted=:
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2676 eval $ac_var=\$ac_old_val
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2679 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2681 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2684 # Pass precious variables to config.status.
2685 if test "$ac_new_set" = set; then
2687 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2688 *) ac_arg=$ac_var=$ac_new_val ;;
2690 case " $ac_configure_args " in
2691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2692 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2696 if $ac_cache_corrupted; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2701 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2703 ## -------------------- ##
2704 ## Main body of script. ##
2705 ## -------------------- ##
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 for ac_dir in build-aux "$srcdir"/build-aux; do
2717 if test -f "$ac_dir/install-sh"; then
2719 ac_install_sh="$ac_aux_dir/install-sh -c"
2721 elif test -f "$ac_dir/install.sh"; then
2723 ac_install_sh="$ac_aux_dir/install.sh -c"
2725 elif test -f "$ac_dir/shtool"; then
2727 ac_install_sh="$ac_aux_dir/shtool install -c"
2731 if test -z "$ac_aux_dir"; then
2732 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2735 # These three variables are undocumented and unsupported,
2736 # and are intended to be withdrawn in a future Autoconf release.
2737 # They can cause serious problems if a builder's source tree is in a directory
2738 # whose full name contains unusual characters.
2739 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2740 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2741 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2745 am__api_version='1.11'
2747 # Find a good install program. We prefer a C program (faster),
2748 # so one script is as good as another. But avoid the broken or
2749 # incompatible versions:
2750 # SysV /etc/install, /usr/sbin/install
2751 # SunOS /usr/etc/install
2752 # IRIX /sbin/install
2754 # AmigaOS /C/install, which installs bootblocks on floppy discs
2755 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2756 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2757 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2758 # OS/2's system install, which has a completely different semantic
2759 # ./install, which can be erroneously created by make from ./install.sh.
2760 # Reject install programs that cannot install multiple files.
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2762 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2763 if test -z "$INSTALL"; then
2764 if ${ac_cv_path_install+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 # Account for people who put trailing slashes in PATH elements.
2773 case $as_dir/ in #((
2774 ./ | .// | /[cC]/* | \
2775 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2776 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2779 # OSF1 and SCO ODT 3.0 have their own names for install.
2780 # Don't use installbsd from OSF since it installs stuff as root
2782 for ac_prog in ginstall scoinst install; do
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2785 if test $ac_prog = install &&
2786 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2787 # AIX install. It has an incompatible calling convention.
2789 elif test $ac_prog = install &&
2790 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2791 # program-specific install script used by HP pwplus--don't use.
2794 rm -rf conftest.one conftest.two conftest.dir
2795 echo one > conftest.one
2796 echo two > conftest.two
2798 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2799 test -s conftest.one && test -s conftest.two &&
2800 test -s conftest.dir/conftest.one &&
2801 test -s conftest.dir/conftest.two
2803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2816 rm -rf conftest.one conftest.two conftest.dir
2819 if test "${ac_cv_path_install+set}" = set; then
2820 INSTALL=$ac_cv_path_install
2822 # As a last resort, use the slow shell script. Don't cache a
2823 # value for INSTALL within a source directory, because that will
2824 # break other packages using the cache if that directory is
2825 # removed, or if the value is a relative name.
2826 INSTALL=$ac_install_sh
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2830 $as_echo "$INSTALL" >&6; }
2832 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2833 # It thinks the first close brace ends the variable substitution.
2834 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2836 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2838 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2841 $as_echo_n "checking whether build environment is sane... " >&6; }
2844 echo timestamp > conftest.file
2845 # Reject unsafe characters in $srcdir or the absolute working directory
2846 # name. Accept space and tab only in the latter.
2850 *[\\\"\#\$\&\'\`$am_lf]*)
2851 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2854 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2855 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2858 # Do `set' in a subshell so we don't clobber the current shell's
2859 # arguments. Must try -L first in case configure is actually a
2860 # symlink; some systems play weird games with the mod time of symlinks
2861 # (eg FreeBSD returns the mod time of the symlink's containing
2864 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2865 if test "$*" = "X"; then
2867 set X `ls -t "$srcdir/configure" conftest.file`
2870 if test "$*" != "X $srcdir/configure conftest.file" \
2871 && test "$*" != "X conftest.file $srcdir/configure"; then
2873 # If neither matched, then we have a broken ls. This can happen
2874 # if, for instance, CONFIG_SHELL is bash and it inherits a
2875 # broken ls alias from the environment. This has actually
2876 # happened. Such a system could not be considered "sane".
2877 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2878 alias in your environment" "$LINENO" 5
2881 test "$2" = conftest.file
2887 as_fn_error $? "newly created file is older than distributed files!
2888 Check your system clock" "$LINENO" 5
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
2892 test "$program_prefix" != NONE &&
2893 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2894 # Use a double $ so make ignores it.
2895 test "$program_suffix" != NONE &&
2896 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2897 # Double any \ or $.
2898 # By default was `s,x,x', remove it if useless.
2899 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2900 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2902 # expand $ac_aux_dir to an absolute path
2903 am_aux_dir=`cd $ac_aux_dir && pwd`
2905 if test x"${MISSING+set}" != xset; then
2908 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2910 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2913 # Use eval to expand $SHELL
2914 if eval "$MISSING --run true"; then
2915 am_missing_run="$MISSING --run "
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2919 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2922 if test x"${install_sh}" != xset; then
2925 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2927 install_sh="\${SHELL} $am_aux_dir/install-sh"
2931 # Installed binaries are usually stripped using `strip' when the user
2932 # run `make install-strip'. However `strip' might not be the right
2933 # tool to use in cross-compilation environments, therefore Automake
2934 # will honor the `STRIP' environment variable to overrule this program.
2935 if test "$cross_compiling" != no; then
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}strip; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_STRIP+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$STRIP"; then
2945 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2954 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 STRIP=$ac_cv_prog_STRIP
2965 if test -n "$STRIP"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2967 $as_echo "$STRIP" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$ac_cv_prog_STRIP"; then
2977 # Extract the first word of "strip", so it can be a program name with args.
2978 set dummy strip; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$ac_ct_STRIP"; then
2985 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994 ac_cv_prog_ac_ct_STRIP="strip"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3005 if test -n "$ac_ct_STRIP"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3007 $as_echo "$ac_ct_STRIP" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3013 if test "x$ac_ct_STRIP" = x; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned=yes ;;
3025 STRIP="$ac_cv_prog_STRIP"
3029 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3032 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3033 if test -z "$MKDIR_P"; then
3034 if ${ac_cv_path_mkdir+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3041 test -z "$as_dir" && as_dir=.
3042 for ac_prog in mkdir gmkdir; do
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3045 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3046 'mkdir (GNU coreutils) '* | \
3047 'mkdir (coreutils) '* | \
3048 'mkdir (fileutils) '4.1*)
3049 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3059 test -d ./--version && rmdir ./--version
3060 if test "${ac_cv_path_mkdir+set}" = set; then
3061 MKDIR_P="$ac_cv_path_mkdir -p"
3063 # As a last resort, use the slow shell script. Don't cache a
3064 # value for MKDIR_P within a source directory, because that will
3065 # break other packages using the cache if that directory is
3066 # removed, or if the value is a relative name.
3067 MKDIR_P="$ac_install_sh -d"
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3071 $as_echo "$MKDIR_P" >&6; }
3075 [\\/$]* | ?:[\\/]*) ;;
3076 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3079 for ac_prog in gawk mawk nawk awk
3081 # Extract the first word of "$ac_prog", so it can be a program name with args.
3082 set dummy $ac_prog; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_AWK+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$AWK"; then
3089 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098 ac_cv_prog_AWK="$ac_prog"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$AWK"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3111 $as_echo "$AWK" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3118 test -n "$AWK" && break
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3122 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3124 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3125 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 cat >conftest.make <<\_ACEOF
3131 @echo '@@@%%%=$(MAKE)=@@@%%%'
3133 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3134 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3136 eval ac_cv_prog_make_${ac_make}_set=yes;;
3138 eval ac_cv_prog_make_${ac_make}_set=no;;
3142 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3144 $as_echo "yes" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3149 SET_MAKE="MAKE=${MAKE-make}"
3152 rm -rf .tst 2>/dev/null
3153 mkdir .tst 2>/dev/null
3154 if test -d .tst; then
3159 rmdir .tst 2>/dev/null
3161 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3162 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3163 # is not polluted with repeated "-I."
3164 am__isrc=' -I$(srcdir)'
3165 # test to see if srcdir already configured
3166 if test -f $srcdir/config.status; then
3167 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3171 # test whether we have cygpath
3172 if test -z "$CYGPATH_W"; then
3173 if (cygpath --version) >/dev/null 2>/dev/null; then
3174 CYGPATH_W='cygpath -w'
3181 # Define the identity of the package.
3182 PACKAGE='shibboleth'
3186 cat >>confdefs.h <<_ACEOF
3187 #define PACKAGE "$PACKAGE"
3191 cat >>confdefs.h <<_ACEOF
3192 #define VERSION "$VERSION"
3195 # Some tools Automake needs.
3197 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3200 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3203 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3206 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3209 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3211 # We need awk for the "check" target. The system "awk" is bad on
3213 # Always define AMTAR for backward compatibility.
3215 AMTAR=${AMTAR-"${am_missing_run}tar"}
3217 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3223 # Check whether --enable-static was given.
3224 if test "${enable_static+set}" = set; then :
3225 enableval=$enable_static; p=${PACKAGE-default}
3227 yes) enable_static=yes ;;
3228 no) enable_static=no ;;
3231 # Look at the argument we got. We use all the common list separators.
3232 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3233 for pkg in $enableval; do
3235 if test "X$pkg" = "X$p"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3257 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3263 macro_revision='1.3293'
3277 ltmain="$ac_aux_dir/ltmain.sh"
3279 # Make sure we can run config.sub.
3280 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3281 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3284 $as_echo_n "checking build system type... " >&6; }
3285 if ${ac_cv_build+:} false; then :
3286 $as_echo_n "(cached) " >&6
3288 ac_build_alias=$build_alias
3289 test "x$ac_build_alias" = x &&
3290 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3291 test "x$ac_build_alias" = x &&
3292 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3293 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3294 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3298 $as_echo "$ac_cv_build" >&6; }
3299 case $ac_cv_build in
3301 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3304 ac_save_IFS=$IFS; IFS='-'
3310 # Remember, the first character of IFS is used to create $*,
3311 # except with old shells:
3314 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3318 $as_echo_n "checking host system type... " >&6; }
3319 if ${ac_cv_host+:} false; then :
3320 $as_echo_n "(cached) " >&6
3322 if test "x$host_alias" = x; then
3323 ac_cv_host=$ac_cv_build
3325 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3326 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3331 $as_echo "$ac_cv_host" >&6; }
3334 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3337 ac_save_IFS=$IFS; IFS='-'
3343 # Remember, the first character of IFS is used to create $*,
3344 # except with old shells:
3347 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3350 # Backslashify metacharacters that are still active within
3351 # double-quoted strings.
3352 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3354 # Same as above, but do not quote variable references.
3355 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3357 # Sed substitution to delay expansion of an escaped shell variable in a
3358 # double_quote_subst'ed string.
3359 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3361 # Sed substitution to delay expansion of an escaped single quote.
3362 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3364 # Sed substitution to avoid accidental globbing in evaled expressions
3365 no_glob_subst='s/\*/\\\*/g'
3367 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3368 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3369 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3372 $as_echo_n "checking how to print strings... " >&6; }
3373 # Test print first, because it will be a builtin if present.
3374 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3375 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3377 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3380 # Use this function as a fallback that always works.
3381 func_fallback_echo ()
3383 eval 'cat <<_LTECHO_EOF
3387 ECHO='func_fallback_echo'
3390 # func_echo_all arg...
3391 # Invoke $ECHO with all args, space-separated.
3398 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3399 $as_echo "printf" >&6; } ;;
3400 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3401 $as_echo "print -r" >&6; } ;;
3402 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3403 $as_echo "cat" >&6; } ;;
3419 DEPDIR="${am__leading_dot}deps"
3421 ac_config_commands="$ac_config_commands depfiles"
3424 am_make=${MAKE-make}
3425 cat > confinc << 'END'
3427 @echo this is the am__doit target
3430 # If we don't find an include directive, just comment out the code.
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3432 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3436 # First try GNU make style include.
3437 echo "include confinc" > confmf
3438 # Ignore all kinds of additional output from `make'.
3439 case `$am_make -s -f confmf 2> /dev/null` in #(
3440 *the\ am__doit\ target*)
3446 # Now try BSD make style include.
3447 if test "$am__include" = "#"; then
3448 echo '.include "confinc"' > confmf
3449 case `$am_make -s -f confmf 2> /dev/null` in #(
3450 *the\ am__doit\ target*)
3451 am__include=.include
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3460 $as_echo "$_am_result" >&6; }
3461 rm -f confinc confmf
3463 # Check whether --enable-dependency-tracking was given.
3464 if test "${enable_dependency_tracking+set}" = set; then :
3465 enableval=$enable_dependency_tracking;
3468 if test "x$enable_dependency_tracking" != xno; then
3469 am_depcomp="$ac_aux_dir/depcomp"
3472 if test "x$enable_dependency_tracking" != xno; then
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 if test -n "$ac_tool_prefix"; then
3487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3488 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_CC+:} false; then :
3492 $as_echo_n "(cached) " >&6
3494 if test -n "$CC"; then
3495 ac_cv_prog_CC="$CC" # Let the user override the test.
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 if test -n "$CC"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3525 if test -z "$ac_cv_prog_CC"; then
3527 # Extract the first word of "gcc", so it can be a program name with args.
3528 set dummy gcc; ac_word=$2
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3532 $as_echo_n "(cached) " >&6
3534 if test -n "$ac_ct_CC"; then
3535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir=.
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3544 ac_cv_prog_ac_ct_CC="gcc"
3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3555 if test -n "$ac_ct_CC"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3557 $as_echo "$ac_ct_CC" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3563 if test "x$ac_ct_CC" = x; then
3566 case $cross_compiling:$ac_tool_warned in
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3570 ac_tool_warned=yes ;;
3578 if test -z "$CC"; then
3579 if test -n "$ac_tool_prefix"; then
3580 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3581 set dummy ${ac_tool_prefix}cc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$CC"; then
3588 ac_cv_prog_CC="$CC" # Let the user override the test.
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_CC="${ac_tool_prefix}cc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 if test -n "$CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3619 if test -z "$CC"; then
3620 # Extract the first word of "cc", so it can be a program name with args.
3621 set dummy cc; 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.
3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 test -z "$as_dir" && as_dir=.
3636 for ac_exec_ext in '' $ac_executable_extensions; do
3637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3638 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3639 ac_prog_rejected=yes
3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 if test $ac_prog_rejected = yes; then
3651 # We found a bogon in the path, so make sure we never use it.
3652 set dummy $ac_cv_prog_CC
3654 if test $# != 0; then
3655 # We chose a different compiler from the bogus one.
3656 # However, it has the same basename, so the bogon will be chosen
3657 # first if we set CC to just the basename; use the full file name.
3659 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 if test -n "$ac_tool_prefix"; then
3677 for ac_prog in cl.exe
3679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC="$CC" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3716 test -n "$CC" && break
3719 if test -z "$CC"; then
3721 for ac_prog in cl.exe
3723 # Extract the first word of "$ac_prog", so it can be a program name with args.
3724 set dummy $ac_prog; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3728 $as_echo_n "(cached) " >&6
3730 if test -n "$ac_ct_CC"; then
3731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740 ac_cv_prog_ac_ct_CC="$ac_prog"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3751 if test -n "$ac_ct_CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3753 $as_echo "$ac_ct_CC" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3760 test -n "$ac_ct_CC" && break
3763 if test "x$ac_ct_CC" = x; then
3766 case $cross_compiling:$ac_tool_warned in
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770 ac_tool_warned=yes ;;
3779 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error $? "no acceptable C compiler found in \$PATH
3782 See \`config.log' for more details" "$LINENO" 5; }
3784 # Provide some information about the compiler.
3785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3788 for ac_option in --version -v -V -qversion; do
3789 { { ac_try="$ac_compiler $ac_option >&5"
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795 $as_echo "$ac_try_echo"; } >&5
3796 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3798 if test -s conftest.err; then
3800 ... rest of stderr output deleted ...
3801 10q' conftest.err >conftest.er1
3802 cat conftest.er1 >&5
3804 rm -f conftest.er1 conftest.err
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; }
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 ac_clean_files_save=$ac_clean_files
3821 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3822 # Try to create an executable without -o first, disregard a.out.
3823 # It will help us diagnose broken compilers, and finding out an intuition
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3826 $as_echo_n "checking whether the C compiler works... " >&6; }
3827 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3829 # The possible output files:
3830 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3833 for ac_file in $ac_files
3836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3837 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3842 if { { ac_try="$ac_link_default"
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_link_default") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; then :
3853 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3854 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3855 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3856 # so that the user can short-circuit this test for compilers unknown to
3858 for ac_file in $ac_files ''
3860 test -f "$ac_file" || continue
3862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3865 # We found the default executable, but exeext='' is most
3869 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3871 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3873 # We set ac_cv_exeext here because the later test for it is not
3874 # safe: cross compilers may not add the suffix if given an `-o'
3875 # argument, so we may need to know it at that point already.
3876 # Even if this section looks crufty: it has the advantage of
3883 test "$ac_cv_exeext" = no && ac_cv_exeext=
3888 if test -z "$ac_file"; then :
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3891 $as_echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error 77 "C compiler cannot create executables
3897 See \`config.log' for more details" "$LINENO" 5; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3900 $as_echo "yes" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3903 $as_echo_n "checking for C compiler default output file name... " >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3905 $as_echo "$ac_file" >&6; }
3906 ac_exeext=$ac_cv_exeext
3908 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3909 ac_clean_files=$ac_clean_files_save
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3911 $as_echo_n "checking for suffix of executables... " >&6; }
3912 if { { ac_try="$ac_link"
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919 (eval "$ac_link") 2>&5
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; then :
3923 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3924 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3925 # work properly (i.e., refer to `conftest.exe'), while it won't with
3927 for ac_file in conftest.exe conftest conftest.*; do
3928 test -f "$ac_file" || continue
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3931 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3940 See \`config.log' for more details" "$LINENO" 5; }
3942 rm -f conftest conftest$ac_cv_exeext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3944 $as_echo "$ac_cv_exeext" >&6; }
3946 rm -f conftest.$ac_ext
3947 EXEEXT=$ac_cv_exeext
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3955 FILE *f = fopen ("conftest.out", "w");
3956 return ferror (f) || fclose (f) != 0;
3962 ac_clean_files="$ac_clean_files conftest.out"
3963 # Check that the compiler produces executables we can run. If not, either
3964 # the compiler is broken, or we cross compile.
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3966 $as_echo_n "checking whether we are cross compiling... " >&6; }
3967 if test "$cross_compiling" != yes; then
3968 { { ac_try="$ac_link"
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_link") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; }
3979 if { ac_try='./conftest$ac_cv_exeext'
3980 { { case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986 (eval "$ac_try") 2>&5
3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989 test $ac_status = 0; }; }; then
3992 if test "$cross_compiling" = maybe; then
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 as_fn_error $? "cannot run C compiled programs.
3998 If you meant to cross compile, use \`--host'.
3999 See \`config.log' for more details" "$LINENO" 5; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4004 $as_echo "$cross_compiling" >&6; }
4006 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4007 ac_clean_files=$ac_clean_files_save
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4009 $as_echo_n "checking for suffix of object files... " >&6; }
4010 if ${ac_cv_objext+:} false; then :
4011 $as_echo_n "(cached) " >&6
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4024 rm -f conftest.o conftest.obj
4025 if { { ac_try="$ac_compile"
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_compile") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; then :
4036 for ac_file in conftest.o conftest.obj conftest.*; do
4037 test -f "$ac_file" || continue;
4039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4045 $as_echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $? "cannot compute suffix of object files: cannot compile
4051 See \`config.log' for more details" "$LINENO" 5; }
4053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4056 $as_echo "$ac_cv_objext" >&6; }
4057 OBJEXT=$ac_cv_objext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4061 if ${ac_cv_c_compiler_gnu+:} false; then :
4062 $as_echo_n "(cached) " >&6
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4078 if ac_fn_c_try_compile "$LINENO"; then :
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4089 if test $ac_compiler_gnu = yes; then
4094 ac_test_CFLAGS=${CFLAGS+set}
4095 ac_save_CFLAGS=$CFLAGS
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4098 if ${ac_cv_prog_cc_g+:} false; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_save_c_werror_flag=$ac_c_werror_flag
4102 ac_c_werror_flag=yes
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4116 if ac_fn_c_try_compile "$LINENO"; then :
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_c_werror_flag=$ac_save_c_werror_flag
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4147 if ac_fn_c_try_compile "$LINENO"; then :
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_c_werror_flag=$ac_save_c_werror_flag
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4158 $as_echo "$ac_cv_prog_cc_g" >&6; }
4159 if test "$ac_test_CFLAGS" = set; then
4160 CFLAGS=$ac_save_CFLAGS
4161 elif test $ac_cv_prog_cc_g = yes; then
4162 if test "$GCC" = yes; then
4168 if test "$GCC" = yes; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4176 if ${ac_cv_prog_cc_c89+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 ac_cv_prog_cc_c89=no
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4185 #include <sys/types.h>
4186 #include <sys/stat.h>
4187 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4188 struct buf { int x; };
4189 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4190 static char *e (p, i)
4196 static char *f (char * (*g) (char **, int), char **p, ...)
4201 s = g (p, va_arg (v,int));
4206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4207 function prototypes and stuff, but not '\xHH' hex character constants.
4208 These don't provoke an error unfortunately, instead are silently treated
4209 as 'x'. The following induces an error, until -std is added to get
4210 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4211 array size at least. It's necessary to write '\x00'==0 to get something
4212 that's true only with -std. */
4213 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4216 inside strings and character constants. */
4218 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4220 int test (int i, double x);
4221 struct s1 {int (*f) (int a);};
4222 struct s2 {int (*f) (double a);};
4223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4235 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4237 CC="$ac_save_CC $ac_arg"
4238 if ac_fn_c_try_compile "$LINENO"; then :
4239 ac_cv_prog_cc_c89=$ac_arg
4241 rm -f core conftest.err conftest.$ac_objext
4242 test "x$ac_cv_prog_cc_c89" != "xno" && break
4244 rm -f conftest.$ac_ext
4249 case "x$ac_cv_prog_cc_c89" in
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4252 $as_echo "none needed" >&6; } ;;
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4255 $as_echo "unsupported" >&6; } ;;
4257 CC="$CC $ac_cv_prog_cc_c89"
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4259 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4261 if test "x$ac_cv_prog_cc_c89" != xno; then :
4266 ac_cpp='$CPP $CPPFLAGS'
4267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4271 depcc="$CC" am_compiler_list=
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4274 $as_echo_n "checking dependency style of $depcc... " >&6; }
4275 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4279 # We make a subdir and do the tests there. Otherwise we can end up
4280 # making bogus files that we don't know about and never remove. For
4281 # instance it was reported that on HP-UX the gcc test will end up
4282 # making a dummy file named `D' -- because `-MD' means `put the output
4285 # Copy depcomp to subdir because otherwise we won't find it if we're
4286 # using a relative directory.
4287 cp "$am_depcomp" conftest.dir
4289 # We will build objects and dependencies in a subdirectory because
4290 # it helps to detect inapplicable dependency modes. For instance
4291 # both Tru64's cc and ICC support -MD to output dependencies as a
4292 # side effect of compilation, but ICC will put the dependencies in
4293 # the current directory while Tru64 will put them in the object
4297 am_cv_CC_dependencies_compiler_type=none
4298 if test "$am_compiler_list" = ""; then
4299 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4302 case " $depcc " in #(
4303 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4306 for depmode in $am_compiler_list; do
4307 # Setup a source with many dependencies, because some compilers
4308 # like to wrap large dependency lists on column 80 (with \), and
4309 # we should not choose a depcomp mode which is confused by this.
4311 # We need to recreate these files for each test, as the compiler may
4312 # overwrite some of them when testing with obscure command lines.
4313 # This happens at least with the AIX C compiler.
4315 for i in 1 2 3 4 5 6; do
4316 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4317 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4318 # Solaris 8's {/usr,}/bin/sh.
4319 touch sub/conftst$i.h
4321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4323 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4324 # mode. It turns out that the SunPro C++ compiler does not properly
4325 # handle `-M -o', and we need to detect this. Also, some Intel
4326 # versions had trouble with output in subdirs
4327 am__obj=sub/conftest.${OBJEXT-o}
4328 am__minus_obj="-o $am__obj"
4331 # This depmode causes a compiler race in universal mode.
4332 test "$am__universal" = false || continue
4335 # after this tag, mechanisms are not by side-effect, so they'll
4336 # only be used when explicitly requested
4337 if test "x$enable_dependency_tracking" = xyes; then
4343 msvisualcpp | msvcmsys)
4344 # This compiler won't grok `-c -o', but also, the minuso test has
4345 # not run yet. These depmodes are late enough in the game, and
4346 # so weak that their functioning should not be impacted.
4347 am__obj=conftest.${OBJEXT-o}
4352 if depmode=$depmode \
4353 source=sub/conftest.c object=$am__obj \
4354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4355 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4356 >/dev/null 2>conftest.err &&
4357 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4358 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4359 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4360 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4361 # icc doesn't choke on unknown options, it will just issue warnings
4362 # or remarks (even with -Werror). So we grep stderr for any message
4363 # that says an option was ignored or not supported.
4364 # When given -MP, icc 7.0 and 7.1 complain thusly:
4365 # icc: Command line warning: ignoring option '-M'; no argument required
4366 # The diagnosis changed in icc 8.0:
4367 # icc: Command line remark: option '-MP' not supported
4368 if (grep 'ignoring option' conftest.err ||
4369 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4370 am_cv_CC_dependencies_compiler_type=$depmode
4379 am_cv_CC_dependencies_compiler_type=none
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4388 test "x$enable_dependency_tracking" != xno \
4389 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4391 am__fastdepCC_FALSE='#'
4393 am__fastdepCC_TRUE='#'
4394 am__fastdepCC_FALSE=
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4400 if ${ac_cv_path_SED+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4404 for ac_i in 1 2 3 4 5 6 7; do
4405 ac_script="$ac_script$as_nl$ac_script"
4407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4408 { ac_script=; unset ac_script;}
4409 if test -z "$SED"; then
4410 ac_path_SED_found=false
4411 # Loop through the user's path and test for each of PROGNAME-LIST
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir=.
4417 for ac_prog in sed gsed; do
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4421 # Check for GNU ac_path_SED and select it if it is found.
4422 # Check for GNU $ac_path_SED
4423 case `"$ac_path_SED" --version 2>&1` in
4425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4428 $as_echo_n 0123456789 >"conftest.in"
4431 cat "conftest.in" "conftest.in" >"conftest.tmp"
4432 mv "conftest.tmp" "conftest.in"
4433 cp "conftest.in" "conftest.nl"
4434 $as_echo '' >> "conftest.nl"
4435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4437 as_fn_arith $ac_count + 1 && ac_count=$as_val
4438 if test $ac_count -gt ${ac_path_SED_max-0}; then
4439 # Best one so far, save it but keep looking for a better one
4440 ac_cv_path_SED="$ac_path_SED"
4441 ac_path_SED_max=$ac_count
4443 # 10*(2^10) chars as input seems more than enough
4444 test $ac_count -gt 10 && break
4446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 $ac_path_SED_found && break 3
4454 if test -z "$ac_cv_path_SED"; then
4455 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4463 $as_echo "$ac_cv_path_SED" >&6; }
4464 SED="$ac_cv_path_SED"
4467 test -z "$SED" && SED=sed
4468 Xsed="$SED -e 1s/^X//"
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4481 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4482 if ${ac_cv_path_GREP+:} false; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -z "$GREP"; then
4486 ac_path_GREP_found=false
4487 # Loop through the user's path and test for each of PROGNAME-LIST
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4492 test -z "$as_dir" && as_dir=.
4493 for ac_prog in grep ggrep; do
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4496 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4497 # Check for GNU ac_path_GREP and select it if it is found.
4498 # Check for GNU $ac_path_GREP
4499 case `"$ac_path_GREP" --version 2>&1` in
4501 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4504 $as_echo_n 0123456789 >"conftest.in"
4507 cat "conftest.in" "conftest.in" >"conftest.tmp"
4508 mv "conftest.tmp" "conftest.in"
4509 cp "conftest.in" "conftest.nl"
4510 $as_echo 'GREP' >> "conftest.nl"
4511 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513 as_fn_arith $ac_count + 1 && ac_count=$as_val
4514 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4515 # Best one so far, save it but keep looking for a better one
4516 ac_cv_path_GREP="$ac_path_GREP"
4517 ac_path_GREP_max=$ac_count
4519 # 10*(2^10) chars as input seems more than enough
4520 test $ac_count -gt 10 && break
4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525 $ac_path_GREP_found && break 3
4530 if test -z "$ac_cv_path_GREP"; then
4531 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4534 ac_cv_path_GREP=$GREP
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4539 $as_echo "$ac_cv_path_GREP" >&6; }
4540 GREP="$ac_cv_path_GREP"
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4544 $as_echo_n "checking for egrep... " >&6; }
4545 if ${ac_cv_path_EGREP+:} false; then :
4546 $as_echo_n "(cached) " >&6
4548 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4549 then ac_cv_path_EGREP="$GREP -E"
4551 if test -z "$EGREP"; then
4552 ac_path_EGREP_found=false
4553 # Loop through the user's path and test for each of PROGNAME-LIST
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4558 test -z "$as_dir" && as_dir=.
4559 for ac_prog in egrep; do
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4562 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4563 # Check for GNU ac_path_EGREP and select it if it is found.
4564 # Check for GNU $ac_path_EGREP
4565 case `"$ac_path_EGREP" --version 2>&1` in
4567 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4570 $as_echo_n 0123456789 >"conftest.in"
4573 cat "conftest.in" "conftest.in" >"conftest.tmp"
4574 mv "conftest.tmp" "conftest.in"
4575 cp "conftest.in" "conftest.nl"
4576 $as_echo 'EGREP' >> "conftest.nl"
4577 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4578 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4579 as_fn_arith $ac_count + 1 && ac_count=$as_val
4580 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4581 # Best one so far, save it but keep looking for a better one
4582 ac_cv_path_EGREP="$ac_path_EGREP"
4583 ac_path_EGREP_max=$ac_count
4585 # 10*(2^10) chars as input seems more than enough
4586 test $ac_count -gt 10 && break
4588 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4591 $ac_path_EGREP_found && break 3
4596 if test -z "$ac_cv_path_EGREP"; then
4597 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4600 ac_cv_path_EGREP=$EGREP
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4606 $as_echo "$ac_cv_path_EGREP" >&6; }
4607 EGREP="$ac_cv_path_EGREP"
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4611 $as_echo_n "checking for fgrep... " >&6; }
4612 if ${ac_cv_path_FGREP+:} false; then :
4613 $as_echo_n "(cached) " >&6
4615 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4616 then ac_cv_path_FGREP="$GREP -F"
4618 if test -z "$FGREP"; then
4619 ac_path_FGREP_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 fgrep; do
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4629 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4630 # Check for GNU ac_path_FGREP and select it if it is found.
4631 # Check for GNU $ac_path_FGREP
4632 case `"$ac_path_FGREP" --version 2>&1` in
4634 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_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 'FGREP' >> "conftest.nl"
4644 "$ac_path_FGREP" FGREP < "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_FGREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_FGREP="$ac_path_FGREP"
4650 ac_path_FGREP_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_FGREP_found && break 3
4663 if test -z "$ac_cv_path_FGREP"; then
4664 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4667 ac_cv_path_FGREP=$FGREP
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4673 $as_echo "$ac_cv_path_FGREP" >&6; }
4674 FGREP="$ac_cv_path_FGREP"
4677 test -z "$GREP" && GREP=grep
4697 # Check whether --with-gnu-ld was given.
4698 if test "${with_gnu_ld+set}" = set; then :
4699 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4705 if test "$GCC" = yes; then
4706 # Check if gcc -print-prog-name=ld gives a path.
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4708 $as_echo_n "checking for ld used by $CC... " >&6; }
4711 # gcc leaves a trailing carriage return which upsets mingw
4712 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4714 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4717 # Accept absolute paths.
4719 re_direlt='/[^/][^/]*/\.\./'
4720 # Canonicalize the pathname of ld
4721 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4722 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4723 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4725 test -z "$LD" && LD="$ac_prog"
4728 # If it fails, then pretend we aren't using GCC.
4732 # If it is relative, then search for the first ld in PATH.
4736 elif test "$with_gnu_ld" = yes; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4738 $as_echo_n "checking for GNU ld... " >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4741 $as_echo_n "checking for non-GNU ld... " >&6; }
4743 if ${lt_cv_path_LD+:} false; then :
4744 $as_echo_n "(cached) " >&6
4746 if test -z "$LD"; then
4747 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4748 for ac_dir in $PATH; do
4750 test -z "$ac_dir" && ac_dir=.
4751 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4752 lt_cv_path_LD="$ac_dir/$ac_prog"
4753 # Check to see if the program is GNU ld. I'd rather use --version,
4754 # but apparently some variants of GNU ld only accept -v.
4755 # Break only if it was the GNU/non-GNU ld that we prefer.
4756 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4757 *GNU* | *'with BFD'*)
4758 test "$with_gnu_ld" != no && break
4761 test "$with_gnu_ld" != yes && break
4768 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4773 if test -n "$LD"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4775 $as_echo "$LD" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4780 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4782 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4783 if ${lt_cv_prog_gnu_ld+:} false; then :
4784 $as_echo_n "(cached) " >&6
4786 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4787 case `$LD -v 2>&1 </dev/null` in
4788 *GNU* | *'with BFD'*)
4789 lt_cv_prog_gnu_ld=yes
4792 lt_cv_prog_gnu_ld=no
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4797 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4798 with_gnu_ld=$lt_cv_prog_gnu_ld
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4809 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4810 if ${lt_cv_path_NM+:} false; then :
4811 $as_echo_n "(cached) " >&6
4813 if test -n "$NM"; then
4814 # Let the user override the test.
4817 lt_nm_to_check="${ac_tool_prefix}nm"
4818 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4819 lt_nm_to_check="$lt_nm_to_check nm"
4821 for lt_tmp_nm in $lt_nm_to_check; do
4822 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4823 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4825 test -z "$ac_dir" && ac_dir=.
4826 tmp_nm="$ac_dir/$lt_tmp_nm"
4827 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4828 # Check to see if the nm accepts a BSD-compat flag.
4829 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4830 # nm: unknown option "B" ignored
4831 # Tru64's nm complains that /dev/null is an invalid object file
4832 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4833 */dev/null* | *'Invalid file or object type'*)
4834 lt_cv_path_NM="$tmp_nm -B"
4838 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4840 lt_cv_path_NM="$tmp_nm -p"
4844 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4845 continue # so that we can try to find one that supports BSD flags
4854 : ${lt_cv_path_NM=no}
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4858 $as_echo "$lt_cv_path_NM" >&6; }
4859 if test "$lt_cv_path_NM" != "no"; then
4862 # Didn't find any BSD compatible name lister, look for dumpbin.
4863 if test -n "$DUMPBIN"; then :
4864 # Let the user override the test.
4866 if test -n "$ac_tool_prefix"; then
4867 for ac_prog in dumpbin "link -dump"
4869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_DUMPBIN+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 if test -n "$DUMPBIN"; then
4877 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 test -z "$as_dir" && as_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 DUMPBIN=$ac_cv_prog_DUMPBIN
4897 if test -n "$DUMPBIN"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4899 $as_echo "$DUMPBIN" >&6; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4906 test -n "$DUMPBIN" && break
4909 if test -z "$DUMPBIN"; then
4910 ac_ct_DUMPBIN=$DUMPBIN
4911 for ac_prog in dumpbin "link -dump"
4913 # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy $ac_prog; ac_word=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$ac_ct_DUMPBIN"; then
4921 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4941 if test -n "$ac_ct_DUMPBIN"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4943 $as_echo "$ac_ct_DUMPBIN" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4950 test -n "$ac_ct_DUMPBIN" && break
4953 if test "x$ac_ct_DUMPBIN" = x; then
4956 case $cross_compiling:$ac_tool_warned in
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4960 ac_tool_warned=yes ;;
4962 DUMPBIN=$ac_ct_DUMPBIN
4966 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4968 DUMPBIN="$DUMPBIN -symbols"
4976 if test "$DUMPBIN" != ":"; then
4980 test -z "$NM" && NM=nm
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4988 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4989 if ${lt_cv_nm_interface+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 lt_cv_nm_interface="BSD nm"
4993 echo "int some_variable = 0;" > conftest.$ac_ext
4994 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4995 (eval "$ac_compile" 2>conftest.err)
4996 cat conftest.err >&5
4997 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4998 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4999 cat conftest.err >&5
5000 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5001 cat conftest.out >&5
5002 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5003 lt_cv_nm_interface="MS dumpbin"
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5008 $as_echo "$lt_cv_nm_interface" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5013 if test "$LN_S" = "ln -s"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5021 # find the maximum length of command line arguments
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5023 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5024 if ${lt_cv_sys_max_cmd_len+:} false; then :
5025 $as_echo_n "(cached) " >&6
5032 # On DJGPP, this test can blow up pretty badly due to problems in libc
5033 # (any single argument exceeding 2000 bytes causes a buffer overrun
5034 # during glob expansion). Even if it were fixed, the result of this
5035 # check would be larger than it should be.
5036 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5040 # Under GNU Hurd, this test is not required because there is
5041 # no limit to the length of command line arguments.
5042 # Libtool will interpret -1 as no limit whatsoever
5043 lt_cv_sys_max_cmd_len=-1;
5046 cygwin* | mingw* | cegcc*)
5047 # On Win9x/ME, this test blows up -- it succeeds, but takes
5048 # about 5 minutes as the teststring grows exponentially.
5049 # Worse, since 9x/ME are not pre-emptively multitasking,
5050 # you end up with a "frozen" computer, even though with patience
5051 # the test eventually succeeds (with a max line length of 256k).
5052 # Instead, let's just punt: use the minimum linelength reported by
5053 # all of the supported platforms: 8192 (on NT/2K/XP).
5054 lt_cv_sys_max_cmd_len=8192;
5058 # On MiNT this can take a long time and run out of memory.
5059 lt_cv_sys_max_cmd_len=8192;
5063 # On AmigaOS with pdksh, this test takes hours, literally.
5064 # So we just punt and use a minimum line length of 8192.
5065 lt_cv_sys_max_cmd_len=8192;
5068 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5069 # This has been around since 386BSD, at least. Likely further.
5070 if test -x /sbin/sysctl; then
5071 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5072 elif test -x /usr/sbin/sysctl; then
5073 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5075 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5077 # And add a safety zone
5078 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5083 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5084 lt_cv_sys_max_cmd_len=196608
5088 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5089 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5090 # nice to cause kernel panics so lets avoid the loop below.
5091 # First set a reasonable default.
5092 lt_cv_sys_max_cmd_len=16384
5094 if test -x /sbin/sysconfig; then
5095 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5096 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5101 lt_cv_sys_max_cmd_len=102400
5103 sysv5* | sco5v6* | sysv4.2uw2*)
5104 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5105 if test -n "$kargmax"; then
5106 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5108 lt_cv_sys_max_cmd_len=32768
5112 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5113 if test -n "$lt_cv_sys_max_cmd_len"; then
5114 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5115 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5117 # Make teststring a little bigger before we do anything with it.
5118 # a 1K string should be a reasonable start.
5119 for i in 1 2 3 4 5 6 7 8 ; do
5120 teststring=$teststring$teststring
5122 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5123 # If test is not a shell built-in, we'll probably end up computing a
5124 # maximum length that is only half of the actual maximum length, but
5126 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5127 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5128 test $i != 17 # 1/2 MB should be enough
5131 teststring=$teststring$teststring
5133 # Only check the string length outside the loop.
5134 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5136 # Add a significant safety factor because C++ compilers can tack on
5137 # massive amounts of additional arguments before passing them to the
5138 # linker. It appears as though 1/2 is a usable value.
5139 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5146 if test -n $lt_cv_sys_max_cmd_len ; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5148 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5151 $as_echo "none" >&6; }
5153 max_cmd_len=$lt_cv_sys_max_cmd_len
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5165 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5166 # Try some XSI features
5169 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5171 && eval 'test $(( 1 + 1 )) -eq 2 \
5172 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5175 $as_echo "$xsi_shell" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5179 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5181 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5183 && lt_shell_append=yes
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5185 $as_echo "$lt_shell_append" >&6; }
5188 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5198 # test EBCDIC or ASCII
5199 case `echo X|tr X '\101'` in
5200 A) # ASCII based system
5201 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5202 lt_SP2NL='tr \040 \012'
5203 lt_NL2SP='tr \015\012 \040\040'
5205 *) # EBCDIC based system
5206 lt_SP2NL='tr \100 \n'
5207 lt_NL2SP='tr \r\n \100\100'
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5220 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5221 if ${lt_cv_to_host_file_cmd+:} false; then :
5222 $as_echo_n "(cached) " >&6
5227 *-*-mingw* ) # actually msys
5228 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5231 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5233 * ) # otherwise, assume *nix
5234 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5240 *-*-mingw* ) # actually msys
5241 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5244 lt_cv_to_host_file_cmd=func_convert_file_noop
5246 * ) # otherwise, assume *nix
5247 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5251 * ) # unhandled hosts (and "normal" native builds)
5252 lt_cv_to_host_file_cmd=func_convert_file_noop
5258 to_host_file_cmd=$lt_cv_to_host_file_cmd
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5260 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5267 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5268 if ${lt_cv_to_tool_file_cmd+:} false; then :
5269 $as_echo_n "(cached) " >&6
5271 #assume ordinary cross tools, or native build.
5272 lt_cv_to_tool_file_cmd=func_convert_file_noop
5276 *-*-mingw* ) # actually msys
5277 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5285 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5287 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5294 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5295 if ${lt_cv_ld_reload_flag+:} false; then :
5296 $as_echo_n "(cached) " >&6
5298 lt_cv_ld_reload_flag='-r'
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5301 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5302 reload_flag=$lt_cv_ld_reload_flag
5303 case $reload_flag in
5305 *) reload_flag=" $reload_flag" ;;
5307 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5309 cygwin* | mingw* | pw32* | cegcc*)
5310 if test "$GCC" != yes; then
5315 if test "$GCC" = yes; then
5316 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5318 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_OBJDUMP+:} false; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$OBJDUMP"; then
5340 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 OBJDUMP=$ac_cv_prog_OBJDUMP
5360 if test -n "$OBJDUMP"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5362 $as_echo "$OBJDUMP" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5370 if test -z "$ac_cv_prog_OBJDUMP"; then
5371 ac_ct_OBJDUMP=$OBJDUMP
5372 # Extract the first word of "objdump", so it can be a program name with args.
5373 set dummy objdump; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$ac_ct_OBJDUMP"; then
5380 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5400 if test -n "$ac_ct_OBJDUMP"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5402 $as_echo "$ac_ct_OBJDUMP" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5408 if test "x$ac_ct_OBJDUMP" = x; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned=yes ;;
5417 OBJDUMP=$ac_ct_OBJDUMP
5420 OBJDUMP="$ac_cv_prog_OBJDUMP"
5423 test -z "$OBJDUMP" && OBJDUMP=objdump
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5434 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5435 if ${lt_cv_deplibs_check_method+:} false; then :
5436 $as_echo_n "(cached) " >&6
5438 lt_cv_file_magic_cmd='$MAGIC_CMD'
5439 lt_cv_file_magic_test_file=
5440 lt_cv_deplibs_check_method='unknown'
5441 # Need to set the preceding variable on all platforms that support
5442 # interlibrary dependencies.
5443 # 'none' -- dependencies not supported.
5444 # `unknown' -- same as none, but documents that we really don't know.
5445 # 'pass_all' -- all dependencies passed with no checks.
5446 # 'test_compile' -- check by making test program.
5447 # 'file_magic [[regex]]' -- check by looking for files in library path
5448 # which responds to the $file_magic_cmd with a given extended regex.
5449 # If you have `file' or equivalent on your system and you're not sure
5450 # whether `pass_all' will *always* work, you probably want this one.
5454 lt_cv_deplibs_check_method=pass_all
5458 lt_cv_deplibs_check_method=pass_all
5462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5463 lt_cv_file_magic_cmd='/usr/bin/file -L'
5464 lt_cv_file_magic_test_file=/shlib/libc.so
5468 # func_win32_libid is a shell function defined in ltmain.sh
5469 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5470 lt_cv_file_magic_cmd='func_win32_libid'
5474 # Base MSYS/MinGW do not provide the 'file' command needed by
5475 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5476 # unless we find 'file', for example because we are cross-compiling.
5477 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5478 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5479 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5480 lt_cv_file_magic_cmd='func_win32_libid'
5482 # Keep this pattern in sync with the one in func_win32_libid.
5483 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5484 lt_cv_file_magic_cmd='$OBJDUMP -f'
5489 # use the weaker test based on 'objdump'. See mingw*.
5490 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5491 lt_cv_file_magic_cmd='$OBJDUMP -f'
5494 darwin* | rhapsody*)
5495 lt_cv_deplibs_check_method=pass_all
5498 freebsd* | dragonfly*)
5499 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5502 # Not sure whether the presence of OpenBSD here was a mistake.
5503 # Let's accept both of them until this is cleared up.
5504 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5505 lt_cv_file_magic_cmd=/usr/bin/file
5506 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5510 lt_cv_deplibs_check_method=pass_all
5515 lt_cv_deplibs_check_method=pass_all
5519 lt_cv_deplibs_check_method=pass_all
5522 hpux10.20* | hpux11*)
5523 lt_cv_file_magic_cmd=/usr/bin/file
5526 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5527 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5530 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]'
5531 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5534 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5535 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5541 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5545 irix5* | irix6* | nonstopux*)
5547 *-32|*"-32 ") libmagic=32-bit;;
5548 *-n32|*"-n32 ") libmagic=N32;;
5549 *-64|*"-64 ") libmagic=64-bit;;
5550 *) libmagic=never-match;;
5552 lt_cv_deplibs_check_method=pass_all
5555 # This must be Linux ELF.
5556 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5557 lt_cv_deplibs_check_method=pass_all
5561 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5562 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5564 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5569 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5570 lt_cv_file_magic_cmd=/usr/bin/file
5571 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5575 lt_cv_deplibs_check_method=pass_all
5579 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5580 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5582 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5586 osf3* | osf4* | osf5*)
5587 lt_cv_deplibs_check_method=pass_all
5591 lt_cv_deplibs_check_method=pass_all
5595 lt_cv_deplibs_check_method=pass_all
5598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5599 lt_cv_deplibs_check_method=pass_all
5603 case $host_vendor in
5605 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]'
5606 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5609 lt_cv_deplibs_check_method=pass_all
5612 lt_cv_file_magic_cmd='/bin/file'
5613 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5616 lt_cv_file_magic_cmd='/bin/file'
5617 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5618 lt_cv_file_magic_test_file=/lib/libc.so
5621 lt_cv_deplibs_check_method=pass_all
5624 lt_cv_deplibs_check_method=pass_all
5630 lt_cv_deplibs_check_method=pass_all
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5636 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5640 if test "$build" = "$host"; then
5643 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5646 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5652 file_magic_cmd=$lt_cv_file_magic_cmd
5653 deplibs_check_method=$lt_cv_deplibs_check_method
5654 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5677 if test -n "$ac_tool_prefix"; then
5678 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5679 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_prog_DLLTOOL+:} false; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$DLLTOOL"; then
5686 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir=.
5693 for ac_exec_ext in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 DLLTOOL=$ac_cv_prog_DLLTOOL
5706 if test -n "$DLLTOOL"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5708 $as_echo "$DLLTOOL" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5716 if test -z "$ac_cv_prog_DLLTOOL"; then
5717 ac_ct_DLLTOOL=$DLLTOOL
5718 # Extract the first word of "dlltool", so it can be a program name with args.
5719 set dummy dlltool; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -n "$ac_ct_DLLTOOL"; then
5726 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5746 if test -n "$ac_ct_DLLTOOL"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5748 $as_echo "$ac_ct_DLLTOOL" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5754 if test "x$ac_ct_DLLTOOL" = x; then
5757 case $cross_compiling:$ac_tool_warned in
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5763 DLLTOOL=$ac_ct_DLLTOOL
5766 DLLTOOL="$ac_cv_prog_DLLTOOL"
5769 test -z "$DLLTOOL" && DLLTOOL=dlltool
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5781 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5782 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5783 $as_echo_n "(cached) " >&6
5785 lt_cv_sharedlib_from_linklib_cmd='unknown'
5788 cygwin* | mingw* | pw32* | cegcc*)
5789 # two different shell functions defined in ltmain.sh
5790 # decide which to use based on capabilities of $DLLTOOL
5791 case `$DLLTOOL --help 2>&1` in
5792 *--identify-strict*)
5793 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5796 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5801 # fallback: assume linklib IS sharedlib
5802 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5808 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5809 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5810 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5819 if test -n "$ac_tool_prefix"; then
5822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_AR+:} false; then :
5827 $as_echo_n "(cached) " >&6
5829 if test -n "$AR"; then
5830 ac_cv_prog_AR="$AR" # Let the user override the test.
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5839 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 if test -n "$AR"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5852 $as_echo "$AR" >&6; }
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$AR" && break
5862 if test -z "$AR"; then
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$ac_ct_AR"; then
5874 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_AR="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5894 if test -n "$ac_ct_AR"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5896 $as_echo "$ac_ct_AR" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$ac_ct_AR" && break
5906 if test "x$ac_ct_AR" = x; then
5909 case $cross_compiling:$ac_tool_warned in
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5913 ac_tool_warned=yes ;;
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5933 $as_echo_n "checking for archiver @FILE support... " >&6; }
5934 if ${lt_cv_ar_at_file+:} false; then :
5935 $as_echo_n "(cached) " >&6
5938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h. */
5949 if ac_fn_c_try_compile "$LINENO"; then :
5950 echo conftest.$ac_objext > conftest.lst
5951 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5952 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5953 (eval $lt_ar_try) 2>&5
5955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956 test $ac_status = 0; }
5957 if test "$ac_status" -eq 0; then
5958 # Ensure the archiver fails upon bogus file names.
5959 rm -f conftest.$ac_objext libconftest.a
5960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5961 (eval $lt_ar_try) 2>&5
5963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5964 test $ac_status = 0; }
5965 if test "$ac_status" -ne 0; then
5969 rm -f conftest.* libconftest.a
5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5976 $as_echo "$lt_cv_ar_at_file" >&6; }
5978 if test "x$lt_cv_ar_at_file" = xno; then
5981 archiver_list_spec=$lt_cv_ar_at_file
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}strip; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_STRIP+:} false; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$STRIP"; then
5999 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 STRIP=$ac_cv_prog_STRIP
6019 if test -n "$STRIP"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6021 $as_echo "$STRIP" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6029 if test -z "$ac_cv_prog_STRIP"; then
6031 # Extract the first word of "strip", so it can be a program name with args.
6032 set dummy strip; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$ac_ct_STRIP"; then
6039 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_ac_ct_STRIP="strip"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6059 if test -n "$ac_ct_STRIP"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6061 $as_echo "$ac_ct_STRIP" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6067 if test "x$ac_ct_STRIP" = x; then
6070 case $cross_compiling:$ac_tool_warned in
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned=yes ;;
6079 STRIP="$ac_cv_prog_STRIP"
6082 test -z "$STRIP" && STRIP=:
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_RANLIB+:} false; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$RANLIB"; then
6098 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 RANLIB=$ac_cv_prog_RANLIB
6118 if test -n "$RANLIB"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6120 $as_echo "$RANLIB" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6128 if test -z "$ac_cv_prog_RANLIB"; then
6129 ac_ct_RANLIB=$RANLIB
6130 # Extract the first word of "ranlib", so it can be a program name with args.
6131 set dummy ranlib; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6135 $as_echo_n "(cached) " >&6
6137 if test -n "$ac_ct_RANLIB"; then
6138 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147 ac_cv_prog_ac_ct_RANLIB="ranlib"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6158 if test -n "$ac_ct_RANLIB"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6160 $as_echo "$ac_ct_RANLIB" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6166 if test "x$ac_ct_RANLIB" = x; then
6169 case $cross_compiling:$ac_tool_warned in
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6173 ac_tool_warned=yes ;;
6175 RANLIB=$ac_ct_RANLIB
6178 RANLIB="$ac_cv_prog_RANLIB"
6181 test -z "$RANLIB" && RANLIB=:
6188 # Determine commands to create old-style static archives.
6189 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6190 old_postinstall_cmds='chmod 644 $oldlib'
6191 old_postuninstall_cmds=
6193 if test -n "$RANLIB"; then
6196 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6199 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6202 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6207 lock_old_archive_extraction=yes ;;
6209 lock_old_archive_extraction=no ;;
6250 # If no C compiler was specified, use CC.
6253 # If no C compiler flags were specified, use CFLAGS.
6254 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6256 # Allow CC to be a program name with arguments.
6260 # Check for command to grab the raw symbol name followed by C symbol from nm.
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6262 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6263 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6264 $as_echo_n "(cached) " >&6
6267 # These are sane defaults that work on at least a few old systems.
6268 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6270 # Character class describing NM global symbol codes.
6271 symcode='[BCDEGRST]'
6273 # Regexp to match symbols that can be accessed directly from C.
6274 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6276 # Define system-specific variables.
6281 cygwin* | mingw* | pw32* | cegcc*)
6282 symcode='[ABCDGISTW]'
6285 if test "$host_cpu" = ia64; then
6286 symcode='[ABCDEGRST]'
6290 symcode='[BCDEGRST]'
6293 symcode='[BCDEGQRST]'
6304 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6312 # If we're using GNU nm, then use its standard symbol codes.
6313 case `$NM -V 2>&1` in
6314 *GNU* | *'with BFD'*)
6315 symcode='[ABCDGIRSTW]' ;;
6318 # Transform an extracted symbol line into a proper C declaration.
6319 # Some systems (esp. on ia64) link data and code symbols differently,
6320 # so use this general approach.
6321 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6323 # Transform an extracted symbol line into symbol name and symbol address
6324 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6325 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'"
6327 # Handle CRLF in mingw tool chain
6331 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6335 # Try without a prefix underscore, then with it.
6336 for ac_symprfx in "" "_"; do
6338 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6339 symxfrm="\\1 $ac_symprfx\\2 \\2"
6341 # Write the raw and C identifiers.
6342 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6343 # Fake it for dumpbin and say T for any non-static function
6344 # and D for any global variable.
6345 # Also find C++ and __fastcall symbols from MSVC++,
6346 # which start with @ or ?.
6347 lt_cv_sys_global_symbol_pipe="$AWK '"\
6348 " {last_section=section; section=\$ 3};"\
6349 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6350 " \$ 0!~/External *\|/{next};"\
6351 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6352 " {if(hide[section]) next};"\
6353 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6354 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6355 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6356 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6357 " ' prfx=^$ac_symprfx"
6359 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6361 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6363 # Check to see that the pipe works correctly.
6367 cat > conftest.$ac_ext <<_LT_EOF
6372 void nm_test_func(void);
6373 void nm_test_func(void){}
6377 int main(){nm_test_var='a';nm_test_func();return(0);}
6380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6381 (eval $ac_compile) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384 test $ac_status = 0; }; then
6385 # Now try to grab the symbols.
6387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6388 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6391 test $ac_status = 0; } && test -s "$nlist"; then
6392 # Try sorting and uniquifying the output.
6393 if sort "$nlist" | uniq > "$nlist"T; then
6394 mv -f "$nlist"T "$nlist"
6399 # Make sure that we snagged all the symbols we need.
6400 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6401 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6402 cat <<_LT_EOF > conftest.$ac_ext
6403 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6404 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6405 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6406 relocations are performed -- see ld's documentation on pseudo-relocs. */
6407 # define LT_DLSYM_CONST
6408 #elif defined(__osf__)
6409 /* This system does not cope well with relocations in const data. */
6410 # define LT_DLSYM_CONST
6412 # define LT_DLSYM_CONST const
6420 # Now generate the symbol file.
6421 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6423 cat <<_LT_EOF >> conftest.$ac_ext
6425 /* The mapping between symbol names and symbols. */
6426 LT_DLSYM_CONST struct {
6430 lt__PROGRAM__LTX_preloaded_symbols[] =
6432 { "@PROGRAM@", (void *) 0 },
6434 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6435 cat <<\_LT_EOF >> conftest.$ac_ext
6439 /* This works around a problem in FreeBSD linker */
6440 #ifdef FREEBSD_WORKAROUND
6441 static const void *lt_preloaded_setup() {
6442 return lt__PROGRAM__LTX_preloaded_symbols;
6450 # Now try linking the two files.
6451 mv conftest.$ac_objext conftstm.$ac_objext
6452 lt_globsym_save_LIBS=$LIBS
6453 lt_globsym_save_CFLAGS=$CFLAGS
6454 LIBS="conftstm.$ac_objext"
6455 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6457 (eval $ac_link) 2>&5
6459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6460 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6463 LIBS=$lt_globsym_save_LIBS
6464 CFLAGS=$lt_globsym_save_CFLAGS
6466 echo "cannot find nm_test_func in $nlist" >&5
6469 echo "cannot find nm_test_var in $nlist" >&5
6472 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6475 echo "$progname: failed program was:" >&5
6476 cat conftest.$ac_ext >&5
6478 rm -rf conftest* conftst*
6480 # Do not use the global_symbol_pipe unless it works.
6481 if test "$pipe_works" = yes; then
6484 lt_cv_sys_global_symbol_pipe=
6490 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6491 lt_cv_sys_global_symbol_to_cdecl=
6493 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6495 $as_echo "failed" >&6; }
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6498 $as_echo "ok" >&6; }
6501 # Response file support.
6502 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6503 nm_file_list_spec='@'
6504 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6505 nm_file_list_spec='@'
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6535 $as_echo_n "checking for sysroot... " >&6; }
6537 # Check whether --with-sysroot was given.
6538 if test "${with_sysroot+set}" = set; then :
6539 withval=$with_sysroot;
6546 case ${with_sysroot} in #(
6548 if test "$GCC" = yes; then
6549 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6553 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6559 $as_echo "${with_sysroot}" >&6; }
6560 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6565 $as_echo "${lt_sysroot:-no}" >&6; }
6571 # Check whether --enable-libtool-lock was given.
6572 if test "${enable_libtool_lock+set}" = set; then :
6573 enableval=$enable_libtool_lock;
6576 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6578 # Some flags need to be propagated to the compiler or linker for good
6582 # Find out which ABI we are using.
6583 echo 'int i;' > conftest.$ac_ext
6584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585 (eval $ac_compile) 2>&5
6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6588 test $ac_status = 0; }; then
6589 case `/usr/bin/file conftest.$ac_objext` in
6601 # Find out which ABI we are using.
6602 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6604 (eval $ac_compile) 2>&5
6606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607 test $ac_status = 0; }; then
6608 if test "$lt_cv_prog_gnu_ld" = yes; then
6609 case `/usr/bin/file conftest.$ac_objext` in
6611 LD="${LD-ld} -melf32bsmip"
6614 LD="${LD-ld} -melf32bmipn32"
6617 LD="${LD-ld} -melf64bmip"
6621 case `/usr/bin/file conftest.$ac_objext` in
6637 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6638 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6639 # Find out which ABI we are using.
6640 echo 'int i;' > conftest.$ac_ext
6641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6642 (eval $ac_compile) 2>&5
6644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6645 test $ac_status = 0; }; then
6646 case `/usr/bin/file conftest.o` in
6649 x86_64-*kfreebsd*-gnu)
6650 LD="${LD-ld} -m elf_i386_fbsd"
6653 LD="${LD-ld} -m elf_i386"
6655 ppc64-*linux*|powerpc64-*linux*)
6656 LD="${LD-ld} -m elf32ppclinux"
6659 LD="${LD-ld} -m elf_s390"
6662 LD="${LD-ld} -m elf32_sparc"
6668 x86_64-*kfreebsd*-gnu)
6669 LD="${LD-ld} -m elf_x86_64_fbsd"
6672 LD="${LD-ld} -m elf_x86_64"
6674 ppc*-*linux*|powerpc*-*linux*)
6675 LD="${LD-ld} -m elf64ppc"
6677 s390*-*linux*|s390*-*tpf*)
6678 LD="${LD-ld} -m elf64_s390"
6681 LD="${LD-ld} -m elf64_sparc"
6691 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6692 SAVE_CFLAGS="$CFLAGS"
6693 CFLAGS="$CFLAGS -belf"
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6695 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6696 if ${lt_cv_cc_needs_belf+:} false; then :
6697 $as_echo_n "(cached) " >&6
6700 ac_cpp='$CPP $CPPFLAGS'
6701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6716 if ac_fn_c_try_link "$LINENO"; then :
6717 lt_cv_cc_needs_belf=yes
6719 lt_cv_cc_needs_belf=no
6721 rm -f core conftest.err conftest.$ac_objext \
6722 conftest$ac_exeext conftest.$ac_ext
6724 ac_cpp='$CPP $CPPFLAGS'
6725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6731 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6732 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6733 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6734 CFLAGS="$SAVE_CFLAGS"
6738 # Find out which ABI we are using.
6739 echo 'int i;' > conftest.$ac_ext
6740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6741 (eval $ac_compile) 2>&5
6743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6744 test $ac_status = 0; }; then
6745 case `/usr/bin/file conftest.o` in
6747 case $lt_cv_prog_gnu_ld in
6748 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6750 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6762 need_locks="$enable_libtool_lock"
6764 if test -n "$ac_tool_prefix"; then
6765 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6766 set dummy ${ac_tool_prefix}mt; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6770 $as_echo_n "(cached) " >&6
6772 if test -n "$MANIFEST_TOOL"; then
6773 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6792 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6793 if test -n "$MANIFEST_TOOL"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6795 $as_echo "$MANIFEST_TOOL" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6803 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6804 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6805 # Extract the first word of "mt", so it can be a program name with args.
6806 set dummy mt; ac_word=$2
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808 $as_echo_n "checking for $ac_word... " >&6; }
6809 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6810 $as_echo_n "(cached) " >&6
6812 if test -n "$ac_ct_MANIFEST_TOOL"; then
6813 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6819 test -z "$as_dir" && as_dir=.
6820 for ac_exec_ext in '' $ac_executable_extensions; do
6821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6832 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6833 if test -n "$ac_ct_MANIFEST_TOOL"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6835 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6841 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6844 case $cross_compiling:$ac_tool_warned in
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6848 ac_tool_warned=yes ;;
6850 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6853 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6856 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6858 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6859 if ${lt_cv_path_mainfest_tool+:} false; then :
6860 $as_echo_n "(cached) " >&6
6862 lt_cv_path_mainfest_tool=no
6863 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6864 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6865 cat conftest.err >&5
6866 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6867 lt_cv_path_mainfest_tool=yes
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6872 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6873 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6883 rhapsody* | darwin*)
6884 if test -n "$ac_tool_prefix"; then
6885 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6886 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6890 $as_echo_n "(cached) " >&6
6892 if test -n "$DSYMUTIL"; then
6893 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6902 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6913 if test -n "$DSYMUTIL"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6915 $as_echo "$DSYMUTIL" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6923 if test -z "$ac_cv_prog_DSYMUTIL"; then
6924 ac_ct_DSYMUTIL=$DSYMUTIL
6925 # Extract the first word of "dsymutil", so it can be a program name with args.
6926 set dummy dsymutil; ac_word=$2
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928 $as_echo_n "checking for $ac_word... " >&6; }
6929 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6930 $as_echo_n "(cached) " >&6
6932 if test -n "$ac_ct_DSYMUTIL"; then
6933 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6942 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6953 if test -n "$ac_ct_DSYMUTIL"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6955 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6961 if test "x$ac_ct_DSYMUTIL" = x; then
6964 case $cross_compiling:$ac_tool_warned in
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6968 ac_tool_warned=yes ;;
6970 DSYMUTIL=$ac_ct_DSYMUTIL
6973 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6976 if test -n "$ac_tool_prefix"; then
6977 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6978 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_NMEDIT+:} false; then :
6982 $as_echo_n "(cached) " >&6
6984 if test -n "$NMEDIT"; then
6985 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6994 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004 NMEDIT=$ac_cv_prog_NMEDIT
7005 if test -n "$NMEDIT"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7007 $as_echo "$NMEDIT" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7015 if test -z "$ac_cv_prog_NMEDIT"; then
7016 ac_ct_NMEDIT=$NMEDIT
7017 # Extract the first word of "nmedit", so it can be a program name with args.
7018 set dummy nmedit; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 $as_echo_n "checking for $ac_word... " >&6; }
7021 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7022 $as_echo_n "(cached) " >&6
7024 if test -n "$ac_ct_NMEDIT"; then
7025 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7044 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7045 if test -n "$ac_ct_NMEDIT"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7047 $as_echo "$ac_ct_NMEDIT" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7053 if test "x$ac_ct_NMEDIT" = x; then
7056 case $cross_compiling:$ac_tool_warned in
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7060 ac_tool_warned=yes ;;
7062 NMEDIT=$ac_ct_NMEDIT
7065 NMEDIT="$ac_cv_prog_NMEDIT"
7068 if test -n "$ac_tool_prefix"; then
7069 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7070 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 $as_echo_n "checking for $ac_word... " >&6; }
7073 if ${ac_cv_prog_LIPO+:} false; then :
7074 $as_echo_n "(cached) " >&6
7076 if test -n "$LIPO"; then
7077 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 LIPO=$ac_cv_prog_LIPO
7097 if test -n "$LIPO"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7099 $as_echo "$LIPO" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7107 if test -z "$ac_cv_prog_LIPO"; then
7109 # Extract the first word of "lipo", so it can be a program name with args.
7110 set dummy lipo; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112 $as_echo_n "checking for $ac_word... " >&6; }
7113 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7114 $as_echo_n "(cached) " >&6
7116 if test -n "$ac_ct_LIPO"; then
7117 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir=.
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126 ac_cv_prog_ac_ct_LIPO="lipo"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7137 if test -n "$ac_ct_LIPO"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7139 $as_echo "$ac_ct_LIPO" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 $as_echo "no" >&6; }
7145 if test "x$ac_ct_LIPO" = x; then
7148 case $cross_compiling:$ac_tool_warned in
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7152 ac_tool_warned=yes ;;
7157 LIPO="$ac_cv_prog_LIPO"
7160 if test -n "$ac_tool_prefix"; then
7161 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}otool; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_OTOOL+:} false; then :
7166 $as_echo_n "(cached) " >&6
7168 if test -n "$OTOOL"; then
7169 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7178 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188 OTOOL=$ac_cv_prog_OTOOL
7189 if test -n "$OTOOL"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7191 $as_echo "$OTOOL" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7199 if test -z "$ac_cv_prog_OTOOL"; then
7201 # Extract the first word of "otool", so it can be a program name with args.
7202 set dummy otool; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 $as_echo_n "checking for $ac_word... " >&6; }
7205 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7206 $as_echo_n "(cached) " >&6
7208 if test -n "$ac_ct_OTOOL"; then
7209 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 test -z "$as_dir" && as_dir=.
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218 ac_cv_prog_ac_ct_OTOOL="otool"
7219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7229 if test -n "$ac_ct_OTOOL"; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7231 $as_echo "$ac_ct_OTOOL" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 $as_echo "no" >&6; }
7237 if test "x$ac_ct_OTOOL" = x; then
7240 case $cross_compiling:$ac_tool_warned in
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7244 ac_tool_warned=yes ;;
7249 OTOOL="$ac_cv_prog_OTOOL"
7252 if test -n "$ac_tool_prefix"; then
7253 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7254 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_OTOOL64+:} false; then :
7258 $as_echo_n "(cached) " >&6
7260 if test -n "$OTOOL64"; then
7261 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7270 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280 OTOOL64=$ac_cv_prog_OTOOL64
7281 if test -n "$OTOOL64"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7283 $as_echo "$OTOOL64" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7291 if test -z "$ac_cv_prog_OTOOL64"; then
7292 ac_ct_OTOOL64=$OTOOL64
7293 # Extract the first word of "otool64", so it can be a program name with args.
7294 set dummy otool64; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 $as_echo_n "checking for $ac_word... " >&6; }
7297 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7298 $as_echo_n "(cached) " >&6
7300 if test -n "$ac_ct_OTOOL64"; then
7301 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310 ac_cv_prog_ac_ct_OTOOL64="otool64"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7321 if test -n "$ac_ct_OTOOL64"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7323 $as_echo "$ac_ct_OTOOL64" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7329 if test "x$ac_ct_OTOOL64" = x; then
7332 case $cross_compiling:$ac_tool_warned in
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7336 ac_tool_warned=yes ;;
7338 OTOOL64=$ac_ct_OTOOL64
7341 OTOOL64="$ac_cv_prog_OTOOL64"
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7371 $as_echo_n "checking for -single_module linker flag... " >&6; }
7372 if ${lt_cv_apple_cc_single_mod+:} false; then :
7373 $as_echo_n "(cached) " >&6
7375 lt_cv_apple_cc_single_mod=no
7376 if test -z "${LT_MULTI_MODULE}"; then
7377 # By default we will add the -single_module flag. You can override
7378 # by either setting the environment variable LT_MULTI_MODULE
7379 # non-empty at configure time, or by adding -multi_module to the
7381 rm -rf libconftest.dylib*
7382 echo "int foo(void){return 1;}" > conftest.c
7383 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7384 -dynamiclib -Wl,-single_module conftest.c" >&5
7385 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7386 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7388 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7389 lt_cv_apple_cc_single_mod=yes
7391 cat conftest.err >&5
7393 rm -rf libconftest.dylib*
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7398 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7400 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7401 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7402 $as_echo_n "(cached) " >&6
7404 lt_cv_ld_exported_symbols_list=no
7405 save_LDFLAGS=$LDFLAGS
7406 echo "_main" > conftest.sym
7407 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h. */
7419 if ac_fn_c_try_link "$LINENO"; then :
7420 lt_cv_ld_exported_symbols_list=yes
7422 lt_cv_ld_exported_symbols_list=no
7424 rm -f core conftest.err conftest.$ac_objext \
7425 conftest$ac_exeext conftest.$ac_ext
7426 LDFLAGS="$save_LDFLAGS"
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7430 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7432 $as_echo_n "checking for -force_load linker flag... " >&6; }
7433 if ${lt_cv_ld_force_load+:} false; then :
7434 $as_echo_n "(cached) " >&6
7436 lt_cv_ld_force_load=no
7437 cat > conftest.c << _LT_EOF
7438 int forced_loaded() { return 2;}
7440 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7441 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7442 echo "$AR cru libconftest.a conftest.o" >&5
7443 $AR cru libconftest.a conftest.o 2>&5
7444 echo "$RANLIB libconftest.a" >&5
7445 $RANLIB libconftest.a 2>&5
7446 cat > conftest.c << _LT_EOF
7447 int main() { return 0;}
7449 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7450 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7452 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7453 lt_cv_ld_force_load=yes
7455 cat conftest.err >&5
7457 rm -f conftest.err libconftest.a conftest conftest.c
7458 rm -rf conftest.dSYM
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7462 $as_echo "$lt_cv_ld_force_load" >&6; }
7464 rhapsody* | darwin1.[012])
7465 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7467 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7468 darwin*) # darwin 5.x on
7469 # if running on 10.5 or later, the deployment target defaults
7470 # to the OS version, if on x86, and 10.4, the deployment
7471 # target defaults to 10.4. Don't you love it?
7472 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7473 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7474 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7476 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7478 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7482 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7483 _lt_dar_single_mod='$single_module'
7485 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7486 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7488 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7490 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7491 _lt_dsymutil='~$DSYMUTIL $lib || :'
7499 ac_cpp='$CPP $CPPFLAGS'
7500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7504 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7505 # On Suns, sometimes $CPP names a directory.
7506 if test -n "$CPP" && test -d "$CPP"; then
7509 if test -z "$CPP"; then
7510 if ${ac_cv_prog_CPP+:} false; then :
7511 $as_echo_n "(cached) " >&6
7513 # Double quotes because CPP needs to be expanded
7514 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7517 for ac_c_preproc_warn_flag in '' yes
7519 # Use a header file that comes with gcc, so configuring glibc
7520 # with a fresh cross-compiler works.
7521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7522 # <limits.h> exists even on freestanding compilers.
7523 # On the NeXT, cc -E runs the code through the compiler's parser,
7524 # not just through cpp. "Syntax error" is here to catch this case.
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7528 # include <limits.h>
7530 # include <assert.h>
7534 if ac_fn_c_try_cpp "$LINENO"; then :
7537 # Broken: fails on valid input.
7540 rm -f conftest.err conftest.i conftest.$ac_ext
7542 # OK, works on sane cases. Now check whether nonexistent headers
7543 # can be detected and how.
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7546 #include <ac_nonexistent.h>
7548 if ac_fn_c_try_cpp "$LINENO"; then :
7549 # Broken: success on invalid input.
7552 # Passes both tests.
7556 rm -f conftest.err conftest.i conftest.$ac_ext
7559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7560 rm -f conftest.i conftest.err conftest.$ac_ext
7561 if $ac_preproc_ok; then :
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7574 $as_echo "$CPP" >&6; }
7576 for ac_c_preproc_warn_flag in '' yes
7578 # Use a header file that comes with gcc, so configuring glibc
7579 # with a fresh cross-compiler works.
7580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7581 # <limits.h> exists even on freestanding compilers.
7582 # On the NeXT, cc -E runs the code through the compiler's parser,
7583 # not just through cpp. "Syntax error" is here to catch this case.
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7587 # include <limits.h>
7589 # include <assert.h>
7593 if ac_fn_c_try_cpp "$LINENO"; then :
7596 # Broken: fails on valid input.
7599 rm -f conftest.err conftest.i conftest.$ac_ext
7601 # OK, works on sane cases. Now check whether nonexistent headers
7602 # can be detected and how.
7603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7605 #include <ac_nonexistent.h>
7607 if ac_fn_c_try_cpp "$LINENO"; then :
7608 # Broken: success on invalid input.
7611 # Passes both tests.
7615 rm -f conftest.err conftest.i conftest.$ac_ext
7618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7619 rm -f conftest.i conftest.err conftest.$ac_ext
7620 if $ac_preproc_ok; then :
7623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7625 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7626 See \`config.log' for more details" "$LINENO" 5; }
7630 ac_cpp='$CPP $CPPFLAGS'
7631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7637 $as_echo_n "checking for ANSI C header files... " >&6; }
7638 if ${ac_cv_header_stdc+:} false; then :
7639 $as_echo_n "(cached) " >&6
7641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h. */
7656 if ac_fn_c_try_compile "$LINENO"; then :
7657 ac_cv_header_stdc=yes
7659 ac_cv_header_stdc=no
7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7663 if test $ac_cv_header_stdc = yes; then
7664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7666 /* end confdefs.h. */
7670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7671 $EGREP "memchr" >/dev/null 2>&1; then :
7674 ac_cv_header_stdc=no
7680 if test $ac_cv_header_stdc = yes; then
7681 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7683 /* end confdefs.h. */
7687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7688 $EGREP "free" >/dev/null 2>&1; then :
7691 ac_cv_header_stdc=no
7697 if test $ac_cv_header_stdc = yes; then
7698 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7699 if test "$cross_compiling" = yes; then :
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7706 #if ((' ' & 0x0FF) == 0x020)
7707 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7708 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7710 # define ISLOWER(c) \
7711 (('a' <= (c) && (c) <= 'i') \
7712 || ('j' <= (c) && (c) <= 'r') \
7713 || ('s' <= (c) && (c) <= 'z'))
7714 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7717 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7722 for (i = 0; i < 256; i++)
7723 if (XOR (islower (i), ISLOWER (i))
7724 || toupper (i) != TOUPPER (i))
7729 if ac_fn_c_try_run "$LINENO"; then :
7732 ac_cv_header_stdc=no
7734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7735 conftest.$ac_objext conftest.beam conftest.$ac_ext
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7741 $as_echo "$ac_cv_header_stdc" >&6; }
7742 if test $ac_cv_header_stdc = yes; then
7744 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7748 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7749 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7750 inttypes.h stdint.h unistd.h
7752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7765 for ac_header in dlfcn.h
7767 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7769 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_DLFCN_H 1
7792 # Check whether --enable-shared was given.
7793 if test "${enable_shared+set}" = set; then :
7794 enableval=$enable_shared; p=${PACKAGE-default}
7796 yes) enable_shared=yes ;;
7797 no) enable_shared=no ;;
7800 # Look at the argument we got. We use all the common list separators.
7801 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7802 for pkg in $enableval; do
7804 if test "X$pkg" = "X$p"; then
7825 # Check whether --with-pic was given.
7826 if test "${with_pic+set}" = set; then :
7827 withval=$with_pic; pic_mode="$withval"
7833 test -z "$pic_mode" && pic_mode=default
7841 # Check whether --enable-fast-install was given.
7842 if test "${enable_fast_install+set}" = set; then :
7843 enableval=$enable_fast_install; p=${PACKAGE-default}
7845 yes) enable_fast_install=yes ;;
7846 no) enable_fast_install=no ;;
7848 enable_fast_install=no
7849 # Look at the argument we got. We use all the common list separators.
7850 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7851 for pkg in $enableval; do
7853 if test "X$pkg" = "X$p"; then
7854 enable_fast_install=yes
7861 enable_fast_install=yes
7874 # This can be used to rebuild libtool when needed
7875 LIBTOOL_DEPS="$ltmain"
7877 # Always use our own libtool.
7878 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7905 test -z "$LN_S" && LN_S="ln -s"
7920 if test -n "${ZSH_VERSION+set}" ; then
7921 setopt NO_GLOB_SUBST
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7925 $as_echo_n "checking for objdir... " >&6; }
7926 if ${lt_cv_objdir+:} false; then :
7927 $as_echo_n "(cached) " >&6
7929 rm -f .libs 2>/dev/null
7930 mkdir .libs 2>/dev/null
7931 if test -d .libs; then
7934 # MS-DOS does not allow filenames that begin with a dot.
7937 rmdir .libs 2>/dev/null
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7940 $as_echo "$lt_cv_objdir" >&6; }
7941 objdir=$lt_cv_objdir
7947 cat >>confdefs.h <<_ACEOF
7948 #define LT_OBJDIR "$lt_cv_objdir/"
7956 # AIX sometimes has problems with the GCC collect2 program. For some
7957 # reason, if we set the COLLECT_NAMES environment variable, the problems
7958 # vanish in a puff of smoke.
7959 if test "X${COLLECT_NAMES+set}" != Xset; then
7961 export COLLECT_NAMES
7968 can_build_shared=yes
7970 # All known linkers require a `.a' archive for static linking (except MSVC,
7971 # which needs '.lib').
7974 with_gnu_ld="$lt_cv_prog_gnu_ld"
7977 old_CFLAGS="$CFLAGS"
7979 # Set sane defaults for various variables
7980 test -z "$CC" && CC=cc
7981 test -z "$LTCC" && LTCC=$CC
7982 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7983 test -z "$LD" && LD=ld
7984 test -z "$ac_objext" && ac_objext=o
7986 for cc_temp in $compiler""; do
7988 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7989 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7994 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7997 # Only perform the check for file, if the check method requires it
7998 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7999 case $deplibs_check_method in
8001 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8003 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8004 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8005 $as_echo_n "(cached) " >&6
8009 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8012 lt_save_MAGIC_CMD="$MAGIC_CMD"
8013 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8014 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8015 for ac_dir in $ac_dummy; do
8017 test -z "$ac_dir" && ac_dir=.
8018 if test -f $ac_dir/${ac_tool_prefix}file; then
8019 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8020 if test -n "$file_magic_test_file"; then
8021 case $deplibs_check_method in
8023 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8024 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8026 $EGREP "$file_magic_regex" > /dev/null; then
8031 *** Warning: the command libtool uses to detect shared libraries,
8032 *** $file_magic_cmd, produces output that libtool cannot recognize.
8033 *** The result is that libtool may fail to recognize shared libraries
8034 *** as such. This will affect the creation of libtool libraries that
8035 *** depend on shared libraries, but programs linked with such libtool
8036 *** libraries will work regardless of this problem. Nevertheless, you
8037 *** may want to report the problem to your system manager and/or to
8038 *** bug-libtool@gnu.org
8048 MAGIC_CMD="$lt_save_MAGIC_CMD"
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if test -n "$MAGIC_CMD"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8056 $as_echo "$MAGIC_CMD" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8066 if test -z "$lt_cv_path_MAGIC_CMD"; then
8067 if test -n "$ac_tool_prefix"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8069 $as_echo_n "checking for file... " >&6; }
8070 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8071 $as_echo_n "(cached) " >&6
8075 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8078 lt_save_MAGIC_CMD="$MAGIC_CMD"
8079 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8080 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8081 for ac_dir in $ac_dummy; do
8083 test -z "$ac_dir" && ac_dir=.
8084 if test -f $ac_dir/file; then
8085 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8086 if test -n "$file_magic_test_file"; then
8087 case $deplibs_check_method in
8089 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8090 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8091 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8092 $EGREP "$file_magic_regex" > /dev/null; then
8097 *** Warning: the command libtool uses to detect shared libraries,
8098 *** $file_magic_cmd, produces output that libtool cannot recognize.
8099 *** The result is that libtool may fail to recognize shared libraries
8100 *** as such. This will affect the creation of libtool libraries that
8101 *** depend on shared libraries, but programs linked with such libtool
8102 *** libraries will work regardless of this problem. Nevertheless, you
8103 *** may want to report the problem to your system manager and/or to
8104 *** bug-libtool@gnu.org
8114 MAGIC_CMD="$lt_save_MAGIC_CMD"
8119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8120 if test -n "$MAGIC_CMD"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8122 $as_echo "$MAGIC_CMD" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8138 # Use C for the default configuration in the libtool script
8142 ac_cpp='$CPP $CPPFLAGS'
8143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8148 # Source file extension for C test sources.
8151 # Object file extension for compiled C test sources.
8155 # Code to be used in simple compile tests
8156 lt_simple_compile_test_code="int some_variable = 0;"
8158 # Code to be used in simple link tests
8159 lt_simple_link_test_code='int main(){return(0);}'
8167 # If no C compiler was specified, use CC.
8170 # If no C compiler flags were specified, use CFLAGS.
8171 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8173 # Allow CC to be a program name with arguments.
8176 # Save the default compiler, since it gets overwritten when the other
8177 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8178 compiler_DEFAULT=$CC
8180 # save warnings/boilerplate of simple test code
8181 ac_outfile=conftest.$ac_objext
8182 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8184 _lt_compiler_boilerplate=`cat conftest.err`
8187 ac_outfile=conftest.$ac_objext
8188 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8190 _lt_linker_boilerplate=`cat conftest.err`
8195 ## There is no encapsulation within the following macros, do not change
8196 ## the running order or otherwise move them around unless you know exactly
8197 ## what you are doing...
8198 if test -n "$compiler"; then
8200 lt_prog_compiler_no_builtin_flag=
8202 if test "$GCC" = yes; then
8203 case $cc_basename in
8205 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8207 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8211 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8212 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8213 $as_echo_n "(cached) " >&6
8215 lt_cv_prog_compiler_rtti_exceptions=no
8216 ac_outfile=conftest.$ac_objext
8217 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218 lt_compiler_flag="-fno-rtti -fno-exceptions"
8219 # Insert the option either (1) after the last *FLAGS variable, or
8220 # (2) before a word containing "conftest.", or (3) at the end.
8221 # Note that $ac_compile itself does not contain backslashes and begins
8222 # with a dollar sign (not a hyphen), so the echo should work correctly.
8223 # The option is referenced via a variable to avoid confusing sed.
8224 lt_compile=`echo "$ac_compile" | $SED \
8225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8227 -e 's:$: $lt_compiler_flag:'`
8228 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8229 (eval "$lt_compile" 2>conftest.err)
8231 cat conftest.err >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 if (exit $ac_status) && test -s "$ac_outfile"; then
8234 # The compiler can only warn and ignore the option if not recognized
8235 # So say no if there are warnings other than the usual output.
8236 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8237 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8238 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8239 lt_cv_prog_compiler_rtti_exceptions=yes
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8246 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8248 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8249 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8261 lt_prog_compiler_wl=
8262 lt_prog_compiler_pic=
8263 lt_prog_compiler_static=
8266 if test "$GCC" = yes; then
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_static='-static'
8272 # All AIX code is PIC.
8273 if test "$host_cpu" = ia64; then
8274 # AIX 5 now supports IA64 processor
8275 lt_prog_compiler_static='-Bstatic'
8282 # see comment about AmigaOS4 .so support
8283 lt_prog_compiler_pic='-fPIC'
8286 # FIXME: we need at least 68020 code to build shared libraries, but
8287 # adding the `-m68020' flag to GCC prevents building anything better,
8289 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8294 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8295 # PIC is the default for these OSes.
8298 mingw* | cygwin* | pw32* | os2* | cegcc*)
8299 # This hack is so that the source file can tell whether it is being
8300 # built for inclusion in a dll (and should export symbols for example).
8301 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8302 # (--disable-auto-import) libraries
8303 lt_prog_compiler_pic='-DDLL_EXPORT'
8306 darwin* | rhapsody*)
8307 # PIC is the default on this platform
8308 # Common symbols not allowed in MH_DYLIB files
8309 lt_prog_compiler_pic='-fno-common'
8313 # PIC is the default for Haiku.
8314 # The "-static" flag exists, but is broken.
8315 lt_prog_compiler_static=
8319 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8320 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8321 # sets the default TLS model and affects inlining.
8327 lt_prog_compiler_pic='-fPIC'
8333 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8334 # Instead, we relocate shared libraries at runtime.
8338 # Just because we use GCC doesn't mean we suddenly get shared libraries
8339 # on systems that don't support them.
8340 lt_prog_compiler_can_build_shared=no
8345 # QNX uses GNU C++, but need to define -shared option too, otherwise
8347 lt_prog_compiler_pic='-fPIC -shared'
8351 if test -d /usr/nec; then
8352 lt_prog_compiler_pic=-Kconform_pic
8357 lt_prog_compiler_pic='-fPIC'
8361 case $cc_basename in
8362 nvcc*) # Cuda Compiler Driver 2.2
8363 lt_prog_compiler_wl='-Xlinker '
8364 lt_prog_compiler_pic='-Xcompiler -fPIC'
8368 # PORTME Check for flag to pass linker flags through the system compiler.
8371 lt_prog_compiler_wl='-Wl,'
8372 if test "$host_cpu" = ia64; then
8373 # AIX 5 now supports IA64 processor
8374 lt_prog_compiler_static='-Bstatic'
8376 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8380 mingw* | cygwin* | pw32* | os2* | cegcc*)
8381 # This hack is so that the source file can tell whether it is being
8382 # built for inclusion in a dll (and should export symbols for example).
8383 lt_prog_compiler_pic='-DDLL_EXPORT'
8386 hpux9* | hpux10* | hpux11*)
8387 lt_prog_compiler_wl='-Wl,'
8388 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8395 lt_prog_compiler_pic='+Z'
8398 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8399 lt_prog_compiler_static='${wl}-a ${wl}archive'
8402 irix5* | irix6* | nonstopux*)
8403 lt_prog_compiler_wl='-Wl,'
8404 # PIC (with -KPIC) is the default.
8405 lt_prog_compiler_static='-non_shared'
8408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8409 case $cc_basename in
8410 # old Intel for x86_64 which still supported -KPIC.
8412 lt_prog_compiler_wl='-Wl,'
8413 lt_prog_compiler_pic='-KPIC'
8414 lt_prog_compiler_static='-static'
8416 # icc used to be incompatible with GCC.
8417 # ICC 10 doesn't accept -KPIC any more.
8419 lt_prog_compiler_wl='-Wl,'
8420 lt_prog_compiler_pic='-fPIC'
8421 lt_prog_compiler_static='-static'
8423 # Lahey Fortran 8.1.
8425 lt_prog_compiler_wl='-Wl,'
8426 lt_prog_compiler_pic='--shared'
8427 lt_prog_compiler_static='--static'
8430 # NAG Fortran compiler
8431 lt_prog_compiler_wl='-Wl,-Wl,,'
8432 lt_prog_compiler_pic='-PIC'
8433 lt_prog_compiler_static='-Bstatic'
8435 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8436 # Portland Group compilers (*not* the Pentium gcc compiler,
8437 # which looks to be a dead project)
8438 lt_prog_compiler_wl='-Wl,'
8439 lt_prog_compiler_pic='-fpic'
8440 lt_prog_compiler_static='-Bstatic'
8443 lt_prog_compiler_wl='-Wl,'
8444 # All Alpha code is PIC.
8445 lt_prog_compiler_static='-non_shared'
8447 xl* | bgxl* | bgf* | mpixl*)
8448 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-qpic'
8451 lt_prog_compiler_static='-qstaticlink'
8454 case `$CC -V 2>&1 | sed 5q` in
8455 *Sun\ F* | *Sun*Fortran*)
8456 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8457 lt_prog_compiler_pic='-KPIC'
8458 lt_prog_compiler_static='-Bstatic'
8459 lt_prog_compiler_wl=''
8463 lt_prog_compiler_pic='-KPIC'
8464 lt_prog_compiler_static='-Bstatic'
8465 lt_prog_compiler_wl='-Wl,'
8473 lt_prog_compiler_pic='-KPIC'
8474 lt_prog_compiler_static='-Bstatic'
8478 # QNX uses GNU C++, but need to define -shared option too, otherwise
8480 lt_prog_compiler_pic='-fPIC -shared'
8483 osf3* | osf4* | osf5*)
8484 lt_prog_compiler_wl='-Wl,'
8485 # All OSF/1 code is PIC.
8486 lt_prog_compiler_static='-non_shared'
8490 lt_prog_compiler_static='-non_shared'
8494 lt_prog_compiler_pic='-KPIC'
8495 lt_prog_compiler_static='-Bstatic'
8496 case $cc_basename in
8497 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8498 lt_prog_compiler_wl='-Qoption ld ';;
8500 lt_prog_compiler_wl='-Wl,';;
8505 lt_prog_compiler_wl='-Qoption ld '
8506 lt_prog_compiler_pic='-PIC'
8507 lt_prog_compiler_static='-Bstatic'
8510 sysv4 | sysv4.2uw2* | sysv4.3*)
8511 lt_prog_compiler_wl='-Wl,'
8512 lt_prog_compiler_pic='-KPIC'
8513 lt_prog_compiler_static='-Bstatic'
8517 if test -d /usr/nec ;then
8518 lt_prog_compiler_pic='-Kconform_pic'
8519 lt_prog_compiler_static='-Bstatic'
8523 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_pic='-KPIC'
8526 lt_prog_compiler_static='-Bstatic'
8530 lt_prog_compiler_wl='-Wl,'
8531 lt_prog_compiler_can_build_shared=no
8535 lt_prog_compiler_pic='-pic'
8536 lt_prog_compiler_static='-Bstatic'
8540 lt_prog_compiler_can_build_shared=no
8546 # For platforms which do not support PIC, -DPIC is meaningless:
8548 lt_prog_compiler_pic=
8551 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8556 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8557 if ${lt_cv_prog_compiler_pic+:} false; then :
8558 $as_echo_n "(cached) " >&6
8560 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8563 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8564 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8567 # Check to make sure the PIC flag actually works.
8569 if test -n "$lt_prog_compiler_pic"; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8571 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8572 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8573 $as_echo_n "(cached) " >&6
8575 lt_cv_prog_compiler_pic_works=no
8576 ac_outfile=conftest.$ac_objext
8577 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8578 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8579 # Insert the option either (1) after the last *FLAGS variable, or
8580 # (2) before a word containing "conftest.", or (3) at the end.
8581 # Note that $ac_compile itself does not contain backslashes and begins
8582 # with a dollar sign (not a hyphen), so the echo should work correctly.
8583 # The option is referenced via a variable to avoid confusing sed.
8584 lt_compile=`echo "$ac_compile" | $SED \
8585 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8586 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8587 -e 's:$: $lt_compiler_flag:'`
8588 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8589 (eval "$lt_compile" 2>conftest.err)
8591 cat conftest.err >&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 if (exit $ac_status) && test -s "$ac_outfile"; then
8594 # The compiler can only warn and ignore the option if not recognized
8595 # So say no if there are warnings other than the usual output.
8596 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8597 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8598 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8599 lt_cv_prog_compiler_pic_works=yes
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8606 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8608 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8609 case $lt_prog_compiler_pic in
8611 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8614 lt_prog_compiler_pic=
8615 lt_prog_compiler_can_build_shared=no
8631 # Check to make sure the static flag actually works.
8633 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8635 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8636 if ${lt_cv_prog_compiler_static_works+:} false; then :
8637 $as_echo_n "(cached) " >&6
8639 lt_cv_prog_compiler_static_works=no
8640 save_LDFLAGS="$LDFLAGS"
8641 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8642 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8643 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8644 # The linker can only warn and ignore the option if not recognized
8645 # So say no if there are warnings
8646 if test -s conftest.err; then
8647 # Append any errors to the config.log.
8648 cat conftest.err 1>&5
8649 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8650 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8651 if diff conftest.exp conftest.er2 >/dev/null; then
8652 lt_cv_prog_compiler_static_works=yes
8655 lt_cv_prog_compiler_static_works=yes
8659 LDFLAGS="$save_LDFLAGS"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8663 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8665 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8668 lt_prog_compiler_static=
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8679 if ${lt_cv_prog_compiler_c_o+:} false; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_prog_compiler_c_o=no
8683 $RM -r conftest 2>/dev/null
8687 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8689 lt_compiler_flag="-o out/conftest2.$ac_objext"
8690 # Insert the option either (1) after the last *FLAGS variable, or
8691 # (2) before a word containing "conftest.", or (3) at the end.
8692 # Note that $ac_compile itself does not contain backslashes and begins
8693 # with a dollar sign (not a hyphen), so the echo should work correctly.
8694 lt_compile=`echo "$ac_compile" | $SED \
8695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8697 -e 's:$: $lt_compiler_flag:'`
8698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8699 (eval "$lt_compile" 2>out/conftest.err)
8701 cat out/conftest.err >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8705 # The compiler can only warn and ignore the option if not recognized
8706 # So say no if there are warnings
8707 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8708 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8709 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8710 lt_cv_prog_compiler_c_o=yes
8715 # SGI C++ compiler will create directory out/ii_files/ for
8716 # template instantiation
8717 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8718 $RM out/* && rmdir out
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8734 if ${lt_cv_prog_compiler_c_o+:} false; then :
8735 $as_echo_n "(cached) " >&6
8737 lt_cv_prog_compiler_c_o=no
8738 $RM -r conftest 2>/dev/null
8742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8744 lt_compiler_flag="-o out/conftest2.$ac_objext"
8745 # Insert the option either (1) after the last *FLAGS variable, or
8746 # (2) before a word containing "conftest.", or (3) at the end.
8747 # Note that $ac_compile itself does not contain backslashes and begins
8748 # with a dollar sign (not a hyphen), so the echo should work correctly.
8749 lt_compile=`echo "$ac_compile" | $SED \
8750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8752 -e 's:$: $lt_compiler_flag:'`
8753 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8754 (eval "$lt_compile" 2>out/conftest.err)
8756 cat out/conftest.err >&5
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8760 # The compiler can only warn and ignore the option if not recognized
8761 # So say no if there are warnings
8762 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8763 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8764 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8765 lt_cv_prog_compiler_c_o=yes
8770 # SGI C++ compiler will create directory out/ii_files/ for
8771 # template instantiation
8772 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8773 $RM out/* && rmdir out
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8785 hard_links="nottested"
8786 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8787 # do not overwrite the value of need_locks provided by the user
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8789 $as_echo_n "checking if we can lock with hard links... " >&6; }
8792 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8794 ln conftest.a conftest.b 2>&5 || hard_links=no
8795 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8797 $as_echo "$hard_links" >&6; }
8798 if test "$hard_links" = no; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8800 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8813 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8816 allow_undefined_flag=
8817 always_export_symbols=no
8819 archive_expsym_cmds=
8820 compiler_needs_object=no
8821 enable_shared_with_static_runtimes=no
8822 export_dynamic_flag_spec=
8823 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8824 hardcode_automatic=no
8826 hardcode_direct_absolute=no
8827 hardcode_libdir_flag_spec=
8828 hardcode_libdir_flag_spec_ld=
8829 hardcode_libdir_separator=
8831 hardcode_shlibpath_var=unsupported
8833 link_all_deplibs=unknown
8836 old_archive_from_new_cmds=
8837 old_archive_from_expsyms_cmds=
8838 thread_safe_flag_spec=
8839 whole_archive_flag_spec=
8840 # include_expsyms should be a list of space-separated symbols to be *always*
8841 # included in the symbol list
8843 # exclude_expsyms can be an extended regexp of symbols to exclude
8844 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8845 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8846 # as well as any symbol that contains `d'.
8847 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8848 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8849 # platforms (ab)use it in PIC code, but their linkers get confused if
8850 # the symbol is explicitly referenced. Since portable code cannot
8851 # rely on this symbol name, it's probably fine to never include it in
8852 # preloaded symbol tables.
8853 # Exclude shared library initialization/finalization symbols.
8854 extract_expsyms_cmds=
8857 cygwin* | mingw* | pw32* | cegcc*)
8858 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8859 # When not using gcc, we currently assume that we are using
8860 # Microsoft Visual C++.
8861 if test "$GCC" != yes; then
8866 # we just hope/assume this is gcc and not c89 (= MSVC++)
8876 # On some targets, GNU ld is compatible enough with the native linker
8877 # that we're better off using the native interface for both.
8878 lt_use_gnu_ld_interface=no
8879 if test "$with_gnu_ld" = yes; then
8882 # The AIX port of GNU ld has always aspired to compatibility
8883 # with the native linker. However, as the warning in the GNU ld
8884 # block says, versions before 2.19.5* couldn't really create working
8885 # shared libraries, regardless of the interface used.
8886 case `$LD -v 2>&1` in
8887 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8888 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8889 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8891 lt_use_gnu_ld_interface=yes
8896 lt_use_gnu_ld_interface=yes
8901 if test "$lt_use_gnu_ld_interface" = yes; then
8902 # If archive_cmds runs LD, not CC, wlarc should be empty
8905 # Set some defaults for GNU ld with shared library support. These
8906 # are reset later if shared libraries are not supported. Putting them
8907 # here allows them to be overridden if necessary.
8908 runpath_var=LD_RUN_PATH
8909 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8910 export_dynamic_flag_spec='${wl}--export-dynamic'
8911 # ancient GNU ld didn't support --whole-archive et. al.
8912 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8913 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8915 whole_archive_flag_spec=
8917 supports_anon_versioning=no
8918 case `$LD -v 2>&1` in
8919 *GNU\ gold*) supports_anon_versioning=yes ;;
8920 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8921 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8922 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8923 *\ 2.11.*) ;; # other 2.11 versions
8924 *) supports_anon_versioning=yes ;;
8927 # See if GNU ld supports shared libraries.
8930 # On AIX/PPC, the GNU linker is very broken
8931 if test "$host_cpu" != ia64; then
8935 *** Warning: the GNU linker, at least up to release 2.19, is reported
8936 *** to be unable to reliably create shared libraries on AIX.
8937 *** Therefore, libtool is disabling shared libraries support. If you
8938 *** really care for shared libraries, you may want to install binutils
8939 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8940 *** You will then need to restart the configuration process.
8949 # see comment about AmigaOS4 .so support
8950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8951 archive_expsym_cmds=''
8954 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)'
8955 hardcode_libdir_flag_spec='-L$libdir'
8956 hardcode_minus_L=yes
8962 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8963 allow_undefined_flag=unsupported
8964 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8965 # support --undefined. This deserves some investigation. FIXME
8966 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8972 cygwin* | mingw* | pw32* | cegcc*)
8973 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8974 # as there is no search path for DLLs.
8975 hardcode_libdir_flag_spec='-L$libdir'
8976 export_dynamic_flag_spec='${wl}--export-all-symbols'
8977 allow_undefined_flag=unsupported
8978 always_export_symbols=no
8979 enable_shared_with_static_runtimes=yes
8980 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'
8981 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8983 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8984 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8985 # If the export-symbols file already is a .def file (1st line
8986 # is EXPORTS), use it as is; otherwise, prepend...
8987 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8988 cp $export_symbols $output_objdir/$soname.def;
8990 echo EXPORTS > $output_objdir/$soname.def;
8991 cat $export_symbols >> $output_objdir/$soname.def;
8993 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9000 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001 link_all_deplibs=yes
9006 hardcode_shlibpath_var=no
9007 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9008 export_dynamic_flag_spec='${wl}-E'
9009 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9010 # Instead, shared libraries are loaded at an image base (0x10000000 by
9011 # default) and relocated if they conflict, which is a slow very memory
9012 # consuming and fragmenting process. To avoid this, we pick a random,
9013 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9014 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9015 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9016 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'
9019 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9021 if test "$host_os" = linux-dietlibc; then
9022 case $cc_basename in
9023 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9026 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9027 && test "$tmp_diet" = no
9029 tmp_addflag=' $pic_flag'
9030 tmp_sharedflag='-shared'
9031 case $cc_basename,$host_cpu in
9032 pgcc*) # Portland Group C compiler
9033 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'
9034 tmp_addflag=' $pic_flag'
9036 pgf77* | pgf90* | pgf95* | pgfortran*)
9037 # Portland Group f77 and f90 compilers
9038 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'
9039 tmp_addflag=' $pic_flag -Mnomain' ;;
9040 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9041 tmp_addflag=' -i_dynamic' ;;
9042 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9043 tmp_addflag=' -i_dynamic -nofor_main' ;;
9044 ifc* | ifort*) # Intel Fortran compiler
9045 tmp_addflag=' -nofor_main' ;;
9046 lf95*) # Lahey Fortran 8.1
9047 whole_archive_flag_spec=
9048 tmp_sharedflag='--shared' ;;
9049 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9050 tmp_sharedflag='-qmkshrobj'
9052 nvcc*) # Cuda Compiler Driver 2.2
9053 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'
9054 compiler_needs_object=yes
9057 case `$CC -V 2>&1 | sed 5q` in
9058 *Sun\ C*) # Sun C 5.9
9059 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'
9060 compiler_needs_object=yes
9061 tmp_sharedflag='-G' ;;
9062 *Sun\ F*) # Sun Fortran 8.3
9063 tmp_sharedflag='-G' ;;
9065 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9067 if test "x$supports_anon_versioning" = xyes; then
9068 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9069 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9070 echo "local: *; };" >> $output_objdir/$libname.ver~
9071 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9074 case $cc_basename in
9075 xlf* | bgf* | bgxlf* | mpixlf*)
9076 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9077 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9080 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9081 if test "x$supports_anon_versioning" = xyes; then
9082 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9083 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9084 echo "local: *; };" >> $output_objdir/$libname.ver~
9085 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9095 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9096 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9099 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9105 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9109 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9110 *** create shared libraries on Solaris systems. Therefore, libtool
9111 *** is disabling shared libraries support. We urge you to upgrade GNU
9112 *** binutils to release 2.9.1 or newer. Another option is to modify
9113 *** your PATH or compiler configuration so that the native linker is
9114 *** used, and then restart.
9117 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9118 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9125 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9126 case `$LD -v 2>&1` in
9127 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9131 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9132 *** reliably create shared libraries on SCO systems. Therefore, libtool
9133 *** is disabling shared libraries support. We urge you to upgrade GNU
9134 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9135 *** your PATH or compiler configuration so that the native linker is
9136 *** used, and then restart.
9141 # For security reasons, it is highly recommended that you always
9142 # use absolute paths for naming shared libraries, and exclude the
9143 # DT_RUNPATH tag from executables and libraries. But doing so
9144 # requires that you compile everything twice, which is a pain.
9145 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9146 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9147 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9157 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9160 hardcode_shlibpath_var=no
9164 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9165 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9173 if test "$ld_shlibs" = no; then
9175 hardcode_libdir_flag_spec=
9176 export_dynamic_flag_spec=
9177 whole_archive_flag_spec=
9180 # PORTME fill in a description of your system's linker (not GNU ld)
9183 allow_undefined_flag=unsupported
9184 always_export_symbols=yes
9185 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'
9186 # Note: this linker hardcodes the directories in LIBPATH if there
9187 # are no directories specified by -L.
9188 hardcode_minus_L=yes
9189 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9190 # Neither direct hardcoding nor static linking is supported with a
9192 hardcode_direct=unsupported
9197 if test "$host_cpu" = ia64; then
9198 # On IA64, the linker does run time linking by default, so we don't
9199 # have to do anything special.
9200 aix_use_runtimelinking=no
9201 exp_sym_flag='-Bexport'
9204 # If we're using GNU nm, then we don't want the "-C" option.
9205 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9206 # Also, AIX nm treats weak defined symbols like other global
9207 # defined symbols, whereas GNU nm marks them as "W".
9208 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9209 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'
9211 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'
9213 aix_use_runtimelinking=no
9215 # Test if we are trying to use run time linking or normal
9216 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9217 # need to do runtime linking.
9218 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9219 for ld_flag in $LDFLAGS; do
9220 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9221 aix_use_runtimelinking=yes
9228 exp_sym_flag='-bexport'
9229 no_entry_flag='-bnoentry'
9232 # When large executables or shared objects are built, AIX ld can
9233 # have problems creating the table of contents. If linking a library
9234 # or program results in "error TOC overflow" add -mminimal-toc to
9235 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9236 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9240 hardcode_direct_absolute=yes
9241 hardcode_libdir_separator=':'
9242 link_all_deplibs=yes
9243 file_list_spec='${wl}-f,'
9245 if test "$GCC" = yes; then
9246 case $host_os in aix4.[012]|aix4.[012].*)
9247 # We only want to do this on AIX 4.2 and lower, the check
9248 # below for broken collect2 doesn't work under 4.3+
9249 collect2name=`${CC} -print-prog-name=collect2`
9250 if test -f "$collect2name" &&
9251 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9253 # We have reworked collect2
9256 # We have old collect2
9257 hardcode_direct=unsupported
9258 # It fails to find uninstalled libraries when the uninstalled
9259 # path is not listed in the libpath. Setting hardcode_minus_L
9260 # to unsupported forces relinking
9261 hardcode_minus_L=yes
9262 hardcode_libdir_flag_spec='-L$libdir'
9263 hardcode_libdir_separator=
9267 shared_flag='-shared'
9268 if test "$aix_use_runtimelinking" = yes; then
9269 shared_flag="$shared_flag "'${wl}-G'
9273 if test "$host_cpu" = ia64; then
9274 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9275 # chokes on -Wl,-G. The following line is correct:
9278 if test "$aix_use_runtimelinking" = yes; then
9279 shared_flag='${wl}-G'
9281 shared_flag='${wl}-bM:SRE'
9286 export_dynamic_flag_spec='${wl}-bexpall'
9287 # It seems that -bexpall does not export symbols beginning with
9288 # underscore (_), so it is better to generate a list of symbols to export.
9289 always_export_symbols=yes
9290 if test "$aix_use_runtimelinking" = yes; then
9291 # Warning - without using the other runtime loading flags (-brtl),
9292 # -berok will link without error, but may produce a broken library.
9293 allow_undefined_flag='-berok'
9294 # Determine the default libpath from the value encoded in an
9296 if test "${lt_cv_aix_libpath+set}" = set; then
9297 aix_libpath=$lt_cv_aix_libpath
9299 if ${lt_cv_aix_libpath_+:} false; then :
9300 $as_echo_n "(cached) " >&6
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9313 if ac_fn_c_try_link "$LINENO"; then :
9315 lt_aix_libpath_sed='
9316 /Import File Strings/,/^$/ {
9318 s/^0 *\([^ ]*\) *$/\1/
9322 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9323 # Check for a 64-bit object if we didn't find anything.
9324 if test -z "$lt_cv_aix_libpath_"; then
9325 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 if test -z "$lt_cv_aix_libpath_"; then
9331 lt_cv_aix_libpath_="/usr/lib:/lib"
9336 aix_libpath=$lt_cv_aix_libpath_
9339 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9340 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"
9342 if test "$host_cpu" = ia64; then
9343 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9344 allow_undefined_flag="-z nodefs"
9345 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"
9347 # Determine the default libpath from the value encoded in an
9349 if test "${lt_cv_aix_libpath+set}" = set; then
9350 aix_libpath=$lt_cv_aix_libpath
9352 if ${lt_cv_aix_libpath_+:} false; then :
9353 $as_echo_n "(cached) " >&6
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9366 if ac_fn_c_try_link "$LINENO"; then :
9368 lt_aix_libpath_sed='
9369 /Import File Strings/,/^$/ {
9371 s/^0 *\([^ ]*\) *$/\1/
9375 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376 # Check for a 64-bit object if we didn't find anything.
9377 if test -z "$lt_cv_aix_libpath_"; then
9378 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 if test -z "$lt_cv_aix_libpath_"; then
9384 lt_cv_aix_libpath_="/usr/lib:/lib"
9389 aix_libpath=$lt_cv_aix_libpath_
9392 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9393 # Warning - without using the other run time loading flags,
9394 # -berok will link without error, but may produce a broken library.
9395 no_undefined_flag=' ${wl}-bernotok'
9396 allow_undefined_flag=' ${wl}-berok'
9397 if test "$with_gnu_ld" = yes; then
9398 # We only use this code for GNU lds that support --whole-archive.
9399 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9401 # Exported symbols can be pulled into shared objects from archives
9402 whole_archive_flag_spec='$convenience'
9404 archive_cmds_need_lc=yes
9405 # This is similar to how AIX traditionally builds its shared libraries.
9406 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'
9414 # see comment about AmigaOS4 .so support
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds=''
9419 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)'
9420 hardcode_libdir_flag_spec='-L$libdir'
9421 hardcode_minus_L=yes
9427 export_dynamic_flag_spec=-rdynamic
9430 cygwin* | mingw* | pw32* | cegcc*)
9431 # When not using gcc, we currently assume that we are using
9432 # Microsoft Visual C++.
9433 # hardcode_libdir_flag_spec is actually meaningless, as there is
9434 # no search path for DLLs.
9435 case $cc_basename in
9438 hardcode_libdir_flag_spec=' '
9439 allow_undefined_flag=unsupported
9440 always_export_symbols=yes
9442 # Tell ltmain to make .lib files, not .a files.
9444 # Tell ltmain to make .dll files, not .so files.
9446 # FIXME: Setting linknames here is a bad hack.
9447 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9448 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9449 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9451 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9453 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9455 # The linker will not automatically build a static lib if we build a DLL.
9456 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9457 enable_shared_with_static_runtimes=yes
9458 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9460 old_postinstall_cmds='chmod 644 $oldlib'
9461 postlink_cmds='lt_outputfile="@OUTPUT@"~
9462 lt_tool_outputfile="@TOOL_OUTPUT@"~
9463 case $lt_outputfile in
9466 lt_outputfile="$lt_outputfile.exe"
9467 lt_tool_outputfile="$lt_tool_outputfile.exe"
9470 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9471 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9472 $RM "$lt_outputfile.manifest";
9476 # Assume MSVC wrapper
9477 hardcode_libdir_flag_spec=' '
9478 allow_undefined_flag=unsupported
9479 # Tell ltmain to make .lib files, not .a files.
9481 # Tell ltmain to make .dll files, not .so files.
9483 # FIXME: Setting linknames here is a bad hack.
9484 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9485 # The linker will automatically build a .lib file if we build a DLL.
9486 old_archive_from_new_cmds='true'
9487 # FIXME: Should let the user specify the lib program.
9488 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9489 enable_shared_with_static_runtimes=yes
9494 darwin* | rhapsody*)
9497 archive_cmds_need_lc=no
9499 hardcode_automatic=yes
9500 hardcode_shlibpath_var=unsupported
9501 if test "$lt_cv_ld_force_load" = "yes"; then
9502 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\"`'
9504 whole_archive_flag_spec=''
9506 link_all_deplibs=yes
9507 allow_undefined_flag="$_lt_dar_allow_undefined"
9508 case $cc_basename in
9509 ifort*) _lt_dar_can_shared=yes ;;
9510 *) _lt_dar_can_shared=$GCC ;;
9512 if test "$_lt_dar_can_shared" = "yes"; then
9513 output_verbose_link_cmd=func_echo_all
9514 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9515 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9516 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}"
9517 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}"
9526 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9527 hardcode_libdir_flag_spec='-L$libdir'
9528 hardcode_shlibpath_var=no
9535 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9536 # support. Future versions do this automatically, but an explicit c++rt0.o
9537 # does not break anything, and helps significantly (at the cost of a little
9540 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9541 hardcode_libdir_flag_spec='-R$libdir'
9543 hardcode_shlibpath_var=no
9546 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9548 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9550 hardcode_minus_L=yes
9551 hardcode_shlibpath_var=no
9554 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9555 freebsd* | dragonfly*)
9556 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9557 hardcode_libdir_flag_spec='-R$libdir'
9559 hardcode_shlibpath_var=no
9563 if test "$GCC" = yes; then
9564 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'
9566 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'
9568 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9569 hardcode_libdir_separator=:
9572 # hardcode_minus_L: Not really in the search PATH,
9573 # but as the default location of the library.
9574 hardcode_minus_L=yes
9575 export_dynamic_flag_spec='${wl}-E'
9579 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9580 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9584 if test "$with_gnu_ld" = no; then
9585 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9586 hardcode_libdir_flag_spec_ld='+b $libdir'
9587 hardcode_libdir_separator=:
9589 hardcode_direct_absolute=yes
9590 export_dynamic_flag_spec='${wl}-E'
9591 # hardcode_minus_L: Not really in the search PATH,
9592 # but as the default location of the library.
9593 hardcode_minus_L=yes
9598 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9601 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9604 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9607 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9613 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9620 # Older versions of the 11.00 compiler do not understand -b yet
9621 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9623 $as_echo_n "checking if $CC understands -b... " >&6; }
9624 if ${lt_cv_prog_compiler__b+:} false; then :
9625 $as_echo_n "(cached) " >&6
9627 lt_cv_prog_compiler__b=no
9628 save_LDFLAGS="$LDFLAGS"
9629 LDFLAGS="$LDFLAGS -b"
9630 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9631 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9632 # The linker can only warn and ignore the option if not recognized
9633 # So say no if there are warnings
9634 if test -s conftest.err; then
9635 # Append any errors to the config.log.
9636 cat conftest.err 1>&5
9637 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9639 if diff conftest.exp conftest.er2 >/dev/null; then
9640 lt_cv_prog_compiler__b=yes
9643 lt_cv_prog_compiler__b=yes
9647 LDFLAGS="$save_LDFLAGS"
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9651 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9653 if test x"$lt_cv_prog_compiler__b" = xyes; then
9654 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9662 if test "$with_gnu_ld" = no; then
9663 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9664 hardcode_libdir_separator=:
9669 hardcode_shlibpath_var=no
9673 hardcode_direct_absolute=yes
9674 export_dynamic_flag_spec='${wl}-E'
9676 # hardcode_minus_L: Not really in the search PATH,
9677 # but as the default location of the library.
9678 hardcode_minus_L=yes
9684 irix5* | irix6* | nonstopux*)
9685 if test "$GCC" = yes; then
9686 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'
9687 # Try to use the -exported_symbol ld option, if it does not
9688 # work, assume that -exports_file does not work either and
9689 # implicitly export all symbols.
9690 # This should be the same for all languages, so no per-tag cache variable.
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9692 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9693 if ${lt_cv_irix_exported_symbol+:} false; then :
9694 $as_echo_n "(cached) " >&6
9696 save_LDFLAGS="$LDFLAGS"
9697 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9700 int foo (void) { return 0; }
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 lt_cv_irix_exported_symbol=yes
9705 lt_cv_irix_exported_symbol=no
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LDFLAGS="$save_LDFLAGS"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9712 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9713 if test "$lt_cv_irix_exported_symbol" = yes; then
9714 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'
9717 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'
9718 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'
9720 archive_cmds_need_lc='no'
9721 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9722 hardcode_libdir_separator=:
9724 link_all_deplibs=yes
9728 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9731 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9733 hardcode_libdir_flag_spec='-R$libdir'
9735 hardcode_shlibpath_var=no
9739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742 hardcode_libdir_separator=:
9743 hardcode_shlibpath_var=no
9750 if test -f /usr/libexec/ld.so; then
9752 hardcode_shlibpath_var=no
9753 hardcode_direct_absolute=yes
9754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9755 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9757 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9758 export_dynamic_flag_spec='${wl}-E'
9761 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9763 hardcode_libdir_flag_spec='-R$libdir'
9766 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9767 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9777 hardcode_libdir_flag_spec='-L$libdir'
9778 hardcode_minus_L=yes
9779 allow_undefined_flag=unsupported
9780 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'
9781 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9785 if test "$GCC" = yes; then
9786 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9787 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'
9789 allow_undefined_flag=' -expect_unresolved \*'
9790 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'
9792 archive_cmds_need_lc='no'
9793 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9794 hardcode_libdir_separator=:
9797 osf4* | osf5*) # as osf3* with the addition of -msym flag
9798 if test "$GCC" = yes; then
9799 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9800 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'
9801 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9803 allow_undefined_flag=' -expect_unresolved \*'
9804 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'
9805 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~
9806 $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'
9808 # Both c and cxx compiler support -rpath directly
9809 hardcode_libdir_flag_spec='-rpath $libdir'
9811 archive_cmds_need_lc='no'
9812 hardcode_libdir_separator=:
9816 no_undefined_flag=' -z defs'
9817 if test "$GCC" = yes; then
9819 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9820 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9821 $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'
9823 case `$CC -V 2>&1` in
9826 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9832 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9834 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9838 hardcode_libdir_flag_spec='-R$libdir'
9839 hardcode_shlibpath_var=no
9841 solaris2.[0-5] | solaris2.[0-5].*) ;;
9843 # The compiler driver will combine and reorder linker options,
9844 # but understands `-z linker_flag'. GCC discards it without `$wl',
9845 # but is careful enough not to reorder.
9846 # Supported since Solaris 2.6 (maybe 2.5.1?)
9847 if test "$GCC" = yes; then
9848 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9850 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9854 link_all_deplibs=yes
9858 if test "x$host_vendor" = xsequent; then
9859 # Use $CC to link under sequent, because it throws in some extra .o
9860 # files that make .init and .fini sections work.
9861 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9863 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_libdir_flag_spec='-L$libdir'
9867 hardcode_minus_L=yes
9868 hardcode_shlibpath_var=no
9872 case $host_vendor in
9874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_direct=yes # is this really true???
9878 ## LD is ld it makes a PLAMLIB
9879 ## CC just makes a GrossModule.
9880 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9881 reload_cmds='$CC -r -o $output$reload_objs'
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9889 runpath_var='LD_RUN_PATH'
9890 hardcode_shlibpath_var=no
9894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895 hardcode_shlibpath_var=no
9896 export_dynamic_flag_spec='-Bexport'
9900 if test -d /usr/nec; then
9901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_shlibpath_var=no
9903 runpath_var=LD_RUN_PATH
9904 hardcode_runpath_var=yes
9909 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9910 no_undefined_flag='${wl}-z,text'
9911 archive_cmds_need_lc=no
9912 hardcode_shlibpath_var=no
9913 runpath_var='LD_RUN_PATH'
9915 if test "$GCC" = yes; then
9916 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9924 sysv5* | sco3.2v5* | sco5v6*)
9925 # Note: We can NOT use -z defs as we might desire, because we do not
9926 # link with -lc, and that would cause any symbols used from libc to
9927 # always be unresolved, which means just about no library would
9928 # ever link correctly. If we're not using GNU ld we use -z text
9929 # though, which does catch some bad symbols but isn't as heavy-handed
9931 no_undefined_flag='${wl}-z,text'
9932 allow_undefined_flag='${wl}-z,nodefs'
9933 archive_cmds_need_lc=no
9934 hardcode_shlibpath_var=no
9935 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9936 hardcode_libdir_separator=':'
9937 link_all_deplibs=yes
9938 export_dynamic_flag_spec='${wl}-Bexport'
9939 runpath_var='LD_RUN_PATH'
9941 if test "$GCC" = yes; then
9942 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952 hardcode_libdir_flag_spec='-L$libdir'
9953 hardcode_shlibpath_var=no
9961 if test x$host_vendor = xsni; then
9963 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9964 export_dynamic_flag_spec='${wl}-Blargedynsym'
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9971 $as_echo "$ld_shlibs" >&6; }
9972 test "$ld_shlibs" = no && can_build_shared=no
9974 with_gnu_ld=$with_gnu_ld
9991 # Do we need to explicitly link libc?
9993 case "x$archive_cmds_need_lc" in
9995 # Assume -lc should be added
9996 archive_cmds_need_lc=yes
9998 if test "$enable_shared" = yes && test "$GCC" = yes; then
9999 case $archive_cmds in
10001 # FIXME: we may have to deal with multi-command sequences.
10004 # Test whether the compiler implicitly links with -lc since on some
10005 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10006 # to ld, don't add -lc before -lgcc.
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10008 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10009 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10010 $as_echo_n "(cached) " >&6
10013 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10016 (eval $ac_compile) 2>&5
10018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10019 test $ac_status = 0; } 2>conftest.err; then
10022 libobjs=conftest.$ac_objext
10024 wl=$lt_prog_compiler_wl
10025 pic_flag=$lt_prog_compiler_pic
10031 lt_save_allow_undefined_flag=$allow_undefined_flag
10032 allow_undefined_flag=
10033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10034 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10037 test $ac_status = 0; }
10039 lt_cv_archive_cmds_need_lc=no
10041 lt_cv_archive_cmds_need_lc=yes
10043 allow_undefined_flag=$lt_save_allow_undefined_flag
10045 cat conftest.err 1>&5
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10051 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10052 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10218 if test "$GCC" = yes; then
10220 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10221 *) lt_awk_arg="/^libraries:/" ;;
10224 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10225 *) lt_sed_strip_eq="s,=/,/,g" ;;
10227 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10228 case $lt_search_path_spec in
10230 # if the path contains ";" then we assume it to be the separator
10231 # otherwise default to the standard path separator (i.e. ":") - it is
10232 # assumed that no part of a normal pathname contains ";" but that should
10233 # okay in the real world where ";" in dirpaths is itself problematic.
10234 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10237 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10240 # Ok, now we have the path, separated by spaces, we can step through it
10241 # and add multilib dir if necessary.
10242 lt_tmp_lt_search_path_spec=
10243 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10244 for lt_sys_path in $lt_search_path_spec; do
10245 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10246 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10248 test -d "$lt_sys_path" && \
10249 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10252 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10253 BEGIN {RS=" "; FS="/|\n";} {
10256 for (lt_i = NF; lt_i > 0; lt_i--) {
10257 if ($lt_i != "" && $lt_i != ".") {
10258 if ($lt_i == "..") {
10261 if (lt_count == 0) {
10262 lt_foo="/" $lt_i lt_foo;
10269 if (lt_foo != "") { lt_freq[lt_foo]++; }
10270 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10272 # AWK program above erroneously prepends '/' to C:/dos/paths
10275 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10276 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10278 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10280 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10282 library_names_spec=
10283 libname_spec='lib$name'
10287 postuninstall_cmds=
10291 shlibpath_overrides_runpath=unknown
10293 dynamic_linker="$host_os ld.so"
10294 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10295 need_lib_prefix=unknown
10296 hardcode_into_libs=no
10298 # when you set need_version to no, make sure it does not cause -set_version
10299 # flags to be left without arguments
10300 need_version=unknown
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10306 shlibpath_var=LIBPATH
10308 # AIX 3 has no versioning support, so we append a major version to the name.
10309 soname_spec='${libname}${release}${shared_ext}$major'
10316 hardcode_into_libs=yes
10317 if test "$host_cpu" = ia64; then
10318 # AIX 5 supports IA64
10319 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10320 shlibpath_var=LD_LIBRARY_PATH
10322 # With GCC up to 2.95.x, collect2 would create an import file
10323 # for dependence libraries. The import file would start with
10324 # the line `#! .'. This would cause the generated library to
10325 # depend on `.', always an invalid library. This was fixed in
10326 # development snapshots of GCC prior to 3.0.
10328 aix4 | aix4.[01] | aix4.[01].*)
10329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10331 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10334 can_build_shared=no
10338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10339 # soname into executable. Probably we can add versioning support to
10340 # collect2, so additional links can be useful in future.
10341 if test "$aix_use_runtimelinking" = yes; then
10342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10343 # instead of lib<name>.a to let people know that these are not
10344 # typical AIX shared libraries.
10345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 # We preserve .a as extension for shared libraries through AIX4.2
10348 # and later when we are not doing run time linking.
10349 library_names_spec='${libname}${release}.a $libname.a'
10350 soname_spec='${libname}${release}${shared_ext}$major'
10352 shlibpath_var=LIBPATH
10359 # Since July 2007 AmigaOS4 officially supports .so libraries.
10360 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 library_names_spec='$libname.ixlibrary $libname.a'
10365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10366 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'
10372 library_names_spec='${libname}${shared_ext}'
10373 dynamic_linker="$host_os ld.so"
10374 shlibpath_var=LIBRARY_PATH
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381 soname_spec='${libname}${release}${shared_ext}$major'
10382 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10383 shlibpath_var=LD_LIBRARY_PATH
10384 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10385 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10386 # the default ld.so.conf also contains /usr/contrib/lib and
10387 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10388 # libtool to hard-code these into programs
10391 cygwin* | mingw* | pw32* | cegcc*)
10392 version_type=windows
10397 case $GCC,$cc_basename in
10400 library_names_spec='$libname.dll.a'
10401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10402 postinstall_cmds='base_file=`basename \${file}`~
10403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10404 dldir=$destdir/`dirname \$dlpath`~
10405 test -d \$dldir || mkdir -p \$dldir~
10406 $install_prog $dir/$dlname \$dldir/$dlname~
10407 chmod a+x \$dldir/$dlname~
10408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10412 dlpath=$dir/\$dldll~
10414 shlibpath_overrides_runpath=yes
10418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10421 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10424 # MinGW DLLs use traditional 'lib' prefix
10425 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10428 # pw32 DLLs use 'pw' prefix rather than 'lib'
10429 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10432 dynamic_linker='Win32 ld.exe'
10437 libname_spec='$name'
10438 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439 library_names_spec='${libname}.dll.lib'
10443 sys_lib_search_path_spec=
10446 for lt_path in $LIB
10449 # Let DOS variable expansion print the short 8.3 style file name.
10450 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10451 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10454 # Convert to MSYS style.
10455 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10458 # Convert to unix form, then to dos form, then back to unix form
10459 # but this time dos style (no spaces!) so that the unix form looks
10460 # like /cygdrive/c/PROGRA~1:/cygdr...
10461 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10462 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10463 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10466 sys_lib_search_path_spec="$LIB"
10467 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10468 # It is most probably a Windows format PATH.
10469 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10471 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10473 # FIXME: find the short name or the path components, as spaces are
10474 # common. (e.g. "Program Files" -> "PROGRA~1")
10478 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10479 postinstall_cmds='base_file=`basename \${file}`~
10480 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10481 dldir=$destdir/`dirname \$dlpath`~
10482 test -d \$dldir || mkdir -p \$dldir~
10483 $install_prog $dir/$dlname \$dldir/$dlname'
10484 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10485 dlpath=$dir/\$dldll~
10487 shlibpath_overrides_runpath=yes
10488 dynamic_linker='Win32 link.exe'
10492 # Assume MSVC wrapper
10493 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10494 dynamic_linker='Win32 ld.exe'
10497 # FIXME: first we should search . and the directory the executable is in
10501 darwin* | rhapsody*)
10502 dynamic_linker="$host_os dyld"
10503 version_type=darwin
10506 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10507 soname_spec='${libname}${release}${major}$shared_ext'
10508 shlibpath_overrides_runpath=yes
10509 shlibpath_var=DYLD_LIBRARY_PATH
10510 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10512 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10513 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10521 soname_spec='${libname}${release}${shared_ext}$major'
10522 shlibpath_var=LD_LIBRARY_PATH
10529 freebsd* | dragonfly*)
10530 # DragonFly does not have aout. When/if they implement a new
10531 # versioning mechanism, adjust this.
10532 if test -x /usr/bin/objformat; then
10533 objformat=`/usr/bin/objformat`
10536 freebsd[123]*) objformat=aout ;;
10537 *) objformat=elf ;;
10540 version_type=freebsd-$objformat
10541 case $version_type in
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10548 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10552 shlibpath_var=LD_LIBRARY_PATH
10555 shlibpath_overrides_runpath=yes
10557 freebsd3.[01]* | freebsdelf3.[01]*)
10558 shlibpath_overrides_runpath=yes
10559 hardcode_into_libs=yes
10561 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10562 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10563 shlibpath_overrides_runpath=no
10564 hardcode_into_libs=yes
10566 *) # from 4.6 on, and DragonFly
10567 shlibpath_overrides_runpath=yes
10568 hardcode_into_libs=yes
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 shlibpath_var=LD_LIBRARY_PATH
10580 hardcode_into_libs=yes
10587 dynamic_linker="$host_os runtime_loader"
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10589 soname_spec='${libname}${release}${shared_ext}$major'
10590 shlibpath_var=LIBRARY_PATH
10591 shlibpath_overrides_runpath=yes
10592 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10593 hardcode_into_libs=yes
10596 hpux9* | hpux10* | hpux11*)
10597 # Give a soname corresponding to the major version so that dld.sl refuses to
10598 # link against other versions.
10605 hardcode_into_libs=yes
10606 dynamic_linker="$host_os dld.so"
10607 shlibpath_var=LD_LIBRARY_PATH
10608 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 if test "X$HPUX_IA64_MODE" = X32; then
10612 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10614 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10616 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10620 hardcode_into_libs=yes
10621 dynamic_linker="$host_os dld.sl"
10622 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10623 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10627 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10631 dynamic_linker="$host_os dld.sl"
10632 shlibpath_var=SHLIB_PATH
10633 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10638 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10639 postinstall_cmds='chmod 555 $lib'
10640 # or fails outright, so override atomically:
10641 install_override_mode=555
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10649 soname_spec='${libname}${release}${shared_ext}$major'
10650 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 shlibpath_overrides_runpath=no
10653 hardcode_into_libs=yes
10656 irix5* | irix6* | nonstopux*)
10658 nonstopux*) version_type=nonstopux ;;
10660 if test "$lt_cv_prog_gnu_ld" = yes; then
10668 soname_spec='${libname}${release}${shared_ext}$major'
10669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10671 irix5* | nonstopux*)
10672 libsuff= shlibsuff=
10675 case $LD in # libtool.m4 will add one of these switches to LD
10676 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10677 libsuff= shlibsuff= libmagic=32-bit;;
10678 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10679 libsuff=32 shlibsuff=N32 libmagic=N32;;
10680 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10681 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10682 *) libsuff= shlibsuff= libmagic=never-match;;
10686 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10687 shlibpath_overrides_runpath=no
10688 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10689 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10690 hardcode_into_libs=yes
10693 # No shared lib support for Linux oldld, aout, or coff.
10694 linux*oldld* | linux*aout* | linux*coff*)
10698 # This must be Linux ELF.
10699 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10706 shlibpath_var=LD_LIBRARY_PATH
10707 shlibpath_overrides_runpath=no
10709 # Some binutils ld are patched to set DT_RUNPATH
10710 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10711 $as_echo_n "(cached) " >&6
10713 lt_cv_shlibpath_overrides_runpath=no
10714 save_LDFLAGS=$LDFLAGS
10715 save_libdir=$libdir
10716 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10717 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10729 if ac_fn_c_try_link "$LINENO"; then :
10730 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10731 lt_cv_shlibpath_overrides_runpath=yes
10734 rm -f core conftest.err conftest.$ac_objext \
10735 conftest$ac_exeext conftest.$ac_ext
10736 LDFLAGS=$save_LDFLAGS
10737 libdir=$save_libdir
10741 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10743 # This implies no fast_install, which is unacceptable.
10744 # Some rework will be needed to allow for fast_install
10745 # before this can be enabled.
10746 hardcode_into_libs=yes
10748 # Append ld.so.conf contents to the search path
10749 if test -f /etc/ld.so.conf; then
10750 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' ' '`
10751 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10754 # We used to test for /lib/ld.so.1 and disable shared libraries on
10755 # powerpc, because MkLinux only supported shared libraries with the
10756 # GNU dynamic linker. Since this was broken with cross compilers,
10757 # most powerpc-linux boxes support dynamic linking these days and
10758 # people can always --disable-shared, the test was removed, and we
10759 # assume the GNU/Linux dynamic linker is in use.
10760 dynamic_linker='GNU/Linux ld.so'
10767 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10769 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10770 dynamic_linker='NetBSD (a.out) ld.so'
10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10773 soname_spec='${libname}${release}${shared_ext}$major'
10774 dynamic_linker='NetBSD ld.elf_so'
10776 shlibpath_var=LD_LIBRARY_PATH
10777 shlibpath_overrides_runpath=yes
10778 hardcode_into_libs=yes
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 shlibpath_overrides_runpath=yes
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LD_LIBRARY_PATH
10795 shlibpath_overrides_runpath=no
10796 hardcode_into_libs=yes
10797 dynamic_linker='ldqnx.so'
10802 sys_lib_dlsearch_path_spec="/usr/lib"
10804 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10806 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10807 *) need_version=no ;;
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10811 shlibpath_var=LD_LIBRARY_PATH
10812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10814 openbsd2.[89] | openbsd2.[89].*)
10815 shlibpath_overrides_runpath=no
10818 shlibpath_overrides_runpath=yes
10822 shlibpath_overrides_runpath=yes
10827 libname_spec='$name'
10830 library_names_spec='$libname${shared_ext} $libname.a'
10831 dynamic_linker='OS/2 ld.exe'
10832 shlibpath_var=LIBPATH
10835 osf3* | osf4* | osf5*)
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10843 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855 soname_spec='${libname}${release}${shared_ext}$major'
10856 shlibpath_var=LD_LIBRARY_PATH
10857 shlibpath_overrides_runpath=yes
10858 hardcode_into_libs=yes
10859 # ldd complains unless libraries are executable
10860 postinstall_cmds='chmod +x $lib'
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10866 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10867 shlibpath_var=LD_LIBRARY_PATH
10868 shlibpath_overrides_runpath=yes
10869 if test "$with_gnu_ld" = yes; then
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878 soname_spec='${libname}${release}${shared_ext}$major'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 case $host_vendor in
10882 shlibpath_overrides_runpath=no
10884 runpath_var=LD_RUN_PATH
10892 shlibpath_overrides_runpath=no
10893 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10899 if test -d /usr/nec ;then
10901 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10902 soname_spec='$libname${shared_ext}.$major'
10903 shlibpath_var=LD_LIBRARY_PATH
10907 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10908 version_type=freebsd-elf
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 shlibpath_var=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath=yes
10915 hardcode_into_libs=yes
10916 if test "$with_gnu_ld" = yes; then
10917 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10919 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10922 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10926 sys_lib_dlsearch_path_spec='/usr/lib'
10930 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=no
10937 hardcode_into_libs=yes
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10952 $as_echo "$dynamic_linker" >&6; }
10953 test "$dynamic_linker" = no && can_build_shared=no
10955 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10956 if test "$GCC" = yes; then
10957 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10960 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10961 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10963 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10964 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11059 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11061 if test -n "$hardcode_libdir_flag_spec" ||
11062 test -n "$runpath_var" ||
11063 test "X$hardcode_automatic" = "Xyes" ; then
11065 # We can hardcode non-existent directories.
11066 if test "$hardcode_direct" != no &&
11067 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11068 # have to relink, otherwise we might link with an installed library
11069 # when we should be linking with a yet-to-be-installed one
11070 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11071 test "$hardcode_minus_L" != no; then
11072 # Linking always hardcodes the temporary library directory.
11073 hardcode_action=relink
11075 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11076 hardcode_action=immediate
11079 # We cannot hardcode anything, or else we can only hardcode existing
11081 hardcode_action=unsupported
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11084 $as_echo "$hardcode_action" >&6; }
11086 if test "$hardcode_action" = relink ||
11087 test "$inherit_rpath" = yes; then
11088 # Fast installation is not supported
11089 enable_fast_install=no
11090 elif test "$shlibpath_overrides_runpath" = yes ||
11091 test "$enable_shared" = no; then
11092 # Fast installation is not necessary
11093 enable_fast_install=needless
11101 if test "x$enable_dlopen" != xyes; then
11102 enable_dlopen=unknown
11103 enable_dlopen_self=unknown
11104 enable_dlopen_self_static=unknown
11111 lt_cv_dlopen="load_add_on"
11113 lt_cv_dlopen_self=yes
11116 mingw* | pw32* | cegcc*)
11117 lt_cv_dlopen="LoadLibrary"
11122 lt_cv_dlopen="dlopen"
11127 # if libdl is installed we need to link against it
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11129 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11130 if ${ac_cv_lib_dl_dlopen+:} false; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_check_lib_save_LIBS=$LIBS
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_dl_dlopen=yes
11156 ac_cv_lib_dl_dlopen=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11163 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11164 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11165 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11168 lt_cv_dlopen="dyld"
11170 lt_cv_dlopen_self=yes
11177 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11178 if test "x$ac_cv_func_shl_load" = xyes; then :
11179 lt_cv_dlopen="shl_load"
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11182 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11183 if ${ac_cv_lib_dld_shl_load+:} false; then :
11184 $as_echo_n "(cached) " >&6
11186 ac_check_lib_save_LIBS=$LIBS
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11201 return shl_load ();
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_dld_shl_load=yes
11209 ac_cv_lib_dld_shl_load=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11216 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11217 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11218 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11220 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11221 if test "x$ac_cv_func_dlopen" = xyes; then :
11222 lt_cv_dlopen="dlopen"
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11225 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11226 if ${ac_cv_lib_dl_dlopen+:} false; then :
11227 $as_echo_n "(cached) " >&6
11229 ac_check_lib_save_LIBS=$LIBS
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 ac_cv_lib_dl_dlopen=yes
11252 ac_cv_lib_dl_dlopen=no
11254 rm -f core conftest.err conftest.$ac_objext \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_lib_save_LIBS
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11259 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11260 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11261 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11264 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11265 if ${ac_cv_lib_svld_dlopen+:} false; then :
11266 $as_echo_n "(cached) " >&6
11268 ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lsvld $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_svld_dlopen=yes
11291 ac_cv_lib_svld_dlopen=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11298 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11299 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11300 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11303 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11304 if ${ac_cv_lib_dld_dld_link+:} false; then :
11305 $as_echo_n "(cached) " >&6
11307 ac_check_lib_save_LIBS=$LIBS
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11322 return dld_link ();
11327 if ac_fn_c_try_link "$LINENO"; then :
11328 ac_cv_lib_dld_dld_link=yes
11330 ac_cv_lib_dld_dld_link=no
11332 rm -f core conftest.err conftest.$ac_objext \
11333 conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11337 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11338 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11339 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11360 if test "x$lt_cv_dlopen" != xno; then
11366 case $lt_cv_dlopen in
11368 save_CPPFLAGS="$CPPFLAGS"
11369 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11371 save_LDFLAGS="$LDFLAGS"
11372 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11375 LIBS="$lt_cv_dlopen_libs $LIBS"
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11378 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11379 if ${lt_cv_dlopen_self+:} false; then :
11380 $as_echo_n "(cached) " >&6
11382 if test "$cross_compiling" = yes; then :
11383 lt_cv_dlopen_self=cross
11385 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11386 lt_status=$lt_dlunknown
11387 cat > conftest.$ac_ext <<_LT_EOF
11388 #line $LINENO "configure"
11389 #include "confdefs.h"
11398 # define LT_DLGLOBAL RTLD_GLOBAL
11401 # define LT_DLGLOBAL DL_GLOBAL
11403 # define LT_DLGLOBAL 0
11407 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11408 find out it does not work in some platform. */
11409 #ifndef LT_DLLAZY_OR_NOW
11411 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11414 # define LT_DLLAZY_OR_NOW DL_LAZY
11417 # define LT_DLLAZY_OR_NOW RTLD_NOW
11420 # define LT_DLLAZY_OR_NOW DL_NOW
11422 # define LT_DLLAZY_OR_NOW 0
11429 /* When -fvisbility=hidden is used, assume the code has been annotated
11430 correspondingly for the symbols needed. */
11431 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11432 int fnord () __attribute__((visibility("default")));
11435 int fnord () { return 42; }
11438 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11439 int status = $lt_dlunknown;
11443 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11446 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11447 else puts (dlerror ());
11449 /* dlclose (self); */
11457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11458 (eval $ac_link) 2>&5
11460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11461 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11462 (./conftest; exit; ) >&5 2>/dev/null
11464 case x$lt_status in
11465 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11466 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11467 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11470 # compilation failed
11471 lt_cv_dlopen_self=no
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11479 $as_echo "$lt_cv_dlopen_self" >&6; }
11481 if test "x$lt_cv_dlopen_self" = xyes; then
11482 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11484 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11485 if ${lt_cv_dlopen_self_static+:} false; then :
11486 $as_echo_n "(cached) " >&6
11488 if test "$cross_compiling" = yes; then :
11489 lt_cv_dlopen_self_static=cross
11491 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11492 lt_status=$lt_dlunknown
11493 cat > conftest.$ac_ext <<_LT_EOF
11494 #line $LINENO "configure"
11495 #include "confdefs.h"
11504 # define LT_DLGLOBAL RTLD_GLOBAL
11507 # define LT_DLGLOBAL DL_GLOBAL
11509 # define LT_DLGLOBAL 0
11513 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11514 find out it does not work in some platform. */
11515 #ifndef LT_DLLAZY_OR_NOW
11517 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11520 # define LT_DLLAZY_OR_NOW DL_LAZY
11523 # define LT_DLLAZY_OR_NOW RTLD_NOW
11526 # define LT_DLLAZY_OR_NOW DL_NOW
11528 # define LT_DLLAZY_OR_NOW 0
11535 /* When -fvisbility=hidden is used, assume the code has been annotated
11536 correspondingly for the symbols needed. */
11537 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11538 int fnord () __attribute__((visibility("default")));
11541 int fnord () { return 42; }
11544 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11545 int status = $lt_dlunknown;
11549 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11552 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11553 else puts (dlerror ());
11555 /* dlclose (self); */
11563 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11564 (eval $ac_link) 2>&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11567 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11568 (./conftest; exit; ) >&5 2>/dev/null
11570 case x$lt_status in
11571 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11572 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11573 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11576 # compilation failed
11577 lt_cv_dlopen_self_static=no
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11585 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11588 CPPFLAGS="$save_CPPFLAGS"
11589 LDFLAGS="$save_LDFLAGS"
11594 case $lt_cv_dlopen_self in
11595 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11596 *) enable_dlopen_self=unknown ;;
11599 case $lt_cv_dlopen_self_static in
11600 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11601 *) enable_dlopen_self_static=unknown ;;
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11624 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11625 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11626 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11627 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11629 $as_echo "yes" >&6; }
11631 # FIXME - insert some real tests, host_os isn't really good enough
11634 if test -n "$STRIP" ; then
11635 striplib="$STRIP -x"
11636 old_striplib="$STRIP -S"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11638 $as_echo "yes" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641 $as_echo "no" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11646 $as_echo "no" >&6; }
11662 # Report which library types will actually be built
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11664 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11666 $as_echo "$can_build_shared" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11669 $as_echo_n "checking whether to build shared libraries... " >&6; }
11670 test "$can_build_shared" = "no" && enable_shared=no
11672 # On AIX, shared libraries and static libraries use the same namespace, and
11673 # are all built from PIC.
11676 test "$enable_shared" = yes && enable_static=no
11677 if test -n "$RANLIB"; then
11678 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11679 postinstall_cmds='$RANLIB $lib'
11684 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11685 test "$enable_shared" = yes && enable_static=no
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11690 $as_echo "$enable_shared" >&6; }
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11693 $as_echo_n "checking whether to build static libraries... " >&6; }
11694 # Make sure either enable_shared or enable_static is yes.
11695 test "$enable_shared" = yes || enable_static=yes
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11697 $as_echo "$enable_static" >&6; }
11704 ac_cpp='$CPP $CPPFLAGS'
11705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11723 ac_config_commands="$ac_config_commands libtool"
11728 # Only expand once:
11744 DX_PROJECT=shibboleth
11746 DX_CONFIG=doxygen.cfg
11751 # Environment variables used inside doxygen.cfg:
11752 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11754 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11756 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11758 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11765 # Check whether --enable-doxygen-doc was given.
11766 if test "${enable_doxygen_doc+set}" = set; then :
11767 enableval=$enable_doxygen_doc;
11768 case "$enableval" in
11780 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11792 if test "$DX_FLAG_doc" = 1; then
11794 if test -n "$ac_tool_prefix"; then
11795 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11796 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11798 $as_echo_n "checking for $ac_word... " >&6; }
11799 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11800 $as_echo_n "(cached) " >&6
11802 case $DX_DOXYGEN in
11804 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11808 for as_dir in $PATH
11811 test -z "$as_dir" && as_dir=.
11812 for ac_exec_ext in '' $ac_executable_extensions; do
11813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11814 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11825 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11826 if test -n "$DX_DOXYGEN"; then
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11828 $as_echo "$DX_DOXYGEN" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831 $as_echo "no" >&6; }
11836 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11837 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11838 # Extract the first word of "doxygen", so it can be a program name with args.
11839 set dummy doxygen; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11843 $as_echo_n "(cached) " >&6
11845 case $ac_pt_DX_DOXYGEN in
11847 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11854 test -z "$as_dir" && as_dir=.
11855 for ac_exec_ext in '' $ac_executable_extensions; do
11856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11857 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11868 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11869 if test -n "$ac_pt_DX_DOXYGEN"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11871 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11877 if test "x$ac_pt_DX_DOXYGEN" = x; then
11880 case $cross_compiling:$ac_tool_warned in
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11884 ac_tool_warned=yes ;;
11886 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11889 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11892 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11894 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11900 if test -n "$ac_tool_prefix"; then
11901 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11902 set dummy ${ac_tool_prefix}perl; ac_word=$2
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11904 $as_echo_n "checking for $ac_word... " >&6; }
11905 if ${ac_cv_path_DX_PERL+:} false; then :
11906 $as_echo_n "(cached) " >&6
11910 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11914 for as_dir in $PATH
11917 test -z "$as_dir" && as_dir=.
11918 for ac_exec_ext in '' $ac_executable_extensions; do
11919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11920 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11931 DX_PERL=$ac_cv_path_DX_PERL
11932 if test -n "$DX_PERL"; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11934 $as_echo "$DX_PERL" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11937 $as_echo "no" >&6; }
11942 if test -z "$ac_cv_path_DX_PERL"; then
11943 ac_pt_DX_PERL=$DX_PERL
11944 # Extract the first word of "perl", so it can be a program name with args.
11945 set dummy perl; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947 $as_echo_n "checking for $ac_word... " >&6; }
11948 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
11949 $as_echo_n "(cached) " >&6
11951 case $ac_pt_DX_PERL in
11953 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11960 test -z "$as_dir" && as_dir=.
11961 for ac_exec_ext in '' $ac_executable_extensions; do
11962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11974 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11975 if test -n "$ac_pt_DX_PERL"; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11977 $as_echo "$ac_pt_DX_PERL" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11980 $as_echo "no" >&6; }
11983 if test "x$ac_pt_DX_PERL" = x; then
11986 case $cross_compiling:$ac_tool_warned in
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11990 ac_tool_warned=yes ;;
11992 DX_PERL=$ac_pt_DX_PERL
11995 DX_PERL="$ac_cv_path_DX_PERL"
11998 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12000 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12007 if test "$DX_FLAG_doc" = 1; then
12010 DX_COND_doc_FALSE='#'
12012 DX_COND_doc_TRUE='#'
12016 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12022 DX_COND_doc_FALSE='#'
12024 DX_COND_doc_TRUE='#'
12033 # Dot for graphics:
12037 # Check whether --enable-doxygen-dot was given.
12038 if test "${enable_doxygen_dot+set}" = set; then :
12039 enableval=$enable_doxygen_dot;
12040 case "$enableval" in
12046 test "$DX_FLAG_doc" = "1" \
12047 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12055 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12064 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12070 if test "$DX_FLAG_dot" = 1; then
12072 if test -n "$ac_tool_prefix"; then
12073 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12074 set dummy ${ac_tool_prefix}dot; ac_word=$2
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12076 $as_echo_n "checking for $ac_word... " >&6; }
12077 if ${ac_cv_path_DX_DOT+:} false; then :
12078 $as_echo_n "(cached) " >&6
12082 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12103 DX_DOT=$ac_cv_path_DX_DOT
12104 if test -n "$DX_DOT"; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12106 $as_echo "$DX_DOT" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12109 $as_echo "no" >&6; }
12114 if test -z "$ac_cv_path_DX_DOT"; then
12115 ac_pt_DX_DOT=$DX_DOT
12116 # Extract the first word of "dot", so it can be a program name with args.
12117 set dummy dot; ac_word=$2
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12119 $as_echo_n "checking for $ac_word... " >&6; }
12120 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12121 $as_echo_n "(cached) " >&6
12123 case $ac_pt_DX_DOT in
12125 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $PATH
12132 test -z "$as_dir" && as_dir=.
12133 for ac_exec_ext in '' $ac_executable_extensions; do
12134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12135 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12146 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12147 if test -n "$ac_pt_DX_DOT"; then
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12149 $as_echo "$ac_pt_DX_DOT" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12152 $as_echo "no" >&6; }
12155 if test "x$ac_pt_DX_DOT" = x; then
12158 case $cross_compiling:$ac_tool_warned in
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12162 ac_tool_warned=yes ;;
12164 DX_DOT=$ac_pt_DX_DOT
12167 DX_DOT="$ac_cv_path_DX_DOT"
12170 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12172 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12179 if test "$DX_FLAG_dot" = 1; then
12182 DX_COND_dot_FALSE='#'
12184 DX_COND_dot_TRUE='#'
12188 DX_ENV="$DX_ENV HAVE_DOT='YES'"
12190 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12196 DX_COND_dot_FALSE='#'
12198 DX_COND_dot_TRUE='#'
12202 DX_ENV="$DX_ENV HAVE_DOT='NO'"
12208 # Man pages generation:
12212 # Check whether --enable-doxygen-man was given.
12213 if test "${enable_doxygen_man+set}" = set; then :
12214 enableval=$enable_doxygen_man;
12215 case "$enableval" in
12221 test "$DX_FLAG_doc" = "1" \
12222 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12230 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12239 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12245 if test "$DX_FLAG_man" = 1; then
12249 if test "$DX_FLAG_man" = 1; then
12252 DX_COND_man_FALSE='#'
12254 DX_COND_man_TRUE='#'
12258 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12264 DX_COND_man_FALSE='#'
12266 DX_COND_man_TRUE='#'
12270 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12276 # RTF file generation:
12280 # Check whether --enable-doxygen-rtf was given.
12281 if test "${enable_doxygen_rtf+set}" = set; then :
12282 enableval=$enable_doxygen_rtf;
12283 case "$enableval" in
12289 test "$DX_FLAG_doc" = "1" \
12290 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12298 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12307 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12313 if test "$DX_FLAG_rtf" = 1; then
12317 if test "$DX_FLAG_rtf" = 1; then
12320 DX_COND_rtf_FALSE='#'
12322 DX_COND_rtf_TRUE='#'
12326 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12332 DX_COND_rtf_FALSE='#'
12334 DX_COND_rtf_TRUE='#'
12338 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12344 # XML file generation:
12348 # Check whether --enable-doxygen-xml was given.
12349 if test "${enable_doxygen_xml+set}" = set; then :
12350 enableval=$enable_doxygen_xml;
12351 case "$enableval" in
12357 test "$DX_FLAG_doc" = "1" \
12358 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12366 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12375 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12381 if test "$DX_FLAG_xml" = 1; then
12385 if test "$DX_FLAG_xml" = 1; then
12388 DX_COND_xml_FALSE='#'
12390 DX_COND_xml_TRUE='#'
12394 DX_ENV="$DX_ENV GENERATE_XML='YES'"
12400 DX_COND_xml_FALSE='#'
12402 DX_COND_xml_TRUE='#'
12406 DX_ENV="$DX_ENV GENERATE_XML='NO'"
12412 # (Compressed) HTML help generation:
12416 # Check whether --enable-doxygen-chm was given.
12417 if test "${enable_doxygen_chm+set}" = set; then :
12418 enableval=$enable_doxygen_chm;
12419 case "$enableval" in
12425 test "$DX_FLAG_doc" = "1" \
12426 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12434 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12443 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12449 if test "$DX_FLAG_chm" = 1; then
12451 if test -n "$ac_tool_prefix"; then
12452 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12453 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12455 $as_echo_n "checking for $ac_word... " >&6; }
12456 if ${ac_cv_path_DX_HHC+:} false; then :
12457 $as_echo_n "(cached) " >&6
12461 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12465 for as_dir in $PATH
12468 test -z "$as_dir" && as_dir=.
12469 for ac_exec_ext in '' $ac_executable_extensions; do
12470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12471 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12482 DX_HHC=$ac_cv_path_DX_HHC
12483 if test -n "$DX_HHC"; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12485 $as_echo "$DX_HHC" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12493 if test -z "$ac_cv_path_DX_HHC"; then
12494 ac_pt_DX_HHC=$DX_HHC
12495 # Extract the first word of "hhc", so it can be a program name with args.
12496 set dummy hhc; ac_word=$2
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12498 $as_echo_n "checking for $ac_word... " >&6; }
12499 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12500 $as_echo_n "(cached) " >&6
12502 case $ac_pt_DX_HHC in
12504 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12508 for as_dir in $PATH
12511 test -z "$as_dir" && as_dir=.
12512 for ac_exec_ext in '' $ac_executable_extensions; do
12513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12514 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12525 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12526 if test -n "$ac_pt_DX_HHC"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12528 $as_echo "$ac_pt_DX_HHC" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12534 if test "x$ac_pt_DX_HHC" = x; then
12537 case $cross_compiling:$ac_tool_warned in
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12541 ac_tool_warned=yes ;;
12543 DX_HHC=$ac_pt_DX_HHC
12546 DX_HHC="$ac_cv_path_DX_HHC"
12549 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12551 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12558 if test "$DX_FLAG_chm" = 1; then
12561 DX_COND_chm_FALSE='#'
12563 DX_COND_chm_TRUE='#'
12567 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12569 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12571 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12577 DX_COND_chm_FALSE='#'
12579 DX_COND_chm_TRUE='#'
12583 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12589 # Seperate CHI file generation.
12593 # Check whether --enable-doxygen-chi was given.
12594 if test "${enable_doxygen_chi+set}" = set; then :
12595 enableval=$enable_doxygen_chi;
12596 case "$enableval" in
12602 test "$DX_FLAG_chm" = "1" \
12603 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12611 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12620 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12626 if test "$DX_FLAG_chi" = 1; then
12630 if test "$DX_FLAG_chi" = 1; then
12633 DX_COND_chi_FALSE='#'
12635 DX_COND_chi_TRUE='#'
12639 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12645 DX_COND_chi_FALSE='#'
12647 DX_COND_chi_TRUE='#'
12651 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12657 # Plain HTML pages generation:
12661 # Check whether --enable-doxygen-html was given.
12662 if test "${enable_doxygen_html+set}" = set; then :
12663 enableval=$enable_doxygen_html;
12664 case "$enableval" in
12670 test "$DX_FLAG_doc" = "1" \
12671 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12673 test "$DX_FLAG_chm" = "0" \
12674 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12682 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12691 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12694 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12700 if test "$DX_FLAG_html" = 1; then
12704 if test "$DX_FLAG_html" = 1; then
12707 DX_COND_html_FALSE='#'
12709 DX_COND_html_TRUE='#'
12710 DX_COND_html_FALSE=
12713 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12719 DX_COND_html_FALSE='#'
12721 DX_COND_html_TRUE='#'
12722 DX_COND_html_FALSE=
12725 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12731 # PostScript file generation:
12735 # Check whether --enable-doxygen-ps was given.
12736 if test "${enable_doxygen_ps+set}" = set; then :
12737 enableval=$enable_doxygen_ps;
12738 case "$enableval" in
12744 test "$DX_FLAG_doc" = "1" \
12745 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12753 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12762 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12768 if test "$DX_FLAG_ps" = 1; then
12770 if test -n "$ac_tool_prefix"; then
12771 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12772 set dummy ${ac_tool_prefix}latex; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774 $as_echo_n "checking for $ac_word... " >&6; }
12775 if ${ac_cv_path_DX_LATEX+:} false; then :
12776 $as_echo_n "(cached) " >&6
12780 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12787 test -z "$as_dir" && as_dir=.
12788 for ac_exec_ext in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12801 DX_LATEX=$ac_cv_path_DX_LATEX
12802 if test -n "$DX_LATEX"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12804 $as_echo "$DX_LATEX" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12812 if test -z "$ac_cv_path_DX_LATEX"; then
12813 ac_pt_DX_LATEX=$DX_LATEX
12814 # Extract the first word of "latex", so it can be a program name with args.
12815 set dummy latex; ac_word=$2
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12817 $as_echo_n "checking for $ac_word... " >&6; }
12818 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12819 $as_echo_n "(cached) " >&6
12821 case $ac_pt_DX_LATEX in
12823 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12827 for as_dir in $PATH
12830 test -z "$as_dir" && as_dir=.
12831 for ac_exec_ext in '' $ac_executable_extensions; do
12832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12833 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12844 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12845 if test -n "$ac_pt_DX_LATEX"; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12847 $as_echo "$ac_pt_DX_LATEX" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12853 if test "x$ac_pt_DX_LATEX" = x; then
12856 case $cross_compiling:$ac_tool_warned in
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12860 ac_tool_warned=yes ;;
12862 DX_LATEX=$ac_pt_DX_LATEX
12865 DX_LATEX="$ac_cv_path_DX_LATEX"
12868 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12870 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12876 if test -n "$ac_tool_prefix"; then
12877 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12878 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
12882 $as_echo_n "(cached) " >&6
12884 case $DX_MAKEINDEX in
12886 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12890 for as_dir in $PATH
12893 test -z "$as_dir" && as_dir=.
12894 for ac_exec_ext in '' $ac_executable_extensions; do
12895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12896 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12907 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12908 if test -n "$DX_MAKEINDEX"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12910 $as_echo "$DX_MAKEINDEX" >&6; }
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12918 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12919 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12920 # Extract the first word of "makeindex", so it can be a program name with args.
12921 set dummy makeindex; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
12925 $as_echo_n "(cached) " >&6
12927 case $ac_pt_DX_MAKEINDEX in
12929 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12933 for as_dir in $PATH
12936 test -z "$as_dir" && as_dir=.
12937 for ac_exec_ext in '' $ac_executable_extensions; do
12938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12939 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12951 if test -n "$ac_pt_DX_MAKEINDEX"; then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12953 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12959 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12962 case $cross_compiling:$ac_tool_warned in
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12966 ac_tool_warned=yes ;;
12968 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12971 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12974 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12976 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12982 if test -n "$ac_tool_prefix"; then
12983 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12984 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12986 $as_echo_n "checking for $ac_word... " >&6; }
12987 if ${ac_cv_path_DX_DVIPS+:} false; then :
12988 $as_echo_n "(cached) " >&6
12992 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996 for as_dir in $PATH
12999 test -z "$as_dir" && as_dir=.
13000 for ac_exec_ext in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13013 DX_DVIPS=$ac_cv_path_DX_DVIPS
13014 if test -n "$DX_DVIPS"; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13016 $as_echo "$DX_DVIPS" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019 $as_echo "no" >&6; }
13024 if test -z "$ac_cv_path_DX_DVIPS"; then
13025 ac_pt_DX_DVIPS=$DX_DVIPS
13026 # Extract the first word of "dvips", so it can be a program name with args.
13027 set dummy dvips; ac_word=$2
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13029 $as_echo_n "checking for $ac_word... " >&6; }
13030 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
13031 $as_echo_n "(cached) " >&6
13033 case $ac_pt_DX_DVIPS in
13035 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13042 test -z "$as_dir" && as_dir=.
13043 for ac_exec_ext in '' $ac_executable_extensions; do
13044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13045 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13057 if test -n "$ac_pt_DX_DVIPS"; then
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13059 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13062 $as_echo "no" >&6; }
13065 if test "x$ac_pt_DX_DVIPS" = x; then
13068 case $cross_compiling:$ac_tool_warned in
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13072 ac_tool_warned=yes ;;
13074 DX_DVIPS=$ac_pt_DX_DVIPS
13077 DX_DVIPS="$ac_cv_path_DX_DVIPS"
13080 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13082 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13088 if test -n "$ac_tool_prefix"; then
13089 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13090 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13092 $as_echo_n "checking for $ac_word... " >&6; }
13093 if ${ac_cv_path_DX_EGREP+:} false; then :
13094 $as_echo_n "(cached) " >&6
13098 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13105 test -z "$as_dir" && as_dir=.
13106 for ac_exec_ext in '' $ac_executable_extensions; do
13107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13108 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13119 DX_EGREP=$ac_cv_path_DX_EGREP
13120 if test -n "$DX_EGREP"; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13122 $as_echo "$DX_EGREP" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13130 if test -z "$ac_cv_path_DX_EGREP"; then
13131 ac_pt_DX_EGREP=$DX_EGREP
13132 # Extract the first word of "egrep", so it can be a program name with args.
13133 set dummy egrep; ac_word=$2
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135 $as_echo_n "checking for $ac_word... " >&6; }
13136 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13137 $as_echo_n "(cached) " >&6
13139 case $ac_pt_DX_EGREP in
13141 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13145 for as_dir in $PATH
13148 test -z "$as_dir" && as_dir=.
13149 for ac_exec_ext in '' $ac_executable_extensions; do
13150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13151 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13162 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13163 if test -n "$ac_pt_DX_EGREP"; then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13165 $as_echo "$ac_pt_DX_EGREP" >&6; }
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13168 $as_echo "no" >&6; }
13171 if test "x$ac_pt_DX_EGREP" = x; then
13174 case $cross_compiling:$ac_tool_warned in
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13178 ac_tool_warned=yes ;;
13180 DX_EGREP=$ac_pt_DX_EGREP
13183 DX_EGREP="$ac_cv_path_DX_EGREP"
13186 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13188 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13195 if test "$DX_FLAG_ps" = 1; then
13198 DX_COND_ps_FALSE='#'
13200 DX_COND_ps_TRUE='#'
13209 DX_COND_ps_FALSE='#'
13211 DX_COND_ps_TRUE='#'
13220 # PDF file generation:
13224 # Check whether --enable-doxygen-pdf was given.
13225 if test "${enable_doxygen_pdf+set}" = set; then :
13226 enableval=$enable_doxygen_pdf;
13227 case "$enableval" in
13233 test "$DX_FLAG_doc" = "1" \
13234 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13242 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13251 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13257 if test "$DX_FLAG_pdf" = 1; then
13259 if test -n "$ac_tool_prefix"; then
13260 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13261 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13263 $as_echo_n "checking for $ac_word... " >&6; }
13264 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13265 $as_echo_n "(cached) " >&6
13267 case $DX_PDFLATEX in
13269 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273 for as_dir in $PATH
13276 test -z "$as_dir" && as_dir=.
13277 for ac_exec_ext in '' $ac_executable_extensions; do
13278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13290 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13291 if test -n "$DX_PDFLATEX"; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13293 $as_echo "$DX_PDFLATEX" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296 $as_echo "no" >&6; }
13301 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13302 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13303 # Extract the first word of "pdflatex", so it can be a program name with args.
13304 set dummy pdflatex; ac_word=$2
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13306 $as_echo_n "checking for $ac_word... " >&6; }
13307 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13308 $as_echo_n "(cached) " >&6
13310 case $ac_pt_DX_PDFLATEX in
13312 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13316 for as_dir in $PATH
13319 test -z "$as_dir" && as_dir=.
13320 for ac_exec_ext in '' $ac_executable_extensions; do
13321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13322 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13333 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13334 if test -n "$ac_pt_DX_PDFLATEX"; then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13336 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13342 if test "x$ac_pt_DX_PDFLATEX" = x; then
13345 case $cross_compiling:$ac_tool_warned in
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13349 ac_tool_warned=yes ;;
13351 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13354 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13357 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13359 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13365 if test -n "$ac_tool_prefix"; then
13366 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13367 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13369 $as_echo_n "checking for $ac_word... " >&6; }
13370 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13371 $as_echo_n "(cached) " >&6
13373 case $DX_MAKEINDEX in
13375 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13379 for as_dir in $PATH
13382 test -z "$as_dir" && as_dir=.
13383 for ac_exec_ext in '' $ac_executable_extensions; do
13384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13385 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13396 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13397 if test -n "$DX_MAKEINDEX"; then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13399 $as_echo "$DX_MAKEINDEX" >&6; }
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13402 $as_echo "no" >&6; }
13407 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13408 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13409 # Extract the first word of "makeindex", so it can be a program name with args.
13410 set dummy makeindex; ac_word=$2
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13412 $as_echo_n "checking for $ac_word... " >&6; }
13413 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13414 $as_echo_n "(cached) " >&6
13416 case $ac_pt_DX_MAKEINDEX in
13418 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13422 for as_dir in $PATH
13425 test -z "$as_dir" && as_dir=.
13426 for ac_exec_ext in '' $ac_executable_extensions; do
13427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13428 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13439 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13440 if test -n "$ac_pt_DX_MAKEINDEX"; then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13442 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445 $as_echo "no" >&6; }
13448 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13451 case $cross_compiling:$ac_tool_warned in
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13455 ac_tool_warned=yes ;;
13457 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13460 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13463 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13465 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13471 if test -n "$ac_tool_prefix"; then
13472 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13473 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13475 $as_echo_n "checking for $ac_word... " >&6; }
13476 if ${ac_cv_path_DX_EGREP+:} false; then :
13477 $as_echo_n "(cached) " >&6
13481 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13485 for as_dir in $PATH
13488 test -z "$as_dir" && as_dir=.
13489 for ac_exec_ext in '' $ac_executable_extensions; do
13490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13491 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 DX_EGREP=$ac_cv_path_DX_EGREP
13503 if test -n "$DX_EGREP"; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13505 $as_echo "$DX_EGREP" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13508 $as_echo "no" >&6; }
13513 if test -z "$ac_cv_path_DX_EGREP"; then
13514 ac_pt_DX_EGREP=$DX_EGREP
13515 # Extract the first word of "egrep", so it can be a program name with args.
13516 set dummy egrep; ac_word=$2
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13518 $as_echo_n "checking for $ac_word... " >&6; }
13519 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13520 $as_echo_n "(cached) " >&6
13522 case $ac_pt_DX_EGREP in
13524 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in $PATH
13531 test -z "$as_dir" && as_dir=.
13532 for ac_exec_ext in '' $ac_executable_extensions; do
13533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13534 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13545 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13546 if test -n "$ac_pt_DX_EGREP"; then
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13548 $as_echo "$ac_pt_DX_EGREP" >&6; }
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13551 $as_echo "no" >&6; }
13554 if test "x$ac_pt_DX_EGREP" = x; then
13557 case $cross_compiling:$ac_tool_warned in
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13561 ac_tool_warned=yes ;;
13563 DX_EGREP=$ac_pt_DX_EGREP
13566 DX_EGREP="$ac_cv_path_DX_EGREP"
13569 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13571 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13578 if test "$DX_FLAG_pdf" = 1; then
13581 DX_COND_pdf_FALSE='#'
13583 DX_COND_pdf_TRUE='#'
13592 DX_COND_pdf_FALSE='#'
13594 DX_COND_pdf_TRUE='#'
13603 # LaTeX generation for PS and/or PDF:
13604 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13606 DX_COND_latex_TRUE=
13607 DX_COND_latex_FALSE='#'
13609 DX_COND_latex_TRUE='#'
13610 DX_COND_latex_FALSE=
13613 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13617 DX_COND_latex_TRUE=
13618 DX_COND_latex_FALSE='#'
13620 DX_COND_latex_TRUE='#'
13621 DX_COND_latex_FALSE=
13624 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13628 # Paper size for PS and/or PDF:
13630 case "$DOXYGEN_PAPER_SIZE" in
13633 DOXYGEN_PAPER_SIZE=""
13636 a4wide|a4|letter|legal|executive)
13637 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13641 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13646 #echo DX_FLAG_doc=$DX_FLAG_doc
13647 #echo DX_FLAG_dot=$DX_FLAG_dot
13648 #echo DX_FLAG_man=$DX_FLAG_man
13649 #echo DX_FLAG_html=$DX_FLAG_html
13650 #echo DX_FLAG_chm=$DX_FLAG_chm
13651 #echo DX_FLAG_chi=$DX_FLAG_chi
13652 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13653 #echo DX_FLAG_xml=$DX_FLAG_xml
13654 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13655 #echo DX_FLAG_ps=$DX_FLAG_ps
13656 #echo DX_ENV=$DX_ENV
13660 # Check whether --enable-debug was given.
13661 if test "${enable_debug+set}" = set; then :
13662 enableval=$enable_debug; enable_debug=$enableval
13668 if test "$enable_debug" = "yes" ; then
13669 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13670 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13672 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13673 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13676 ac_config_headers="$ac_config_headers config.h"
13678 ac_config_files="$ac_config_files shibboleth.spec pkginfo Portfile"
13682 ac_cpp='$CPP $CPPFLAGS'
13683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13686 if test -n "$ac_tool_prefix"; then
13687 for ac_prog in gcc gcc3 cc
13689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13692 $as_echo_n "checking for $ac_word... " >&6; }
13693 if ${ac_cv_prog_CC+:} false; then :
13694 $as_echo_n "(cached) " >&6
13696 if test -n "$CC"; then
13697 ac_cv_prog_CC="$CC" # Let the user override the test.
13699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13700 for as_dir in $PATH
13703 test -z "$as_dir" && as_dir=.
13704 for ac_exec_ext in '' $ac_executable_extensions; do
13705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13706 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13717 if test -n "$CC"; then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13719 $as_echo "$CC" >&6; }
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13722 $as_echo "no" >&6; }
13726 test -n "$CC" && break
13729 if test -z "$CC"; then
13731 for ac_prog in gcc gcc3 cc
13733 # Extract the first word of "$ac_prog", so it can be a program name with args.
13734 set dummy $ac_prog; ac_word=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13738 $as_echo_n "(cached) " >&6
13740 if test -n "$ac_ct_CC"; then
13741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13744 for as_dir in $PATH
13747 test -z "$as_dir" && as_dir=.
13748 for ac_exec_ext in '' $ac_executable_extensions; do
13749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13750 ac_cv_prog_ac_ct_CC="$ac_prog"
13751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13761 if test -n "$ac_ct_CC"; then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13763 $as_echo "$ac_ct_CC" >&6; }
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13766 $as_echo "no" >&6; }
13770 test -n "$ac_ct_CC" && break
13773 if test "x$ac_ct_CC" = x; then
13776 case $cross_compiling:$ac_tool_warned in
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13780 ac_tool_warned=yes ;;
13787 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13789 as_fn_error $? "no acceptable C compiler found in \$PATH
13790 See \`config.log' for more details" "$LINENO" 5; }
13792 # Provide some information about the compiler.
13793 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13796 for ac_option in --version -v -V -qversion; do
13797 { { ac_try="$ac_compiler $ac_option >&5"
13798 case "(($ac_try" in
13799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13800 *) ac_try_echo=$ac_try;;
13802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13803 $as_echo "$ac_try_echo"; } >&5
13804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13806 if test -s conftest.err; then
13808 ... rest of stderr output deleted ...
13809 10q' conftest.err >conftest.er1
13810 cat conftest.er1 >&5
13812 rm -f conftest.er1 conftest.err
13813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814 test $ac_status = 0; }
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13818 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13819 if ${ac_cv_c_compiler_gnu+:} false; then :
13820 $as_echo_n "(cached) " >&6
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13836 if ac_fn_c_try_compile "$LINENO"; then :
13837 ac_compiler_gnu=yes
13841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13842 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13846 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13847 if test $ac_compiler_gnu = yes; then
13852 ac_test_CFLAGS=${CFLAGS+set}
13853 ac_save_CFLAGS=$CFLAGS
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13855 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13856 if ${ac_cv_prog_cc_g+:} false; then :
13857 $as_echo_n "(cached) " >&6
13859 ac_save_c_werror_flag=$ac_c_werror_flag
13860 ac_c_werror_flag=yes
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13874 if ac_fn_c_try_compile "$LINENO"; then :
13875 ac_cv_prog_cc_g=yes
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13889 if ac_fn_c_try_compile "$LINENO"; then :
13892 ac_c_werror_flag=$ac_save_c_werror_flag
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13905 if ac_fn_c_try_compile "$LINENO"; then :
13906 ac_cv_prog_cc_g=yes
13908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13913 ac_c_werror_flag=$ac_save_c_werror_flag
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13916 $as_echo "$ac_cv_prog_cc_g" >&6; }
13917 if test "$ac_test_CFLAGS" = set; then
13918 CFLAGS=$ac_save_CFLAGS
13919 elif test $ac_cv_prog_cc_g = yes; then
13920 if test "$GCC" = yes; then
13926 if test "$GCC" = yes; then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13933 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13934 if ${ac_cv_prog_cc_c89+:} false; then :
13935 $as_echo_n "(cached) " >&6
13937 ac_cv_prog_cc_c89=no
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13941 #include <stdarg.h>
13943 #include <sys/types.h>
13944 #include <sys/stat.h>
13945 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13946 struct buf { int x; };
13947 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13948 static char *e (p, i)
13954 static char *f (char * (*g) (char **, int), char **p, ...)
13959 s = g (p, va_arg (v,int));
13964 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13965 function prototypes and stuff, but not '\xHH' hex character constants.
13966 These don't provoke an error unfortunately, instead are silently treated
13967 as 'x'. The following induces an error, until -std is added to get
13968 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13969 array size at least. It's necessary to write '\x00'==0 to get something
13970 that's true only with -std. */
13971 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13973 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13974 inside strings and character constants. */
13976 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13978 int test (int i, double x);
13979 struct s1 {int (*f) (int a);};
13980 struct s2 {int (*f) (double a);};
13981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13987 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13992 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13993 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13995 CC="$ac_save_CC $ac_arg"
13996 if ac_fn_c_try_compile "$LINENO"; then :
13997 ac_cv_prog_cc_c89=$ac_arg
13999 rm -f core conftest.err conftest.$ac_objext
14000 test "x$ac_cv_prog_cc_c89" != "xno" && break
14002 rm -f conftest.$ac_ext
14007 case "x$ac_cv_prog_cc_c89" in
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14010 $as_echo "none needed" >&6; } ;;
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14013 $as_echo "unsupported" >&6; } ;;
14015 CC="$CC $ac_cv_prog_cc_c89"
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14017 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14019 if test "x$ac_cv_prog_cc_c89" != xno; then :
14024 ac_cpp='$CPP $CPPFLAGS'
14025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14029 depcc="$CC" am_compiler_list=
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14032 $as_echo_n "checking dependency style of $depcc... " >&6; }
14033 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14034 $as_echo_n "(cached) " >&6
14036 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14037 # We make a subdir and do the tests there. Otherwise we can end up
14038 # making bogus files that we don't know about and never remove. For
14039 # instance it was reported that on HP-UX the gcc test will end up
14040 # making a dummy file named `D' -- because `-MD' means `put the output
14043 # Copy depcomp to subdir because otherwise we won't find it if we're
14044 # using a relative directory.
14045 cp "$am_depcomp" conftest.dir
14047 # We will build objects and dependencies in a subdirectory because
14048 # it helps to detect inapplicable dependency modes. For instance
14049 # both Tru64's cc and ICC support -MD to output dependencies as a
14050 # side effect of compilation, but ICC will put the dependencies in
14051 # the current directory while Tru64 will put them in the object
14055 am_cv_CC_dependencies_compiler_type=none
14056 if test "$am_compiler_list" = ""; then
14057 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14059 am__universal=false
14060 case " $depcc " in #(
14061 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14064 for depmode in $am_compiler_list; do
14065 # Setup a source with many dependencies, because some compilers
14066 # like to wrap large dependency lists on column 80 (with \), and
14067 # we should not choose a depcomp mode which is confused by this.
14069 # We need to recreate these files for each test, as the compiler may
14070 # overwrite some of them when testing with obscure command lines.
14071 # This happens at least with the AIX C compiler.
14073 for i in 1 2 3 4 5 6; do
14074 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14075 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14076 # Solaris 8's {/usr,}/bin/sh.
14077 touch sub/conftst$i.h
14079 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14081 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14082 # mode. It turns out that the SunPro C++ compiler does not properly
14083 # handle `-M -o', and we need to detect this. Also, some Intel
14084 # versions had trouble with output in subdirs
14085 am__obj=sub/conftest.${OBJEXT-o}
14086 am__minus_obj="-o $am__obj"
14089 # This depmode causes a compiler race in universal mode.
14090 test "$am__universal" = false || continue
14093 # after this tag, mechanisms are not by side-effect, so they'll
14094 # only be used when explicitly requested
14095 if test "x$enable_dependency_tracking" = xyes; then
14101 msvisualcpp | msvcmsys)
14102 # This compiler won't grok `-c -o', but also, the minuso test has
14103 # not run yet. These depmodes are late enough in the game, and
14104 # so weak that their functioning should not be impacted.
14105 am__obj=conftest.${OBJEXT-o}
14110 if depmode=$depmode \
14111 source=sub/conftest.c object=$am__obj \
14112 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14113 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14114 >/dev/null 2>conftest.err &&
14115 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14116 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14117 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14118 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14119 # icc doesn't choke on unknown options, it will just issue warnings
14120 # or remarks (even with -Werror). So we grep stderr for any message
14121 # that says an option was ignored or not supported.
14122 # When given -MP, icc 7.0 and 7.1 complain thusly:
14123 # icc: Command line warning: ignoring option '-M'; no argument required
14124 # The diagnosis changed in icc 8.0:
14125 # icc: Command line remark: option '-MP' not supported
14126 if (grep 'ignoring option' conftest.err ||
14127 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14128 am_cv_CC_dependencies_compiler_type=$depmode
14135 rm -rf conftest.dir
14137 am_cv_CC_dependencies_compiler_type=none
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14142 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14143 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14146 test "x$enable_dependency_tracking" != xno \
14147 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14148 am__fastdepCC_TRUE=
14149 am__fastdepCC_FALSE='#'
14151 am__fastdepCC_TRUE='#'
14152 am__fastdepCC_FALSE=
14157 ac_cpp='$CXXCPP $CPPFLAGS'
14158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14161 if test -z "$CXX"; then
14162 if test -n "$CCC"; then
14165 if test -n "$ac_tool_prefix"; then
14166 for ac_prog in g++ g++3 c++ CC
14168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14171 $as_echo_n "checking for $ac_word... " >&6; }
14172 if ${ac_cv_prog_CXX+:} false; then :
14173 $as_echo_n "(cached) " >&6
14175 if test -n "$CXX"; then
14176 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14179 for as_dir in $PATH
14182 test -z "$as_dir" && as_dir=.
14183 for ac_exec_ext in '' $ac_executable_extensions; do
14184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14195 CXX=$ac_cv_prog_CXX
14196 if test -n "$CXX"; then
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14198 $as_echo "$CXX" >&6; }
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14201 $as_echo "no" >&6; }
14205 test -n "$CXX" && break
14208 if test -z "$CXX"; then
14210 for ac_prog in g++ g++3 c++ CC
14212 # Extract the first word of "$ac_prog", so it can be a program name with args.
14213 set dummy $ac_prog; ac_word=$2
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14215 $as_echo_n "checking for $ac_word... " >&6; }
14216 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14217 $as_echo_n "(cached) " >&6
14219 if test -n "$ac_ct_CXX"; then
14220 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14223 for as_dir in $PATH
14226 test -z "$as_dir" && as_dir=.
14227 for ac_exec_ext in '' $ac_executable_extensions; do
14228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14229 ac_cv_prog_ac_ct_CXX="$ac_prog"
14230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14239 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14240 if test -n "$ac_ct_CXX"; then
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14242 $as_echo "$ac_ct_CXX" >&6; }
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245 $as_echo "no" >&6; }
14249 test -n "$ac_ct_CXX" && break
14252 if test "x$ac_ct_CXX" = x; then
14255 case $cross_compiling:$ac_tool_warned in
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14259 ac_tool_warned=yes ;;
14267 # Provide some information about the compiler.
14268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14271 for ac_option in --version -v -V -qversion; do
14272 { { ac_try="$ac_compiler $ac_option >&5"
14273 case "(($ac_try" in
14274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14275 *) ac_try_echo=$ac_try;;
14277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14278 $as_echo "$ac_try_echo"; } >&5
14279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14281 if test -s conftest.err; then
14283 ... rest of stderr output deleted ...
14284 10q' conftest.err >conftest.er1
14285 cat conftest.er1 >&5
14287 rm -f conftest.er1 conftest.err
14288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14289 test $ac_status = 0; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14293 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14294 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14295 $as_echo_n "(cached) " >&6
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14311 if ac_fn_cxx_try_compile "$LINENO"; then :
14312 ac_compiler_gnu=yes
14316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14317 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14321 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14322 if test $ac_compiler_gnu = yes; then
14327 ac_test_CXXFLAGS=${CXXFLAGS+set}
14328 ac_save_CXXFLAGS=$CXXFLAGS
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14330 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14331 if ${ac_cv_prog_cxx_g+:} false; then :
14332 $as_echo_n "(cached) " >&6
14334 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14335 ac_cxx_werror_flag=yes
14336 ac_cv_prog_cxx_g=no
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14349 if ac_fn_cxx_try_compile "$LINENO"; then :
14350 ac_cv_prog_cxx_g=yes
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14364 if ac_fn_cxx_try_compile "$LINENO"; then :
14367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14380 if ac_fn_cxx_try_compile "$LINENO"; then :
14381 ac_cv_prog_cxx_g=yes
14383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14388 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14391 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14392 if test "$ac_test_CXXFLAGS" = set; then
14393 CXXFLAGS=$ac_save_CXXFLAGS
14394 elif test $ac_cv_prog_cxx_g = yes; then
14395 if test "$GXX" = yes; then
14401 if test "$GXX" = yes; then
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14413 depcc="$CXX" am_compiler_list=
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14416 $as_echo_n "checking dependency style of $depcc... " >&6; }
14417 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14418 $as_echo_n "(cached) " >&6
14420 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14421 # We make a subdir and do the tests there. Otherwise we can end up
14422 # making bogus files that we don't know about and never remove. For
14423 # instance it was reported that on HP-UX the gcc test will end up
14424 # making a dummy file named `D' -- because `-MD' means `put the output
14427 # Copy depcomp to subdir because otherwise we won't find it if we're
14428 # using a relative directory.
14429 cp "$am_depcomp" conftest.dir
14431 # We will build objects and dependencies in a subdirectory because
14432 # it helps to detect inapplicable dependency modes. For instance
14433 # both Tru64's cc and ICC support -MD to output dependencies as a
14434 # side effect of compilation, but ICC will put the dependencies in
14435 # the current directory while Tru64 will put them in the object
14439 am_cv_CXX_dependencies_compiler_type=none
14440 if test "$am_compiler_list" = ""; then
14441 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14443 am__universal=false
14444 case " $depcc " in #(
14445 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14448 for depmode in $am_compiler_list; do
14449 # Setup a source with many dependencies, because some compilers
14450 # like to wrap large dependency lists on column 80 (with \), and
14451 # we should not choose a depcomp mode which is confused by this.
14453 # We need to recreate these files for each test, as the compiler may
14454 # overwrite some of them when testing with obscure command lines.
14455 # This happens at least with the AIX C compiler.
14457 for i in 1 2 3 4 5 6; do
14458 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14459 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14460 # Solaris 8's {/usr,}/bin/sh.
14461 touch sub/conftst$i.h
14463 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14465 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14466 # mode. It turns out that the SunPro C++ compiler does not properly
14467 # handle `-M -o', and we need to detect this. Also, some Intel
14468 # versions had trouble with output in subdirs
14469 am__obj=sub/conftest.${OBJEXT-o}
14470 am__minus_obj="-o $am__obj"
14473 # This depmode causes a compiler race in universal mode.
14474 test "$am__universal" = false || continue
14477 # after this tag, mechanisms are not by side-effect, so they'll
14478 # only be used when explicitly requested
14479 if test "x$enable_dependency_tracking" = xyes; then
14485 msvisualcpp | msvcmsys)
14486 # This compiler won't grok `-c -o', but also, the minuso test has
14487 # not run yet. These depmodes are late enough in the game, and
14488 # so weak that their functioning should not be impacted.
14489 am__obj=conftest.${OBJEXT-o}
14494 if depmode=$depmode \
14495 source=sub/conftest.c object=$am__obj \
14496 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14497 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14498 >/dev/null 2>conftest.err &&
14499 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14500 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14501 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14502 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14503 # icc doesn't choke on unknown options, it will just issue warnings
14504 # or remarks (even with -Werror). So we grep stderr for any message
14505 # that says an option was ignored or not supported.
14506 # When given -MP, icc 7.0 and 7.1 complain thusly:
14507 # icc: Command line warning: ignoring option '-M'; no argument required
14508 # The diagnosis changed in icc 8.0:
14509 # icc: Command line remark: option '-MP' not supported
14510 if (grep 'ignoring option' conftest.err ||
14511 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14512 am_cv_CXX_dependencies_compiler_type=$depmode
14519 rm -rf conftest.dir
14521 am_cv_CXX_dependencies_compiler_type=none
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14526 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14527 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14530 test "x$enable_dependency_tracking" != xno \
14531 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14532 am__fastdepCXX_TRUE=
14533 am__fastdepCXX_FALSE='#'
14535 am__fastdepCXX_TRUE='#'
14536 am__fastdepCXX_FALSE=
14542 func_stripname_cnf ()
14545 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14546 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14548 } # func_stripname_cnf
14550 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14551 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14552 (test "X$CXX" != "Xg++"))) ; then
14554 ac_cpp='$CXXCPP $CPPFLAGS'
14555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14559 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14560 if test -z "$CXXCPP"; then
14561 if ${ac_cv_prog_CXXCPP+:} false; then :
14562 $as_echo_n "(cached) " >&6
14564 # Double quotes because CXXCPP needs to be expanded
14565 for CXXCPP in "$CXX -E" "/lib/cpp"
14567 ac_preproc_ok=false
14568 for ac_cxx_preproc_warn_flag in '' yes
14570 # Use a header file that comes with gcc, so configuring glibc
14571 # with a fresh cross-compiler works.
14572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14573 # <limits.h> exists even on freestanding compilers.
14574 # On the NeXT, cc -E runs the code through the compiler's parser,
14575 # not just through cpp. "Syntax error" is here to catch this case.
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14579 # include <limits.h>
14581 # include <assert.h>
14585 if ac_fn_cxx_try_cpp "$LINENO"; then :
14588 # Broken: fails on valid input.
14591 rm -f conftest.err conftest.i conftest.$ac_ext
14593 # OK, works on sane cases. Now check whether nonexistent headers
14594 # can be detected and how.
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 #include <ac_nonexistent.h>
14599 if ac_fn_cxx_try_cpp "$LINENO"; then :
14600 # Broken: success on invalid input.
14603 # Passes both tests.
14607 rm -f conftest.err conftest.i conftest.$ac_ext
14610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14611 rm -f conftest.i conftest.err conftest.$ac_ext
14612 if $ac_preproc_ok; then :
14617 ac_cv_prog_CXXCPP=$CXXCPP
14620 CXXCPP=$ac_cv_prog_CXXCPP
14622 ac_cv_prog_CXXCPP=$CXXCPP
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14625 $as_echo "$CXXCPP" >&6; }
14626 ac_preproc_ok=false
14627 for ac_cxx_preproc_warn_flag in '' yes
14629 # Use a header file that comes with gcc, so configuring glibc
14630 # with a fresh cross-compiler works.
14631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14632 # <limits.h> exists even on freestanding compilers.
14633 # On the NeXT, cc -E runs the code through the compiler's parser,
14634 # not just through cpp. "Syntax error" is here to catch this case.
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 # include <limits.h>
14640 # include <assert.h>
14644 if ac_fn_cxx_try_cpp "$LINENO"; then :
14647 # Broken: fails on valid input.
14650 rm -f conftest.err conftest.i conftest.$ac_ext
14652 # OK, works on sane cases. Now check whether nonexistent headers
14653 # can be detected and how.
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #include <ac_nonexistent.h>
14658 if ac_fn_cxx_try_cpp "$LINENO"; then :
14659 # Broken: success on invalid input.
14662 # Passes both tests.
14666 rm -f conftest.err conftest.i conftest.$ac_ext
14669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14670 rm -f conftest.i conftest.err conftest.$ac_ext
14671 if $ac_preproc_ok; then :
14674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14676 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14677 See \`config.log' for more details" "$LINENO" 5; }
14681 ac_cpp='$CPP $CPPFLAGS'
14682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14687 _lt_caught_CXX_error=yes
14691 ac_cpp='$CXXCPP $CPPFLAGS'
14692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14696 archive_cmds_need_lc_CXX=no
14697 allow_undefined_flag_CXX=
14698 always_export_symbols_CXX=no
14699 archive_expsym_cmds_CXX=
14700 compiler_needs_object_CXX=no
14701 export_dynamic_flag_spec_CXX=
14702 hardcode_direct_CXX=no
14703 hardcode_direct_absolute_CXX=no
14704 hardcode_libdir_flag_spec_CXX=
14705 hardcode_libdir_flag_spec_ld_CXX=
14706 hardcode_libdir_separator_CXX=
14707 hardcode_minus_L_CXX=no
14708 hardcode_shlibpath_var_CXX=unsupported
14709 hardcode_automatic_CXX=no
14710 inherit_rpath_CXX=no
14712 module_expsym_cmds_CXX=
14713 link_all_deplibs_CXX=unknown
14714 old_archive_cmds_CXX=$old_archive_cmds
14715 reload_flag_CXX=$reload_flag
14716 reload_cmds_CXX=$reload_cmds
14717 no_undefined_flag_CXX=
14718 whole_archive_flag_spec_CXX=
14719 enable_shared_with_static_runtimes_CXX=no
14721 # Source file extension for C++ test sources.
14724 # Object file extension for compiled C++ test sources.
14728 # No sense in running all these tests if we already determined that
14729 # the CXX compiler isn't working. Some variables (like enable_shared)
14730 # are currently assumed to apply to all compilers on this platform,
14731 # and will be corrupted by setting them based on a non-working compiler.
14732 if test "$_lt_caught_CXX_error" != yes; then
14733 # Code to be used in simple compile tests
14734 lt_simple_compile_test_code="int some_variable = 0;"
14736 # Code to be used in simple link tests
14737 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14739 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14746 # If no C compiler was specified, use CC.
14749 # If no C compiler flags were specified, use CFLAGS.
14750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14752 # Allow CC to be a program name with arguments.
14756 # save warnings/boilerplate of simple test code
14757 ac_outfile=conftest.$ac_objext
14758 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14759 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14760 _lt_compiler_boilerplate=`cat conftest.err`
14763 ac_outfile=conftest.$ac_objext
14764 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14765 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14766 _lt_linker_boilerplate=`cat conftest.err`
14770 # Allow CC to be a program name with arguments.
14772 lt_save_CFLAGS=$CFLAGS
14776 lt_save_with_gnu_ld=$with_gnu_ld
14777 lt_save_path_LD=$lt_cv_path_LD
14778 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14779 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14781 $as_unset lt_cv_prog_gnu_ld
14783 if test -n "${lt_cv_path_LDCXX+set}"; then
14784 lt_cv_path_LD=$lt_cv_path_LDCXX
14786 $as_unset lt_cv_path_LD
14788 test -z "${LDCXX+set}" || LD=$LDCXX
14793 for cc_temp in $compiler""; do
14795 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14796 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14801 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14804 if test -n "$compiler"; then
14805 # We don't want -fno-exception when compiling C++ code, so set the
14806 # no_builtin_flag separately
14807 if test "$GXX" = yes; then
14808 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14810 lt_prog_compiler_no_builtin_flag_CXX=
14813 if test "$GXX" = yes; then
14814 # Set up default GNU C++ configuration
14818 # Check whether --with-gnu-ld was given.
14819 if test "${with_gnu_ld+set}" = set; then :
14820 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14826 if test "$GCC" = yes; then
14827 # Check if gcc -print-prog-name=ld gives a path.
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14829 $as_echo_n "checking for ld used by $CC... " >&6; }
14832 # gcc leaves a trailing carriage return which upsets mingw
14833 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14835 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14838 # Accept absolute paths.
14840 re_direlt='/[^/][^/]*/\.\./'
14841 # Canonicalize the pathname of ld
14842 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14843 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14844 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14846 test -z "$LD" && LD="$ac_prog"
14849 # If it fails, then pretend we aren't using GCC.
14853 # If it is relative, then search for the first ld in PATH.
14854 with_gnu_ld=unknown
14857 elif test "$with_gnu_ld" = yes; then
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14859 $as_echo_n "checking for GNU ld... " >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14862 $as_echo_n "checking for non-GNU ld... " >&6; }
14864 if ${lt_cv_path_LD+:} false; then :
14865 $as_echo_n "(cached) " >&6
14867 if test -z "$LD"; then
14868 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14869 for ac_dir in $PATH; do
14871 test -z "$ac_dir" && ac_dir=.
14872 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14873 lt_cv_path_LD="$ac_dir/$ac_prog"
14874 # Check to see if the program is GNU ld. I'd rather use --version,
14875 # but apparently some variants of GNU ld only accept -v.
14876 # Break only if it was the GNU/non-GNU ld that we prefer.
14877 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14878 *GNU* | *'with BFD'*)
14879 test "$with_gnu_ld" != no && break
14882 test "$with_gnu_ld" != yes && break
14889 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14893 LD="$lt_cv_path_LD"
14894 if test -n "$LD"; then
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14896 $as_echo "$LD" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14899 $as_echo "no" >&6; }
14901 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14904 if ${lt_cv_prog_gnu_ld+:} false; then :
14905 $as_echo_n "(cached) " >&6
14907 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14908 case `$LD -v 2>&1 </dev/null` in
14909 *GNU* | *'with BFD'*)
14910 lt_cv_prog_gnu_ld=yes
14913 lt_cv_prog_gnu_ld=no
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14919 with_gnu_ld=$lt_cv_prog_gnu_ld
14927 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14928 # archiving commands below assume that GNU ld is being used.
14929 if test "$with_gnu_ld" = yes; then
14930 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14931 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'
14933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14936 # If archive_cmds runs LD, not CC, wlarc should be empty
14937 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14938 # investigate it a little bit more. (MM)
14941 # ancient GNU ld didn't support --whole-archive et. al.
14942 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14943 $GREP 'no-whole-archive' > /dev/null; then
14944 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14946 whole_archive_flag_spec_CXX=
14952 # A generic and very simple default shared library creation
14953 # command for GNU C++ for the case where it uses the native
14954 # linker, instead of GNU ld. If possible, this setting should
14955 # overridden to take advantage of the native linker features on
14956 # the platform it is being used on.
14957 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14960 # Commands to make compiler produce verbose output that lists
14961 # what "hidden" libraries, object files and flags are used when
14962 # linking a shared library.
14963 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14971 # PORTME: fill in a description of your system's C++ link characteristics
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14973 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14977 # FIXME: insert proper C++ library support
14981 if test "$host_cpu" = ia64; then
14982 # On IA64, the linker does run time linking by default, so we don't
14983 # have to do anything special.
14984 aix_use_runtimelinking=no
14985 exp_sym_flag='-Bexport'
14988 aix_use_runtimelinking=no
14990 # Test if we are trying to use run time linking or normal
14991 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14992 # need to do runtime linking.
14993 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14994 for ld_flag in $LDFLAGS; do
14997 aix_use_runtimelinking=yes
15005 exp_sym_flag='-bexport'
15006 no_entry_flag='-bnoentry'
15009 # When large executables or shared objects are built, AIX ld can
15010 # have problems creating the table of contents. If linking a library
15011 # or program results in "error TOC overflow" add -mminimal-toc to
15012 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15013 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15015 archive_cmds_CXX=''
15016 hardcode_direct_CXX=yes
15017 hardcode_direct_absolute_CXX=yes
15018 hardcode_libdir_separator_CXX=':'
15019 link_all_deplibs_CXX=yes
15020 file_list_spec_CXX='${wl}-f,'
15022 if test "$GXX" = yes; then
15023 case $host_os in aix4.[012]|aix4.[012].*)
15024 # We only want to do this on AIX 4.2 and lower, the check
15025 # below for broken collect2 doesn't work under 4.3+
15026 collect2name=`${CC} -print-prog-name=collect2`
15027 if test -f "$collect2name" &&
15028 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15030 # We have reworked collect2
15033 # We have old collect2
15034 hardcode_direct_CXX=unsupported
15035 # It fails to find uninstalled libraries when the uninstalled
15036 # path is not listed in the libpath. Setting hardcode_minus_L
15037 # to unsupported forces relinking
15038 hardcode_minus_L_CXX=yes
15039 hardcode_libdir_flag_spec_CXX='-L$libdir'
15040 hardcode_libdir_separator_CXX=
15043 shared_flag='-shared'
15044 if test "$aix_use_runtimelinking" = yes; then
15045 shared_flag="$shared_flag "'${wl}-G'
15049 if test "$host_cpu" = ia64; then
15050 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15051 # chokes on -Wl,-G. The following line is correct:
15054 if test "$aix_use_runtimelinking" = yes; then
15055 shared_flag='${wl}-G'
15057 shared_flag='${wl}-bM:SRE'
15062 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15063 # It seems that -bexpall does not export symbols beginning with
15064 # underscore (_), so it is better to generate a list of symbols to
15066 always_export_symbols_CXX=yes
15067 if test "$aix_use_runtimelinking" = yes; then
15068 # Warning - without using the other runtime loading flags (-brtl),
15069 # -berok will link without error, but may produce a broken library.
15070 allow_undefined_flag_CXX='-berok'
15071 # Determine the default libpath from the value encoded in an empty
15073 if test "${lt_cv_aix_libpath+set}" = set; then
15074 aix_libpath=$lt_cv_aix_libpath
15076 if ${lt_cv_aix_libpath__CXX+:} false; then :
15077 $as_echo_n "(cached) " >&6
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15090 if ac_fn_cxx_try_link "$LINENO"; then :
15092 lt_aix_libpath_sed='
15093 /Import File Strings/,/^$/ {
15095 s/^0 *\([^ ]*\) *$/\1/
15099 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15100 # Check for a 64-bit object if we didn't find anything.
15101 if test -z "$lt_cv_aix_libpath__CXX"; then
15102 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 if test -z "$lt_cv_aix_libpath__CXX"; then
15108 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15113 aix_libpath=$lt_cv_aix_libpath__CXX
15116 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15118 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"
15120 if test "$host_cpu" = ia64; then
15121 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15122 allow_undefined_flag_CXX="-z nodefs"
15123 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"
15125 # Determine the default libpath from the value encoded in an
15126 # empty executable.
15127 if test "${lt_cv_aix_libpath+set}" = set; then
15128 aix_libpath=$lt_cv_aix_libpath
15130 if ${lt_cv_aix_libpath__CXX+:} false; then :
15131 $as_echo_n "(cached) " >&6
15133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15144 if ac_fn_cxx_try_link "$LINENO"; then :
15146 lt_aix_libpath_sed='
15147 /Import File Strings/,/^$/ {
15149 s/^0 *\([^ ]*\) *$/\1/
15153 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15154 # Check for a 64-bit object if we didn't find anything.
15155 if test -z "$lt_cv_aix_libpath__CXX"; then
15156 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15161 if test -z "$lt_cv_aix_libpath__CXX"; then
15162 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15167 aix_libpath=$lt_cv_aix_libpath__CXX
15170 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15171 # Warning - without using the other run time loading flags,
15172 # -berok will link without error, but may produce a broken library.
15173 no_undefined_flag_CXX=' ${wl}-bernotok'
15174 allow_undefined_flag_CXX=' ${wl}-berok'
15175 if test "$with_gnu_ld" = yes; then
15176 # We only use this code for GNU lds that support --whole-archive.
15177 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15179 # Exported symbols can be pulled into shared objects from archives
15180 whole_archive_flag_spec_CXX='$convenience'
15182 archive_cmds_need_lc_CXX=yes
15183 # This is similar to how AIX traditionally builds its shared
15185 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'
15191 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15192 allow_undefined_flag_CXX=unsupported
15193 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15194 # support --undefined. This deserves some investigation. FIXME
15195 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15202 case $cc_basename in
15204 # FIXME: insert proper C++ library support
15210 cygwin* | mingw* | pw32* | cegcc*)
15211 case $GXX,$cc_basename in
15214 # hardcode_libdir_flag_spec is actually meaningless, as there is
15215 # no search path for DLLs.
15216 hardcode_libdir_flag_spec_CXX=' '
15217 allow_undefined_flag_CXX=unsupported
15218 always_export_symbols_CXX=yes
15219 file_list_spec_CXX='@'
15220 # Tell ltmain to make .lib files, not .a files.
15222 # Tell ltmain to make .dll files, not .so files.
15224 # FIXME: Setting linknames here is a bad hack.
15225 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15226 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15227 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15229 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15231 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15233 # The linker will not automatically build a static lib if we build a DLL.
15234 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15235 enable_shared_with_static_runtimes_CXX=yes
15237 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15238 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15239 lt_tool_outputfile="@TOOL_OUTPUT@"~
15240 case $lt_outputfile in
15243 lt_outputfile="$lt_outputfile.exe"
15244 lt_tool_outputfile="$lt_tool_outputfile.exe"
15247 func_to_tool_file "$lt_outputfile"~
15248 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15249 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15250 $RM "$lt_outputfile.manifest";
15255 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15256 # as there is no search path for DLLs.
15257 hardcode_libdir_flag_spec_CXX='-L$libdir'
15258 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15259 allow_undefined_flag_CXX=unsupported
15260 always_export_symbols_CXX=no
15261 enable_shared_with_static_runtimes_CXX=yes
15263 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15264 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'
15265 # If the export-symbols file already is a .def file (1st line
15266 # is EXPORTS), use it as is; otherwise, prepend...
15267 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15268 cp $export_symbols $output_objdir/$soname.def;
15270 echo EXPORTS > $output_objdir/$soname.def;
15271 cat $export_symbols >> $output_objdir/$soname.def;
15273 $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'
15280 darwin* | rhapsody*)
15283 archive_cmds_need_lc_CXX=no
15284 hardcode_direct_CXX=no
15285 hardcode_automatic_CXX=yes
15286 hardcode_shlibpath_var_CXX=unsupported
15287 if test "$lt_cv_ld_force_load" = "yes"; then
15288 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\"`'
15290 whole_archive_flag_spec_CXX=''
15292 link_all_deplibs_CXX=yes
15293 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15294 case $cc_basename in
15295 ifort*) _lt_dar_can_shared=yes ;;
15296 *) _lt_dar_can_shared=$GCC ;;
15298 if test "$_lt_dar_can_shared" = "yes"; then
15299 output_verbose_link_cmd=func_echo_all
15300 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}"
15301 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15302 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}"
15303 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}"
15304 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15305 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}"
15306 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}"
15316 case $cc_basename in
15318 # FIXME: insert proper C++ library support
15322 # Green Hills C++ Compiler
15323 # FIXME: insert proper C++ library support
15327 # FIXME: insert proper C++ library support
15334 # C++ shared libraries reported to be fairly broken before
15340 archive_cmds_need_lc_CXX=no
15343 freebsd* | dragonfly*)
15344 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15353 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15354 link_all_deplibs_CXX=yes
15358 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15359 hardcode_libdir_separator_CXX=:
15360 export_dynamic_flag_spec_CXX='${wl}-E'
15361 hardcode_direct_CXX=yes
15362 hardcode_minus_L_CXX=yes # Not in the search PATH,
15363 # but as the default
15364 # location of the library.
15366 case $cc_basename in
15368 # FIXME: insert proper C++ library support
15372 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'
15373 # Commands to make compiler produce verbose output that lists
15374 # what "hidden" libraries, object files and flags are used when
15375 # linking a shared library.
15377 # There doesn't appear to be a way to prevent this compiler from
15378 # explicitly linking system object files so we need to strip them
15379 # from the output so that they don't get included in the library
15381 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"'
15384 if test "$GXX" = yes; then
15385 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'
15387 # FIXME: insert proper C++ library support
15395 if test $with_gnu_ld = no; then
15396 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15397 hardcode_libdir_separator_CXX=:
15403 export_dynamic_flag_spec_CXX='${wl}-E'
15409 hardcode_direct_CXX=no
15410 hardcode_shlibpath_var_CXX=no
15413 hardcode_direct_CXX=yes
15414 hardcode_direct_absolute_CXX=yes
15415 hardcode_minus_L_CXX=yes # Not in the search PATH,
15416 # but as the default
15417 # location of the library.
15421 case $cc_basename in
15423 # FIXME: insert proper C++ library support
15429 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15432 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15435 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15438 # Commands to make compiler produce verbose output that lists
15439 # what "hidden" libraries, object files and flags are used when
15440 # linking a shared library.
15442 # There doesn't appear to be a way to prevent this compiler from
15443 # explicitly linking system object files so we need to strip them
15444 # from the output so that they don't get included in the library
15446 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"'
15449 if test "$GXX" = yes; then
15450 if test $with_gnu_ld = no; then
15453 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15456 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15459 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'
15464 # FIXME: insert proper C++ library support
15472 hardcode_direct_CXX=no
15473 hardcode_shlibpath_var_CXX=no
15474 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15475 export_dynamic_flag_spec_CXX='${wl}-E'
15476 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15477 # Instead, shared libraries are loaded at an image base (0x10000000 by
15478 # default) and relocated if they conflict, which is a slow very memory
15479 # consuming and fragmenting process. To avoid this, we pick a random,
15480 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15481 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15482 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'
15483 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'
15486 case $cc_basename in
15489 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'
15491 # Archives containing C++ object files must be created using
15492 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15493 # necessary to make sure instantiated templates are included
15495 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15498 if test "$GXX" = yes; then
15499 if test "$with_gnu_ld" = no; then
15500 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'
15502 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'
15505 link_all_deplibs_CXX=yes
15508 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15509 hardcode_libdir_separator_CXX=:
15510 inherit_rpath_CXX=yes
15513 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15514 case $cc_basename in
15516 # Kuck and Associates, Inc. (KAI) C++ Compiler
15518 # KCC will only create a shared library if the output file
15519 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15520 # to its proper name (with version) after linking.
15521 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'
15522 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'
15523 # Commands to make compiler produce verbose output that lists
15524 # what "hidden" libraries, object files and flags are used when
15525 # linking a shared library.
15527 # There doesn't appear to be a way to prevent this compiler from
15528 # explicitly linking system object files so we need to strip them
15529 # from the output so that they don't get included in the library
15531 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"'
15533 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15534 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15536 # Archives containing C++ object files must be created using
15537 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15538 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15543 # version 8.0 and above of icpc choke on multiply defined symbols
15544 # if we add $predep_objects and $postdep_objects, however 7.1 and
15545 # earlier do not add the objects themselves.
15546 case `$CC -V 2>&1` in
15548 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15549 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'
15551 *) # Version 8.0 or newer
15554 ia64*) tmp_idyn=' -i_dynamic';;
15556 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15557 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'
15560 archive_cmds_need_lc_CXX=no
15561 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15562 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15563 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15566 # Portland Group C++ compiler
15568 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15569 prelink_cmds_CXX='tpldir=Template.dir~
15571 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15572 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15573 old_archive_cmds_CXX='tpldir=Template.dir~
15575 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15576 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15578 archive_cmds_CXX='tpldir=Template.dir~
15580 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15581 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15582 archive_expsym_cmds_CXX='tpldir=Template.dir~
15584 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15585 $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'
15587 *) # Version 6 and above use weak symbols
15588 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15589 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'
15593 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15594 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15595 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'
15599 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15600 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'
15602 runpath_var=LD_RUN_PATH
15603 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15604 hardcode_libdir_separator_CXX=:
15606 # Commands to make compiler produce verbose output that lists
15607 # what "hidden" libraries, object files and flags are used when
15608 # linking a shared library.
15610 # There doesn't appear to be a way to prevent this compiler from
15611 # explicitly linking system object files so we need to strip them
15612 # from the output so that they don't get included in the library
15614 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'
15616 xl* | mpixl* | bgxl*)
15617 # IBM XL 8.0 on PPC, with GNU ld
15618 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15619 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15620 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15621 if test "x$supports_anon_versioning" = xyes; then
15622 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15623 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15624 echo "local: *; };" >> $output_objdir/$libname.ver~
15625 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15629 case `$CC -V 2>&1 | sed 5q` in
15632 no_undefined_flag_CXX=' -zdefs'
15633 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15634 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'
15635 hardcode_libdir_flag_spec_CXX='-R$libdir'
15636 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'
15637 compiler_needs_object_CXX=yes
15639 # Not sure whether something based on
15640 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15642 output_verbose_link_cmd='func_echo_all'
15644 # Archives containing C++ object files must be created using
15645 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15646 # necessary to make sure instantiated templates are included
15648 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15656 # FIXME: insert proper C++ library support
15661 # FIXME: insert proper C++ library support
15666 case $cc_basename in
15668 # FIXME: insert proper C++ library support
15672 # FIXME: insert proper C++ library support
15679 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15680 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15682 hardcode_libdir_flag_spec_CXX='-R$libdir'
15683 hardcode_direct_CXX=yes
15684 hardcode_shlibpath_var_CXX=no
15686 # Workaround some broken pre-1.5 toolchains
15687 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15695 # C++ shared libraries are fairly broken
15700 if test -f /usr/libexec/ld.so; then
15701 hardcode_direct_CXX=yes
15702 hardcode_shlibpath_var_CXX=no
15703 hardcode_direct_absolute_CXX=yes
15704 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15705 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15706 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15707 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15708 export_dynamic_flag_spec_CXX='${wl}-E'
15709 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15711 output_verbose_link_cmd=func_echo_all
15717 osf3* | osf4* | osf5*)
15718 case $cc_basename in
15720 # Kuck and Associates, Inc. (KAI) C++ Compiler
15722 # KCC will only create a shared library if the output file
15723 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15724 # to its proper name (with version) after linking.
15725 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'
15727 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15728 hardcode_libdir_separator_CXX=:
15730 # Archives containing C++ object files must be created using
15731 # the KAI C++ compiler.
15733 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15734 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15738 # Rational C++ 2.4.1
15739 # FIXME: insert proper C++ library support
15745 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15746 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'
15747 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15750 allow_undefined_flag_CXX=' -expect_unresolved \*'
15751 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'
15752 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15753 echo "-hidden">> $lib.exp~
15754 $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~
15756 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15760 hardcode_libdir_separator_CXX=:
15762 # Commands to make compiler produce verbose output that lists
15763 # what "hidden" libraries, object files and flags are used when
15764 # linking a shared library.
15766 # There doesn't appear to be a way to prevent this compiler from
15767 # explicitly linking system object files so we need to strip them
15768 # from the output so that they don't get included in the library
15770 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"'
15773 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15774 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15777 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'
15780 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'
15784 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15785 hardcode_libdir_separator_CXX=:
15787 # Commands to make compiler produce verbose output that lists
15788 # what "hidden" libraries, object files and flags are used when
15789 # linking a shared library.
15790 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15793 # FIXME: insert proper C++ library support
15801 # FIXME: insert proper C++ library support
15806 case $cc_basename in
15809 # FIXME: insert proper C++ library support
15814 # FIXME: insert proper C++ library support
15818 # FIXME: insert proper C++ library support
15825 case $cc_basename in
15827 # Sun C++ 4.2, 5.x and Centerline C++
15828 archive_cmds_need_lc_CXX=yes
15829 no_undefined_flag_CXX=' -zdefs'
15830 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15831 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15832 $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'
15834 hardcode_libdir_flag_spec_CXX='-R$libdir'
15835 hardcode_shlibpath_var_CXX=no
15837 solaris2.[0-5] | solaris2.[0-5].*) ;;
15839 # The compiler driver will combine and reorder linker options,
15840 # but understands `-z linker_flag'.
15841 # Supported since Solaris 2.6 (maybe 2.5.1?)
15842 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15845 link_all_deplibs_CXX=yes
15847 output_verbose_link_cmd='func_echo_all'
15849 # Archives containing C++ object files must be created using
15850 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15851 # necessary to make sure instantiated templates are included
15853 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15856 # Green Hills C++ Compiler
15857 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15859 # The C++ compiler must be used to create the archive.
15860 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15863 # GNU C++ compiler with Solaris linker
15864 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15865 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15866 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15867 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15868 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15869 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15871 # Commands to make compiler produce verbose output that lists
15872 # what "hidden" libraries, object files and flags are used when
15873 # linking a shared library.
15874 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15876 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15878 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15879 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15880 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15882 # Commands to make compiler produce verbose output that lists
15883 # what "hidden" libraries, object files and flags are used when
15884 # linking a shared library.
15885 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15888 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15890 solaris2.[0-5] | solaris2.[0-5].*) ;;
15892 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15900 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15901 no_undefined_flag_CXX='${wl}-z,text'
15902 archive_cmds_need_lc_CXX=no
15903 hardcode_shlibpath_var_CXX=no
15904 runpath_var='LD_RUN_PATH'
15906 case $cc_basename in
15908 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15909 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15912 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15913 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15918 sysv5* | sco3.2v5* | sco5v6*)
15919 # Note: We can NOT use -z defs as we might desire, because we do not
15920 # link with -lc, and that would cause any symbols used from libc to
15921 # always be unresolved, which means just about no library would
15922 # ever link correctly. If we're not using GNU ld we use -z text
15923 # though, which does catch some bad symbols but isn't as heavy-handed
15925 no_undefined_flag_CXX='${wl}-z,text'
15926 allow_undefined_flag_CXX='${wl}-z,nodefs'
15927 archive_cmds_need_lc_CXX=no
15928 hardcode_shlibpath_var_CXX=no
15929 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15930 hardcode_libdir_separator_CXX=':'
15931 link_all_deplibs_CXX=yes
15932 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15933 runpath_var='LD_RUN_PATH'
15935 case $cc_basename in
15937 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15938 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15939 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15940 '"$old_archive_cmds_CXX"
15941 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15942 '"$reload_cmds_CXX"
15945 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15946 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15952 case $cc_basename in
15954 # NonStop-UX NCC 3.20
15955 # FIXME: insert proper C++ library support
15959 # FIXME: insert proper C++ library support
15966 # FIXME: insert proper C++ library support
15971 # FIXME: insert proper C++ library support
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15977 $as_echo "$ld_shlibs_CXX" >&6; }
15978 test "$ld_shlibs_CXX" = no && can_build_shared=no
15984 ## There is no encapsulation within the following macros, do not change
15985 ## the running order or otherwise move them around unless you know exactly
15986 ## what you are doing...
15987 # Dependencies to place before and after the object being linked:
15988 predep_objects_CXX=
15989 postdep_objects_CXX=
15992 compiler_lib_search_path_CXX=
15994 cat > conftest.$ac_ext <<_LT_EOF
15998 Foo (void) { a = 0; }
16005 _lt_libdeps_save_CFLAGS=$CFLAGS
16006 case "$CC $CFLAGS " in #(
16007 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16008 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16012 (eval $ac_compile) 2>&5
16014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16015 test $ac_status = 0; }; then
16016 # Parse the compiler output and extract the necessary
16017 # objects, libraries and library flags.
16019 # Sentinel used to keep track of whether or not we are before
16020 # the conftest object file.
16021 pre_test_object_deps_done=no
16023 for p in `eval "$output_verbose_link_cmd"`; do
16024 case ${prev}${p} in
16027 # Some compilers place space between "-{L,R}" and the path.
16028 # Remove the space.
16029 if test $p = "-L" ||
16030 test $p = "-R"; then
16035 # Expand the sysroot to ease extracting the directories later.
16036 if test -z "$prev"; then
16038 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16039 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16040 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16044 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16046 if test "$pre_test_object_deps_done" = no; then
16049 # Internal compiler library paths should come after those
16050 # provided the user. The postdeps already come after the
16051 # user supplied libs so there is no need to process them.
16052 if test -z "$compiler_lib_search_path_CXX"; then
16053 compiler_lib_search_path_CXX="${prev}${p}"
16055 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16058 # The "-l" case would never come before the object being
16059 # linked, so don't bother handling this case.
16062 if test -z "$postdeps_CXX"; then
16063 postdeps_CXX="${prev}${p}"
16065 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16071 *.lto.$objext) ;; # Ignore GCC LTO objects
16073 # This assumes that the test object file only shows up
16074 # once in the compiler output.
16075 if test "$p" = "conftest.$objext"; then
16076 pre_test_object_deps_done=yes
16080 if test "$pre_test_object_deps_done" = no; then
16081 if test -z "$predep_objects_CXX"; then
16082 predep_objects_CXX="$p"
16084 predep_objects_CXX="$predep_objects_CXX $p"
16087 if test -z "$postdep_objects_CXX"; then
16088 postdep_objects_CXX="$p"
16090 postdep_objects_CXX="$postdep_objects_CXX $p"
16095 *) ;; # Ignore the rest.
16103 echo "libtool.m4: error: problem compiling CXX test program"
16106 $RM -f confest.$objext
16107 CFLAGS=$_lt_libdeps_save_CFLAGS
16109 # PORTME: override above test on systems where it is broken
16112 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16113 # hack all around it, let's just trust "g++" to DTRT.
16114 predep_objects_CXX=
16115 postdep_objects_CXX=
16120 case `$CC -V 2>&1 | sed 5q` in
16124 # The more standards-conforming stlport4 library is
16125 # incompatible with the Cstd library. Avoid specifying
16126 # it if it's in CXXFLAGS. Ignore libCrun as
16127 # -library=stlport4 depends on it.
16128 case " $CXX $CXXFLAGS " in
16129 *" -library=stlport4 "*)
16130 solaris_use_stlport4=yes
16134 if test "$solaris_use_stlport4" != yes; then
16135 postdeps_CXX='-library=Cstd -library=Crun'
16142 case $cc_basename in
16144 # The more standards-conforming stlport4 library is
16145 # incompatible with the Cstd library. Avoid specifying
16146 # it if it's in CXXFLAGS. Ignore libCrun as
16147 # -library=stlport4 depends on it.
16148 case " $CXX $CXXFLAGS " in
16149 *" -library=stlport4 "*)
16150 solaris_use_stlport4=yes
16154 # Adding this requires a known-good setup of shared libraries for
16155 # Sun compiler versions before 5.6, else PIC objects from an old
16156 # archive will be linked into the output, leading to subtle bugs.
16157 if test "$solaris_use_stlport4" != yes; then
16158 postdeps_CXX='-library=Cstd -library=Crun'
16166 case " $postdeps_CXX " in
16167 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16169 compiler_lib_search_dirs_CXX=
16170 if test -n "${compiler_lib_search_path_CXX}"; then
16171 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16204 lt_prog_compiler_wl_CXX=
16205 lt_prog_compiler_pic_CXX=
16206 lt_prog_compiler_static_CXX=
16209 # C++ specific cases for pic, static, wl, etc.
16210 if test "$GXX" = yes; then
16211 lt_prog_compiler_wl_CXX='-Wl,'
16212 lt_prog_compiler_static_CXX='-static'
16216 # All AIX code is PIC.
16217 if test "$host_cpu" = ia64; then
16218 # AIX 5 now supports IA64 processor
16219 lt_prog_compiler_static_CXX='-Bstatic'
16226 # see comment about AmigaOS4 .so support
16227 lt_prog_compiler_pic_CXX='-fPIC'
16230 # FIXME: we need at least 68020 code to build shared libraries, but
16231 # adding the `-m68020' flag to GCC prevents building anything better,
16233 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16238 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16239 # PIC is the default for these OSes.
16241 mingw* | cygwin* | os2* | pw32* | cegcc*)
16242 # This hack is so that the source file can tell whether it is being
16243 # built for inclusion in a dll (and should export symbols for example).
16244 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16245 # (--disable-auto-import) libraries
16246 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16248 darwin* | rhapsody*)
16249 # PIC is the default on this platform
16250 # Common symbols not allowed in MH_DYLIB files
16251 lt_prog_compiler_pic_CXX='-fno-common'
16254 # DJGPP does not support shared libraries at all
16255 lt_prog_compiler_pic_CXX=
16258 # PIC is the default for Haiku.
16259 # The "-static" flag exists, but is broken.
16260 lt_prog_compiler_static_CXX=
16263 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16264 # Instead, we relocate shared libraries at runtime.
16267 if test -d /usr/nec; then
16268 lt_prog_compiler_pic_CXX=-Kconform_pic
16272 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16273 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16274 # sets the default TLS model and affects inlining.
16279 lt_prog_compiler_pic_CXX='-fPIC'
16284 # QNX uses GNU C++, but need to define -shared option too, otherwise
16285 # it will coredump.
16286 lt_prog_compiler_pic_CXX='-fPIC -shared'
16289 lt_prog_compiler_pic_CXX='-fPIC'
16295 # All AIX code is PIC.
16296 if test "$host_cpu" = ia64; then
16297 # AIX 5 now supports IA64 processor
16298 lt_prog_compiler_static_CXX='-Bstatic'
16300 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16304 case $cc_basename in
16306 # Green Hills C++ Compiler
16307 # _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"
16311 mingw* | cygwin* | os2* | pw32* | cegcc*)
16312 # This hack is so that the source file can tell whether it is being
16313 # built for inclusion in a dll (and should export symbols for example).
16314 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16317 case $cc_basename in
16319 lt_prog_compiler_pic_CXX='-KPIC'
16322 # Green Hills C++ Compiler
16323 lt_prog_compiler_pic_CXX='-pic'
16329 freebsd* | dragonfly*)
16330 # FreeBSD uses GNU C++
16332 hpux9* | hpux10* | hpux11*)
16333 case $cc_basename in
16335 lt_prog_compiler_wl_CXX='-Wl,'
16336 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16337 if test "$host_cpu" != ia64; then
16338 lt_prog_compiler_pic_CXX='+Z'
16342 lt_prog_compiler_wl_CXX='-Wl,'
16343 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16349 lt_prog_compiler_pic_CXX='+Z'
16358 # This is c89, which is MS Visual C++ (no shared libs)
16359 # Anyone wants to do a port?
16361 irix5* | irix6* | nonstopux*)
16362 case $cc_basename in
16364 lt_prog_compiler_wl_CXX='-Wl,'
16365 lt_prog_compiler_static_CXX='-non_shared'
16366 # CC pic flag -KPIC is the default.
16372 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16373 case $cc_basename in
16376 lt_prog_compiler_wl_CXX='--backend -Wl,'
16377 lt_prog_compiler_pic_CXX='-fPIC'
16380 # old Intel C++ for x86_64 which still supported -KPIC.
16381 lt_prog_compiler_wl_CXX='-Wl,'
16382 lt_prog_compiler_pic_CXX='-KPIC'
16383 lt_prog_compiler_static_CXX='-static'
16386 # Intel C++, used to be incompatible with GCC.
16387 # ICC 10 doesn't accept -KPIC any more.
16388 lt_prog_compiler_wl_CXX='-Wl,'
16389 lt_prog_compiler_pic_CXX='-fPIC'
16390 lt_prog_compiler_static_CXX='-static'
16393 # Portland Group C++ compiler
16394 lt_prog_compiler_wl_CXX='-Wl,'
16395 lt_prog_compiler_pic_CXX='-fpic'
16396 lt_prog_compiler_static_CXX='-Bstatic'
16400 # Make sure the PIC flag is empty. It appears that all Alpha
16401 # Linux and Compaq Tru64 Unix objects are PIC.
16402 lt_prog_compiler_pic_CXX=
16403 lt_prog_compiler_static_CXX='-non_shared'
16405 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16406 # IBM XL 8.0, 9.0 on PPC and BlueGene
16407 lt_prog_compiler_wl_CXX='-Wl,'
16408 lt_prog_compiler_pic_CXX='-qpic'
16409 lt_prog_compiler_static_CXX='-qstaticlink'
16412 case `$CC -V 2>&1 | sed 5q` in
16415 lt_prog_compiler_pic_CXX='-KPIC'
16416 lt_prog_compiler_static_CXX='-Bstatic'
16417 lt_prog_compiler_wl_CXX='-Qoption ld '
16428 case $cc_basename in
16430 lt_prog_compiler_pic_CXX='-W c,exportall'
16439 # QNX uses GNU C++, but need to define -shared option too, otherwise
16440 # it will coredump.
16441 lt_prog_compiler_pic_CXX='-fPIC -shared'
16443 osf3* | osf4* | osf5*)
16444 case $cc_basename in
16446 lt_prog_compiler_wl_CXX='--backend -Wl,'
16449 # Rational C++ 2.4.1
16450 lt_prog_compiler_pic_CXX='-pic'
16453 # Digital/Compaq C++
16454 lt_prog_compiler_wl_CXX='-Wl,'
16455 # Make sure the PIC flag is empty. It appears that all Alpha
16456 # Linux and Compaq Tru64 Unix objects are PIC.
16457 lt_prog_compiler_pic_CXX=
16458 lt_prog_compiler_static_CXX='-non_shared'
16467 case $cc_basename in
16469 # Sun C++ 4.2, 5.x and Centerline C++
16470 lt_prog_compiler_pic_CXX='-KPIC'
16471 lt_prog_compiler_static_CXX='-Bstatic'
16472 lt_prog_compiler_wl_CXX='-Qoption ld '
16475 # Green Hills C++ Compiler
16476 lt_prog_compiler_pic_CXX='-PIC'
16483 case $cc_basename in
16486 lt_prog_compiler_pic_CXX='-pic'
16487 lt_prog_compiler_static_CXX='-Bstatic'
16491 lt_prog_compiler_pic_CXX='-pic'
16497 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16498 case $cc_basename in
16500 lt_prog_compiler_wl_CXX='-Wl,'
16501 lt_prog_compiler_pic_CXX='-KPIC'
16502 lt_prog_compiler_static_CXX='-Bstatic'
16507 case $cc_basename in
16509 # NonStop-UX NCC 3.20
16510 lt_prog_compiler_pic_CXX='-KPIC'
16519 lt_prog_compiler_can_build_shared_CXX=no
16525 # For platforms which do not support PIC, -DPIC is meaningless:
16527 lt_prog_compiler_pic_CXX=
16530 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16536 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16537 $as_echo_n "(cached) " >&6
16539 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16542 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16543 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16546 # Check to make sure the PIC flag actually works.
16548 if test -n "$lt_prog_compiler_pic_CXX"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16550 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16551 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16552 $as_echo_n "(cached) " >&6
16554 lt_cv_prog_compiler_pic_works_CXX=no
16555 ac_outfile=conftest.$ac_objext
16556 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16557 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16558 # Insert the option either (1) after the last *FLAGS variable, or
16559 # (2) before a word containing "conftest.", or (3) at the end.
16560 # Note that $ac_compile itself does not contain backslashes and begins
16561 # with a dollar sign (not a hyphen), so the echo should work correctly.
16562 # The option is referenced via a variable to avoid confusing sed.
16563 lt_compile=`echo "$ac_compile" | $SED \
16564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16566 -e 's:$: $lt_compiler_flag:'`
16567 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16568 (eval "$lt_compile" 2>conftest.err)
16570 cat conftest.err >&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 if (exit $ac_status) && test -s "$ac_outfile"; then
16573 # The compiler can only warn and ignore the option if not recognized
16574 # So say no if there are warnings other than the usual output.
16575 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16576 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16577 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16578 lt_cv_prog_compiler_pic_works_CXX=yes
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16585 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16587 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16588 case $lt_prog_compiler_pic_CXX in
16590 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16593 lt_prog_compiler_pic_CXX=
16594 lt_prog_compiler_can_build_shared_CXX=no
16604 # Check to make sure the static flag actually works.
16606 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16609 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16610 $as_echo_n "(cached) " >&6
16612 lt_cv_prog_compiler_static_works_CXX=no
16613 save_LDFLAGS="$LDFLAGS"
16614 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16615 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16616 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16617 # The linker can only warn and ignore the option if not recognized
16618 # So say no if there are warnings
16619 if test -s conftest.err; then
16620 # Append any errors to the config.log.
16621 cat conftest.err 1>&5
16622 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16623 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16624 if diff conftest.exp conftest.er2 >/dev/null; then
16625 lt_cv_prog_compiler_static_works_CXX=yes
16628 lt_cv_prog_compiler_static_works_CXX=yes
16632 LDFLAGS="$save_LDFLAGS"
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16636 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16638 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16641 lt_prog_compiler_static_CXX=
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16649 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16650 $as_echo_n "(cached) " >&6
16652 lt_cv_prog_compiler_c_o_CXX=no
16653 $RM -r conftest 2>/dev/null
16657 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16659 lt_compiler_flag="-o out/conftest2.$ac_objext"
16660 # Insert the option either (1) after the last *FLAGS variable, or
16661 # (2) before a word containing "conftest.", or (3) at the end.
16662 # Note that $ac_compile itself does not contain backslashes and begins
16663 # with a dollar sign (not a hyphen), so the echo should work correctly.
16664 lt_compile=`echo "$ac_compile" | $SED \
16665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16667 -e 's:$: $lt_compiler_flag:'`
16668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16669 (eval "$lt_compile" 2>out/conftest.err)
16671 cat out/conftest.err >&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16675 # The compiler can only warn and ignore the option if not recognized
16676 # So say no if there are warnings
16677 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16678 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16679 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16680 lt_cv_prog_compiler_c_o_CXX=yes
16685 # SGI C++ compiler will create directory out/ii_files/ for
16686 # template instantiation
16687 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16688 $RM out/* && rmdir out
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16695 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16701 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16702 $as_echo_n "(cached) " >&6
16704 lt_cv_prog_compiler_c_o_CXX=no
16705 $RM -r conftest 2>/dev/null
16709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16711 lt_compiler_flag="-o out/conftest2.$ac_objext"
16712 # Insert the option either (1) after the last *FLAGS variable, or
16713 # (2) before a word containing "conftest.", or (3) at the end.
16714 # Note that $ac_compile itself does not contain backslashes and begins
16715 # with a dollar sign (not a hyphen), so the echo should work correctly.
16716 lt_compile=`echo "$ac_compile" | $SED \
16717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16719 -e 's:$: $lt_compiler_flag:'`
16720 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16721 (eval "$lt_compile" 2>out/conftest.err)
16723 cat out/conftest.err >&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16727 # The compiler can only warn and ignore the option if not recognized
16728 # So say no if there are warnings
16729 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16730 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16731 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16732 lt_cv_prog_compiler_c_o_CXX=yes
16737 # SGI C++ compiler will create directory out/ii_files/ for
16738 # template instantiation
16739 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16740 $RM out/* && rmdir out
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16747 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16752 hard_links="nottested"
16753 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16754 # do not overwrite the value of need_locks provided by the user
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16756 $as_echo_n "checking if we can lock with hard links... " >&6; }
16759 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16761 ln conftest.a conftest.b 2>&5 || hard_links=no
16762 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16764 $as_echo "$hard_links" >&6; }
16765 if test "$hard_links" = no; then
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16767 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16777 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16779 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16780 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16783 # If we're using GNU nm, then we don't want the "-C" option.
16784 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16785 # Also, AIX nm treats weak defined symbols like other global defined
16786 # symbols, whereas GNU nm marks them as "W".
16787 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16788 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'
16790 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'
16794 export_symbols_cmds_CXX="$ltdll_cmds"
16796 cygwin* | mingw* | cegcc*)
16797 case $cc_basename in
16800 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'
16801 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16806 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16811 $as_echo "$ld_shlibs_CXX" >&6; }
16812 test "$ld_shlibs_CXX" = no && can_build_shared=no
16814 with_gnu_ld_CXX=$with_gnu_ld
16822 # Do we need to explicitly link libc?
16824 case "x$archive_cmds_need_lc_CXX" in
16826 # Assume -lc should be added
16827 archive_cmds_need_lc_CXX=yes
16829 if test "$enable_shared" = yes && test "$GCC" = yes; then
16830 case $archive_cmds_CXX in
16832 # FIXME: we may have to deal with multi-command sequences.
16835 # Test whether the compiler implicitly links with -lc since on some
16836 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16837 # to ld, don't add -lc before -lgcc.
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16839 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16840 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16841 $as_echo_n "(cached) " >&6
16844 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16847 (eval $ac_compile) 2>&5
16849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16850 test $ac_status = 0; } 2>conftest.err; then
16853 libobjs=conftest.$ac_objext
16855 wl=$lt_prog_compiler_wl_CXX
16856 pic_flag=$lt_prog_compiler_pic_CXX
16862 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16863 allow_undefined_flag_CXX=
16864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16865 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16868 test $ac_status = 0; }
16870 lt_cv_archive_cmds_need_lc_CXX=no
16872 lt_cv_archive_cmds_need_lc_CXX=yes
16874 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16876 cat conftest.err 1>&5
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16882 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16883 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16954 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16956 library_names_spec=
16957 libname_spec='lib$name'
16961 postuninstall_cmds=
16965 shlibpath_overrides_runpath=unknown
16967 dynamic_linker="$host_os ld.so"
16968 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16969 need_lib_prefix=unknown
16970 hardcode_into_libs=no
16972 # when you set need_version to no, make sure it does not cause -set_version
16973 # flags to be left without arguments
16974 need_version=unknown
16979 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16980 shlibpath_var=LIBPATH
16982 # AIX 3 has no versioning support, so we append a major version to the name.
16983 soname_spec='${libname}${release}${shared_ext}$major'
16990 hardcode_into_libs=yes
16991 if test "$host_cpu" = ia64; then
16992 # AIX 5 supports IA64
16993 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16994 shlibpath_var=LD_LIBRARY_PATH
16996 # With GCC up to 2.95.x, collect2 would create an import file
16997 # for dependence libraries. The import file would start with
16998 # the line `#! .'. This would cause the generated library to
16999 # depend on `.', always an invalid library. This was fixed in
17000 # development snapshots of GCC prior to 3.0.
17002 aix4 | aix4.[01] | aix4.[01].*)
17003 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17005 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17008 can_build_shared=no
17012 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17013 # soname into executable. Probably we can add versioning support to
17014 # collect2, so additional links can be useful in future.
17015 if test "$aix_use_runtimelinking" = yes; then
17016 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17017 # instead of lib<name>.a to let people know that these are not
17018 # typical AIX shared libraries.
17019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17021 # We preserve .a as extension for shared libraries through AIX4.2
17022 # and later when we are not doing run time linking.
17023 library_names_spec='${libname}${release}.a $libname.a'
17024 soname_spec='${libname}${release}${shared_ext}$major'
17026 shlibpath_var=LIBPATH
17033 # Since July 2007 AmigaOS4 officially supports .so libraries.
17034 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17038 library_names_spec='$libname.ixlibrary $libname.a'
17039 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17040 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'
17046 library_names_spec='${libname}${shared_ext}'
17047 dynamic_linker="$host_os ld.so"
17048 shlibpath_var=LIBRARY_PATH
17054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055 soname_spec='${libname}${release}${shared_ext}$major'
17056 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17057 shlibpath_var=LD_LIBRARY_PATH
17058 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17059 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17060 # the default ld.so.conf also contains /usr/contrib/lib and
17061 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17062 # libtool to hard-code these into programs
17065 cygwin* | mingw* | pw32* | cegcc*)
17066 version_type=windows
17071 case $GCC,$cc_basename in
17074 library_names_spec='$libname.dll.a'
17075 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17076 postinstall_cmds='base_file=`basename \${file}`~
17077 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17078 dldir=$destdir/`dirname \$dlpath`~
17079 test -d \$dldir || mkdir -p \$dldir~
17080 $install_prog $dir/$dlname \$dldir/$dlname~
17081 chmod a+x \$dldir/$dlname~
17082 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17083 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17085 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17086 dlpath=$dir/\$dldll~
17088 shlibpath_overrides_runpath=yes
17092 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17093 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17097 # MinGW DLLs use traditional 'lib' prefix
17098 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17101 # pw32 DLLs use 'pw' prefix rather than 'lib'
17102 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17105 dynamic_linker='Win32 ld.exe'
17110 libname_spec='$name'
17111 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17112 library_names_spec='${libname}.dll.lib'
17116 sys_lib_search_path_spec=
17119 for lt_path in $LIB
17122 # Let DOS variable expansion print the short 8.3 style file name.
17123 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17124 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17127 # Convert to MSYS style.
17128 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17131 # Convert to unix form, then to dos form, then back to unix form
17132 # but this time dos style (no spaces!) so that the unix form looks
17133 # like /cygdrive/c/PROGRA~1:/cygdr...
17134 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17135 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17136 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17139 sys_lib_search_path_spec="$LIB"
17140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17141 # It is most probably a Windows format PATH.
17142 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17144 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17146 # FIXME: find the short name or the path components, as spaces are
17147 # common. (e.g. "Program Files" -> "PROGRA~1")
17151 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17152 postinstall_cmds='base_file=`basename \${file}`~
17153 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17154 dldir=$destdir/`dirname \$dlpath`~
17155 test -d \$dldir || mkdir -p \$dldir~
17156 $install_prog $dir/$dlname \$dldir/$dlname'
17157 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17158 dlpath=$dir/\$dldll~
17160 shlibpath_overrides_runpath=yes
17161 dynamic_linker='Win32 link.exe'
17165 # Assume MSVC wrapper
17166 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17167 dynamic_linker='Win32 ld.exe'
17170 # FIXME: first we should search . and the directory the executable is in
17174 darwin* | rhapsody*)
17175 dynamic_linker="$host_os dyld"
17176 version_type=darwin
17179 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17180 soname_spec='${libname}${release}${major}$shared_ext'
17181 shlibpath_overrides_runpath=yes
17182 shlibpath_var=DYLD_LIBRARY_PATH
17183 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17185 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17193 soname_spec='${libname}${release}${shared_ext}$major'
17194 shlibpath_var=LD_LIBRARY_PATH
17201 freebsd* | dragonfly*)
17202 # DragonFly does not have aout. When/if they implement a new
17203 # versioning mechanism, adjust this.
17204 if test -x /usr/bin/objformat; then
17205 objformat=`/usr/bin/objformat`
17208 freebsd[123]*) objformat=aout ;;
17209 *) objformat=elf ;;
17212 version_type=freebsd-$objformat
17213 case $version_type in
17215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17220 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17224 shlibpath_var=LD_LIBRARY_PATH
17227 shlibpath_overrides_runpath=yes
17229 freebsd3.[01]* | freebsdelf3.[01]*)
17230 shlibpath_overrides_runpath=yes
17231 hardcode_into_libs=yes
17233 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17234 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17235 shlibpath_overrides_runpath=no
17236 hardcode_into_libs=yes
17238 *) # from 4.6 on, and DragonFly
17239 shlibpath_overrides_runpath=yes
17240 hardcode_into_libs=yes
17249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17250 soname_spec='${libname}${release}${shared_ext}$major'
17251 shlibpath_var=LD_LIBRARY_PATH
17252 hardcode_into_libs=yes
17259 dynamic_linker="$host_os runtime_loader"
17260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17261 soname_spec='${libname}${release}${shared_ext}$major'
17262 shlibpath_var=LIBRARY_PATH
17263 shlibpath_overrides_runpath=yes
17264 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17265 hardcode_into_libs=yes
17268 hpux9* | hpux10* | hpux11*)
17269 # Give a soname corresponding to the major version so that dld.sl refuses to
17270 # link against other versions.
17277 hardcode_into_libs=yes
17278 dynamic_linker="$host_os dld.so"
17279 shlibpath_var=LD_LIBRARY_PATH
17280 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17282 soname_spec='${libname}${release}${shared_ext}$major'
17283 if test "X$HPUX_IA64_MODE" = X32; then
17284 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17286 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17288 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17292 hardcode_into_libs=yes
17293 dynamic_linker="$host_os dld.sl"
17294 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17295 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17297 soname_spec='${libname}${release}${shared_ext}$major'
17298 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17299 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17303 dynamic_linker="$host_os dld.sl"
17304 shlibpath_var=SHLIB_PATH
17305 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17307 soname_spec='${libname}${release}${shared_ext}$major'
17310 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17311 postinstall_cmds='chmod 555 $lib'
17312 # or fails outright, so override atomically:
17313 install_override_mode=555
17320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17321 soname_spec='${libname}${release}${shared_ext}$major'
17322 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17323 shlibpath_var=LD_LIBRARY_PATH
17324 shlibpath_overrides_runpath=no
17325 hardcode_into_libs=yes
17328 irix5* | irix6* | nonstopux*)
17330 nonstopux*) version_type=nonstopux ;;
17332 if test "$lt_cv_prog_gnu_ld" = yes; then
17340 soname_spec='${libname}${release}${shared_ext}$major'
17341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17343 irix5* | nonstopux*)
17344 libsuff= shlibsuff=
17347 case $LD in # libtool.m4 will add one of these switches to LD
17348 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17349 libsuff= shlibsuff= libmagic=32-bit;;
17350 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17351 libsuff=32 shlibsuff=N32 libmagic=N32;;
17352 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17353 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17354 *) libsuff= shlibsuff= libmagic=never-match;;
17358 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17359 shlibpath_overrides_runpath=no
17360 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17361 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17362 hardcode_into_libs=yes
17365 # No shared lib support for Linux oldld, aout, or coff.
17366 linux*oldld* | linux*aout* | linux*coff*)
17370 # This must be Linux ELF.
17371 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17376 soname_spec='${libname}${release}${shared_ext}$major'
17377 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17378 shlibpath_var=LD_LIBRARY_PATH
17379 shlibpath_overrides_runpath=no
17381 # Some binutils ld are patched to set DT_RUNPATH
17382 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17383 $as_echo_n "(cached) " >&6
17385 lt_cv_shlibpath_overrides_runpath=no
17386 save_LDFLAGS=$LDFLAGS
17387 save_libdir=$libdir
17388 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17389 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17401 if ac_fn_cxx_try_link "$LINENO"; then :
17402 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17403 lt_cv_shlibpath_overrides_runpath=yes
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17408 LDFLAGS=$save_LDFLAGS
17409 libdir=$save_libdir
17413 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17415 # This implies no fast_install, which is unacceptable.
17416 # Some rework will be needed to allow for fast_install
17417 # before this can be enabled.
17418 hardcode_into_libs=yes
17420 # Append ld.so.conf contents to the search path
17421 if test -f /etc/ld.so.conf; then
17422 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' ' '`
17423 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17426 # We used to test for /lib/ld.so.1 and disable shared libraries on
17427 # powerpc, because MkLinux only supported shared libraries with the
17428 # GNU dynamic linker. Since this was broken with cross compilers,
17429 # most powerpc-linux boxes support dynamic linking these days and
17430 # people can always --disable-shared, the test was removed, and we
17431 # assume the GNU/Linux dynamic linker is in use.
17432 dynamic_linker='GNU/Linux ld.so'
17439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17441 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17442 dynamic_linker='NetBSD (a.out) ld.so'
17444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17445 soname_spec='${libname}${release}${shared_ext}$major'
17446 dynamic_linker='NetBSD ld.elf_so'
17448 shlibpath_var=LD_LIBRARY_PATH
17449 shlibpath_overrides_runpath=yes
17450 hardcode_into_libs=yes
17455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17456 shlibpath_var=LD_LIBRARY_PATH
17457 shlibpath_overrides_runpath=yes
17464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17465 soname_spec='${libname}${release}${shared_ext}$major'
17466 shlibpath_var=LD_LIBRARY_PATH
17467 shlibpath_overrides_runpath=no
17468 hardcode_into_libs=yes
17469 dynamic_linker='ldqnx.so'
17474 sys_lib_dlsearch_path_spec="/usr/lib"
17476 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17478 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17479 *) need_version=no ;;
17481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17483 shlibpath_var=LD_LIBRARY_PATH
17484 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17486 openbsd2.[89] | openbsd2.[89].*)
17487 shlibpath_overrides_runpath=no
17490 shlibpath_overrides_runpath=yes
17494 shlibpath_overrides_runpath=yes
17499 libname_spec='$name'
17502 library_names_spec='$libname${shared_ext} $libname.a'
17503 dynamic_linker='OS/2 ld.exe'
17504 shlibpath_var=LIBPATH
17507 osf3* | osf4* | osf5*)
17511 soname_spec='${libname}${release}${shared_ext}$major'
17512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17513 shlibpath_var=LD_LIBRARY_PATH
17514 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17515 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17527 soname_spec='${libname}${release}${shared_ext}$major'
17528 shlibpath_var=LD_LIBRARY_PATH
17529 shlibpath_overrides_runpath=yes
17530 hardcode_into_libs=yes
17531 # ldd complains unless libraries are executable
17532 postinstall_cmds='chmod +x $lib'
17537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17538 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17539 shlibpath_var=LD_LIBRARY_PATH
17540 shlibpath_overrides_runpath=yes
17541 if test "$with_gnu_ld" = yes; then
17549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17550 soname_spec='${libname}${release}${shared_ext}$major'
17551 shlibpath_var=LD_LIBRARY_PATH
17552 case $host_vendor in
17554 shlibpath_overrides_runpath=no
17556 runpath_var=LD_RUN_PATH
17564 shlibpath_overrides_runpath=no
17565 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17571 if test -d /usr/nec ;then
17573 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17574 soname_spec='$libname${shared_ext}.$major'
17575 shlibpath_var=LD_LIBRARY_PATH
17579 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17580 version_type=freebsd-elf
17583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17584 soname_spec='${libname}${release}${shared_ext}$major'
17585 shlibpath_var=LD_LIBRARY_PATH
17586 shlibpath_overrides_runpath=yes
17587 hardcode_into_libs=yes
17588 if test "$with_gnu_ld" = yes; then
17589 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17591 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17594 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17598 sys_lib_dlsearch_path_spec='/usr/lib'
17602 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17607 shlibpath_var=LD_LIBRARY_PATH
17608 shlibpath_overrides_runpath=no
17609 hardcode_into_libs=yes
17614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17615 soname_spec='${libname}${release}${shared_ext}$major'
17616 shlibpath_var=LD_LIBRARY_PATH
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17624 $as_echo "$dynamic_linker" >&6; }
17625 test "$dynamic_linker" = no && can_build_shared=no
17627 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17628 if test "$GCC" = yes; then
17629 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17632 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17633 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17635 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17636 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17677 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17678 hardcode_action_CXX=
17679 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17680 test -n "$runpath_var_CXX" ||
17681 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17683 # We can hardcode non-existent directories.
17684 if test "$hardcode_direct_CXX" != no &&
17685 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17686 # have to relink, otherwise we might link with an installed library
17687 # when we should be linking with a yet-to-be-installed one
17688 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17689 test "$hardcode_minus_L_CXX" != no; then
17690 # Linking always hardcodes the temporary library directory.
17691 hardcode_action_CXX=relink
17693 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17694 hardcode_action_CXX=immediate
17697 # We cannot hardcode anything, or else we can only hardcode existing
17699 hardcode_action_CXX=unsupported
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17702 $as_echo "$hardcode_action_CXX" >&6; }
17704 if test "$hardcode_action_CXX" = relink ||
17705 test "$inherit_rpath_CXX" = yes; then
17706 # Fast installation is not supported
17707 enable_fast_install=no
17708 elif test "$shlibpath_overrides_runpath" = yes ||
17709 test "$enable_shared" = no; then
17710 # Fast installation is not necessary
17711 enable_fast_install=needless
17720 fi # test -n "$compiler"
17723 CFLAGS=$lt_save_CFLAGS
17727 with_gnu_ld=$lt_save_with_gnu_ld
17728 lt_cv_path_LDCXX=$lt_cv_path_LD
17729 lt_cv_path_LD=$lt_save_path_LD
17730 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17731 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17732 fi # test "$_lt_caught_CXX_error" != yes
17735 ac_cpp='$CPP $CPPFLAGS'
17736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17743 if test "$GCC" = "yes" ; then
17744 # AC_HAVE_GCC_VERSION(4,0,0,0,
17746 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17747 # [Define to enable class visibility control in gcc.])
17748 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17749 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17751 CFLAGS="-Wall $GCC_CFLAGS"
17752 CXXFLAGS="-Wall $GCC_CXXFLAGS"
17754 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17755 case "${host_cpu}-${host_os}" in
17757 if test "$CXX" = "CC" ; then
17758 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17762 CXXFLAGS="$CXXFLAGS -D_POSIX_PII_SOCKET"
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774 # Checks for typedefs, structures, and compiler characteristics.
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17776 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17777 if ${ac_cv_c_const+:} false; then :
17778 $as_echo_n "(cached) " >&6
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17786 /* FIXME: Include the comments suggested by Paul. */
17787 #ifndef __cplusplus
17788 /* Ultrix mips cc rejects this. */
17789 typedef int charset[2];
17791 /* SunOS 4.1.1 cc rejects this. */
17792 char const *const *pcpcc;
17794 /* NEC SVR4.0.2 mips cc rejects this. */
17795 struct point {int x, y;};
17796 static struct point const zero = {0,0};
17797 /* AIX XL C 1.02.0.0 rejects this.
17798 It does not let you subtract one const X* pointer from another in
17799 an arm of an if-expression whose if-part is not a constant
17801 const char *g = "string";
17802 pcpcc = &g + (g ? g-g : 0);
17803 /* HPUX 7.0 cc rejects these. */
17805 ppc = (char**) pcpcc;
17806 pcpcc = (char const *const *) ppc;
17807 { /* SCO 3.2v4 cc rejects this. */
17809 char const *s = 0 ? (char *) 0 : (char const *) 0;
17814 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17815 int x[] = {25, 17};
17816 const int *foo = &x[0];
17819 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17820 typedef const int *iptr;
17824 { /* AIX XL C 1.02.0.0 rejects this saying
17825 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17826 struct s { int j; const int *ap[3]; };
17827 struct s *b; b->j = 5;
17829 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17830 const int foo = 10;
17831 if (!foo) return 0;
17833 return !cs[0] && !zero.x;
17840 if ac_fn_c_try_compile "$LINENO"; then :
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17848 $as_echo "$ac_cv_c_const" >&6; }
17849 if test $ac_cv_c_const = no; then
17851 $as_echo "#define const /**/" >>confdefs.h
17855 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17856 if test "x$ac_cv_type_size_t" = xyes; then :
17860 cat >>confdefs.h <<_ACEOF
17861 #define size_t unsigned int
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17867 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17868 if ${ac_cv_struct_tm+:} false; then :
17869 $as_echo_n "(cached) " >&6
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17873 #include <sys/types.h>
17880 int *p = &tm.tm_sec;
17886 if ac_fn_c_try_compile "$LINENO"; then :
17887 ac_cv_struct_tm=time.h
17889 ac_cv_struct_tm=sys/time.h
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17894 $as_echo "$ac_cv_struct_tm" >&6; }
17895 if test $ac_cv_struct_tm = sys/time.h; then
17897 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17902 # Checks for library functions.
17903 for ac_func in strftime
17905 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
17906 if test "x$ac_cv_func_strftime" = xyes; then :
17907 cat >>confdefs.h <<_ACEOF
17908 #define HAVE_STRFTIME 1
17912 # strftime is in -lintl on SCO UNIX.
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
17914 $as_echo_n "checking for strftime in -lintl... " >&6; }
17915 if ${ac_cv_lib_intl_strftime+:} false; then :
17916 $as_echo_n "(cached) " >&6
17918 ac_check_lib_save_LIBS=$LIBS
17919 LIBS="-lintl $LIBS"
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17923 /* Override any GCC internal prototype to avoid an error.
17924 Use char because int might match the return type of a GCC
17925 builtin and then its argument prototype would still apply. */
17933 return strftime ();
17938 if ac_fn_c_try_link "$LINENO"; then :
17939 ac_cv_lib_intl_strftime=yes
17941 ac_cv_lib_intl_strftime=no
17943 rm -f core conftest.err conftest.$ac_objext \
17944 conftest$ac_exeext conftest.$ac_ext
17945 LIBS=$ac_check_lib_save_LIBS
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
17948 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
17949 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
17950 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
17952 LIBS="-lintl $LIBS"
17958 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
17959 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
17965 cat >>confdefs.h <<_ACEOF
17966 #define HAVE_DECL_STRERROR_R $ac_have_decl
17969 for ac_func in strerror_r
17971 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
17972 if test "x$ac_cv_func_strerror_r" = xyes; then :
17973 cat >>confdefs.h <<_ACEOF
17974 #define HAVE_STRERROR_R 1
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
17981 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
17982 if ${ac_cv_func_strerror_r_char_p+:} false; then :
17983 $as_echo_n "(cached) " >&6
17986 ac_cv_func_strerror_r_char_p=no
17987 if test $ac_cv_have_decl_strerror_r = yes; then
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 $ac_includes_default
17996 char x = *strerror_r (0, buf, sizeof buf);
17997 char *p = strerror_r (0, buf, sizeof buf);
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 ac_cv_func_strerror_r_char_p=yes
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 # strerror_r is not declared. Choose between
18010 # systems that have relatively inaccessible declarations for the
18011 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
18012 # former has a strerror_r that returns char*, while the latter
18013 # has a strerror_r that returns `int'.
18014 # This test should segfault on the DEC system.
18015 if test "$cross_compiling" = yes; then :
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 $ac_includes_default
18021 extern char *strerror_r ();
18026 char x = *strerror_r (0, buf, sizeof buf);
18027 return ! isalpha (x);
18032 if ac_fn_c_try_run "$LINENO"; then :
18033 ac_cv_func_strerror_r_char_p=yes
18035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18036 conftest.$ac_objext conftest.beam conftest.$ac_ext
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18043 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
18044 if test $ac_cv_func_strerror_r_char_p = yes; then
18046 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
18050 for ac_header in sys/utsname.h
18052 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
18053 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_SYS_UTSNAME_H 1
18062 for ac_func in strchr strdup strstr timegm gmtime_r strtok_r strcasecmp
18064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18075 # checks for pthreads
18079 ac_cpp='$CPP $CPPFLAGS'
18080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086 # We used to check for pthread.h first, but this fails if pthread.h
18087 # requires special compiler flags (e.g. on True64 or Sequent).
18088 # It gets checked for in the link test anyway.
18090 # First of all, check if the user has set any of the PTHREAD_LIBS,
18091 # etcetera environment variables, and if threads linking works using
18093 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
18094 save_CFLAGS="$CFLAGS"
18095 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18097 LIBS="$PTHREAD_LIBS $LIBS"
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18099 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18103 /* Override any GCC internal prototype to avoid an error.
18104 Use char because int might match the return type of a GCC
18105 builtin and then its argument prototype would still apply. */
18109 char pthread_join ();
18113 return pthread_join ();
18118 if ac_fn_c_try_link "$LINENO"; then :
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext conftest.$ac_ext
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18124 $as_echo "$acx_pthread_ok" >&6; }
18125 if test x"$acx_pthread_ok" = xno; then
18130 CFLAGS="$save_CFLAGS"
18133 # We must check for the threads library under a number of different
18134 # names; the ordering is very important because some systems
18135 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18136 # libraries is broken (non-POSIX).
18138 # Create a list of thread flags to try. Items starting with a "-" are
18139 # C compiler flags, and other items are library names, except for "none"
18140 # which indicates that we try without any flags at all, and "pthread-config"
18141 # which is a program returning the flags for the Pth emulation library.
18143 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18145 # The ordering *is* (sometimes) important. Some notes on the
18146 # individual items follow:
18148 # pthreads: AIX (must check this before -lpthread)
18149 # none: in case threads are in libc; should be tried before -Kthread and
18150 # other compiler flags to prevent continual compiler warnings
18151 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18152 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18153 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18154 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18155 # -pthreads: Solaris/gcc
18156 # -mthreads: Mingw32/gcc, Lynx/gcc
18157 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18158 # doesn't hurt to check since this sometimes defines pthreads too;
18159 # also defines -D_REENTRANT)
18160 # ... -mt is also the pthreads flag for HP/aCC
18161 # pthread: Linux, etcetera
18162 # --thread-safe: KAI C++
18163 # pthread-config: use pthread-config program (for GNU Pth library)
18165 case "${host_cpu}-${host_os}" in
18168 # On Solaris (at least, for some versions), libc contains stubbed
18169 # (non-functional) versions of the pthreads routines, so link-based
18170 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
18171 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18172 # a function called by this macro, so we could check for that, but
18173 # who knows whether they'll stub that too in a future libc.) So,
18174 # we'll just look for -pthreads and -lpthread first:
18176 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18180 if test x"$acx_pthread_ok" = xno; then
18181 for flag in $acx_pthread_flags; do
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18186 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18191 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18192 PTHREAD_CFLAGS="$flag"
18196 # Extract the first word of "pthread-config", so it can be a program name with args.
18197 set dummy pthread-config; ac_word=$2
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18199 $as_echo_n "checking for $ac_word... " >&6; }
18200 if ${ac_cv_prog_acx_pthread_config+:} false; then :
18201 $as_echo_n "(cached) " >&6
18203 if test -n "$acx_pthread_config"; then
18204 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18207 for as_dir in $PATH
18210 test -z "$as_dir" && as_dir=.
18211 for ac_exec_ext in '' $ac_executable_extensions; do
18212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18213 ac_cv_prog_acx_pthread_config="yes"
18214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18221 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18224 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18225 if test -n "$acx_pthread_config"; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18227 $as_echo "$acx_pthread_config" >&6; }
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18230 $as_echo "no" >&6; }
18234 if test x"$acx_pthread_config" = xno; then continue; fi
18235 PTHREAD_CFLAGS="`pthread-config --cflags`"
18236 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18241 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18242 PTHREAD_LIBS="-l$flag"
18247 save_CFLAGS="$CFLAGS"
18248 LIBS="$PTHREAD_LIBS $LIBS"
18249 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18251 # Check for various functions. We must include pthread.h,
18252 # since some functions may be macros. (On the Sequent, we
18253 # need a special flag -Kthread to make this header compile.)
18254 # We check for pthread_join because it is in -lpthread on IRIX
18255 # while pthread_create is in libc. We check for pthread_attr_init
18256 # due to DEC craziness with -lpthreads. We check for
18257 # pthread_cleanup_push because it is one of the few pthread
18258 # functions on Solaris that doesn't have a non-functional libc stub.
18259 # We try pthread_create on general principles.
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18262 #include <pthread.h>
18266 pthread_t th; pthread_join(th, 0);
18267 pthread_attr_init(0); pthread_cleanup_push(0, 0);
18268 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18273 if ac_fn_c_try_link "$LINENO"; then :
18276 rm -f core conftest.err conftest.$ac_objext \
18277 conftest$ac_exeext conftest.$ac_ext
18280 CFLAGS="$save_CFLAGS"
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18283 $as_echo "$acx_pthread_ok" >&6; }
18284 if test "x$acx_pthread_ok" = xyes; then
18293 # Various other checks:
18294 if test "x$acx_pthread_ok" = xyes; then
18296 LIBS="$PTHREAD_LIBS $LIBS"
18297 save_CFLAGS="$CFLAGS"
18298 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18300 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18302 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18304 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18307 #include <pthread.h>
18311 int attr=$attr; return attr;
18316 if ac_fn_c_try_link "$LINENO"; then :
18317 attr_name=$attr; break
18319 rm -f core conftest.err conftest.$ac_objext \
18320 conftest$ac_exeext conftest.$ac_ext
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18323 $as_echo "$attr_name" >&6; }
18324 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18326 cat >>confdefs.h <<_ACEOF
18327 #define PTHREAD_CREATE_JOINABLE $attr_name
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18333 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18335 case "${host_cpu}-${host_os}" in
18336 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
18337 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18339 if test "$GCC" = "yes"; then
18340 flag="-D_REENTRANT"
18342 flag="-mt -D_REENTRANT"
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18347 $as_echo "${flag}" >&6; }
18348 if test "x$flag" != xno; then
18349 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18353 CFLAGS="$save_CFLAGS"
18355 # More AIX lossage: must compile with xlc_r or cc_r
18356 if test x"$GCC" != xyes; then
18357 for ac_prog in xlc_r cc_r
18359 # Extract the first word of "$ac_prog", so it can be a program name with args.
18360 set dummy $ac_prog; ac_word=$2
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18362 $as_echo_n "checking for $ac_word... " >&6; }
18363 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18364 $as_echo_n "(cached) " >&6
18366 if test -n "$PTHREAD_CC"; then
18367 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18370 for as_dir in $PATH
18373 test -z "$as_dir" && as_dir=.
18374 for ac_exec_ext in '' $ac_executable_extensions; do
18375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18376 ac_cv_prog_PTHREAD_CC="$ac_prog"
18377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18386 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18387 if test -n "$PTHREAD_CC"; then
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18389 $as_echo "$PTHREAD_CC" >&6; }
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18392 $as_echo "no" >&6; }
18396 test -n "$PTHREAD_CC" && break
18398 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18411 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18412 if test x"$acx_pthread_ok" = xyes; then
18413 enable_threads="pthread"
18417 enable_threads="no"
18420 ac_cpp='$CPP $CPPFLAGS'
18421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18426 if test $enable_threads != "pthread"; then
18427 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18430 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18432 LIBS="$PTHREAD_LIBS $LIBS"
18433 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18434 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18439 # Check whether --with-openssl was given.
18440 if test "${with_openssl+set}" = set; then :
18441 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18442 SSLFLAGS="-I${with_openssl}/include"
18447 if test "x$with_openssl" = "x" ; then
18448 # Extract the first word of "pkg-config", so it can be a program name with args.
18449 set dummy pkg-config; ac_word=$2
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18451 $as_echo_n "checking for $ac_word... " >&6; }
18452 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18453 $as_echo_n "(cached) " >&6
18455 case $PKG_CONFIG in
18457 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18461 for as_dir in $PATH
18464 test -z "$as_dir" && as_dir=.
18465 for ac_exec_ext in '' $ac_executable_extensions; do
18466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18467 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18478 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18479 if test -n "$PKG_CONFIG"; then
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18481 $as_echo "$PKG_CONFIG" >&6; }
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18484 $as_echo "no" >&6; }
18488 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18489 if pkg-config openssl ; then
18490 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18493 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18499 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18501 $as_echo "$SSLFLAGS" >&6; }
18502 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18504 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18505 if test "x$ac_cv_header_openssl_x509_h" = xyes; then :
18508 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18514 ac_cpp='$CXXCPP $CPPFLAGS'
18515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18522 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18523 if ${ac_cv_cxx_namespaces+:} false; then :
18524 $as_echo_n "(cached) " >&6
18528 ac_cpp='$CXXCPP $CPPFLAGS'
18529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 namespace Outer { namespace Inner { int i = 0; }}
18539 using namespace Outer::Inner; return i;
18544 if ac_fn_cxx_try_compile "$LINENO"; then :
18545 ac_cv_cxx_namespaces=yes
18547 ac_cv_cxx_namespaces=no
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 ac_cpp='$CXXCPP $CPPFLAGS'
18552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18559 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18560 if test "$ac_cv_cxx_namespaces" = yes; then
18562 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18567 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18568 if ${ac_cv_cxx_have_stl+:} false; then :
18569 $as_echo_n "(cached) " >&6
18573 ac_cpp='$CXXCPP $CPPFLAGS'
18574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18582 #ifdef HAVE_NAMESPACES
18583 using namespace std;
18588 list<int> x; x.push_back(5);
18589 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18594 if ac_fn_cxx_try_compile "$LINENO"; then :
18595 ac_cv_cxx_have_stl=yes
18597 ac_cv_cxx_have_stl=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 ac_cpp='$CXXCPP $CPPFLAGS'
18602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18609 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18610 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18611 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18615 # Thank you Solaris, really.
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime_r" >&5
18617 $as_echo_n "checking for ctime_r... " >&6; }
18618 if test -z "$ac_cv_ctime_args"; then
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18625 time_t clock; char buf[26]; ctime_r(&clock, buf);
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18641 time_t clock; char buf[26]; ctime_r(&clock, buf, 26);
18646 if ac_fn_cxx_try_compile "$LINENO"; then :
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651 if test -z "$ac_cv_ctime_args"; then
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18653 $as_echo "no" >&6; }
18655 if test "$ac_cv_ctime_args" = 2; then
18657 $as_echo "#define HAVE_CTIME_R_2 1" >>confdefs.h
18659 elif test "$ac_cv_ctime_args" = 3; then
18661 $as_echo "#define HAVE_CTIME_R_3 1" >>confdefs.h
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
18665 $as_echo "yes, and it takes $ac_cv_ctime_args arguments" >&6; }
18668 # log4shib settings (favor this version over the log4cpp code)
18669 # Extract the first word of "log4shib-config", so it can be a program name with args.
18670 set dummy log4shib-config; ac_word=$2
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18672 $as_echo_n "checking for $ac_word... " >&6; }
18673 if ${ac_cv_path_LOG4SHIB_CONFIG+:} false; then :
18674 $as_echo_n "(cached) " >&6
18676 case $LOG4SHIB_CONFIG in
18678 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18682 for as_dir in $PATH
18685 test -z "$as_dir" && as_dir=.
18686 for ac_exec_ext in '' $ac_executable_extensions; do
18687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18688 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18699 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18700 if test -n "$LOG4SHIB_CONFIG"; then
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18702 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18705 $as_echo "no" >&6; }
18710 # Check whether --with-log4shib was given.
18711 if test "${with_log4shib+set}" = set; then :
18712 withval=$with_log4shib;
18713 LOG4SHIB_CONFIG="${with_log4shib}"
18714 if ! test -f "${LOG4SHIB_CONFIG}"; then
18715 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18720 if test -f "${LOG4SHIB_CONFIG}" ; then
18721 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18722 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18724 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18725 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = xyes; then :
18728 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 #include <log4shib/Category.hh>
18735 #include <log4shib/CategoryStream.hh>
18739 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18744 if ac_fn_cxx_try_link "$LINENO"; then :
18746 $as_echo "#define SHIBSP_LOG4SHIB 1" >>confdefs.h
18749 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18751 rm -f core conftest.err conftest.$ac_objext \
18752 conftest$ac_exeext conftest.$ac_ext
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18755 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18757 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18760 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18761 set dummy log4cpp-config; ac_word=$2
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18763 $as_echo_n "checking for $ac_word... " >&6; }
18764 if ${ac_cv_path_LOG4CPP_CONFIG+:} false; then :
18765 $as_echo_n "(cached) " >&6
18767 case $LOG4CPP_CONFIG in
18769 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18773 for as_dir in $PATH
18776 test -z "$as_dir" && as_dir=.
18777 for ac_exec_ext in '' $ac_executable_extensions; do
18778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18779 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18790 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18791 if test -n "$LOG4CPP_CONFIG"; then
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18793 $as_echo "$LOG4CPP_CONFIG" >&6; }
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18796 $as_echo "no" >&6; }
18801 # Check whether --with-log4cpp was given.
18802 if test "${with_log4cpp+set}" = set; then :
18803 withval=$with_log4cpp;
18804 LOG4CPP_CONFIG="${with_log4cpp}"
18805 if ! test -f "${LOG4CPP_CONFIG}"; then
18806 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18811 if test -f "${LOG4CPP_CONFIG}"; then
18812 { $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
18813 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18814 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18815 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18816 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18817 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = xyes; then :
18820 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18826 #include <log4cpp/Category.hh>
18827 #include <log4cpp/CategoryStream.hh>
18831 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18836 if ac_fn_cxx_try_link "$LINENO"; then :
18838 $as_echo "#define SHIBSP_LOG4CPP 1" >>confdefs.h
18841 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18843 rm -f core conftest.err conftest.$ac_objext \
18844 conftest$ac_exeext conftest.$ac_ext
18846 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18852 # Check whether --with-xerces was given.
18853 if test "${with_xerces+set}" = set; then :
18854 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18855 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18856 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18860 LIBS="-lxerces-c $LIBS"
18861 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18862 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = xyes; then :
18865 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18870 $as_echo_n "checking Xerces version... " >&6; }
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 #include <xercesc/util/XercesVersion.hpp>
18877 #if _XERCES_VERSION != 20600
18880 #error cannot use version 2.6.0
18886 if ac_fn_cxx_try_cpp "$LINENO"; then :
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18888 $as_echo "OK" >&6; }
18890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18892 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18893 See \`config.log' for more details" "$LINENO" 5; }
18895 rm -f conftest.err conftest.i conftest.$ac_ext
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 #include <xercesc/util/PlatformUtils.hpp>
18902 xercesc::XMLPlatformUtils::Initialize()
18907 if ac_fn_cxx_try_link "$LINENO"; then :
18910 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18912 rm -f core conftest.err conftest.$ac_objext \
18913 conftest$ac_exeext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18916 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #include <xercesc/util/XMLString.hpp>
18923 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18928 if ac_fn_cxx_try_compile "$LINENO"; then :
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18930 $as_echo "yes" >&6; }
18931 $as_echo "#define SHIBSP_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18935 $as_echo "no" >&6; }
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMNodeFilter API returns a short" >&5
18940 $as_echo_n "checking whether Xerces DOMNodeFilter API returns a short... " >&6; }
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 #include <xercesc/dom/DOM.hpp>
18947 using namespace XERCES_CPP_NAMESPACE;
18948 class Blocker : public DOMNodeFilter {
18950 short acceptNode(const DOMNode* node) const {
18951 return FILTER_REJECT;
18954 static Blocker g_Blocker;
18960 if ac_fn_cxx_try_compile "$LINENO"; then :
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18962 $as_echo "yes" >&6; }
18963 $as_echo "#define SHIBSP_XERCESC_SHORT_ACCEPTNODE 1" >>confdefs.h
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18967 $as_echo "no" >&6; }
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971 #XML-Tooling settings
18973 # Check whether --with-xmltooling was given.
18974 if test "${with_xmltooling+set}" = set; then :
18975 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18976 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18977 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18978 DX_INCLUDE="${with_xmltooling}/include"
18982 LITE_LIBS="-lxmltooling-lite"
18983 XMLSEC_LIBS="-lxmltooling"
18984 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/base.h" "ac_cv_header_xmltooling_base_h" "$ac_includes_default"
18985 if test "x$ac_cv_header_xmltooling_base_h" = xyes; then :
18988 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18994 # save and append master libs
18996 LIBS="$XMLSEC_LIBS $LIBS"
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 #include <xmltooling/XMLToolingConfig.h>
19001 #include <xmltooling/version.h>
19005 #if _XMLTOOLING_VERSION >= 10400
19006 xmltooling::XMLToolingConfig::getConfig();
19008 #error Need XMLTooling version 1.4 or higher
19014 if ac_fn_cxx_try_link "$LINENO"; then :
19017 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
19019 rm -f core conftest.err conftest.$ac_objext \
19020 conftest$ac_exeext conftest.$ac_ext
19022 # restore master libs
19025 # Establish location of xmltooling catalog.
19026 XMLTOOLINGXMLDIR=""
19027 if test "x$with_xmltooling" = "x" ; then
19028 with_xmltooling="/usr"
19030 if test -f $with_xmltooling/share/xml/xmltooling/catalog.xml ; then
19031 XMLTOOLINGXMLDIR="$with_xmltooling"
19032 elif test -f $with_xerces/share/xml/xmltooling/catalog.xml ; then
19033 XMLTOOLINGXMLDIR="$with_xerces"
19034 elif test -f $with_log4shib/share/xml/xmltooling/catalog.xml ; then
19035 XMLTOOLINGXMLDIR="$with_log4shib"
19037 if test "x$XMLTOOLINGXMLDIR" = "x" ; then
19038 as_fn_error $? "xmltooling XML catalog not found, may need to use --with-xmltooling option" "$LINENO" 5
19040 XMLTOOLINGXMLDIR="$XMLTOOLINGXMLDIR/share/xml/xmltooling"
19043 # XML-Security settings
19045 # Check whether --with-xmlsec was given.
19046 if test "${with_xmlsec+set}" = set; then :
19047 withval=$with_xmlsec;
19053 if test x_$with_xmlsec != x_/usr; then
19054 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
19055 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
19057 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
19059 # save and append master libs
19061 LIBS="$XMLSEC_LIBS $LIBS"
19063 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
19064 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = xyes; then :
19067 as_fn_error $? "unable to find XML-Security-C header files" "$LINENO" 5
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security-C version" >&5
19072 $as_echo_n "checking XML-Security-C version... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <xsec/utils/XSECPlatformUtils.hpp>
19079 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
19082 #error need version 1.4.0 or later
19088 if ac_fn_cxx_try_cpp "$LINENO"; then :
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
19090 $as_echo "OK" >&6; }
19092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19094 as_fn_error $? "XML-Security-C version 1.4.0 or greater is required.
19095 See \`config.log' for more details" "$LINENO" 5; }
19097 rm -f conftest.err conftest.i conftest.$ac_ext
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <xsec/utils/XSECPlatformUtils.hpp>
19104 XSECPlatformUtils::Initialise()
19109 if ac_fn_cxx_try_link "$LINENO"; then :
19112 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
19114 rm -f core conftest.err conftest.$ac_objext \
19115 conftest$ac_exeext conftest.$ac_ext
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C supports white/blacklisting of algorithms" >&5
19119 $as_echo_n "checking whether XML-Security-C supports white/blacklisting of algorithms... " >&6; }
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19122 #include <xsec/framework/XSECAlgorithmMapper.hpp>
19126 XSECAlgorithmMapper* mapper; mapper->whitelistAlgorithm(NULL);
19131 if ac_fn_cxx_try_compile "$LINENO"; then :
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19133 $as_echo "yes" >&6; }
19135 $as_echo "#define SHIBSP_XMLSEC_WHITELISTING 1" >>confdefs.h
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19139 $as_echo "no" >&6; }
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144 # restore master libs
19147 # OpenSAML settings
19149 # Check whether --with-saml was given.
19150 if test "${with_saml+set}" = set; then :
19151 withval=$with_saml; if test x_$with_saml != x_/usr; then
19152 LDFLAGS="-L${with_saml}/lib $LDFLAGS"
19153 CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
19154 DX_INCLUDE="$DX_INCLUDE ${with_saml}/include"
19158 XMLSEC_LIBS="-lsaml $XMLSEC_LIBS"
19160 # save and append master libs
19162 LIBS="$XMLSEC_LIBS $LIBS"
19164 ac_fn_cxx_check_header_mongrel "$LINENO" "saml/saml2/metadata/Metadata.h" "ac_cv_header_saml_saml2_metadata_Metadata_h" "$ac_includes_default"
19165 if test "x$ac_cv_header_saml_saml2_metadata_Metadata_h" = xyes; then :
19168 as_fn_error $? "unable to find OpenSAML header files" "$LINENO" 5
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19174 #include <saml/SAMLConfig.h>
19175 #include <saml/version.h>
19179 #if _OPENSAML_VERSION >= 20400
19180 opensaml::SAMLConfig::getConfig();
19182 #error Need OpenSAML version 2.4 or higher
19188 if ac_fn_cxx_try_link "$LINENO"; then :
19191 as_fn_error $? "unable to link with OpenSAML, or version was too old" "$LINENO" 5
19194 rm -f core conftest.err conftest.$ac_objext \
19195 conftest$ac_exeext conftest.$ac_ext
19197 # restore master libs
19200 # Establish location of opensaml catalogs.
19202 if test "x$with_saml" = "x" ; then
19205 if test -f $with_saml/share/xml/opensaml/saml20-catalog.xml ; then
19206 OPENSAMLXMLDIR="$with_saml"
19207 elif test -f $with_xmltooling/share/xml/opensaml/saml20-catalog.xml ; then
19208 OPENSAMLXMLDIR="$with_xmltooling"
19209 elif test -f $with_xerces/share/xml/opensaml/saml20-catalog.xml ; then
19210 OPENSAMLXMLDIR="$with_xerces"
19211 elif test -f $with_log4shib/share/xml/opensaml/saml20-catalog.xml ; then
19212 OPENSAMLXMLDIR="$with_log4shib"
19214 if test "x$OPENSAMLXMLDIR" = "x" ; then
19215 as_fn_error $? "opensaml XML catalogs not found, may need to use --with-saml option" "$LINENO" 5
19217 OPENSAMLXMLDIR="$OPENSAMLXMLDIR/share/xml/opensaml"
19223 # output the underlying makefiles
19224 WANT_SUBDIRS="doc schemas configs shibsp shibd util"
19225 ac_config_files="$ac_config_files Makefile doc/Makefile schemas/Makefile configs/Makefile shibsp/Makefile shibd/Makefile util/Makefile selinux/Makefile"
19229 ac_config_files="$ac_config_files adfs/Makefile"
19231 # Check whether --enable-adfs was given.
19232 if test "${enable_adfs+set}" = set; then :
19233 enableval=$enable_adfs; adfs_enabled=$enableval
19238 if test "x$adfs_enabled" = "x" ; then
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ADFS module" >&5
19242 $as_echo_n "checking whether to build the ADFS module... " >&6; }
19243 if test "$adfs_enabled" = "no" ; then
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19245 $as_echo "no" >&6; }
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19248 $as_echo "yes" >&6; }
19249 WANT_SUBDIRS="$WANT_SUBDIRS adfs"
19254 # Build NSAPI module?
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI module option" >&5
19257 $as_echo_n "checking for NSAPI module option... " >&6; }
19259 # Check whether --with-nsapi was given.
19260 if test "${with_nsapi+set}" = set; then :
19261 withval=$with_nsapi; WANT_NSAPI=$withval
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_NSAPI" >&5
19267 $as_echo "$WANT_NSAPI" >&6; }
19269 if test "$WANT_NSAPI" != "no"; then
19270 if test ! -d $WANT_NSAPI/bin ; then
19271 as_fn_error $? "Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR" "$LINENO" 5
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI include files" >&5
19274 $as_echo_n "checking for NSAPI include files... " >&6; }
19275 if test -d $WANT_NSAPI/include ; then
19276 NSAPI_INCLUDE=$WANT_NSAPI/include
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Netscape-Enterprise 3.x style" >&5
19278 $as_echo "Netscape-Enterprise 3.x style" >&6; }
19279 for ac_header in $NSAPI_INCLUDE/nsapi.h
19281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19282 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
19284 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19285 cat >>confdefs.h <<_ACEOF
19286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19293 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
19295 if test -d $WANT_NSAPI/plugins/include ; then
19296 test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE"
19297 NSAPI_INCLUDE="$WANT_NSAPI/plugins/include"
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: iPlanet 4.x / SunONE 6.x style" >&5
19299 $as_echo "iPlanet 4.x / SunONE 6.x style" >&6; }
19300 for ac_header in $NSAPI_INCLUDE/nsapi.h
19302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19303 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
19305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19306 cat >>confdefs.h <<_ACEOF
19307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19314 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
19316 if test "$NSAPI_INCLUDE" = ""; then
19317 as_fn_error $? "Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include" "$LINENO" 5
19323 # always output the Makefile, even if you don't use it
19324 ac_config_files="$ac_config_files nsapi_shib/Makefile"
19326 if test ! "$WANT_NSAPI" = "no"; then
19328 BUILD_NSAPI_FALSE='#'
19330 BUILD_NSAPI_TRUE='#'
19335 # add the NSAPI module to the list of wanted subdirs..
19336 if test ! "$WANT_NSAPI" = "no" ; then
19337 WANT_SUBDIRS="$WANT_SUBDIRS nsapi_shib"
19342 # Build FastCGI support?
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FastCGI support" >&5
19345 $as_echo_n "checking for FastCGI support... " >&6; }
19347 # Check whether --with-fastcgi was given.
19348 if test "${with_fastcgi+set}" = set; then :
19349 withval=$with_fastcgi; WANT_FASTCGI=$withval
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_FASTCGI" >&5
19355 $as_echo "$WANT_FASTCGI" >&6; }
19357 if test "$WANT_FASTCGI" != "no"; then
19358 if test "$WANT_FASTCGI" != "yes"; then
19359 if test x_$WANT_FASTCGI != x_/usr; then
19360 FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
19361 FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
19364 ac_fn_cxx_check_header_mongrel "$LINENO" "fcgio.h" "ac_cv_header_fcgio_h" "$ac_includes_default"
19365 if test "x$ac_cv_header_fcgio_h" = xyes; then :
19368 as_fn_error $? "unable to find FastCGI header files" "$LINENO" 5
19372 FASTCGI_LIBS="-lfcgi -lfcgi++"
19379 # always output the Makefile, even if you don't use it
19380 ac_config_files="$ac_config_files fastcgi/Makefile"
19382 if test ! "$WANT_FASTCGI" = "no"; then
19383 BUILD_FASTCGI_TRUE=
19384 BUILD_FASTCGI_FALSE='#'
19386 BUILD_FASTCGI_TRUE='#'
19387 BUILD_FASTCGI_FALSE=
19391 if test ! "$WANT_FASTCGI" = "no" ; then
19392 WANT_SUBDIRS="$WANT_SUBDIRS fastcgi"
19396 # Build Memcached support?
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Memcached support" >&5
19399 $as_echo_n "checking for Memcached support... " >&6; }
19401 # Check whether --with-memcached was given.
19402 if test "${with_memcached+set}" = set; then :
19403 withval=$with_memcached; WANT_MEMCACHED=$withval
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_MEMCACHED" >&5
19409 $as_echo "$WANT_MEMCACHED" >&6; }
19411 if test "$WANT_MEMCACHED" != "no"; then
19412 if test "$WANT_MEMCACHED" != "yes"; then
19413 if test x_$WANT_MEMCACHED != x_/usr; then
19414 MEMCACHED_INCLUDE="-I$WANT_MEMCACHED/include"
19415 MEMCACHED_LDFLAGS="-L$WANT_MEMCACHED/lib"
19418 ac_fn_cxx_check_header_mongrel "$LINENO" "libmemcached/memcached.h" "ac_cv_header_libmemcached_memcached_h" "$ac_includes_default"
19419 if test "x$ac_cv_header_libmemcached_memcached_h" = xyes; then :
19422 as_fn_error $? "unable to find Memcached header files" "$LINENO" 5
19426 MEMCACHED_LIBS="-lmemcached"
19433 # always output the Makefile, even if you don't use it
19434 ac_config_files="$ac_config_files memcache-store/Makefile"
19436 if test ! "$WANT_MEMCACHED" = "no"; then
19437 BUILD_MEMCACHED_TRUE=
19438 BUILD_MEMCACHED_FALSE='#'
19440 BUILD_MEMCACHED_TRUE='#'
19441 BUILD_MEMCACHED_FALSE=
19445 if test ! "$WANT_MEMCACHED" = "no" ; then
19446 WANT_SUBDIRS="$WANT_SUBDIRS memcache-store"
19451 # If no --enable-apache-xx specified
19452 # find a default and fake the specific parameters
19455 # simple macro to peek at an enable or a with
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if default apache needed" >&5
19459 $as_echo_n "checking if default apache needed... " >&6; }
19461 if test "${enable_apache_13+set}" = set; then
19462 peekval="${enable_apache_13}"
19465 if test "${enable_apache_20+set}" = set; then
19466 peekval="${enable_apache_20}"
19469 if test "${enable_apache_22+set}" = set; then
19470 peekval="${enable_apache_22}"
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_default" >&5
19474 $as_echo "$need_default" >&6; }
19476 if test "$need_default" = "yes"; then
19477 # find an apxs, then the httpd
19479 if test "${with_apxs+set}" = set; then
19480 peekval="${with_apxs}"
19483 if test "${with_apxs2+set}" = set; then
19484 peekval="${with_apxs2}"
19487 if test "${with_apxs22+set}" = set; then
19488 peekval="${with_apxs22}"
19491 if test "x$xs" = "x"; then
19492 for ac_prog in apxs2 apxs
19494 # Extract the first word of "$ac_prog", so it can be a program name with args.
19495 set dummy $ac_prog; ac_word=$2
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19497 $as_echo_n "checking for $ac_word... " >&6; }
19498 if ${ac_cv_path_xs+:} false; then :
19499 $as_echo_n "(cached) " >&6
19503 ac_cv_path_xs="$xs" # Let the user override the test with a path.
19506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19507 as_dummy="/usr/local/apache2/bin:/usr/local/apache/bin:/usr/sbin:$PATH"
19508 for as_dir in $as_dummy
19511 test -z "$as_dir" && as_dir=.
19512 for ac_exec_ext in '' $ac_executable_extensions; do
19513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19514 ac_cv_path_xs="$as_dir/$ac_word$ac_exec_ext"
19515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19526 if test -n "$xs"; then
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xs" >&5
19528 $as_echo "$xs" >&6; }
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19531 $as_echo "no" >&6; }
19535 test -n "$xs" && break
19537 test -n "$xs" || xs="as_fn_error no apache found. Try --with-apxs "No apxs" "$LINENO" 5"
19540 # ask the daemon for the version and set parameters
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default apache version" >&5
19542 $as_echo_n "checking default apache version... " >&6; }
19543 httpd="`$xs -q SBINDIR`/`$xs -q TARGET`"
19544 if test "x$httpd" != "x" && test -f $httpd ; then
19545 v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
19547 1.3*) enable_apache_13=yes
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 1.3" >&5
19550 $as_echo "1.3" >&6; }
19552 2.0*) enable_apache_20=yes
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.0" >&5
19555 $as_echo "2.0" >&6; }
19557 2.2*) enable_apache_22=yes
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.2" >&5
19560 $as_echo "2.2" >&6; }
19562 *) as_fn_error $? "unusable apache versions: $v. Try setting --with-apxs" "$LINENO" 5
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot determine version. Try setting --with-apxs" >&5
19566 $as_echo "cannot determine version. Try setting --with-apxs" >&6; }
19570 # Apache 1.3 (mod_shib_13)
19571 # --enable-apache-13
19572 # --with-apxs (DSO build, the normal way, uses apxs to derive build flags)
19574 # Check whether --enable-apache-13 was given.
19575 if test "${enable_apache_13+set}" = set; then :
19576 enableval=$enable_apache_13; if test "x$enableval" = "x" ; then
19579 WANT_APACHE_13="$enableval"
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 1.3 module" >&5
19587 $as_echo_n "checking whether to build Apache 1.3 module... " >&6; }
19588 if test "$WANT_APACHE_13" != yes && test "$WANT_APACHE_13" != no ; then
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_13" >&5
19592 $as_echo "$WANT_APACHE_13" >&6; }
19594 if test "$WANT_APACHE_13" = "yes" ; then
19596 # Check whether --with-apxs was given.
19597 if test "${with_apxs+set}" = set; then :
19598 withval=$with_apxs;
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apxs name/location" >&5
19600 $as_echo_n "checking for user-specified apxs name/location... " >&6; }
19601 if test "$withval" != "no" ; then
19602 if test "$withval" != "yes"; then
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19605 $as_echo "\"$withval\"" >&6; }
19611 # Extract the first word of "apxs", so it can be a program name with args.
19612 set dummy apxs; ac_word=$2
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19614 $as_echo_n "checking for $ac_word... " >&6; }
19615 if ${ac_cv_path_APXS+:} false; then :
19616 $as_echo_n "(cached) " >&6
19620 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
19623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19624 for as_dir in $PATH
19627 test -z "$as_dir" && as_dir=.
19628 for ac_exec_ext in '' $ac_executable_extensions; do
19629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19630 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
19631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19638 test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="no"
19642 APXS=$ac_cv_path_APXS
19643 if test -n "$APXS"; then
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
19645 $as_echo "$APXS" >&6; }
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19648 $as_echo "no" >&6; }
19652 if test "$APXS" = "no" ; then
19653 for i in /usr/sbin /usr/local/apache/bin ; do
19654 if test "$APXS" = "no" && test -f "$i/apxs"; then
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if apxs was located" >&5
19664 $as_echo_n "checking to see if apxs was located... " >&6; }
19665 if test ! -f "$APXS" ; then
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19667 $as_echo "no" >&6; }
19668 as_fn_error $? "Unable to locate apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs option." "$LINENO" 5
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
19671 $as_echo "$APXS" >&6; }
19674 # extract settings we need from APXS -q
19675 APXS_CC="`$APXS -q CC`"
19676 APXS_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB`"
19677 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
19684 # Apache 2.0 (mod_shib_20)
19685 # --enable-apache-20
19686 # --with-apxs2 (DSO build, the normal way, uses apxs to derive build flags)
19687 # --with-apr (DSO build, APR development package installed separately)
19688 # --with-apu (DSO build, APR-UTIL development package installed separately)
19690 # Check whether --enable-apache-20 was given.
19691 if test "${enable_apache_20+set}" = set; then :
19692 enableval=$enable_apache_20; if test "x$enableval" = "x" ; then
19695 WANT_APACHE_20="$enableval"
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.0 module" >&5
19703 $as_echo_n "checking whether to build Apache 2.0 module... " >&6; }
19704 if test "$WANT_APACHE_20" != yes && test "$WANT_APACHE_20" != no ; then
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_20" >&5
19708 $as_echo "$WANT_APACHE_20" >&6; }
19710 if test "$WANT_APACHE_20" = "yes" ; then
19712 # Check whether --with-apxs2 was given.
19713 if test "${with_apxs2+set}" = set; then :
19714 withval=$with_apxs2;
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2 apxs name/location" >&5
19716 $as_echo_n "checking for user-specified Apache2 apxs name/location... " >&6; }
19717 if test "$withval" != "no" ; then
19718 if test "$withval" != "yes"; then
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19721 $as_echo "\"$withval\"" >&6; }
19727 # Extract the first word of "apxs2", so it can be a program name with args.
19728 set dummy apxs2; ac_word=$2
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19730 $as_echo_n "checking for $ac_word... " >&6; }
19731 if ${ac_cv_path_APXS2+:} false; then :
19732 $as_echo_n "(cached) " >&6
19736 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
19739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19740 for as_dir in $PATH
19743 test -z "$as_dir" && as_dir=.
19744 for ac_exec_ext in '' $ac_executable_extensions; do
19745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19746 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
19747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19754 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
19758 APXS2=$ac_cv_path_APXS2
19759 if test -n "$APXS2"; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19761 $as_echo "$APXS2" >&6; }
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19764 $as_echo "no" >&6; }
19768 if test "$APXS2" = "no" ; then
19769 # Extract the first word of "apxs", so it can be a program name with args.
19770 set dummy apxs; ac_word=$2
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19772 $as_echo_n "checking for $ac_word... " >&6; }
19773 if ${ac_cv_path_APXS2+:} false; then :
19774 $as_echo_n "(cached) " >&6
19778 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
19781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19782 for as_dir in $PATH
19785 test -z "$as_dir" && as_dir=.
19786 for ac_exec_ext in '' $ac_executable_extensions; do
19787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19788 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
19789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19796 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
19800 APXS2=$ac_cv_path_APXS2
19801 if test -n "$APXS2"; then
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19803 $as_echo "$APXS2" >&6; }
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19806 $as_echo "no" >&6; }
19811 if test "$APXS2" = "no" ; then
19812 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19813 if test "$APXS2" = "no" && test -f "$i/apxs2" ; then
19817 if test "$APXS2" = "no" ; then
19818 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19819 if test "$APXS2" = "no" && test -f "$i/apxs" ; then
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2 apxs was located" >&5
19830 $as_echo_n "checking to see if Apache2 apxs was located... " >&6; }
19831 if test ! -f "$APXS2" ; then
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19833 $as_echo "no" >&6; }
19834 as_fn_error $? "Unable to locate Apache2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs2 option." "$LINENO" 5
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19837 $as_echo "$APXS2" >&6; }
19842 # Check whether --with-apr was given.
19843 if test "${with_apr+set}" = set; then :
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-config name/location" >&5
19846 $as_echo_n "checking for user-specified apr-config name/location... " >&6; }
19847 if test "$withval" != "no" ; then
19848 if test "$withval" != "yes"; then
19849 APR_CONFIG=$withval
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19851 $as_echo "\"$withval\"" >&6; }
19857 # Extract the first word of "apr-config", so it can be a program name with args.
19858 set dummy apr-config; ac_word=$2
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19860 $as_echo_n "checking for $ac_word... " >&6; }
19861 if ${ac_cv_path_APR_CONFIG+:} false; then :
19862 $as_echo_n "(cached) " >&6
19864 case $APR_CONFIG in
19866 ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
19869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19870 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
19871 for as_dir in $as_dummy
19874 test -z "$as_dir" && as_dir=.
19875 for ac_exec_ext in '' $ac_executable_extensions; do
19876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19877 ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19888 APR_CONFIG=$ac_cv_path_APR_CONFIG
19889 if test -n "$APR_CONFIG"; then
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
19891 $as_echo "$APR_CONFIG" >&6; }
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19894 $as_echo "no" >&6; }
19901 if test -f "${APR_CONFIG}"; then
19902 APR_CFLAGS="`${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags` `${APR_CONFIG} --includes`"
19904 as_fn_error $? "Unable to locate apr-config, may need --with-apr option." "$LINENO" 5
19909 # Check whether --with-apu was given.
19910 if test "${with_apu+set}" = set; then :
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-config name/location" >&5
19913 $as_echo_n "checking for user-specified apu-config name/location... " >&6; }
19914 if test "$withval" != "no" ; then
19915 if test "$withval" != "yes"; then
19916 APR_CONFIG=$withval
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19918 $as_echo "\"$withval\"" >&6; }
19924 # Extract the first word of "apu-config", so it can be a program name with args.
19925 set dummy apu-config; ac_word=$2
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19927 $as_echo_n "checking for $ac_word... " >&6; }
19928 if ${ac_cv_path_APU_CONFIG+:} false; then :
19929 $as_echo_n "(cached) " >&6
19931 case $APU_CONFIG in
19933 ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
19936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19937 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
19938 for as_dir in $as_dummy
19941 test -z "$as_dir" && as_dir=.
19942 for ac_exec_ext in '' $ac_executable_extensions; do
19943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19944 ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19955 APU_CONFIG=$ac_cv_path_APU_CONFIG
19956 if test -n "$APU_CONFIG"; then
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
19958 $as_echo "$APU_CONFIG" >&6; }
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19961 $as_echo "no" >&6; }
19968 if test -f "${APU_CONFIG}"; then
19969 APU_CFLAGS="`${APU_CONFIG} --includes`"
19971 as_fn_error $? "Unable to locate apu-config, may need --with-apu option." "$LINENO" 5
19974 # extract settings we need from APXS2 -q
19975 APXS2_CC="`$APXS2 -q CC`"
19976 APXS2_CFLAGS="`$APXS2 -q CPPFLAGS` `$APXS2 -q CFLAGS` $APR_CFLAGS $APU_CFLAGS"
19977 APXS2_INCLUDE="`$APXS2 -q INCLUDEDIR`"
19984 # Apache 2.2 (mod_shib_22)
19985 # --enable-apache-22
19986 # --with-apxs22 (DSO build, the normal way, uses apxs to derive build flags)
19987 # --with-apr1 (DSO build, APR development package installed separately)
19988 # --with-apu1 (DSO build, APR-UTIL development package installed separately)
19990 # Check whether --enable-apache-22 was given.
19991 if test "${enable_apache_22+set}" = set; then :
19992 enableval=$enable_apache_22; if test "x$enableval" = "x" ; then
19995 WANT_APACHE_22="$enableval"
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.2 module" >&5
20003 $as_echo_n "checking whether to build Apache 2.2 module... " >&6; }
20004 if test "$WANT_APACHE_22" != yes && test "$WANT_APACHE_22" != no ; then
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_22" >&5
20008 $as_echo "$WANT_APACHE_22" >&6; }
20010 if test "$WANT_APACHE_22" = "yes" ; then
20012 # Check whether --with-apxs22 was given.
20013 if test "${with_apxs22+set}" = set; then :
20014 withval=$with_apxs22;
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2.2 apxs name/location" >&5
20016 $as_echo_n "checking for user-specified Apache2.2 apxs name/location... " >&6; }
20017 if test "$withval" != "no" ; then
20018 if test "$withval" != "yes"; then
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20021 $as_echo "\"$withval\"" >&6; }
20027 # Extract the first word of "apxs2", so it can be a program name with args.
20028 set dummy apxs2; ac_word=$2
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20030 $as_echo_n "checking for $ac_word... " >&6; }
20031 if ${ac_cv_path_APXS22+:} false; then :
20032 $as_echo_n "(cached) " >&6
20036 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
20039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20040 for as_dir in $PATH
20043 test -z "$as_dir" && as_dir=.
20044 for ac_exec_ext in '' $ac_executable_extensions; do
20045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20046 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
20047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20054 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
20058 APXS22=$ac_cv_path_APXS22
20059 if test -n "$APXS22"; then
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20061 $as_echo "$APXS22" >&6; }
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20064 $as_echo "no" >&6; }
20068 if test "$APXS22" = "no" ; then
20069 # Extract the first word of "apxs", so it can be a program name with args.
20070 set dummy apxs; ac_word=$2
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20072 $as_echo_n "checking for $ac_word... " >&6; }
20073 if ${ac_cv_path_APXS22+:} false; then :
20074 $as_echo_n "(cached) " >&6
20078 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
20081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20082 for as_dir in $PATH
20085 test -z "$as_dir" && as_dir=.
20086 for ac_exec_ext in '' $ac_executable_extensions; do
20087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20088 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
20089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20096 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
20100 APXS22=$ac_cv_path_APXS22
20101 if test -n "$APXS22"; then
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20103 $as_echo "$APXS22" >&6; }
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20106 $as_echo "no" >&6; }
20111 if test "$APXS22" = "no" ; then
20112 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
20113 if test "$APXS22" = "no" && test -f "$i/apxs2" ; then
20117 if test "$APXS22" = "no" ; then
20118 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
20119 if test "$APXS22" = "no" && test -f "$i/apxs" ; then
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2.2 apxs was located" >&5
20130 $as_echo_n "checking to see if Apache2.2 apxs was located... " >&6; }
20131 if test ! -f "$APXS22" ; then
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20133 $as_echo "no" >&6; }
20134 as_fn_error $? "Unable to locate Apache2.2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs22 option." "$LINENO" 5
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20137 $as_echo "$APXS22" >&6; }
20142 # Check whether --with-apr1 was given.
20143 if test "${with_apr1+set}" = set; then :
20144 withval=$with_apr1;
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-1-config name/location" >&5
20146 $as_echo_n "checking for user-specified apr-1-config name/location... " >&6; }
20147 if test "$withval" != "no" ; then
20148 if test "$withval" != "yes"; then
20149 APR1_CONFIG=$withval
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20151 $as_echo "\"$withval\"" >&6; }
20157 # Extract the first word of "apr-1-config", so it can be a program name with args.
20158 set dummy apr-1-config; ac_word=$2
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20160 $as_echo_n "checking for $ac_word... " >&6; }
20161 if ${ac_cv_path_APR1_CONFIG+:} false; then :
20162 $as_echo_n "(cached) " >&6
20164 case $APR1_CONFIG in
20166 ac_cv_path_APR1_CONFIG="$APR1_CONFIG" # Let the user override the test with a path.
20169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20170 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
20171 for as_dir in $as_dummy
20174 test -z "$as_dir" && as_dir=.
20175 for ac_exec_ext in '' $ac_executable_extensions; do
20176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20177 ac_cv_path_APR1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20188 APR1_CONFIG=$ac_cv_path_APR1_CONFIG
20189 if test -n "$APR1_CONFIG"; then
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR1_CONFIG" >&5
20191 $as_echo "$APR1_CONFIG" >&6; }
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20194 $as_echo "no" >&6; }
20201 if test -f "${APR1_CONFIG}"; then
20202 APR1_CFLAGS="`${APR1_CONFIG} --cflags` `${APR1_CONFIG} --cppflags` `${APR1_CONFIG} --includes`"
20204 as_fn_error $? "Unable to locate apr-1-config, may need --with-apr1 option." "$LINENO" 5
20209 # Check whether --with-apu1 was given.
20210 if test "${with_apu1+set}" = set; then :
20211 withval=$with_apu1;
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-1-config name/location" >&5
20213 $as_echo_n "checking for user-specified apu-1-config name/location... " >&6; }
20214 if test "$withval" != "no" ; then
20215 if test "$withval" != "yes"; then
20216 APU1_CONFIG=$withval
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20218 $as_echo "\"$withval\"" >&6; }
20224 # Extract the first word of "apu-1-config", so it can be a program name with args.
20225 set dummy apu-1-config; ac_word=$2
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20227 $as_echo_n "checking for $ac_word... " >&6; }
20228 if ${ac_cv_path_APU1_CONFIG+:} false; then :
20229 $as_echo_n "(cached) " >&6
20231 case $APU1_CONFIG in
20233 ac_cv_path_APU1_CONFIG="$APU1_CONFIG" # Let the user override the test with a path.
20236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20237 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
20238 for as_dir in $as_dummy
20241 test -z "$as_dir" && as_dir=.
20242 for ac_exec_ext in '' $ac_executable_extensions; do
20243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20244 ac_cv_path_APU1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20255 APU1_CONFIG=$ac_cv_path_APU1_CONFIG
20256 if test -n "$APU1_CONFIG"; then
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU1_CONFIG" >&5
20258 $as_echo "$APU1_CONFIG" >&6; }
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20261 $as_echo "no" >&6; }
20268 if test -f "${APU1_CONFIG}"; then
20269 APU1_CFLAGS="`${APU1_CONFIG} --includes`"
20271 as_fn_error $? "Unable to locate apu-1-config, may need --with-apu1 option." "$LINENO" 5
20274 # extract settings we need from APXS22 -q
20275 APXS22_CC="`$APXS22 -q CC`"
20276 APXS22_CFLAGS="`$APXS22 -q CPPFLAGS` `$APXS22 -q CFLAGS` $APR1_CFLAGS $APU1_CFLAGS"
20277 APXS22_INCLUDE="`$APXS22 -q INCLUDEDIR`"
20283 # always output the Makefile, even if you don't use it
20284 ac_config_files="$ac_config_files apache/Makefile"
20286 if test "$WANT_APACHE_13" = "yes"; then
20288 BUILD_AP13_FALSE='#'
20290 BUILD_AP13_TRUE='#'
20294 if test "$WANT_APACHE_20" = "yes"; then
20296 BUILD_AP20_FALSE='#'
20298 BUILD_AP20_TRUE='#'
20302 if test "$WANT_APACHE_22" = "yes"; then
20304 BUILD_AP22_FALSE='#'
20306 BUILD_AP22_TRUE='#'
20311 # add the apache module to the list of wanted subdirs..
20312 if test "$WANT_APACHE_13" = "yes" || test "$WANT_APACHE_20" = "yes" || test "$WANT_APACHE_22" = "yes" ; then
20313 WANT_SUBDIRS="$WANT_SUBDIRS apache"
20318 # Implement the checks of the ODBC Storage Service
20320 # 1) Assume the user wants ODBC; if it's not found then just continue without
20321 # 2) If the user specifically requested odbc, look for it and ERROR if not found
20322 # 3) If the user specifically requested no odbc, don't build it.
20325 ac_config_files="$ac_config_files odbc-store/Makefile"
20328 # determine whether we should enable the odbc ccache
20329 # Check whether --enable-odbc was given.
20330 if test "${enable_odbc+set}" = set; then :
20331 enableval=$enable_odbc; odbc_enabled=$enableval
20333 odbc_enabled=default
20336 if test "x$odbc_enabled" = "x" ; then
20340 # Are we trying to build ODBC?
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ODBC storage service" >&5
20342 $as_echo_n "checking whether to build the ODBC storage service... " >&6; }
20343 if test "$odbc_enabled" = "yes" ; then
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20346 $as_echo "yes" >&6; }
20347 elif test "$odbc_enabled" = "default" ; then
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, if it can be found" >&5
20350 $as_echo "yes, if it can be found" >&6; }
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20354 $as_echo "no" >&6; }
20357 # If we're trying to build ODBC, try to find the odbc_config program.
20358 if test "$build_odbc" = "yes" ; then
20361 # Check whether --with-odbc was given.
20362 if test "${with_odbc+set}" = set; then :
20363 withval=$with_odbc; if test "$with_odbc" = no ; then
20364 as_fn_error $? "Try running --disable-odbc instead." "$LINENO" 5
20365 elif test "$with_odbc" != yes ; then
20366 odbc_dir="$with_odbc/bin"
20367 if test "$with_odbc" != /usr ; then
20368 ODBC_CFLAGS="-I$with_odbc/include"
20369 ODBC_LIBS="-L$with_odbc/lib"
20375 # Extract the first word of "odbc_config", so it can be a program name with args.
20376 set dummy odbc_config; ac_word=$2
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20378 $as_echo_n "checking for $ac_word... " >&6; }
20379 if ${ac_cv_path_ODBC_CONFIG+:} false; then :
20380 $as_echo_n "(cached) " >&6
20382 case $ODBC_CONFIG in
20384 ac_cv_path_ODBC_CONFIG="$ODBC_CONFIG" # Let the user override the test with a path.
20387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20388 for as_dir in $odbc_dir $PATH
20391 test -z "$as_dir" && as_dir=.
20392 for ac_exec_ext in '' $ac_executable_extensions; do
20393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20394 ac_cv_path_ODBC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20402 test -z "$ac_cv_path_ODBC_CONFIG" && ac_cv_path_ODBC_CONFIG="no"
20406 ODBC_CONFIG=$ac_cv_path_ODBC_CONFIG
20407 if test -n "$ODBC_CONFIG"; then
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ODBC_CONFIG" >&5
20409 $as_echo "$ODBC_CONFIG" >&6; }
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20412 $as_echo "no" >&6; }
20416 if test "$ODBC_CONFIG" = no ; then
20417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find odbc_config, will try to guess settings." >&5
20418 $as_echo "$as_me: WARNING: Cannot find odbc_config, will try to guess settings." >&2;}
20419 ODBC_LIBS="$ODBC_LIBS -lodbc"
20421 ODBC_CFLAGS=`$ODBC_CONFIG --cflags`
20422 ODBC_LIBS=`$ODBC_CONFIG --libs`
20425 save_CPPFLAGS="$CPPFLAGS"
20426 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
20428 ac_fn_cxx_check_header_mongrel "$LINENO" "sql.h" "ac_cv_header_sql_h" "$ac_includes_default"
20429 if test "x$ac_cv_header_sql_h" = xyes; then :
20436 if test "$have_sql_h" = no -a "$odbc_enabled" = "yes" ; then
20437 as_fn_error $? "unable to find ODBC header files" "$LINENO" 5
20440 if test "$have_sql_h" = yes ; then
20442 LIBS="$LIBS $ODBC_LIBS"
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link againt ODBC" >&5
20444 $as_echo_n "checking if we can link againt ODBC... " >&6; }
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20448 #include <sqlext.h>
20453 SQLSetEnvAttr(SQL_NULL_HANDLE, SQL_ATTR_CONNECTION_POOLING, (void*)SQL_CP_ONE_PER_HENV, 0)
20458 if ac_fn_cxx_try_link "$LINENO"; then :
20463 rm -f core conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20466 if test "$have_odbc_libs" = no ; then
20467 if test "$odbc_enabled" = "yes" ; then
20468 as_fn_error $? "unable to link with ODBC Library" "$LINENO" 5
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, skipping ODBC" >&5
20471 $as_echo "no, skipping ODBC" >&6; }
20476 CPPFLAGS="$save_CPPFLAGS"
20479 # if have_odbc_libs=yes then go ahead with building ODBC
20480 if test "$have_odbc_libs" = yes ; then
20481 # this AC_MSG_RESULT is from above!
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20483 $as_echo "yes" >&6; }
20484 WANT_SUBDIRS="$WANT_SUBDIRS odbc-store"
20493 # Check whether --with-gssapi-includes was given.
20494 if test "${with_gssapi_includes+set}" = set; then :
20495 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
20502 # Check whether --with-gssapi-libs was given.
20503 if test "${with_gssapi_libs+set}" = set; then :
20504 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
20511 # Check whether --with-gssapi was given.
20512 if test "${with_gssapi+set}" = set; then :
20513 withval=$with_gssapi; GSSAPI_ROOT="$withval"
20514 if test x"$GSSAPI_ROOT" != xno; then
20516 if test x"$GSSAPI_ROOT" = xyes; then
20524 save_CPPFLAGS="$CPPFLAGS"
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSSAPI support is requested" >&5
20526 $as_echo_n "checking if GSSAPI support is requested... " >&6; }
20527 if test x"$want_gss" = xyes; then
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20529 $as_echo "yes" >&6; }
20531 if test -z "$GSSAPI_INCS"; then
20532 if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
20533 GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
20534 elif test "$GSSAPI_ROOT" != "yes"; then
20535 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
20539 CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
20541 ac_fn_cxx_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default"
20542 if test "x$ac_cv_header_gss_h" = xyes; then :
20545 $as_echo "#define HAVE_GSSGNU 1" >>confdefs.h
20551 for ac_header in gssapi/gssapi.h
20553 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
20554 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes; then :
20555 cat >>confdefs.h <<_ACEOF
20556 #define HAVE_GSSAPI_GSSAPI_H 1
20565 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
20567 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20568 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
20569 $ac_includes_default
20570 #ifdef HAVE_GSSAPI_GSSAPI_H
20571 #include <gssapi/gssapi.h>
20575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20576 cat >>confdefs.h <<_ACEOF
20577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20586 if test "x$not_mit" = "x1"; then
20587 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
20588 if test "x$ac_cv_header_gssapi_h" = xyes; then :
20591 $as_echo "#define HAVE_GSSHEIMDAL 1" >>confdefs.h
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSSAPI since no header files was found" >&5
20598 $as_echo "$as_me: WARNING: disabling GSSAPI since no header files was found" >&2;}
20606 $as_echo "#define HAVE_GSSMIT 1" >>confdefs.h
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5
20609 $as_echo_n "checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
20610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */
20614 #include <gssapi/gssapi.h>
20615 #include <gssapi/gssapi_generic.h>
20616 #include <gssapi/gssapi_krb5.h>
20625 GSS_C_NT_HOSTBASED_SERVICE,
20633 if ac_fn_cxx_try_compile "$LINENO"; then :
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20636 $as_echo "yes" >&6; }
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20641 $as_echo "no" >&6; }
20643 $as_echo "#define HAVE_OLD_GSSMIT 1" >>confdefs.h
20647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20656 $as_echo "no" >&6; }
20658 if test x"$want_gss" = xyes; then
20660 $as_echo "#define HAVE_GSSAPI 1" >>confdefs.h
20663 if test -n "$gnu_gss"; then
20664 LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
20666 elif test -z "$GSSAPI_LIB_DIR"; then
20669 LIBS="$LIBS -lgssapi_krb5 -lresolv"
20672 if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
20673 gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
20674 LIBS="$LIBS $gss_libs"
20675 elif test "$GSSAPI_ROOT" != "yes"; then
20676 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
20677 LIBS="$LIBS -lgssapi"
20679 LIBS="$LIBS -lgssapi"
20684 LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
20685 LIBS="$LIBS -lgssapi"
20688 CPPFLAGS="$save_CPPFLAGS"
20694 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
20695 echo "=================================================================="
20696 echo "WARNING: You have chosen to compile Apache-1.3 modules with a different"
20697 echo " compiler than the one used to compile Apache."
20699 echo " Current compiler: $CC"
20700 echo " Apache's compiler: $APXS_CC"
20702 echo "This could cause problems."
20703 echo "=================================================================="
20706 if test -n "$APXS2_CC" && test "$APXS2_CC" != "$CC" ; then
20707 echo "=================================================================="
20708 echo "WARNING: You have chosen to compile Apache-2.0 modules with a different"
20709 echo " compiler than the one used to compile Apache."
20711 echo " Current compiler: $CC"
20712 echo " Apache's compiler: $APXS2_CC"
20714 echo "This could cause problems."
20715 echo "=================================================================="
20718 if test -n "$APXS22_CC" && test "$APXS22_CC" != "$CC" ; then
20719 echo "=================================================================="
20720 echo "WARNING: You have chosen to compile Apache-2.2 modules with a different"
20721 echo " compiler than the one used to compile Apache."
20723 echo " Current compiler: $CC"
20724 echo " Apache's compiler: $APXS22_CC"
20726 echo "This could cause problems."
20727 echo "=================================================================="
20730 LIBTOOL="$LIBTOOL --silent"
20732 cat >confcache <<\_ACEOF
20733 # This file is a shell script that caches the results of configure
20734 # tests run on this system so they can be shared between configure
20735 # scripts and configure runs, see configure's option --config-cache.
20736 # It is not useful on other systems. If it contains results you don't
20737 # want to keep, you may remove or edit it.
20739 # config.status only pays attention to the cache file if you give it
20740 # the --recheck option to rerun configure.
20742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20744 # following values.
20748 # The following way of writing the cache mishandles newlines in values,
20749 # but we know of no workaround that is simple, portable, and efficient.
20750 # So, we kill variables containing newlines.
20751 # Ultrix sh set writes to stderr and can't be redirected directly,
20752 # and sets the high bit in the cache file unless we assign to the vars.
20754 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20755 eval ac_val=\$$ac_var
20759 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20760 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20763 _ | IFS | as_nl) ;; #(
20764 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20765 *) { eval $ac_var=; unset $ac_var;} ;;
20771 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20772 *${as_nl}ac_space=\ *)
20773 # `set' does not quote correctly, so add quotes: double-quote
20774 # substitution turns \\\\ into \\, and sed turns \\ into \.
20777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20780 # `set' quotes correctly as required by POSIX, so do not add quotes.
20781 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20790 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20792 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20794 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20795 if test -w "$cache_file"; then
20796 if test "x$cache_file" != "x/dev/null"; then
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20798 $as_echo "$as_me: updating cache $cache_file" >&6;}
20799 if test ! -f "$cache_file" || test -h "$cache_file"; then
20800 cat confcache >"$cache_file"
20802 case $cache_file in #(
20804 mv -f confcache "$cache_file"$$ &&
20805 mv -f "$cache_file"$$ "$cache_file" ;; #(
20807 mv -f confcache "$cache_file" ;;
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20813 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20818 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20819 # Let make expand exec_prefix.
20820 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20822 DEFS=-DHAVE_CONFIG_H
20827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20828 # 1. Remove the extension, and $U if already installed.
20829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20830 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20832 # will be set to the directory where LIBOBJS objects are built.
20833 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20834 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20836 LIBOBJS=$ac_libobjs
20838 LTLIBOBJS=$ac_ltlibobjs
20841 if test -n "$EXEEXT"; then
20843 am__EXEEXT_FALSE='#'
20845 am__EXEEXT_TRUE='#'
20849 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20850 as_fn_error $? "conditional \"AMDEP\" was never defined.
20851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20853 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20854 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20857 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20858 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
20859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20861 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20862 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
20863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20865 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20866 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
20867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20869 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20870 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
20871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20873 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20874 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
20875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20877 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20878 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
20879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20881 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20882 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
20883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20885 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20886 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
20887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20889 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20890 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
20891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20893 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20894 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
20895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20897 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20898 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
20899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20901 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20902 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
20903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20905 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20906 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
20907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20909 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20910 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
20911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20913 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20914 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
20915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20917 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20918 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
20919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20921 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20922 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
20923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20925 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20926 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
20927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20929 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20930 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
20931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20933 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20934 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
20935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20937 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20938 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
20939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20941 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20942 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
20943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20945 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20946 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20949 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20950 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20953 if test -z "${BUILD_NSAPI_TRUE}" && test -z "${BUILD_NSAPI_FALSE}"; then
20954 as_fn_error $? "conditional \"BUILD_NSAPI\" was never defined.
20955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20957 if test -z "${BUILD_FASTCGI_TRUE}" && test -z "${BUILD_FASTCGI_FALSE}"; then
20958 as_fn_error $? "conditional \"BUILD_FASTCGI\" was never defined.
20959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20961 if test -z "${BUILD_MEMCACHED_TRUE}" && test -z "${BUILD_MEMCACHED_FALSE}"; then
20962 as_fn_error $? "conditional \"BUILD_MEMCACHED\" was never defined.
20963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20965 if test -z "${BUILD_AP13_TRUE}" && test -z "${BUILD_AP13_FALSE}"; then
20966 as_fn_error $? "conditional \"BUILD_AP13\" was never defined.
20967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20969 if test -z "${BUILD_AP20_TRUE}" && test -z "${BUILD_AP20_FALSE}"; then
20970 as_fn_error $? "conditional \"BUILD_AP20\" was never defined.
20971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20973 if test -z "${BUILD_AP22_TRUE}" && test -z "${BUILD_AP22_FALSE}"; then
20974 as_fn_error $? "conditional \"BUILD_AP22\" was never defined.
20975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20978 : "${CONFIG_STATUS=./config.status}"
20980 ac_clean_files_save=$ac_clean_files
20981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20983 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20985 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20987 # Generated by $as_me.
20988 # Run this file to recreate the current configuration.
20989 # Compiler output produced by configure, useful for debugging
20990 # configure, is in config.log if it exists.
20993 ac_cs_recheck=false
20996 SHELL=\${CONFIG_SHELL-$SHELL}
20999 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21000 ## -------------------- ##
21001 ## M4sh Initialization. ##
21002 ## -------------------- ##
21004 # Be more Bourne compatible
21005 DUALCASE=1; export DUALCASE # for MKS sh
21006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21009 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21010 # is contrary to our usage. Disable this feature.
21011 alias -g '${1+"$@"}'='"$@"'
21012 setopt NO_GLOB_SUBST
21014 case `(set -o) 2>/dev/null` in #(
21026 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21027 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21028 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21030 # Prefer a ksh shell builtin over an external printf program on Solaris,
21031 # but without wasting forks for bash or zsh.
21032 if test -z "$BASH_VERSION$ZSH_VERSION" \
21033 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21034 as_echo='print -r --'
21035 as_echo_n='print -rn --'
21036 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21037 as_echo='printf %s\n'
21038 as_echo_n='printf %s'
21040 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21041 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21042 as_echo_n='/usr/ucb/echo -n'
21044 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21045 as_echo_n_body='eval
21049 expr "X$arg" : "X\\(.*\\)$as_nl";
21050 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21052 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21054 export as_echo_n_body
21055 as_echo_n='sh -c $as_echo_n_body as_echo'
21057 export as_echo_body
21058 as_echo='sh -c $as_echo_body as_echo'
21061 # The user is always right.
21062 if test "${PATH_SEPARATOR+set}" != set; then
21064 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21065 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21072 # We need space, tab and new line, in precisely that order. Quoting is
21073 # there to prevent editors from complaining about space-tab.
21074 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21075 # splitting by setting IFS to empty value.)
21078 # Find who we are. Look in the path if we contain no directory separator.
21081 *[\\/]* ) as_myself=$0 ;;
21082 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21083 for as_dir in $PATH
21086 test -z "$as_dir" && as_dir=.
21087 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21093 # We did not find ourselves, most probably we were run as `sh COMMAND'
21094 # in which case we are not to be found in the path.
21095 if test "x$as_myself" = x; then
21098 if test ! -f "$as_myself"; then
21099 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21103 # Unset variables that we do not need and which cause bugs (e.g. in
21104 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21105 # suppresses any "Segmentation fault" message there. '((' could
21106 # trigger a bug in pdksh 5.2.14.
21107 for as_var in BASH_ENV ENV MAIL MAILPATH
21108 do eval test x\${$as_var+set} = xset \
21109 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21125 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21126 # ----------------------------------------
21127 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21128 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21129 # script with STATUS, using 1 if that was 0.
21132 as_status=$1; test $as_status -eq 0 && as_status=1
21134 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21135 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21137 $as_echo "$as_me: error: $2" >&2
21138 as_fn_exit $as_status
21142 # as_fn_set_status STATUS
21143 # -----------------------
21144 # Set $? to STATUS, without forking.
21145 as_fn_set_status ()
21148 } # as_fn_set_status
21150 # as_fn_exit STATUS
21151 # -----------------
21152 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21156 as_fn_set_status $1
21162 # Portably unset VAR.
21165 { eval $1=; unset $1;}
21167 as_unset=as_fn_unset
21168 # as_fn_append VAR VALUE
21169 # ----------------------
21170 # Append the text in VALUE to the end of the definition contained in VAR. Take
21171 # advantage of any shell optimizations that allow amortized linear growth over
21172 # repeated appends, instead of the typical quadratic growth present in naive
21174 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21175 eval 'as_fn_append ()
21186 # as_fn_arith ARG...
21187 # ------------------
21188 # Perform arithmetic evaluation on the ARGs, and store the result in the
21189 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21190 # must be portable across $(()) and expr.
21191 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21192 eval 'as_fn_arith ()
21199 as_val=`expr "$@" || test $? -eq 1`
21204 if expr a : '\(a\)' >/dev/null 2>&1 &&
21205 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21211 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21212 as_basename=basename
21217 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21223 as_me=`$as_basename -- "$0" ||
21224 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21225 X"$0" : 'X\(//\)$' \| \
21226 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21228 sed '/^.*\/\([^/][^/]*\)\/*$/{
21242 # Avoid depending upon Character Ranges.
21243 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21244 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21245 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21246 as_cr_digits='0123456789'
21247 as_cr_alnum=$as_cr_Letters$as_cr_digits
21249 ECHO_C= ECHO_N= ECHO_T=
21250 case `echo -n x` in #(((((
21252 case `echo 'xy\c'` in
21253 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21255 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21262 rm -f conf$$ conf$$.exe conf$$.file
21263 if test -d conf$$.dir; then
21264 rm -f conf$$.dir/conf$$.file
21267 mkdir conf$$.dir 2>/dev/null
21269 if (echo >conf$$.file) 2>/dev/null; then
21270 if ln -s conf$$.file conf$$ 2>/dev/null; then
21272 # ... but there are two gotchas:
21273 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21274 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21275 # In both cases, we have to default to `cp -p'.
21276 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21278 elif ln conf$$.file conf$$ 2>/dev/null; then
21286 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21287 rmdir conf$$.dir 2>/dev/null
21292 # Create "$as_dir" as a directory, including parents if necessary.
21297 -*) as_dir=./$as_dir;;
21299 test -d "$as_dir" || eval $as_mkdir_p || {
21303 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21304 *) as_qdir=$as_dir;;
21306 as_dirs="'$as_qdir' $as_dirs"
21307 as_dir=`$as_dirname -- "$as_dir" ||
21308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21309 X"$as_dir" : 'X\(//\)[^/]' \| \
21310 X"$as_dir" : 'X\(//\)$' \| \
21311 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21312 $as_echo X"$as_dir" |
21313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21317 /^X\(\/\/\)[^/].*/{
21330 test -d "$as_dir" && break
21332 test -z "$as_dirs" || eval "mkdir $as_dirs"
21333 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21337 if mkdir -p . 2>/dev/null; then
21338 as_mkdir_p='mkdir -p "$as_dir"'
21340 test -d ./-p && rmdir ./-p
21344 if test -x / >/dev/null 2>&1; then
21345 as_test_x='test -x'
21347 if ls -dL / >/dev/null 2>&1; then
21354 if test -d "$1"; then
21360 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21361 ???[sx]*):;;*)false;;esac;fi
21365 as_executable_p=$as_test_x
21367 # Sed expression to map a string onto a valid CPP name.
21368 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21370 # Sed expression to map a string onto a valid variable name.
21371 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21375 ## ----------------------------------- ##
21376 ## Main body of $CONFIG_STATUS script. ##
21377 ## ----------------------------------- ##
21379 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21382 # Save the log message, to keep $0 and so on meaningful, and to
21383 # report actual input values of CONFIG_FILES etc. instead of their
21384 # values after options handling.
21386 This file was extended by shibboleth $as_me 2.4, which was
21387 generated by GNU Autoconf 2.68. Invocation command line was
21389 CONFIG_FILES = $CONFIG_FILES
21390 CONFIG_HEADERS = $CONFIG_HEADERS
21391 CONFIG_LINKS = $CONFIG_LINKS
21392 CONFIG_COMMANDS = $CONFIG_COMMANDS
21395 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21400 case $ac_config_files in *"
21401 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21404 case $ac_config_headers in *"
21405 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21410 # Files that config.status was made for.
21411 config_files="$ac_config_files"
21412 config_headers="$ac_config_headers"
21413 config_commands="$ac_config_commands"
21417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21419 \`$as_me' instantiates files and other configuration actions
21420 from templates according to the current configuration. Unless the files
21421 and actions are specified as TAGs, all are instantiated by default.
21423 Usage: $0 [OPTION]... [TAG]...
21425 -h, --help print this help, then exit
21426 -V, --version print version number and configuration settings, then exit
21427 --config print configuration, then exit
21428 -q, --quiet, --silent
21429 do not print progress messages
21430 -d, --debug don't remove temporary files
21431 --recheck update $as_me by reconfiguring in the same conditions
21432 --file=FILE[:TEMPLATE]
21433 instantiate the configuration file FILE
21434 --header=FILE[:TEMPLATE]
21435 instantiate the configuration header FILE
21437 Configuration files:
21440 Configuration headers:
21443 Configuration commands:
21446 Report bugs to <https://bugs.internet2.edu/>."
21449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21450 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21452 shibboleth config.status 2.4
21453 configured by $0, generated by GNU Autoconf 2.68,
21454 with options \\"\$ac_cs_config\\"
21456 Copyright (C) 2010 Free Software Foundation, Inc.
21457 This config.status script is free software; the Free Software Foundation
21458 gives unlimited permission to copy, distribute and modify it."
21465 test -n "\$AWK" || AWK=awk
21468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21469 # The default lists apply if the user does not specify any file.
21475 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21476 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21480 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21492 # Handling of the options.
21493 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21495 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21496 $as_echo "$ac_cs_version"; exit ;;
21497 --config | --confi | --conf | --con | --co | --c )
21498 $as_echo "$ac_cs_config"; exit ;;
21499 --debug | --debu | --deb | --de | --d | -d )
21501 --file | --fil | --fi | --f )
21504 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21505 '') as_fn_error $? "missing file argument" ;;
21507 as_fn_append CONFIG_FILES " '$ac_optarg'"
21508 ac_need_defaults=false;;
21509 --header | --heade | --head | --hea )
21512 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21514 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21515 ac_need_defaults=false;;
21517 # Conflict between --help and --header
21518 as_fn_error $? "ambiguous option: \`$1'
21519 Try \`$0 --help' for more information.";;
21520 --help | --hel | -h )
21521 $as_echo "$ac_cs_usage"; exit ;;
21522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21523 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21526 # This is an error.
21527 -*) as_fn_error $? "unrecognized option: \`$1'
21528 Try \`$0 --help' for more information." ;;
21530 *) as_fn_append ac_config_targets " $1"
21531 ac_need_defaults=false ;;
21537 ac_configure_extra_args=
21539 if $ac_cs_silent; then
21541 ac_configure_extra_args="$ac_configure_extra_args --silent"
21545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21546 if \$ac_cs_recheck; then
21547 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21549 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21550 CONFIG_SHELL='$SHELL'
21551 export CONFIG_SHELL
21556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21560 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21561 ## Running $as_me. ##
21567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21571 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21574 # The HP-UX ksh and POSIX shell print the target directory to stdout
21575 # if CDPATH is set.
21576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21578 sed_quote_subst='$sed_quote_subst'
21579 double_quote_subst='$double_quote_subst'
21580 delay_variable_subst='$delay_variable_subst'
21581 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21582 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21583 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21584 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21585 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21586 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21587 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21588 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21589 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21590 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21591 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21592 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21593 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21594 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21595 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21596 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21597 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21598 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21599 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21600 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21601 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21602 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21603 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21604 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21605 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21606 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21607 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21608 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21609 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21610 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21611 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21612 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21613 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21614 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21615 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21616 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21617 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21618 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21619 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21620 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21621 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21622 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21636 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"`'
21637 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21638 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21639 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21640 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21641 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21642 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21643 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21644 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21645 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21646 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21647 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21648 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21649 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21650 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21651 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21652 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21653 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21654 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21655 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21656 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21657 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21658 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21659 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21660 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21661 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21662 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21663 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21664 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21665 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21666 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21667 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21668 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21669 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21670 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21671 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21672 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21673 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21674 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21675 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21676 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21677 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21678 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21679 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21680 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21681 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21682 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21683 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21684 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21685 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21686 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21687 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21688 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21689 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21690 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21691 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21692 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21693 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21694 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21695 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21696 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21697 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21698 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21699 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21700 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21701 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21702 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21703 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21704 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21705 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21706 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21707 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21708 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21709 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21710 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21711 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21712 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21713 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21714 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21715 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21716 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21717 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21718 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21719 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21720 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21721 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21722 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21723 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21724 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21725 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21726 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21727 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21728 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21729 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21730 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21731 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21732 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21733 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21734 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21735 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21736 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21737 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21738 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21739 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21740 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21741 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21742 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21743 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21744 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21745 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21746 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21747 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21748 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21749 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21750 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21751 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21752 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21753 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21754 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21755 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21756 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21757 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21758 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21759 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21760 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21761 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21762 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21763 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21764 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21765 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21768 LTCFLAGS='$LTCFLAGS'
21769 compiler='$compiler_DEFAULT'
21771 # A function that is used when there is no print builtin or printf.
21772 func_fallback_echo ()
21774 eval 'cat <<_LTECHO_EOF
21779 # Quote evaled strings.
21793 deplibs_check_method \
21798 sharedlib_from_linklib_cmd \
21801 archiver_list_spec \
21807 lt_cv_sys_global_symbol_pipe \
21808 lt_cv_sys_global_symbol_to_cdecl \
21809 lt_cv_sys_global_symbol_to_c_name_address \
21810 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21811 nm_file_list_spec \
21812 lt_prog_compiler_no_builtin_flag \
21813 lt_prog_compiler_pic \
21814 lt_prog_compiler_wl \
21815 lt_prog_compiler_static \
21816 lt_cv_prog_compiler_c_o \
21825 export_dynamic_flag_spec \
21826 whole_archive_flag_spec \
21827 compiler_needs_object \
21829 allow_undefined_flag \
21830 no_undefined_flag \
21831 hardcode_libdir_flag_spec \
21832 hardcode_libdir_flag_spec_ld \
21833 hardcode_libdir_separator \
21837 variables_saved_for_relink \
21839 library_names_spec \
21841 install_override_mode \
21845 compiler_lib_search_dirs \
21850 compiler_lib_search_path \
21854 lt_prog_compiler_no_builtin_flag_CXX \
21855 lt_prog_compiler_pic_CXX \
21856 lt_prog_compiler_wl_CXX \
21857 lt_prog_compiler_static_CXX \
21858 lt_cv_prog_compiler_c_o_CXX \
21859 export_dynamic_flag_spec_CXX \
21860 whole_archive_flag_spec_CXX \
21861 compiler_needs_object_CXX \
21863 allow_undefined_flag_CXX \
21864 no_undefined_flag_CXX \
21865 hardcode_libdir_flag_spec_CXX \
21866 hardcode_libdir_flag_spec_ld_CXX \
21867 hardcode_libdir_separator_CXX \
21868 exclude_expsyms_CXX \
21869 include_expsyms_CXX \
21870 file_list_spec_CXX \
21871 compiler_lib_search_dirs_CXX \
21872 predep_objects_CXX \
21873 postdep_objects_CXX \
21876 compiler_lib_search_path_CXX; do
21877 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21878 *[\\\\\\\`\\"\\\$]*)
21879 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21882 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21887 # Double-quote double-evaled strings.
21888 for var in reload_cmds \
21889 old_postinstall_cmds \
21890 old_postuninstall_cmds \
21892 extract_expsyms_cmds \
21893 old_archive_from_new_cmds \
21894 old_archive_from_expsyms_cmds \
21896 archive_expsym_cmds \
21898 module_expsym_cmds \
21899 export_symbols_cmds \
21903 postuninstall_cmds \
21905 sys_lib_search_path_spec \
21906 sys_lib_dlsearch_path_spec \
21908 old_archive_cmds_CXX \
21909 old_archive_from_new_cmds_CXX \
21910 old_archive_from_expsyms_cmds_CXX \
21912 archive_expsym_cmds_CXX \
21914 module_expsym_cmds_CXX \
21915 export_symbols_cmds_CXX \
21917 postlink_cmds_CXX; do
21918 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21919 *[\\\\\\\`\\"\\\$]*)
21920 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21923 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21928 ac_aux_dir='$ac_aux_dir'
21929 xsi_shell='$xsi_shell'
21930 lt_shell_append='$lt_shell_append'
21932 # See if we are running on zsh, and set the options which allow our
21933 # commands through without removal of \ escapes INIT.
21934 if test -n "\${ZSH_VERSION+set}" ; then
21935 setopt NO_GLOB_SUBST
21941 TIMESTAMP='$TIMESTAMP'
21952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21954 # Handling of arguments.
21955 for ac_config_target in $ac_config_targets
21957 case $ac_config_target in
21958 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21959 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21960 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21961 "shibboleth.spec") CONFIG_FILES="$CONFIG_FILES shibboleth.spec" ;;
21962 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
21963 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
21964 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21965 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21966 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
21967 "configs/Makefile") CONFIG_FILES="$CONFIG_FILES configs/Makefile" ;;
21968 "shibsp/Makefile") CONFIG_FILES="$CONFIG_FILES shibsp/Makefile" ;;
21969 "shibd/Makefile") CONFIG_FILES="$CONFIG_FILES shibd/Makefile" ;;
21970 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
21971 "selinux/Makefile") CONFIG_FILES="$CONFIG_FILES selinux/Makefile" ;;
21972 "adfs/Makefile") CONFIG_FILES="$CONFIG_FILES adfs/Makefile" ;;
21973 "nsapi_shib/Makefile") CONFIG_FILES="$CONFIG_FILES nsapi_shib/Makefile" ;;
21974 "fastcgi/Makefile") CONFIG_FILES="$CONFIG_FILES fastcgi/Makefile" ;;
21975 "memcache-store/Makefile") CONFIG_FILES="$CONFIG_FILES memcache-store/Makefile" ;;
21976 "apache/Makefile") CONFIG_FILES="$CONFIG_FILES apache/Makefile" ;;
21977 "odbc-store/Makefile") CONFIG_FILES="$CONFIG_FILES odbc-store/Makefile" ;;
21979 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21984 # If the user did not use the arguments to specify the items to instantiate,
21985 # then the envvar interface is used. Set only those that are not.
21986 # We use the long form for the default assignment because of an extremely
21987 # bizarre bug on SunOS 4.1.3.
21988 if $ac_need_defaults; then
21989 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21990 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21991 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21994 # Have a temporary directory for convenience. Make it in the build tree
21995 # simply because there is no reason against having it here, and in addition,
21996 # creating and moving files from /tmp can sometimes cause problems.
21997 # Hook for its removal unless debugging.
21998 # Note that there is a small window in which the directory will not be cleaned:
21999 # after its creation but before its name has been assigned to `$tmp'.
22003 trap 'exit_status=$?
22004 : "${ac_tmp:=$tmp}"
22005 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22007 trap 'as_fn_exit 1' 1 2 13 15
22009 # Create a (secure) tmp directory for tmp files.
22012 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22016 tmp=./conf$$-$RANDOM
22017 (umask 077 && mkdir "$tmp")
22018 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22021 # Set up the scripts for CONFIG_FILES section.
22022 # No need to generate them if there are no CONFIG_FILES.
22023 # This happens for instance with `./config.status config.h'.
22024 if test -n "$CONFIG_FILES"; then
22027 ac_cr=`echo X | tr X '\015'`
22028 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22029 # But we know of no other shell where ac_cr would be empty at this
22030 # point, so we can use a bashism as a fallback.
22031 if test "x$ac_cr" = x; then
22032 eval ac_cr=\$\'\\r\'
22034 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22035 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22038 ac_cs_awk_cr=$ac_cr
22041 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22046 echo "cat >conf$$subs.awk <<_ACEOF" &&
22047 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22049 } >conf$$subs.sh ||
22050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22051 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22053 for ac_last_try in false false false false false :; do
22054 . ./conf$$subs.sh ||
22055 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22057 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22058 if test $ac_delim_n = $ac_delim_num; then
22060 elif $ac_last_try; then
22061 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22066 rm -f conf$$subs.sh
22068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22069 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22073 s/^/S["/; s/!.*/"]=/
22083 s/\(.\{148\}\)..*/\1/
22085 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22090 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22097 s/\(.\{148\}\)..*/\1/
22099 s/["\\]/\\&/g; s/^/"/; s/$/"/
22103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22108 ' <conf$$subs.awk | sed '
22113 ' >>$CONFIG_STATUS || ac_write_fail=1
22114 rm -f conf$$subs.awk
22115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22117 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22118 for (key in S) S_is_set[key] = 1
22124 nfields = split(line, field, "@")
22126 len = length(field[1])
22127 for (i = 2; i < nfields; i++) {
22129 keylen = length(key)
22130 if (S_is_set[key]) {
22132 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22133 len += length(value) + length(field[++i])
22144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22145 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22146 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22149 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22150 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22153 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22154 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22155 # trailing colons and then remove the whole line if VPATH becomes empty
22156 # (actually we leave an empty line to preserve line numbers).
22157 if test "x$srcdir" = x.; then
22158 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22177 fi # test -n "$CONFIG_FILES"
22179 # Set up the scripts for CONFIG_HEADERS section.
22180 # No need to generate them if there are no CONFIG_HEADERS.
22181 # This happens for instance with `./config.status Makefile'.
22182 if test -n "$CONFIG_HEADERS"; then
22183 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22187 # Transform confdefs.h into an awk script `defines.awk', embedded as
22188 # here-document in config.status, that substitutes the proper values into
22189 # config.h.in to produce config.h.
22191 # Create a delimiter string that does not exist in confdefs.h, to ease
22192 # handling of long lines.
22194 for ac_last_try in false false :; do
22195 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22196 if test -z "$ac_tt"; then
22198 elif $ac_last_try; then
22199 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22205 # For the awk script, D is an array of macro values keyed by name,
22206 # likewise P contains macro parameters if any. Preserve backslash
22207 # newline sequences.
22209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22211 s/.\{148\}/&'"$ac_delim"'/g
22214 s/^[ ]*#[ ]*define[ ][ ]*/ /
22221 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22223 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22228 D["\1"]=" \3\\\\\\n"\\/p
22230 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22235 s/.\{148\}/&'"$ac_delim"'/g
22240 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22243 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22245 ' <confdefs.h | sed '
22246 s/'"$ac_delim"'/"\\\
22247 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22250 for (key in D) D_is_set[key] = 1
22253 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22255 split(line, arg, " ")
22256 if (arg[1] == "#") {
22260 defundef = substr(arg[1], 2)
22263 split(mac1, mac2, "(") #)
22265 prefix = substr(line, 1, index(line, defundef) - 1)
22266 if (D_is_set[macro]) {
22267 # Preserve the white space surrounding the "#".
22268 print prefix "define", macro P[macro] D[macro]
22271 # Replace #undef with comments. This is necessary, for example,
22272 # in the case of _POSIX_SOURCE, which is predefined and required
22273 # on some systems where configure will not decide to define it.
22274 if (defundef == "undef") {
22275 print "/*", prefix defundef, macro, "*/"
22283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22284 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22285 fi # test -n "$CONFIG_HEADERS"
22288 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22293 :[FHLC]) ac_mode=$ac_tag; continue;;
22295 case $ac_mode$ac_tag in
22297 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22298 :[FH]-) ac_tag=-:-;;
22299 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22316 -) ac_f="$ac_tmp/stdin";;
22317 *) # Look for the file first in the build tree, then in the source tree
22318 # (if the path is not absolute). The absolute path cannot be DOS-style,
22319 # because $ac_f cannot contain `:'.
22323 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22325 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22327 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22328 as_fn_append ac_file_inputs " '$ac_f'"
22331 # Let's still pretend it is `configure' which instantiates (i.e., don't
22332 # use $as_me), people would be surprised to read:
22333 # /* config.h. Generated by config.status. */
22334 configure_input='Generated from '`
22335 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22337 if test x"$ac_file" != x-; then
22338 configure_input="$ac_file. $configure_input"
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22340 $as_echo "$as_me: creating $ac_file" >&6;}
22342 # Neutralize special characters interpreted by sed in replacement strings.
22343 case $configure_input in #(
22344 *\&* | *\|* | *\\* )
22345 ac_sed_conf_input=`$as_echo "$configure_input" |
22346 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22347 *) ac_sed_conf_input=$configure_input;;
22351 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22357 ac_dir=`$as_dirname -- "$ac_file" ||
22358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22359 X"$ac_file" : 'X\(//\)[^/]' \| \
22360 X"$ac_file" : 'X\(//\)$' \| \
22361 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22362 $as_echo X"$ac_file" |
22363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22367 /^X\(\/\/\)[^/].*/{
22380 as_dir="$ac_dir"; as_fn_mkdir_p
22384 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22386 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22387 # A ".." for each directory in $ac_dir_suffix.
22388 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22389 case $ac_top_builddir_sub in
22390 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22391 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22394 ac_abs_top_builddir=$ac_pwd
22395 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22396 # for backward compatibility:
22397 ac_top_builddir=$ac_top_build_prefix
22400 .) # We are building in place.
22402 ac_top_srcdir=$ac_top_builddir_sub
22403 ac_abs_top_srcdir=$ac_pwd ;;
22404 [\\/]* | ?:[\\/]* ) # Absolute name.
22405 ac_srcdir=$srcdir$ac_dir_suffix;
22406 ac_top_srcdir=$srcdir
22407 ac_abs_top_srcdir=$srcdir ;;
22408 *) # Relative name.
22409 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22410 ac_top_srcdir=$ac_top_build_prefix$srcdir
22411 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22413 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22423 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22424 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22426 ac_MKDIR_P=$MKDIR_P
22428 [\\/$]* | ?:[\\/]* ) ;;
22429 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22434 # If the template does not know about datarootdir, expand it.
22435 # FIXME: This hack should be removed a few years after 2.60.
22436 ac_datarootdir_hack=; ac_datarootdir_seen=
22447 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22448 *datarootdir*) ac_datarootdir_seen=yes;;
22449 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22451 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22454 ac_datarootdir_hack='
22455 s&@datadir@&$datadir&g
22456 s&@docdir@&$docdir&g
22457 s&@infodir@&$infodir&g
22458 s&@localedir@&$localedir&g
22459 s&@mandir@&$mandir&g
22460 s&\\\${datarootdir}&$datarootdir&g' ;;
22464 # Neutralize VPATH when `$srcdir' = `.'.
22465 # Shell code in configure.ac might set extrasub.
22466 # FIXME: do we really want to maintain this feature?
22467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22468 ac_sed_extra="$ac_vpsub
22471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22473 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22474 s|@configure_input@|$ac_sed_conf_input|;t t
22475 s&@top_builddir@&$ac_top_builddir_sub&;t t
22476 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22477 s&@srcdir@&$ac_srcdir&;t t
22478 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22479 s&@top_srcdir@&$ac_top_srcdir&;t t
22480 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22481 s&@builddir@&$ac_builddir&;t t
22482 s&@abs_builddir@&$ac_abs_builddir&;t t
22483 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22484 s&@INSTALL@&$ac_INSTALL&;t t
22485 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22486 $ac_datarootdir_hack
22488 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22489 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22491 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22492 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22493 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22494 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22496 which seems to be undefined. Please make sure it is defined" >&5
22497 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22498 which seems to be undefined. Please make sure it is defined" >&2;}
22500 rm -f "$ac_tmp/stdin"
22502 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22503 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22511 if test x"$ac_file" != x-; then
22513 $as_echo "/* $configure_input */" \
22514 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22515 } >"$ac_tmp/config.h" \
22516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22517 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22519 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22522 mv "$ac_tmp/config.h" "$ac_file" \
22523 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22526 $as_echo "/* $configure_input */" \
22527 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22528 || as_fn_error $? "could not create -" "$LINENO" 5
22530 # Compute "$ac_file"'s index in $config_headers.
22533 for _am_header in $config_headers :; do
22534 case $_am_header in
22535 $_am_arg | $_am_arg:* )
22538 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22541 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22542 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22543 X"$_am_arg" : 'X\(//\)[^/]' \| \
22544 X"$_am_arg" : 'X\(//\)$' \| \
22545 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22546 $as_echo X"$_am_arg" |
22547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22551 /^X\(\/\/\)[^/].*/{
22563 s/.*/./; q'`/stamp-h$_am_stamp_count
22566 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22567 $as_echo "$as_me: executing $ac_file commands" >&6;}
22572 case $ac_file$ac_mode in
22573 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22574 # Autoconf 2.62 quotes --file arguments for eval, but not when files
22575 # are listed without --file. Let's play safe and only enable the eval
22576 # if we detect the quoting.
22577 case $CONFIG_FILES in
22578 *\'*) eval set x "$CONFIG_FILES" ;;
22579 *) set x $CONFIG_FILES ;;
22584 # Strip MF so we end up with the name of the file.
22585 mf=`echo "$mf" | sed -e 's/:.*$//'`
22586 # Check whether this is an Automake generated Makefile or not.
22587 # We used to match only the files named `Makefile.in', but
22588 # some people rename them; so instead we look at the file content.
22589 # Grep'ing the first line is not enough: some people post-process
22590 # each Makefile.in and add a new line on top of each file to say so.
22591 # Grep'ing the whole file is not good either: AIX grep has a line
22592 # limit of 2048, but all sed's we know have understand at least 4000.
22593 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22594 dirpart=`$as_dirname -- "$mf" ||
22595 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22596 X"$mf" : 'X\(//\)[^/]' \| \
22597 X"$mf" : 'X\(//\)$' \| \
22598 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22604 /^X\(\/\/\)[^/].*/{
22620 # Extract the definition of DEPDIR, am__include, and am__quote
22621 # from the Makefile without running `make'.
22622 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22623 test -z "$DEPDIR" && continue
22624 am__include=`sed -n 's/^am__include = //p' < "$mf"`
22625 test -z "am__include" && continue
22626 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22627 # When using ansi2knr, U may be empty or an underscore; expand it
22628 U=`sed -n 's/^U = //p' < "$mf"`
22629 # Find all dependency output files, they are included files with
22630 # $(DEPDIR) in their names. We invoke sed twice because it is the
22631 # simplest approach to changing $(DEPDIR) to its actual value in the
22633 for file in `sed -n "
22634 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22635 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22636 # Make sure the directory exists.
22637 test -f "$dirpart/$file" && continue
22638 fdir=`$as_dirname -- "$file" ||
22639 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22640 X"$file" : 'X\(//\)[^/]' \| \
22641 X"$file" : 'X\(//\)$' \| \
22642 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22643 $as_echo X"$file" |
22644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22648 /^X\(\/\/\)[^/].*/{
22661 as_dir=$dirpart/$fdir; as_fn_mkdir_p
22662 # echo "creating $dirpart/$file"
22663 echo '# dummy' > "$dirpart/$file"
22670 # See if we are running on zsh, and set the options which allow our
22671 # commands through without removal of \ escapes.
22672 if test -n "${ZSH_VERSION+set}" ; then
22673 setopt NO_GLOB_SUBST
22676 cfgfile="${ofile}T"
22677 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22680 cat <<_LT_EOF >> "$cfgfile"
22683 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22684 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22685 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22686 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22688 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22689 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
22691 # Written by Gordon Matzigkeit, 1996
22693 # This file is part of GNU Libtool.
22695 # GNU Libtool is free software; you can redistribute it and/or
22696 # modify it under the terms of the GNU General Public License as
22697 # published by the Free Software Foundation; either version 2 of
22698 # the License, or (at your option) any later version.
22700 # As a special exception to the GNU General Public License,
22701 # if you distribute this file as part of a program or library that
22702 # is built using GNU Libtool, you may include this file under the
22703 # same distribution terms that you use for the rest of that program.
22705 # GNU Libtool is distributed in the hope that it will be useful,
22706 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22707 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22708 # GNU General Public License for more details.
22710 # You should have received a copy of the GNU General Public License
22711 # along with GNU Libtool; see the file COPYING. If not, a copy
22712 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22713 # obtained by writing to the Free Software Foundation, Inc.,
22714 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22717 # The names of the tagged configurations supported by this script.
22718 available_tags="CXX "
22720 # ### BEGIN LIBTOOL CONFIG
22722 # Whether or not to build static libraries.
22723 build_old_libs=$enable_static
22725 # Which release of libtool.m4 was used?
22726 macro_version=$macro_version
22727 macro_revision=$macro_revision
22729 # Whether or not to build shared libraries.
22730 build_libtool_libs=$enable_shared
22732 # What type of objects to build.
22735 # Whether or not to optimize for fast installation.
22736 fast_install=$enable_fast_install
22738 # Shell to use when invoking shell scripts.
22741 # An echo program that protects backslashes.
22745 host_alias=$host_alias
22749 # The build system.
22750 build_alias=$build_alias
22754 # A sed program that does not truncate output.
22757 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22758 Xsed="\$SED -e 1s/^X//"
22760 # A grep program that handles long lines.
22766 # A literal string matcher.
22769 # A BSD- or MS-compatible name lister.
22772 # Whether we need soft or hard links.
22775 # What is the maximum length of a command?
22776 max_cmd_len=$max_cmd_len
22778 # Object file suffix (normally "o").
22781 # Executable file suffix (normally "").
22784 # whether the shell understands "unset".
22787 # turn spaces into newlines.
22790 # turn newlines into spaces.
22793 # convert \$build file names to \$host format.
22794 to_host_file_cmd=$lt_cv_to_host_file_cmd
22796 # convert \$build files to toolchain format.
22797 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22799 # An object symbol dumper.
22800 OBJDUMP=$lt_OBJDUMP
22802 # Method to check whether dependent libraries are shared objects.
22803 deplibs_check_method=$lt_deplibs_check_method
22805 # Command to use when deplibs_check_method = "file_magic".
22806 file_magic_cmd=$lt_file_magic_cmd
22808 # How to find potential files when deplibs_check_method = "file_magic".
22809 file_magic_glob=$lt_file_magic_glob
22811 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22812 want_nocaseglob=$lt_want_nocaseglob
22814 # DLL creation program.
22815 DLLTOOL=$lt_DLLTOOL
22817 # Command to associate shared and link libraries.
22818 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22823 # Flags to create an archive.
22824 AR_FLAGS=$lt_AR_FLAGS
22826 # How to feed a file listing to the archiver.
22827 archiver_list_spec=$lt_archiver_list_spec
22829 # A symbol stripping program.
22832 # Commands used to install an old-style archive.
22834 old_postinstall_cmds=$lt_old_postinstall_cmds
22835 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22837 # Whether to use a lock for old archive extraction.
22838 lock_old_archive_extraction=$lock_old_archive_extraction
22843 # LTCC compiler flags.
22844 LTCFLAGS=$lt_CFLAGS
22846 # Take the output of nm and produce a listing of raw symbols and C names.
22847 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22849 # Transform the output of nm in a proper C declaration.
22850 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22852 # Transform the output of nm in a C name address pair.
22853 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22855 # Transform the output of nm in a C name address pair when lib prefix is needed.
22856 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22858 # Specify filename containing input files for \$NM.
22859 nm_file_list_spec=$lt_nm_file_list_spec
22861 # The root where to search for dependent libraries,and in which our libraries should be installed.
22862 lt_sysroot=$lt_sysroot
22864 # The name of the directory that contains temporary libtool files.
22867 # Used to examine libraries when file_magic_cmd begins with "file".
22868 MAGIC_CMD=$MAGIC_CMD
22870 # Must we lock files when doing compilation?
22871 need_locks=$lt_need_locks
22874 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22876 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22877 DSYMUTIL=$lt_DSYMUTIL
22879 # Tool to change global to local symbols on Mac OS X.
22882 # Tool to manipulate fat objects and archives on Mac OS X.
22885 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22888 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22889 OTOOL64=$lt_OTOOL64
22891 # Old archive suffix (normally "a").
22894 # Shared library suffix (normally ".so").
22895 shrext_cmds=$lt_shrext_cmds
22897 # The commands to extract the exported symbol list from a shared archive.
22898 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22900 # Variables whose values should be saved in libtool wrapper scripts and
22901 # restored at link time.
22902 variables_saved_for_relink=$lt_variables_saved_for_relink
22904 # Do we need the "lib" prefix for modules?
22905 need_lib_prefix=$need_lib_prefix
22907 # Do we need a version for libraries?
22908 need_version=$need_version
22910 # Library versioning type.
22911 version_type=$version_type
22913 # Shared library runtime path variable.
22914 runpath_var=$runpath_var
22916 # Shared library path variable.
22917 shlibpath_var=$shlibpath_var
22919 # Is shlibpath searched before the hard-coded library search path?
22920 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22922 # Format of library name prefix.
22923 libname_spec=$lt_libname_spec
22925 # List of archive names. First name is the real one, the rest are links.
22926 # The last name is the one that the linker finds with -lNAME
22927 library_names_spec=$lt_library_names_spec
22929 # The coded name of the library, if different from the real name.
22930 soname_spec=$lt_soname_spec
22932 # Permission mode override for installation of shared libraries.
22933 install_override_mode=$lt_install_override_mode
22935 # Command to use after installation of a shared archive.
22936 postinstall_cmds=$lt_postinstall_cmds
22938 # Command to use after uninstallation of a shared archive.
22939 postuninstall_cmds=$lt_postuninstall_cmds
22941 # Commands used to finish a libtool library installation in a directory.
22942 finish_cmds=$lt_finish_cmds
22944 # As "finish_cmds", except a single script fragment to be evaled but
22946 finish_eval=$lt_finish_eval
22948 # Whether we should hardcode library paths into libraries.
22949 hardcode_into_libs=$hardcode_into_libs
22951 # Compile-time system search path for libraries.
22952 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22954 # Run-time system search path for libraries.
22955 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22957 # Whether dlopen is supported.
22958 dlopen_support=$enable_dlopen
22960 # Whether dlopen of programs is supported.
22961 dlopen_self=$enable_dlopen_self
22963 # Whether dlopen of statically linked programs is supported.
22964 dlopen_self_static=$enable_dlopen_self_static
22966 # Commands to strip libraries.
22967 old_striplib=$lt_old_striplib
22968 striplib=$lt_striplib
22971 # The linker used to build libraries.
22974 # How to create reloadable object files.
22975 reload_flag=$lt_reload_flag
22976 reload_cmds=$lt_reload_cmds
22978 # Commands used to build an old-style archive.
22979 old_archive_cmds=$lt_old_archive_cmds
22981 # A language specific compiler.
22984 # Is the compiler the GNU compiler?
22987 # Compiler flag to turn off builtin functions.
22988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22990 # Additional compiler flags for building library objects.
22991 pic_flag=$lt_lt_prog_compiler_pic
22993 # How to pass a linker flag through the compiler.
22994 wl=$lt_lt_prog_compiler_wl
22996 # Compiler flag to prevent dynamic linking.
22997 link_static_flag=$lt_lt_prog_compiler_static
22999 # Does compiler simultaneously support -c and -o options?
23000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23002 # Whether or not to add -lc for building shared libraries.
23003 build_libtool_need_lc=$archive_cmds_need_lc
23005 # Whether or not to disallow shared libs when runtime libs are static.
23006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23008 # Compiler flag to allow reflexive dlopens.
23009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23011 # Compiler flag to generate shared objects directly from archives.
23012 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23014 # Whether the compiler copes with passing no objects directly.
23015 compiler_needs_object=$lt_compiler_needs_object
23017 # Create an old-style archive from a shared archive.
23018 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23020 # Create a temporary old-style archive to link instead of a shared archive.
23021 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23023 # Commands used to build a shared archive.
23024 archive_cmds=$lt_archive_cmds
23025 archive_expsym_cmds=$lt_archive_expsym_cmds
23027 # Commands used to build a loadable module if different from building
23028 # a shared archive.
23029 module_cmds=$lt_module_cmds
23030 module_expsym_cmds=$lt_module_expsym_cmds
23032 # Whether we are building with GNU ld or not.
23033 with_gnu_ld=$lt_with_gnu_ld
23035 # Flag that allows shared libraries with undefined symbols to be built.
23036 allow_undefined_flag=$lt_allow_undefined_flag
23038 # Flag that enforces no undefined symbols.
23039 no_undefined_flag=$lt_no_undefined_flag
23041 # Flag to hardcode \$libdir into a binary during linking.
23042 # This must work even if \$libdir does not exist
23043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23045 # If ld is used when linking, flag to hardcode \$libdir into a binary
23046 # during linking. This must work even if \$libdir does not exist.
23047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23049 # Whether we need a single "-rpath" flag with a separated argument.
23050 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23053 # DIR into the resulting binary.
23054 hardcode_direct=$hardcode_direct
23056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23057 # DIR into the resulting binary and the resulting library dependency is
23058 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23059 # library is relocated.
23060 hardcode_direct_absolute=$hardcode_direct_absolute
23062 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23063 # into the resulting binary.
23064 hardcode_minus_L=$hardcode_minus_L
23066 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23067 # into the resulting binary.
23068 hardcode_shlibpath_var=$hardcode_shlibpath_var
23070 # Set to "yes" if building a shared library automatically hardcodes DIR
23071 # into the library and all subsequent libraries and executables linked
23073 hardcode_automatic=$hardcode_automatic
23075 # Set to yes if linker adds runtime paths of dependent libraries
23076 # to runtime path list.
23077 inherit_rpath=$inherit_rpath
23079 # Whether libtool must link a program against all its dependency libraries.
23080 link_all_deplibs=$link_all_deplibs
23082 # Set to "yes" if exported symbols are required.
23083 always_export_symbols=$always_export_symbols
23085 # The commands to list exported symbols.
23086 export_symbols_cmds=$lt_export_symbols_cmds
23088 # Symbols that should not be listed in the preloaded symbols.
23089 exclude_expsyms=$lt_exclude_expsyms
23091 # Symbols that must always be exported.
23092 include_expsyms=$lt_include_expsyms
23094 # Commands necessary for linking programs (against libraries) with templates.
23095 prelink_cmds=$lt_prelink_cmds
23097 # Commands necessary for finishing linking programs.
23098 postlink_cmds=$lt_postlink_cmds
23100 # Specify filename containing input files.
23101 file_list_spec=$lt_file_list_spec
23103 # How to hardcode a shared library path into an executable.
23104 hardcode_action=$hardcode_action
23106 # The directories searched by this compiler when creating a shared library.
23107 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23109 # Dependencies to place before and after the objects being linked to
23110 # create a shared library.
23111 predep_objects=$lt_predep_objects
23112 postdep_objects=$lt_postdep_objects
23113 predeps=$lt_predeps
23114 postdeps=$lt_postdeps
23116 # The library search path used internally by the compiler when linking
23117 # a shared library.
23118 compiler_lib_search_path=$lt_compiler_lib_search_path
23120 # ### END LIBTOOL CONFIG
23126 cat <<\_LT_EOF >> "$cfgfile"
23127 # AIX sometimes has problems with the GCC collect2 program. For some
23128 # reason, if we set the COLLECT_NAMES environment variable, the problems
23129 # vanish in a puff of smoke.
23130 if test "X${COLLECT_NAMES+set}" != Xset; then
23132 export COLLECT_NAMES
23139 ltmain="$ac_aux_dir/ltmain.sh"
23142 # We use sed instead of cat because bash on DJGPP gets confused if
23143 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23144 # text mode, it properly converts lines to CR/LF. This bash problem
23145 # is reportedly fixed, but why not run on old versions too?
23146 sed '$q' "$ltmain" >> "$cfgfile" \
23147 || (rm -f "$cfgfile"; exit 1)
23149 if test x"$xsi_shell" = xyes; then
23150 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23154 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23155 \ * ) func_dirname_result="${3}" ;;\
23157 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23158 && mv -f "$cfgfile.tmp" "$cfgfile" \
23159 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23160 test 0 -eq $? || _lt_function_replace_fail=:
23163 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23166 \ func_basename_result="${1##*/}"\
23167 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23168 && mv -f "$cfgfile.tmp" "$cfgfile" \
23169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23170 test 0 -eq $? || _lt_function_replace_fail=:
23173 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23174 func_dirname_and_basename ()\
23177 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23178 \ * ) func_dirname_result="${3}" ;;\
23180 \ func_basename_result="${1##*/}"\
23181 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23182 && mv -f "$cfgfile.tmp" "$cfgfile" \
23183 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23184 test 0 -eq $? || _lt_function_replace_fail=:
23187 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23190 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23191 \ # positional parameters, so assign one to ordinary parameter first.\
23192 \ func_stripname_result=${3}\
23193 \ func_stripname_result=${func_stripname_result#"${1}"}\
23194 \ func_stripname_result=${func_stripname_result%"${2}"}\
23195 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23196 && mv -f "$cfgfile.tmp" "$cfgfile" \
23197 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23198 test 0 -eq $? || _lt_function_replace_fail=:
23201 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23202 func_split_long_opt ()\
23204 \ func_split_long_opt_name=${1%%=*}\
23205 \ func_split_long_opt_arg=${1#*=}\
23206 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23207 && mv -f "$cfgfile.tmp" "$cfgfile" \
23208 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23209 test 0 -eq $? || _lt_function_replace_fail=:
23212 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23213 func_split_short_opt ()\
23215 \ func_split_short_opt_arg=${1#??}\
23216 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23217 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23218 && mv -f "$cfgfile.tmp" "$cfgfile" \
23219 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23220 test 0 -eq $? || _lt_function_replace_fail=:
23223 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23227 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23228 \ *) func_lo2o_result=${1} ;;\
23230 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23231 && mv -f "$cfgfile.tmp" "$cfgfile" \
23232 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23233 test 0 -eq $? || _lt_function_replace_fail=:
23236 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23239 func_xform_result=${1%.*}.lo\
23240 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23241 && mv -f "$cfgfile.tmp" "$cfgfile" \
23242 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23243 test 0 -eq $? || _lt_function_replace_fail=:
23246 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23249 func_arith_result=$(( $* ))\
23250 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23251 && mv -f "$cfgfile.tmp" "$cfgfile" \
23252 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23253 test 0 -eq $? || _lt_function_replace_fail=:
23256 sed -e '/^func_len ()$/,/^} # func_len /c\
23259 func_len_result=${#1}\
23260 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23261 && mv -f "$cfgfile.tmp" "$cfgfile" \
23262 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23263 test 0 -eq $? || _lt_function_replace_fail=:
23267 if test x"$lt_shell_append" = xyes; then
23268 sed -e '/^func_append ()$/,/^} # func_append /c\
23271 eval "${1}+=\\${2}"\
23272 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23273 && mv -f "$cfgfile.tmp" "$cfgfile" \
23274 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23275 test 0 -eq $? || _lt_function_replace_fail=:
23278 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23279 func_append_quoted ()\
23281 \ func_quote_for_eval "${2}"\
23282 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23283 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23284 && mv -f "$cfgfile.tmp" "$cfgfile" \
23285 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23286 test 0 -eq $? || _lt_function_replace_fail=:
23289 # Save a `func_append' function call where possible by direct use of '+='
23290 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23291 && mv -f "$cfgfile.tmp" "$cfgfile" \
23292 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23293 test 0 -eq $? || _lt_function_replace_fail=:
23295 # Save a `func_append' function call even when '+=' is not available
23296 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23297 && mv -f "$cfgfile.tmp" "$cfgfile" \
23298 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23299 test 0 -eq $? || _lt_function_replace_fail=:
23302 if test x"$_lt_function_replace_fail" = x":"; then
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23304 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23308 mv -f "$cfgfile" "$ofile" ||
23309 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23313 cat <<_LT_EOF >> "$ofile"
23315 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23317 # The linker used to build libraries.
23320 # How to create reloadable object files.
23321 reload_flag=$lt_reload_flag_CXX
23322 reload_cmds=$lt_reload_cmds_CXX
23324 # Commands used to build an old-style archive.
23325 old_archive_cmds=$lt_old_archive_cmds_CXX
23327 # A language specific compiler.
23328 CC=$lt_compiler_CXX
23330 # Is the compiler the GNU compiler?
23333 # Compiler flag to turn off builtin functions.
23334 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23336 # Additional compiler flags for building library objects.
23337 pic_flag=$lt_lt_prog_compiler_pic_CXX
23339 # How to pass a linker flag through the compiler.
23340 wl=$lt_lt_prog_compiler_wl_CXX
23342 # Compiler flag to prevent dynamic linking.
23343 link_static_flag=$lt_lt_prog_compiler_static_CXX
23345 # Does compiler simultaneously support -c and -o options?
23346 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23348 # Whether or not to add -lc for building shared libraries.
23349 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23351 # Whether or not to disallow shared libs when runtime libs are static.
23352 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23354 # Compiler flag to allow reflexive dlopens.
23355 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23357 # Compiler flag to generate shared objects directly from archives.
23358 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23360 # Whether the compiler copes with passing no objects directly.
23361 compiler_needs_object=$lt_compiler_needs_object_CXX
23363 # Create an old-style archive from a shared archive.
23364 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23366 # Create a temporary old-style archive to link instead of a shared archive.
23367 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23369 # Commands used to build a shared archive.
23370 archive_cmds=$lt_archive_cmds_CXX
23371 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23373 # Commands used to build a loadable module if different from building
23374 # a shared archive.
23375 module_cmds=$lt_module_cmds_CXX
23376 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23378 # Whether we are building with GNU ld or not.
23379 with_gnu_ld=$lt_with_gnu_ld_CXX
23381 # Flag that allows shared libraries with undefined symbols to be built.
23382 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23384 # Flag that enforces no undefined symbols.
23385 no_undefined_flag=$lt_no_undefined_flag_CXX
23387 # Flag to hardcode \$libdir into a binary during linking.
23388 # This must work even if \$libdir does not exist
23389 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23391 # If ld is used when linking, flag to hardcode \$libdir into a binary
23392 # during linking. This must work even if \$libdir does not exist.
23393 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
23395 # Whether we need a single "-rpath" flag with a separated argument.
23396 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23399 # DIR into the resulting binary.
23400 hardcode_direct=$hardcode_direct_CXX
23402 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23403 # DIR into the resulting binary and the resulting library dependency is
23404 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23405 # library is relocated.
23406 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23408 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23409 # into the resulting binary.
23410 hardcode_minus_L=$hardcode_minus_L_CXX
23412 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23413 # into the resulting binary.
23414 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23416 # Set to "yes" if building a shared library automatically hardcodes DIR
23417 # into the library and all subsequent libraries and executables linked
23419 hardcode_automatic=$hardcode_automatic_CXX
23421 # Set to yes if linker adds runtime paths of dependent libraries
23422 # to runtime path list.
23423 inherit_rpath=$inherit_rpath_CXX
23425 # Whether libtool must link a program against all its dependency libraries.
23426 link_all_deplibs=$link_all_deplibs_CXX
23428 # Set to "yes" if exported symbols are required.
23429 always_export_symbols=$always_export_symbols_CXX
23431 # The commands to list exported symbols.
23432 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23434 # Symbols that should not be listed in the preloaded symbols.
23435 exclude_expsyms=$lt_exclude_expsyms_CXX
23437 # Symbols that must always be exported.
23438 include_expsyms=$lt_include_expsyms_CXX
23440 # Commands necessary for linking programs (against libraries) with templates.
23441 prelink_cmds=$lt_prelink_cmds_CXX
23443 # Commands necessary for finishing linking programs.
23444 postlink_cmds=$lt_postlink_cmds_CXX
23446 # Specify filename containing input files.
23447 file_list_spec=$lt_file_list_spec_CXX
23449 # How to hardcode a shared library path into an executable.
23450 hardcode_action=$hardcode_action_CXX
23452 # The directories searched by this compiler when creating a shared library.
23453 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23455 # Dependencies to place before and after the objects being linked to
23456 # create a shared library.
23457 predep_objects=$lt_predep_objects_CXX
23458 postdep_objects=$lt_postdep_objects_CXX
23459 predeps=$lt_predeps_CXX
23460 postdeps=$lt_postdeps_CXX
23462 # The library search path used internally by the compiler when linking
23463 # a shared library.
23464 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23466 # ### END LIBTOOL TAG CONFIG: CXX
23477 ac_clean_files=$ac_clean_files_save
23479 test $ac_write_fail = 0 ||
23480 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23483 # configure is writing to config.log, and then calls config.status.
23484 # config.status does its own redirection, appending to config.log.
23485 # Unfortunately, on DOS this fails, as config.log is still kept open
23486 # by configure, so config.status won't be able to write to it; its
23487 # output is simply discarded. So we exec the FD to /dev/null,
23488 # effectively closing config.log, so it can be properly (re)opened and
23489 # appended to by config.status. When coming back to configure, we
23490 # need to make the FD available again.
23491 if test "$no_create" != yes; then
23493 ac_config_status_args=
23494 test "$silent" = yes &&
23495 ac_config_status_args="$ac_config_status_args --quiet"
23497 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23499 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23500 # would make configure fail if this is the last instruction.
23501 $ac_cs_success || as_fn_exit 1
23503 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23505 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}