2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for shibboleth 2.5.
5 # Report bugs to <https://issues.shibboleth.net/>.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185 if (eval "$as_required") 2>/dev/null; then :
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 test -z "$as_dir" && as_dir=.
202 for as_base in sh bash ksh sh5; do
203 # Try only shells that exist, to save several forks.
204 as_shell=$as_dir/$as_base
205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 CONFIG_SHELL=$as_shell as_have_required=yes
208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218 CONFIG_SHELL=$SHELL as_have_required=yes
223 if test "x$CONFIG_SHELL" != x; then :
224 # We cannot yet assume a decent shell, so we have to provide a
225 # neutralization value for shells without unset; and this also
226 # works around shells that cannot unset nonexistent variables.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://issues.shibboleth.net/ about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 SHELL=${CONFIG_SHELL-/bin/sh}
542 test -n "$DJDIR" || exec 7<&0 </dev/null
546 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
547 # so uname gets run too.
548 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
553 ac_default_prefix=/usr/local
555 ac_config_libobj_dir=.
562 # Identity of this package.
563 PACKAGE_NAME='shibboleth'
564 PACKAGE_TARNAME='shibboleth'
565 PACKAGE_VERSION='2.5'
566 PACKAGE_STRING='shibboleth 2.5'
567 PACKAGE_BUGREPORT='https://issues.shibboleth.net/'
570 ac_unique_file="shibsp"
571 # Factoring default headers for most tests.
572 ac_includes_default="\
574 #ifdef HAVE_SYS_TYPES_H
575 # include <sys/types.h>
577 #ifdef HAVE_SYS_STAT_H
578 # include <sys/stat.h>
584 # ifdef HAVE_STDLIB_H
589 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
594 #ifdef HAVE_STRINGS_H
595 # include <strings.h>
597 #ifdef HAVE_INTTYPES_H
598 # include <inttypes.h>
607 ac_subst_vars='am__EXEEXT_FALSE
635 BUILD_MEMCACHED_FALSE
766 INSTALL_STRIP_PROGRAM
808 program_transform_name
821 enable_option_checking
826 enable_dependency_tracking
868 ac_precious_vars='build_alias
884 # Initialize some variables set by options.
886 ac_init_version=false
887 ac_unrecognized_opts=
889 # The variables have the same names as the options, with
890 # dashes changed to underlines.
898 program_transform_name=s,x,x,
906 # Installation directory options.
907 # These are left unexpanded so users can "make install exec_prefix=/foo"
908 # and all the variables that are supposed to be based on exec_prefix
909 # by default will actually change.
910 # Use braces instead of parens because sh, perl, etc. also accept them.
911 # (The list follows the same order as the GNU Coding Standards.)
912 bindir='${exec_prefix}/bin'
913 sbindir='${exec_prefix}/sbin'
914 libexecdir='${exec_prefix}/libexec'
915 datarootdir='${prefix}/share'
916 datadir='${datarootdir}'
917 sysconfdir='${prefix}/etc'
918 sharedstatedir='${prefix}/com'
919 localstatedir='${prefix}/var'
920 includedir='${prefix}/include'
921 oldincludedir='/usr/include'
922 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
923 infodir='${datarootdir}/info'
928 libdir='${exec_prefix}/lib'
929 localedir='${datarootdir}/locale'
930 mandir='${datarootdir}/man'
936 # If the previous option needs an argument, assign it.
937 if test -n "$ac_prev"; then
938 eval $ac_prev=\$ac_option
944 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 # Accept the important Cygnus configure options, so we can diagnose typos.
951 case $ac_dashdash$ac_option in
955 -bindir | --bindir | --bindi | --bind | --bin | --bi)
957 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960 -build | --build | --buil | --bui | --bu)
961 ac_prev=build_alias ;;
962 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
963 build_alias=$ac_optarg ;;
965 -cache-file | --cache-file | --cache-fil | --cache-fi \
966 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
967 ac_prev=cache_file ;;
968 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
969 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
970 cache_file=$ac_optarg ;;
973 cache_file=config.cache ;;
975 -datadir | --datadir | --datadi | --datad)
977 -datadir=* | --datadir=* | --datadi=* | --datad=*)
978 datadir=$ac_optarg ;;
980 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
981 | --dataroo | --dataro | --datar)
982 ac_prev=datarootdir ;;
983 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
984 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
985 datarootdir=$ac_optarg ;;
987 -disable-* | --disable-*)
988 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991 as_fn_error $? "invalid feature name: $ac_useropt"
992 ac_useropt_orig=$ac_useropt
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1001 eval enable_$ac_useropt=no ;;
1003 -docdir | --docdir | --docdi | --doc | --do)
1005 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1006 docdir=$ac_optarg ;;
1008 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1010 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1011 dvidir=$ac_optarg ;;
1013 -enable-* | --enable-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error $? "invalid feature name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1022 "enable_$ac_useropt"
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1027 eval enable_$ac_useropt=\$ac_optarg ;;
1029 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1030 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1031 | --exec | --exe | --ex)
1032 ac_prev=exec_prefix ;;
1033 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1034 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1035 | --exec=* | --exe=* | --ex=*)
1036 exec_prefix=$ac_optarg ;;
1038 -gas | --gas | --ga | --g)
1039 # Obsolete; use --with-gas.
1042 -help | --help | --hel | --he | -h)
1043 ac_init_help=long ;;
1044 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1045 ac_init_help=recursive ;;
1046 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1047 ac_init_help=short ;;
1049 -host | --host | --hos | --ho)
1050 ac_prev=host_alias ;;
1051 -host=* | --host=* | --hos=* | --ho=*)
1052 host_alias=$ac_optarg ;;
1054 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058 htmldir=$ac_optarg ;;
1060 -includedir | --includedir | --includedi | --included | --include \
1061 | --includ | --inclu | --incl | --inc)
1062 ac_prev=includedir ;;
1063 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1064 | --includ=* | --inclu=* | --incl=* | --inc=*)
1065 includedir=$ac_optarg ;;
1067 -infodir | --infodir | --infodi | --infod | --info | --inf)
1069 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1070 infodir=$ac_optarg ;;
1072 -libdir | --libdir | --libdi | --libd)
1074 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1075 libdir=$ac_optarg ;;
1077 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1078 | --libexe | --libex | --libe)
1079 ac_prev=libexecdir ;;
1080 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1081 | --libexe=* | --libex=* | --libe=*)
1082 libexecdir=$ac_optarg ;;
1084 -localedir | --localedir | --localedi | --localed | --locale)
1085 ac_prev=localedir ;;
1086 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1087 localedir=$ac_optarg ;;
1089 -localstatedir | --localstatedir | --localstatedi | --localstated \
1090 | --localstate | --localstat | --localsta | --localst | --locals)
1091 ac_prev=localstatedir ;;
1092 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1093 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1094 localstatedir=$ac_optarg ;;
1096 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1098 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1099 mandir=$ac_optarg ;;
1101 -nfp | --nfp | --nf)
1102 # Obsolete; use --without-fp.
1105 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1106 | --no-cr | --no-c | -n)
1109 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1110 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1114 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1115 | --oldin | --oldi | --old | --ol | --o)
1116 ac_prev=oldincludedir ;;
1117 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1118 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1119 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1120 oldincludedir=$ac_optarg ;;
1122 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1124 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1125 prefix=$ac_optarg ;;
1127 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1128 | --program-pre | --program-pr | --program-p)
1129 ac_prev=program_prefix ;;
1130 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1131 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1132 program_prefix=$ac_optarg ;;
1134 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1135 | --program-suf | --program-su | --program-s)
1136 ac_prev=program_suffix ;;
1137 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1138 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1139 program_suffix=$ac_optarg ;;
1141 -program-transform-name | --program-transform-name \
1142 | --program-transform-nam | --program-transform-na \
1143 | --program-transform-n | --program-transform- \
1144 | --program-transform | --program-transfor \
1145 | --program-transfo | --program-transf \
1146 | --program-trans | --program-tran \
1147 | --progr-tra | --program-tr | --program-t)
1148 ac_prev=program_transform_name ;;
1149 -program-transform-name=* | --program-transform-name=* \
1150 | --program-transform-nam=* | --program-transform-na=* \
1151 | --program-transform-n=* | --program-transform-=* \
1152 | --program-transform=* | --program-transfor=* \
1153 | --program-transfo=* | --program-transf=* \
1154 | --program-trans=* | --program-tran=* \
1155 | --progr-tra=* | --program-tr=* | --program-t=*)
1156 program_transform_name=$ac_optarg ;;
1158 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1161 pdfdir=$ac_optarg ;;
1163 -psdir | --psdir | --psdi | --psd | --ps)
1165 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1169 | -silent | --silent | --silen | --sile | --sil)
1172 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1174 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1176 sbindir=$ac_optarg ;;
1178 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1179 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1180 | --sharedst | --shareds | --shared | --share | --shar \
1182 ac_prev=sharedstatedir ;;
1183 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1184 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1185 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1187 sharedstatedir=$ac_optarg ;;
1189 -site | --site | --sit)
1191 -site=* | --site=* | --sit=*)
1194 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1196 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1197 srcdir=$ac_optarg ;;
1199 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1200 | --syscon | --sysco | --sysc | --sys | --sy)
1201 ac_prev=sysconfdir ;;
1202 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1203 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1204 sysconfdir=$ac_optarg ;;
1206 -target | --target | --targe | --targ | --tar | --ta | --t)
1207 ac_prev=target_alias ;;
1208 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1209 target_alias=$ac_optarg ;;
1211 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214 -version | --version | --versio | --versi | --vers | -V)
1215 ac_init_version=: ;;
1218 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221 as_fn_error $? "invalid package name: $ac_useropt"
1222 ac_useropt_orig=$ac_useropt
1223 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224 case $ac_user_opts in
1228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1229 ac_unrecognized_sep=', ';;
1231 eval with_$ac_useropt=\$ac_optarg ;;
1233 -without-* | --without-*)
1234 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235 # Reject names that are not valid shell variable names.
1236 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237 as_fn_error $? "invalid package name: $ac_useropt"
1238 ac_useropt_orig=$ac_useropt
1239 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240 case $ac_user_opts in
1244 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1245 ac_unrecognized_sep=', ';;
1247 eval with_$ac_useropt=no ;;
1250 # Obsolete; use --with-x.
1253 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1254 | --x-incl | --x-inc | --x-in | --x-i)
1255 ac_prev=x_includes ;;
1256 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1257 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1258 x_includes=$ac_optarg ;;
1260 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1261 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1262 ac_prev=x_libraries ;;
1263 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1264 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265 x_libraries=$ac_optarg ;;
1267 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1268 Try \`$0 --help' for more information"
1272 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1273 # Reject names that are not valid shell variable names.
1274 case $ac_envvar in #(
1275 '' | [0-9]* | *[!_$as_cr_alnum]* )
1276 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1278 eval $ac_envvar=\$ac_optarg
1279 export $ac_envvar ;;
1282 # FIXME: should be removed in autoconf 3.0.
1283 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 if test -n "$ac_prev"; then
1293 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294 as_fn_error $? "missing argument to $ac_option"
1297 if test -n "$ac_unrecognized_opts"; then
1298 case $enable_option_checking in
1300 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1301 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 # Check all directory arguments for consistency.
1306 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1307 datadir sysconfdir sharedstatedir localstatedir includedir \
1308 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1309 libdir localedir mandir
1311 eval ac_val=\$$ac_var
1312 # Remove trailing slashes.
1315 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1316 eval $ac_var=\$ac_val;;
1318 # Be sure to have absolute directory names.
1320 [\\/$]* | ?:[\\/]* ) continue;;
1321 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1326 # There might be people who depend on the old broken behavior: `$host'
1327 # used to hold the argument of --host etc.
1328 # FIXME: To remove some day.
1331 target=$target_alias
1333 # FIXME: To remove some day.
1334 if test "x$host_alias" != x; then
1335 if test "x$build_alias" = x; then
1336 cross_compiling=maybe
1337 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1338 If a cross compiler is detected then cross compile mode will be used" >&2
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347 test "$silent" = yes && exec 6>/dev/null
1350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di=`ls -di .` &&
1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error $? "working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error $? "pwd does not report name of working directory"
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1396 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 for ac_var in $ac_precious_vars; do
1411 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_${ac_var}_value=\$${ac_var}
1413 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures shibboleth 2.5 to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking ...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/shibboleth]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --program-prefix=PREFIX prepend PREFIX to installed program names
1483 --program-suffix=SUFFIX append SUFFIX to installed program names
1484 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1487 --build=BUILD configure for building on BUILD [guessed]
1488 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 if test -n "$ac_init_help"; then
1493 case $ac_init_help in
1494 short | recursive ) echo "Configuration of shibboleth 2.5:";;
1499 --disable-option-checking ignore unrecognized --enable/--with options
1500 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1501 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1502 --enable-static[=PKGS] build static libraries [default=no]
1503 --enable-shared[=PKGS] build shared libraries [default=yes]
1504 --enable-fast-install[=PKGS]
1505 optimize for fast installation [default=yes]
1506 --disable-dependency-tracking speeds up one-time build
1507 --enable-dependency-tracking do not reject slow dependency extractors
1508 --disable-libtool-lock avoid locking (might break parallel builds)
1509 --disable-doxygen-doc don't generate any doxygen documentation
1510 --enable-doxygen-dot generate graphics for doxygen documentation
1511 --enable-doxygen-man generate doxygen manual pages
1512 --enable-doxygen-rtf generate doxygen RTF documentation
1513 --enable-doxygen-xml generate doxygen XML documentation
1514 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1515 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1517 --disable-doxygen-html don't generate doxygen plain HTML documentation
1518 --enable-doxygen-ps generate doxygen PostScript documentation
1519 --enable-doxygen-pdf generate doxygen PDF documentation
1520 --enable-debug Have GCC compile with symbols (Default = no)
1521 --disable-adfs don't build the ADFS module
1522 --enable-apache-13 enable the Apache 1.3 module
1523 --enable-apache-20 enable the Apache 2.0 module
1524 --enable-apache-22 enable the Apache 2.2 module
1525 --disable-odbc disable the ODBC Storage Service
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-pic try to use only PIC/non-PIC objects [default=use
1532 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1533 --with-sysroot=DIR Search for dependent libraries within DIR
1534 (or the compiler's sysroot if not specified).
1535 --with-openssl=PATH where openssl is installed
1536 --with-log4shib=PATH where log4shib-config is installed
1537 --with-log4cpp=PATH where log4cpp-config is installed
1538 --with-xerces=PATH where xerces-c is installed
1539 --with-xmlsec=PATH where xmlsec is installed
1540 --with-xmltooling=PATH where xmltooling is installed
1541 --with-saml=PATH where saml is installed
1542 --with-nsapi=DIR Build NSAPI module for Netscape/iPlanet/SunONE
1543 --with-fastcgi=DIR Build FastCGI support
1544 --with-memcached=DIR Build Memcached support
1545 --with-apxs=FILE Specifies where to find the Apache 1.3 apxs script.
1546 --with-apxs2=FILE Specifies where to find the Apache 2.0 apxs script.
1547 --with-apr=PATH where apr-config is installed
1548 --with-apu=PATH where apu-config is installed
1549 --with-apxs22=FILE Specifies where to find the Apache 2.2 apxs script.
1550 --with-apr1=PATH where apr-1-config is installed
1551 --with-apu1=PATH where apu-1-config is installed
1552 --with-odbc=PATH directory where odbc is installed
1553 --with-gssapi-includes=DIR
1554 Specify location of GSSAPI header
1555 --with-gssapi-libs=DIR Specify location of GSSAPI libs
1556 --with-gssapi=DIR Where to look for GSSAPI
1558 Some influential environment variables:
1559 CC C compiler command
1560 CFLAGS C compiler flags
1561 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1562 nonstandard directory <lib dir>
1563 LIBS libraries to pass to the linker, e.g. -l<library>
1564 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565 you have headers in a nonstandard directory <include dir>
1568 a4wide (default), a4, letter, legal or executive
1569 CXX C++ compiler command
1570 CXXFLAGS C++ compiler flags
1571 CXXCPP C++ preprocessor
1573 Use these variables to override the choices made by `configure' or to help
1574 it to find libraries and programs with nonstandard names/locations.
1576 Report bugs to <https://issues.shibboleth.net/>.
1581 if test "$ac_init_help" = "recursive"; then
1582 # If there are subdirs, report their specific --help.
1583 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1584 test -d "$ac_dir" ||
1585 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1590 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1593 # A ".." for each directory in $ac_dir_suffix.
1594 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1595 case $ac_top_builddir_sub in
1596 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1597 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1600 ac_abs_top_builddir=$ac_pwd
1601 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1602 # for backward compatibility:
1603 ac_top_builddir=$ac_top_build_prefix
1606 .) # We are building in place.
1608 ac_top_srcdir=$ac_top_builddir_sub
1609 ac_abs_top_srcdir=$ac_pwd ;;
1610 [\\/]* | ?:[\\/]* ) # Absolute name.
1611 ac_srcdir=$srcdir$ac_dir_suffix;
1612 ac_top_srcdir=$srcdir
1613 ac_abs_top_srcdir=$srcdir ;;
1615 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1616 ac_top_srcdir=$ac_top_build_prefix$srcdir
1617 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1619 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1621 cd "$ac_dir" || { ac_status=$?; continue; }
1622 # Check for guested configure.
1623 if test -f "$ac_srcdir/configure.gnu"; then
1625 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1626 elif test -f "$ac_srcdir/configure"; then
1628 $SHELL "$ac_srcdir/configure" --help=recursive
1630 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1632 cd "$ac_pwd" || { ac_status=$?; break; }
1636 test -n "$ac_init_help" && exit $ac_status
1637 if $ac_init_version; then
1639 shibboleth configure 2.5
1640 generated by GNU Autoconf 2.67
1642 Copyright (C) 2010 Free Software Foundation, Inc.
1643 This configure script is free software; the Free Software Foundation
1644 gives unlimited permission to copy, distribute and modify it.
1649 ## ------------------------ ##
1650 ## Autoconf initialization. ##
1651 ## ------------------------ ##
1653 # ac_fn_c_try_compile LINENO
1654 # --------------------------
1655 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_compile ()
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext
1660 if { { ac_try="$ac_compile"
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_compile") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest.$ac_objext; then :
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 as_fn_set_status $ac_retval
1689 } # ac_fn_c_try_compile
1691 # ac_fn_c_try_link LINENO
1692 # -----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext conftest$ac_exeext
1698 if { { ac_try="$ac_link"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest$ac_exeext && {
1717 test "$cross_compiling" = yes ||
1718 $as_test_x conftest$ac_exeext
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1728 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1729 # interfere with the next link command; also delete a directory that is
1730 # left behind by Apple's compiler. We do this before executing the actions.
1731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 as_fn_set_status $ac_retval
1735 } # ac_fn_c_try_link
1737 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1738 # -------------------------------------------------------
1739 # Tests whether HEADER exists and can be compiled using the include files in
1740 # INCLUDES, setting the cache variable VAR accordingly.
1741 ac_fn_c_check_header_compile ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval "test \"\${$3+set}\"" = set; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1754 if ac_fn_c_try_compile "$LINENO"; then :
1759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766 } # ac_fn_c_check_header_compile
1768 # ac_fn_c_try_cpp LINENO
1769 # ----------------------
1770 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_cpp conftest.$ac_ext"
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } > conftest.i && {
1790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 as_fn_set_status $ac_retval
1805 # ac_fn_c_try_run LINENO
1806 # ----------------------
1807 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1808 # that executables *can* be run.
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if { { ac_try="$ac_link"
1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_link") 2>&5
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1823 { { case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_try") 2>&5
1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832 test $ac_status = 0; }; }; then :
1835 $as_echo "$as_me: program exited with status $ac_status" >&5
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1839 ac_retval=$ac_status
1841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1843 as_fn_set_status $ac_retval
1847 # ac_fn_c_check_func LINENO FUNC VAR
1848 # ----------------------------------
1849 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1850 ac_fn_c_check_func ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval "test \"\${$3+set}\"" = set; then :
1856 $as_echo_n "(cached) " >&6
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1862 #define $2 innocuous_$2
1864 /* System header to define __stub macros and hopefully few prototypes,
1865 which can conflict with char $2 (); below.
1866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1867 <limits.h> exists even on freestanding compilers. */
1870 # include <limits.h>
1872 # include <assert.h>
1877 /* Override any GCC internal prototype to avoid an error.
1878 Use char because int might match the return type of a GCC
1879 builtin and then its argument prototype would still apply. */
1884 /* The GNU C library defines this for functions which it implements
1885 to always fail with ENOSYS. Some functions are actually named
1886 something starting with __ and the normal name is an alias. */
1887 #if defined __stub_$2 || defined __stub___$2
1899 if ac_fn_c_try_link "$LINENO"; then :
1904 rm -f core conftest.err conftest.$ac_objext \
1905 conftest$ac_exeext conftest.$ac_ext
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 } # ac_fn_c_check_func
1914 # ac_fn_cxx_try_compile LINENO
1915 # ----------------------------
1916 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1917 ac_fn_cxx_try_compile ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 rm -f conftest.$ac_objext
1921 if { { ac_try="$ac_compile"
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_compile") 2>conftest.err
1930 if test -s conftest.err; then
1931 grep -v '^ *+' conftest.err >conftest.er1
1932 cat conftest.er1 >&5
1933 mv -f conftest.er1 conftest.err
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } && {
1937 test -z "$ac_cxx_werror_flag" ||
1938 test ! -s conftest.err
1939 } && test -s conftest.$ac_objext; then :
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1947 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 as_fn_set_status $ac_retval
1950 } # ac_fn_cxx_try_compile
1952 # ac_fn_cxx_try_cpp LINENO
1953 # ------------------------
1954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_cpp ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if { { ac_try="$ac_cpp conftest.$ac_ext"
1960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1967 if test -s conftest.err; then
1968 grep -v '^ *+' conftest.err >conftest.er1
1969 cat conftest.er1 >&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } > conftest.i && {
1974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985 as_fn_set_status $ac_retval
1987 } # ac_fn_cxx_try_cpp
1989 # ac_fn_cxx_try_link LINENO
1990 # -------------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_link ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 rm -f conftest.$ac_objext conftest$ac_exeext
1996 if { { ac_try="$ac_link"
1998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 $as_test_x conftest$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2031 as_fn_set_status $ac_retval
2033 } # ac_fn_cxx_try_link
2035 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2036 # -------------------------------------------
2037 # Tests whether TYPE exists after having included INCLUDES, setting cache
2038 # variable VAR accordingly.
2039 ac_fn_c_check_type ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval "test \"\${$3+set}\"" = set; then :
2045 $as_echo_n "(cached) " >&6
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2060 if ac_fn_c_try_compile "$LINENO"; then :
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2073 if ac_fn_c_try_compile "$LINENO"; then :
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2085 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2087 } # ac_fn_c_check_type
2089 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2090 # ---------------------------------------------
2091 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2093 ac_fn_c_check_decl ()
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 as_decl_name=`echo $2|sed 's/ *(.*//'`
2097 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2099 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2100 if eval "test \"\${$3+set}\"" = set; then :
2101 $as_echo_n "(cached) " >&6
2103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2109 #ifndef $as_decl_name
2111 (void) $as_decl_use;
2113 (void) $as_decl_name;
2121 if ac_fn_c_try_compile "$LINENO"; then :
2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2133 } # ac_fn_c_check_decl
2135 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2136 # -------------------------------------------------------
2137 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2138 # the include files in INCLUDES and setting the cache variable VAR
2140 ac_fn_c_check_header_mongrel ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 if eval "test \"\${$3+set}\"" = set; then :
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145 $as_echo_n "checking for $2... " >&6; }
2146 if eval "test \"\${$3+set}\"" = set; then :
2147 $as_echo_n "(cached) " >&6
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2151 $as_echo "$ac_res" >&6; }
2153 # Is the header compilable?
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2155 $as_echo_n "checking $2 usability... " >&6; }
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2162 ac_header_compiler=yes
2164 ac_header_compiler=no
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2168 $as_echo "$ac_header_compiler" >&6; }
2170 # Is the header present?
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2172 $as_echo_n "checking $2 presence... " >&6; }
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2177 if ac_fn_c_try_cpp "$LINENO"; then :
2178 ac_header_preproc=yes
2180 ac_header_preproc=no
2182 rm -f conftest.err conftest.i conftest.$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2184 $as_echo "$ac_header_preproc" >&6; }
2186 # So? What about this header?
2187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2190 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2196 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2198 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2200 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2202 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 ( $as_echo "## --------------------------------------------- ##
2206 ## Report this to https://issues.shibboleth.net/ ##
2207 ## --------------------------------------------- ##"
2208 ) | sed "s/^/$as_me: WARNING: /" >&2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if eval "test \"\${$3+set}\"" = set; then :
2214 $as_echo_n "(cached) " >&6
2216 eval "$3=\$ac_header_compiler"
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2224 } # ac_fn_c_check_header_mongrel
2226 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2227 # ---------------------------------------------------------
2228 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2229 # the include files in INCLUDES and setting the cache variable VAR
2231 ac_fn_cxx_check_header_mongrel ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 if eval "test \"\${$3+set}\"" = set; then :
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if eval "test \"\${$3+set}\"" = set; then :
2238 $as_echo_n "(cached) " >&6
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242 $as_echo "$ac_res" >&6; }
2244 # Is the header compilable?
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2246 $as_echo_n "checking $2 usability... " >&6; }
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2252 if ac_fn_cxx_try_compile "$LINENO"; then :
2253 ac_header_compiler=yes
2255 ac_header_compiler=no
2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2259 $as_echo "$ac_header_compiler" >&6; }
2261 # Is the header present?
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2263 $as_echo_n "checking $2 presence... " >&6; }
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2268 if ac_fn_cxx_try_cpp "$LINENO"; then :
2269 ac_header_preproc=yes
2271 ac_header_preproc=no
2273 rm -f conftest.err conftest.i conftest.$ac_ext
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2275 $as_echo "$ac_header_preproc" >&6; }
2277 # So? What about this header?
2278 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2281 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2283 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2287 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2289 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2291 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2293 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2295 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2296 ( $as_echo "## --------------------------------------------- ##
2297 ## Report this to https://issues.shibboleth.net/ ##
2298 ## --------------------------------------------- ##"
2299 ) | sed "s/^/$as_me: WARNING: /" >&2
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2303 $as_echo_n "checking for $2... " >&6; }
2304 if eval "test \"\${$3+set}\"" = set; then :
2305 $as_echo_n "(cached) " >&6
2307 eval "$3=\$ac_header_compiler"
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2313 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2315 } # ac_fn_cxx_check_header_mongrel
2317 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2318 # ---------------------------------------------------------
2319 # Tests whether HEADER exists and can be compiled using the include files in
2320 # INCLUDES, setting the cache variable VAR accordingly.
2321 ac_fn_cxx_check_header_compile ()
2323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2325 $as_echo_n "checking for $2... " >&6; }
2326 if eval "test \"\${$3+set}\"" = set; then :
2327 $as_echo_n "(cached) " >&6
2329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2334 if ac_fn_cxx_try_compile "$LINENO"; then :
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2343 $as_echo "$ac_res" >&6; }
2344 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2346 } # ac_fn_cxx_check_header_compile
2347 cat >config.log <<_ACEOF
2348 This file contains any messages produced by compilers while
2349 running configure, to aid debugging if configure makes a mistake.
2351 It was created by shibboleth $as_me 2.5, which was
2352 generated by GNU Autoconf 2.67. Invocation command line was
2364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2376 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir=.
2388 $as_echo "PATH: $as_dir"
2404 # Keep a trace of the command line.
2405 # Strip out --no-create and --no-recursion so they do not pile up.
2406 # Strip out --silent because we don't want to record it for future runs.
2407 # Also quote any args containing shell meta-characters.
2408 # Make two passes to allow for proper duplicate-argument suppression.
2412 ac_must_keep_next=false
2418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2420 | -silent | --silent | --silen | --sile | --sil)
2423 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2426 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2428 as_fn_append ac_configure_args1 " '$ac_arg'"
2429 if test $ac_must_keep_next = true; then
2430 ac_must_keep_next=false # Got value, back to normal.
2433 *=* | --config-cache | -C | -disable-* | --disable-* \
2434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2436 | -with-* | --with-* | -without-* | --without-* | --x)
2437 case "$ac_configure_args0 " in
2438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2441 -* ) ac_must_keep_next=true ;;
2444 as_fn_append ac_configure_args " '$ac_arg'"
2449 { ac_configure_args0=; unset ac_configure_args0;}
2450 { ac_configure_args1=; unset ac_configure_args1;}
2452 # When interrupted or exit'd, cleanup temporary files, and complete
2453 # config.log. We remove comments because anyway the quotes in there
2454 # would cause problems or look ugly.
2455 # WARNING: Use '\'' to represent an apostrophe within the trap.
2456 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2457 trap 'exit_status=$?
2458 # Save into config.log some information that might help in debugging.
2462 $as_echo "## ---------------- ##
2463 ## Cache variables. ##
2464 ## ---------------- ##"
2466 # The following way of writing the cache mishandles newlines in values,
2468 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2469 eval ac_val=\$$ac_var
2473 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2474 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2477 _ | IFS | as_nl) ;; #(
2478 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2479 *) { eval $ac_var=; unset $ac_var;} ;;
2484 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2485 *${as_nl}ac_space=\ *)
2487 "s/'\''/'\''\\\\'\'''\''/g;
2488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2498 $as_echo "## ----------------- ##
2499 ## Output variables. ##
2500 ## ----------------- ##"
2502 for ac_var in $ac_subst_vars
2504 eval ac_val=\$$ac_var
2506 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2508 $as_echo "$ac_var='\''$ac_val'\''"
2512 if test -n "$ac_subst_files"; then
2513 $as_echo "## ------------------- ##
2514 ## File substitutions. ##
2515 ## ------------------- ##"
2517 for ac_var in $ac_subst_files
2519 eval ac_val=\$$ac_var
2521 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2523 $as_echo "$ac_var='\''$ac_val'\''"
2528 if test -s confdefs.h; then
2529 $as_echo "## ----------- ##
2536 test "$ac_signal" != 0 &&
2537 $as_echo "$as_me: caught signal $ac_signal"
2538 $as_echo "$as_me: exit $exit_status"
2540 rm -f core *.core core.conftest.* &&
2541 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2544 for ac_signal in 1 2 13 15; do
2545 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2549 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2550 rm -f -r conftest* confdefs.h
2552 $as_echo "/* confdefs.h */" > confdefs.h
2554 # Predefined preprocessor variables.
2556 cat >>confdefs.h <<_ACEOF
2557 #define PACKAGE_NAME "$PACKAGE_NAME"
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2564 cat >>confdefs.h <<_ACEOF
2565 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_STRING "$PACKAGE_STRING"
2572 cat >>confdefs.h <<_ACEOF
2573 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2576 cat >>confdefs.h <<_ACEOF
2577 #define PACKAGE_URL "$PACKAGE_URL"
2581 # Let the site file select an alternate cache file if it wants to.
2582 # Prefer an explicitly selected file to automatically selected ones.
2585 if test -n "$CONFIG_SITE"; then
2586 # We do not want a PATH search for config.site.
2587 case $CONFIG_SITE in #((
2588 -*) ac_site_file1=./$CONFIG_SITE;;
2589 */*) ac_site_file1=$CONFIG_SITE;;
2590 *) ac_site_file1=./$CONFIG_SITE;;
2592 elif test "x$prefix" != xNONE; then
2593 ac_site_file1=$prefix/share/config.site
2594 ac_site_file2=$prefix/etc/config.site
2596 ac_site_file1=$ac_default_prefix/share/config.site
2597 ac_site_file2=$ac_default_prefix/etc/config.site
2599 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2601 test "x$ac_site_file" = xNONE && continue
2602 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2604 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2605 sed 's/^/| /' "$ac_site_file" >&5
2607 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 as_fn_error $? "failed to load site script $ac_site_file
2610 See \`config.log' for more details" "$LINENO" 5 ; }
2614 if test -r "$cache_file"; then
2615 # Some versions of bash will fail to source /dev/null (special files
2616 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2617 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2619 $as_echo "$as_me: loading cache $cache_file" >&6;}
2621 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2622 *) . "./$cache_file";;
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2627 $as_echo "$as_me: creating cache $cache_file" >&6;}
2631 # Check that the precious variables saved in the cache have kept the same
2633 ac_cache_corrupted=false
2634 for ac_var in $ac_precious_vars; do
2635 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2636 eval ac_new_set=\$ac_env_${ac_var}_set
2637 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2638 eval ac_new_val=\$ac_env_${ac_var}_value
2639 case $ac_old_set,$ac_new_set in
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2642 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2643 ac_cache_corrupted=: ;;
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2646 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2647 ac_cache_corrupted=: ;;
2650 if test "x$ac_old_val" != "x$ac_new_val"; then
2651 # differences in whitespace do not lead to failure.
2652 ac_old_val_w=`echo x $ac_old_val`
2653 ac_new_val_w=`echo x $ac_new_val`
2654 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2656 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2657 ac_cache_corrupted=:
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2660 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2661 eval $ac_var=\$ac_old_val
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2664 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2666 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2669 # Pass precious variables to config.status.
2670 if test "$ac_new_set" = set; then
2672 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2673 *) ac_arg=$ac_var=$ac_new_val ;;
2675 case " $ac_configure_args " in
2676 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2677 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2681 if $ac_cache_corrupted; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2685 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2686 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2688 ## -------------------- ##
2689 ## Main body of script. ##
2690 ## -------------------- ##
2693 ac_cpp='$CPP $CPPFLAGS'
2694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2701 for ac_dir in build-aux "$srcdir"/build-aux; do
2702 if test -f "$ac_dir/install-sh"; then
2704 ac_install_sh="$ac_aux_dir/install-sh -c"
2706 elif test -f "$ac_dir/install.sh"; then
2708 ac_install_sh="$ac_aux_dir/install.sh -c"
2710 elif test -f "$ac_dir/shtool"; then
2712 ac_install_sh="$ac_aux_dir/shtool install -c"
2716 if test -z "$ac_aux_dir"; then
2717 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2720 # These three variables are undocumented and unsupported,
2721 # and are intended to be withdrawn in a future Autoconf release.
2722 # They can cause serious problems if a builder's source tree is in a directory
2723 # whose full name contains unusual characters.
2724 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2725 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2726 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2730 am__api_version='1.11'
2732 # Find a good install program. We prefer a C program (faster),
2733 # so one script is as good as another. But avoid the broken or
2734 # incompatible versions:
2735 # SysV /etc/install, /usr/sbin/install
2736 # SunOS /usr/etc/install
2737 # IRIX /sbin/install
2739 # AmigaOS /C/install, which installs bootblocks on floppy discs
2740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2743 # OS/2's system install, which has a completely different semantic
2744 # ./install, which can be erroneously created by make from ./install.sh.
2745 # Reject install programs that cannot install multiple files.
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2747 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2748 if test -z "$INSTALL"; then
2749 if test "${ac_cv_path_install+set}" = set; then :
2750 $as_echo_n "(cached) " >&6
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 # Account for people who put trailing slashes in PATH elements.
2758 case $as_dir/ in #((
2759 ./ | .// | /[cC]/* | \
2760 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2761 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2764 # OSF1 and SCO ODT 3.0 have their own names for install.
2765 # Don't use installbsd from OSF since it installs stuff as root
2767 for ac_prog in ginstall scoinst install; do
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2770 if test $ac_prog = install &&
2771 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2772 # AIX install. It has an incompatible calling convention.
2774 elif test $ac_prog = install &&
2775 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2776 # program-specific install script used by HP pwplus--don't use.
2779 rm -rf conftest.one conftest.two conftest.dir
2780 echo one > conftest.one
2781 echo two > conftest.two
2783 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2784 test -s conftest.one && test -s conftest.two &&
2785 test -s conftest.dir/conftest.one &&
2786 test -s conftest.dir/conftest.two
2788 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2801 rm -rf conftest.one conftest.two conftest.dir
2804 if test "${ac_cv_path_install+set}" = set; then
2805 INSTALL=$ac_cv_path_install
2807 # As a last resort, use the slow shell script. Don't cache a
2808 # value for INSTALL within a source directory, because that will
2809 # break other packages using the cache if that directory is
2810 # removed, or if the value is a relative name.
2811 INSTALL=$ac_install_sh
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2815 $as_echo "$INSTALL" >&6; }
2817 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2818 # It thinks the first close brace ends the variable substitution.
2819 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2821 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2823 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2826 $as_echo_n "checking whether build environment is sane... " >&6; }
2829 echo timestamp > conftest.file
2830 # Reject unsafe characters in $srcdir or the absolute working directory
2831 # name. Accept space and tab only in the latter.
2835 *[\\\"\#\$\&\'\`$am_lf]*)
2836 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2839 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2840 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2843 # Do `set' in a subshell so we don't clobber the current shell's
2844 # arguments. Must try -L first in case configure is actually a
2845 # symlink; some systems play weird games with the mod time of symlinks
2846 # (eg FreeBSD returns the mod time of the symlink's containing
2849 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2850 if test "$*" = "X"; then
2852 set X `ls -t "$srcdir/configure" conftest.file`
2855 if test "$*" != "X $srcdir/configure conftest.file" \
2856 && test "$*" != "X conftest.file $srcdir/configure"; then
2858 # If neither matched, then we have a broken ls. This can happen
2859 # if, for instance, CONFIG_SHELL is bash and it inherits a
2860 # broken ls alias from the environment. This has actually
2861 # happened. Such a system could not be considered "sane".
2862 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2863 alias in your environment" "$LINENO" 5
2866 test "$2" = conftest.file
2872 as_fn_error $? "newly created file is older than distributed files!
2873 Check your system clock" "$LINENO" 5
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2876 $as_echo "yes" >&6; }
2877 test "$program_prefix" != NONE &&
2878 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2879 # Use a double $ so make ignores it.
2880 test "$program_suffix" != NONE &&
2881 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2882 # Double any \ or $.
2883 # By default was `s,x,x', remove it if useless.
2884 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2885 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2887 # expand $ac_aux_dir to an absolute path
2888 am_aux_dir=`cd $ac_aux_dir && pwd`
2890 if test x"${MISSING+set}" != xset; then
2893 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2895 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2898 # Use eval to expand $SHELL
2899 if eval "$MISSING --run true"; then
2900 am_missing_run="$MISSING --run "
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2904 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2907 if test x"${install_sh}" != xset; then
2910 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2912 install_sh="\${SHELL} $am_aux_dir/install-sh"
2916 # Installed binaries are usually stripped using `strip' when the user
2917 # run `make install-strip'. However `strip' might not be the right
2918 # tool to use in cross-compilation environments, therefore Automake
2919 # will honor the `STRIP' environment variable to overrule this program.
2920 if test "$cross_compiling" != no; then
2921 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2923 set dummy ${ac_tool_prefix}strip; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if test "${ac_cv_prog_STRIP+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$STRIP"; then
2930 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 STRIP=$ac_cv_prog_STRIP
2950 if test -n "$STRIP"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2952 $as_echo "$STRIP" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2960 if test -z "$ac_cv_prog_STRIP"; then
2962 # Extract the first word of "strip", so it can be a program name with args.
2963 set dummy strip; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$ac_ct_STRIP"; then
2970 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_ac_ct_STRIP="strip"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2990 if test -n "$ac_ct_STRIP"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2992 $as_echo "$ac_ct_STRIP" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2998 if test "x$ac_ct_STRIP" = x; then
3001 case $cross_compiling:$ac_tool_warned in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005 ac_tool_warned=yes ;;
3010 STRIP="$ac_cv_prog_STRIP"
3014 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3017 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3018 if test -z "$MKDIR_P"; then
3019 if test "${ac_cv_path_mkdir+set}" = set; then :
3020 $as_echo_n "(cached) " >&6
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3026 test -z "$as_dir" && as_dir=.
3027 for ac_prog in mkdir gmkdir; do
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3030 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3031 'mkdir (GNU coreutils) '* | \
3032 'mkdir (coreutils) '* | \
3033 'mkdir (fileutils) '4.1*)
3034 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3044 test -d ./--version && rmdir ./--version
3045 if test "${ac_cv_path_mkdir+set}" = set; then
3046 MKDIR_P="$ac_cv_path_mkdir -p"
3048 # As a last resort, use the slow shell script. Don't cache a
3049 # value for MKDIR_P within a source directory, because that will
3050 # break other packages using the cache if that directory is
3051 # removed, or if the value is a relative name.
3052 MKDIR_P="$ac_install_sh -d"
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3056 $as_echo "$MKDIR_P" >&6; }
3060 [\\/$]* | ?:[\\/]*) ;;
3061 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3064 for ac_prog in gawk mawk nawk awk
3066 # Extract the first word of "$ac_prog", so it can be a program name with args.
3067 set dummy $ac_prog; ac_word=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if test "${ac_cv_prog_AWK+set}" = set; then :
3071 $as_echo_n "(cached) " >&6
3073 if test -n "$AWK"; then
3074 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir=.
3081 for ac_exec_ext in '' $ac_executable_extensions; do
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083 ac_cv_prog_AWK="$ac_prog"
3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test -n "$AWK"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3096 $as_echo "$AWK" >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3103 test -n "$AWK" && break
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3107 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3109 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3110 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3111 $as_echo_n "(cached) " >&6
3113 cat >conftest.make <<\_ACEOF
3116 @echo '@@@%%%=$(MAKE)=@@@%%%'
3118 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3119 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3121 eval ac_cv_prog_make_${ac_make}_set=yes;;
3123 eval ac_cv_prog_make_${ac_make}_set=no;;
3127 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3129 $as_echo "yes" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3134 SET_MAKE="MAKE=${MAKE-make}"
3137 rm -rf .tst 2>/dev/null
3138 mkdir .tst 2>/dev/null
3139 if test -d .tst; then
3144 rmdir .tst 2>/dev/null
3146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3147 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3148 # is not polluted with repeated "-I."
3149 am__isrc=' -I$(srcdir)'
3150 # test to see if srcdir already configured
3151 if test -f $srcdir/config.status; then
3152 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3156 # test whether we have cygpath
3157 if test -z "$CYGPATH_W"; then
3158 if (cygpath --version) >/dev/null 2>/dev/null; then
3159 CYGPATH_W='cygpath -w'
3166 # Define the identity of the package.
3167 PACKAGE='shibboleth'
3171 cat >>confdefs.h <<_ACEOF
3172 #define PACKAGE "$PACKAGE"
3176 cat >>confdefs.h <<_ACEOF
3177 #define VERSION "$VERSION"
3180 # Some tools Automake needs.
3182 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3185 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3188 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3191 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3194 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3196 # We need awk for the "check" target. The system "awk" is bad on
3198 # Always define AMTAR for backward compatibility.
3200 AMTAR=${AMTAR-"${am_missing_run}tar"}
3202 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3208 # Check whether --enable-static was given.
3209 if test "${enable_static+set}" = set; then :
3210 enableval=$enable_static; p=${PACKAGE-default}
3212 yes) enable_static=yes ;;
3213 no) enable_static=no ;;
3216 # Look at the argument we got. We use all the common list separators.
3217 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3218 for pkg in $enableval; do
3220 if test "X$pkg" = "X$p"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3242 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3248 macro_revision='1.3293'
3262 ltmain="$ac_aux_dir/ltmain.sh"
3264 # Make sure we can run config.sub.
3265 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3266 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3269 $as_echo_n "checking build system type... " >&6; }
3270 if test "${ac_cv_build+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 ac_build_alias=$build_alias
3274 test "x$ac_build_alias" = x &&
3275 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3276 test "x$ac_build_alias" = x &&
3277 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3278 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3279 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3283 $as_echo "$ac_cv_build" >&6; }
3284 case $ac_cv_build in
3286 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3289 ac_save_IFS=$IFS; IFS='-'
3295 # Remember, the first character of IFS is used to create $*,
3296 # except with old shells:
3299 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3303 $as_echo_n "checking host system type... " >&6; }
3304 if test "${ac_cv_host+set}" = set; then :
3305 $as_echo_n "(cached) " >&6
3307 if test "x$host_alias" = x; then
3308 ac_cv_host=$ac_cv_build
3310 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3311 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3316 $as_echo "$ac_cv_host" >&6; }
3319 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3322 ac_save_IFS=$IFS; IFS='-'
3328 # Remember, the first character of IFS is used to create $*,
3329 # except with old shells:
3332 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3335 # Backslashify metacharacters that are still active within
3336 # double-quoted strings.
3337 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3339 # Same as above, but do not quote variable references.
3340 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3342 # Sed substitution to delay expansion of an escaped shell variable in a
3343 # double_quote_subst'ed string.
3344 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3346 # Sed substitution to delay expansion of an escaped single quote.
3347 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3349 # Sed substitution to avoid accidental globbing in evaled expressions
3350 no_glob_subst='s/\*/\\\*/g'
3352 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3353 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3354 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3357 $as_echo_n "checking how to print strings... " >&6; }
3358 # Test print first, because it will be a builtin if present.
3359 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3360 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3362 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3365 # Use this function as a fallback that always works.
3366 func_fallback_echo ()
3368 eval 'cat <<_LTECHO_EOF
3372 ECHO='func_fallback_echo'
3375 # func_echo_all arg...
3376 # Invoke $ECHO with all args, space-separated.
3383 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3384 $as_echo "printf" >&6; } ;;
3385 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3386 $as_echo "print -r" >&6; } ;;
3387 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3388 $as_echo "cat" >&6; } ;;
3404 DEPDIR="${am__leading_dot}deps"
3406 ac_config_commands="$ac_config_commands depfiles"
3409 am_make=${MAKE-make}
3410 cat > confinc << 'END'
3412 @echo this is the am__doit target
3415 # If we don't find an include directive, just comment out the code.
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3417 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3421 # First try GNU make style include.
3422 echo "include confinc" > confmf
3423 # Ignore all kinds of additional output from `make'.
3424 case `$am_make -s -f confmf 2> /dev/null` in #(
3425 *the\ am__doit\ target*)
3431 # Now try BSD make style include.
3432 if test "$am__include" = "#"; then
3433 echo '.include "confinc"' > confmf
3434 case `$am_make -s -f confmf 2> /dev/null` in #(
3435 *the\ am__doit\ target*)
3436 am__include=.include
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3445 $as_echo "$_am_result" >&6; }
3446 rm -f confinc confmf
3448 # Check whether --enable-dependency-tracking was given.
3449 if test "${enable_dependency_tracking+set}" = set; then :
3450 enableval=$enable_dependency_tracking;
3453 if test "x$enable_dependency_tracking" != xno; then
3454 am_depcomp="$ac_aux_dir/depcomp"
3457 if test "x$enable_dependency_tracking" != xno; then
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471 if test -n "$ac_tool_prefix"; then
3472 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3473 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if test "${ac_cv_prog_CC+set}" = set; then :
3477 $as_echo_n "(cached) " >&6
3479 if test -n "$CC"; then
3480 ac_cv_prog_CC="$CC" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3489 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test -n "$CC"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3502 $as_echo "$CC" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3510 if test -z "$ac_cv_prog_CC"; then
3512 # Extract the first word of "gcc", so it can be a program name with args.
3513 set dummy gcc; ac_word=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$ac_ct_CC"; then
3520 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_ac_ct_CC="gcc"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3540 if test -n "$ac_ct_CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3542 $as_echo "$ac_ct_CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3548 if test "x$ac_ct_CC" = x; then
3551 case $cross_compiling:$ac_tool_warned in
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3555 ac_tool_warned=yes ;;
3563 if test -z "$CC"; then
3564 if test -n "$ac_tool_prefix"; then
3565 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3566 set dummy ${ac_tool_prefix}cc; ac_word=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if test "${ac_cv_prog_CC+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -n "$CC"; then
3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 test -z "$as_dir" && as_dir=.
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 ac_cv_prog_CC="${ac_tool_prefix}cc"
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 if test -n "$CC"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3595 $as_echo "$CC" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3604 if test -z "$CC"; then
3605 # Extract the first word of "cc", so it can be a program name with args.
3606 set dummy cc; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if test "${ac_cv_prog_CC+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC="$CC" # Let the user override the test.
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3624 ac_prog_rejected=yes
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 if test $ac_prog_rejected = yes; then
3636 # We found a bogon in the path, so make sure we never use it.
3637 set dummy $ac_cv_prog_CC
3639 if test $# != 0; then
3640 # We chose a different compiler from the bogus one.
3641 # However, it has the same basename, so the bogon will be chosen
3642 # first if we set CC to just the basename; use the full file name.
3644 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3650 if test -n "$CC"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3652 $as_echo "$CC" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3660 if test -z "$CC"; then
3661 if test -n "$ac_tool_prefix"; then
3662 for ac_prog in cl.exe
3664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3667 $as_echo_n "checking for $ac_word... " >&6; }
3668 if test "${ac_cv_prog_CC+set}" = set; then :
3669 $as_echo_n "(cached) " >&6
3671 if test -n "$CC"; then
3672 ac_cv_prog_CC="$CC" # Let the user override the test.
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir=.
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 if test -n "$CC"; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3694 $as_echo "$CC" >&6; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3701 test -n "$CC" && break
3704 if test -z "$CC"; then
3706 for ac_prog in cl.exe
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy $ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$ac_ct_CC"; then
3716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_ac_ct_CC="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3736 if test -n "$ac_ct_CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3738 $as_echo "$ac_ct_CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$ac_ct_CC" && break
3748 if test "x$ac_ct_CC" = x; then
3751 case $cross_compiling:$ac_tool_warned in
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3755 ac_tool_warned=yes ;;
3764 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3766 as_fn_error $? "no acceptable C compiler found in \$PATH
3767 See \`config.log' for more details" "$LINENO" 5 ; }
3769 # Provide some information about the compiler.
3770 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3773 for ac_option in --version -v -V -qversion; do
3774 { { ac_try="$ac_compiler $ac_option >&5"
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780 $as_echo "$ac_try_echo"; } >&5
3781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3783 if test -s conftest.err; then
3785 ... rest of stderr output deleted ...
3786 10q' conftest.err >conftest.er1
3787 cat conftest.er1 >&5
3789 rm -f conftest.er1 conftest.err
3790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3791 test $ac_status = 0; }
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3805 ac_clean_files_save=$ac_clean_files
3806 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3807 # Try to create an executable without -o first, disregard a.out.
3808 # It will help us diagnose broken compilers, and finding out an intuition
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3811 $as_echo_n "checking whether the C compiler works... " >&6; }
3812 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3814 # The possible output files:
3815 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3818 for ac_file in $ac_files
3821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3822 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3827 if { { ac_try="$ac_link_default"
3829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833 $as_echo "$ac_try_echo"; } >&5
3834 (eval "$ac_link_default") 2>&5
3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837 test $ac_status = 0; }; then :
3838 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3839 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3840 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3841 # so that the user can short-circuit this test for compilers unknown to
3843 for ac_file in $ac_files ''
3845 test -f "$ac_file" || continue
3847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3850 # We found the default executable, but exeext='' is most
3854 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3856 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3858 # We set ac_cv_exeext here because the later test for it is not
3859 # safe: cross compilers may not add the suffix if given an `-o'
3860 # argument, so we may need to know it at that point already.
3861 # Even if this section looks crufty: it has the advantage of
3868 test "$ac_cv_exeext" = no && ac_cv_exeext=
3873 if test -z "$ac_file"; then :
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3876 $as_echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 as_fn_error 77 "C compiler cannot create executables
3882 See \`config.log' for more details" "$LINENO" 5 ; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3885 $as_echo "yes" >&6; }
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3888 $as_echo_n "checking for C compiler default output file name... " >&6; }
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3890 $as_echo "$ac_file" >&6; }
3891 ac_exeext=$ac_cv_exeext
3893 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3894 ac_clean_files=$ac_clean_files_save
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3896 $as_echo_n "checking for suffix of executables... " >&6; }
3897 if { { ac_try="$ac_link"
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3903 $as_echo "$ac_try_echo"; } >&5
3904 (eval "$ac_link") 2>&5
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3907 test $ac_status = 0; }; then :
3908 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3909 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3910 # work properly (i.e., refer to `conftest.exe'), while it won't with
3912 for ac_file in conftest.exe conftest conftest.*; do
3913 test -f "$ac_file" || continue
3915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3916 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3925 See \`config.log' for more details" "$LINENO" 5 ; }
3927 rm -f conftest conftest$ac_cv_exeext
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3929 $as_echo "$ac_cv_exeext" >&6; }
3931 rm -f conftest.$ac_ext
3932 EXEEXT=$ac_cv_exeext
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3940 FILE *f = fopen ("conftest.out", "w");
3941 return ferror (f) || fclose (f) != 0;
3947 ac_clean_files="$ac_clean_files conftest.out"
3948 # Check that the compiler produces executables we can run. If not, either
3949 # the compiler is broken, or we cross compile.
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3951 $as_echo_n "checking whether we are cross compiling... " >&6; }
3952 if test "$cross_compiling" != yes; then
3953 { { ac_try="$ac_link"
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_link") 2>&5
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }
3964 if { ac_try='./conftest$ac_cv_exeext'
3965 { { case "(($ac_try" in
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971 (eval "$ac_try") 2>&5
3973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974 test $ac_status = 0; }; }; then
3977 if test "$cross_compiling" = maybe; then
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error $? "cannot run C compiled programs.
3983 If you meant to cross compile, use \`--host'.
3984 See \`config.log' for more details" "$LINENO" 5 ; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3989 $as_echo "$cross_compiling" >&6; }
3991 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3992 ac_clean_files=$ac_clean_files_save
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3994 $as_echo_n "checking for suffix of object files... " >&6; }
3995 if test "${ac_cv_objext+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4009 rm -f conftest.o conftest.obj
4010 if { { ac_try="$ac_compile"
4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016 $as_echo "$ac_try_echo"; } >&5
4017 (eval "$ac_compile") 2>&5
4019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4020 test $ac_status = 0; }; then :
4021 for ac_file in conftest.o conftest.obj conftest.*; do
4022 test -f "$ac_file" || continue;
4024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4025 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4030 $as_echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.$ac_ext >&5
4033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4035 as_fn_error $? "cannot compute suffix of object files: cannot compile
4036 See \`config.log' for more details" "$LINENO" 5 ; }
4038 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4041 $as_echo "$ac_cv_objext" >&6; }
4042 OBJEXT=$ac_cv_objext
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4045 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4046 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4047 $as_echo_n "(cached) " >&6
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4063 if ac_fn_c_try_compile "$LINENO"; then :
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4073 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4074 if test $ac_compiler_gnu = yes; then
4079 ac_test_CFLAGS=${CFLAGS+set}
4080 ac_save_CFLAGS=$CFLAGS
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4082 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4083 if test "${ac_cv_prog_cc_g+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4086 ac_save_c_werror_flag=$ac_c_werror_flag
4087 ac_c_werror_flag=yes
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4101 if ac_fn_c_try_compile "$LINENO"; then :
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4116 if ac_fn_c_try_compile "$LINENO"; then :
4119 ac_c_werror_flag=$ac_save_c_werror_flag
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4132 if ac_fn_c_try_compile "$LINENO"; then :
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_c_werror_flag=$ac_save_c_werror_flag
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4143 $as_echo "$ac_cv_prog_cc_g" >&6; }
4144 if test "$ac_test_CFLAGS" = set; then
4145 CFLAGS=$ac_save_CFLAGS
4146 elif test $ac_cv_prog_cc_g = yes; then
4147 if test "$GCC" = yes; then
4153 if test "$GCC" = yes; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4160 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4161 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4164 ac_cv_prog_cc_c89=no
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 #include <sys/types.h>
4171 #include <sys/stat.h>
4172 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4173 struct buf { int x; };
4174 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4175 static char *e (p, i)
4181 static char *f (char * (*g) (char **, int), char **p, ...)
4186 s = g (p, va_arg (v,int));
4191 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4192 function prototypes and stuff, but not '\xHH' hex character constants.
4193 These don't provoke an error unfortunately, instead are silently treated
4194 as 'x'. The following induces an error, until -std is added to get
4195 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4196 array size at least. It's necessary to write '\x00'==0 to get something
4197 that's true only with -std. */
4198 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4200 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4201 inside strings and character constants. */
4203 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4205 int test (int i, double x);
4206 struct s1 {int (*f) (int a);};
4207 struct s2 {int (*f) (double a);};
4208 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4214 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4219 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4220 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4222 CC="$ac_save_CC $ac_arg"
4223 if ac_fn_c_try_compile "$LINENO"; then :
4224 ac_cv_prog_cc_c89=$ac_arg
4226 rm -f core conftest.err conftest.$ac_objext
4227 test "x$ac_cv_prog_cc_c89" != "xno" && break
4229 rm -f conftest.$ac_ext
4234 case "x$ac_cv_prog_cc_c89" in
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4237 $as_echo "none needed" >&6; } ;;
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4240 $as_echo "unsupported" >&6; } ;;
4242 CC="$CC $ac_cv_prog_cc_c89"
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4244 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4246 if test "x$ac_cv_prog_cc_c89" != xno; then :
4251 ac_cpp='$CPP $CPPFLAGS'
4252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4256 depcc="$CC" am_compiler_list=
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4259 $as_echo_n "checking dependency style of $depcc... " >&6; }
4260 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4264 # We make a subdir and do the tests there. Otherwise we can end up
4265 # making bogus files that we don't know about and never remove. For
4266 # instance it was reported that on HP-UX the gcc test will end up
4267 # making a dummy file named `D' -- because `-MD' means `put the output
4270 # Copy depcomp to subdir because otherwise we won't find it if we're
4271 # using a relative directory.
4272 cp "$am_depcomp" conftest.dir
4274 # We will build objects and dependencies in a subdirectory because
4275 # it helps to detect inapplicable dependency modes. For instance
4276 # both Tru64's cc and ICC support -MD to output dependencies as a
4277 # side effect of compilation, but ICC will put the dependencies in
4278 # the current directory while Tru64 will put them in the object
4282 am_cv_CC_dependencies_compiler_type=none
4283 if test "$am_compiler_list" = ""; then
4284 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4287 case " $depcc " in #(
4288 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4291 for depmode in $am_compiler_list; do
4292 # Setup a source with many dependencies, because some compilers
4293 # like to wrap large dependency lists on column 80 (with \), and
4294 # we should not choose a depcomp mode which is confused by this.
4296 # We need to recreate these files for each test, as the compiler may
4297 # overwrite some of them when testing with obscure command lines.
4298 # This happens at least with the AIX C compiler.
4300 for i in 1 2 3 4 5 6; do
4301 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4302 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4303 # Solaris 8's {/usr,}/bin/sh.
4304 touch sub/conftst$i.h
4306 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4308 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4309 # mode. It turns out that the SunPro C++ compiler does not properly
4310 # handle `-M -o', and we need to detect this. Also, some Intel
4311 # versions had trouble with output in subdirs
4312 am__obj=sub/conftest.${OBJEXT-o}
4313 am__minus_obj="-o $am__obj"
4316 # This depmode causes a compiler race in universal mode.
4317 test "$am__universal" = false || continue
4320 # after this tag, mechanisms are not by side-effect, so they'll
4321 # only be used when explicitly requested
4322 if test "x$enable_dependency_tracking" = xyes; then
4328 msvisualcpp | msvcmsys)
4329 # This compiler won't grok `-c -o', but also, the minuso test has
4330 # not run yet. These depmodes are late enough in the game, and
4331 # so weak that their functioning should not be impacted.
4332 am__obj=conftest.${OBJEXT-o}
4337 if depmode=$depmode \
4338 source=sub/conftest.c object=$am__obj \
4339 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4340 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4341 >/dev/null 2>conftest.err &&
4342 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4343 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4344 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4345 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4346 # icc doesn't choke on unknown options, it will just issue warnings
4347 # or remarks (even with -Werror). So we grep stderr for any message
4348 # that says an option was ignored or not supported.
4349 # When given -MP, icc 7.0 and 7.1 complain thusly:
4350 # icc: Command line warning: ignoring option '-M'; no argument required
4351 # The diagnosis changed in icc 8.0:
4352 # icc: Command line remark: option '-MP' not supported
4353 if (grep 'ignoring option' conftest.err ||
4354 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4355 am_cv_CC_dependencies_compiler_type=$depmode
4364 am_cv_CC_dependencies_compiler_type=none
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4369 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4370 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4373 test "x$enable_dependency_tracking" != xno \
4374 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4376 am__fastdepCC_FALSE='#'
4378 am__fastdepCC_TRUE='#'
4379 am__fastdepCC_FALSE=
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4385 if test "${ac_cv_path_SED+set}" = set; then :
4386 $as_echo_n "(cached) " >&6
4388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4389 for ac_i in 1 2 3 4 5 6 7; do
4390 ac_script="$ac_script$as_nl$ac_script"
4392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4393 { ac_script=; unset ac_script;}
4394 if test -z "$SED"; then
4395 ac_path_SED_found=false
4396 # Loop through the user's path and test for each of PROGNAME-LIST
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir=.
4402 for ac_prog in sed gsed; do
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4405 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4406 # Check for GNU ac_path_SED and select it if it is found.
4407 # Check for GNU $ac_path_SED
4408 case `"$ac_path_SED" --version 2>&1` in
4410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4413 $as_echo_n 0123456789 >"conftest.in"
4416 cat "conftest.in" "conftest.in" >"conftest.tmp"
4417 mv "conftest.tmp" "conftest.in"
4418 cp "conftest.in" "conftest.nl"
4419 $as_echo '' >> "conftest.nl"
4420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4422 as_fn_arith $ac_count + 1 && ac_count=$as_val
4423 if test $ac_count -gt ${ac_path_SED_max-0}; then
4424 # Best one so far, save it but keep looking for a better one
4425 ac_cv_path_SED="$ac_path_SED"
4426 ac_path_SED_max=$ac_count
4428 # 10*(2^10) chars as input seems more than enough
4429 test $ac_count -gt 10 && break
4431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4434 $ac_path_SED_found && break 3
4439 if test -z "$ac_cv_path_SED"; then
4440 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4448 $as_echo "$ac_cv_path_SED" >&6; }
4449 SED="$ac_cv_path_SED"
4452 test -z "$SED" && SED=sed
4453 Xsed="$SED -e 1s/^X//"
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4466 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4467 if test "${ac_cv_path_GREP+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -z "$GREP"; then
4471 ac_path_GREP_found=false
4472 # Loop through the user's path and test for each of PROGNAME-LIST
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4477 test -z "$as_dir" && as_dir=.
4478 for ac_prog in grep ggrep; do
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4481 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4482 # Check for GNU ac_path_GREP and select it if it is found.
4483 # Check for GNU $ac_path_GREP
4484 case `"$ac_path_GREP" --version 2>&1` in
4486 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4489 $as_echo_n 0123456789 >"conftest.in"
4492 cat "conftest.in" "conftest.in" >"conftest.tmp"
4493 mv "conftest.tmp" "conftest.in"
4494 cp "conftest.in" "conftest.nl"
4495 $as_echo 'GREP' >> "conftest.nl"
4496 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4497 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4498 as_fn_arith $ac_count + 1 && ac_count=$as_val
4499 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4500 # Best one so far, save it but keep looking for a better one
4501 ac_cv_path_GREP="$ac_path_GREP"
4502 ac_path_GREP_max=$ac_count
4504 # 10*(2^10) chars as input seems more than enough
4505 test $ac_count -gt 10 && break
4507 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4510 $ac_path_GREP_found && break 3
4515 if test -z "$ac_cv_path_GREP"; then
4516 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4519 ac_cv_path_GREP=$GREP
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4524 $as_echo "$ac_cv_path_GREP" >&6; }
4525 GREP="$ac_cv_path_GREP"
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4529 $as_echo_n "checking for egrep... " >&6; }
4530 if test "${ac_cv_path_EGREP+set}" = set; then :
4531 $as_echo_n "(cached) " >&6
4533 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4534 then ac_cv_path_EGREP="$GREP -E"
4536 if test -z "$EGREP"; then
4537 ac_path_EGREP_found=false
4538 # Loop through the user's path and test for each of PROGNAME-LIST
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4543 test -z "$as_dir" && as_dir=.
4544 for ac_prog in egrep; do
4545 for ac_exec_ext in '' $ac_executable_extensions; do
4546 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4547 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4548 # Check for GNU ac_path_EGREP and select it if it is found.
4549 # Check for GNU $ac_path_EGREP
4550 case `"$ac_path_EGREP" --version 2>&1` in
4552 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4555 $as_echo_n 0123456789 >"conftest.in"
4558 cat "conftest.in" "conftest.in" >"conftest.tmp"
4559 mv "conftest.tmp" "conftest.in"
4560 cp "conftest.in" "conftest.nl"
4561 $as_echo 'EGREP' >> "conftest.nl"
4562 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4563 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4564 as_fn_arith $ac_count + 1 && ac_count=$as_val
4565 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4566 # Best one so far, save it but keep looking for a better one
4567 ac_cv_path_EGREP="$ac_path_EGREP"
4568 ac_path_EGREP_max=$ac_count
4570 # 10*(2^10) chars as input seems more than enough
4571 test $ac_count -gt 10 && break
4573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4576 $ac_path_EGREP_found && break 3
4581 if test -z "$ac_cv_path_EGREP"; then
4582 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4585 ac_cv_path_EGREP=$EGREP
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4591 $as_echo "$ac_cv_path_EGREP" >&6; }
4592 EGREP="$ac_cv_path_EGREP"
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4596 $as_echo_n "checking for fgrep... " >&6; }
4597 if test "${ac_cv_path_FGREP+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4601 then ac_cv_path_FGREP="$GREP -F"
4603 if test -z "$FGREP"; then
4604 ac_path_FGREP_found=false
4605 # Loop through the user's path and test for each of PROGNAME-LIST
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4610 test -z "$as_dir" && as_dir=.
4611 for ac_prog in fgrep; do
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4614 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4615 # Check for GNU ac_path_FGREP and select it if it is found.
4616 # Check for GNU $ac_path_FGREP
4617 case `"$ac_path_FGREP" --version 2>&1` in
4619 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4622 $as_echo_n 0123456789 >"conftest.in"
4625 cat "conftest.in" "conftest.in" >"conftest.tmp"
4626 mv "conftest.tmp" "conftest.in"
4627 cp "conftest.in" "conftest.nl"
4628 $as_echo 'FGREP' >> "conftest.nl"
4629 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4630 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4631 as_fn_arith $ac_count + 1 && ac_count=$as_val
4632 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4633 # Best one so far, save it but keep looking for a better one
4634 ac_cv_path_FGREP="$ac_path_FGREP"
4635 ac_path_FGREP_max=$ac_count
4637 # 10*(2^10) chars as input seems more than enough
4638 test $ac_count -gt 10 && break
4640 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4643 $ac_path_FGREP_found && break 3
4648 if test -z "$ac_cv_path_FGREP"; then
4649 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4652 ac_cv_path_FGREP=$FGREP
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4658 $as_echo "$ac_cv_path_FGREP" >&6; }
4659 FGREP="$ac_cv_path_FGREP"
4662 test -z "$GREP" && GREP=grep
4682 # Check whether --with-gnu-ld was given.
4683 if test "${with_gnu_ld+set}" = set; then :
4684 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4690 if test "$GCC" = yes; then
4691 # Check if gcc -print-prog-name=ld gives a path.
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4693 $as_echo_n "checking for ld used by $CC... " >&6; }
4696 # gcc leaves a trailing carriage return which upsets mingw
4697 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4699 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4702 # Accept absolute paths.
4704 re_direlt='/[^/][^/]*/\.\./'
4705 # Canonicalize the pathname of ld
4706 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4707 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4708 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4710 test -z "$LD" && LD="$ac_prog"
4713 # If it fails, then pretend we aren't using GCC.
4717 # If it is relative, then search for the first ld in PATH.
4721 elif test "$with_gnu_ld" = yes; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4723 $as_echo_n "checking for GNU ld... " >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4726 $as_echo_n "checking for non-GNU ld... " >&6; }
4728 if test "${lt_cv_path_LD+set}" = set; then :
4729 $as_echo_n "(cached) " >&6
4731 if test -z "$LD"; then
4732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4733 for ac_dir in $PATH; do
4735 test -z "$ac_dir" && ac_dir=.
4736 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4737 lt_cv_path_LD="$ac_dir/$ac_prog"
4738 # Check to see if the program is GNU ld. I'd rather use --version,
4739 # but apparently some variants of GNU ld only accept -v.
4740 # Break only if it was the GNU/non-GNU ld that we prefer.
4741 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4742 *GNU* | *'with BFD'*)
4743 test "$with_gnu_ld" != no && break
4746 test "$with_gnu_ld" != yes && break
4753 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4758 if test -n "$LD"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4760 $as_echo "$LD" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4765 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4767 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4768 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4771 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4772 case `$LD -v 2>&1 </dev/null` in
4773 *GNU* | *'with BFD'*)
4774 lt_cv_prog_gnu_ld=yes
4777 lt_cv_prog_gnu_ld=no
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4782 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4783 with_gnu_ld=$lt_cv_prog_gnu_ld
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4794 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4795 if test "${lt_cv_path_NM+set}" = set; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$NM"; then
4799 # Let the user override the test.
4802 lt_nm_to_check="${ac_tool_prefix}nm"
4803 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4804 lt_nm_to_check="$lt_nm_to_check nm"
4806 for lt_tmp_nm in $lt_nm_to_check; do
4807 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4808 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4810 test -z "$ac_dir" && ac_dir=.
4811 tmp_nm="$ac_dir/$lt_tmp_nm"
4812 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4813 # Check to see if the nm accepts a BSD-compat flag.
4814 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4815 # nm: unknown option "B" ignored
4816 # Tru64's nm complains that /dev/null is an invalid object file
4817 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4818 */dev/null* | *'Invalid file or object type'*)
4819 lt_cv_path_NM="$tmp_nm -B"
4823 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4825 lt_cv_path_NM="$tmp_nm -p"
4829 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4830 continue # so that we can try to find one that supports BSD flags
4839 : ${lt_cv_path_NM=no}
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4843 $as_echo "$lt_cv_path_NM" >&6; }
4844 if test "$lt_cv_path_NM" != "no"; then
4847 # Didn't find any BSD compatible name lister, look for dumpbin.
4848 if test -n "$DUMPBIN"; then :
4849 # Let the user override the test.
4851 if test -n "$ac_tool_prefix"; then
4852 for ac_prog in dumpbin "link -dump"
4854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 $as_echo_n "checking for $ac_word... " >&6; }
4858 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4861 if test -n "$DUMPBIN"; then
4862 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 DUMPBIN=$ac_cv_prog_DUMPBIN
4882 if test -n "$DUMPBIN"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4884 $as_echo "$DUMPBIN" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4891 test -n "$DUMPBIN" && break
4894 if test -z "$DUMPBIN"; then
4895 ac_ct_DUMPBIN=$DUMPBIN
4896 for ac_prog in dumpbin "link -dump"
4898 # Extract the first word of "$ac_prog", so it can be a program name with args.
4899 set dummy $ac_prog; ac_word=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4903 $as_echo_n "(cached) " >&6
4905 if test -n "$ac_ct_DUMPBIN"; then
4906 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir=.
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4915 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4926 if test -n "$ac_ct_DUMPBIN"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4928 $as_echo "$ac_ct_DUMPBIN" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4935 test -n "$ac_ct_DUMPBIN" && break
4938 if test "x$ac_ct_DUMPBIN" = x; then
4941 case $cross_compiling:$ac_tool_warned in
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4945 ac_tool_warned=yes ;;
4947 DUMPBIN=$ac_ct_DUMPBIN
4951 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4953 DUMPBIN="$DUMPBIN -symbols"
4961 if test "$DUMPBIN" != ":"; then
4965 test -z "$NM" && NM=nm
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4973 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4974 if test "${lt_cv_nm_interface+set}" = set; then :
4975 $as_echo_n "(cached) " >&6
4977 lt_cv_nm_interface="BSD nm"
4978 echo "int some_variable = 0;" > conftest.$ac_ext
4979 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4980 (eval "$ac_compile" 2>conftest.err)
4981 cat conftest.err >&5
4982 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4983 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4984 cat conftest.err >&5
4985 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4986 cat conftest.out >&5
4987 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4988 lt_cv_nm_interface="MS dumpbin"
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4993 $as_echo "$lt_cv_nm_interface" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4996 $as_echo_n "checking whether ln -s works... " >&6; }
4998 if test "$LN_S" = "ln -s"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5000 $as_echo "yes" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5003 $as_echo "no, using $LN_S" >&6; }
5006 # find the maximum length of command line arguments
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5008 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5009 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5017 # On DJGPP, this test can blow up pretty badly due to problems in libc
5018 # (any single argument exceeding 2000 bytes causes a buffer overrun
5019 # during glob expansion). Even if it were fixed, the result of this
5020 # check would be larger than it should be.
5021 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5025 # Under GNU Hurd, this test is not required because there is
5026 # no limit to the length of command line arguments.
5027 # Libtool will interpret -1 as no limit whatsoever
5028 lt_cv_sys_max_cmd_len=-1;
5031 cygwin* | mingw* | cegcc*)
5032 # On Win9x/ME, this test blows up -- it succeeds, but takes
5033 # about 5 minutes as the teststring grows exponentially.
5034 # Worse, since 9x/ME are not pre-emptively multitasking,
5035 # you end up with a "frozen" computer, even though with patience
5036 # the test eventually succeeds (with a max line length of 256k).
5037 # Instead, let's just punt: use the minimum linelength reported by
5038 # all of the supported platforms: 8192 (on NT/2K/XP).
5039 lt_cv_sys_max_cmd_len=8192;
5043 # On MiNT this can take a long time and run out of memory.
5044 lt_cv_sys_max_cmd_len=8192;
5048 # On AmigaOS with pdksh, this test takes hours, literally.
5049 # So we just punt and use a minimum line length of 8192.
5050 lt_cv_sys_max_cmd_len=8192;
5053 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5054 # This has been around since 386BSD, at least. Likely further.
5055 if test -x /sbin/sysctl; then
5056 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5057 elif test -x /usr/sbin/sysctl; then
5058 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5060 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5062 # And add a safety zone
5063 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5064 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5068 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5069 lt_cv_sys_max_cmd_len=196608
5073 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5074 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5075 # nice to cause kernel panics so lets avoid the loop below.
5076 # First set a reasonable default.
5077 lt_cv_sys_max_cmd_len=16384
5079 if test -x /sbin/sysconfig; then
5080 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5081 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5086 lt_cv_sys_max_cmd_len=102400
5088 sysv5* | sco5v6* | sysv4.2uw2*)
5089 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5090 if test -n "$kargmax"; then
5091 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5093 lt_cv_sys_max_cmd_len=32768
5097 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5098 if test -n "$lt_cv_sys_max_cmd_len"; then
5099 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5100 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5102 # Make teststring a little bigger before we do anything with it.
5103 # a 1K string should be a reasonable start.
5104 for i in 1 2 3 4 5 6 7 8 ; do
5105 teststring=$teststring$teststring
5107 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5108 # If test is not a shell built-in, we'll probably end up computing a
5109 # maximum length that is only half of the actual maximum length, but
5111 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5112 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5113 test $i != 17 # 1/2 MB should be enough
5116 teststring=$teststring$teststring
5118 # Only check the string length outside the loop.
5119 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5121 # Add a significant safety factor because C++ compilers can tack on
5122 # massive amounts of additional arguments before passing them to the
5123 # linker. It appears as though 1/2 is a usable value.
5124 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5131 if test -n $lt_cv_sys_max_cmd_len ; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5133 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5136 $as_echo "none" >&6; }
5138 max_cmd_len=$lt_cv_sys_max_cmd_len
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5150 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5151 # Try some XSI features
5154 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5156 && eval 'test $(( 1 + 1 )) -eq 2 \
5157 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5160 $as_echo "$xsi_shell" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5164 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5166 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5168 && lt_shell_append=yes
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5170 $as_echo "$lt_shell_append" >&6; }
5173 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5183 # test EBCDIC or ASCII
5184 case `echo X|tr X '\101'` in
5185 A) # ASCII based system
5186 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5187 lt_SP2NL='tr \040 \012'
5188 lt_NL2SP='tr \015\012 \040\040'
5190 *) # EBCDIC based system
5191 lt_SP2NL='tr \100 \n'
5192 lt_NL2SP='tr \r\n \100\100'
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5205 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5206 if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5212 *-*-mingw* ) # actually msys
5213 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5216 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5218 * ) # otherwise, assume *nix
5219 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5225 *-*-mingw* ) # actually msys
5226 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5229 lt_cv_to_host_file_cmd=func_convert_file_noop
5231 * ) # otherwise, assume *nix
5232 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5236 * ) # unhandled hosts (and "normal" native builds)
5237 lt_cv_to_host_file_cmd=func_convert_file_noop
5243 to_host_file_cmd=$lt_cv_to_host_file_cmd
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5245 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5252 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5253 if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 #assume ordinary cross tools, or native build.
5257 lt_cv_to_tool_file_cmd=func_convert_file_noop
5261 *-*-mingw* ) # actually msys
5262 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5270 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5272 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5279 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5280 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5281 $as_echo_n "(cached) " >&6
5283 lt_cv_ld_reload_flag='-r'
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5286 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5287 reload_flag=$lt_cv_ld_reload_flag
5288 case $reload_flag in
5290 *) reload_flag=" $reload_flag" ;;
5292 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5294 cygwin* | mingw* | pw32* | cegcc*)
5295 if test "$GCC" != yes; then
5300 if test "$GCC" = yes; then
5301 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5303 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5318 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5322 $as_echo_n "(cached) " >&6
5324 if test -n "$OBJDUMP"; then
5325 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 OBJDUMP=$ac_cv_prog_OBJDUMP
5345 if test -n "$OBJDUMP"; then
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5347 $as_echo "$OBJDUMP" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5355 if test -z "$ac_cv_prog_OBJDUMP"; then
5356 ac_ct_OBJDUMP=$OBJDUMP
5357 # Extract the first word of "objdump", so it can be a program name with args.
5358 set dummy objdump; ac_word=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5364 if test -n "$ac_ct_OBJDUMP"; then
5365 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5385 if test -n "$ac_ct_OBJDUMP"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5387 $as_echo "$ac_ct_OBJDUMP" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5393 if test "x$ac_ct_OBJDUMP" = x; then
5396 case $cross_compiling:$ac_tool_warned in
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5400 ac_tool_warned=yes ;;
5402 OBJDUMP=$ac_ct_OBJDUMP
5405 OBJDUMP="$ac_cv_prog_OBJDUMP"
5408 test -z "$OBJDUMP" && OBJDUMP=objdump
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5419 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5420 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5421 $as_echo_n "(cached) " >&6
5423 lt_cv_file_magic_cmd='$MAGIC_CMD'
5424 lt_cv_file_magic_test_file=
5425 lt_cv_deplibs_check_method='unknown'
5426 # Need to set the preceding variable on all platforms that support
5427 # interlibrary dependencies.
5428 # 'none' -- dependencies not supported.
5429 # `unknown' -- same as none, but documents that we really don't know.
5430 # 'pass_all' -- all dependencies passed with no checks.
5431 # 'test_compile' -- check by making test program.
5432 # 'file_magic [[regex]]' -- check by looking for files in library path
5433 # which responds to the $file_magic_cmd with a given extended regex.
5434 # If you have `file' or equivalent on your system and you're not sure
5435 # whether `pass_all' will *always* work, you probably want this one.
5439 lt_cv_deplibs_check_method=pass_all
5443 lt_cv_deplibs_check_method=pass_all
5447 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5448 lt_cv_file_magic_cmd='/usr/bin/file -L'
5449 lt_cv_file_magic_test_file=/shlib/libc.so
5453 # func_win32_libid is a shell function defined in ltmain.sh
5454 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5455 lt_cv_file_magic_cmd='func_win32_libid'
5459 # Base MSYS/MinGW do not provide the 'file' command needed by
5460 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5461 # unless we find 'file', for example because we are cross-compiling.
5462 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5463 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5464 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5465 lt_cv_file_magic_cmd='func_win32_libid'
5467 # Keep this pattern in sync with the one in func_win32_libid.
5468 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5469 lt_cv_file_magic_cmd='$OBJDUMP -f'
5474 # use the weaker test based on 'objdump'. See mingw*.
5475 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5476 lt_cv_file_magic_cmd='$OBJDUMP -f'
5479 darwin* | rhapsody*)
5480 lt_cv_deplibs_check_method=pass_all
5483 freebsd* | dragonfly*)
5484 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5487 # Not sure whether the presence of OpenBSD here was a mistake.
5488 # Let's accept both of them until this is cleared up.
5489 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5490 lt_cv_file_magic_cmd=/usr/bin/file
5491 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5495 lt_cv_deplibs_check_method=pass_all
5500 lt_cv_deplibs_check_method=pass_all
5504 lt_cv_deplibs_check_method=pass_all
5507 hpux10.20* | hpux11*)
5508 lt_cv_file_magic_cmd=/usr/bin/file
5511 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5512 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5515 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]'
5516 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5519 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5520 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5526 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5530 irix5* | irix6* | nonstopux*)
5532 *-32|*"-32 ") libmagic=32-bit;;
5533 *-n32|*"-n32 ") libmagic=N32;;
5534 *-64|*"-64 ") libmagic=64-bit;;
5535 *) libmagic=never-match;;
5537 lt_cv_deplibs_check_method=pass_all
5540 # This must be Linux ELF.
5541 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5542 lt_cv_deplibs_check_method=pass_all
5546 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5547 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5549 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5554 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5555 lt_cv_file_magic_cmd=/usr/bin/file
5556 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5560 lt_cv_deplibs_check_method=pass_all
5564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5565 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5567 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5571 osf3* | osf4* | osf5*)
5572 lt_cv_deplibs_check_method=pass_all
5576 lt_cv_deplibs_check_method=pass_all
5580 lt_cv_deplibs_check_method=pass_all
5583 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5584 lt_cv_deplibs_check_method=pass_all
5588 case $host_vendor in
5590 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]'
5591 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5594 lt_cv_deplibs_check_method=pass_all
5597 lt_cv_file_magic_cmd='/bin/file'
5598 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5601 lt_cv_file_magic_cmd='/bin/file'
5602 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5603 lt_cv_file_magic_test_file=/lib/libc.so
5606 lt_cv_deplibs_check_method=pass_all
5609 lt_cv_deplibs_check_method=pass_all
5615 lt_cv_deplibs_check_method=pass_all
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5621 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5625 if test "$build" = "$host"; then
5628 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5631 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5637 file_magic_cmd=$lt_cv_file_magic_cmd
5638 deplibs_check_method=$lt_cv_deplibs_check_method
5639 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5662 if test -n "$ac_tool_prefix"; then
5663 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5664 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5668 $as_echo_n "(cached) " >&6
5670 if test -n "$DLLTOOL"; then
5671 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5680 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 DLLTOOL=$ac_cv_prog_DLLTOOL
5691 if test -n "$DLLTOOL"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5693 $as_echo "$DLLTOOL" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5701 if test -z "$ac_cv_prog_DLLTOOL"; then
5702 ac_ct_DLLTOOL=$DLLTOOL
5703 # Extract the first word of "dlltool", so it can be a program name with args.
5704 set dummy dlltool; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$ac_ct_DLLTOOL"; then
5711 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5731 if test -n "$ac_ct_DLLTOOL"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5733 $as_echo "$ac_ct_DLLTOOL" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5739 if test "x$ac_ct_DLLTOOL" = x; then
5742 case $cross_compiling:$ac_tool_warned in
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5746 ac_tool_warned=yes ;;
5748 DLLTOOL=$ac_ct_DLLTOOL
5751 DLLTOOL="$ac_cv_prog_DLLTOOL"
5754 test -z "$DLLTOOL" && DLLTOOL=dlltool
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5766 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5767 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
5768 $as_echo_n "(cached) " >&6
5770 lt_cv_sharedlib_from_linklib_cmd='unknown'
5773 cygwin* | mingw* | pw32* | cegcc*)
5774 # two different shell functions defined in ltmain.sh
5775 # decide which to use based on capabilities of $DLLTOOL
5776 case `$DLLTOOL --help 2>&1` in
5777 *--identify-strict*)
5778 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5781 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5786 # fallback: assume linklib IS sharedlib
5787 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5793 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5794 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5795 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5804 if test -n "$ac_tool_prefix"; then
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_AR+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$AR"; then
5815 ac_cv_prog_AR="$AR" # Let the user override the test.
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 if test -n "$AR"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5837 $as_echo "$AR" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 test -n "$AR" && break
5847 if test -z "$AR"; then
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$ac_ct_AR"; then
5859 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_AR="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5879 if test -n "$ac_ct_AR"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5881 $as_echo "$ac_ct_AR" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$ac_ct_AR" && break
5891 if test "x$ac_ct_AR" = x; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5918 $as_echo_n "checking for archiver @FILE support... " >&6; }
5919 if test "${lt_cv_ar_at_file+set}" = set; then :
5920 $as_echo_n "(cached) " >&6
5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924 /* end confdefs.h. */
5934 if ac_fn_c_try_compile "$LINENO"; then :
5935 echo conftest.$ac_objext > conftest.lst
5936 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5937 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5938 (eval $lt_ar_try) 2>&5
5940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5941 test $ac_status = 0; }
5942 if test "$ac_status" -eq 0; then
5943 # Ensure the archiver fails upon bogus file names.
5944 rm -f conftest.$ac_objext libconftest.a
5945 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5946 (eval $lt_ar_try) 2>&5
5948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5949 test $ac_status = 0; }
5950 if test "$ac_status" -ne 0; then
5954 rm -f conftest.* libconftest.a
5957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5961 $as_echo "$lt_cv_ar_at_file" >&6; }
5963 if test "x$lt_cv_ar_at_file" = xno; then
5966 archiver_list_spec=$lt_cv_ar_at_file
5975 if test -n "$ac_tool_prefix"; then
5976 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5977 set dummy ${ac_tool_prefix}strip; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if test "${ac_cv_prog_STRIP+set}" = set; then :
5981 $as_echo_n "(cached) " >&6
5983 if test -n "$STRIP"; then
5984 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5993 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 STRIP=$ac_cv_prog_STRIP
6004 if test -n "$STRIP"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6006 $as_echo "$STRIP" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6014 if test -z "$ac_cv_prog_STRIP"; then
6016 # Extract the first word of "strip", so it can be a program name with args.
6017 set dummy strip; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6023 if test -n "$ac_ct_STRIP"; then
6024 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_ac_ct_STRIP="strip"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6044 if test -n "$ac_ct_STRIP"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6046 $as_echo "$ac_ct_STRIP" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6052 if test "x$ac_ct_STRIP" = x; then
6055 case $cross_compiling:$ac_tool_warned in
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned=yes ;;
6064 STRIP="$ac_cv_prog_STRIP"
6067 test -z "$STRIP" && STRIP=:
6074 if test -n "$ac_tool_prefix"; then
6075 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6076 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6080 $as_echo_n "(cached) " >&6
6082 if test -n "$RANLIB"; then
6083 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6092 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 RANLIB=$ac_cv_prog_RANLIB
6103 if test -n "$RANLIB"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6105 $as_echo "$RANLIB" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6113 if test -z "$ac_cv_prog_RANLIB"; then
6114 ac_ct_RANLIB=$RANLIB
6115 # Extract the first word of "ranlib", so it can be a program name with args.
6116 set dummy ranlib; ac_word=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 $as_echo_n "checking for $ac_word... " >&6; }
6119 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6120 $as_echo_n "(cached) " >&6
6122 if test -n "$ac_ct_RANLIB"; then
6123 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 test -z "$as_dir" && as_dir=.
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6132 ac_cv_prog_ac_ct_RANLIB="ranlib"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6143 if test -n "$ac_ct_RANLIB"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6145 $as_echo "$ac_ct_RANLIB" >&6; }
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 $as_echo "no" >&6; }
6151 if test "x$ac_ct_RANLIB" = x; then
6154 case $cross_compiling:$ac_tool_warned in
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6160 RANLIB=$ac_ct_RANLIB
6163 RANLIB="$ac_cv_prog_RANLIB"
6166 test -z "$RANLIB" && RANLIB=:
6173 # Determine commands to create old-style static archives.
6174 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6175 old_postinstall_cmds='chmod 644 $oldlib'
6176 old_postuninstall_cmds=
6178 if test -n "$RANLIB"; then
6181 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6184 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6187 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6192 lock_old_archive_extraction=yes ;;
6194 lock_old_archive_extraction=no ;;
6235 # If no C compiler was specified, use CC.
6238 # If no C compiler flags were specified, use CFLAGS.
6239 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6241 # Allow CC to be a program name with arguments.
6245 # Check for command to grab the raw symbol name followed by C symbol from nm.
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6247 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6248 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6249 $as_echo_n "(cached) " >&6
6252 # These are sane defaults that work on at least a few old systems.
6253 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6255 # Character class describing NM global symbol codes.
6256 symcode='[BCDEGRST]'
6258 # Regexp to match symbols that can be accessed directly from C.
6259 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6261 # Define system-specific variables.
6266 cygwin* | mingw* | pw32* | cegcc*)
6267 symcode='[ABCDGISTW]'
6270 if test "$host_cpu" = ia64; then
6271 symcode='[ABCDEGRST]'
6275 symcode='[BCDEGRST]'
6278 symcode='[BCDEGQRST]'
6289 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6297 # If we're using GNU nm, then use its standard symbol codes.
6298 case `$NM -V 2>&1` in
6299 *GNU* | *'with BFD'*)
6300 symcode='[ABCDGIRSTW]' ;;
6303 # Transform an extracted symbol line into a proper C declaration.
6304 # Some systems (esp. on ia64) link data and code symbols differently,
6305 # so use this general approach.
6306 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6308 # Transform an extracted symbol line into symbol name and symbol address
6309 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6310 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'"
6312 # Handle CRLF in mingw tool chain
6316 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6320 # Try without a prefix underscore, then with it.
6321 for ac_symprfx in "" "_"; do
6323 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6324 symxfrm="\\1 $ac_symprfx\\2 \\2"
6326 # Write the raw and C identifiers.
6327 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6328 # Fake it for dumpbin and say T for any non-static function
6329 # and D for any global variable.
6330 # Also find C++ and __fastcall symbols from MSVC++,
6331 # which start with @ or ?.
6332 lt_cv_sys_global_symbol_pipe="$AWK '"\
6333 " {last_section=section; section=\$ 3};"\
6334 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6335 " \$ 0!~/External *\|/{next};"\
6336 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6337 " {if(hide[section]) next};"\
6338 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6339 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6340 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6341 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6342 " ' prfx=^$ac_symprfx"
6344 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6346 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6348 # Check to see that the pipe works correctly.
6352 cat > conftest.$ac_ext <<_LT_EOF
6357 void nm_test_func(void);
6358 void nm_test_func(void){}
6362 int main(){nm_test_var='a';nm_test_func();return(0);}
6365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6366 (eval $ac_compile) 2>&5
6368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6369 test $ac_status = 0; }; then
6370 # Now try to grab the symbols.
6372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6373 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376 test $ac_status = 0; } && test -s "$nlist"; then
6377 # Try sorting and uniquifying the output.
6378 if sort "$nlist" | uniq > "$nlist"T; then
6379 mv -f "$nlist"T "$nlist"
6384 # Make sure that we snagged all the symbols we need.
6385 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6386 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6387 cat <<_LT_EOF > conftest.$ac_ext
6388 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6389 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6390 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6391 relocations are performed -- see ld's documentation on pseudo-relocs. */
6392 # define LT_DLSYM_CONST
6393 #elif defined(__osf__)
6394 /* This system does not cope well with relocations in const data. */
6395 # define LT_DLSYM_CONST
6397 # define LT_DLSYM_CONST const
6405 # Now generate the symbol file.
6406 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6408 cat <<_LT_EOF >> conftest.$ac_ext
6410 /* The mapping between symbol names and symbols. */
6411 LT_DLSYM_CONST struct {
6415 lt__PROGRAM__LTX_preloaded_symbols[] =
6417 { "@PROGRAM@", (void *) 0 },
6419 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6420 cat <<\_LT_EOF >> conftest.$ac_ext
6424 /* This works around a problem in FreeBSD linker */
6425 #ifdef FREEBSD_WORKAROUND
6426 static const void *lt_preloaded_setup() {
6427 return lt__PROGRAM__LTX_preloaded_symbols;
6435 # Now try linking the two files.
6436 mv conftest.$ac_objext conftstm.$ac_objext
6437 lt_globsym_save_LIBS=$LIBS
6438 lt_globsym_save_CFLAGS=$CFLAGS
6439 LIBS="conftstm.$ac_objext"
6440 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6442 (eval $ac_link) 2>&5
6444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6445 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6448 LIBS=$lt_globsym_save_LIBS
6449 CFLAGS=$lt_globsym_save_CFLAGS
6451 echo "cannot find nm_test_func in $nlist" >&5
6454 echo "cannot find nm_test_var in $nlist" >&5
6457 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6460 echo "$progname: failed program was:" >&5
6461 cat conftest.$ac_ext >&5
6463 rm -rf conftest* conftst*
6465 # Do not use the global_symbol_pipe unless it works.
6466 if test "$pipe_works" = yes; then
6469 lt_cv_sys_global_symbol_pipe=
6475 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6476 lt_cv_sys_global_symbol_to_cdecl=
6478 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6480 $as_echo "failed" >&6; }
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6483 $as_echo "ok" >&6; }
6486 # Response file support.
6487 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6488 nm_file_list_spec='@'
6489 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6490 nm_file_list_spec='@'
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6520 $as_echo_n "checking for sysroot... " >&6; }
6522 # Check whether --with-sysroot was given.
6523 if test "${with_sysroot+set}" = set; then :
6524 withval=$with_sysroot;
6531 case ${with_sysroot} in #(
6533 if test "$GCC" = yes; then
6534 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6538 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6544 $as_echo "${with_sysroot}" >&6; }
6545 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6550 $as_echo "${lt_sysroot:-no}" >&6; }
6556 # Check whether --enable-libtool-lock was given.
6557 if test "${enable_libtool_lock+set}" = set; then :
6558 enableval=$enable_libtool_lock;
6561 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6563 # Some flags need to be propagated to the compiler or linker for good
6567 # Find out which ABI we are using.
6568 echo 'int i;' > conftest.$ac_ext
6569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6570 (eval $ac_compile) 2>&5
6572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6573 test $ac_status = 0; }; then
6574 case `/usr/bin/file conftest.$ac_objext` in
6586 # Find out which ABI we are using.
6587 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6589 (eval $ac_compile) 2>&5
6591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6592 test $ac_status = 0; }; then
6593 if test "$lt_cv_prog_gnu_ld" = yes; then
6594 case `/usr/bin/file conftest.$ac_objext` in
6596 LD="${LD-ld} -melf32bsmip"
6599 LD="${LD-ld} -melf32bmipn32"
6602 LD="${LD-ld} -melf64bmip"
6606 case `/usr/bin/file conftest.$ac_objext` in
6622 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6623 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6624 # Find out which ABI we are using.
6625 echo 'int i;' > conftest.$ac_ext
6626 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6627 (eval $ac_compile) 2>&5
6629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6630 test $ac_status = 0; }; then
6631 case `/usr/bin/file conftest.o` in
6634 x86_64-*kfreebsd*-gnu)
6635 LD="${LD-ld} -m elf_i386_fbsd"
6638 LD="${LD-ld} -m elf_i386"
6640 ppc64-*linux*|powerpc64-*linux*)
6641 LD="${LD-ld} -m elf32ppclinux"
6644 LD="${LD-ld} -m elf_s390"
6647 LD="${LD-ld} -m elf32_sparc"
6653 x86_64-*kfreebsd*-gnu)
6654 LD="${LD-ld} -m elf_x86_64_fbsd"
6657 LD="${LD-ld} -m elf_x86_64"
6659 ppc*-*linux*|powerpc*-*linux*)
6660 LD="${LD-ld} -m elf64ppc"
6662 s390*-*linux*|s390*-*tpf*)
6663 LD="${LD-ld} -m elf64_s390"
6666 LD="${LD-ld} -m elf64_sparc"
6676 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6677 SAVE_CFLAGS="$CFLAGS"
6678 CFLAGS="$CFLAGS -belf"
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6680 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6681 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6682 $as_echo_n "(cached) " >&6
6685 ac_cpp='$CPP $CPPFLAGS'
6686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6701 if ac_fn_c_try_link "$LINENO"; then :
6702 lt_cv_cc_needs_belf=yes
6704 lt_cv_cc_needs_belf=no
6706 rm -f core conftest.err conftest.$ac_objext \
6707 conftest$ac_exeext conftest.$ac_ext
6709 ac_cpp='$CPP $CPPFLAGS'
6710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6716 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6717 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6718 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6719 CFLAGS="$SAVE_CFLAGS"
6723 # Find out which ABI we are using.
6724 echo 'int i;' > conftest.$ac_ext
6725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6726 (eval $ac_compile) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6729 test $ac_status = 0; }; then
6730 case `/usr/bin/file conftest.o` in
6732 case $lt_cv_prog_gnu_ld in
6733 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6735 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6747 need_locks="$enable_libtool_lock"
6749 if test -n "$ac_tool_prefix"; then
6750 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6751 set dummy ${ac_tool_prefix}mt; ac_word=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
6755 $as_echo_n "(cached) " >&6
6757 if test -n "$MANIFEST_TOOL"; then
6758 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6767 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6778 if test -n "$MANIFEST_TOOL"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6780 $as_echo "$MANIFEST_TOOL" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6788 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6789 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6790 # Extract the first word of "mt", so it can be a program name with args.
6791 set dummy mt; ac_word=$2
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793 $as_echo_n "checking for $ac_word... " >&6; }
6794 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6797 if test -n "$ac_ct_MANIFEST_TOOL"; then
6798 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6818 if test -n "$ac_ct_MANIFEST_TOOL"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6820 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6826 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6829 case $cross_compiling:$ac_tool_warned in
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6833 ac_tool_warned=yes ;;
6835 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6838 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6841 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6843 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6844 if test "${lt_cv_path_mainfest_tool+set}" = set; then :
6845 $as_echo_n "(cached) " >&6
6847 lt_cv_path_mainfest_tool=no
6848 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6849 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6850 cat conftest.err >&5
6851 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6852 lt_cv_path_mainfest_tool=yes
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6857 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6858 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6868 rhapsody* | darwin*)
6869 if test -n "$ac_tool_prefix"; then
6870 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6871 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6875 $as_echo_n "(cached) " >&6
6877 if test -n "$DSYMUTIL"; then
6878 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6898 if test -n "$DSYMUTIL"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6900 $as_echo "$DSYMUTIL" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6908 if test -z "$ac_cv_prog_DSYMUTIL"; then
6909 ac_ct_DSYMUTIL=$DSYMUTIL
6910 # Extract the first word of "dsymutil", so it can be a program name with args.
6911 set dummy dsymutil; ac_word=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 $as_echo_n "checking for $ac_word... " >&6; }
6914 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6915 $as_echo_n "(cached) " >&6
6917 if test -n "$ac_ct_DSYMUTIL"; then
6918 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6938 if test -n "$ac_ct_DSYMUTIL"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6940 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6946 if test "x$ac_ct_DSYMUTIL" = x; then
6949 case $cross_compiling:$ac_tool_warned in
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953 ac_tool_warned=yes ;;
6955 DSYMUTIL=$ac_ct_DSYMUTIL
6958 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6961 if test -n "$ac_tool_prefix"; then
6962 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6963 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6967 $as_echo_n "(cached) " >&6
6969 if test -n "$NMEDIT"; then
6970 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6979 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 NMEDIT=$ac_cv_prog_NMEDIT
6990 if test -n "$NMEDIT"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6992 $as_echo "$NMEDIT" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
7000 if test -z "$ac_cv_prog_NMEDIT"; then
7001 ac_ct_NMEDIT=$NMEDIT
7002 # Extract the first word of "nmedit", so it can be a program name with args.
7003 set dummy nmedit; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7007 $as_echo_n "(cached) " >&6
7009 if test -n "$ac_ct_NMEDIT"; then
7010 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7030 if test -n "$ac_ct_NMEDIT"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7032 $as_echo "$ac_ct_NMEDIT" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7038 if test "x$ac_ct_NMEDIT" = x; then
7041 case $cross_compiling:$ac_tool_warned in
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045 ac_tool_warned=yes ;;
7047 NMEDIT=$ac_ct_NMEDIT
7050 NMEDIT="$ac_cv_prog_NMEDIT"
7053 if test -n "$ac_tool_prefix"; then
7054 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7055 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if test "${ac_cv_prog_LIPO+set}" = set; then :
7059 $as_echo_n "(cached) " >&6
7061 if test -n "$LIPO"; then
7062 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 test -z "$as_dir" && as_dir=.
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7071 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081 LIPO=$ac_cv_prog_LIPO
7082 if test -n "$LIPO"; then
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7084 $as_echo "$LIPO" >&6; }
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7087 $as_echo "no" >&6; }
7092 if test -z "$ac_cv_prog_LIPO"; then
7094 # Extract the first word of "lipo", so it can be a program name with args.
7095 set dummy lipo; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$ac_ct_LIPO"; then
7102 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_ac_ct_LIPO="lipo"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7122 if test -n "$ac_ct_LIPO"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7124 $as_echo "$ac_ct_LIPO" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7130 if test "x$ac_ct_LIPO" = x; then
7133 case $cross_compiling:$ac_tool_warned in
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7137 ac_tool_warned=yes ;;
7142 LIPO="$ac_cv_prog_LIPO"
7145 if test -n "$ac_tool_prefix"; then
7146 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7147 set dummy ${ac_tool_prefix}otool; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7151 $as_echo_n "(cached) " >&6
7153 if test -n "$OTOOL"; then
7154 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir=.
7161 for ac_exec_ext in '' $ac_executable_extensions; do
7162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7163 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173 OTOOL=$ac_cv_prog_OTOOL
7174 if test -n "$OTOOL"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7176 $as_echo "$OTOOL" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7184 if test -z "$ac_cv_prog_OTOOL"; then
7186 # Extract the first word of "otool", so it can be a program name with args.
7187 set dummy otool; ac_word=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$ac_ct_OTOOL"; then
7194 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir=.
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_ac_ct_OTOOL="otool"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7214 if test -n "$ac_ct_OTOOL"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7216 $as_echo "$ac_ct_OTOOL" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7222 if test "x$ac_ct_OTOOL" = x; then
7225 case $cross_compiling:$ac_tool_warned in
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7229 ac_tool_warned=yes ;;
7234 OTOOL="$ac_cv_prog_OTOOL"
7237 if test -n "$ac_tool_prefix"; then
7238 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7239 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7243 $as_echo_n "(cached) " >&6
7245 if test -n "$OTOOL64"; then
7246 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir=.
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 OTOOL64=$ac_cv_prog_OTOOL64
7266 if test -n "$OTOOL64"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7268 $as_echo "$OTOOL64" >&6; }
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7276 if test -z "$ac_cv_prog_OTOOL64"; then
7277 ac_ct_OTOOL64=$OTOOL64
7278 # Extract the first word of "otool64", so it can be a program name with args.
7279 set dummy otool64; ac_word=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7283 $as_echo_n "(cached) " >&6
7285 if test -n "$ac_ct_OTOOL64"; then
7286 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir=.
7293 for ac_exec_ext in '' $ac_executable_extensions; do
7294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 ac_cv_prog_ac_ct_OTOOL64="otool64"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7306 if test -n "$ac_ct_OTOOL64"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7308 $as_echo "$ac_ct_OTOOL64" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7314 if test "x$ac_ct_OTOOL64" = x; then
7317 case $cross_compiling:$ac_tool_warned in
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7321 ac_tool_warned=yes ;;
7323 OTOOL64=$ac_ct_OTOOL64
7326 OTOOL64="$ac_cv_prog_OTOOL64"
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7356 $as_echo_n "checking for -single_module linker flag... " >&6; }
7357 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7358 $as_echo_n "(cached) " >&6
7360 lt_cv_apple_cc_single_mod=no
7361 if test -z "${LT_MULTI_MODULE}"; then
7362 # By default we will add the -single_module flag. You can override
7363 # by either setting the environment variable LT_MULTI_MODULE
7364 # non-empty at configure time, or by adding -multi_module to the
7366 rm -rf libconftest.dylib*
7367 echo "int foo(void){return 1;}" > conftest.c
7368 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7369 -dynamiclib -Wl,-single_module conftest.c" >&5
7370 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7371 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7373 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7374 lt_cv_apple_cc_single_mod=yes
7376 cat conftest.err >&5
7378 rm -rf libconftest.dylib*
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7383 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7385 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7386 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7387 $as_echo_n "(cached) " >&6
7389 lt_cv_ld_exported_symbols_list=no
7390 save_LDFLAGS=$LDFLAGS
7391 echo "_main" > conftest.sym
7392 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7394 /* end confdefs.h. */
7404 if ac_fn_c_try_link "$LINENO"; then :
7405 lt_cv_ld_exported_symbols_list=yes
7407 lt_cv_ld_exported_symbols_list=no
7409 rm -f core conftest.err conftest.$ac_objext \
7410 conftest$ac_exeext conftest.$ac_ext
7411 LDFLAGS="$save_LDFLAGS"
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7415 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7417 $as_echo_n "checking for -force_load linker flag... " >&6; }
7418 if test "${lt_cv_ld_force_load+set}" = set; then :
7419 $as_echo_n "(cached) " >&6
7421 lt_cv_ld_force_load=no
7422 cat > conftest.c << _LT_EOF
7423 int forced_loaded() { return 2;}
7425 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7426 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7427 echo "$AR cru libconftest.a conftest.o" >&5
7428 $AR cru libconftest.a conftest.o 2>&5
7429 echo "$RANLIB libconftest.a" >&5
7430 $RANLIB libconftest.a 2>&5
7431 cat > conftest.c << _LT_EOF
7432 int main() { return 0;}
7434 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7435 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7437 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7438 lt_cv_ld_force_load=yes
7440 cat conftest.err >&5
7442 rm -f conftest.err libconftest.a conftest conftest.c
7443 rm -rf conftest.dSYM
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7447 $as_echo "$lt_cv_ld_force_load" >&6; }
7449 rhapsody* | darwin1.[012])
7450 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7452 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7453 darwin*) # darwin 5.x on
7454 # if running on 10.5 or later, the deployment target defaults
7455 # to the OS version, if on x86, and 10.4, the deployment
7456 # target defaults to 10.4. Don't you love it?
7457 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7458 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7459 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7461 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7463 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7467 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7468 _lt_dar_single_mod='$single_module'
7470 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7471 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7473 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7475 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7476 _lt_dsymutil='~$DSYMUTIL $lib || :'
7484 ac_cpp='$CPP $CPPFLAGS'
7485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7489 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7490 # On Suns, sometimes $CPP names a directory.
7491 if test -n "$CPP" && test -d "$CPP"; then
7494 if test -z "$CPP"; then
7495 if test "${ac_cv_prog_CPP+set}" = set; then :
7496 $as_echo_n "(cached) " >&6
7498 # Double quotes because CPP needs to be expanded
7499 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7502 for ac_c_preproc_warn_flag in '' yes
7504 # Use a header file that comes with gcc, so configuring glibc
7505 # with a fresh cross-compiler works.
7506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7507 # <limits.h> exists even on freestanding compilers.
7508 # On the NeXT, cc -E runs the code through the compiler's parser,
7509 # not just through cpp. "Syntax error" is here to catch this case.
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7513 # include <limits.h>
7515 # include <assert.h>
7519 if ac_fn_c_try_cpp "$LINENO"; then :
7522 # Broken: fails on valid input.
7525 rm -f conftest.err conftest.i conftest.$ac_ext
7527 # OK, works on sane cases. Now check whether nonexistent headers
7528 # can be detected and how.
7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7531 #include <ac_nonexistent.h>
7533 if ac_fn_c_try_cpp "$LINENO"; then :
7534 # Broken: success on invalid input.
7537 # Passes both tests.
7541 rm -f conftest.err conftest.i conftest.$ac_ext
7544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7545 rm -f conftest.i conftest.err conftest.$ac_ext
7546 if $ac_preproc_ok; then :
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7559 $as_echo "$CPP" >&6; }
7561 for ac_c_preproc_warn_flag in '' yes
7563 # Use a header file that comes with gcc, so configuring glibc
7564 # with a fresh cross-compiler works.
7565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7566 # <limits.h> exists even on freestanding compilers.
7567 # On the NeXT, cc -E runs the code through the compiler's parser,
7568 # not just through cpp. "Syntax error" is here to catch this case.
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7572 # include <limits.h>
7574 # include <assert.h>
7578 if ac_fn_c_try_cpp "$LINENO"; then :
7581 # Broken: fails on valid input.
7584 rm -f conftest.err conftest.i conftest.$ac_ext
7586 # OK, works on sane cases. Now check whether nonexistent headers
7587 # can be detected and how.
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7590 #include <ac_nonexistent.h>
7592 if ac_fn_c_try_cpp "$LINENO"; then :
7593 # Broken: success on invalid input.
7596 # Passes both tests.
7600 rm -f conftest.err conftest.i conftest.$ac_ext
7603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7604 rm -f conftest.i conftest.err conftest.$ac_ext
7605 if $ac_preproc_ok; then :
7608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7610 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7611 See \`config.log' for more details" "$LINENO" 5 ; }
7615 ac_cpp='$CPP $CPPFLAGS'
7616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7622 $as_echo_n "checking for ANSI C header files... " >&6; }
7623 if test "${ac_cv_header_stdc+set}" = set; then :
7624 $as_echo_n "(cached) " >&6
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7641 if ac_fn_c_try_compile "$LINENO"; then :
7642 ac_cv_header_stdc=yes
7644 ac_cv_header_stdc=no
7646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7648 if test $ac_cv_header_stdc = yes; then
7649 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7656 $EGREP "memchr" >/dev/null 2>&1; then :
7659 ac_cv_header_stdc=no
7665 if test $ac_cv_header_stdc = yes; then
7666 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7673 $EGREP "free" >/dev/null 2>&1; then :
7676 ac_cv_header_stdc=no
7682 if test $ac_cv_header_stdc = yes; then
7683 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7684 if test "$cross_compiling" = yes; then :
7687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7691 #if ((' ' & 0x0FF) == 0x020)
7692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7695 # define ISLOWER(c) \
7696 (('a' <= (c) && (c) <= 'i') \
7697 || ('j' <= (c) && (c) <= 'r') \
7698 || ('s' <= (c) && (c) <= 'z'))
7699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7707 for (i = 0; i < 256; i++)
7708 if (XOR (islower (i), ISLOWER (i))
7709 || toupper (i) != TOUPPER (i))
7714 if ac_fn_c_try_run "$LINENO"; then :
7717 ac_cv_header_stdc=no
7719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7720 conftest.$ac_objext conftest.beam conftest.$ac_ext
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7726 $as_echo "$ac_cv_header_stdc" >&6; }
7727 if test $ac_cv_header_stdc = yes; then
7729 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7733 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7734 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7735 inttypes.h stdint.h unistd.h
7737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7740 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 for ac_header in dlfcn.h
7752 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7754 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_DLFCN_H 1
7777 # Check whether --enable-shared was given.
7778 if test "${enable_shared+set}" = set; then :
7779 enableval=$enable_shared; p=${PACKAGE-default}
7781 yes) enable_shared=yes ;;
7782 no) enable_shared=no ;;
7785 # Look at the argument we got. We use all the common list separators.
7786 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7787 for pkg in $enableval; do
7789 if test "X$pkg" = "X$p"; then
7810 # Check whether --with-pic was given.
7811 if test "${with_pic+set}" = set; then :
7812 withval=$with_pic; pic_mode="$withval"
7818 test -z "$pic_mode" && pic_mode=default
7826 # Check whether --enable-fast-install was given.
7827 if test "${enable_fast_install+set}" = set; then :
7828 enableval=$enable_fast_install; p=${PACKAGE-default}
7830 yes) enable_fast_install=yes ;;
7831 no) enable_fast_install=no ;;
7833 enable_fast_install=no
7834 # Look at the argument we got. We use all the common list separators.
7835 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7836 for pkg in $enableval; do
7838 if test "X$pkg" = "X$p"; then
7839 enable_fast_install=yes
7846 enable_fast_install=yes
7859 # This can be used to rebuild libtool when needed
7860 LIBTOOL_DEPS="$ltmain"
7862 # Always use our own libtool.
7863 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7890 test -z "$LN_S" && LN_S="ln -s"
7905 if test -n "${ZSH_VERSION+set}" ; then
7906 setopt NO_GLOB_SUBST
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7910 $as_echo_n "checking for objdir... " >&6; }
7911 if test "${lt_cv_objdir+set}" = set; then :
7912 $as_echo_n "(cached) " >&6
7914 rm -f .libs 2>/dev/null
7915 mkdir .libs 2>/dev/null
7916 if test -d .libs; then
7919 # MS-DOS does not allow filenames that begin with a dot.
7922 rmdir .libs 2>/dev/null
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7925 $as_echo "$lt_cv_objdir" >&6; }
7926 objdir=$lt_cv_objdir
7932 cat >>confdefs.h <<_ACEOF
7933 #define LT_OBJDIR "$lt_cv_objdir/"
7941 # AIX sometimes has problems with the GCC collect2 program. For some
7942 # reason, if we set the COLLECT_NAMES environment variable, the problems
7943 # vanish in a puff of smoke.
7944 if test "X${COLLECT_NAMES+set}" != Xset; then
7946 export COLLECT_NAMES
7953 can_build_shared=yes
7955 # All known linkers require a `.a' archive for static linking (except MSVC,
7956 # which needs '.lib').
7959 with_gnu_ld="$lt_cv_prog_gnu_ld"
7962 old_CFLAGS="$CFLAGS"
7964 # Set sane defaults for various variables
7965 test -z "$CC" && CC=cc
7966 test -z "$LTCC" && LTCC=$CC
7967 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7968 test -z "$LD" && LD=ld
7969 test -z "$ac_objext" && ac_objext=o
7971 for cc_temp in $compiler""; do
7973 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7974 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7979 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7982 # Only perform the check for file, if the check method requires it
7983 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7984 case $deplibs_check_method in
7986 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7988 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7989 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7990 $as_echo_n "(cached) " >&6
7994 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7997 lt_save_MAGIC_CMD="$MAGIC_CMD"
7998 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7999 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8000 for ac_dir in $ac_dummy; do
8002 test -z "$ac_dir" && ac_dir=.
8003 if test -f $ac_dir/${ac_tool_prefix}file; then
8004 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8005 if test -n "$file_magic_test_file"; then
8006 case $deplibs_check_method in
8008 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8009 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8010 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8011 $EGREP "$file_magic_regex" > /dev/null; then
8016 *** Warning: the command libtool uses to detect shared libraries,
8017 *** $file_magic_cmd, produces output that libtool cannot recognize.
8018 *** The result is that libtool may fail to recognize shared libraries
8019 *** as such. This will affect the creation of libtool libraries that
8020 *** depend on shared libraries, but programs linked with such libtool
8021 *** libraries will work regardless of this problem. Nevertheless, you
8022 *** may want to report the problem to your system manager and/or to
8023 *** bug-libtool@gnu.org
8033 MAGIC_CMD="$lt_save_MAGIC_CMD"
8038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8039 if test -n "$MAGIC_CMD"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8041 $as_echo "$MAGIC_CMD" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8051 if test -z "$lt_cv_path_MAGIC_CMD"; then
8052 if test -n "$ac_tool_prefix"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8054 $as_echo_n "checking for file... " >&6; }
8055 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8056 $as_echo_n "(cached) " >&6
8060 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8063 lt_save_MAGIC_CMD="$MAGIC_CMD"
8064 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8065 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8066 for ac_dir in $ac_dummy; do
8068 test -z "$ac_dir" && ac_dir=.
8069 if test -f $ac_dir/file; then
8070 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8071 if test -n "$file_magic_test_file"; then
8072 case $deplibs_check_method in
8074 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8076 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8077 $EGREP "$file_magic_regex" > /dev/null; then
8082 *** Warning: the command libtool uses to detect shared libraries,
8083 *** $file_magic_cmd, produces output that libtool cannot recognize.
8084 *** The result is that libtool may fail to recognize shared libraries
8085 *** as such. This will affect the creation of libtool libraries that
8086 *** depend on shared libraries, but programs linked with such libtool
8087 *** libraries will work regardless of this problem. Nevertheless, you
8088 *** may want to report the problem to your system manager and/or to
8089 *** bug-libtool@gnu.org
8099 MAGIC_CMD="$lt_save_MAGIC_CMD"
8104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8105 if test -n "$MAGIC_CMD"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8107 $as_echo "$MAGIC_CMD" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8123 # Use C for the default configuration in the libtool script
8127 ac_cpp='$CPP $CPPFLAGS'
8128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8133 # Source file extension for C test sources.
8136 # Object file extension for compiled C test sources.
8140 # Code to be used in simple compile tests
8141 lt_simple_compile_test_code="int some_variable = 0;"
8143 # Code to be used in simple link tests
8144 lt_simple_link_test_code='int main(){return(0);}'
8152 # If no C compiler was specified, use CC.
8155 # If no C compiler flags were specified, use CFLAGS.
8156 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8158 # Allow CC to be a program name with arguments.
8161 # Save the default compiler, since it gets overwritten when the other
8162 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8163 compiler_DEFAULT=$CC
8165 # save warnings/boilerplate of simple test code
8166 ac_outfile=conftest.$ac_objext
8167 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8168 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8169 _lt_compiler_boilerplate=`cat conftest.err`
8172 ac_outfile=conftest.$ac_objext
8173 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8174 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8175 _lt_linker_boilerplate=`cat conftest.err`
8180 ## There is no encapsulation within the following macros, do not change
8181 ## the running order or otherwise move them around unless you know exactly
8182 ## what you are doing...
8183 if test -n "$compiler"; then
8185 lt_prog_compiler_no_builtin_flag=
8187 if test "$GCC" = yes; then
8188 case $cc_basename in
8190 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8192 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8196 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8197 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8198 $as_echo_n "(cached) " >&6
8200 lt_cv_prog_compiler_rtti_exceptions=no
8201 ac_outfile=conftest.$ac_objext
8202 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8203 lt_compiler_flag="-fno-rtti -fno-exceptions"
8204 # Insert the option either (1) after the last *FLAGS variable, or
8205 # (2) before a word containing "conftest.", or (3) at the end.
8206 # Note that $ac_compile itself does not contain backslashes and begins
8207 # with a dollar sign (not a hyphen), so the echo should work correctly.
8208 # The option is referenced via a variable to avoid confusing sed.
8209 lt_compile=`echo "$ac_compile" | $SED \
8210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8212 -e 's:$: $lt_compiler_flag:'`
8213 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8214 (eval "$lt_compile" 2>conftest.err)
8216 cat conftest.err >&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 if (exit $ac_status) && test -s "$ac_outfile"; then
8219 # The compiler can only warn and ignore the option if not recognized
8220 # So say no if there are warnings other than the usual output.
8221 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8222 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8223 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8224 lt_cv_prog_compiler_rtti_exceptions=yes
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8231 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8233 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8234 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8246 lt_prog_compiler_wl=
8247 lt_prog_compiler_pic=
8248 lt_prog_compiler_static=
8251 if test "$GCC" = yes; then
8252 lt_prog_compiler_wl='-Wl,'
8253 lt_prog_compiler_static='-static'
8257 # All AIX code is PIC.
8258 if test "$host_cpu" = ia64; then
8259 # AIX 5 now supports IA64 processor
8260 lt_prog_compiler_static='-Bstatic'
8267 # see comment about AmigaOS4 .so support
8268 lt_prog_compiler_pic='-fPIC'
8271 # FIXME: we need at least 68020 code to build shared libraries, but
8272 # adding the `-m68020' flag to GCC prevents building anything better,
8274 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8279 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8280 # PIC is the default for these OSes.
8283 mingw* | cygwin* | pw32* | os2* | cegcc*)
8284 # This hack is so that the source file can tell whether it is being
8285 # built for inclusion in a dll (and should export symbols for example).
8286 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8287 # (--disable-auto-import) libraries
8288 lt_prog_compiler_pic='-DDLL_EXPORT'
8291 darwin* | rhapsody*)
8292 # PIC is the default on this platform
8293 # Common symbols not allowed in MH_DYLIB files
8294 lt_prog_compiler_pic='-fno-common'
8298 # PIC is the default for Haiku.
8299 # The "-static" flag exists, but is broken.
8300 lt_prog_compiler_static=
8304 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8305 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8306 # sets the default TLS model and affects inlining.
8312 lt_prog_compiler_pic='-fPIC'
8318 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8319 # Instead, we relocate shared libraries at runtime.
8323 # Just because we use GCC doesn't mean we suddenly get shared libraries
8324 # on systems that don't support them.
8325 lt_prog_compiler_can_build_shared=no
8330 # QNX uses GNU C++, but need to define -shared option too, otherwise
8332 lt_prog_compiler_pic='-fPIC -shared'
8336 if test -d /usr/nec; then
8337 lt_prog_compiler_pic=-Kconform_pic
8342 lt_prog_compiler_pic='-fPIC'
8346 case $cc_basename in
8347 nvcc*) # Cuda Compiler Driver 2.2
8348 lt_prog_compiler_wl='-Xlinker '
8349 lt_prog_compiler_pic='-Xcompiler -fPIC'
8353 # PORTME Check for flag to pass linker flags through the system compiler.
8356 lt_prog_compiler_wl='-Wl,'
8357 if test "$host_cpu" = ia64; then
8358 # AIX 5 now supports IA64 processor
8359 lt_prog_compiler_static='-Bstatic'
8361 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8365 mingw* | cygwin* | pw32* | os2* | cegcc*)
8366 # This hack is so that the source file can tell whether it is being
8367 # built for inclusion in a dll (and should export symbols for example).
8368 lt_prog_compiler_pic='-DDLL_EXPORT'
8371 hpux9* | hpux10* | hpux11*)
8372 lt_prog_compiler_wl='-Wl,'
8373 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8380 lt_prog_compiler_pic='+Z'
8383 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8384 lt_prog_compiler_static='${wl}-a ${wl}archive'
8387 irix5* | irix6* | nonstopux*)
8388 lt_prog_compiler_wl='-Wl,'
8389 # PIC (with -KPIC) is the default.
8390 lt_prog_compiler_static='-non_shared'
8393 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8394 case $cc_basename in
8395 # old Intel for x86_64 which still supported -KPIC.
8397 lt_prog_compiler_wl='-Wl,'
8398 lt_prog_compiler_pic='-KPIC'
8399 lt_prog_compiler_static='-static'
8401 # icc used to be incompatible with GCC.
8402 # ICC 10 doesn't accept -KPIC any more.
8404 lt_prog_compiler_wl='-Wl,'
8405 lt_prog_compiler_pic='-fPIC'
8406 lt_prog_compiler_static='-static'
8408 # Lahey Fortran 8.1.
8410 lt_prog_compiler_wl='-Wl,'
8411 lt_prog_compiler_pic='--shared'
8412 lt_prog_compiler_static='--static'
8415 # NAG Fortran compiler
8416 lt_prog_compiler_wl='-Wl,-Wl,,'
8417 lt_prog_compiler_pic='-PIC'
8418 lt_prog_compiler_static='-Bstatic'
8420 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8421 # Portland Group compilers (*not* the Pentium gcc compiler,
8422 # which looks to be a dead project)
8423 lt_prog_compiler_wl='-Wl,'
8424 lt_prog_compiler_pic='-fpic'
8425 lt_prog_compiler_static='-Bstatic'
8428 lt_prog_compiler_wl='-Wl,'
8429 # All Alpha code is PIC.
8430 lt_prog_compiler_static='-non_shared'
8432 xl* | bgxl* | bgf* | mpixl*)
8433 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8434 lt_prog_compiler_wl='-Wl,'
8435 lt_prog_compiler_pic='-qpic'
8436 lt_prog_compiler_static='-qstaticlink'
8439 case `$CC -V 2>&1 | sed 5q` in
8440 *Sun\ F* | *Sun*Fortran*)
8441 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8442 lt_prog_compiler_pic='-KPIC'
8443 lt_prog_compiler_static='-Bstatic'
8444 lt_prog_compiler_wl=''
8448 lt_prog_compiler_pic='-KPIC'
8449 lt_prog_compiler_static='-Bstatic'
8450 lt_prog_compiler_wl='-Wl,'
8458 lt_prog_compiler_pic='-KPIC'
8459 lt_prog_compiler_static='-Bstatic'
8463 # QNX uses GNU C++, but need to define -shared option too, otherwise
8465 lt_prog_compiler_pic='-fPIC -shared'
8468 osf3* | osf4* | osf5*)
8469 lt_prog_compiler_wl='-Wl,'
8470 # All OSF/1 code is PIC.
8471 lt_prog_compiler_static='-non_shared'
8475 lt_prog_compiler_static='-non_shared'
8479 lt_prog_compiler_pic='-KPIC'
8480 lt_prog_compiler_static='-Bstatic'
8481 case $cc_basename in
8482 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8483 lt_prog_compiler_wl='-Qoption ld ';;
8485 lt_prog_compiler_wl='-Wl,';;
8490 lt_prog_compiler_wl='-Qoption ld '
8491 lt_prog_compiler_pic='-PIC'
8492 lt_prog_compiler_static='-Bstatic'
8495 sysv4 | sysv4.2uw2* | sysv4.3*)
8496 lt_prog_compiler_wl='-Wl,'
8497 lt_prog_compiler_pic='-KPIC'
8498 lt_prog_compiler_static='-Bstatic'
8502 if test -d /usr/nec ;then
8503 lt_prog_compiler_pic='-Kconform_pic'
8504 lt_prog_compiler_static='-Bstatic'
8508 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8509 lt_prog_compiler_wl='-Wl,'
8510 lt_prog_compiler_pic='-KPIC'
8511 lt_prog_compiler_static='-Bstatic'
8515 lt_prog_compiler_wl='-Wl,'
8516 lt_prog_compiler_can_build_shared=no
8520 lt_prog_compiler_pic='-pic'
8521 lt_prog_compiler_static='-Bstatic'
8525 lt_prog_compiler_can_build_shared=no
8531 # For platforms which do not support PIC, -DPIC is meaningless:
8533 lt_prog_compiler_pic=
8536 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8541 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8542 if test "${lt_cv_prog_compiler_pic+set}" = set; then :
8543 $as_echo_n "(cached) " >&6
8545 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8548 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8549 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8552 # Check to make sure the PIC flag actually works.
8554 if test -n "$lt_prog_compiler_pic"; then
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8556 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8557 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8558 $as_echo_n "(cached) " >&6
8560 lt_cv_prog_compiler_pic_works=no
8561 ac_outfile=conftest.$ac_objext
8562 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8563 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8564 # Insert the option either (1) after the last *FLAGS variable, or
8565 # (2) before a word containing "conftest.", or (3) at the end.
8566 # Note that $ac_compile itself does not contain backslashes and begins
8567 # with a dollar sign (not a hyphen), so the echo should work correctly.
8568 # The option is referenced via a variable to avoid confusing sed.
8569 lt_compile=`echo "$ac_compile" | $SED \
8570 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8572 -e 's:$: $lt_compiler_flag:'`
8573 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8574 (eval "$lt_compile" 2>conftest.err)
8576 cat conftest.err >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 if (exit $ac_status) && test -s "$ac_outfile"; then
8579 # The compiler can only warn and ignore the option if not recognized
8580 # So say no if there are warnings other than the usual output.
8581 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8583 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8584 lt_cv_prog_compiler_pic_works=yes
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8591 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8593 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8594 case $lt_prog_compiler_pic in
8596 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8599 lt_prog_compiler_pic=
8600 lt_prog_compiler_can_build_shared=no
8616 # Check to make sure the static flag actually works.
8618 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8620 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8621 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8622 $as_echo_n "(cached) " >&6
8624 lt_cv_prog_compiler_static_works=no
8625 save_LDFLAGS="$LDFLAGS"
8626 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8627 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8628 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8629 # The linker can only warn and ignore the option if not recognized
8630 # So say no if there are warnings
8631 if test -s conftest.err; then
8632 # Append any errors to the config.log.
8633 cat conftest.err 1>&5
8634 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8635 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8636 if diff conftest.exp conftest.er2 >/dev/null; then
8637 lt_cv_prog_compiler_static_works=yes
8640 lt_cv_prog_compiler_static_works=yes
8644 LDFLAGS="$save_LDFLAGS"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8648 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8650 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8653 lt_prog_compiler_static=
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8663 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8664 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8665 $as_echo_n "(cached) " >&6
8667 lt_cv_prog_compiler_c_o=no
8668 $RM -r conftest 2>/dev/null
8672 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8674 lt_compiler_flag="-o out/conftest2.$ac_objext"
8675 # Insert the option either (1) after the last *FLAGS variable, or
8676 # (2) before a word containing "conftest.", or (3) at the end.
8677 # Note that $ac_compile itself does not contain backslashes and begins
8678 # with a dollar sign (not a hyphen), so the echo should work correctly.
8679 lt_compile=`echo "$ac_compile" | $SED \
8680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8682 -e 's:$: $lt_compiler_flag:'`
8683 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8684 (eval "$lt_compile" 2>out/conftest.err)
8686 cat out/conftest.err >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8690 # The compiler can only warn and ignore the option if not recognized
8691 # So say no if there are warnings
8692 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8693 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8694 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8695 lt_cv_prog_compiler_c_o=yes
8700 # SGI C++ compiler will create directory out/ii_files/ for
8701 # template instantiation
8702 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8703 $RM out/* && rmdir out
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8710 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8718 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8719 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8720 $as_echo_n "(cached) " >&6
8722 lt_cv_prog_compiler_c_o=no
8723 $RM -r conftest 2>/dev/null
8727 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729 lt_compiler_flag="-o out/conftest2.$ac_objext"
8730 # Insert the option either (1) after the last *FLAGS variable, or
8731 # (2) before a word containing "conftest.", or (3) at the end.
8732 # Note that $ac_compile itself does not contain backslashes and begins
8733 # with a dollar sign (not a hyphen), so the echo should work correctly.
8734 lt_compile=`echo "$ac_compile" | $SED \
8735 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8736 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8737 -e 's:$: $lt_compiler_flag:'`
8738 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8739 (eval "$lt_compile" 2>out/conftest.err)
8741 cat out/conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8745 # The compiler can only warn and ignore the option if not recognized
8746 # So say no if there are warnings
8747 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8748 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8749 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8750 lt_cv_prog_compiler_c_o=yes
8755 # SGI C++ compiler will create directory out/ii_files/ for
8756 # template instantiation
8757 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8758 $RM out/* && rmdir out
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8765 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8770 hard_links="nottested"
8771 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8772 # do not overwrite the value of need_locks provided by the user
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8774 $as_echo_n "checking if we can lock with hard links... " >&6; }
8777 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8779 ln conftest.a conftest.b 2>&5 || hard_links=no
8780 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8782 $as_echo "$hard_links" >&6; }
8783 if test "$hard_links" = no; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8785 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8798 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8801 allow_undefined_flag=
8802 always_export_symbols=no
8804 archive_expsym_cmds=
8805 compiler_needs_object=no
8806 enable_shared_with_static_runtimes=no
8807 export_dynamic_flag_spec=
8808 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8809 hardcode_automatic=no
8811 hardcode_direct_absolute=no
8812 hardcode_libdir_flag_spec=
8813 hardcode_libdir_flag_spec_ld=
8814 hardcode_libdir_separator=
8816 hardcode_shlibpath_var=unsupported
8818 link_all_deplibs=unknown
8821 old_archive_from_new_cmds=
8822 old_archive_from_expsyms_cmds=
8823 thread_safe_flag_spec=
8824 whole_archive_flag_spec=
8825 # include_expsyms should be a list of space-separated symbols to be *always*
8826 # included in the symbol list
8828 # exclude_expsyms can be an extended regexp of symbols to exclude
8829 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8830 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8831 # as well as any symbol that contains `d'.
8832 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8833 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8834 # platforms (ab)use it in PIC code, but their linkers get confused if
8835 # the symbol is explicitly referenced. Since portable code cannot
8836 # rely on this symbol name, it's probably fine to never include it in
8837 # preloaded symbol tables.
8838 # Exclude shared library initialization/finalization symbols.
8839 extract_expsyms_cmds=
8842 cygwin* | mingw* | pw32* | cegcc*)
8843 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8844 # When not using gcc, we currently assume that we are using
8845 # Microsoft Visual C++.
8846 if test "$GCC" != yes; then
8851 # we just hope/assume this is gcc and not c89 (= MSVC++)
8861 # On some targets, GNU ld is compatible enough with the native linker
8862 # that we're better off using the native interface for both.
8863 lt_use_gnu_ld_interface=no
8864 if test "$with_gnu_ld" = yes; then
8867 # The AIX port of GNU ld has always aspired to compatibility
8868 # with the native linker. However, as the warning in the GNU ld
8869 # block says, versions before 2.19.5* couldn't really create working
8870 # shared libraries, regardless of the interface used.
8871 case `$LD -v 2>&1` in
8872 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8873 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8874 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8876 lt_use_gnu_ld_interface=yes
8881 lt_use_gnu_ld_interface=yes
8886 if test "$lt_use_gnu_ld_interface" = yes; then
8887 # If archive_cmds runs LD, not CC, wlarc should be empty
8890 # Set some defaults for GNU ld with shared library support. These
8891 # are reset later if shared libraries are not supported. Putting them
8892 # here allows them to be overridden if necessary.
8893 runpath_var=LD_RUN_PATH
8894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8895 export_dynamic_flag_spec='${wl}--export-dynamic'
8896 # ancient GNU ld didn't support --whole-archive et. al.
8897 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8898 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8900 whole_archive_flag_spec=
8902 supports_anon_versioning=no
8903 case `$LD -v 2>&1` in
8904 *GNU\ gold*) supports_anon_versioning=yes ;;
8905 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8906 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8907 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8908 *\ 2.11.*) ;; # other 2.11 versions
8909 *) supports_anon_versioning=yes ;;
8912 # See if GNU ld supports shared libraries.
8915 # On AIX/PPC, the GNU linker is very broken
8916 if test "$host_cpu" != ia64; then
8920 *** Warning: the GNU linker, at least up to release 2.19, is reported
8921 *** to be unable to reliably create shared libraries on AIX.
8922 *** Therefore, libtool is disabling shared libraries support. If you
8923 *** really care for shared libraries, you may want to install binutils
8924 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8925 *** You will then need to restart the configuration process.
8934 # see comment about AmigaOS4 .so support
8935 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936 archive_expsym_cmds=''
8939 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)'
8940 hardcode_libdir_flag_spec='-L$libdir'
8941 hardcode_minus_L=yes
8947 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8948 allow_undefined_flag=unsupported
8949 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8950 # support --undefined. This deserves some investigation. FIXME
8951 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957 cygwin* | mingw* | pw32* | cegcc*)
8958 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8959 # as there is no search path for DLLs.
8960 hardcode_libdir_flag_spec='-L$libdir'
8961 export_dynamic_flag_spec='${wl}--export-all-symbols'
8962 allow_undefined_flag=unsupported
8963 always_export_symbols=no
8964 enable_shared_with_static_runtimes=yes
8965 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'
8966 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8968 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8970 # If the export-symbols file already is a .def file (1st line
8971 # is EXPORTS), use it as is; otherwise, prepend...
8972 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8973 cp $export_symbols $output_objdir/$soname.def;
8975 echo EXPORTS > $output_objdir/$soname.def;
8976 cat $export_symbols >> $output_objdir/$soname.def;
8978 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8985 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 link_all_deplibs=yes
8991 hardcode_shlibpath_var=no
8992 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8993 export_dynamic_flag_spec='${wl}-E'
8994 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8995 # Instead, shared libraries are loaded at an image base (0x10000000 by
8996 # default) and relocated if they conflict, which is a slow very memory
8997 # consuming and fragmenting process. To avoid this, we pick a random,
8998 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8999 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9000 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9001 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'
9004 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9006 if test "$host_os" = linux-dietlibc; then
9007 case $cc_basename in
9008 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9011 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9012 && test "$tmp_diet" = no
9014 tmp_addflag=' $pic_flag'
9015 tmp_sharedflag='-shared'
9016 case $cc_basename,$host_cpu in
9017 pgcc*) # Portland Group C compiler
9018 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'
9019 tmp_addflag=' $pic_flag'
9021 pgf77* | pgf90* | pgf95* | pgfortran*)
9022 # Portland Group f77 and f90 compilers
9023 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'
9024 tmp_addflag=' $pic_flag -Mnomain' ;;
9025 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9026 tmp_addflag=' -i_dynamic' ;;
9027 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9028 tmp_addflag=' -i_dynamic -nofor_main' ;;
9029 ifc* | ifort*) # Intel Fortran compiler
9030 tmp_addflag=' -nofor_main' ;;
9031 lf95*) # Lahey Fortran 8.1
9032 whole_archive_flag_spec=
9033 tmp_sharedflag='--shared' ;;
9034 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9035 tmp_sharedflag='-qmkshrobj'
9037 nvcc*) # Cuda Compiler Driver 2.2
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 compiler_needs_object=yes
9042 case `$CC -V 2>&1 | sed 5q` in
9043 *Sun\ C*) # Sun C 5.9
9044 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'
9045 compiler_needs_object=yes
9046 tmp_sharedflag='-G' ;;
9047 *Sun\ F*) # Sun Fortran 8.3
9048 tmp_sharedflag='-G' ;;
9050 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9052 if test "x$supports_anon_versioning" = xyes; then
9053 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9054 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9055 echo "local: *; };" >> $output_objdir/$libname.ver~
9056 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9059 case $cc_basename in
9060 xlf* | bgf* | bgxlf* | mpixlf*)
9061 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9062 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9063 hardcode_libdir_flag_spec=
9064 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9065 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9066 if test "x$supports_anon_versioning" = xyes; then
9067 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9068 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9069 echo "local: *; };" >> $output_objdir/$libname.ver~
9070 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9080 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9081 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9084 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9085 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9090 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9094 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9095 *** create shared libraries on Solaris systems. Therefore, libtool
9096 *** is disabling shared libraries support. We urge you to upgrade GNU
9097 *** binutils to release 2.9.1 or newer. Another option is to modify
9098 *** your PATH or compiler configuration so that the native linker is
9099 *** used, and then restart.
9102 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9103 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9104 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9110 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9111 case `$LD -v 2>&1` in
9112 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9116 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9117 *** reliably create shared libraries on SCO systems. Therefore, libtool
9118 *** is disabling shared libraries support. We urge you to upgrade GNU
9119 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9120 *** your PATH or compiler configuration so that the native linker is
9121 *** used, and then restart.
9126 # For security reasons, it is highly recommended that you always
9127 # use absolute paths for naming shared libraries, and exclude the
9128 # DT_RUNPATH tag from executables and libraries. But doing so
9129 # requires that you compile everything twice, which is a pain.
9130 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9131 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9133 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9142 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9145 hardcode_shlibpath_var=no
9149 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9150 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9158 if test "$ld_shlibs" = no; then
9160 hardcode_libdir_flag_spec=
9161 export_dynamic_flag_spec=
9162 whole_archive_flag_spec=
9165 # PORTME fill in a description of your system's linker (not GNU ld)
9168 allow_undefined_flag=unsupported
9169 always_export_symbols=yes
9170 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'
9171 # Note: this linker hardcodes the directories in LIBPATH if there
9172 # are no directories specified by -L.
9173 hardcode_minus_L=yes
9174 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9175 # Neither direct hardcoding nor static linking is supported with a
9177 hardcode_direct=unsupported
9182 if test "$host_cpu" = ia64; then
9183 # On IA64, the linker does run time linking by default, so we don't
9184 # have to do anything special.
9185 aix_use_runtimelinking=no
9186 exp_sym_flag='-Bexport'
9189 # If we're using GNU nm, then we don't want the "-C" option.
9190 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9191 # Also, AIX nm treats weak defined symbols like other global
9192 # defined symbols, whereas GNU nm marks them as "W".
9193 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9194 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'
9196 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'
9198 aix_use_runtimelinking=no
9200 # Test if we are trying to use run time linking or normal
9201 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9202 # need to do runtime linking.
9203 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9204 for ld_flag in $LDFLAGS; do
9205 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9206 aix_use_runtimelinking=yes
9213 exp_sym_flag='-bexport'
9214 no_entry_flag='-bnoentry'
9217 # When large executables or shared objects are built, AIX ld can
9218 # have problems creating the table of contents. If linking a library
9219 # or program results in "error TOC overflow" add -mminimal-toc to
9220 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9221 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9225 hardcode_direct_absolute=yes
9226 hardcode_libdir_separator=':'
9227 link_all_deplibs=yes
9228 file_list_spec='${wl}-f,'
9230 if test "$GCC" = yes; then
9231 case $host_os in aix4.[012]|aix4.[012].*)
9232 # We only want to do this on AIX 4.2 and lower, the check
9233 # below for broken collect2 doesn't work under 4.3+
9234 collect2name=`${CC} -print-prog-name=collect2`
9235 if test -f "$collect2name" &&
9236 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9238 # We have reworked collect2
9241 # We have old collect2
9242 hardcode_direct=unsupported
9243 # It fails to find uninstalled libraries when the uninstalled
9244 # path is not listed in the libpath. Setting hardcode_minus_L
9245 # to unsupported forces relinking
9246 hardcode_minus_L=yes
9247 hardcode_libdir_flag_spec='-L$libdir'
9248 hardcode_libdir_separator=
9252 shared_flag='-shared'
9253 if test "$aix_use_runtimelinking" = yes; then
9254 shared_flag="$shared_flag "'${wl}-G'
9258 if test "$host_cpu" = ia64; then
9259 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9260 # chokes on -Wl,-G. The following line is correct:
9263 if test "$aix_use_runtimelinking" = yes; then
9264 shared_flag='${wl}-G'
9266 shared_flag='${wl}-bM:SRE'
9271 export_dynamic_flag_spec='${wl}-bexpall'
9272 # It seems that -bexpall does not export symbols beginning with
9273 # underscore (_), so it is better to generate a list of symbols to export.
9274 always_export_symbols=yes
9275 if test "$aix_use_runtimelinking" = yes; then
9276 # Warning - without using the other runtime loading flags (-brtl),
9277 # -berok will link without error, but may produce a broken library.
9278 allow_undefined_flag='-berok'
9279 # Determine the default libpath from the value encoded in an
9281 if test "${lt_cv_aix_libpath+set}" = set; then
9282 aix_libpath=$lt_cv_aix_libpath
9284 if test "${lt_cv_aix_libpath_+set}" = set; then :
9285 $as_echo_n "(cached) " >&6
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9298 if ac_fn_c_try_link "$LINENO"; then :
9300 lt_aix_libpath_sed='
9301 /Import File Strings/,/^$/ {
9303 s/^0 *\([^ ]*\) *$/\1/
9307 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9308 # Check for a 64-bit object if we didn't find anything.
9309 if test -z "$lt_cv_aix_libpath_"; then
9310 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 if test -z "$lt_cv_aix_libpath_"; then
9316 lt_cv_aix_libpath_="/usr/lib:/lib"
9321 aix_libpath=$lt_cv_aix_libpath_
9324 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9325 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"
9327 if test "$host_cpu" = ia64; then
9328 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9329 allow_undefined_flag="-z nodefs"
9330 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"
9332 # Determine the default libpath from the value encoded in an
9334 if test "${lt_cv_aix_libpath+set}" = set; then
9335 aix_libpath=$lt_cv_aix_libpath
9337 if test "${lt_cv_aix_libpath_+set}" = set; then :
9338 $as_echo_n "(cached) " >&6
9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341 /* end confdefs.h. */
9351 if ac_fn_c_try_link "$LINENO"; then :
9353 lt_aix_libpath_sed='
9354 /Import File Strings/,/^$/ {
9356 s/^0 *\([^ ]*\) *$/\1/
9360 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9361 # Check for a 64-bit object if we didn't find anything.
9362 if test -z "$lt_cv_aix_libpath_"; then
9363 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 if test -z "$lt_cv_aix_libpath_"; then
9369 lt_cv_aix_libpath_="/usr/lib:/lib"
9374 aix_libpath=$lt_cv_aix_libpath_
9377 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9378 # Warning - without using the other run time loading flags,
9379 # -berok will link without error, but may produce a broken library.
9380 no_undefined_flag=' ${wl}-bernotok'
9381 allow_undefined_flag=' ${wl}-berok'
9382 if test "$with_gnu_ld" = yes; then
9383 # We only use this code for GNU lds that support --whole-archive.
9384 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9386 # Exported symbols can be pulled into shared objects from archives
9387 whole_archive_flag_spec='$convenience'
9389 archive_cmds_need_lc=yes
9390 # This is similar to how AIX traditionally builds its shared libraries.
9391 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'
9399 # see comment about AmigaOS4 .so support
9400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 archive_expsym_cmds=''
9404 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)'
9405 hardcode_libdir_flag_spec='-L$libdir'
9406 hardcode_minus_L=yes
9412 export_dynamic_flag_spec=-rdynamic
9415 cygwin* | mingw* | pw32* | cegcc*)
9416 # When not using gcc, we currently assume that we are using
9417 # Microsoft Visual C++.
9418 # hardcode_libdir_flag_spec is actually meaningless, as there is
9419 # no search path for DLLs.
9420 case $cc_basename in
9423 hardcode_libdir_flag_spec=' '
9424 allow_undefined_flag=unsupported
9425 always_export_symbols=yes
9427 # Tell ltmain to make .lib files, not .a files.
9429 # Tell ltmain to make .dll files, not .so files.
9431 # FIXME: Setting linknames here is a bad hack.
9432 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9433 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9434 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9436 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9438 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9440 # The linker will not automatically build a static lib if we build a DLL.
9441 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9442 enable_shared_with_static_runtimes=yes
9443 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9445 old_postinstall_cmds='chmod 644 $oldlib'
9446 postlink_cmds='lt_outputfile="@OUTPUT@"~
9447 lt_tool_outputfile="@TOOL_OUTPUT@"~
9448 case $lt_outputfile in
9451 lt_outputfile="$lt_outputfile.exe"
9452 lt_tool_outputfile="$lt_tool_outputfile.exe"
9455 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9456 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9457 $RM "$lt_outputfile.manifest";
9461 # Assume MSVC wrapper
9462 hardcode_libdir_flag_spec=' '
9463 allow_undefined_flag=unsupported
9464 # Tell ltmain to make .lib files, not .a files.
9466 # Tell ltmain to make .dll files, not .so files.
9468 # FIXME: Setting linknames here is a bad hack.
9469 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9470 # The linker will automatically build a .lib file if we build a DLL.
9471 old_archive_from_new_cmds='true'
9472 # FIXME: Should let the user specify the lib program.
9473 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9474 enable_shared_with_static_runtimes=yes
9479 darwin* | rhapsody*)
9482 archive_cmds_need_lc=no
9484 hardcode_automatic=yes
9485 hardcode_shlibpath_var=unsupported
9486 if test "$lt_cv_ld_force_load" = "yes"; then
9487 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\"`'
9489 whole_archive_flag_spec=''
9491 link_all_deplibs=yes
9492 allow_undefined_flag="$_lt_dar_allow_undefined"
9493 case $cc_basename in
9494 ifort*) _lt_dar_can_shared=yes ;;
9495 *) _lt_dar_can_shared=$GCC ;;
9497 if test "$_lt_dar_can_shared" = "yes"; then
9498 output_verbose_link_cmd=func_echo_all
9499 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9500 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9501 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}"
9502 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}"
9511 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_shlibpath_var=no
9520 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9521 # support. Future versions do this automatically, but an explicit c++rt0.o
9522 # does not break anything, and helps significantly (at the cost of a little
9525 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9526 hardcode_libdir_flag_spec='-R$libdir'
9528 hardcode_shlibpath_var=no
9531 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9533 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9535 hardcode_minus_L=yes
9536 hardcode_shlibpath_var=no
9539 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9540 freebsd* | dragonfly*)
9541 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9542 hardcode_libdir_flag_spec='-R$libdir'
9544 hardcode_shlibpath_var=no
9548 if test "$GCC" = yes; then
9549 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'
9551 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'
9553 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9554 hardcode_libdir_separator=:
9557 # hardcode_minus_L: Not really in the search PATH,
9558 # but as the default location of the library.
9559 hardcode_minus_L=yes
9560 export_dynamic_flag_spec='${wl}-E'
9564 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9565 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9567 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9569 if test "$with_gnu_ld" = no; then
9570 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9571 hardcode_libdir_flag_spec_ld='+b $libdir'
9572 hardcode_libdir_separator=:
9574 hardcode_direct_absolute=yes
9575 export_dynamic_flag_spec='${wl}-E'
9576 # hardcode_minus_L: Not really in the search PATH,
9577 # but as the default location of the library.
9578 hardcode_minus_L=yes
9583 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9586 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9601 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9605 # Older versions of the 11.00 compiler do not understand -b yet
9606 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9608 $as_echo_n "checking if $CC understands -b... " >&6; }
9609 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9610 $as_echo_n "(cached) " >&6
9612 lt_cv_prog_compiler__b=no
9613 save_LDFLAGS="$LDFLAGS"
9614 LDFLAGS="$LDFLAGS -b"
9615 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9616 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9617 # The linker can only warn and ignore the option if not recognized
9618 # So say no if there are warnings
9619 if test -s conftest.err; then
9620 # Append any errors to the config.log.
9621 cat conftest.err 1>&5
9622 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9623 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9624 if diff conftest.exp conftest.er2 >/dev/null; then
9625 lt_cv_prog_compiler__b=yes
9628 lt_cv_prog_compiler__b=yes
9632 LDFLAGS="$save_LDFLAGS"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9636 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9638 if test x"$lt_cv_prog_compiler__b" = xyes; then
9639 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9647 if test "$with_gnu_ld" = no; then
9648 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9649 hardcode_libdir_separator=:
9654 hardcode_shlibpath_var=no
9658 hardcode_direct_absolute=yes
9659 export_dynamic_flag_spec='${wl}-E'
9661 # hardcode_minus_L: Not really in the search PATH,
9662 # but as the default location of the library.
9663 hardcode_minus_L=yes
9669 irix5* | irix6* | nonstopux*)
9670 if test "$GCC" = yes; then
9671 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'
9672 # Try to use the -exported_symbol ld option, if it does not
9673 # work, assume that -exports_file does not work either and
9674 # implicitly export all symbols.
9675 # This should be the same for all languages, so no per-tag cache variable.
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9677 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9678 if test "${lt_cv_irix_exported_symbol+set}" = set; then :
9679 $as_echo_n "(cached) " >&6
9681 save_LDFLAGS="$LDFLAGS"
9682 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9685 int foo (void) { return 0; }
9687 if ac_fn_c_try_link "$LINENO"; then :
9688 lt_cv_irix_exported_symbol=yes
9690 lt_cv_irix_exported_symbol=no
9692 rm -f core conftest.err conftest.$ac_objext \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LDFLAGS="$save_LDFLAGS"
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9697 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9698 if test "$lt_cv_irix_exported_symbol" = yes; then
9699 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'
9702 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'
9703 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'
9705 archive_cmds_need_lc='no'
9706 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9707 hardcode_libdir_separator=:
9709 link_all_deplibs=yes
9713 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9714 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9716 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9718 hardcode_libdir_flag_spec='-R$libdir'
9720 hardcode_shlibpath_var=no
9724 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727 hardcode_libdir_separator=:
9728 hardcode_shlibpath_var=no
9735 if test -f /usr/libexec/ld.so; then
9737 hardcode_shlibpath_var=no
9738 hardcode_direct_absolute=yes
9739 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9740 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9741 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9742 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9743 export_dynamic_flag_spec='${wl}-E'
9746 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9748 hardcode_libdir_flag_spec='-R$libdir'
9751 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9752 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9762 hardcode_libdir_flag_spec='-L$libdir'
9763 hardcode_minus_L=yes
9764 allow_undefined_flag=unsupported
9765 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'
9766 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9770 if test "$GCC" = yes; then
9771 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9772 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'
9774 allow_undefined_flag=' -expect_unresolved \*'
9775 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'
9777 archive_cmds_need_lc='no'
9778 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9779 hardcode_libdir_separator=:
9782 osf4* | osf5*) # as osf3* with the addition of -msym flag
9783 if test "$GCC" = yes; then
9784 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9785 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'
9786 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9788 allow_undefined_flag=' -expect_unresolved \*'
9789 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'
9790 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~
9791 $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'
9793 # Both c and cxx compiler support -rpath directly
9794 hardcode_libdir_flag_spec='-rpath $libdir'
9796 archive_cmds_need_lc='no'
9797 hardcode_libdir_separator=:
9801 no_undefined_flag=' -z defs'
9802 if test "$GCC" = yes; then
9804 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9805 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9806 $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'
9808 case `$CC -V 2>&1` in
9811 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9812 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9813 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9817 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9819 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_shlibpath_var=no
9826 solaris2.[0-5] | solaris2.[0-5].*) ;;
9828 # The compiler driver will combine and reorder linker options,
9829 # but understands `-z linker_flag'. GCC discards it without `$wl',
9830 # but is careful enough not to reorder.
9831 # Supported since Solaris 2.6 (maybe 2.5.1?)
9832 if test "$GCC" = yes; then
9833 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9835 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9839 link_all_deplibs=yes
9843 if test "x$host_vendor" = xsequent; then
9844 # Use $CC to link under sequent, because it throws in some extra .o
9845 # files that make .init and .fini sections work.
9846 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_libdir_flag_spec='-L$libdir'
9852 hardcode_minus_L=yes
9853 hardcode_shlibpath_var=no
9857 case $host_vendor in
9859 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9860 hardcode_direct=yes # is this really true???
9863 ## LD is ld it makes a PLAMLIB
9864 ## CC just makes a GrossModule.
9865 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9866 reload_cmds='$CC -r -o $output$reload_objs'
9870 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9874 runpath_var='LD_RUN_PATH'
9875 hardcode_shlibpath_var=no
9879 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_shlibpath_var=no
9881 export_dynamic_flag_spec='-Bexport'
9885 if test -d /usr/nec; then
9886 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_shlibpath_var=no
9888 runpath_var=LD_RUN_PATH
9889 hardcode_runpath_var=yes
9894 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9895 no_undefined_flag='${wl}-z,text'
9896 archive_cmds_need_lc=no
9897 hardcode_shlibpath_var=no
9898 runpath_var='LD_RUN_PATH'
9900 if test "$GCC" = yes; then
9901 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909 sysv5* | sco3.2v5* | sco5v6*)
9910 # Note: We can NOT use -z defs as we might desire, because we do not
9911 # link with -lc, and that would cause any symbols used from libc to
9912 # always be unresolved, which means just about no library would
9913 # ever link correctly. If we're not using GNU ld we use -z text
9914 # though, which does catch some bad symbols but isn't as heavy-handed
9916 no_undefined_flag='${wl}-z,text'
9917 allow_undefined_flag='${wl}-z,nodefs'
9918 archive_cmds_need_lc=no
9919 hardcode_shlibpath_var=no
9920 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9921 hardcode_libdir_separator=':'
9922 link_all_deplibs=yes
9923 export_dynamic_flag_spec='${wl}-Bexport'
9924 runpath_var='LD_RUN_PATH'
9926 if test "$GCC" = yes; then
9927 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_libdir_flag_spec='-L$libdir'
9938 hardcode_shlibpath_var=no
9946 if test x$host_vendor = xsni; then
9948 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9949 export_dynamic_flag_spec='${wl}-Blargedynsym'
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9956 $as_echo "$ld_shlibs" >&6; }
9957 test "$ld_shlibs" = no && can_build_shared=no
9959 with_gnu_ld=$with_gnu_ld
9976 # Do we need to explicitly link libc?
9978 case "x$archive_cmds_need_lc" in
9980 # Assume -lc should be added
9981 archive_cmds_need_lc=yes
9983 if test "$enable_shared" = yes && test "$GCC" = yes; then
9984 case $archive_cmds in
9986 # FIXME: we may have to deal with multi-command sequences.
9989 # Test whether the compiler implicitly links with -lc since on some
9990 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9991 # to ld, don't add -lc before -lgcc.
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9993 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9994 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9995 $as_echo_n "(cached) " >&6
9998 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10001 (eval $ac_compile) 2>&5
10003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10004 test $ac_status = 0; } 2>conftest.err; then
10007 libobjs=conftest.$ac_objext
10009 wl=$lt_prog_compiler_wl
10010 pic_flag=$lt_prog_compiler_pic
10016 lt_save_allow_undefined_flag=$allow_undefined_flag
10017 allow_undefined_flag=
10018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10019 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10022 test $ac_status = 0; }
10024 lt_cv_archive_cmds_need_lc=no
10026 lt_cv_archive_cmds_need_lc=yes
10028 allow_undefined_flag=$lt_save_allow_undefined_flag
10030 cat conftest.err 1>&5
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10036 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10037 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10201 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10203 if test "$GCC" = yes; then
10205 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10206 *) lt_awk_arg="/^libraries:/" ;;
10209 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10210 *) lt_sed_strip_eq="s,=/,/,g" ;;
10212 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10213 case $lt_search_path_spec in
10215 # if the path contains ";" then we assume it to be the separator
10216 # otherwise default to the standard path separator (i.e. ":") - it is
10217 # assumed that no part of a normal pathname contains ";" but that should
10218 # okay in the real world where ";" in dirpaths is itself problematic.
10219 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10222 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10225 # Ok, now we have the path, separated by spaces, we can step through it
10226 # and add multilib dir if necessary.
10227 lt_tmp_lt_search_path_spec=
10228 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10229 for lt_sys_path in $lt_search_path_spec; do
10230 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10231 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10233 test -d "$lt_sys_path" && \
10234 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10237 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10238 BEGIN {RS=" "; FS="/|\n";} {
10241 for (lt_i = NF; lt_i > 0; lt_i--) {
10242 if ($lt_i != "" && $lt_i != ".") {
10243 if ($lt_i == "..") {
10246 if (lt_count == 0) {
10247 lt_foo="/" $lt_i lt_foo;
10254 if (lt_foo != "") { lt_freq[lt_foo]++; }
10255 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10257 # AWK program above erroneously prepends '/' to C:/dos/paths
10260 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10261 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10263 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10265 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10267 library_names_spec=
10268 libname_spec='lib$name'
10272 postuninstall_cmds=
10276 shlibpath_overrides_runpath=unknown
10278 dynamic_linker="$host_os ld.so"
10279 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10280 need_lib_prefix=unknown
10281 hardcode_into_libs=no
10283 # when you set need_version to no, make sure it does not cause -set_version
10284 # flags to be left without arguments
10285 need_version=unknown
10290 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10291 shlibpath_var=LIBPATH
10293 # AIX 3 has no versioning support, so we append a major version to the name.
10294 soname_spec='${libname}${release}${shared_ext}$major'
10301 hardcode_into_libs=yes
10302 if test "$host_cpu" = ia64; then
10303 # AIX 5 supports IA64
10304 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10305 shlibpath_var=LD_LIBRARY_PATH
10307 # With GCC up to 2.95.x, collect2 would create an import file
10308 # for dependence libraries. The import file would start with
10309 # the line `#! .'. This would cause the generated library to
10310 # depend on `.', always an invalid library. This was fixed in
10311 # development snapshots of GCC prior to 3.0.
10313 aix4 | aix4.[01] | aix4.[01].*)
10314 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10316 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10319 can_build_shared=no
10323 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10324 # soname into executable. Probably we can add versioning support to
10325 # collect2, so additional links can be useful in future.
10326 if test "$aix_use_runtimelinking" = yes; then
10327 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10328 # instead of lib<name>.a to let people know that these are not
10329 # typical AIX shared libraries.
10330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332 # We preserve .a as extension for shared libraries through AIX4.2
10333 # and later when we are not doing run time linking.
10334 library_names_spec='${libname}${release}.a $libname.a'
10335 soname_spec='${libname}${release}${shared_ext}$major'
10337 shlibpath_var=LIBPATH
10344 # Since July 2007 AmigaOS4 officially supports .so libraries.
10345 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10349 library_names_spec='$libname.ixlibrary $libname.a'
10350 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10351 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'
10357 library_names_spec='${libname}${shared_ext}'
10358 dynamic_linker="$host_os ld.so"
10359 shlibpath_var=LIBRARY_PATH
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10366 soname_spec='${libname}${release}${shared_ext}$major'
10367 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10368 shlibpath_var=LD_LIBRARY_PATH
10369 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10370 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10371 # the default ld.so.conf also contains /usr/contrib/lib and
10372 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10373 # libtool to hard-code these into programs
10376 cygwin* | mingw* | pw32* | cegcc*)
10377 version_type=windows
10382 case $GCC,$cc_basename in
10385 library_names_spec='$libname.dll.a'
10386 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10387 postinstall_cmds='base_file=`basename \${file}`~
10388 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10389 dldir=$destdir/`dirname \$dlpath`~
10390 test -d \$dldir || mkdir -p \$dldir~
10391 $install_prog $dir/$dlname \$dldir/$dlname~
10392 chmod a+x \$dldir/$dlname~
10393 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10394 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10396 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10397 dlpath=$dir/\$dldll~
10399 shlibpath_overrides_runpath=yes
10403 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10404 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10406 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10409 # MinGW DLLs use traditional 'lib' prefix
10410 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10413 # pw32 DLLs use 'pw' prefix rather than 'lib'
10414 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10417 dynamic_linker='Win32 ld.exe'
10422 libname_spec='$name'
10423 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10424 library_names_spec='${libname}.dll.lib'
10428 sys_lib_search_path_spec=
10431 for lt_path in $LIB
10434 # Let DOS variable expansion print the short 8.3 style file name.
10435 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10436 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10439 # Convert to MSYS style.
10440 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10443 # Convert to unix form, then to dos form, then back to unix form
10444 # but this time dos style (no spaces!) so that the unix form looks
10445 # like /cygdrive/c/PROGRA~1:/cygdr...
10446 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10447 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10448 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10451 sys_lib_search_path_spec="$LIB"
10452 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10453 # It is most probably a Windows format PATH.
10454 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10456 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10458 # FIXME: find the short name or the path components, as spaces are
10459 # common. (e.g. "Program Files" -> "PROGRA~1")
10463 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10464 postinstall_cmds='base_file=`basename \${file}`~
10465 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10466 dldir=$destdir/`dirname \$dlpath`~
10467 test -d \$dldir || mkdir -p \$dldir~
10468 $install_prog $dir/$dlname \$dldir/$dlname'
10469 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10470 dlpath=$dir/\$dldll~
10472 shlibpath_overrides_runpath=yes
10473 dynamic_linker='Win32 link.exe'
10477 # Assume MSVC wrapper
10478 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10479 dynamic_linker='Win32 ld.exe'
10482 # FIXME: first we should search . and the directory the executable is in
10486 darwin* | rhapsody*)
10487 dynamic_linker="$host_os dyld"
10488 version_type=darwin
10491 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10492 soname_spec='${libname}${release}${major}$shared_ext'
10493 shlibpath_overrides_runpath=yes
10494 shlibpath_var=DYLD_LIBRARY_PATH
10495 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10497 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10498 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10506 soname_spec='${libname}${release}${shared_ext}$major'
10507 shlibpath_var=LD_LIBRARY_PATH
10514 freebsd* | dragonfly*)
10515 # DragonFly does not have aout. When/if they implement a new
10516 # versioning mechanism, adjust this.
10517 if test -x /usr/bin/objformat; then
10518 objformat=`/usr/bin/objformat`
10521 freebsd[123]*) objformat=aout ;;
10522 *) objformat=elf ;;
10525 version_type=freebsd-$objformat
10526 case $version_type in
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10533 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10537 shlibpath_var=LD_LIBRARY_PATH
10540 shlibpath_overrides_runpath=yes
10542 freebsd3.[01]* | freebsdelf3.[01]*)
10543 shlibpath_overrides_runpath=yes
10544 hardcode_into_libs=yes
10546 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10547 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10548 shlibpath_overrides_runpath=no
10549 hardcode_into_libs=yes
10551 *) # from 4.6 on, and DragonFly
10552 shlibpath_overrides_runpath=yes
10553 hardcode_into_libs=yes
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10563 soname_spec='${libname}${release}${shared_ext}$major'
10564 shlibpath_var=LD_LIBRARY_PATH
10565 hardcode_into_libs=yes
10572 dynamic_linker="$host_os runtime_loader"
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10574 soname_spec='${libname}${release}${shared_ext}$major'
10575 shlibpath_var=LIBRARY_PATH
10576 shlibpath_overrides_runpath=yes
10577 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10578 hardcode_into_libs=yes
10581 hpux9* | hpux10* | hpux11*)
10582 # Give a soname corresponding to the major version so that dld.sl refuses to
10583 # link against other versions.
10590 hardcode_into_libs=yes
10591 dynamic_linker="$host_os dld.so"
10592 shlibpath_var=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 if test "X$HPUX_IA64_MODE" = X32; then
10597 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10599 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10601 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10605 hardcode_into_libs=yes
10606 dynamic_linker="$host_os dld.sl"
10607 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10612 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10616 dynamic_linker="$host_os dld.sl"
10617 shlibpath_var=SHLIB_PATH
10618 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 soname_spec='${libname}${release}${shared_ext}$major'
10623 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10624 postinstall_cmds='chmod 555 $lib'
10625 # or fails outright, so override atomically:
10626 install_override_mode=555
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10634 soname_spec='${libname}${release}${shared_ext}$major'
10635 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 shlibpath_overrides_runpath=no
10638 hardcode_into_libs=yes
10641 irix5* | irix6* | nonstopux*)
10643 nonstopux*) version_type=nonstopux ;;
10645 if test "$lt_cv_prog_gnu_ld" = yes; then
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10656 irix5* | nonstopux*)
10657 libsuff= shlibsuff=
10660 case $LD in # libtool.m4 will add one of these switches to LD
10661 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10662 libsuff= shlibsuff= libmagic=32-bit;;
10663 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10664 libsuff=32 shlibsuff=N32 libmagic=N32;;
10665 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10666 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10667 *) libsuff= shlibsuff= libmagic=never-match;;
10671 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10672 shlibpath_overrides_runpath=no
10673 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10674 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10675 hardcode_into_libs=yes
10678 # No shared lib support for Linux oldld, aout, or coff.
10679 linux*oldld* | linux*aout* | linux*coff*)
10683 # This must be Linux ELF.
10684 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec='${libname}${release}${shared_ext}$major'
10690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10691 shlibpath_var=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath=no
10694 # Some binutils ld are patched to set DT_RUNPATH
10695 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10698 lt_cv_shlibpath_overrides_runpath=no
10699 save_LDFLAGS=$LDFLAGS
10700 save_libdir=$libdir
10701 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10702 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10716 lt_cv_shlibpath_overrides_runpath=yes
10719 rm -f core conftest.err conftest.$ac_objext \
10720 conftest$ac_exeext conftest.$ac_ext
10721 LDFLAGS=$save_LDFLAGS
10722 libdir=$save_libdir
10726 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10728 # This implies no fast_install, which is unacceptable.
10729 # Some rework will be needed to allow for fast_install
10730 # before this can be enabled.
10731 hardcode_into_libs=yes
10733 # Append ld.so.conf contents to the search path
10734 if test -f /etc/ld.so.conf; then
10735 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' ' '`
10736 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10739 # We used to test for /lib/ld.so.1 and disable shared libraries on
10740 # powerpc, because MkLinux only supported shared libraries with the
10741 # GNU dynamic linker. Since this was broken with cross compilers,
10742 # most powerpc-linux boxes support dynamic linking these days and
10743 # people can always --disable-shared, the test was removed, and we
10744 # assume the GNU/Linux dynamic linker is in use.
10745 dynamic_linker='GNU/Linux ld.so'
10752 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10755 dynamic_linker='NetBSD (a.out) ld.so'
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 dynamic_linker='NetBSD ld.elf_so'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=yes
10763 hardcode_into_libs=yes
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 shlibpath_var=LD_LIBRARY_PATH
10770 shlibpath_overrides_runpath=yes
10777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10781 hardcode_into_libs=yes
10782 dynamic_linker='ldqnx.so'
10787 sys_lib_dlsearch_path_spec="/usr/lib"
10789 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10791 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10792 *) need_version=no ;;
10794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10796 shlibpath_var=LD_LIBRARY_PATH
10797 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10799 openbsd2.[89] | openbsd2.[89].*)
10800 shlibpath_overrides_runpath=no
10803 shlibpath_overrides_runpath=yes
10807 shlibpath_overrides_runpath=yes
10812 libname_spec='$name'
10815 library_names_spec='$libname${shared_ext} $libname.a'
10816 dynamic_linker='OS/2 ld.exe'
10817 shlibpath_var=LIBPATH
10820 osf3* | osf4* | osf5*)
10824 soname_spec='${libname}${release}${shared_ext}$major'
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10828 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath=yes
10843 hardcode_into_libs=yes
10844 # ldd complains unless libraries are executable
10845 postinstall_cmds='chmod +x $lib'
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10851 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=yes
10854 if test "$with_gnu_ld" = yes; then
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 case $host_vendor in
10867 shlibpath_overrides_runpath=no
10869 runpath_var=LD_RUN_PATH
10877 shlibpath_overrides_runpath=no
10878 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10884 if test -d /usr/nec ;then
10886 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10887 soname_spec='$libname${shared_ext}.$major'
10888 shlibpath_var=LD_LIBRARY_PATH
10892 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10893 version_type=freebsd-elf
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=yes
10900 hardcode_into_libs=yes
10901 if test "$with_gnu_ld" = yes; then
10902 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10904 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10907 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10911 sys_lib_dlsearch_path_spec='/usr/lib'
10915 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 shlibpath_var=LD_LIBRARY_PATH
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10937 $as_echo "$dynamic_linker" >&6; }
10938 test "$dynamic_linker" = no && can_build_shared=no
10940 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10941 if test "$GCC" = yes; then
10942 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10945 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10946 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10948 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10949 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11044 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11046 if test -n "$hardcode_libdir_flag_spec" ||
11047 test -n "$runpath_var" ||
11048 test "X$hardcode_automatic" = "Xyes" ; then
11050 # We can hardcode non-existent directories.
11051 if test "$hardcode_direct" != no &&
11052 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11053 # have to relink, otherwise we might link with an installed library
11054 # when we should be linking with a yet-to-be-installed one
11055 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11056 test "$hardcode_minus_L" != no; then
11057 # Linking always hardcodes the temporary library directory.
11058 hardcode_action=relink
11060 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11061 hardcode_action=immediate
11064 # We cannot hardcode anything, or else we can only hardcode existing
11066 hardcode_action=unsupported
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11069 $as_echo "$hardcode_action" >&6; }
11071 if test "$hardcode_action" = relink ||
11072 test "$inherit_rpath" = yes; then
11073 # Fast installation is not supported
11074 enable_fast_install=no
11075 elif test "$shlibpath_overrides_runpath" = yes ||
11076 test "$enable_shared" = no; then
11077 # Fast installation is not necessary
11078 enable_fast_install=needless
11086 if test "x$enable_dlopen" != xyes; then
11087 enable_dlopen=unknown
11088 enable_dlopen_self=unknown
11089 enable_dlopen_self_static=unknown
11096 lt_cv_dlopen="load_add_on"
11098 lt_cv_dlopen_self=yes
11101 mingw* | pw32* | cegcc*)
11102 lt_cv_dlopen="LoadLibrary"
11107 lt_cv_dlopen="dlopen"
11112 # if libdl is installed we need to link against it
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11114 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11115 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11118 ac_check_lib_save_LIBS=$LIBS
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11138 if ac_fn_c_try_link "$LINENO"; then :
11139 ac_cv_lib_dl_dlopen=yes
11141 ac_cv_lib_dl_dlopen=no
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_lib_save_LIBS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11148 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11149 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11150 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11153 lt_cv_dlopen="dyld"
11155 lt_cv_dlopen_self=yes
11162 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11163 if test "x$ac_cv_func_shl_load" = x""yes; then :
11164 lt_cv_dlopen="shl_load"
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11167 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11168 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11169 $as_echo_n "(cached) " >&6
11171 ac_check_lib_save_LIBS=$LIBS
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11186 return shl_load ();
11191 if ac_fn_c_try_link "$LINENO"; then :
11192 ac_cv_lib_dld_shl_load=yes
11194 ac_cv_lib_dld_shl_load=no
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11201 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11202 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11203 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11205 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11206 if test "x$ac_cv_func_dlopen" = x""yes; then :
11207 lt_cv_dlopen="dlopen"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11210 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11214 ac_check_lib_save_LIBS=$LIBS
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_dl_dlopen=yes
11237 ac_cv_lib_dl_dlopen=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11244 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11245 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11246 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11249 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11250 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11251 $as_echo_n "(cached) " >&6
11253 ac_check_lib_save_LIBS=$LIBS
11254 LIBS="-lsvld $LIBS"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11273 if ac_fn_c_try_link "$LINENO"; then :
11274 ac_cv_lib_svld_dlopen=yes
11276 ac_cv_lib_svld_dlopen=no
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11283 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11284 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11285 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11288 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11289 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11290 $as_echo_n "(cached) " >&6
11292 ac_check_lib_save_LIBS=$LIBS
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11307 return dld_link ();
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_dld_dld_link=yes
11315 ac_cv_lib_dld_dld_link=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11322 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11323 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11324 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11345 if test "x$lt_cv_dlopen" != xno; then
11351 case $lt_cv_dlopen in
11353 save_CPPFLAGS="$CPPFLAGS"
11354 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11356 save_LDFLAGS="$LDFLAGS"
11357 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11360 LIBS="$lt_cv_dlopen_libs $LIBS"
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11363 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11364 if test "${lt_cv_dlopen_self+set}" = set; then :
11365 $as_echo_n "(cached) " >&6
11367 if test "$cross_compiling" = yes; then :
11368 lt_cv_dlopen_self=cross
11370 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11371 lt_status=$lt_dlunknown
11372 cat > conftest.$ac_ext <<_LT_EOF
11373 #line $LINENO "configure"
11374 #include "confdefs.h"
11383 # define LT_DLGLOBAL RTLD_GLOBAL
11386 # define LT_DLGLOBAL DL_GLOBAL
11388 # define LT_DLGLOBAL 0
11392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11393 find out it does not work in some platform. */
11394 #ifndef LT_DLLAZY_OR_NOW
11396 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11399 # define LT_DLLAZY_OR_NOW DL_LAZY
11402 # define LT_DLLAZY_OR_NOW RTLD_NOW
11405 # define LT_DLLAZY_OR_NOW DL_NOW
11407 # define LT_DLLAZY_OR_NOW 0
11414 /* When -fvisbility=hidden is used, assume the code has been annotated
11415 correspondingly for the symbols needed. */
11416 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11417 int fnord () __attribute__((visibility("default")));
11420 int fnord () { return 42; }
11423 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11424 int status = $lt_dlunknown;
11428 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11431 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11432 else puts (dlerror ());
11434 /* dlclose (self); */
11442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11443 (eval $ac_link) 2>&5
11445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11446 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11447 (./conftest; exit; ) >&5 2>/dev/null
11449 case x$lt_status in
11450 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11451 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11452 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11455 # compilation failed
11456 lt_cv_dlopen_self=no
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11464 $as_echo "$lt_cv_dlopen_self" >&6; }
11466 if test "x$lt_cv_dlopen_self" = xyes; then
11467 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11469 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11470 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11473 if test "$cross_compiling" = yes; then :
11474 lt_cv_dlopen_self_static=cross
11476 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11477 lt_status=$lt_dlunknown
11478 cat > conftest.$ac_ext <<_LT_EOF
11479 #line $LINENO "configure"
11480 #include "confdefs.h"
11489 # define LT_DLGLOBAL RTLD_GLOBAL
11492 # define LT_DLGLOBAL DL_GLOBAL
11494 # define LT_DLGLOBAL 0
11498 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11499 find out it does not work in some platform. */
11500 #ifndef LT_DLLAZY_OR_NOW
11502 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11505 # define LT_DLLAZY_OR_NOW DL_LAZY
11508 # define LT_DLLAZY_OR_NOW RTLD_NOW
11511 # define LT_DLLAZY_OR_NOW DL_NOW
11513 # define LT_DLLAZY_OR_NOW 0
11520 /* When -fvisbility=hidden is used, assume the code has been annotated
11521 correspondingly for the symbols needed. */
11522 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11523 int fnord () __attribute__((visibility("default")));
11526 int fnord () { return 42; }
11529 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11530 int status = $lt_dlunknown;
11534 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11537 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11538 else puts (dlerror ());
11540 /* dlclose (self); */
11548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11549 (eval $ac_link) 2>&5
11551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11552 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11553 (./conftest; exit; ) >&5 2>/dev/null
11555 case x$lt_status in
11556 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11557 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11558 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11561 # compilation failed
11562 lt_cv_dlopen_self_static=no
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11570 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11573 CPPFLAGS="$save_CPPFLAGS"
11574 LDFLAGS="$save_LDFLAGS"
11579 case $lt_cv_dlopen_self in
11580 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11581 *) enable_dlopen_self=unknown ;;
11584 case $lt_cv_dlopen_self_static in
11585 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11586 *) enable_dlopen_self_static=unknown ;;
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11609 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11610 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11611 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11612 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11614 $as_echo "yes" >&6; }
11616 # FIXME - insert some real tests, host_os isn't really good enough
11619 if test -n "$STRIP" ; then
11620 striplib="$STRIP -x"
11621 old_striplib="$STRIP -S"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11623 $as_echo "yes" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11647 # Report which library types will actually be built
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11649 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11651 $as_echo "$can_build_shared" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11654 $as_echo_n "checking whether to build shared libraries... " >&6; }
11655 test "$can_build_shared" = "no" && enable_shared=no
11657 # On AIX, shared libraries and static libraries use the same namespace, and
11658 # are all built from PIC.
11661 test "$enable_shared" = yes && enable_static=no
11662 if test -n "$RANLIB"; then
11663 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11664 postinstall_cmds='$RANLIB $lib'
11669 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11670 test "$enable_shared" = yes && enable_static=no
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11675 $as_echo "$enable_shared" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11678 $as_echo_n "checking whether to build static libraries... " >&6; }
11679 # Make sure either enable_shared or enable_static is yes.
11680 test "$enable_shared" = yes || enable_static=yes
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11682 $as_echo "$enable_static" >&6; }
11689 ac_cpp='$CPP $CPPFLAGS'
11690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11708 ac_config_commands="$ac_config_commands libtool"
11713 # Only expand once:
11729 DX_PROJECT=shibboleth
11731 DX_CONFIG=doxygen.cfg
11736 # Environment variables used inside doxygen.cfg:
11737 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11739 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11741 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11743 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11750 # Check whether --enable-doxygen-doc was given.
11751 if test "${enable_doxygen_doc+set}" = set; then :
11752 enableval=$enable_doxygen_doc;
11753 case "$enableval" in
11765 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11777 if test "$DX_FLAG_doc" = 1; then
11779 if test -n "$ac_tool_prefix"; then
11780 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11781 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11783 $as_echo_n "checking for $ac_word... " >&6; }
11784 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11785 $as_echo_n "(cached) " >&6
11787 case $DX_DOXYGEN in
11789 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11810 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11811 if test -n "$DX_DOXYGEN"; then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11813 $as_echo "$DX_DOXYGEN" >&6; }
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11816 $as_echo "no" >&6; }
11821 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11822 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11823 # Extract the first word of "doxygen", so it can be a program name with args.
11824 set dummy doxygen; ac_word=$2
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11826 $as_echo_n "checking for $ac_word... " >&6; }
11827 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11828 $as_echo_n "(cached) " >&6
11830 case $ac_pt_DX_DOXYGEN in
11832 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11836 for as_dir in $PATH
11839 test -z "$as_dir" && as_dir=.
11840 for ac_exec_ext in '' $ac_executable_extensions; do
11841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11842 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11853 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11854 if test -n "$ac_pt_DX_DOXYGEN"; then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11856 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11859 $as_echo "no" >&6; }
11862 if test "x$ac_pt_DX_DOXYGEN" = x; then
11865 case $cross_compiling:$ac_tool_warned in
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11869 ac_tool_warned=yes ;;
11871 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11874 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11877 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11879 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11885 if test -n "$ac_tool_prefix"; then
11886 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11887 set dummy ${ac_tool_prefix}perl; ac_word=$2
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11889 $as_echo_n "checking for $ac_word... " >&6; }
11890 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11891 $as_echo_n "(cached) " >&6
11895 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $PATH
11902 test -z "$as_dir" && as_dir=.
11903 for ac_exec_ext in '' $ac_executable_extensions; do
11904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11905 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11916 DX_PERL=$ac_cv_path_DX_PERL
11917 if test -n "$DX_PERL"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11919 $as_echo "$DX_PERL" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11922 $as_echo "no" >&6; }
11927 if test -z "$ac_cv_path_DX_PERL"; then
11928 ac_pt_DX_PERL=$DX_PERL
11929 # Extract the first word of "perl", so it can be a program name with args.
11930 set dummy perl; ac_word=$2
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11932 $as_echo_n "checking for $ac_word... " >&6; }
11933 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11936 case $ac_pt_DX_PERL in
11938 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11942 for as_dir in $PATH
11945 test -z "$as_dir" && as_dir=.
11946 for ac_exec_ext in '' $ac_executable_extensions; do
11947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11948 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11959 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11960 if test -n "$ac_pt_DX_PERL"; then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11962 $as_echo "$ac_pt_DX_PERL" >&6; }
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11965 $as_echo "no" >&6; }
11968 if test "x$ac_pt_DX_PERL" = x; then
11971 case $cross_compiling:$ac_tool_warned in
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11975 ac_tool_warned=yes ;;
11977 DX_PERL=$ac_pt_DX_PERL
11980 DX_PERL="$ac_cv_path_DX_PERL"
11983 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11985 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11992 if test "$DX_FLAG_doc" = 1; then
11995 DX_COND_doc_FALSE='#'
11997 DX_COND_doc_TRUE='#'
12001 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12007 DX_COND_doc_FALSE='#'
12009 DX_COND_doc_TRUE='#'
12018 # Dot for graphics:
12022 # Check whether --enable-doxygen-dot was given.
12023 if test "${enable_doxygen_dot+set}" = set; then :
12024 enableval=$enable_doxygen_dot;
12025 case "$enableval" in
12031 test "$DX_FLAG_doc" = "1" \
12032 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12040 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12049 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12055 if test "$DX_FLAG_dot" = 1; then
12057 if test -n "$ac_tool_prefix"; then
12058 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12059 set dummy ${ac_tool_prefix}dot; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if test "${ac_cv_path_DX_DOT+set}" = set; then :
12063 $as_echo_n "(cached) " >&6
12067 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12071 for as_dir in $PATH
12074 test -z "$as_dir" && as_dir=.
12075 for ac_exec_ext in '' $ac_executable_extensions; do
12076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12077 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 DX_DOT=$ac_cv_path_DX_DOT
12089 if test -n "$DX_DOT"; then
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12091 $as_echo "$DX_DOT" >&6; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094 $as_echo "no" >&6; }
12099 if test -z "$ac_cv_path_DX_DOT"; then
12100 ac_pt_DX_DOT=$DX_DOT
12101 # Extract the first word of "dot", so it can be a program name with args.
12102 set dummy dot; ac_word=$2
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12104 $as_echo_n "checking for $ac_word... " >&6; }
12105 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
12106 $as_echo_n "(cached) " >&6
12108 case $ac_pt_DX_DOT in
12110 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114 for as_dir in $PATH
12117 test -z "$as_dir" && as_dir=.
12118 for ac_exec_ext in '' $ac_executable_extensions; do
12119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12120 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12131 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12132 if test -n "$ac_pt_DX_DOT"; then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12134 $as_echo "$ac_pt_DX_DOT" >&6; }
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137 $as_echo "no" >&6; }
12140 if test "x$ac_pt_DX_DOT" = x; then
12143 case $cross_compiling:$ac_tool_warned in
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12147 ac_tool_warned=yes ;;
12149 DX_DOT=$ac_pt_DX_DOT
12152 DX_DOT="$ac_cv_path_DX_DOT"
12155 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12157 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12164 if test "$DX_FLAG_dot" = 1; then
12167 DX_COND_dot_FALSE='#'
12169 DX_COND_dot_TRUE='#'
12173 DX_ENV="$DX_ENV HAVE_DOT='YES'"
12175 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12181 DX_COND_dot_FALSE='#'
12183 DX_COND_dot_TRUE='#'
12187 DX_ENV="$DX_ENV HAVE_DOT='NO'"
12193 # Man pages generation:
12197 # Check whether --enable-doxygen-man was given.
12198 if test "${enable_doxygen_man+set}" = set; then :
12199 enableval=$enable_doxygen_man;
12200 case "$enableval" in
12206 test "$DX_FLAG_doc" = "1" \
12207 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12215 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12224 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12230 if test "$DX_FLAG_man" = 1; then
12234 if test "$DX_FLAG_man" = 1; then
12237 DX_COND_man_FALSE='#'
12239 DX_COND_man_TRUE='#'
12243 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12249 DX_COND_man_FALSE='#'
12251 DX_COND_man_TRUE='#'
12255 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12261 # RTF file generation:
12265 # Check whether --enable-doxygen-rtf was given.
12266 if test "${enable_doxygen_rtf+set}" = set; then :
12267 enableval=$enable_doxygen_rtf;
12268 case "$enableval" in
12274 test "$DX_FLAG_doc" = "1" \
12275 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12283 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12292 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12298 if test "$DX_FLAG_rtf" = 1; then
12302 if test "$DX_FLAG_rtf" = 1; then
12305 DX_COND_rtf_FALSE='#'
12307 DX_COND_rtf_TRUE='#'
12311 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12317 DX_COND_rtf_FALSE='#'
12319 DX_COND_rtf_TRUE='#'
12323 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12329 # XML file generation:
12333 # Check whether --enable-doxygen-xml was given.
12334 if test "${enable_doxygen_xml+set}" = set; then :
12335 enableval=$enable_doxygen_xml;
12336 case "$enableval" in
12342 test "$DX_FLAG_doc" = "1" \
12343 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12351 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12360 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12366 if test "$DX_FLAG_xml" = 1; then
12370 if test "$DX_FLAG_xml" = 1; then
12373 DX_COND_xml_FALSE='#'
12375 DX_COND_xml_TRUE='#'
12379 DX_ENV="$DX_ENV GENERATE_XML='YES'"
12385 DX_COND_xml_FALSE='#'
12387 DX_COND_xml_TRUE='#'
12391 DX_ENV="$DX_ENV GENERATE_XML='NO'"
12397 # (Compressed) HTML help generation:
12401 # Check whether --enable-doxygen-chm was given.
12402 if test "${enable_doxygen_chm+set}" = set; then :
12403 enableval=$enable_doxygen_chm;
12404 case "$enableval" in
12410 test "$DX_FLAG_doc" = "1" \
12411 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12419 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12428 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12434 if test "$DX_FLAG_chm" = 1; then
12436 if test -n "$ac_tool_prefix"; then
12437 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12438 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12440 $as_echo_n "checking for $ac_word... " >&6; }
12441 if test "${ac_cv_path_DX_HHC+set}" = set; then :
12442 $as_echo_n "(cached) " >&6
12446 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12450 for as_dir in $PATH
12453 test -z "$as_dir" && as_dir=.
12454 for ac_exec_ext in '' $ac_executable_extensions; do
12455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12456 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12467 DX_HHC=$ac_cv_path_DX_HHC
12468 if test -n "$DX_HHC"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12470 $as_echo "$DX_HHC" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12478 if test -z "$ac_cv_path_DX_HHC"; then
12479 ac_pt_DX_HHC=$DX_HHC
12480 # Extract the first word of "hhc", so it can be a program name with args.
12481 set dummy hhc; ac_word=$2
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12483 $as_echo_n "checking for $ac_word... " >&6; }
12484 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
12485 $as_echo_n "(cached) " >&6
12487 case $ac_pt_DX_HHC in
12489 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12493 for as_dir in $PATH
12496 test -z "$as_dir" && as_dir=.
12497 for ac_exec_ext in '' $ac_executable_extensions; do
12498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12499 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12511 if test -n "$ac_pt_DX_HHC"; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12513 $as_echo "$ac_pt_DX_HHC" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12516 $as_echo "no" >&6; }
12519 if test "x$ac_pt_DX_HHC" = x; then
12522 case $cross_compiling:$ac_tool_warned in
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12526 ac_tool_warned=yes ;;
12528 DX_HHC=$ac_pt_DX_HHC
12531 DX_HHC="$ac_cv_path_DX_HHC"
12534 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12536 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12543 if test "$DX_FLAG_chm" = 1; then
12546 DX_COND_chm_FALSE='#'
12548 DX_COND_chm_TRUE='#'
12552 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12554 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12556 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12562 DX_COND_chm_FALSE='#'
12564 DX_COND_chm_TRUE='#'
12568 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12574 # Seperate CHI file generation.
12578 # Check whether --enable-doxygen-chi was given.
12579 if test "${enable_doxygen_chi+set}" = set; then :
12580 enableval=$enable_doxygen_chi;
12581 case "$enableval" in
12587 test "$DX_FLAG_chm" = "1" \
12588 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12596 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12605 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12611 if test "$DX_FLAG_chi" = 1; then
12615 if test "$DX_FLAG_chi" = 1; then
12618 DX_COND_chi_FALSE='#'
12620 DX_COND_chi_TRUE='#'
12624 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12630 DX_COND_chi_FALSE='#'
12632 DX_COND_chi_TRUE='#'
12636 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12642 # Plain HTML pages generation:
12646 # Check whether --enable-doxygen-html was given.
12647 if test "${enable_doxygen_html+set}" = set; then :
12648 enableval=$enable_doxygen_html;
12649 case "$enableval" in
12655 test "$DX_FLAG_doc" = "1" \
12656 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12658 test "$DX_FLAG_chm" = "0" \
12659 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12667 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12676 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12679 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12685 if test "$DX_FLAG_html" = 1; then
12689 if test "$DX_FLAG_html" = 1; then
12692 DX_COND_html_FALSE='#'
12694 DX_COND_html_TRUE='#'
12695 DX_COND_html_FALSE=
12698 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12704 DX_COND_html_FALSE='#'
12706 DX_COND_html_TRUE='#'
12707 DX_COND_html_FALSE=
12710 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12716 # PostScript file generation:
12720 # Check whether --enable-doxygen-ps was given.
12721 if test "${enable_doxygen_ps+set}" = set; then :
12722 enableval=$enable_doxygen_ps;
12723 case "$enableval" in
12729 test "$DX_FLAG_doc" = "1" \
12730 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12738 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12747 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12753 if test "$DX_FLAG_ps" = 1; then
12755 if test -n "$ac_tool_prefix"; then
12756 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12757 set dummy ${ac_tool_prefix}latex; ac_word=$2
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12759 $as_echo_n "checking for $ac_word... " >&6; }
12760 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12761 $as_echo_n "(cached) " >&6
12765 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12769 for as_dir in $PATH
12772 test -z "$as_dir" && as_dir=.
12773 for ac_exec_ext in '' $ac_executable_extensions; do
12774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12775 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12786 DX_LATEX=$ac_cv_path_DX_LATEX
12787 if test -n "$DX_LATEX"; then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12789 $as_echo "$DX_LATEX" >&6; }
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12792 $as_echo "no" >&6; }
12797 if test -z "$ac_cv_path_DX_LATEX"; then
12798 ac_pt_DX_LATEX=$DX_LATEX
12799 # Extract the first word of "latex", so it can be a program name with args.
12800 set dummy latex; ac_word=$2
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12802 $as_echo_n "checking for $ac_word... " >&6; }
12803 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12804 $as_echo_n "(cached) " >&6
12806 case $ac_pt_DX_LATEX in
12808 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12812 for as_dir in $PATH
12815 test -z "$as_dir" && as_dir=.
12816 for ac_exec_ext in '' $ac_executable_extensions; do
12817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12818 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12829 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12830 if test -n "$ac_pt_DX_LATEX"; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12832 $as_echo "$ac_pt_DX_LATEX" >&6; }
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835 $as_echo "no" >&6; }
12838 if test "x$ac_pt_DX_LATEX" = x; then
12841 case $cross_compiling:$ac_tool_warned in
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12845 ac_tool_warned=yes ;;
12847 DX_LATEX=$ac_pt_DX_LATEX
12850 DX_LATEX="$ac_cv_path_DX_LATEX"
12853 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12855 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12861 if test -n "$ac_tool_prefix"; then
12862 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12863 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12865 $as_echo_n "checking for $ac_word... " >&6; }
12866 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12867 $as_echo_n "(cached) " >&6
12869 case $DX_MAKEINDEX in
12871 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12875 for as_dir in $PATH
12878 test -z "$as_dir" && as_dir=.
12879 for ac_exec_ext in '' $ac_executable_extensions; do
12880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12881 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12893 if test -n "$DX_MAKEINDEX"; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12895 $as_echo "$DX_MAKEINDEX" >&6; }
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 $as_echo "no" >&6; }
12903 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12904 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12905 # Extract the first word of "makeindex", so it can be a program name with args.
12906 set dummy makeindex; ac_word=$2
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12908 $as_echo_n "checking for $ac_word... " >&6; }
12909 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12910 $as_echo_n "(cached) " >&6
12912 case $ac_pt_DX_MAKEINDEX in
12914 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12918 for as_dir in $PATH
12921 test -z "$as_dir" && as_dir=.
12922 for ac_exec_ext in '' $ac_executable_extensions; do
12923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12924 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12935 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12936 if test -n "$ac_pt_DX_MAKEINDEX"; then
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12938 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12944 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12947 case $cross_compiling:$ac_tool_warned in
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12951 ac_tool_warned=yes ;;
12953 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12956 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12959 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12961 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12967 if test -n "$ac_tool_prefix"; then
12968 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12969 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12971 $as_echo_n "checking for $ac_word... " >&6; }
12972 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
12973 $as_echo_n "(cached) " >&6
12977 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $PATH
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12987 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12998 DX_DVIPS=$ac_cv_path_DX_DVIPS
12999 if test -n "$DX_DVIPS"; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13001 $as_echo "$DX_DVIPS" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13004 $as_echo "no" >&6; }
13009 if test -z "$ac_cv_path_DX_DVIPS"; then
13010 ac_pt_DX_DVIPS=$DX_DVIPS
13011 # Extract the first word of "dvips", so it can be a program name with args.
13012 set dummy dvips; ac_word=$2
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13014 $as_echo_n "checking for $ac_word... " >&6; }
13015 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
13016 $as_echo_n "(cached) " >&6
13018 case $ac_pt_DX_DVIPS in
13020 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13024 for as_dir in $PATH
13027 test -z "$as_dir" && as_dir=.
13028 for ac_exec_ext in '' $ac_executable_extensions; do
13029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13030 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13041 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13042 if test -n "$ac_pt_DX_DVIPS"; then
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13044 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13050 if test "x$ac_pt_DX_DVIPS" = x; then
13053 case $cross_compiling:$ac_tool_warned in
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13057 ac_tool_warned=yes ;;
13059 DX_DVIPS=$ac_pt_DX_DVIPS
13062 DX_DVIPS="$ac_cv_path_DX_DVIPS"
13065 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13067 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13073 if test -n "$ac_tool_prefix"; then
13074 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13075 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13077 $as_echo_n "checking for $ac_word... " >&6; }
13078 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
13079 $as_echo_n "(cached) " >&6
13083 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13087 for as_dir in $PATH
13090 test -z "$as_dir" && as_dir=.
13091 for ac_exec_ext in '' $ac_executable_extensions; do
13092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13093 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13104 DX_EGREP=$ac_cv_path_DX_EGREP
13105 if test -n "$DX_EGREP"; then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13107 $as_echo "$DX_EGREP" >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110 $as_echo "no" >&6; }
13115 if test -z "$ac_cv_path_DX_EGREP"; then
13116 ac_pt_DX_EGREP=$DX_EGREP
13117 # Extract the first word of "egrep", so it can be a program name with args.
13118 set dummy egrep; ac_word=$2
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13120 $as_echo_n "checking for $ac_word... " >&6; }
13121 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
13122 $as_echo_n "(cached) " >&6
13124 case $ac_pt_DX_EGREP in
13126 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13130 for as_dir in $PATH
13133 test -z "$as_dir" && as_dir=.
13134 for ac_exec_ext in '' $ac_executable_extensions; do
13135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13136 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13147 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13148 if test -n "$ac_pt_DX_EGREP"; then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13150 $as_echo "$ac_pt_DX_EGREP" >&6; }
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13156 if test "x$ac_pt_DX_EGREP" = x; then
13159 case $cross_compiling:$ac_tool_warned in
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13163 ac_tool_warned=yes ;;
13165 DX_EGREP=$ac_pt_DX_EGREP
13168 DX_EGREP="$ac_cv_path_DX_EGREP"
13171 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13173 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13180 if test "$DX_FLAG_ps" = 1; then
13183 DX_COND_ps_FALSE='#'
13185 DX_COND_ps_TRUE='#'
13194 DX_COND_ps_FALSE='#'
13196 DX_COND_ps_TRUE='#'
13205 # PDF file generation:
13209 # Check whether --enable-doxygen-pdf was given.
13210 if test "${enable_doxygen_pdf+set}" = set; then :
13211 enableval=$enable_doxygen_pdf;
13212 case "$enableval" in
13218 test "$DX_FLAG_doc" = "1" \
13219 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13227 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13236 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13242 if test "$DX_FLAG_pdf" = 1; then
13244 if test -n "$ac_tool_prefix"; then
13245 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13246 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13248 $as_echo_n "checking for $ac_word... " >&6; }
13249 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
13250 $as_echo_n "(cached) " >&6
13252 case $DX_PDFLATEX in
13254 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13258 for as_dir in $PATH
13261 test -z "$as_dir" && as_dir=.
13262 for ac_exec_ext in '' $ac_executable_extensions; do
13263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13264 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13275 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13276 if test -n "$DX_PDFLATEX"; then
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13278 $as_echo "$DX_PDFLATEX" >&6; }
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13281 $as_echo "no" >&6; }
13286 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13287 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13288 # Extract the first word of "pdflatex", so it can be a program name with args.
13289 set dummy pdflatex; ac_word=$2
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13291 $as_echo_n "checking for $ac_word... " >&6; }
13292 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
13293 $as_echo_n "(cached) " >&6
13295 case $ac_pt_DX_PDFLATEX in
13297 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13307 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13318 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13319 if test -n "$ac_pt_DX_PDFLATEX"; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13321 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13324 $as_echo "no" >&6; }
13327 if test "x$ac_pt_DX_PDFLATEX" = x; then
13330 case $cross_compiling:$ac_tool_warned in
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13334 ac_tool_warned=yes ;;
13336 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13339 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13342 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13344 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13350 if test -n "$ac_tool_prefix"; then
13351 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13352 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13354 $as_echo_n "checking for $ac_word... " >&6; }
13355 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
13356 $as_echo_n "(cached) " >&6
13358 case $DX_MAKEINDEX in
13360 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13364 for as_dir in $PATH
13367 test -z "$as_dir" && as_dir=.
13368 for ac_exec_ext in '' $ac_executable_extensions; do
13369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13370 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13381 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13382 if test -n "$DX_MAKEINDEX"; then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13384 $as_echo "$DX_MAKEINDEX" >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13387 $as_echo "no" >&6; }
13392 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13393 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13394 # Extract the first word of "makeindex", so it can be a program name with args.
13395 set dummy makeindex; ac_word=$2
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13397 $as_echo_n "checking for $ac_word... " >&6; }
13398 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
13399 $as_echo_n "(cached) " >&6
13401 case $ac_pt_DX_MAKEINDEX in
13403 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13407 for as_dir in $PATH
13410 test -z "$as_dir" && as_dir=.
13411 for ac_exec_ext in '' $ac_executable_extensions; do
13412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13413 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13424 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13425 if test -n "$ac_pt_DX_MAKEINDEX"; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13427 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13430 $as_echo "no" >&6; }
13433 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13436 case $cross_compiling:$ac_tool_warned in
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13440 ac_tool_warned=yes ;;
13442 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13445 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13448 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13450 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13456 if test -n "$ac_tool_prefix"; then
13457 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13458 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13460 $as_echo_n "checking for $ac_word... " >&6; }
13461 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
13462 $as_echo_n "(cached) " >&6
13466 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13470 for as_dir in $PATH
13473 test -z "$as_dir" && as_dir=.
13474 for ac_exec_ext in '' $ac_executable_extensions; do
13475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13476 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13487 DX_EGREP=$ac_cv_path_DX_EGREP
13488 if test -n "$DX_EGREP"; then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13490 $as_echo "$DX_EGREP" >&6; }
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13493 $as_echo "no" >&6; }
13498 if test -z "$ac_cv_path_DX_EGREP"; then
13499 ac_pt_DX_EGREP=$DX_EGREP
13500 # Extract the first word of "egrep", so it can be a program name with args.
13501 set dummy egrep; ac_word=$2
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13503 $as_echo_n "checking for $ac_word... " >&6; }
13504 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
13505 $as_echo_n "(cached) " >&6
13507 case $ac_pt_DX_EGREP in
13509 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13513 for as_dir in $PATH
13516 test -z "$as_dir" && as_dir=.
13517 for ac_exec_ext in '' $ac_executable_extensions; do
13518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13519 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13530 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13531 if test -n "$ac_pt_DX_EGREP"; then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13533 $as_echo "$ac_pt_DX_EGREP" >&6; }
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13536 $as_echo "no" >&6; }
13539 if test "x$ac_pt_DX_EGREP" = x; then
13542 case $cross_compiling:$ac_tool_warned in
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13546 ac_tool_warned=yes ;;
13548 DX_EGREP=$ac_pt_DX_EGREP
13551 DX_EGREP="$ac_cv_path_DX_EGREP"
13554 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13556 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13563 if test "$DX_FLAG_pdf" = 1; then
13566 DX_COND_pdf_FALSE='#'
13568 DX_COND_pdf_TRUE='#'
13577 DX_COND_pdf_FALSE='#'
13579 DX_COND_pdf_TRUE='#'
13588 # LaTeX generation for PS and/or PDF:
13589 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13591 DX_COND_latex_TRUE=
13592 DX_COND_latex_FALSE='#'
13594 DX_COND_latex_TRUE='#'
13595 DX_COND_latex_FALSE=
13598 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13602 DX_COND_latex_TRUE=
13603 DX_COND_latex_FALSE='#'
13605 DX_COND_latex_TRUE='#'
13606 DX_COND_latex_FALSE=
13609 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13613 # Paper size for PS and/or PDF:
13615 case "$DOXYGEN_PAPER_SIZE" in
13618 DOXYGEN_PAPER_SIZE=""
13621 a4wide|a4|letter|legal|executive)
13622 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13626 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13631 #echo DX_FLAG_doc=$DX_FLAG_doc
13632 #echo DX_FLAG_dot=$DX_FLAG_dot
13633 #echo DX_FLAG_man=$DX_FLAG_man
13634 #echo DX_FLAG_html=$DX_FLAG_html
13635 #echo DX_FLAG_chm=$DX_FLAG_chm
13636 #echo DX_FLAG_chi=$DX_FLAG_chi
13637 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13638 #echo DX_FLAG_xml=$DX_FLAG_xml
13639 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13640 #echo DX_FLAG_ps=$DX_FLAG_ps
13641 #echo DX_ENV=$DX_ENV
13645 # Check whether --enable-debug was given.
13646 if test "${enable_debug+set}" = set; then :
13647 enableval=$enable_debug; enable_debug=$enableval
13653 if test "$enable_debug" = "yes" ; then
13654 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13655 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13657 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13658 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13661 ac_config_headers="$ac_config_headers config.h shibsp/config_pub.h"
13663 ac_config_files="$ac_config_files shibboleth.spec"
13667 ac_cpp='$CPP $CPPFLAGS'
13668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13671 if test -n "$ac_tool_prefix"; then
13672 for ac_prog in gcc gcc3 cc
13674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13675 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13677 $as_echo_n "checking for $ac_word... " >&6; }
13678 if test "${ac_cv_prog_CC+set}" = set; then :
13679 $as_echo_n "(cached) " >&6
13681 if test -n "$CC"; then
13682 ac_cv_prog_CC="$CC" # Let the user override the test.
13684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13685 for as_dir in $PATH
13688 test -z "$as_dir" && as_dir=.
13689 for ac_exec_ext in '' $ac_executable_extensions; do
13690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13691 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13702 if test -n "$CC"; then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13704 $as_echo "$CC" >&6; }
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13707 $as_echo "no" >&6; }
13711 test -n "$CC" && break
13714 if test -z "$CC"; then
13716 for ac_prog in gcc gcc3 cc
13718 # Extract the first word of "$ac_prog", so it can be a program name with args.
13719 set dummy $ac_prog; ac_word=$2
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13721 $as_echo_n "checking for $ac_word... " >&6; }
13722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13723 $as_echo_n "(cached) " >&6
13725 if test -n "$ac_ct_CC"; then
13726 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13729 for as_dir in $PATH
13732 test -z "$as_dir" && as_dir=.
13733 for ac_exec_ext in '' $ac_executable_extensions; do
13734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13735 ac_cv_prog_ac_ct_CC="$ac_prog"
13736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13746 if test -n "$ac_ct_CC"; then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13748 $as_echo "$ac_ct_CC" >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13751 $as_echo "no" >&6; }
13755 test -n "$ac_ct_CC" && break
13758 if test "x$ac_ct_CC" = x; then
13761 case $cross_compiling:$ac_tool_warned in
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13765 ac_tool_warned=yes ;;
13772 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13774 as_fn_error $? "no acceptable C compiler found in \$PATH
13775 See \`config.log' for more details" "$LINENO" 5 ; }
13777 # Provide some information about the compiler.
13778 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13781 for ac_option in --version -v -V -qversion; do
13782 { { ac_try="$ac_compiler $ac_option >&5"
13783 case "(($ac_try" in
13784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13785 *) ac_try_echo=$ac_try;;
13787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13788 $as_echo "$ac_try_echo"; } >&5
13789 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13791 if test -s conftest.err; then
13793 ... rest of stderr output deleted ...
13794 10q' conftest.err >conftest.er1
13795 cat conftest.er1 >&5
13797 rm -f conftest.er1 conftest.err
13798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13799 test $ac_status = 0; }
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13804 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13805 $as_echo_n "(cached) " >&6
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13821 if ac_fn_c_try_compile "$LINENO"; then :
13822 ac_compiler_gnu=yes
13826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13827 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13831 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13832 if test $ac_compiler_gnu = yes; then
13837 ac_test_CFLAGS=${CFLAGS+set}
13838 ac_save_CFLAGS=$CFLAGS
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13840 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13841 if test "${ac_cv_prog_cc_g+set}" = set; then :
13842 $as_echo_n "(cached) " >&6
13844 ac_save_c_werror_flag=$ac_c_werror_flag
13845 ac_c_werror_flag=yes
13848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13859 if ac_fn_c_try_compile "$LINENO"; then :
13860 ac_cv_prog_cc_g=yes
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13874 if ac_fn_c_try_compile "$LINENO"; then :
13877 ac_c_werror_flag=$ac_save_c_werror_flag
13879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13890 if ac_fn_c_try_compile "$LINENO"; then :
13891 ac_cv_prog_cc_g=yes
13893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898 ac_c_werror_flag=$ac_save_c_werror_flag
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13901 $as_echo "$ac_cv_prog_cc_g" >&6; }
13902 if test "$ac_test_CFLAGS" = set; then
13903 CFLAGS=$ac_save_CFLAGS
13904 elif test $ac_cv_prog_cc_g = yes; then
13905 if test "$GCC" = yes; then
13911 if test "$GCC" = yes; then
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13919 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13920 $as_echo_n "(cached) " >&6
13922 ac_cv_prog_cc_c89=no
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 #include <stdarg.h>
13928 #include <sys/types.h>
13929 #include <sys/stat.h>
13930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13931 struct buf { int x; };
13932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13933 static char *e (p, i)
13939 static char *f (char * (*g) (char **, int), char **p, ...)
13944 s = g (p, va_arg (v,int));
13949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13950 function prototypes and stuff, but not '\xHH' hex character constants.
13951 These don't provoke an error unfortunately, instead are silently treated
13952 as 'x'. The following induces an error, until -std is added to get
13953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13954 array size at least. It's necessary to write '\x00'==0 to get something
13955 that's true only with -std. */
13956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13959 inside strings and character constants. */
13961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13963 int test (int i, double x);
13964 struct s1 {int (*f) (int a);};
13965 struct s2 {int (*f) (double a);};
13966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13980 CC="$ac_save_CC $ac_arg"
13981 if ac_fn_c_try_compile "$LINENO"; then :
13982 ac_cv_prog_cc_c89=$ac_arg
13984 rm -f core conftest.err conftest.$ac_objext
13985 test "x$ac_cv_prog_cc_c89" != "xno" && break
13987 rm -f conftest.$ac_ext
13992 case "x$ac_cv_prog_cc_c89" in
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13995 $as_echo "none needed" >&6; } ;;
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13998 $as_echo "unsupported" >&6; } ;;
14000 CC="$CC $ac_cv_prog_cc_c89"
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14004 if test "x$ac_cv_prog_cc_c89" != xno; then :
14009 ac_cpp='$CPP $CPPFLAGS'
14010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14014 depcc="$CC" am_compiler_list=
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14017 $as_echo_n "checking dependency style of $depcc... " >&6; }
14018 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
14019 $as_echo_n "(cached) " >&6
14021 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14022 # We make a subdir and do the tests there. Otherwise we can end up
14023 # making bogus files that we don't know about and never remove. For
14024 # instance it was reported that on HP-UX the gcc test will end up
14025 # making a dummy file named `D' -- because `-MD' means `put the output
14028 # Copy depcomp to subdir because otherwise we won't find it if we're
14029 # using a relative directory.
14030 cp "$am_depcomp" conftest.dir
14032 # We will build objects and dependencies in a subdirectory because
14033 # it helps to detect inapplicable dependency modes. For instance
14034 # both Tru64's cc and ICC support -MD to output dependencies as a
14035 # side effect of compilation, but ICC will put the dependencies in
14036 # the current directory while Tru64 will put them in the object
14040 am_cv_CC_dependencies_compiler_type=none
14041 if test "$am_compiler_list" = ""; then
14042 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14044 am__universal=false
14045 case " $depcc " in #(
14046 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14049 for depmode in $am_compiler_list; do
14050 # Setup a source with many dependencies, because some compilers
14051 # like to wrap large dependency lists on column 80 (with \), and
14052 # we should not choose a depcomp mode which is confused by this.
14054 # We need to recreate these files for each test, as the compiler may
14055 # overwrite some of them when testing with obscure command lines.
14056 # This happens at least with the AIX C compiler.
14058 for i in 1 2 3 4 5 6; do
14059 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14060 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14061 # Solaris 8's {/usr,}/bin/sh.
14062 touch sub/conftst$i.h
14064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14066 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14067 # mode. It turns out that the SunPro C++ compiler does not properly
14068 # handle `-M -o', and we need to detect this. Also, some Intel
14069 # versions had trouble with output in subdirs
14070 am__obj=sub/conftest.${OBJEXT-o}
14071 am__minus_obj="-o $am__obj"
14074 # This depmode causes a compiler race in universal mode.
14075 test "$am__universal" = false || continue
14078 # after this tag, mechanisms are not by side-effect, so they'll
14079 # only be used when explicitly requested
14080 if test "x$enable_dependency_tracking" = xyes; then
14086 msvisualcpp | msvcmsys)
14087 # This compiler won't grok `-c -o', but also, the minuso test has
14088 # not run yet. These depmodes are late enough in the game, and
14089 # so weak that their functioning should not be impacted.
14090 am__obj=conftest.${OBJEXT-o}
14095 if depmode=$depmode \
14096 source=sub/conftest.c object=$am__obj \
14097 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14098 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14099 >/dev/null 2>conftest.err &&
14100 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14101 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14102 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14103 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14104 # icc doesn't choke on unknown options, it will just issue warnings
14105 # or remarks (even with -Werror). So we grep stderr for any message
14106 # that says an option was ignored or not supported.
14107 # When given -MP, icc 7.0 and 7.1 complain thusly:
14108 # icc: Command line warning: ignoring option '-M'; no argument required
14109 # The diagnosis changed in icc 8.0:
14110 # icc: Command line remark: option '-MP' not supported
14111 if (grep 'ignoring option' conftest.err ||
14112 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14113 am_cv_CC_dependencies_compiler_type=$depmode
14120 rm -rf conftest.dir
14122 am_cv_CC_dependencies_compiler_type=none
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14127 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14128 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14131 test "x$enable_dependency_tracking" != xno \
14132 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14133 am__fastdepCC_TRUE=
14134 am__fastdepCC_FALSE='#'
14136 am__fastdepCC_TRUE='#'
14137 am__fastdepCC_FALSE=
14142 ac_cpp='$CXXCPP $CPPFLAGS'
14143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14146 if test -z "$CXX"; then
14147 if test -n "$CCC"; then
14150 if test -n "$ac_tool_prefix"; then
14151 for ac_prog in g++ g++3 c++ CC
14153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14156 $as_echo_n "checking for $ac_word... " >&6; }
14157 if test "${ac_cv_prog_CXX+set}" = set; then :
14158 $as_echo_n "(cached) " >&6
14160 if test -n "$CXX"; then
14161 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14164 for as_dir in $PATH
14167 test -z "$as_dir" && as_dir=.
14168 for ac_exec_ext in '' $ac_executable_extensions; do
14169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14170 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14180 CXX=$ac_cv_prog_CXX
14181 if test -n "$CXX"; then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14183 $as_echo "$CXX" >&6; }
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 $as_echo "no" >&6; }
14190 test -n "$CXX" && break
14193 if test -z "$CXX"; then
14195 for ac_prog in g++ g++3 c++ CC
14197 # Extract the first word of "$ac_prog", so it can be a program name with args.
14198 set dummy $ac_prog; ac_word=$2
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14200 $as_echo_n "checking for $ac_word... " >&6; }
14201 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
14202 $as_echo_n "(cached) " >&6
14204 if test -n "$ac_ct_CXX"; then
14205 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14208 for as_dir in $PATH
14211 test -z "$as_dir" && as_dir=.
14212 for ac_exec_ext in '' $ac_executable_extensions; do
14213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14214 ac_cv_prog_ac_ct_CXX="$ac_prog"
14215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14224 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14225 if test -n "$ac_ct_CXX"; then
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14227 $as_echo "$ac_ct_CXX" >&6; }
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14230 $as_echo "no" >&6; }
14234 test -n "$ac_ct_CXX" && break
14237 if test "x$ac_ct_CXX" = x; then
14240 case $cross_compiling:$ac_tool_warned in
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14244 ac_tool_warned=yes ;;
14252 # Provide some information about the compiler.
14253 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14256 for ac_option in --version -v -V -qversion; do
14257 { { ac_try="$ac_compiler $ac_option >&5"
14258 case "(($ac_try" in
14259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14260 *) ac_try_echo=$ac_try;;
14262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14263 $as_echo "$ac_try_echo"; } >&5
14264 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14266 if test -s conftest.err; then
14268 ... rest of stderr output deleted ...
14269 10q' conftest.err >conftest.er1
14270 cat conftest.er1 >&5
14272 rm -f conftest.er1 conftest.err
14273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14274 test $ac_status = 0; }
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14278 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14279 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14296 if ac_fn_cxx_try_compile "$LINENO"; then :
14297 ac_compiler_gnu=yes
14301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14302 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14306 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14307 if test $ac_compiler_gnu = yes; then
14312 ac_test_CXXFLAGS=${CXXFLAGS+set}
14313 ac_save_CXXFLAGS=$CXXFLAGS
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14315 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14316 if test "${ac_cv_prog_cxx_g+set}" = set; then :
14317 $as_echo_n "(cached) " >&6
14319 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14320 ac_cxx_werror_flag=yes
14321 ac_cv_prog_cxx_g=no
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14334 if ac_fn_cxx_try_compile "$LINENO"; then :
14335 ac_cv_prog_cxx_g=yes
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14349 if ac_fn_cxx_try_compile "$LINENO"; then :
14352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14365 if ac_fn_cxx_try_compile "$LINENO"; then :
14366 ac_cv_prog_cxx_g=yes
14368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14376 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14377 if test "$ac_test_CXXFLAGS" = set; then
14378 CXXFLAGS=$ac_save_CXXFLAGS
14379 elif test $ac_cv_prog_cxx_g = yes; then
14380 if test "$GXX" = yes; then
14386 if test "$GXX" = yes; then
14393 ac_cpp='$CPP $CPPFLAGS'
14394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14398 depcc="$CXX" am_compiler_list=
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14401 $as_echo_n "checking dependency style of $depcc... " >&6; }
14402 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14403 $as_echo_n "(cached) " >&6
14405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14406 # We make a subdir and do the tests there. Otherwise we can end up
14407 # making bogus files that we don't know about and never remove. For
14408 # instance it was reported that on HP-UX the gcc test will end up
14409 # making a dummy file named `D' -- because `-MD' means `put the output
14412 # Copy depcomp to subdir because otherwise we won't find it if we're
14413 # using a relative directory.
14414 cp "$am_depcomp" conftest.dir
14416 # We will build objects and dependencies in a subdirectory because
14417 # it helps to detect inapplicable dependency modes. For instance
14418 # both Tru64's cc and ICC support -MD to output dependencies as a
14419 # side effect of compilation, but ICC will put the dependencies in
14420 # the current directory while Tru64 will put them in the object
14424 am_cv_CXX_dependencies_compiler_type=none
14425 if test "$am_compiler_list" = ""; then
14426 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14428 am__universal=false
14429 case " $depcc " in #(
14430 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14433 for depmode in $am_compiler_list; do
14434 # Setup a source with many dependencies, because some compilers
14435 # like to wrap large dependency lists on column 80 (with \), and
14436 # we should not choose a depcomp mode which is confused by this.
14438 # We need to recreate these files for each test, as the compiler may
14439 # overwrite some of them when testing with obscure command lines.
14440 # This happens at least with the AIX C compiler.
14442 for i in 1 2 3 4 5 6; do
14443 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14444 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14445 # Solaris 8's {/usr,}/bin/sh.
14446 touch sub/conftst$i.h
14448 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14450 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14451 # mode. It turns out that the SunPro C++ compiler does not properly
14452 # handle `-M -o', and we need to detect this. Also, some Intel
14453 # versions had trouble with output in subdirs
14454 am__obj=sub/conftest.${OBJEXT-o}
14455 am__minus_obj="-o $am__obj"
14458 # This depmode causes a compiler race in universal mode.
14459 test "$am__universal" = false || continue
14462 # after this tag, mechanisms are not by side-effect, so they'll
14463 # only be used when explicitly requested
14464 if test "x$enable_dependency_tracking" = xyes; then
14470 msvisualcpp | msvcmsys)
14471 # This compiler won't grok `-c -o', but also, the minuso test has
14472 # not run yet. These depmodes are late enough in the game, and
14473 # so weak that their functioning should not be impacted.
14474 am__obj=conftest.${OBJEXT-o}
14479 if depmode=$depmode \
14480 source=sub/conftest.c object=$am__obj \
14481 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14482 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14483 >/dev/null 2>conftest.err &&
14484 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14485 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14486 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14487 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14488 # icc doesn't choke on unknown options, it will just issue warnings
14489 # or remarks (even with -Werror). So we grep stderr for any message
14490 # that says an option was ignored or not supported.
14491 # When given -MP, icc 7.0 and 7.1 complain thusly:
14492 # icc: Command line warning: ignoring option '-M'; no argument required
14493 # The diagnosis changed in icc 8.0:
14494 # icc: Command line remark: option '-MP' not supported
14495 if (grep 'ignoring option' conftest.err ||
14496 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14497 am_cv_CXX_dependencies_compiler_type=$depmode
14504 rm -rf conftest.dir
14506 am_cv_CXX_dependencies_compiler_type=none
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14511 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14512 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14515 test "x$enable_dependency_tracking" != xno \
14516 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14517 am__fastdepCXX_TRUE=
14518 am__fastdepCXX_FALSE='#'
14520 am__fastdepCXX_TRUE='#'
14521 am__fastdepCXX_FALSE=
14527 func_stripname_cnf ()
14530 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14531 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14533 } # func_stripname_cnf
14535 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14536 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14537 (test "X$CXX" != "Xg++"))) ; then
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14544 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14545 if test -z "$CXXCPP"; then
14546 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14547 $as_echo_n "(cached) " >&6
14549 # Double quotes because CXXCPP needs to be expanded
14550 for CXXCPP in "$CXX -E" "/lib/cpp"
14552 ac_preproc_ok=false
14553 for ac_cxx_preproc_warn_flag in '' yes
14555 # Use a header file that comes with gcc, so configuring glibc
14556 # with a fresh cross-compiler works.
14557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14558 # <limits.h> exists even on freestanding compilers.
14559 # On the NeXT, cc -E runs the code through the compiler's parser,
14560 # not just through cpp. "Syntax error" is here to catch this case.
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14564 # include <limits.h>
14566 # include <assert.h>
14570 if ac_fn_cxx_try_cpp "$LINENO"; then :
14573 # Broken: fails on valid input.
14576 rm -f conftest.err conftest.i conftest.$ac_ext
14578 # OK, works on sane cases. Now check whether nonexistent headers
14579 # can be detected and how.
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 #include <ac_nonexistent.h>
14584 if ac_fn_cxx_try_cpp "$LINENO"; then :
14585 # Broken: success on invalid input.
14588 # Passes both tests.
14592 rm -f conftest.err conftest.i conftest.$ac_ext
14595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14596 rm -f conftest.i conftest.err conftest.$ac_ext
14597 if $ac_preproc_ok; then :
14602 ac_cv_prog_CXXCPP=$CXXCPP
14605 CXXCPP=$ac_cv_prog_CXXCPP
14607 ac_cv_prog_CXXCPP=$CXXCPP
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14610 $as_echo "$CXXCPP" >&6; }
14611 ac_preproc_ok=false
14612 for ac_cxx_preproc_warn_flag in '' yes
14614 # Use a header file that comes with gcc, so configuring glibc
14615 # with a fresh cross-compiler works.
14616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14617 # <limits.h> exists even on freestanding compilers.
14618 # On the NeXT, cc -E runs the code through the compiler's parser,
14619 # not just through cpp. "Syntax error" is here to catch this case.
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14623 # include <limits.h>
14625 # include <assert.h>
14629 if ac_fn_cxx_try_cpp "$LINENO"; then :
14632 # Broken: fails on valid input.
14635 rm -f conftest.err conftest.i conftest.$ac_ext
14637 # OK, works on sane cases. Now check whether nonexistent headers
14638 # can be detected and how.
14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14641 #include <ac_nonexistent.h>
14643 if ac_fn_cxx_try_cpp "$LINENO"; then :
14644 # Broken: success on invalid input.
14647 # Passes both tests.
14651 rm -f conftest.err conftest.i conftest.$ac_ext
14654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14655 rm -f conftest.i conftest.err conftest.$ac_ext
14656 if $ac_preproc_ok; then :
14659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14661 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14662 See \`config.log' for more details" "$LINENO" 5 ; }
14666 ac_cpp='$CPP $CPPFLAGS'
14667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14672 _lt_caught_CXX_error=yes
14676 ac_cpp='$CXXCPP $CPPFLAGS'
14677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14681 archive_cmds_need_lc_CXX=no
14682 allow_undefined_flag_CXX=
14683 always_export_symbols_CXX=no
14684 archive_expsym_cmds_CXX=
14685 compiler_needs_object_CXX=no
14686 export_dynamic_flag_spec_CXX=
14687 hardcode_direct_CXX=no
14688 hardcode_direct_absolute_CXX=no
14689 hardcode_libdir_flag_spec_CXX=
14690 hardcode_libdir_flag_spec_ld_CXX=
14691 hardcode_libdir_separator_CXX=
14692 hardcode_minus_L_CXX=no
14693 hardcode_shlibpath_var_CXX=unsupported
14694 hardcode_automatic_CXX=no
14695 inherit_rpath_CXX=no
14697 module_expsym_cmds_CXX=
14698 link_all_deplibs_CXX=unknown
14699 old_archive_cmds_CXX=$old_archive_cmds
14700 reload_flag_CXX=$reload_flag
14701 reload_cmds_CXX=$reload_cmds
14702 no_undefined_flag_CXX=
14703 whole_archive_flag_spec_CXX=
14704 enable_shared_with_static_runtimes_CXX=no
14706 # Source file extension for C++ test sources.
14709 # Object file extension for compiled C++ test sources.
14713 # No sense in running all these tests if we already determined that
14714 # the CXX compiler isn't working. Some variables (like enable_shared)
14715 # are currently assumed to apply to all compilers on this platform,
14716 # and will be corrupted by setting them based on a non-working compiler.
14717 if test "$_lt_caught_CXX_error" != yes; then
14718 # Code to be used in simple compile tests
14719 lt_simple_compile_test_code="int some_variable = 0;"
14721 # Code to be used in simple link tests
14722 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14724 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14731 # If no C compiler was specified, use CC.
14734 # If no C compiler flags were specified, use CFLAGS.
14735 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14737 # Allow CC to be a program name with arguments.
14741 # save warnings/boilerplate of simple test code
14742 ac_outfile=conftest.$ac_objext
14743 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14744 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14745 _lt_compiler_boilerplate=`cat conftest.err`
14748 ac_outfile=conftest.$ac_objext
14749 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14750 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14751 _lt_linker_boilerplate=`cat conftest.err`
14755 # Allow CC to be a program name with arguments.
14757 lt_save_CFLAGS=$CFLAGS
14761 lt_save_with_gnu_ld=$with_gnu_ld
14762 lt_save_path_LD=$lt_cv_path_LD
14763 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14764 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14766 $as_unset lt_cv_prog_gnu_ld
14768 if test -n "${lt_cv_path_LDCXX+set}"; then
14769 lt_cv_path_LD=$lt_cv_path_LDCXX
14771 $as_unset lt_cv_path_LD
14773 test -z "${LDCXX+set}" || LD=$LDCXX
14778 for cc_temp in $compiler""; do
14780 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14781 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14786 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14789 if test -n "$compiler"; then
14790 # We don't want -fno-exception when compiling C++ code, so set the
14791 # no_builtin_flag separately
14792 if test "$GXX" = yes; then
14793 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14795 lt_prog_compiler_no_builtin_flag_CXX=
14798 if test "$GXX" = yes; then
14799 # Set up default GNU C++ configuration
14803 # Check whether --with-gnu-ld was given.
14804 if test "${with_gnu_ld+set}" = set; then :
14805 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14811 if test "$GCC" = yes; then
14812 # Check if gcc -print-prog-name=ld gives a path.
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14814 $as_echo_n "checking for ld used by $CC... " >&6; }
14817 # gcc leaves a trailing carriage return which upsets mingw
14818 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14820 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14823 # Accept absolute paths.
14825 re_direlt='/[^/][^/]*/\.\./'
14826 # Canonicalize the pathname of ld
14827 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14828 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14829 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14831 test -z "$LD" && LD="$ac_prog"
14834 # If it fails, then pretend we aren't using GCC.
14838 # If it is relative, then search for the first ld in PATH.
14839 with_gnu_ld=unknown
14842 elif test "$with_gnu_ld" = yes; then
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14844 $as_echo_n "checking for GNU ld... " >&6; }
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14847 $as_echo_n "checking for non-GNU ld... " >&6; }
14849 if test "${lt_cv_path_LD+set}" = set; then :
14850 $as_echo_n "(cached) " >&6
14852 if test -z "$LD"; then
14853 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14854 for ac_dir in $PATH; do
14856 test -z "$ac_dir" && ac_dir=.
14857 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14858 lt_cv_path_LD="$ac_dir/$ac_prog"
14859 # Check to see if the program is GNU ld. I'd rather use --version,
14860 # but apparently some variants of GNU ld only accept -v.
14861 # Break only if it was the GNU/non-GNU ld that we prefer.
14862 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14863 *GNU* | *'with BFD'*)
14864 test "$with_gnu_ld" != no && break
14867 test "$with_gnu_ld" != yes && break
14874 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14878 LD="$lt_cv_path_LD"
14879 if test -n "$LD"; then
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14881 $as_echo "$LD" >&6; }
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14884 $as_echo "no" >&6; }
14886 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14888 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14889 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14890 $as_echo_n "(cached) " >&6
14892 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14893 case `$LD -v 2>&1 </dev/null` in
14894 *GNU* | *'with BFD'*)
14895 lt_cv_prog_gnu_ld=yes
14898 lt_cv_prog_gnu_ld=no
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14903 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14904 with_gnu_ld=$lt_cv_prog_gnu_ld
14912 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14913 # archiving commands below assume that GNU ld is being used.
14914 if test "$with_gnu_ld" = yes; then
14915 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14916 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'
14918 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14919 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14921 # If archive_cmds runs LD, not CC, wlarc should be empty
14922 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14923 # investigate it a little bit more. (MM)
14926 # ancient GNU ld didn't support --whole-archive et. al.
14927 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14928 $GREP 'no-whole-archive' > /dev/null; then
14929 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14931 whole_archive_flag_spec_CXX=
14937 # A generic and very simple default shared library creation
14938 # command for GNU C++ for the case where it uses the native
14939 # linker, instead of GNU ld. If possible, this setting should
14940 # overridden to take advantage of the native linker features on
14941 # the platform it is being used on.
14942 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14945 # Commands to make compiler produce verbose output that lists
14946 # what "hidden" libraries, object files and flags are used when
14947 # linking a shared library.
14948 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14956 # PORTME: fill in a description of your system's C++ link characteristics
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14958 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14962 # FIXME: insert proper C++ library support
14966 if test "$host_cpu" = ia64; then
14967 # On IA64, the linker does run time linking by default, so we don't
14968 # have to do anything special.
14969 aix_use_runtimelinking=no
14970 exp_sym_flag='-Bexport'
14973 aix_use_runtimelinking=no
14975 # Test if we are trying to use run time linking or normal
14976 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14977 # need to do runtime linking.
14978 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14979 for ld_flag in $LDFLAGS; do
14982 aix_use_runtimelinking=yes
14990 exp_sym_flag='-bexport'
14991 no_entry_flag='-bnoentry'
14994 # When large executables or shared objects are built, AIX ld can
14995 # have problems creating the table of contents. If linking a library
14996 # or program results in "error TOC overflow" add -mminimal-toc to
14997 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14998 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15000 archive_cmds_CXX=''
15001 hardcode_direct_CXX=yes
15002 hardcode_direct_absolute_CXX=yes
15003 hardcode_libdir_separator_CXX=':'
15004 link_all_deplibs_CXX=yes
15005 file_list_spec_CXX='${wl}-f,'
15007 if test "$GXX" = yes; then
15008 case $host_os in aix4.[012]|aix4.[012].*)
15009 # We only want to do this on AIX 4.2 and lower, the check
15010 # below for broken collect2 doesn't work under 4.3+
15011 collect2name=`${CC} -print-prog-name=collect2`
15012 if test -f "$collect2name" &&
15013 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15015 # We have reworked collect2
15018 # We have old collect2
15019 hardcode_direct_CXX=unsupported
15020 # It fails to find uninstalled libraries when the uninstalled
15021 # path is not listed in the libpath. Setting hardcode_minus_L
15022 # to unsupported forces relinking
15023 hardcode_minus_L_CXX=yes
15024 hardcode_libdir_flag_spec_CXX='-L$libdir'
15025 hardcode_libdir_separator_CXX=
15028 shared_flag='-shared'
15029 if test "$aix_use_runtimelinking" = yes; then
15030 shared_flag="$shared_flag "'${wl}-G'
15034 if test "$host_cpu" = ia64; then
15035 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15036 # chokes on -Wl,-G. The following line is correct:
15039 if test "$aix_use_runtimelinking" = yes; then
15040 shared_flag='${wl}-G'
15042 shared_flag='${wl}-bM:SRE'
15047 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15048 # It seems that -bexpall does not export symbols beginning with
15049 # underscore (_), so it is better to generate a list of symbols to
15051 always_export_symbols_CXX=yes
15052 if test "$aix_use_runtimelinking" = yes; then
15053 # Warning - without using the other runtime loading flags (-brtl),
15054 # -berok will link without error, but may produce a broken library.
15055 allow_undefined_flag_CXX='-berok'
15056 # Determine the default libpath from the value encoded in an empty
15058 if test "${lt_cv_aix_libpath+set}" = set; then
15059 aix_libpath=$lt_cv_aix_libpath
15061 if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
15062 $as_echo_n "(cached) " >&6
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15075 if ac_fn_cxx_try_link "$LINENO"; then :
15077 lt_aix_libpath_sed='
15078 /Import File Strings/,/^$/ {
15080 s/^0 *\([^ ]*\) *$/\1/
15084 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15085 # Check for a 64-bit object if we didn't find anything.
15086 if test -z "$lt_cv_aix_libpath__CXX"; then
15087 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15092 if test -z "$lt_cv_aix_libpath__CXX"; then
15093 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15098 aix_libpath=$lt_cv_aix_libpath__CXX
15101 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15103 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"
15105 if test "$host_cpu" = ia64; then
15106 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15107 allow_undefined_flag_CXX="-z nodefs"
15108 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"
15110 # Determine the default libpath from the value encoded in an
15111 # empty executable.
15112 if test "${lt_cv_aix_libpath+set}" = set; then
15113 aix_libpath=$lt_cv_aix_libpath
15115 if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
15116 $as_echo_n "(cached) " >&6
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15129 if ac_fn_cxx_try_link "$LINENO"; then :
15131 lt_aix_libpath_sed='
15132 /Import File Strings/,/^$/ {
15134 s/^0 *\([^ ]*\) *$/\1/
15138 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15139 # Check for a 64-bit object if we didn't find anything.
15140 if test -z "$lt_cv_aix_libpath__CXX"; then
15141 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15146 if test -z "$lt_cv_aix_libpath__CXX"; then
15147 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15152 aix_libpath=$lt_cv_aix_libpath__CXX
15155 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15156 # Warning - without using the other run time loading flags,
15157 # -berok will link without error, but may produce a broken library.
15158 no_undefined_flag_CXX=' ${wl}-bernotok'
15159 allow_undefined_flag_CXX=' ${wl}-berok'
15160 if test "$with_gnu_ld" = yes; then
15161 # We only use this code for GNU lds that support --whole-archive.
15162 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15164 # Exported symbols can be pulled into shared objects from archives
15165 whole_archive_flag_spec_CXX='$convenience'
15167 archive_cmds_need_lc_CXX=yes
15168 # This is similar to how AIX traditionally builds its shared
15170 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'
15176 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15177 allow_undefined_flag_CXX=unsupported
15178 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15179 # support --undefined. This deserves some investigation. FIXME
15180 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15187 case $cc_basename in
15189 # FIXME: insert proper C++ library support
15195 cygwin* | mingw* | pw32* | cegcc*)
15196 case $GXX,$cc_basename in
15199 # hardcode_libdir_flag_spec is actually meaningless, as there is
15200 # no search path for DLLs.
15201 hardcode_libdir_flag_spec_CXX=' '
15202 allow_undefined_flag_CXX=unsupported
15203 always_export_symbols_CXX=yes
15204 file_list_spec_CXX='@'
15205 # Tell ltmain to make .lib files, not .a files.
15207 # Tell ltmain to make .dll files, not .so files.
15209 # FIXME: Setting linknames here is a bad hack.
15210 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15211 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15212 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15214 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15216 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15218 # The linker will not automatically build a static lib if we build a DLL.
15219 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15220 enable_shared_with_static_runtimes_CXX=yes
15222 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15223 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15224 lt_tool_outputfile="@TOOL_OUTPUT@"~
15225 case $lt_outputfile in
15228 lt_outputfile="$lt_outputfile.exe"
15229 lt_tool_outputfile="$lt_tool_outputfile.exe"
15232 func_to_tool_file "$lt_outputfile"~
15233 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15234 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15235 $RM "$lt_outputfile.manifest";
15240 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15241 # as there is no search path for DLLs.
15242 hardcode_libdir_flag_spec_CXX='-L$libdir'
15243 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15244 allow_undefined_flag_CXX=unsupported
15245 always_export_symbols_CXX=no
15246 enable_shared_with_static_runtimes_CXX=yes
15248 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15249 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'
15250 # If the export-symbols file already is a .def file (1st line
15251 # is EXPORTS), use it as is; otherwise, prepend...
15252 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15253 cp $export_symbols $output_objdir/$soname.def;
15255 echo EXPORTS > $output_objdir/$soname.def;
15256 cat $export_symbols >> $output_objdir/$soname.def;
15258 $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'
15265 darwin* | rhapsody*)
15268 archive_cmds_need_lc_CXX=no
15269 hardcode_direct_CXX=no
15270 hardcode_automatic_CXX=yes
15271 hardcode_shlibpath_var_CXX=unsupported
15272 if test "$lt_cv_ld_force_load" = "yes"; then
15273 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\"`'
15275 whole_archive_flag_spec_CXX=''
15277 link_all_deplibs_CXX=yes
15278 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15279 case $cc_basename in
15280 ifort*) _lt_dar_can_shared=yes ;;
15281 *) _lt_dar_can_shared=$GCC ;;
15283 if test "$_lt_dar_can_shared" = "yes"; then
15284 output_verbose_link_cmd=func_echo_all
15285 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}"
15286 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15287 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}"
15288 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}"
15289 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15290 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}"
15291 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}"
15301 case $cc_basename in
15303 # FIXME: insert proper C++ library support
15307 # Green Hills C++ Compiler
15308 # FIXME: insert proper C++ library support
15312 # FIXME: insert proper C++ library support
15319 # C++ shared libraries reported to be fairly broken before
15325 archive_cmds_need_lc_CXX=no
15328 freebsd* | dragonfly*)
15329 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15338 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15339 link_all_deplibs_CXX=yes
15343 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15344 hardcode_libdir_separator_CXX=:
15345 export_dynamic_flag_spec_CXX='${wl}-E'
15346 hardcode_direct_CXX=yes
15347 hardcode_minus_L_CXX=yes # Not in the search PATH,
15348 # but as the default
15349 # location of the library.
15351 case $cc_basename in
15353 # FIXME: insert proper C++ library support
15357 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'
15358 # Commands to make compiler produce verbose output that lists
15359 # what "hidden" libraries, object files and flags are used when
15360 # linking a shared library.
15362 # There doesn't appear to be a way to prevent this compiler from
15363 # explicitly linking system object files so we need to strip them
15364 # from the output so that they don't get included in the library
15366 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"'
15369 if test "$GXX" = yes; then
15370 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'
15372 # FIXME: insert proper C++ library support
15380 if test $with_gnu_ld = no; then
15381 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15382 hardcode_libdir_separator_CXX=:
15388 export_dynamic_flag_spec_CXX='${wl}-E'
15394 hardcode_direct_CXX=no
15395 hardcode_shlibpath_var_CXX=no
15398 hardcode_direct_CXX=yes
15399 hardcode_direct_absolute_CXX=yes
15400 hardcode_minus_L_CXX=yes # Not in the search PATH,
15401 # but as the default
15402 # location of the library.
15406 case $cc_basename in
15408 # FIXME: insert proper C++ library support
15414 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15417 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15420 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15423 # Commands to make compiler produce verbose output that lists
15424 # what "hidden" libraries, object files and flags are used when
15425 # linking a shared library.
15427 # There doesn't appear to be a way to prevent this compiler from
15428 # explicitly linking system object files so we need to strip them
15429 # from the output so that they don't get included in the library
15431 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"'
15434 if test "$GXX" = yes; then
15435 if test $with_gnu_ld = no; then
15438 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15441 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15444 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'
15449 # FIXME: insert proper C++ library support
15457 hardcode_direct_CXX=no
15458 hardcode_shlibpath_var_CXX=no
15459 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15460 export_dynamic_flag_spec_CXX='${wl}-E'
15461 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15462 # Instead, shared libraries are loaded at an image base (0x10000000 by
15463 # default) and relocated if they conflict, which is a slow very memory
15464 # consuming and fragmenting process. To avoid this, we pick a random,
15465 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15466 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15467 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'
15468 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'
15471 case $cc_basename in
15474 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'
15476 # Archives containing C++ object files must be created using
15477 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15478 # necessary to make sure instantiated templates are included
15480 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15483 if test "$GXX" = yes; then
15484 if test "$with_gnu_ld" = no; then
15485 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'
15487 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'
15490 link_all_deplibs_CXX=yes
15493 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15494 hardcode_libdir_separator_CXX=:
15495 inherit_rpath_CXX=yes
15498 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15499 case $cc_basename in
15501 # Kuck and Associates, Inc. (KAI) C++ Compiler
15503 # KCC will only create a shared library if the output file
15504 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15505 # to its proper name (with version) after linking.
15506 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'
15507 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'
15508 # Commands to make compiler produce verbose output that lists
15509 # what "hidden" libraries, object files and flags are used when
15510 # linking a shared library.
15512 # There doesn't appear to be a way to prevent this compiler from
15513 # explicitly linking system object files so we need to strip them
15514 # from the output so that they don't get included in the library
15516 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"'
15518 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15519 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15521 # Archives containing C++ object files must be created using
15522 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15523 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15528 # version 8.0 and above of icpc choke on multiply defined symbols
15529 # if we add $predep_objects and $postdep_objects, however 7.1 and
15530 # earlier do not add the objects themselves.
15531 case `$CC -V 2>&1` in
15533 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15534 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'
15536 *) # Version 8.0 or newer
15539 ia64*) tmp_idyn=' -i_dynamic';;
15541 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15542 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'
15545 archive_cmds_need_lc_CXX=no
15546 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15547 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15548 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15551 # Portland Group C++ compiler
15553 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15554 prelink_cmds_CXX='tpldir=Template.dir~
15556 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15557 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15558 old_archive_cmds_CXX='tpldir=Template.dir~
15560 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15561 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15563 archive_cmds_CXX='tpldir=Template.dir~
15565 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15566 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15567 archive_expsym_cmds_CXX='tpldir=Template.dir~
15569 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15570 $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'
15572 *) # Version 6 and above use weak symbols
15573 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15574 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'
15578 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15579 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15580 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'
15584 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15585 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'
15587 runpath_var=LD_RUN_PATH
15588 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15589 hardcode_libdir_separator_CXX=:
15591 # Commands to make compiler produce verbose output that lists
15592 # what "hidden" libraries, object files and flags are used when
15593 # linking a shared library.
15595 # There doesn't appear to be a way to prevent this compiler from
15596 # explicitly linking system object files so we need to strip them
15597 # from the output so that they don't get included in the library
15599 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'
15601 xl* | mpixl* | bgxl*)
15602 # IBM XL 8.0 on PPC, with GNU ld
15603 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15604 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15605 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15606 if test "x$supports_anon_versioning" = xyes; then
15607 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15608 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15609 echo "local: *; };" >> $output_objdir/$libname.ver~
15610 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15614 case `$CC -V 2>&1 | sed 5q` in
15617 no_undefined_flag_CXX=' -zdefs'
15618 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15619 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'
15620 hardcode_libdir_flag_spec_CXX='-R$libdir'
15621 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'
15622 compiler_needs_object_CXX=yes
15624 # Not sure whether something based on
15625 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15627 output_verbose_link_cmd='func_echo_all'
15629 # Archives containing C++ object files must be created using
15630 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15631 # necessary to make sure instantiated templates are included
15633 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15641 # FIXME: insert proper C++ library support
15646 # FIXME: insert proper C++ library support
15651 case $cc_basename in
15653 # FIXME: insert proper C++ library support
15657 # FIXME: insert proper C++ library support
15664 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15665 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15667 hardcode_libdir_flag_spec_CXX='-R$libdir'
15668 hardcode_direct_CXX=yes
15669 hardcode_shlibpath_var_CXX=no
15671 # Workaround some broken pre-1.5 toolchains
15672 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15680 # C++ shared libraries are fairly broken
15685 if test -f /usr/libexec/ld.so; then
15686 hardcode_direct_CXX=yes
15687 hardcode_shlibpath_var_CXX=no
15688 hardcode_direct_absolute_CXX=yes
15689 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15690 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15691 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15692 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15693 export_dynamic_flag_spec_CXX='${wl}-E'
15694 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15696 output_verbose_link_cmd=func_echo_all
15702 osf3* | osf4* | osf5*)
15703 case $cc_basename in
15705 # Kuck and Associates, Inc. (KAI) C++ Compiler
15707 # KCC will only create a shared library if the output file
15708 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15709 # to its proper name (with version) after linking.
15710 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'
15712 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15713 hardcode_libdir_separator_CXX=:
15715 # Archives containing C++ object files must be created using
15716 # the KAI C++ compiler.
15718 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15719 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15723 # Rational C++ 2.4.1
15724 # FIXME: insert proper C++ library support
15730 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15731 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'
15732 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15735 allow_undefined_flag_CXX=' -expect_unresolved \*'
15736 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'
15737 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15738 echo "-hidden">> $lib.exp~
15739 $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~
15741 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15745 hardcode_libdir_separator_CXX=:
15747 # Commands to make compiler produce verbose output that lists
15748 # what "hidden" libraries, object files and flags are used when
15749 # linking a shared library.
15751 # There doesn't appear to be a way to prevent this compiler from
15752 # explicitly linking system object files so we need to strip them
15753 # from the output so that they don't get included in the library
15755 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"'
15758 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15759 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15762 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'
15765 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'
15769 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15770 hardcode_libdir_separator_CXX=:
15772 # Commands to make compiler produce verbose output that lists
15773 # what "hidden" libraries, object files and flags are used when
15774 # linking a shared library.
15775 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15778 # FIXME: insert proper C++ library support
15786 # FIXME: insert proper C++ library support
15791 case $cc_basename in
15794 # FIXME: insert proper C++ library support
15799 # FIXME: insert proper C++ library support
15803 # FIXME: insert proper C++ library support
15810 case $cc_basename in
15812 # Sun C++ 4.2, 5.x and Centerline C++
15813 archive_cmds_need_lc_CXX=yes
15814 no_undefined_flag_CXX=' -zdefs'
15815 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15816 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15817 $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'
15819 hardcode_libdir_flag_spec_CXX='-R$libdir'
15820 hardcode_shlibpath_var_CXX=no
15822 solaris2.[0-5] | solaris2.[0-5].*) ;;
15824 # The compiler driver will combine and reorder linker options,
15825 # but understands `-z linker_flag'.
15826 # Supported since Solaris 2.6 (maybe 2.5.1?)
15827 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15830 link_all_deplibs_CXX=yes
15832 output_verbose_link_cmd='func_echo_all'
15834 # Archives containing C++ object files must be created using
15835 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15836 # necessary to make sure instantiated templates are included
15838 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15841 # Green Hills C++ Compiler
15842 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15844 # The C++ compiler must be used to create the archive.
15845 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15848 # GNU C++ compiler with Solaris linker
15849 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15850 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15851 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15852 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15853 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15854 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15856 # Commands to make compiler produce verbose output that lists
15857 # what "hidden" libraries, object files and flags are used when
15858 # linking a shared library.
15859 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15861 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15863 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15864 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15865 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15867 # Commands to make compiler produce verbose output that lists
15868 # what "hidden" libraries, object files and flags are used when
15869 # linking a shared library.
15870 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15873 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15875 solaris2.[0-5] | solaris2.[0-5].*) ;;
15877 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15885 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15886 no_undefined_flag_CXX='${wl}-z,text'
15887 archive_cmds_need_lc_CXX=no
15888 hardcode_shlibpath_var_CXX=no
15889 runpath_var='LD_RUN_PATH'
15891 case $cc_basename in
15893 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15894 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15897 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15898 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15903 sysv5* | sco3.2v5* | sco5v6*)
15904 # Note: We can NOT use -z defs as we might desire, because we do not
15905 # link with -lc, and that would cause any symbols used from libc to
15906 # always be unresolved, which means just about no library would
15907 # ever link correctly. If we're not using GNU ld we use -z text
15908 # though, which does catch some bad symbols but isn't as heavy-handed
15910 no_undefined_flag_CXX='${wl}-z,text'
15911 allow_undefined_flag_CXX='${wl}-z,nodefs'
15912 archive_cmds_need_lc_CXX=no
15913 hardcode_shlibpath_var_CXX=no
15914 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15915 hardcode_libdir_separator_CXX=':'
15916 link_all_deplibs_CXX=yes
15917 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15918 runpath_var='LD_RUN_PATH'
15920 case $cc_basename in
15922 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15923 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15924 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15925 '"$old_archive_cmds_CXX"
15926 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15927 '"$reload_cmds_CXX"
15930 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15931 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15937 case $cc_basename in
15939 # NonStop-UX NCC 3.20
15940 # FIXME: insert proper C++ library support
15944 # FIXME: insert proper C++ library support
15951 # FIXME: insert proper C++ library support
15956 # FIXME: insert proper C++ library support
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15962 $as_echo "$ld_shlibs_CXX" >&6; }
15963 test "$ld_shlibs_CXX" = no && can_build_shared=no
15969 ## There is no encapsulation within the following macros, do not change
15970 ## the running order or otherwise move them around unless you know exactly
15971 ## what you are doing...
15972 # Dependencies to place before and after the object being linked:
15973 predep_objects_CXX=
15974 postdep_objects_CXX=
15977 compiler_lib_search_path_CXX=
15979 cat > conftest.$ac_ext <<_LT_EOF
15983 Foo (void) { a = 0; }
15990 _lt_libdeps_save_CFLAGS=$CFLAGS
15991 case "$CC $CFLAGS " in #(
15992 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15993 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15997 (eval $ac_compile) 2>&5
15999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16000 test $ac_status = 0; }; then
16001 # Parse the compiler output and extract the necessary
16002 # objects, libraries and library flags.
16004 # Sentinel used to keep track of whether or not we are before
16005 # the conftest object file.
16006 pre_test_object_deps_done=no
16008 for p in `eval "$output_verbose_link_cmd"`; do
16009 case ${prev}${p} in
16012 # Some compilers place space between "-{L,R}" and the path.
16013 # Remove the space.
16014 if test $p = "-L" ||
16015 test $p = "-R"; then
16020 # Expand the sysroot to ease extracting the directories later.
16021 if test -z "$prev"; then
16023 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16024 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16025 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16029 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16031 if test "$pre_test_object_deps_done" = no; then
16034 # Internal compiler library paths should come after those
16035 # provided the user. The postdeps already come after the
16036 # user supplied libs so there is no need to process them.
16037 if test -z "$compiler_lib_search_path_CXX"; then
16038 compiler_lib_search_path_CXX="${prev}${p}"
16040 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16043 # The "-l" case would never come before the object being
16044 # linked, so don't bother handling this case.
16047 if test -z "$postdeps_CXX"; then
16048 postdeps_CXX="${prev}${p}"
16050 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16056 *.lto.$objext) ;; # Ignore GCC LTO objects
16058 # This assumes that the test object file only shows up
16059 # once in the compiler output.
16060 if test "$p" = "conftest.$objext"; then
16061 pre_test_object_deps_done=yes
16065 if test "$pre_test_object_deps_done" = no; then
16066 if test -z "$predep_objects_CXX"; then
16067 predep_objects_CXX="$p"
16069 predep_objects_CXX="$predep_objects_CXX $p"
16072 if test -z "$postdep_objects_CXX"; then
16073 postdep_objects_CXX="$p"
16075 postdep_objects_CXX="$postdep_objects_CXX $p"
16080 *) ;; # Ignore the rest.
16088 echo "libtool.m4: error: problem compiling CXX test program"
16091 $RM -f confest.$objext
16092 CFLAGS=$_lt_libdeps_save_CFLAGS
16094 # PORTME: override above test on systems where it is broken
16097 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16098 # hack all around it, let's just trust "g++" to DTRT.
16099 predep_objects_CXX=
16100 postdep_objects_CXX=
16105 case `$CC -V 2>&1 | sed 5q` in
16109 # The more standards-conforming stlport4 library is
16110 # incompatible with the Cstd library. Avoid specifying
16111 # it if it's in CXXFLAGS. Ignore libCrun as
16112 # -library=stlport4 depends on it.
16113 case " $CXX $CXXFLAGS " in
16114 *" -library=stlport4 "*)
16115 solaris_use_stlport4=yes
16119 if test "$solaris_use_stlport4" != yes; then
16120 postdeps_CXX='-library=Cstd -library=Crun'
16127 case $cc_basename in
16129 # The more standards-conforming stlport4 library is
16130 # incompatible with the Cstd library. Avoid specifying
16131 # it if it's in CXXFLAGS. Ignore libCrun as
16132 # -library=stlport4 depends on it.
16133 case " $CXX $CXXFLAGS " in
16134 *" -library=stlport4 "*)
16135 solaris_use_stlport4=yes
16139 # Adding this requires a known-good setup of shared libraries for
16140 # Sun compiler versions before 5.6, else PIC objects from an old
16141 # archive will be linked into the output, leading to subtle bugs.
16142 if test "$solaris_use_stlport4" != yes; then
16143 postdeps_CXX='-library=Cstd -library=Crun'
16151 case " $postdeps_CXX " in
16152 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16154 compiler_lib_search_dirs_CXX=
16155 if test -n "${compiler_lib_search_path_CXX}"; then
16156 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16189 lt_prog_compiler_wl_CXX=
16190 lt_prog_compiler_pic_CXX=
16191 lt_prog_compiler_static_CXX=
16194 # C++ specific cases for pic, static, wl, etc.
16195 if test "$GXX" = yes; then
16196 lt_prog_compiler_wl_CXX='-Wl,'
16197 lt_prog_compiler_static_CXX='-static'
16201 # All AIX code is PIC.
16202 if test "$host_cpu" = ia64; then
16203 # AIX 5 now supports IA64 processor
16204 lt_prog_compiler_static_CXX='-Bstatic'
16211 # see comment about AmigaOS4 .so support
16212 lt_prog_compiler_pic_CXX='-fPIC'
16215 # FIXME: we need at least 68020 code to build shared libraries, but
16216 # adding the `-m68020' flag to GCC prevents building anything better,
16218 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16223 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16224 # PIC is the default for these OSes.
16226 mingw* | cygwin* | os2* | pw32* | cegcc*)
16227 # This hack is so that the source file can tell whether it is being
16228 # built for inclusion in a dll (and should export symbols for example).
16229 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16230 # (--disable-auto-import) libraries
16231 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16233 darwin* | rhapsody*)
16234 # PIC is the default on this platform
16235 # Common symbols not allowed in MH_DYLIB files
16236 lt_prog_compiler_pic_CXX='-fno-common'
16239 # DJGPP does not support shared libraries at all
16240 lt_prog_compiler_pic_CXX=
16243 # PIC is the default for Haiku.
16244 # The "-static" flag exists, but is broken.
16245 lt_prog_compiler_static_CXX=
16248 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16249 # Instead, we relocate shared libraries at runtime.
16252 if test -d /usr/nec; then
16253 lt_prog_compiler_pic_CXX=-Kconform_pic
16257 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16258 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16259 # sets the default TLS model and affects inlining.
16264 lt_prog_compiler_pic_CXX='-fPIC'
16269 # QNX uses GNU C++, but need to define -shared option too, otherwise
16270 # it will coredump.
16271 lt_prog_compiler_pic_CXX='-fPIC -shared'
16274 lt_prog_compiler_pic_CXX='-fPIC'
16280 # All AIX code is PIC.
16281 if test "$host_cpu" = ia64; then
16282 # AIX 5 now supports IA64 processor
16283 lt_prog_compiler_static_CXX='-Bstatic'
16285 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16289 case $cc_basename in
16291 # Green Hills C++ Compiler
16292 # _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"
16296 mingw* | cygwin* | os2* | pw32* | cegcc*)
16297 # This hack is so that the source file can tell whether it is being
16298 # built for inclusion in a dll (and should export symbols for example).
16299 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16302 case $cc_basename in
16304 lt_prog_compiler_pic_CXX='-KPIC'
16307 # Green Hills C++ Compiler
16308 lt_prog_compiler_pic_CXX='-pic'
16314 freebsd* | dragonfly*)
16315 # FreeBSD uses GNU C++
16317 hpux9* | hpux10* | hpux11*)
16318 case $cc_basename in
16320 lt_prog_compiler_wl_CXX='-Wl,'
16321 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16322 if test "$host_cpu" != ia64; then
16323 lt_prog_compiler_pic_CXX='+Z'
16327 lt_prog_compiler_wl_CXX='-Wl,'
16328 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16334 lt_prog_compiler_pic_CXX='+Z'
16343 # This is c89, which is MS Visual C++ (no shared libs)
16344 # Anyone wants to do a port?
16346 irix5* | irix6* | nonstopux*)
16347 case $cc_basename in
16349 lt_prog_compiler_wl_CXX='-Wl,'
16350 lt_prog_compiler_static_CXX='-non_shared'
16351 # CC pic flag -KPIC is the default.
16357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16358 case $cc_basename in
16361 lt_prog_compiler_wl_CXX='--backend -Wl,'
16362 lt_prog_compiler_pic_CXX='-fPIC'
16365 # old Intel C++ for x86_64 which still supported -KPIC.
16366 lt_prog_compiler_wl_CXX='-Wl,'
16367 lt_prog_compiler_pic_CXX='-KPIC'
16368 lt_prog_compiler_static_CXX='-static'
16371 # Intel C++, used to be incompatible with GCC.
16372 # ICC 10 doesn't accept -KPIC any more.
16373 lt_prog_compiler_wl_CXX='-Wl,'
16374 lt_prog_compiler_pic_CXX='-fPIC'
16375 lt_prog_compiler_static_CXX='-static'
16378 # Portland Group C++ compiler
16379 lt_prog_compiler_wl_CXX='-Wl,'
16380 lt_prog_compiler_pic_CXX='-fpic'
16381 lt_prog_compiler_static_CXX='-Bstatic'
16385 # Make sure the PIC flag is empty. It appears that all Alpha
16386 # Linux and Compaq Tru64 Unix objects are PIC.
16387 lt_prog_compiler_pic_CXX=
16388 lt_prog_compiler_static_CXX='-non_shared'
16390 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16391 # IBM XL 8.0, 9.0 on PPC and BlueGene
16392 lt_prog_compiler_wl_CXX='-Wl,'
16393 lt_prog_compiler_pic_CXX='-qpic'
16394 lt_prog_compiler_static_CXX='-qstaticlink'
16397 case `$CC -V 2>&1 | sed 5q` in
16400 lt_prog_compiler_pic_CXX='-KPIC'
16401 lt_prog_compiler_static_CXX='-Bstatic'
16402 lt_prog_compiler_wl_CXX='-Qoption ld '
16413 case $cc_basename in
16415 lt_prog_compiler_pic_CXX='-W c,exportall'
16424 # QNX uses GNU C++, but need to define -shared option too, otherwise
16425 # it will coredump.
16426 lt_prog_compiler_pic_CXX='-fPIC -shared'
16428 osf3* | osf4* | osf5*)
16429 case $cc_basename in
16431 lt_prog_compiler_wl_CXX='--backend -Wl,'
16434 # Rational C++ 2.4.1
16435 lt_prog_compiler_pic_CXX='-pic'
16438 # Digital/Compaq C++
16439 lt_prog_compiler_wl_CXX='-Wl,'
16440 # Make sure the PIC flag is empty. It appears that all Alpha
16441 # Linux and Compaq Tru64 Unix objects are PIC.
16442 lt_prog_compiler_pic_CXX=
16443 lt_prog_compiler_static_CXX='-non_shared'
16452 case $cc_basename in
16454 # Sun C++ 4.2, 5.x and Centerline C++
16455 lt_prog_compiler_pic_CXX='-KPIC'
16456 lt_prog_compiler_static_CXX='-Bstatic'
16457 lt_prog_compiler_wl_CXX='-Qoption ld '
16460 # Green Hills C++ Compiler
16461 lt_prog_compiler_pic_CXX='-PIC'
16468 case $cc_basename in
16471 lt_prog_compiler_pic_CXX='-pic'
16472 lt_prog_compiler_static_CXX='-Bstatic'
16476 lt_prog_compiler_pic_CXX='-pic'
16482 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16483 case $cc_basename in
16485 lt_prog_compiler_wl_CXX='-Wl,'
16486 lt_prog_compiler_pic_CXX='-KPIC'
16487 lt_prog_compiler_static_CXX='-Bstatic'
16492 case $cc_basename in
16494 # NonStop-UX NCC 3.20
16495 lt_prog_compiler_pic_CXX='-KPIC'
16504 lt_prog_compiler_can_build_shared_CXX=no
16510 # For platforms which do not support PIC, -DPIC is meaningless:
16512 lt_prog_compiler_pic_CXX=
16515 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16520 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16521 if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then :
16522 $as_echo_n "(cached) " >&6
16524 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16527 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16528 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16531 # Check to make sure the PIC flag actually works.
16533 if test -n "$lt_prog_compiler_pic_CXX"; then
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16535 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16536 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16537 $as_echo_n "(cached) " >&6
16539 lt_cv_prog_compiler_pic_works_CXX=no
16540 ac_outfile=conftest.$ac_objext
16541 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16542 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16543 # Insert the option either (1) after the last *FLAGS variable, or
16544 # (2) before a word containing "conftest.", or (3) at the end.
16545 # Note that $ac_compile itself does not contain backslashes and begins
16546 # with a dollar sign (not a hyphen), so the echo should work correctly.
16547 # The option is referenced via a variable to avoid confusing sed.
16548 lt_compile=`echo "$ac_compile" | $SED \
16549 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16550 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16551 -e 's:$: $lt_compiler_flag:'`
16552 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16553 (eval "$lt_compile" 2>conftest.err)
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 if (exit $ac_status) && test -s "$ac_outfile"; then
16558 # The compiler can only warn and ignore the option if not recognized
16559 # So say no if there are warnings other than the usual output.
16560 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16562 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16563 lt_cv_prog_compiler_pic_works_CXX=yes
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16570 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16572 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16573 case $lt_prog_compiler_pic_CXX in
16575 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16578 lt_prog_compiler_pic_CXX=
16579 lt_prog_compiler_can_build_shared_CXX=no
16589 # Check to make sure the static flag actually works.
16591 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16593 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16594 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16595 $as_echo_n "(cached) " >&6
16597 lt_cv_prog_compiler_static_works_CXX=no
16598 save_LDFLAGS="$LDFLAGS"
16599 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16600 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16601 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16602 # The linker can only warn and ignore the option if not recognized
16603 # So say no if there are warnings
16604 if test -s conftest.err; then
16605 # Append any errors to the config.log.
16606 cat conftest.err 1>&5
16607 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16608 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16609 if diff conftest.exp conftest.er2 >/dev/null; then
16610 lt_cv_prog_compiler_static_works_CXX=yes
16613 lt_cv_prog_compiler_static_works_CXX=yes
16617 LDFLAGS="$save_LDFLAGS"
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16621 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16623 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16626 lt_prog_compiler_static_CXX=
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16634 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16635 $as_echo_n "(cached) " >&6
16637 lt_cv_prog_compiler_c_o_CXX=no
16638 $RM -r conftest 2>/dev/null
16642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16644 lt_compiler_flag="-o out/conftest2.$ac_objext"
16645 # Insert the option either (1) after the last *FLAGS variable, or
16646 # (2) before a word containing "conftest.", or (3) at the end.
16647 # Note that $ac_compile itself does not contain backslashes and begins
16648 # with a dollar sign (not a hyphen), so the echo should work correctly.
16649 lt_compile=`echo "$ac_compile" | $SED \
16650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16652 -e 's:$: $lt_compiler_flag:'`
16653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16654 (eval "$lt_compile" 2>out/conftest.err)
16656 cat out/conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16660 # The compiler can only warn and ignore the option if not recognized
16661 # So say no if there are warnings
16662 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16663 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16664 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16665 lt_cv_prog_compiler_c_o_CXX=yes
16670 # SGI C++ compiler will create directory out/ii_files/ for
16671 # template instantiation
16672 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16673 $RM out/* && rmdir out
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16680 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16686 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16687 $as_echo_n "(cached) " >&6
16689 lt_cv_prog_compiler_c_o_CXX=no
16690 $RM -r conftest 2>/dev/null
16694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16696 lt_compiler_flag="-o out/conftest2.$ac_objext"
16697 # Insert the option either (1) after the last *FLAGS variable, or
16698 # (2) before a word containing "conftest.", or (3) at the end.
16699 # Note that $ac_compile itself does not contain backslashes and begins
16700 # with a dollar sign (not a hyphen), so the echo should work correctly.
16701 lt_compile=`echo "$ac_compile" | $SED \
16702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16704 -e 's:$: $lt_compiler_flag:'`
16705 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16706 (eval "$lt_compile" 2>out/conftest.err)
16708 cat out/conftest.err >&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16712 # The compiler can only warn and ignore the option if not recognized
16713 # So say no if there are warnings
16714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16715 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16716 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16717 lt_cv_prog_compiler_c_o_CXX=yes
16722 # SGI C++ compiler will create directory out/ii_files/ for
16723 # template instantiation
16724 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16725 $RM out/* && rmdir out
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16732 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16737 hard_links="nottested"
16738 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16739 # do not overwrite the value of need_locks provided by the user
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16741 $as_echo_n "checking if we can lock with hard links... " >&6; }
16744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16746 ln conftest.a conftest.b 2>&5 || hard_links=no
16747 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16749 $as_echo "$hard_links" >&6; }
16750 if test "$hard_links" = no; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16752 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16764 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16765 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16768 # If we're using GNU nm, then we don't want the "-C" option.
16769 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16770 # Also, AIX nm treats weak defined symbols like other global defined
16771 # symbols, whereas GNU nm marks them as "W".
16772 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16773 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'
16775 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'
16779 export_symbols_cmds_CXX="$ltdll_cmds"
16781 cygwin* | mingw* | cegcc*)
16782 case $cc_basename in
16785 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'
16786 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16791 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16796 $as_echo "$ld_shlibs_CXX" >&6; }
16797 test "$ld_shlibs_CXX" = no && can_build_shared=no
16799 with_gnu_ld_CXX=$with_gnu_ld
16807 # Do we need to explicitly link libc?
16809 case "x$archive_cmds_need_lc_CXX" in
16811 # Assume -lc should be added
16812 archive_cmds_need_lc_CXX=yes
16814 if test "$enable_shared" = yes && test "$GCC" = yes; then
16815 case $archive_cmds_CXX in
16817 # FIXME: we may have to deal with multi-command sequences.
16820 # Test whether the compiler implicitly links with -lc since on some
16821 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16822 # to ld, don't add -lc before -lgcc.
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16824 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16825 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
16826 $as_echo_n "(cached) " >&6
16829 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16832 (eval $ac_compile) 2>&5
16834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16835 test $ac_status = 0; } 2>conftest.err; then
16838 libobjs=conftest.$ac_objext
16840 wl=$lt_prog_compiler_wl_CXX
16841 pic_flag=$lt_prog_compiler_pic_CXX
16847 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16848 allow_undefined_flag_CXX=
16849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16850 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16853 test $ac_status = 0; }
16855 lt_cv_archive_cmds_need_lc_CXX=no
16857 lt_cv_archive_cmds_need_lc_CXX=yes
16859 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16861 cat conftest.err 1>&5
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16867 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16868 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16939 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16941 library_names_spec=
16942 libname_spec='lib$name'
16946 postuninstall_cmds=
16950 shlibpath_overrides_runpath=unknown
16952 dynamic_linker="$host_os ld.so"
16953 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16954 need_lib_prefix=unknown
16955 hardcode_into_libs=no
16957 # when you set need_version to no, make sure it does not cause -set_version
16958 # flags to be left without arguments
16959 need_version=unknown
16964 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16965 shlibpath_var=LIBPATH
16967 # AIX 3 has no versioning support, so we append a major version to the name.
16968 soname_spec='${libname}${release}${shared_ext}$major'
16975 hardcode_into_libs=yes
16976 if test "$host_cpu" = ia64; then
16977 # AIX 5 supports IA64
16978 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16979 shlibpath_var=LD_LIBRARY_PATH
16981 # With GCC up to 2.95.x, collect2 would create an import file
16982 # for dependence libraries. The import file would start with
16983 # the line `#! .'. This would cause the generated library to
16984 # depend on `.', always an invalid library. This was fixed in
16985 # development snapshots of GCC prior to 3.0.
16987 aix4 | aix4.[01] | aix4.[01].*)
16988 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16990 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16993 can_build_shared=no
16997 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16998 # soname into executable. Probably we can add versioning support to
16999 # collect2, so additional links can be useful in future.
17000 if test "$aix_use_runtimelinking" = yes; then
17001 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17002 # instead of lib<name>.a to let people know that these are not
17003 # typical AIX shared libraries.
17004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17006 # We preserve .a as extension for shared libraries through AIX4.2
17007 # and later when we are not doing run time linking.
17008 library_names_spec='${libname}${release}.a $libname.a'
17009 soname_spec='${libname}${release}${shared_ext}$major'
17011 shlibpath_var=LIBPATH
17018 # Since July 2007 AmigaOS4 officially supports .so libraries.
17019 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17023 library_names_spec='$libname.ixlibrary $libname.a'
17024 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17025 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'
17031 library_names_spec='${libname}${shared_ext}'
17032 dynamic_linker="$host_os ld.so"
17033 shlibpath_var=LIBRARY_PATH
17039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17040 soname_spec='${libname}${release}${shared_ext}$major'
17041 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17042 shlibpath_var=LD_LIBRARY_PATH
17043 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17044 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17045 # the default ld.so.conf also contains /usr/contrib/lib and
17046 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17047 # libtool to hard-code these into programs
17050 cygwin* | mingw* | pw32* | cegcc*)
17051 version_type=windows
17056 case $GCC,$cc_basename in
17059 library_names_spec='$libname.dll.a'
17060 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17061 postinstall_cmds='base_file=`basename \${file}`~
17062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17063 dldir=$destdir/`dirname \$dlpath`~
17064 test -d \$dldir || mkdir -p \$dldir~
17065 $install_prog $dir/$dlname \$dldir/$dlname~
17066 chmod a+x \$dldir/$dlname~
17067 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17068 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17070 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17071 dlpath=$dir/\$dldll~
17073 shlibpath_overrides_runpath=yes
17077 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17078 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17082 # MinGW DLLs use traditional 'lib' prefix
17083 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17086 # pw32 DLLs use 'pw' prefix rather than 'lib'
17087 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17090 dynamic_linker='Win32 ld.exe'
17095 libname_spec='$name'
17096 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17097 library_names_spec='${libname}.dll.lib'
17101 sys_lib_search_path_spec=
17104 for lt_path in $LIB
17107 # Let DOS variable expansion print the short 8.3 style file name.
17108 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17109 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17112 # Convert to MSYS style.
17113 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17116 # Convert to unix form, then to dos form, then back to unix form
17117 # but this time dos style (no spaces!) so that the unix form looks
17118 # like /cygdrive/c/PROGRA~1:/cygdr...
17119 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17120 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17121 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17124 sys_lib_search_path_spec="$LIB"
17125 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17126 # It is most probably a Windows format PATH.
17127 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17129 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17131 # FIXME: find the short name or the path components, as spaces are
17132 # common. (e.g. "Program Files" -> "PROGRA~1")
17136 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17137 postinstall_cmds='base_file=`basename \${file}`~
17138 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17139 dldir=$destdir/`dirname \$dlpath`~
17140 test -d \$dldir || mkdir -p \$dldir~
17141 $install_prog $dir/$dlname \$dldir/$dlname'
17142 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17143 dlpath=$dir/\$dldll~
17145 shlibpath_overrides_runpath=yes
17146 dynamic_linker='Win32 link.exe'
17150 # Assume MSVC wrapper
17151 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17152 dynamic_linker='Win32 ld.exe'
17155 # FIXME: first we should search . and the directory the executable is in
17159 darwin* | rhapsody*)
17160 dynamic_linker="$host_os dyld"
17161 version_type=darwin
17164 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17165 soname_spec='${libname}${release}${major}$shared_ext'
17166 shlibpath_overrides_runpath=yes
17167 shlibpath_var=DYLD_LIBRARY_PATH
17168 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17170 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17178 soname_spec='${libname}${release}${shared_ext}$major'
17179 shlibpath_var=LD_LIBRARY_PATH
17186 freebsd* | dragonfly*)
17187 # DragonFly does not have aout. When/if they implement a new
17188 # versioning mechanism, adjust this.
17189 if test -x /usr/bin/objformat; then
17190 objformat=`/usr/bin/objformat`
17193 freebsd[123]*) objformat=aout ;;
17194 *) objformat=elf ;;
17197 version_type=freebsd-$objformat
17198 case $version_type in
17200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17205 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17209 shlibpath_var=LD_LIBRARY_PATH
17212 shlibpath_overrides_runpath=yes
17214 freebsd3.[01]* | freebsdelf3.[01]*)
17215 shlibpath_overrides_runpath=yes
17216 hardcode_into_libs=yes
17218 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17219 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17220 shlibpath_overrides_runpath=no
17221 hardcode_into_libs=yes
17223 *) # from 4.6 on, and DragonFly
17224 shlibpath_overrides_runpath=yes
17225 hardcode_into_libs=yes
17234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17235 soname_spec='${libname}${release}${shared_ext}$major'
17236 shlibpath_var=LD_LIBRARY_PATH
17237 hardcode_into_libs=yes
17244 dynamic_linker="$host_os runtime_loader"
17245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17246 soname_spec='${libname}${release}${shared_ext}$major'
17247 shlibpath_var=LIBRARY_PATH
17248 shlibpath_overrides_runpath=yes
17249 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17250 hardcode_into_libs=yes
17253 hpux9* | hpux10* | hpux11*)
17254 # Give a soname corresponding to the major version so that dld.sl refuses to
17255 # link against other versions.
17262 hardcode_into_libs=yes
17263 dynamic_linker="$host_os dld.so"
17264 shlibpath_var=LD_LIBRARY_PATH
17265 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17267 soname_spec='${libname}${release}${shared_ext}$major'
17268 if test "X$HPUX_IA64_MODE" = X32; then
17269 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17271 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17273 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17277 hardcode_into_libs=yes
17278 dynamic_linker="$host_os dld.sl"
17279 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17284 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17288 dynamic_linker="$host_os dld.sl"
17289 shlibpath_var=SHLIB_PATH
17290 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17292 soname_spec='${libname}${release}${shared_ext}$major'
17295 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17296 postinstall_cmds='chmod 555 $lib'
17297 # or fails outright, so override atomically:
17298 install_override_mode=555
17305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17306 soname_spec='${libname}${release}${shared_ext}$major'
17307 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17308 shlibpath_var=LD_LIBRARY_PATH
17309 shlibpath_overrides_runpath=no
17310 hardcode_into_libs=yes
17313 irix5* | irix6* | nonstopux*)
17315 nonstopux*) version_type=nonstopux ;;
17317 if test "$lt_cv_prog_gnu_ld" = yes; then
17325 soname_spec='${libname}${release}${shared_ext}$major'
17326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17328 irix5* | nonstopux*)
17329 libsuff= shlibsuff=
17332 case $LD in # libtool.m4 will add one of these switches to LD
17333 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17334 libsuff= shlibsuff= libmagic=32-bit;;
17335 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17336 libsuff=32 shlibsuff=N32 libmagic=N32;;
17337 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17338 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17339 *) libsuff= shlibsuff= libmagic=never-match;;
17343 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17344 shlibpath_overrides_runpath=no
17345 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17346 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17347 hardcode_into_libs=yes
17350 # No shared lib support for Linux oldld, aout, or coff.
17351 linux*oldld* | linux*aout* | linux*coff*)
17355 # This must be Linux ELF.
17356 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17361 soname_spec='${libname}${release}${shared_ext}$major'
17362 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17363 shlibpath_var=LD_LIBRARY_PATH
17364 shlibpath_overrides_runpath=no
17366 # Some binutils ld are patched to set DT_RUNPATH
17367 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
17368 $as_echo_n "(cached) " >&6
17370 lt_cv_shlibpath_overrides_runpath=no
17371 save_LDFLAGS=$LDFLAGS
17372 save_libdir=$libdir
17373 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17374 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17386 if ac_fn_cxx_try_link "$LINENO"; then :
17387 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17388 lt_cv_shlibpath_overrides_runpath=yes
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17393 LDFLAGS=$save_LDFLAGS
17394 libdir=$save_libdir
17398 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17400 # This implies no fast_install, which is unacceptable.
17401 # Some rework will be needed to allow for fast_install
17402 # before this can be enabled.
17403 hardcode_into_libs=yes
17405 # Append ld.so.conf contents to the search path
17406 if test -f /etc/ld.so.conf; then
17407 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' ' '`
17408 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17411 # We used to test for /lib/ld.so.1 and disable shared libraries on
17412 # powerpc, because MkLinux only supported shared libraries with the
17413 # GNU dynamic linker. Since this was broken with cross compilers,
17414 # most powerpc-linux boxes support dynamic linking these days and
17415 # people can always --disable-shared, the test was removed, and we
17416 # assume the GNU/Linux dynamic linker is in use.
17417 dynamic_linker='GNU/Linux ld.so'
17424 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17426 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17427 dynamic_linker='NetBSD (a.out) ld.so'
17429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17430 soname_spec='${libname}${release}${shared_ext}$major'
17431 dynamic_linker='NetBSD ld.elf_so'
17433 shlibpath_var=LD_LIBRARY_PATH
17434 shlibpath_overrides_runpath=yes
17435 hardcode_into_libs=yes
17440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17441 shlibpath_var=LD_LIBRARY_PATH
17442 shlibpath_overrides_runpath=yes
17449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17450 soname_spec='${libname}${release}${shared_ext}$major'
17451 shlibpath_var=LD_LIBRARY_PATH
17452 shlibpath_overrides_runpath=no
17453 hardcode_into_libs=yes
17454 dynamic_linker='ldqnx.so'
17459 sys_lib_dlsearch_path_spec="/usr/lib"
17461 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17463 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17464 *) need_version=no ;;
17466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17468 shlibpath_var=LD_LIBRARY_PATH
17469 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17471 openbsd2.[89] | openbsd2.[89].*)
17472 shlibpath_overrides_runpath=no
17475 shlibpath_overrides_runpath=yes
17479 shlibpath_overrides_runpath=yes
17484 libname_spec='$name'
17487 library_names_spec='$libname${shared_ext} $libname.a'
17488 dynamic_linker='OS/2 ld.exe'
17489 shlibpath_var=LIBPATH
17492 osf3* | osf4* | osf5*)
17496 soname_spec='${libname}${release}${shared_ext}$major'
17497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17498 shlibpath_var=LD_LIBRARY_PATH
17499 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17500 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17512 soname_spec='${libname}${release}${shared_ext}$major'
17513 shlibpath_var=LD_LIBRARY_PATH
17514 shlibpath_overrides_runpath=yes
17515 hardcode_into_libs=yes
17516 # ldd complains unless libraries are executable
17517 postinstall_cmds='chmod +x $lib'
17522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17523 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17524 shlibpath_var=LD_LIBRARY_PATH
17525 shlibpath_overrides_runpath=yes
17526 if test "$with_gnu_ld" = yes; then
17534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17535 soname_spec='${libname}${release}${shared_ext}$major'
17536 shlibpath_var=LD_LIBRARY_PATH
17537 case $host_vendor in
17539 shlibpath_overrides_runpath=no
17541 runpath_var=LD_RUN_PATH
17549 shlibpath_overrides_runpath=no
17550 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17556 if test -d /usr/nec ;then
17558 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17559 soname_spec='$libname${shared_ext}.$major'
17560 shlibpath_var=LD_LIBRARY_PATH
17564 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17565 version_type=freebsd-elf
17568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17569 soname_spec='${libname}${release}${shared_ext}$major'
17570 shlibpath_var=LD_LIBRARY_PATH
17571 shlibpath_overrides_runpath=yes
17572 hardcode_into_libs=yes
17573 if test "$with_gnu_ld" = yes; then
17574 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17576 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17579 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17583 sys_lib_dlsearch_path_spec='/usr/lib'
17587 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17592 shlibpath_var=LD_LIBRARY_PATH
17593 shlibpath_overrides_runpath=no
17594 hardcode_into_libs=yes
17599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17600 soname_spec='${libname}${release}${shared_ext}$major'
17601 shlibpath_var=LD_LIBRARY_PATH
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17609 $as_echo "$dynamic_linker" >&6; }
17610 test "$dynamic_linker" = no && can_build_shared=no
17612 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17613 if test "$GCC" = yes; then
17614 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17617 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17618 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17620 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17621 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17662 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17663 hardcode_action_CXX=
17664 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17665 test -n "$runpath_var_CXX" ||
17666 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17668 # We can hardcode non-existent directories.
17669 if test "$hardcode_direct_CXX" != no &&
17670 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17671 # have to relink, otherwise we might link with an installed library
17672 # when we should be linking with a yet-to-be-installed one
17673 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17674 test "$hardcode_minus_L_CXX" != no; then
17675 # Linking always hardcodes the temporary library directory.
17676 hardcode_action_CXX=relink
17678 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17679 hardcode_action_CXX=immediate
17682 # We cannot hardcode anything, or else we can only hardcode existing
17684 hardcode_action_CXX=unsupported
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17687 $as_echo "$hardcode_action_CXX" >&6; }
17689 if test "$hardcode_action_CXX" = relink ||
17690 test "$inherit_rpath_CXX" = yes; then
17691 # Fast installation is not supported
17692 enable_fast_install=no
17693 elif test "$shlibpath_overrides_runpath" = yes ||
17694 test "$enable_shared" = no; then
17695 # Fast installation is not necessary
17696 enable_fast_install=needless
17705 fi # test -n "$compiler"
17708 CFLAGS=$lt_save_CFLAGS
17712 with_gnu_ld=$lt_save_with_gnu_ld
17713 lt_cv_path_LDCXX=$lt_cv_path_LD
17714 lt_cv_path_LD=$lt_save_path_LD
17715 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17716 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17717 fi # test "$_lt_caught_CXX_error" != yes
17720 ac_cpp='$CPP $CPPFLAGS'
17721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728 if test "$GCC" = "yes" ; then
17729 # AC_HAVE_GCC_VERSION(4,0,0,0,
17731 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17732 # [Define to enable class visibility control in gcc.])
17733 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17734 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17736 CFLAGS="-Wall $GCC_CFLAGS"
17737 CXXFLAGS="-Wall $GCC_CXXFLAGS"
17739 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17740 case "${host_cpu}-${host_os}" in
17742 if test "$CXX" = "CC" ; then
17743 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17747 CXXFLAGS="$CXXFLAGS -D_POSIX_PII_SOCKET"
17753 ac_cpp='$CPP $CPPFLAGS'
17754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17759 # Checks for typedefs, structures, and compiler characteristics.
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17761 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17762 if test "${ac_cv_c_const+set}" = set; then :
17763 $as_echo_n "(cached) " >&6
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17771 /* FIXME: Include the comments suggested by Paul. */
17772 #ifndef __cplusplus
17773 /* Ultrix mips cc rejects this. */
17774 typedef int charset[2];
17776 /* SunOS 4.1.1 cc rejects this. */
17777 char const *const *pcpcc;
17779 /* NEC SVR4.0.2 mips cc rejects this. */
17780 struct point {int x, y;};
17781 static struct point const zero = {0,0};
17782 /* AIX XL C 1.02.0.0 rejects this.
17783 It does not let you subtract one const X* pointer from another in
17784 an arm of an if-expression whose if-part is not a constant
17786 const char *g = "string";
17787 pcpcc = &g + (g ? g-g : 0);
17788 /* HPUX 7.0 cc rejects these. */
17790 ppc = (char**) pcpcc;
17791 pcpcc = (char const *const *) ppc;
17792 { /* SCO 3.2v4 cc rejects this. */
17794 char const *s = 0 ? (char *) 0 : (char const *) 0;
17799 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17800 int x[] = {25, 17};
17801 const int *foo = &x[0];
17804 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17805 typedef const int *iptr;
17809 { /* AIX XL C 1.02.0.0 rejects this saying
17810 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17811 struct s { int j; const int *ap[3]; };
17812 struct s *b; b->j = 5;
17814 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17815 const int foo = 10;
17816 if (!foo) return 0;
17818 return !cs[0] && !zero.x;
17825 if ac_fn_c_try_compile "$LINENO"; then :
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17833 $as_echo "$ac_cv_c_const" >&6; }
17834 if test $ac_cv_c_const = no; then
17836 $as_echo "#define const /**/" >>confdefs.h
17840 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17841 if test "x$ac_cv_type_size_t" = x""yes; then :
17845 cat >>confdefs.h <<_ACEOF
17846 #define size_t unsigned int
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17852 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17853 if test "${ac_cv_struct_tm+set}" = set; then :
17854 $as_echo_n "(cached) " >&6
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #include <sys/types.h>
17865 int *p = &tm.tm_sec;
17871 if ac_fn_c_try_compile "$LINENO"; then :
17872 ac_cv_struct_tm=time.h
17874 ac_cv_struct_tm=sys/time.h
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17879 $as_echo "$ac_cv_struct_tm" >&6; }
17880 if test $ac_cv_struct_tm = sys/time.h; then
17882 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17887 # Checks for library functions.
17888 for ac_func in strftime
17890 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
17891 if test "x$ac_cv_func_strftime" = x""yes; then :
17892 cat >>confdefs.h <<_ACEOF
17893 #define HAVE_STRFTIME 1
17897 # strftime is in -lintl on SCO UNIX.
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
17899 $as_echo_n "checking for strftime in -lintl... " >&6; }
17900 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
17901 $as_echo_n "(cached) " >&6
17903 ac_check_lib_save_LIBS=$LIBS
17904 LIBS="-lintl $LIBS"
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17908 /* Override any GCC internal prototype to avoid an error.
17909 Use char because int might match the return type of a GCC
17910 builtin and then its argument prototype would still apply. */
17918 return strftime ();
17923 if ac_fn_c_try_link "$LINENO"; then :
17924 ac_cv_lib_intl_strftime=yes
17926 ac_cv_lib_intl_strftime=no
17928 rm -f core conftest.err conftest.$ac_objext \
17929 conftest$ac_exeext conftest.$ac_ext
17930 LIBS=$ac_check_lib_save_LIBS
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
17933 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
17934 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
17935 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
17937 LIBS="-lintl $LIBS"
17943 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
17944 if test "x$ac_cv_have_decl_strerror_r" = x""yes; then :
17950 cat >>confdefs.h <<_ACEOF
17951 #define HAVE_DECL_STRERROR_R $ac_have_decl
17954 for ac_func in strerror_r
17956 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
17957 if test "x$ac_cv_func_strerror_r" = x""yes; then :
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_STRERROR_R 1
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
17966 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
17967 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
17968 $as_echo_n "(cached) " >&6
17971 ac_cv_func_strerror_r_char_p=no
17972 if test $ac_cv_have_decl_strerror_r = yes; then
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17975 $ac_includes_default
17981 char x = *strerror_r (0, buf, sizeof buf);
17982 char *p = strerror_r (0, buf, sizeof buf);
17989 if ac_fn_c_try_compile "$LINENO"; then :
17990 ac_cv_func_strerror_r_char_p=yes
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 # strerror_r is not declared. Choose between
17995 # systems that have relatively inaccessible declarations for the
17996 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
17997 # former has a strerror_r that returns char*, while the latter
17998 # has a strerror_r that returns `int'.
17999 # This test should segfault on the DEC system.
18000 if test "$cross_compiling" = yes; then :
18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18004 /* end confdefs.h. */
18005 $ac_includes_default
18006 extern char *strerror_r ();
18011 char x = *strerror_r (0, buf, sizeof buf);
18012 return ! isalpha (x);
18017 if ac_fn_c_try_run "$LINENO"; then :
18018 ac_cv_func_strerror_r_char_p=yes
18020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18021 conftest.$ac_objext conftest.beam conftest.$ac_ext
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18028 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
18029 if test $ac_cv_func_strerror_r_char_p = yes; then
18031 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
18035 for ac_header in sys/utsname.h grp.h pwd.h
18037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18038 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18039 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18040 cat >>confdefs.h <<_ACEOF
18041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18048 for ac_func in strchr strdup strstr timegm gmtime_r strtok_r strcasecmp getpwnam getgrnam
18050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18052 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18053 cat >>confdefs.h <<_ACEOF
18054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18061 # checks for pthreads
18065 ac_cpp='$CPP $CPPFLAGS'
18066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18072 # We used to check for pthread.h first, but this fails if pthread.h
18073 # requires special compiler flags (e.g. on True64 or Sequent).
18074 # It gets checked for in the link test anyway.
18076 # First of all, check if the user has set any of the PTHREAD_LIBS,
18077 # etcetera environment variables, and if threads linking works using
18079 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
18080 save_CFLAGS="$CFLAGS"
18081 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18083 LIBS="$PTHREAD_LIBS $LIBS"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18085 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18089 /* Override any GCC internal prototype to avoid an error.
18090 Use char because int might match the return type of a GCC
18091 builtin and then its argument prototype would still apply. */
18095 char pthread_join ();
18099 return pthread_join ();
18104 if ac_fn_c_try_link "$LINENO"; then :
18107 rm -f core conftest.err conftest.$ac_objext \
18108 conftest$ac_exeext conftest.$ac_ext
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18110 $as_echo "$acx_pthread_ok" >&6; }
18111 if test x"$acx_pthread_ok" = xno; then
18116 CFLAGS="$save_CFLAGS"
18119 # We must check for the threads library under a number of different
18120 # names; the ordering is very important because some systems
18121 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18122 # libraries is broken (non-POSIX).
18124 # Create a list of thread flags to try. Items starting with a "-" are
18125 # C compiler flags, and other items are library names, except for "none"
18126 # which indicates that we try without any flags at all, and "pthread-config"
18127 # which is a program returning the flags for the Pth emulation library.
18129 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18131 # The ordering *is* (sometimes) important. Some notes on the
18132 # individual items follow:
18134 # pthreads: AIX (must check this before -lpthread)
18135 # none: in case threads are in libc; should be tried before -Kthread and
18136 # other compiler flags to prevent continual compiler warnings
18137 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18138 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18139 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18140 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18141 # -pthreads: Solaris/gcc
18142 # -mthreads: Mingw32/gcc, Lynx/gcc
18143 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18144 # doesn't hurt to check since this sometimes defines pthreads too;
18145 # also defines -D_REENTRANT)
18146 # ... -mt is also the pthreads flag for HP/aCC
18147 # pthread: Linux, etcetera
18148 # --thread-safe: KAI C++
18149 # pthread-config: use pthread-config program (for GNU Pth library)
18151 case "${host_cpu}-${host_os}" in
18154 # On Solaris (at least, for some versions), libc contains stubbed
18155 # (non-functional) versions of the pthreads routines, so link-based
18156 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
18157 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18158 # a function called by this macro, so we could check for that, but
18159 # who knows whether they'll stub that too in a future libc.) So,
18160 # we'll just look for -pthreads and -lpthread first:
18162 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18166 if test x"$acx_pthread_ok" = xno; then
18167 for flag in $acx_pthread_flags; do
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18172 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18177 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18178 PTHREAD_CFLAGS="$flag"
18182 # Extract the first word of "pthread-config", so it can be a program name with args.
18183 set dummy pthread-config; ac_word=$2
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18185 $as_echo_n "checking for $ac_word... " >&6; }
18186 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18189 if test -n "$acx_pthread_config"; then
18190 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18193 for as_dir in $PATH
18196 test -z "$as_dir" && as_dir=.
18197 for ac_exec_ext in '' $ac_executable_extensions; do
18198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18199 ac_cv_prog_acx_pthread_config="yes"
18200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18207 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18210 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18211 if test -n "$acx_pthread_config"; then
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18213 $as_echo "$acx_pthread_config" >&6; }
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18216 $as_echo "no" >&6; }
18220 if test x"$acx_pthread_config" = xno; then continue; fi
18221 PTHREAD_CFLAGS="`pthread-config --cflags`"
18222 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18227 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18228 PTHREAD_LIBS="-l$flag"
18233 save_CFLAGS="$CFLAGS"
18234 LIBS="$PTHREAD_LIBS $LIBS"
18235 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18237 # Check for various functions. We must include pthread.h,
18238 # since some functions may be macros. (On the Sequent, we
18239 # need a special flag -Kthread to make this header compile.)
18240 # We check for pthread_join because it is in -lpthread on IRIX
18241 # while pthread_create is in libc. We check for pthread_attr_init
18242 # due to DEC craziness with -lpthreads. We check for
18243 # pthread_cleanup_push because it is one of the few pthread
18244 # functions on Solaris that doesn't have a non-functional libc stub.
18245 # We try pthread_create on general principles.
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18248 #include <pthread.h>
18252 pthread_t th; pthread_join(th, 0);
18253 pthread_attr_init(0); pthread_cleanup_push(0, 0);
18254 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18259 if ac_fn_c_try_link "$LINENO"; then :
18262 rm -f core conftest.err conftest.$ac_objext \
18263 conftest$ac_exeext conftest.$ac_ext
18266 CFLAGS="$save_CFLAGS"
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18269 $as_echo "$acx_pthread_ok" >&6; }
18270 if test "x$acx_pthread_ok" = xyes; then
18279 # Various other checks:
18280 if test "x$acx_pthread_ok" = xyes; then
18282 LIBS="$PTHREAD_LIBS $LIBS"
18283 save_CFLAGS="$CFLAGS"
18284 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18286 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18288 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18290 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18292 /* end confdefs.h. */
18293 #include <pthread.h>
18297 int attr=$attr; return attr;
18302 if ac_fn_c_try_link "$LINENO"; then :
18303 attr_name=$attr; break
18305 rm -f core conftest.err conftest.$ac_objext \
18306 conftest$ac_exeext conftest.$ac_ext
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18309 $as_echo "$attr_name" >&6; }
18310 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18312 cat >>confdefs.h <<_ACEOF
18313 #define PTHREAD_CREATE_JOINABLE $attr_name
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18319 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18321 case "${host_cpu}-${host_os}" in
18322 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
18323 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18325 if test "$GCC" = "yes"; then
18326 flag="-D_REENTRANT"
18328 flag="-mt -D_REENTRANT"
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18333 $as_echo "${flag}" >&6; }
18334 if test "x$flag" != xno; then
18335 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18339 CFLAGS="$save_CFLAGS"
18341 # More AIX lossage: must compile with xlc_r or cc_r
18342 if test x"$GCC" != xyes; then
18343 for ac_prog in xlc_r cc_r
18345 # Extract the first word of "$ac_prog", so it can be a program name with args.
18346 set dummy $ac_prog; ac_word=$2
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18348 $as_echo_n "checking for $ac_word... " >&6; }
18349 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
18350 $as_echo_n "(cached) " >&6
18352 if test -n "$PTHREAD_CC"; then
18353 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18356 for as_dir in $PATH
18359 test -z "$as_dir" && as_dir=.
18360 for ac_exec_ext in '' $ac_executable_extensions; do
18361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18362 ac_cv_prog_PTHREAD_CC="$ac_prog"
18363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18372 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18373 if test -n "$PTHREAD_CC"; then
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18375 $as_echo "$PTHREAD_CC" >&6; }
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18378 $as_echo "no" >&6; }
18382 test -n "$PTHREAD_CC" && break
18384 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18397 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18398 if test x"$acx_pthread_ok" = xyes; then
18399 enable_threads="pthread"
18403 enable_threads="no"
18406 ac_cpp='$CPP $CPPFLAGS'
18407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18412 if test $enable_threads != "pthread"; then
18413 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18416 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18418 LIBS="$PTHREAD_LIBS $LIBS"
18419 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18420 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18425 # Check whether --with-openssl was given.
18426 if test "${with_openssl+set}" = set; then :
18427 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18428 SSLFLAGS="-I${with_openssl}/include"
18433 if test "x$with_openssl" = "x" ; then
18434 # Extract the first word of "pkg-config", so it can be a program name with args.
18435 set dummy pkg-config; ac_word=$2
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18437 $as_echo_n "checking for $ac_word... " >&6; }
18438 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18439 $as_echo_n "(cached) " >&6
18441 case $PKG_CONFIG in
18443 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18447 for as_dir in $PATH
18450 test -z "$as_dir" && as_dir=.
18451 for ac_exec_ext in '' $ac_executable_extensions; do
18452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18453 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18464 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18465 if test -n "$PKG_CONFIG"; then
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18467 $as_echo "$PKG_CONFIG" >&6; }
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18470 $as_echo "no" >&6; }
18474 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18475 if pkg-config openssl ; then
18476 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18479 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18485 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18487 $as_echo "$SSLFLAGS" >&6; }
18488 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18490 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18491 if test "x$ac_cv_header_openssl_x509_h" = x""yes; then :
18494 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18500 ac_cpp='$CXXCPP $CPPFLAGS'
18501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18508 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18509 if test "${ac_cv_cxx_namespaces+set}" = set; then :
18510 $as_echo_n "(cached) " >&6
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
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 namespace Outer { namespace Inner { int i = 0; }}
18525 using namespace Outer::Inner; return i;
18530 if ac_fn_cxx_try_compile "$LINENO"; then :
18531 ac_cv_cxx_namespaces=yes
18533 ac_cv_cxx_namespaces=no
18535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 ac_cpp='$CXXCPP $CPPFLAGS'
18538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18545 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18546 if test "$ac_cv_cxx_namespaces" = yes; then
18548 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18553 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18554 if test "${ac_cv_cxx_have_stl+set}" = set; then :
18555 $as_echo_n "(cached) " >&6
18559 ac_cpp='$CXXCPP $CPPFLAGS'
18560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18568 #ifdef HAVE_NAMESPACES
18569 using namespace std;
18574 list<int> x; x.push_back(5);
18575 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18580 if ac_fn_cxx_try_compile "$LINENO"; then :
18581 ac_cv_cxx_have_stl=yes
18583 ac_cv_cxx_have_stl=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 ac_cpp='$CXXCPP $CPPFLAGS'
18588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18595 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18596 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18597 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18601 # Thank you Solaris, really.
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime_r" >&5
18603 $as_echo_n "checking for ctime_r... " >&6; }
18604 if test -z "$ac_cv_ctime_args"; then
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18611 time_t clock; char buf[26]; ctime_r(&clock, buf);
18616 if ac_fn_cxx_try_compile "$LINENO"; then :
18619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18622 /* end confdefs.h. */
18627 time_t clock; char buf[26]; ctime_r(&clock, buf, 26);
18632 if ac_fn_cxx_try_compile "$LINENO"; then :
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 if test -z "$ac_cv_ctime_args"; then
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18639 $as_echo "no" >&6; }
18641 if test "$ac_cv_ctime_args" = 2; then
18643 $as_echo "#define HAVE_CTIME_R_2 1" >>confdefs.h
18645 elif test "$ac_cv_ctime_args" = 3; then
18647 $as_echo "#define HAVE_CTIME_R_3 1" >>confdefs.h
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
18651 $as_echo "yes, and it takes $ac_cv_ctime_args arguments" >&6; }
18654 # log4shib settings (favor this version over the log4cpp code)
18655 # Extract the first word of "log4shib-config", so it can be a program name with args.
18656 set dummy log4shib-config; ac_word=$2
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18658 $as_echo_n "checking for $ac_word... " >&6; }
18659 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18660 $as_echo_n "(cached) " >&6
18662 case $LOG4SHIB_CONFIG in
18664 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18668 for as_dir in $PATH
18671 test -z "$as_dir" && as_dir=.
18672 for ac_exec_ext in '' $ac_executable_extensions; do
18673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18674 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18685 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18686 if test -n "$LOG4SHIB_CONFIG"; then
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18688 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18691 $as_echo "no" >&6; }
18696 # Check whether --with-log4shib was given.
18697 if test "${with_log4shib+set}" = set; then :
18698 withval=$with_log4shib;
18699 LOG4SHIB_CONFIG="${with_log4shib}"
18700 if ! test -f "${LOG4SHIB_CONFIG}"; then
18701 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18706 if test -f "${LOG4SHIB_CONFIG}" ; then
18707 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18708 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18710 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18711 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18714 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 #include <log4shib/Category.hh>
18721 #include <log4shib/CategoryStream.hh>
18725 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18730 if ac_fn_cxx_try_link "$LINENO"; then :
18732 $as_echo "#define SHIBSP_LOG4SHIB 1" >>confdefs.h
18735 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18737 rm -f core conftest.err conftest.$ac_objext \
18738 conftest$ac_exeext conftest.$ac_ext
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18741 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18743 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18746 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18747 set dummy log4cpp-config; ac_word=$2
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18749 $as_echo_n "checking for $ac_word... " >&6; }
18750 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18751 $as_echo_n "(cached) " >&6
18753 case $LOG4CPP_CONFIG in
18755 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18759 for as_dir in $PATH
18762 test -z "$as_dir" && as_dir=.
18763 for ac_exec_ext in '' $ac_executable_extensions; do
18764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18765 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18776 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18777 if test -n "$LOG4CPP_CONFIG"; then
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18779 $as_echo "$LOG4CPP_CONFIG" >&6; }
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18782 $as_echo "no" >&6; }
18787 # Check whether --with-log4cpp was given.
18788 if test "${with_log4cpp+set}" = set; then :
18789 withval=$with_log4cpp;
18790 LOG4CPP_CONFIG="${with_log4cpp}"
18791 if ! test -f "${LOG4CPP_CONFIG}"; then
18792 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18797 if test -f "${LOG4CPP_CONFIG}"; then
18798 { $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
18799 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18800 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18801 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18802 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18803 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18806 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18812 #include <log4cpp/Category.hh>
18813 #include <log4cpp/CategoryStream.hh>
18817 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18822 if ac_fn_cxx_try_link "$LINENO"; then :
18824 $as_echo "#define SHIBSP_LOG4CPP 1" >>confdefs.h
18827 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18829 rm -f core conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18832 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18838 # Check whether --with-xerces was given.
18839 if test "${with_xerces+set}" = set; then :
18840 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18841 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18842 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18846 LIBS="-lxerces-c $LIBS"
18847 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18848 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18851 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18856 $as_echo_n "checking Xerces version... " >&6; }
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 #include <xercesc/util/XercesVersion.hpp>
18863 #if _XERCES_VERSION >= 20700
18866 #error version 2.7.0 or above required
18872 if ac_fn_cxx_try_cpp "$LINENO"; then :
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18874 $as_echo "OK" >&6; }
18876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18878 as_fn_error $? "Xerces-C v2.7.0 or higher is required, v3.x preferred
18879 See \`config.log' for more details" "$LINENO" 5 ; }
18881 rm -f conftest.err conftest.i conftest.$ac_ext
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 #include <xercesc/util/PlatformUtils.hpp>
18888 xercesc::XMLPlatformUtils::Initialize()
18893 if ac_fn_cxx_try_link "$LINENO"; then :
18896 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18898 rm -f core conftest.err conftest.$ac_objext \
18899 conftest$ac_exeext conftest.$ac_ext
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18902 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18904 /* end confdefs.h. */
18905 #include <xercesc/util/XMLString.hpp>
18909 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18914 if ac_fn_cxx_try_compile "$LINENO"; then :
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18916 $as_echo "yes" >&6; }
18917 $as_echo "#define SHIBSP_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18921 $as_echo "no" >&6; }
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMNodeFilter API returns a short" >&5
18926 $as_echo_n "checking whether Xerces DOMNodeFilter API returns a short... " >&6; }
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 #include <xercesc/dom/DOM.hpp>
18933 using namespace XERCES_CPP_NAMESPACE;
18934 class Blocker : public DOMNodeFilter {
18936 short acceptNode(const DOMNode* node) const {
18937 return FILTER_REJECT;
18940 static Blocker g_Blocker;
18946 if ac_fn_cxx_try_compile "$LINENO"; then :
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18948 $as_echo "yes" >&6; }
18949 $as_echo "#define SHIBSP_XERCESC_SHORT_ACCEPTNODE 1" >>confdefs.h
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18953 $as_echo "no" >&6; }
18955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957 # XML-Security settings
18959 # Check whether --with-xmlsec was given.
18960 if test "${with_xmlsec+set}" = set; then :
18961 withval=$with_xmlsec;
18967 if test x_$with_xmlsec != x_/usr; then
18968 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18969 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18971 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
18973 # save and append master libs
18975 LIBS="$XMLSEC_LIBS $LIBS"
18977 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18978 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18981 as_fn_error $? "unable to find XML-Security-C header files" "$LINENO" 5
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security-C version" >&5
18986 $as_echo_n "checking XML-Security-C version... " >&6; }
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 #include <xsec/utils/XSECPlatformUtils.hpp>
18993 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18996 #error need version 1.4.0 or later
19002 if ac_fn_cxx_try_cpp "$LINENO"; then :
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
19004 $as_echo "OK" >&6; }
19006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19008 as_fn_error $? "XML-Security-C version 1.4.0 or greater is required.
19009 See \`config.log' for more details" "$LINENO" 5 ; }
19011 rm -f conftest.err conftest.i conftest.$ac_ext
19012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 #include <xsec/utils/XSECPlatformUtils.hpp>
19018 XSECPlatformUtils::Initialise()
19023 if ac_fn_cxx_try_link "$LINENO"; then :
19026 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
19028 rm -f core conftest.err conftest.$ac_objext \
19029 conftest$ac_exeext conftest.$ac_ext
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C supports white/blacklisting of algorithms" >&5
19032 $as_echo_n "checking whether XML-Security-C supports white/blacklisting of algorithms... " >&6; }
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <xsec/framework/XSECAlgorithmMapper.hpp>
19039 XSECAlgorithmMapper* mapper; mapper->whitelistAlgorithm(NULL);
19044 if ac_fn_cxx_try_compile "$LINENO"; then :
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19046 $as_echo "yes" >&6; }
19048 $as_echo "#define SHIBSP_XMLSEC_WHITELISTING 1" >>confdefs.h
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19052 $as_echo "no" >&6; }
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056 # restore master libs
19059 #XML-Tooling settings
19061 # Check whether --with-xmltooling was given.
19062 if test "${with_xmltooling+set}" = set; then :
19063 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
19064 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
19065 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
19066 DX_INCLUDE="${with_xmltooling}/include"
19070 LITE_LIBS="-lxmltooling-lite"
19071 XMLSEC_LIBS="-lxmltooling $XMLSEC_LIBS"
19072 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/base.h" "ac_cv_header_xmltooling_base_h" "$ac_includes_default"
19073 if test "x$ac_cv_header_xmltooling_base_h" = x""yes; then :
19076 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
19082 # save and append master libs
19084 LIBS="$XMLSEC_LIBS $LIBS"
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088 #include <xmltooling/XMLToolingConfig.h>
19089 #include <xmltooling/version.h>
19093 #if _XMLTOOLING_VERSION >= 10500
19094 xmltooling::XMLToolingConfig::getConfig();
19096 #error Need XMLTooling version 1.5 or higher
19102 if ac_fn_cxx_try_link "$LINENO"; then :
19105 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
19107 rm -f core conftest.err conftest.$ac_objext \
19108 conftest$ac_exeext conftest.$ac_ext
19110 # restore master libs
19113 # Establish location of xmltooling catalog.
19114 XMLTOOLINGXMLDIR=""
19115 if test "x$with_xmltooling" = "x" ; then
19116 with_xmltooling="/usr"
19118 if test -f $with_xmltooling/share/xml/xmltooling/catalog.xml ; then
19119 XMLTOOLINGXMLDIR="$with_xmltooling"
19120 elif test -f $with_xerces/share/xml/xmltooling/catalog.xml ; then
19121 XMLTOOLINGXMLDIR="$with_xerces"
19122 elif test -f $with_log4shib/share/xml/xmltooling/catalog.xml ; then
19123 XMLTOOLINGXMLDIR="$with_log4shib"
19125 if test "x$XMLTOOLINGXMLDIR" = "x" ; then
19126 as_fn_error $? "xmltooling XML catalog not found, may need to use --with-xmltooling option" "$LINENO" 5
19128 XMLTOOLINGXMLDIR="$XMLTOOLINGXMLDIR/share/xml/xmltooling"
19131 # OpenSAML settings
19133 # Check whether --with-saml was given.
19134 if test "${with_saml+set}" = set; then :
19135 withval=$with_saml; if test x_$with_saml != x_/usr; then
19136 LDFLAGS="-L${with_saml}/lib $LDFLAGS"
19137 CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
19138 DX_INCLUDE="$DX_INCLUDE ${with_saml}/include"
19142 XMLSEC_LIBS="-lsaml $XMLSEC_LIBS"
19144 # save and append master libs
19146 LIBS="$XMLSEC_LIBS $LIBS"
19148 ac_fn_cxx_check_header_mongrel "$LINENO" "saml/saml2/metadata/Metadata.h" "ac_cv_header_saml_saml2_metadata_Metadata_h" "$ac_includes_default"
19149 if test "x$ac_cv_header_saml_saml2_metadata_Metadata_h" = x""yes; then :
19152 as_fn_error $? "unable to find OpenSAML header files" "$LINENO" 5
19156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19158 #include <saml/SAMLConfig.h>
19159 #include <saml/version.h>
19163 #if _OPENSAML_VERSION >= 20500
19164 opensaml::SAMLConfig::getConfig();
19166 #error Need OpenSAML version 2.5 or higher
19172 if ac_fn_cxx_try_link "$LINENO"; then :
19175 as_fn_error $? "unable to link with OpenSAML, or version was too old" "$LINENO" 5
19178 rm -f core conftest.err conftest.$ac_objext \
19179 conftest$ac_exeext conftest.$ac_ext
19181 # restore master libs
19184 # Establish location of opensaml catalogs.
19186 if test "x$with_saml" = "x" ; then
19189 if test -f $with_saml/share/xml/opensaml/saml20-catalog.xml ; then
19190 OPENSAMLXMLDIR="$with_saml"
19191 elif test -f $with_xmltooling/share/xml/opensaml/saml20-catalog.xml ; then
19192 OPENSAMLXMLDIR="$with_xmltooling"
19193 elif test -f $with_xerces/share/xml/opensaml/saml20-catalog.xml ; then
19194 OPENSAMLXMLDIR="$with_xerces"
19195 elif test -f $with_log4shib/share/xml/opensaml/saml20-catalog.xml ; then
19196 OPENSAMLXMLDIR="$with_log4shib"
19198 if test "x$OPENSAMLXMLDIR" = "x" ; then
19199 as_fn_error $? "opensaml XML catalogs not found, may need to use --with-saml option" "$LINENO" 5
19201 OPENSAMLXMLDIR="$OPENSAMLXMLDIR/share/xml/opensaml"
19207 # output the underlying makefiles
19208 WANT_SUBDIRS="doc schemas configs shibsp plugins shibd util"
19209 ac_config_files="$ac_config_files Makefile doc/Makefile schemas/Makefile configs/Makefile shibsp/Makefile plugins/Makefile shibd/Makefile util/Makefile selinux/Makefile"
19213 ac_config_files="$ac_config_files adfs/Makefile"
19215 # Check whether --enable-adfs was given.
19216 if test "${enable_adfs+set}" = set; then :
19217 enableval=$enable_adfs; adfs_enabled=$enableval
19222 if test "x$adfs_enabled" = "x" ; then
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ADFS module" >&5
19226 $as_echo_n "checking whether to build the ADFS module... " >&6; }
19227 if test "$adfs_enabled" = "no" ; then
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19229 $as_echo "no" >&6; }
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19232 $as_echo "yes" >&6; }
19233 WANT_SUBDIRS="$WANT_SUBDIRS adfs"
19238 # Build NSAPI module?
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI module option" >&5
19241 $as_echo_n "checking for NSAPI module option... " >&6; }
19243 # Check whether --with-nsapi was given.
19244 if test "${with_nsapi+set}" = set; then :
19245 withval=$with_nsapi; WANT_NSAPI=$withval
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_NSAPI" >&5
19251 $as_echo "$WANT_NSAPI" >&6; }
19253 if test "$WANT_NSAPI" != "no"; then
19254 if test ! -d $WANT_NSAPI/bin ; then
19255 as_fn_error $? "Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR" "$LINENO" 5
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI include files" >&5
19258 $as_echo_n "checking for NSAPI include files... " >&6; }
19259 if test -d $WANT_NSAPI/include ; then
19260 NSAPI_INCLUDE=$WANT_NSAPI/include
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Netscape-Enterprise 3.x style" >&5
19262 $as_echo "Netscape-Enterprise 3.x style" >&6; }
19263 for ac_header in $NSAPI_INCLUDE/nsapi.h
19265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19266 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
19268 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19277 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
19279 if test -d $WANT_NSAPI/plugins/include ; then
19280 test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE"
19281 NSAPI_INCLUDE="$WANT_NSAPI/plugins/include"
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: iPlanet 4.x / SunONE 6.x style" >&5
19283 $as_echo "iPlanet 4.x / SunONE 6.x style" >&6; }
19284 for ac_header in $NSAPI_INCLUDE/nsapi.h
19286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19287 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
19289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19298 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
19300 if test "$NSAPI_INCLUDE" = ""; then
19301 as_fn_error $? "Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include" "$LINENO" 5
19307 # always output the Makefile, even if you don't use it
19308 ac_config_files="$ac_config_files nsapi_shib/Makefile"
19310 if test ! "$WANT_NSAPI" = "no"; then
19312 BUILD_NSAPI_FALSE='#'
19314 BUILD_NSAPI_TRUE='#'
19319 # add the NSAPI module to the list of wanted subdirs..
19320 if test ! "$WANT_NSAPI" = "no" ; then
19321 WANT_SUBDIRS="$WANT_SUBDIRS nsapi_shib"
19326 # Build FastCGI support?
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FastCGI support" >&5
19329 $as_echo_n "checking for FastCGI support... " >&6; }
19331 # Check whether --with-fastcgi was given.
19332 if test "${with_fastcgi+set}" = set; then :
19333 withval=$with_fastcgi; WANT_FASTCGI=$withval
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_FASTCGI" >&5
19339 $as_echo "$WANT_FASTCGI" >&6; }
19341 if test "$WANT_FASTCGI" != "no"; then
19342 if test "$WANT_FASTCGI" != "yes"; then
19343 if test x_$WANT_FASTCGI != x_/usr; then
19344 FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
19345 FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
19348 ac_fn_cxx_check_header_mongrel "$LINENO" "fcgio.h" "ac_cv_header_fcgio_h" "$ac_includes_default"
19349 if test "x$ac_cv_header_fcgio_h" = x""yes; then :
19352 as_fn_error $? "unable to find FastCGI header files" "$LINENO" 5
19356 FASTCGI_LIBS="-lfcgi -lfcgi++"
19363 # always output the Makefile, even if you don't use it
19364 ac_config_files="$ac_config_files fastcgi/Makefile"
19366 if test ! "$WANT_FASTCGI" = "no"; then
19367 BUILD_FASTCGI_TRUE=
19368 BUILD_FASTCGI_FALSE='#'
19370 BUILD_FASTCGI_TRUE='#'
19371 BUILD_FASTCGI_FALSE=
19375 if test ! "$WANT_FASTCGI" = "no" ; then
19376 WANT_SUBDIRS="$WANT_SUBDIRS fastcgi"
19380 # Build Memcached support?
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Memcached support" >&5
19383 $as_echo_n "checking for Memcached support... " >&6; }
19385 # Check whether --with-memcached was given.
19386 if test "${with_memcached+set}" = set; then :
19387 withval=$with_memcached; WANT_MEMCACHED=$withval
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_MEMCACHED" >&5
19393 $as_echo "$WANT_MEMCACHED" >&6; }
19395 if test "$WANT_MEMCACHED" != "no"; then
19396 if test "$WANT_MEMCACHED" != "yes"; then
19397 if test x_$WANT_MEMCACHED != x_/usr; then
19398 MEMCACHED_INCLUDE="-I$WANT_MEMCACHED/include"
19399 MEMCACHED_LDFLAGS="-L$WANT_MEMCACHED/lib"
19402 ac_fn_cxx_check_header_mongrel "$LINENO" "libmemcached/memcached.h" "ac_cv_header_libmemcached_memcached_h" "$ac_includes_default"
19403 if test "x$ac_cv_header_libmemcached_memcached_h" = x""yes; then :
19406 as_fn_error $? "unable to find Memcached header files" "$LINENO" 5
19410 MEMCACHED_LIBS="-lmemcached"
19417 # always output the Makefile, even if you don't use it
19418 ac_config_files="$ac_config_files memcache-store/Makefile"
19420 if test ! "$WANT_MEMCACHED" = "no"; then
19421 BUILD_MEMCACHED_TRUE=
19422 BUILD_MEMCACHED_FALSE='#'
19424 BUILD_MEMCACHED_TRUE='#'
19425 BUILD_MEMCACHED_FALSE=
19429 if test ! "$WANT_MEMCACHED" = "no" ; then
19430 WANT_SUBDIRS="$WANT_SUBDIRS memcache-store"
19435 # If no --enable-apache-xx specified
19436 # find a default and fake the specific parameters
19439 # simple macro to peek at an enable or a with
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if default apache needed" >&5
19443 $as_echo_n "checking if default apache needed... " >&6; }
19445 if test "${enable_apache_13+set}" = set; then
19446 peekval="${enable_apache_13}"
19449 if test "${enable_apache_20+set}" = set; then
19450 peekval="${enable_apache_20}"
19453 if test "${enable_apache_22+set}" = set; then
19454 peekval="${enable_apache_22}"
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_default" >&5
19458 $as_echo "$need_default" >&6; }
19460 if test "$need_default" = "yes"; then
19461 # find an apxs, then the httpd
19463 if test "${with_apxs+set}" = set; then
19464 peekval="${with_apxs}"
19467 if test "${with_apxs2+set}" = set; then
19468 peekval="${with_apxs2}"
19471 if test "${with_apxs22+set}" = set; then
19472 peekval="${with_apxs22}"
19475 if test "x$xs" = "x"; then
19476 for ac_prog in apxs2 apxs
19478 # Extract the first word of "$ac_prog", so it can be a program name with args.
19479 set dummy $ac_prog; ac_word=$2
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19481 $as_echo_n "checking for $ac_word... " >&6; }
19482 if test "${ac_cv_path_xs+set}" = set; then :
19483 $as_echo_n "(cached) " >&6
19487 ac_cv_path_xs="$xs" # Let the user override the test with a path.
19490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19491 as_dummy="/usr/local/apache2/bin:/usr/local/apache/bin:/usr/sbin:$PATH"
19492 for as_dir in $as_dummy
19495 test -z "$as_dir" && as_dir=.
19496 for ac_exec_ext in '' $ac_executable_extensions; do
19497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19498 ac_cv_path_xs="$as_dir/$ac_word$ac_exec_ext"
19499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19510 if test -n "$xs"; then
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xs" >&5
19512 $as_echo "$xs" >&6; }
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19519 test -n "$xs" && break
19521 test -n "$xs" || xs="as_fn_error no apache found. Try --with-apxs "No apxs" "$LINENO" 5 "
19524 # ask the daemon for the version and set parameters
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default apache version" >&5
19526 $as_echo_n "checking default apache version... " >&6; }
19527 httpd="`$xs -q SBINDIR`/`$xs -q TARGET`"
19528 if test "x$httpd" != "x" && test -f $httpd ; then
19529 v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
19531 1.3*) enable_apache_13=yes
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 1.3" >&5
19534 $as_echo "1.3" >&6; }
19536 2.0*) enable_apache_20=yes
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.0" >&5
19539 $as_echo "2.0" >&6; }
19541 2.2*) enable_apache_22=yes
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.2" >&5
19544 $as_echo "2.2" >&6; }
19546 *) as_fn_error $? "unusable apache versions: $v. Try setting --with-apxs" "$LINENO" 5
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot determine version. Try setting --with-apxs" >&5
19550 $as_echo "cannot determine version. Try setting --with-apxs" >&6; }
19554 # Apache 1.3 (mod_shib_13)
19555 # --enable-apache-13
19556 # --with-apxs (DSO build, the normal way, uses apxs to derive build flags)
19558 # Check whether --enable-apache-13 was given.
19559 if test "${enable_apache_13+set}" = set; then :
19560 enableval=$enable_apache_13; if test "x$enableval" = "x" ; then
19563 WANT_APACHE_13="$enableval"
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 1.3 module" >&5
19571 $as_echo_n "checking whether to build Apache 1.3 module... " >&6; }
19572 if test "$WANT_APACHE_13" != yes && test "$WANT_APACHE_13" != no ; then
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_13" >&5
19576 $as_echo "$WANT_APACHE_13" >&6; }
19578 if test "$WANT_APACHE_13" = "yes" ; then
19580 # Check whether --with-apxs was given.
19581 if test "${with_apxs+set}" = set; then :
19582 withval=$with_apxs;
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apxs name/location" >&5
19584 $as_echo_n "checking for user-specified apxs name/location... " >&6; }
19585 if test "$withval" != "no" ; then
19586 if test "$withval" != "yes"; then
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19589 $as_echo "\"$withval\"" >&6; }
19595 # Extract the first word of "apxs", so it can be a program name with args.
19596 set dummy apxs; ac_word=$2
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19598 $as_echo_n "checking for $ac_word... " >&6; }
19599 if test "${ac_cv_path_APXS+set}" = set; then :
19600 $as_echo_n "(cached) " >&6
19604 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
19607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19608 for as_dir in $PATH
19611 test -z "$as_dir" && as_dir=.
19612 for ac_exec_ext in '' $ac_executable_extensions; do
19613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19614 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
19615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19622 test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="no"
19626 APXS=$ac_cv_path_APXS
19627 if test -n "$APXS"; then
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
19629 $as_echo "$APXS" >&6; }
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19632 $as_echo "no" >&6; }
19636 if test "$APXS" = "no" ; then
19637 for i in /usr/sbin /usr/local/apache/bin ; do
19638 if test "$APXS" = "no" && test -f "$i/apxs"; then
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if apxs was located" >&5
19648 $as_echo_n "checking to see if apxs was located... " >&6; }
19649 if test ! -f "$APXS" ; then
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19651 $as_echo "no" >&6; }
19652 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
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
19655 $as_echo "$APXS" >&6; }
19658 # extract settings we need from APXS -q
19659 APXS_CC="`$APXS -q CC`"
19660 APXS_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB`"
19661 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
19668 # Apache 2.0 (mod_shib_20)
19669 # --enable-apache-20
19670 # --with-apxs2 (DSO build, the normal way, uses apxs to derive build flags)
19671 # --with-apr (DSO build, APR development package installed separately)
19672 # --with-apu (DSO build, APR-UTIL development package installed separately)
19674 # Check whether --enable-apache-20 was given.
19675 if test "${enable_apache_20+set}" = set; then :
19676 enableval=$enable_apache_20; if test "x$enableval" = "x" ; then
19679 WANT_APACHE_20="$enableval"
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.0 module" >&5
19687 $as_echo_n "checking whether to build Apache 2.0 module... " >&6; }
19688 if test "$WANT_APACHE_20" != yes && test "$WANT_APACHE_20" != no ; then
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_20" >&5
19692 $as_echo "$WANT_APACHE_20" >&6; }
19694 if test "$WANT_APACHE_20" = "yes" ; then
19696 # Check whether --with-apxs2 was given.
19697 if test "${with_apxs2+set}" = set; then :
19698 withval=$with_apxs2;
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2 apxs name/location" >&5
19700 $as_echo_n "checking for user-specified Apache2 apxs name/location... " >&6; }
19701 if test "$withval" != "no" ; then
19702 if test "$withval" != "yes"; then
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19705 $as_echo "\"$withval\"" >&6; }
19711 # Extract the first word of "apxs2", so it can be a program name with args.
19712 set dummy apxs2; ac_word=$2
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19714 $as_echo_n "checking for $ac_word... " >&6; }
19715 if test "${ac_cv_path_APXS2+set}" = set; then :
19716 $as_echo_n "(cached) " >&6
19720 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
19723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19724 for as_dir in $PATH
19727 test -z "$as_dir" && as_dir=.
19728 for ac_exec_ext in '' $ac_executable_extensions; do
19729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19730 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
19731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19738 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
19742 APXS2=$ac_cv_path_APXS2
19743 if test -n "$APXS2"; then
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19745 $as_echo "$APXS2" >&6; }
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19748 $as_echo "no" >&6; }
19752 if test "$APXS2" = "no" ; then
19753 # Extract the first word of "apxs", so it can be a program name with args.
19754 set dummy apxs; ac_word=$2
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19756 $as_echo_n "checking for $ac_word... " >&6; }
19757 if test "${ac_cv_path_APXS2+set}" = set; then :
19758 $as_echo_n "(cached) " >&6
19762 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
19765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19766 for as_dir in $PATH
19769 test -z "$as_dir" && as_dir=.
19770 for ac_exec_ext in '' $ac_executable_extensions; do
19771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19772 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
19773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19780 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
19784 APXS2=$ac_cv_path_APXS2
19785 if test -n "$APXS2"; then
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19787 $as_echo "$APXS2" >&6; }
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19790 $as_echo "no" >&6; }
19795 if test "$APXS2" = "no" ; then
19796 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19797 if test "$APXS2" = "no" && test -f "$i/apxs2" ; then
19801 if test "$APXS2" = "no" ; then
19802 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19803 if test "$APXS2" = "no" && test -f "$i/apxs" ; then
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2 apxs was located" >&5
19814 $as_echo_n "checking to see if Apache2 apxs was located... " >&6; }
19815 if test ! -f "$APXS2" ; then
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19817 $as_echo "no" >&6; }
19818 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
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19821 $as_echo "$APXS2" >&6; }
19826 # Check whether --with-apr was given.
19827 if test "${with_apr+set}" = set; then :
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-config name/location" >&5
19830 $as_echo_n "checking for user-specified apr-config name/location... " >&6; }
19831 if test "$withval" != "no" ; then
19832 if test "$withval" != "yes"; then
19833 APR_CONFIG=$withval
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19835 $as_echo "\"$withval\"" >&6; }
19841 # Extract the first word of "apr-config", so it can be a program name with args.
19842 set dummy apr-config; ac_word=$2
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19844 $as_echo_n "checking for $ac_word... " >&6; }
19845 if test "${ac_cv_path_APR_CONFIG+set}" = set; then :
19846 $as_echo_n "(cached) " >&6
19848 case $APR_CONFIG in
19850 ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
19853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19854 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
19855 for as_dir in $as_dummy
19858 test -z "$as_dir" && as_dir=.
19859 for ac_exec_ext in '' $ac_executable_extensions; do
19860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19861 ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19872 APR_CONFIG=$ac_cv_path_APR_CONFIG
19873 if test -n "$APR_CONFIG"; then
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
19875 $as_echo "$APR_CONFIG" >&6; }
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19878 $as_echo "no" >&6; }
19885 if test -f "${APR_CONFIG}"; then
19886 APR_CFLAGS="`${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags` `${APR_CONFIG} --includes`"
19888 as_fn_error $? "Unable to locate apr-config, may need --with-apr option." "$LINENO" 5
19893 # Check whether --with-apu was given.
19894 if test "${with_apu+set}" = set; then :
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-config name/location" >&5
19897 $as_echo_n "checking for user-specified apu-config name/location... " >&6; }
19898 if test "$withval" != "no" ; then
19899 if test "$withval" != "yes"; then
19900 APR_CONFIG=$withval
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19902 $as_echo "\"$withval\"" >&6; }
19908 # Extract the first word of "apu-config", so it can be a program name with args.
19909 set dummy apu-config; ac_word=$2
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19911 $as_echo_n "checking for $ac_word... " >&6; }
19912 if test "${ac_cv_path_APU_CONFIG+set}" = set; then :
19913 $as_echo_n "(cached) " >&6
19915 case $APU_CONFIG in
19917 ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
19920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19921 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
19922 for as_dir in $as_dummy
19925 test -z "$as_dir" && as_dir=.
19926 for ac_exec_ext in '' $ac_executable_extensions; do
19927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19928 ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19939 APU_CONFIG=$ac_cv_path_APU_CONFIG
19940 if test -n "$APU_CONFIG"; then
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
19942 $as_echo "$APU_CONFIG" >&6; }
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19945 $as_echo "no" >&6; }
19952 if test -f "${APU_CONFIG}"; then
19953 APU_CFLAGS="`${APU_CONFIG} --includes`"
19955 as_fn_error $? "Unable to locate apu-config, may need --with-apu option." "$LINENO" 5
19958 # extract settings we need from APXS2 -q
19959 APXS2_CC="`$APXS2 -q CC`"
19960 APXS2_CFLAGS="`$APXS2 -q CPPFLAGS` `$APXS2 -q CFLAGS` $APR_CFLAGS $APU_CFLAGS"
19961 APXS2_INCLUDE="`$APXS2 -q INCLUDEDIR`"
19968 # Apache 2.2 (mod_shib_22)
19969 # --enable-apache-22
19970 # --with-apxs22 (DSO build, the normal way, uses apxs to derive build flags)
19971 # --with-apr1 (DSO build, APR development package installed separately)
19972 # --with-apu1 (DSO build, APR-UTIL development package installed separately)
19974 # Check whether --enable-apache-22 was given.
19975 if test "${enable_apache_22+set}" = set; then :
19976 enableval=$enable_apache_22; if test "x$enableval" = "x" ; then
19979 WANT_APACHE_22="$enableval"
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.2 module" >&5
19987 $as_echo_n "checking whether to build Apache 2.2 module... " >&6; }
19988 if test "$WANT_APACHE_22" != yes && test "$WANT_APACHE_22" != no ; then
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_22" >&5
19992 $as_echo "$WANT_APACHE_22" >&6; }
19994 if test "$WANT_APACHE_22" = "yes" ; then
19996 # Check whether --with-apxs22 was given.
19997 if test "${with_apxs22+set}" = set; then :
19998 withval=$with_apxs22;
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2.2 apxs name/location" >&5
20000 $as_echo_n "checking for user-specified Apache2.2 apxs name/location... " >&6; }
20001 if test "$withval" != "no" ; then
20002 if test "$withval" != "yes"; then
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20005 $as_echo "\"$withval\"" >&6; }
20011 # Extract the first word of "apxs2", so it can be a program name with args.
20012 set dummy apxs2; ac_word=$2
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20014 $as_echo_n "checking for $ac_word... " >&6; }
20015 if test "${ac_cv_path_APXS22+set}" = set; then :
20016 $as_echo_n "(cached) " >&6
20020 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
20023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20024 for as_dir in $PATH
20027 test -z "$as_dir" && as_dir=.
20028 for ac_exec_ext in '' $ac_executable_extensions; do
20029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20030 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
20031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20038 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
20042 APXS22=$ac_cv_path_APXS22
20043 if test -n "$APXS22"; then
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20045 $as_echo "$APXS22" >&6; }
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20048 $as_echo "no" >&6; }
20052 if test "$APXS22" = "no" ; then
20053 # Extract the first word of "apxs", so it can be a program name with args.
20054 set dummy apxs; ac_word=$2
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20056 $as_echo_n "checking for $ac_word... " >&6; }
20057 if test "${ac_cv_path_APXS22+set}" = set; then :
20058 $as_echo_n "(cached) " >&6
20062 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
20065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20066 for as_dir in $PATH
20069 test -z "$as_dir" && as_dir=.
20070 for ac_exec_ext in '' $ac_executable_extensions; do
20071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20072 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
20073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20080 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
20084 APXS22=$ac_cv_path_APXS22
20085 if test -n "$APXS22"; then
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20087 $as_echo "$APXS22" >&6; }
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20090 $as_echo "no" >&6; }
20095 if test "$APXS22" = "no" ; then
20096 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
20097 if test "$APXS22" = "no" && test -f "$i/apxs2" ; then
20101 if test "$APXS22" = "no" ; then
20102 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
20103 if test "$APXS22" = "no" && test -f "$i/apxs" ; then
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2.2 apxs was located" >&5
20114 $as_echo_n "checking to see if Apache2.2 apxs was located... " >&6; }
20115 if test ! -f "$APXS22" ; then
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20117 $as_echo "no" >&6; }
20118 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
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20121 $as_echo "$APXS22" >&6; }
20126 # Check whether --with-apr1 was given.
20127 if test "${with_apr1+set}" = set; then :
20128 withval=$with_apr1;
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-1-config name/location" >&5
20130 $as_echo_n "checking for user-specified apr-1-config name/location... " >&6; }
20131 if test "$withval" != "no" ; then
20132 if test "$withval" != "yes"; then
20133 APR1_CONFIG=$withval
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20135 $as_echo "\"$withval\"" >&6; }
20141 # Extract the first word of "apr-1-config", so it can be a program name with args.
20142 set dummy apr-1-config; ac_word=$2
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20144 $as_echo_n "checking for $ac_word... " >&6; }
20145 if test "${ac_cv_path_APR1_CONFIG+set}" = set; then :
20146 $as_echo_n "(cached) " >&6
20148 case $APR1_CONFIG in
20150 ac_cv_path_APR1_CONFIG="$APR1_CONFIG" # Let the user override the test with a path.
20153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20154 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
20155 for as_dir in $as_dummy
20158 test -z "$as_dir" && as_dir=.
20159 for ac_exec_ext in '' $ac_executable_extensions; do
20160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20161 ac_cv_path_APR1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20172 APR1_CONFIG=$ac_cv_path_APR1_CONFIG
20173 if test -n "$APR1_CONFIG"; then
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR1_CONFIG" >&5
20175 $as_echo "$APR1_CONFIG" >&6; }
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20178 $as_echo "no" >&6; }
20185 if test -f "${APR1_CONFIG}"; then
20186 APR1_CFLAGS="`${APR1_CONFIG} --cflags` `${APR1_CONFIG} --cppflags` `${APR1_CONFIG} --includes`"
20188 as_fn_error $? "Unable to locate apr-1-config, may need --with-apr1 option." "$LINENO" 5
20193 # Check whether --with-apu1 was given.
20194 if test "${with_apu1+set}" = set; then :
20195 withval=$with_apu1;
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-1-config name/location" >&5
20197 $as_echo_n "checking for user-specified apu-1-config name/location... " >&6; }
20198 if test "$withval" != "no" ; then
20199 if test "$withval" != "yes"; then
20200 APU1_CONFIG=$withval
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20202 $as_echo "\"$withval\"" >&6; }
20208 # Extract the first word of "apu-1-config", so it can be a program name with args.
20209 set dummy apu-1-config; ac_word=$2
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20211 $as_echo_n "checking for $ac_word... " >&6; }
20212 if test "${ac_cv_path_APU1_CONFIG+set}" = set; then :
20213 $as_echo_n "(cached) " >&6
20215 case $APU1_CONFIG in
20217 ac_cv_path_APU1_CONFIG="$APU1_CONFIG" # Let the user override the test with a path.
20220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20221 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
20222 for as_dir in $as_dummy
20225 test -z "$as_dir" && as_dir=.
20226 for ac_exec_ext in '' $ac_executable_extensions; do
20227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20228 ac_cv_path_APU1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20239 APU1_CONFIG=$ac_cv_path_APU1_CONFIG
20240 if test -n "$APU1_CONFIG"; then
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU1_CONFIG" >&5
20242 $as_echo "$APU1_CONFIG" >&6; }
20244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20245 $as_echo "no" >&6; }
20252 if test -f "${APU1_CONFIG}"; then
20253 APU1_CFLAGS="`${APU1_CONFIG} --includes`"
20255 as_fn_error $? "Unable to locate apu-1-config, may need --with-apu1 option." "$LINENO" 5
20258 # extract settings we need from APXS22 -q
20259 APXS22_CC="`$APXS22 -q CC`"
20260 APXS22_CFLAGS="`$APXS22 -q CPPFLAGS` `$APXS22 -q CFLAGS` $APR1_CFLAGS $APU1_CFLAGS"
20261 APXS22_INCLUDE="`$APXS22 -q INCLUDEDIR`"
20267 # always output the Makefile, even if you don't use it
20268 ac_config_files="$ac_config_files apache/Makefile"
20270 if test "$WANT_APACHE_13" = "yes"; then
20272 BUILD_AP13_FALSE='#'
20274 BUILD_AP13_TRUE='#'
20278 if test "$WANT_APACHE_20" = "yes"; then
20280 BUILD_AP20_FALSE='#'
20282 BUILD_AP20_TRUE='#'
20286 if test "$WANT_APACHE_22" = "yes"; then
20288 BUILD_AP22_FALSE='#'
20290 BUILD_AP22_TRUE='#'
20295 # add the apache module to the list of wanted subdirs..
20296 if test "$WANT_APACHE_13" = "yes" || test "$WANT_APACHE_20" = "yes" || test "$WANT_APACHE_22" = "yes" ; then
20297 WANT_SUBDIRS="$WANT_SUBDIRS apache"
20302 # Implement the checks of the ODBC Storage Service
20304 # 1) Assume the user wants ODBC; if it's not found then just continue without
20305 # 2) If the user specifically requested odbc, look for it and ERROR if not found
20306 # 3) If the user specifically requested no odbc, don't build it.
20309 ac_config_files="$ac_config_files odbc-store/Makefile"
20312 # determine whether we should enable the odbc ccache
20313 # Check whether --enable-odbc was given.
20314 if test "${enable_odbc+set}" = set; then :
20315 enableval=$enable_odbc; odbc_enabled=$enableval
20317 odbc_enabled=default
20320 if test "x$odbc_enabled" = "x" ; then
20324 # Are we trying to build ODBC?
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ODBC storage service" >&5
20326 $as_echo_n "checking whether to build the ODBC storage service... " >&6; }
20327 if test "$odbc_enabled" = "yes" ; then
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20330 $as_echo "yes" >&6; }
20331 elif test "$odbc_enabled" = "default" ; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, if it can be found" >&5
20334 $as_echo "yes, if it can be found" >&6; }
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20338 $as_echo "no" >&6; }
20341 # If we're trying to build ODBC, try to find the odbc_config program.
20342 if test "$build_odbc" = "yes" ; then
20345 # Check whether --with-odbc was given.
20346 if test "${with_odbc+set}" = set; then :
20347 withval=$with_odbc; if test "$with_odbc" = no ; then
20348 as_fn_error $? "Try running --disable-odbc instead." "$LINENO" 5
20349 elif test "$with_odbc" != yes ; then
20350 odbc_dir="$with_odbc/bin"
20351 if test "$with_odbc" != /usr ; then
20352 ODBC_CFLAGS="-I$with_odbc/include"
20353 ODBC_LIBS="-L$with_odbc/lib"
20359 # Extract the first word of "odbc_config", so it can be a program name with args.
20360 set dummy odbc_config; ac_word=$2
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20362 $as_echo_n "checking for $ac_word... " >&6; }
20363 if test "${ac_cv_path_ODBC_CONFIG+set}" = set; then :
20364 $as_echo_n "(cached) " >&6
20366 case $ODBC_CONFIG in
20368 ac_cv_path_ODBC_CONFIG="$ODBC_CONFIG" # Let the user override the test with a path.
20371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20372 for as_dir in $odbc_dir $PATH
20375 test -z "$as_dir" && as_dir=.
20376 for ac_exec_ext in '' $ac_executable_extensions; do
20377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20378 ac_cv_path_ODBC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20386 test -z "$ac_cv_path_ODBC_CONFIG" && ac_cv_path_ODBC_CONFIG="no"
20390 ODBC_CONFIG=$ac_cv_path_ODBC_CONFIG
20391 if test -n "$ODBC_CONFIG"; then
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ODBC_CONFIG" >&5
20393 $as_echo "$ODBC_CONFIG" >&6; }
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20396 $as_echo "no" >&6; }
20400 if test "$ODBC_CONFIG" = no ; then
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find odbc_config, will try to guess settings." >&5
20402 $as_echo "$as_me: WARNING: Cannot find odbc_config, will try to guess settings." >&2;}
20403 ODBC_LIBS="$ODBC_LIBS -lodbc"
20405 ODBC_CFLAGS=`$ODBC_CONFIG --cflags`
20406 ODBC_LIBS=`$ODBC_CONFIG --libs`
20409 save_CPPFLAGS="$CPPFLAGS"
20410 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
20412 ac_fn_cxx_check_header_mongrel "$LINENO" "sql.h" "ac_cv_header_sql_h" "$ac_includes_default"
20413 if test "x$ac_cv_header_sql_h" = x""yes; then :
20420 if test "$have_sql_h" = no -a "$odbc_enabled" = "yes" ; then
20421 as_fn_error $? "unable to find ODBC header files" "$LINENO" 5
20424 if test "$have_sql_h" = yes ; then
20426 LIBS="$LIBS $ODBC_LIBS"
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link againt ODBC" >&5
20428 $as_echo_n "checking if we can link againt ODBC... " >&6; }
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20432 #include <sqlext.h>
20437 SQLSetEnvAttr(SQL_NULL_HANDLE, SQL_ATTR_CONNECTION_POOLING, (void*)SQL_CP_ONE_PER_HENV, 0)
20442 if ac_fn_cxx_try_link "$LINENO"; then :
20447 rm -f core conftest.err conftest.$ac_objext \
20448 conftest$ac_exeext conftest.$ac_ext
20450 if test "$have_odbc_libs" = no ; then
20451 if test "$odbc_enabled" = "yes" ; then
20452 as_fn_error $? "unable to link with ODBC Library" "$LINENO" 5
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, skipping ODBC" >&5
20455 $as_echo "no, skipping ODBC" >&6; }
20460 CPPFLAGS="$save_CPPFLAGS"
20463 # if have_odbc_libs=yes then go ahead with building ODBC
20464 if test "$have_odbc_libs" = yes ; then
20465 # this AC_MSG_RESULT is from above!
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20467 $as_echo "yes" >&6; }
20468 WANT_SUBDIRS="$WANT_SUBDIRS odbc-store"
20477 # Check whether --with-gssapi-includes was given.
20478 if test "${with_gssapi_includes+set}" = set; then :
20479 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
20486 # Check whether --with-gssapi-libs was given.
20487 if test "${with_gssapi_libs+set}" = set; then :
20488 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
20495 # Check whether --with-gssapi was given.
20496 if test "${with_gssapi+set}" = set; then :
20497 withval=$with_gssapi; GSSAPI_ROOT="$withval"
20498 if test x"$GSSAPI_ROOT" != xno; then
20500 if test x"$GSSAPI_ROOT" = xyes; then
20508 save_CPPFLAGS="$CPPFLAGS"
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSSAPI support is requested" >&5
20510 $as_echo_n "checking if GSSAPI support is requested... " >&6; }
20511 if test x"$want_gss" = xyes; then
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20513 $as_echo "yes" >&6; }
20515 if test -z "$GSSAPI_INCS"; then
20516 if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
20517 GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
20518 elif test "$GSSAPI_ROOT" != "yes"; then
20519 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
20523 CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
20525 ac_fn_cxx_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default"
20526 if test "x$ac_cv_header_gss_h" = x""yes; then :
20529 $as_echo "#define SHIBSP_HAVE_GSSGNU 1" >>confdefs.h
20535 for ac_header in gssapi/gssapi.h
20537 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
20538 if test "x$ac_cv_header_gssapi_gssapi_h" = x""yes; then :
20539 cat >>confdefs.h <<_ACEOF
20540 #define HAVE_GSSAPI_GSSAPI_H 1
20549 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
20551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20552 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
20553 $ac_includes_default
20554 #ifdef HAVE_GSSAPI_GSSAPI_H
20555 #include <gssapi/gssapi.h>
20559 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20560 cat >>confdefs.h <<_ACEOF
20561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20570 if test "x$not_mit" = "x1"; then
20571 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
20572 if test "x$ac_cv_header_gssapi_h" = x""yes; then :
20575 $as_echo "#define SHIBSP_HAVE_GSSHEIMDAL 1" >>confdefs.h
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSSAPI since no header files was found" >&5
20582 $as_echo "$as_me: WARNING: disabling GSSAPI since no header files was found" >&2;}
20590 $as_echo "#define SHIBSP_HAVE_GSSMIT 1" >>confdefs.h
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5
20593 $as_echo_n "checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20598 #include <gssapi/gssapi.h>
20599 #include <gssapi/gssapi_generic.h>
20600 #include <gssapi/gssapi_krb5.h>
20609 GSS_C_NT_HOSTBASED_SERVICE,
20617 if ac_fn_cxx_try_compile "$LINENO"; then :
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20620 $as_echo "yes" >&6; }
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20625 $as_echo "no" >&6; }
20627 $as_echo "#define HAVE_OLD_GSSMIT 1" >>confdefs.h
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20640 $as_echo "no" >&6; }
20642 if test x"$want_gss" = xyes; then
20644 $as_echo "#define SHIBSP_HAVE_GSSAPI 1" >>confdefs.h
20647 if test -n "$gnu_gss"; then
20648 LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
20651 if test -z "$GSSAPI_LIB_DIR"; then
20652 GSSAPI_LIB_DIR="$GSSAPI_ROOT/lib$libsuff"
20654 if test "$GSSAPI_ROOT" != "yes"; then
20655 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
20657 if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
20658 gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
20660 if test "x$not_mit" = "x1"; then
20661 gss_libs="-lgssapi"
20663 gss_libs="-lgssapi_krb5"
20666 LIBS="$LIBS $gss_libs"
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GSS-API naming extensions are available" >&5
20670 $as_echo_n "checking whether GSS-API naming extensions are available... " >&6; }
20671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20672 /* end confdefs.h. */
20674 #ifdef SHIBSP_HAVE_GSSGNU
20676 #elif defined SHIBSP_HAVE_GSSMIT
20677 # include <gssapi/gssapi.h>
20678 # include <gssapi/gssapi_ext.h>
20680 # include <gssapi.h>
20685 gss_get_name_attribute(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
20690 if ac_fn_cxx_try_compile "$LINENO"; then :
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20692 $as_echo "yes" >&6; }
20693 $as_echo "#define HAVE_GSSAPI_NAMINGEXTS 1" >>confdefs.h
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20697 $as_echo "no" >&6; }
20699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GSS-API composite name import is available" >&5
20702 $as_echo_n "checking whether GSS-API composite name import is available... " >&6; }
20703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20706 #ifdef SHIBSP_HAVE_GSSGNU
20708 #elif defined SHIBSP_HAVE_GSSMIT
20709 # include <gssapi/gssapi.h>
20710 # include <gssapi/gssapi_ext.h>
20712 # include <gssapi.h>
20719 gss_name_t srcname;
20720 gss_buffer_desc importbuf;
20721 gss_import_name(&minor, &importbuf, GSS_C_NT_EXPORT_NAME_COMPOSITE, &srcname);
20727 if ac_fn_cxx_try_compile "$LINENO"; then :
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20729 $as_echo "yes" >&6; }
20730 $as_echo "#define HAVE_GSSAPI_COMPOSITE_NAME 1" >>confdefs.h
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20734 $as_echo "no" >&6; }
20736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20739 CPPFLAGS="$save_CPPFLAGS"
20745 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
20746 echo "=================================================================="
20747 echo "WARNING: You have chosen to compile Apache-1.3 modules with a different"
20748 echo " compiler than the one used to compile Apache."
20750 echo " Current compiler: $CC"
20751 echo " Apache's compiler: $APXS_CC"
20753 echo "This could cause problems."
20754 echo "=================================================================="
20757 if test -n "$APXS2_CC" && test "$APXS2_CC" != "$CC" ; then
20758 echo "=================================================================="
20759 echo "WARNING: You have chosen to compile Apache-2.0 modules with a different"
20760 echo " compiler than the one used to compile Apache."
20762 echo " Current compiler: $CC"
20763 echo " Apache's compiler: $APXS2_CC"
20765 echo "This could cause problems."
20766 echo "=================================================================="
20769 if test -n "$APXS22_CC" && test "$APXS22_CC" != "$CC" ; then
20770 echo "=================================================================="
20771 echo "WARNING: You have chosen to compile Apache-2.2 modules with a different"
20772 echo " compiler than the one used to compile Apache."
20774 echo " Current compiler: $CC"
20775 echo " Apache's compiler: $APXS22_CC"
20777 echo "This could cause problems."
20778 echo "=================================================================="
20781 LIBTOOL="$LIBTOOL --silent"
20783 cat >confcache <<\_ACEOF
20784 # This file is a shell script that caches the results of configure
20785 # tests run on this system so they can be shared between configure
20786 # scripts and configure runs, see configure's option --config-cache.
20787 # It is not useful on other systems. If it contains results you don't
20788 # want to keep, you may remove or edit it.
20790 # config.status only pays attention to the cache file if you give it
20791 # the --recheck option to rerun configure.
20793 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20795 # following values.
20799 # The following way of writing the cache mishandles newlines in values,
20800 # but we know of no workaround that is simple, portable, and efficient.
20801 # So, we kill variables containing newlines.
20802 # Ultrix sh set writes to stderr and can't be redirected directly,
20803 # and sets the high bit in the cache file unless we assign to the vars.
20805 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20806 eval ac_val=\$$ac_var
20810 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20811 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20814 _ | IFS | as_nl) ;; #(
20815 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20816 *) { eval $ac_var=; unset $ac_var;} ;;
20822 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20823 *${as_nl}ac_space=\ *)
20824 # `set' does not quote correctly, so add quotes: double-quote
20825 # substitution turns \\\\ into \\, and sed turns \\ into \.
20828 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20831 # `set' quotes correctly as required by POSIX, so do not add quotes.
20832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20843 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20845 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20846 if test -w "$cache_file"; then
20847 test "x$cache_file" != "x/dev/null" &&
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20849 $as_echo "$as_me: updating cache $cache_file" >&6;}
20850 cat confcache >$cache_file
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20853 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20858 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20859 # Let make expand exec_prefix.
20860 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20862 DEFS=-DHAVE_CONFIG_H
20867 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20868 # 1. Remove the extension, and $U if already installed.
20869 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20870 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20871 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20872 # will be set to the directory where LIBOBJS objects are built.
20873 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20874 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20876 LIBOBJS=$ac_libobjs
20878 LTLIBOBJS=$ac_ltlibobjs
20881 if test -n "$EXEEXT"; then
20883 am__EXEEXT_FALSE='#'
20885 am__EXEEXT_TRUE='#'
20889 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20890 as_fn_error $? "conditional \"AMDEP\" was never defined.
20891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20893 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20894 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20897 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20898 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
20899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20901 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20902 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
20903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20905 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20906 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
20907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20909 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20910 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
20911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20913 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20914 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
20915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20917 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20918 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
20919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20921 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20922 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
20923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20925 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20926 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
20927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20929 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20930 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
20931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20933 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20934 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
20935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20937 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20938 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
20939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20941 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20942 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
20943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20945 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20946 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
20947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20949 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20950 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
20951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20953 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20954 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
20955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20957 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20958 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
20959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20961 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20962 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
20963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20965 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20966 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
20967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20969 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20970 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
20971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20973 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20974 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
20975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20977 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20978 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
20979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20981 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20982 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
20983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20985 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20986 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20989 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20990 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20993 if test -z "${BUILD_NSAPI_TRUE}" && test -z "${BUILD_NSAPI_FALSE}"; then
20994 as_fn_error $? "conditional \"BUILD_NSAPI\" was never defined.
20995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20997 if test -z "${BUILD_FASTCGI_TRUE}" && test -z "${BUILD_FASTCGI_FALSE}"; then
20998 as_fn_error $? "conditional \"BUILD_FASTCGI\" was never defined.
20999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21001 if test -z "${BUILD_MEMCACHED_TRUE}" && test -z "${BUILD_MEMCACHED_FALSE}"; then
21002 as_fn_error $? "conditional \"BUILD_MEMCACHED\" was never defined.
21003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21005 if test -z "${BUILD_AP13_TRUE}" && test -z "${BUILD_AP13_FALSE}"; then
21006 as_fn_error $? "conditional \"BUILD_AP13\" was never defined.
21007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21009 if test -z "${BUILD_AP20_TRUE}" && test -z "${BUILD_AP20_FALSE}"; then
21010 as_fn_error $? "conditional \"BUILD_AP20\" was never defined.
21011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21013 if test -z "${BUILD_AP22_TRUE}" && test -z "${BUILD_AP22_FALSE}"; then
21014 as_fn_error $? "conditional \"BUILD_AP22\" was never defined.
21015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21018 : ${CONFIG_STATUS=./config.status}
21020 ac_clean_files_save=$ac_clean_files
21021 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21023 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21025 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21027 # Generated by $as_me.
21028 # Run this file to recreate the current configuration.
21029 # Compiler output produced by configure, useful for debugging
21030 # configure, is in config.log if it exists.
21033 ac_cs_recheck=false
21036 SHELL=\${CONFIG_SHELL-$SHELL}
21039 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21040 ## -------------------- ##
21041 ## M4sh Initialization. ##
21042 ## -------------------- ##
21044 # Be more Bourne compatible
21045 DUALCASE=1; export DUALCASE # for MKS sh
21046 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21049 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21050 # is contrary to our usage. Disable this feature.
21051 alias -g '${1+"$@"}'='"$@"'
21052 setopt NO_GLOB_SUBST
21054 case `(set -o) 2>/dev/null` in #(
21066 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21067 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21068 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21070 # Prefer a ksh shell builtin over an external printf program on Solaris,
21071 # but without wasting forks for bash or zsh.
21072 if test -z "$BASH_VERSION$ZSH_VERSION" \
21073 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21074 as_echo='print -r --'
21075 as_echo_n='print -rn --'
21076 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21077 as_echo='printf %s\n'
21078 as_echo_n='printf %s'
21080 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21081 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21082 as_echo_n='/usr/ucb/echo -n'
21084 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21085 as_echo_n_body='eval
21089 expr "X$arg" : "X\\(.*\\)$as_nl";
21090 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21092 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21094 export as_echo_n_body
21095 as_echo_n='sh -c $as_echo_n_body as_echo'
21097 export as_echo_body
21098 as_echo='sh -c $as_echo_body as_echo'
21101 # The user is always right.
21102 if test "${PATH_SEPARATOR+set}" != set; then
21104 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21105 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21112 # We need space, tab and new line, in precisely that order. Quoting is
21113 # there to prevent editors from complaining about space-tab.
21114 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21115 # splitting by setting IFS to empty value.)
21118 # Find who we are. Look in the path if we contain no directory separator.
21120 *[\\/]* ) as_myself=$0 ;;
21121 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21122 for as_dir in $PATH
21125 test -z "$as_dir" && as_dir=.
21126 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21132 # We did not find ourselves, most probably we were run as `sh COMMAND'
21133 # in which case we are not to be found in the path.
21134 if test "x$as_myself" = x; then
21137 if test ! -f "$as_myself"; then
21138 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21142 # Unset variables that we do not need and which cause bugs (e.g. in
21143 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21144 # suppresses any "Segmentation fault" message there. '((' could
21145 # trigger a bug in pdksh 5.2.14.
21146 for as_var in BASH_ENV ENV MAIL MAILPATH
21147 do eval test x\${$as_var+set} = xset \
21148 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21161 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21164 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21165 # ----------------------------------------
21166 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21167 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21168 # script with STATUS, using 1 if that was 0.
21171 as_status=$1; test $as_status -eq 0 && as_status=1
21173 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21174 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21176 $as_echo "$as_me: error: $2" >&2
21177 as_fn_exit $as_status
21181 # as_fn_set_status STATUS
21182 # -----------------------
21183 # Set $? to STATUS, without forking.
21184 as_fn_set_status ()
21187 } # as_fn_set_status
21189 # as_fn_exit STATUS
21190 # -----------------
21191 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21195 as_fn_set_status $1
21201 # Portably unset VAR.
21204 { eval $1=; unset $1;}
21206 as_unset=as_fn_unset
21207 # as_fn_append VAR VALUE
21208 # ----------------------
21209 # Append the text in VALUE to the end of the definition contained in VAR. Take
21210 # advantage of any shell optimizations that allow amortized linear growth over
21211 # repeated appends, instead of the typical quadratic growth present in naive
21213 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21214 eval 'as_fn_append ()
21225 # as_fn_arith ARG...
21226 # ------------------
21227 # Perform arithmetic evaluation on the ARGs, and store the result in the
21228 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21229 # must be portable across $(()) and expr.
21230 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21231 eval 'as_fn_arith ()
21238 as_val=`expr "$@" || test $? -eq 1`
21243 if expr a : '\(a\)' >/dev/null 2>&1 &&
21244 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21250 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21251 as_basename=basename
21256 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21262 as_me=`$as_basename -- "$0" ||
21263 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21264 X"$0" : 'X\(//\)$' \| \
21265 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21267 sed '/^.*\/\([^/][^/]*\)\/*$/{
21281 # Avoid depending upon Character Ranges.
21282 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21283 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21284 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21285 as_cr_digits='0123456789'
21286 as_cr_alnum=$as_cr_Letters$as_cr_digits
21288 ECHO_C= ECHO_N= ECHO_T=
21289 case `echo -n x` in #(((((
21291 case `echo 'xy\c'` in
21292 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21294 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21301 rm -f conf$$ conf$$.exe conf$$.file
21302 if test -d conf$$.dir; then
21303 rm -f conf$$.dir/conf$$.file
21306 mkdir conf$$.dir 2>/dev/null
21308 if (echo >conf$$.file) 2>/dev/null; then
21309 if ln -s conf$$.file conf$$ 2>/dev/null; then
21311 # ... but there are two gotchas:
21312 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21313 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21314 # In both cases, we have to default to `cp -p'.
21315 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21317 elif ln conf$$.file conf$$ 2>/dev/null; then
21325 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21326 rmdir conf$$.dir 2>/dev/null
21331 # Create "$as_dir" as a directory, including parents if necessary.
21336 -*) as_dir=./$as_dir;;
21338 test -d "$as_dir" || eval $as_mkdir_p || {
21342 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21343 *) as_qdir=$as_dir;;
21345 as_dirs="'$as_qdir' $as_dirs"
21346 as_dir=`$as_dirname -- "$as_dir" ||
21347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21348 X"$as_dir" : 'X\(//\)[^/]' \| \
21349 X"$as_dir" : 'X\(//\)$' \| \
21350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21351 $as_echo X"$as_dir" |
21352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21356 /^X\(\/\/\)[^/].*/{
21369 test -d "$as_dir" && break
21371 test -z "$as_dirs" || eval "mkdir $as_dirs"
21372 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21376 if mkdir -p . 2>/dev/null; then
21377 as_mkdir_p='mkdir -p "$as_dir"'
21379 test -d ./-p && rmdir ./-p
21383 if test -x / >/dev/null 2>&1; then
21384 as_test_x='test -x'
21386 if ls -dL / >/dev/null 2>&1; then
21393 if test -d "$1"; then
21399 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21400 ???[sx]*):;;*)false;;esac;fi
21404 as_executable_p=$as_test_x
21406 # Sed expression to map a string onto a valid CPP name.
21407 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21409 # Sed expression to map a string onto a valid variable name.
21410 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21414 ## ----------------------------------- ##
21415 ## Main body of $CONFIG_STATUS script. ##
21416 ## ----------------------------------- ##
21418 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21421 # Save the log message, to keep $0 and so on meaningful, and to
21422 # report actual input values of CONFIG_FILES etc. instead of their
21423 # values after options handling.
21425 This file was extended by shibboleth $as_me 2.5, which was
21426 generated by GNU Autoconf 2.67. Invocation command line was
21428 CONFIG_FILES = $CONFIG_FILES
21429 CONFIG_HEADERS = $CONFIG_HEADERS
21430 CONFIG_LINKS = $CONFIG_LINKS
21431 CONFIG_COMMANDS = $CONFIG_COMMANDS
21434 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21439 case $ac_config_files in *"
21440 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21443 case $ac_config_headers in *"
21444 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21449 # Files that config.status was made for.
21450 config_files="$ac_config_files"
21451 config_headers="$ac_config_headers"
21452 config_commands="$ac_config_commands"
21456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21458 \`$as_me' instantiates files and other configuration actions
21459 from templates according to the current configuration. Unless the files
21460 and actions are specified as TAGs, all are instantiated by default.
21462 Usage: $0 [OPTION]... [TAG]...
21464 -h, --help print this help, then exit
21465 -V, --version print version number and configuration settings, then exit
21466 --config print configuration, then exit
21467 -q, --quiet, --silent
21468 do not print progress messages
21469 -d, --debug don't remove temporary files
21470 --recheck update $as_me by reconfiguring in the same conditions
21471 --file=FILE[:TEMPLATE]
21472 instantiate the configuration file FILE
21473 --header=FILE[:TEMPLATE]
21474 instantiate the configuration header FILE
21476 Configuration files:
21479 Configuration headers:
21482 Configuration commands:
21485 Report bugs to <https://issues.shibboleth.net/>."
21488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21489 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21491 shibboleth config.status 2.5
21492 configured by $0, generated by GNU Autoconf 2.67,
21493 with options \\"\$ac_cs_config\\"
21495 Copyright (C) 2010 Free Software Foundation, Inc.
21496 This config.status script is free software; the Free Software Foundation
21497 gives unlimited permission to copy, distribute and modify it."
21504 test -n "\$AWK" || AWK=awk
21507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21508 # The default lists apply if the user does not specify any file.
21514 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21515 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21531 # Handling of the options.
21532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21535 $as_echo "$ac_cs_version"; exit ;;
21536 --config | --confi | --conf | --con | --co | --c )
21537 $as_echo "$ac_cs_config"; exit ;;
21538 --debug | --debu | --deb | --de | --d | -d )
21540 --file | --fil | --fi | --f )
21543 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21544 '') as_fn_error $? "missing file argument" ;;
21546 as_fn_append CONFIG_FILES " '$ac_optarg'"
21547 ac_need_defaults=false;;
21548 --header | --heade | --head | --hea )
21551 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21553 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21554 ac_need_defaults=false;;
21556 # Conflict between --help and --header
21557 as_fn_error $? "ambiguous option: \`$1'
21558 Try \`$0 --help' for more information.";;
21559 --help | --hel | -h )
21560 $as_echo "$ac_cs_usage"; exit ;;
21561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21562 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21565 # This is an error.
21566 -*) as_fn_error $? "unrecognized option: \`$1'
21567 Try \`$0 --help' for more information." ;;
21569 *) as_fn_append ac_config_targets " $1"
21570 ac_need_defaults=false ;;
21576 ac_configure_extra_args=
21578 if $ac_cs_silent; then
21580 ac_configure_extra_args="$ac_configure_extra_args --silent"
21584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21585 if \$ac_cs_recheck; then
21586 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21588 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21589 CONFIG_SHELL='$SHELL'
21590 export CONFIG_SHELL
21595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21599 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21600 ## Running $as_me. ##
21606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21610 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21613 # The HP-UX ksh and POSIX shell print the target directory to stdout
21614 # if CDPATH is set.
21615 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21617 sed_quote_subst='$sed_quote_subst'
21618 double_quote_subst='$double_quote_subst'
21619 delay_variable_subst='$delay_variable_subst'
21620 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21621 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21622 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21623 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21624 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21625 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21626 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21627 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21628 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21629 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21630 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21631 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21632 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21633 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21634 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21635 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21636 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21637 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21638 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21639 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21640 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21641 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21642 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21643 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21644 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21645 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21646 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21647 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21648 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21649 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21650 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21651 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21652 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21653 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21654 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21655 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21656 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21657 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21658 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21659 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21660 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21661 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21662 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21663 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21664 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21665 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21666 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21667 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21668 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21669 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21670 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21671 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21672 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21673 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21674 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21675 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"`'
21676 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21677 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21678 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21679 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21680 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21681 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21682 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21683 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21684 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21685 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21686 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21687 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21688 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21689 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21690 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21691 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21692 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21693 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21694 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21695 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21696 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21697 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21698 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21699 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21700 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21701 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21702 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21703 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21704 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21705 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21706 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21707 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21708 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21709 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21710 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21711 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21712 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21713 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21714 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21715 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21716 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21717 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21718 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21719 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21720 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21721 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21722 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21723 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21724 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21725 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21726 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21727 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21728 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21729 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21730 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21731 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21732 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21733 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21734 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21735 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21736 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21737 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21738 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21739 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21740 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21741 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21742 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21743 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21744 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21745 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21746 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21747 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21748 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21749 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21750 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21751 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21752 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21753 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21754 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21755 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21756 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21757 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21758 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21759 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21760 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21761 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21762 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21763 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21764 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21765 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21766 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21767 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21768 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21769 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21770 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21771 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21772 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21773 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21774 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21775 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21776 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21777 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21778 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21779 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21780 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21781 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21782 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21783 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21784 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21785 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21786 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21787 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21788 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21789 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21790 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21791 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21792 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21793 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21794 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21795 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21796 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21797 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21798 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21799 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21800 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21801 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21802 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21803 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21804 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21807 LTCFLAGS='$LTCFLAGS'
21808 compiler='$compiler_DEFAULT'
21810 # A function that is used when there is no print builtin or printf.
21811 func_fallback_echo ()
21813 eval 'cat <<_LTECHO_EOF
21818 # Quote evaled strings.
21832 deplibs_check_method \
21837 sharedlib_from_linklib_cmd \
21840 archiver_list_spec \
21846 lt_cv_sys_global_symbol_pipe \
21847 lt_cv_sys_global_symbol_to_cdecl \
21848 lt_cv_sys_global_symbol_to_c_name_address \
21849 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21850 nm_file_list_spec \
21851 lt_prog_compiler_no_builtin_flag \
21852 lt_prog_compiler_pic \
21853 lt_prog_compiler_wl \
21854 lt_prog_compiler_static \
21855 lt_cv_prog_compiler_c_o \
21864 export_dynamic_flag_spec \
21865 whole_archive_flag_spec \
21866 compiler_needs_object \
21868 allow_undefined_flag \
21869 no_undefined_flag \
21870 hardcode_libdir_flag_spec \
21871 hardcode_libdir_flag_spec_ld \
21872 hardcode_libdir_separator \
21876 variables_saved_for_relink \
21878 library_names_spec \
21880 install_override_mode \
21884 compiler_lib_search_dirs \
21889 compiler_lib_search_path \
21893 lt_prog_compiler_no_builtin_flag_CXX \
21894 lt_prog_compiler_pic_CXX \
21895 lt_prog_compiler_wl_CXX \
21896 lt_prog_compiler_static_CXX \
21897 lt_cv_prog_compiler_c_o_CXX \
21898 export_dynamic_flag_spec_CXX \
21899 whole_archive_flag_spec_CXX \
21900 compiler_needs_object_CXX \
21902 allow_undefined_flag_CXX \
21903 no_undefined_flag_CXX \
21904 hardcode_libdir_flag_spec_CXX \
21905 hardcode_libdir_flag_spec_ld_CXX \
21906 hardcode_libdir_separator_CXX \
21907 exclude_expsyms_CXX \
21908 include_expsyms_CXX \
21909 file_list_spec_CXX \
21910 compiler_lib_search_dirs_CXX \
21911 predep_objects_CXX \
21912 postdep_objects_CXX \
21915 compiler_lib_search_path_CXX; do
21916 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21917 *[\\\\\\\`\\"\\\$]*)
21918 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21921 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21926 # Double-quote double-evaled strings.
21927 for var in reload_cmds \
21928 old_postinstall_cmds \
21929 old_postuninstall_cmds \
21931 extract_expsyms_cmds \
21932 old_archive_from_new_cmds \
21933 old_archive_from_expsyms_cmds \
21935 archive_expsym_cmds \
21937 module_expsym_cmds \
21938 export_symbols_cmds \
21942 postuninstall_cmds \
21944 sys_lib_search_path_spec \
21945 sys_lib_dlsearch_path_spec \
21947 old_archive_cmds_CXX \
21948 old_archive_from_new_cmds_CXX \
21949 old_archive_from_expsyms_cmds_CXX \
21951 archive_expsym_cmds_CXX \
21953 module_expsym_cmds_CXX \
21954 export_symbols_cmds_CXX \
21956 postlink_cmds_CXX; do
21957 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21958 *[\\\\\\\`\\"\\\$]*)
21959 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21962 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21967 ac_aux_dir='$ac_aux_dir'
21968 xsi_shell='$xsi_shell'
21969 lt_shell_append='$lt_shell_append'
21971 # See if we are running on zsh, and set the options which allow our
21972 # commands through without removal of \ escapes INIT.
21973 if test -n "\${ZSH_VERSION+set}" ; then
21974 setopt NO_GLOB_SUBST
21980 TIMESTAMP='$TIMESTAMP'
21991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21993 # Handling of arguments.
21994 for ac_config_target in $ac_config_targets
21996 case $ac_config_target in
21997 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21998 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21999 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22000 "shibsp/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS shibsp/config_pub.h" ;;
22001 "shibboleth.spec") CONFIG_FILES="$CONFIG_FILES shibboleth.spec" ;;
22002 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22003 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22004 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
22005 "configs/Makefile") CONFIG_FILES="$CONFIG_FILES configs/Makefile" ;;
22006 "shibsp/Makefile") CONFIG_FILES="$CONFIG_FILES shibsp/Makefile" ;;
22007 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
22008 "shibd/Makefile") CONFIG_FILES="$CONFIG_FILES shibd/Makefile" ;;
22009 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
22010 "selinux/Makefile") CONFIG_FILES="$CONFIG_FILES selinux/Makefile" ;;
22011 "adfs/Makefile") CONFIG_FILES="$CONFIG_FILES adfs/Makefile" ;;
22012 "nsapi_shib/Makefile") CONFIG_FILES="$CONFIG_FILES nsapi_shib/Makefile" ;;
22013 "fastcgi/Makefile") CONFIG_FILES="$CONFIG_FILES fastcgi/Makefile" ;;
22014 "memcache-store/Makefile") CONFIG_FILES="$CONFIG_FILES memcache-store/Makefile" ;;
22015 "apache/Makefile") CONFIG_FILES="$CONFIG_FILES apache/Makefile" ;;
22016 "odbc-store/Makefile") CONFIG_FILES="$CONFIG_FILES odbc-store/Makefile" ;;
22018 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
22023 # If the user did not use the arguments to specify the items to instantiate,
22024 # then the envvar interface is used. Set only those that are not.
22025 # We use the long form for the default assignment because of an extremely
22026 # bizarre bug on SunOS 4.1.3.
22027 if $ac_need_defaults; then
22028 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22029 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22030 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22033 # Have a temporary directory for convenience. Make it in the build tree
22034 # simply because there is no reason against having it here, and in addition,
22035 # creating and moving files from /tmp can sometimes cause problems.
22036 # Hook for its removal unless debugging.
22037 # Note that there is a small window in which the directory will not be cleaned:
22038 # after its creation but before its name has been assigned to `$tmp'.
22042 trap 'exit_status=$?
22043 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22045 trap 'as_fn_exit 1' 1 2 13 15
22047 # Create a (secure) tmp directory for tmp files.
22050 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22051 test -n "$tmp" && test -d "$tmp"
22054 tmp=./conf$$-$RANDOM
22055 (umask 077 && mkdir "$tmp")
22056 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22058 # Set up the scripts for CONFIG_FILES section.
22059 # No need to generate them if there are no CONFIG_FILES.
22060 # This happens for instance with `./config.status config.h'.
22061 if test -n "$CONFIG_FILES"; then
22064 ac_cr=`echo X | tr X '\015'`
22065 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22066 # But we know of no other shell where ac_cr would be empty at this
22067 # point, so we can use a bashism as a fallback.
22068 if test "x$ac_cr" = x; then
22069 eval ac_cr=\$\'\\r\'
22071 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22072 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22075 ac_cs_awk_cr=$ac_cr
22078 echo 'BEGIN {' >"$tmp/subs1.awk" &&
22083 echo "cat >conf$$subs.awk <<_ACEOF" &&
22084 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22086 } >conf$$subs.sh ||
22087 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22088 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22090 for ac_last_try in false false false false false :; do
22091 . ./conf$$subs.sh ||
22092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22094 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22095 if test $ac_delim_n = $ac_delim_num; then
22097 elif $ac_last_try; then
22098 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22100 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22103 rm -f conf$$subs.sh
22105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22106 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22110 s/^/S["/; s/!.*/"]=/
22120 s/\(.\{148\}\)..*/\1/
22122 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22127 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22134 s/\(.\{148\}\)..*/\1/
22136 s/["\\]/\\&/g; s/^/"/; s/$/"/
22140 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22145 ' <conf$$subs.awk | sed '
22150 ' >>$CONFIG_STATUS || ac_write_fail=1
22151 rm -f conf$$subs.awk
22152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22154 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
22155 for (key in S) S_is_set[key] = 1
22161 nfields = split(line, field, "@")
22163 len = length(field[1])
22164 for (i = 2; i < nfields; i++) {
22166 keylen = length(key)
22167 if (S_is_set[key]) {
22169 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22170 len += length(value) + length(field[++i])
22181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22182 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22183 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22186 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22187 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22190 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22191 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22192 # trailing colons and then remove the whole line if VPATH becomes empty
22193 # (actually we leave an empty line to preserve line numbers).
22194 if test "x$srcdir" = x.; then
22195 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22214 fi # test -n "$CONFIG_FILES"
22216 # Set up the scripts for CONFIG_HEADERS section.
22217 # No need to generate them if there are no CONFIG_HEADERS.
22218 # This happens for instance with `./config.status Makefile'.
22219 if test -n "$CONFIG_HEADERS"; then
22220 cat >"$tmp/defines.awk" <<\_ACAWK ||
22224 # Transform confdefs.h into an awk script `defines.awk', embedded as
22225 # here-document in config.status, that substitutes the proper values into
22226 # config.h.in to produce config.h.
22228 # Create a delimiter string that does not exist in confdefs.h, to ease
22229 # handling of long lines.
22231 for ac_last_try in false false :; do
22232 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
22233 if test -z "$ac_t"; then
22235 elif $ac_last_try; then
22236 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22238 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22242 # For the awk script, D is an array of macro values keyed by name,
22243 # likewise P contains macro parameters if any. Preserve backslash
22244 # newline sequences.
22246 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22248 s/.\{148\}/&'"$ac_delim"'/g
22251 s/^[ ]*#[ ]*define[ ][ ]*/ /
22258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22264 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22265 D["\1"]=" \3\\\\\\n"\\/p
22267 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22272 s/.\{148\}/&'"$ac_delim"'/g
22277 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22280 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22282 ' <confdefs.h | sed '
22283 s/'"$ac_delim"'/"\\\
22284 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22287 for (key in D) D_is_set[key] = 1
22290 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22292 split(line, arg, " ")
22293 if (arg[1] == "#") {
22297 defundef = substr(arg[1], 2)
22300 split(mac1, mac2, "(") #)
22302 prefix = substr(line, 1, index(line, defundef) - 1)
22303 if (D_is_set[macro]) {
22304 # Preserve the white space surrounding the "#".
22305 print prefix "define", macro P[macro] D[macro]
22308 # Replace #undef with comments. This is necessary, for example,
22309 # in the case of _POSIX_SOURCE, which is predefined and required
22310 # on some systems where configure will not decide to define it.
22311 if (defundef == "undef") {
22312 print "/*", prefix defundef, macro, "*/"
22320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22321 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22322 fi # test -n "$CONFIG_HEADERS"
22325 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22330 :[FHLC]) ac_mode=$ac_tag; continue;;
22332 case $ac_mode$ac_tag in
22334 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
22335 :[FH]-) ac_tag=-:-;;
22336 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22353 -) ac_f="$tmp/stdin";;
22354 *) # Look for the file first in the build tree, then in the source tree
22355 # (if the path is not absolute). The absolute path cannot be DOS-style,
22356 # because $ac_f cannot contain `:'.
22360 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22362 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
22364 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22365 as_fn_append ac_file_inputs " '$ac_f'"
22368 # Let's still pretend it is `configure' which instantiates (i.e., don't
22369 # use $as_me), people would be surprised to read:
22370 # /* config.h. Generated by config.status. */
22371 configure_input='Generated from '`
22372 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22374 if test x"$ac_file" != x-; then
22375 configure_input="$ac_file. $configure_input"
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22377 $as_echo "$as_me: creating $ac_file" >&6;}
22379 # Neutralize special characters interpreted by sed in replacement strings.
22380 case $configure_input in #(
22381 *\&* | *\|* | *\\* )
22382 ac_sed_conf_input=`$as_echo "$configure_input" |
22383 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22384 *) ac_sed_conf_input=$configure_input;;
22388 *:-:* | *:-) cat >"$tmp/stdin" \
22389 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22394 ac_dir=`$as_dirname -- "$ac_file" ||
22395 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22396 X"$ac_file" : 'X\(//\)[^/]' \| \
22397 X"$ac_file" : 'X\(//\)$' \| \
22398 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22399 $as_echo X"$ac_file" |
22400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22404 /^X\(\/\/\)[^/].*/{
22417 as_dir="$ac_dir"; as_fn_mkdir_p
22421 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22423 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22424 # A ".." for each directory in $ac_dir_suffix.
22425 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22426 case $ac_top_builddir_sub in
22427 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22428 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22431 ac_abs_top_builddir=$ac_pwd
22432 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22433 # for backward compatibility:
22434 ac_top_builddir=$ac_top_build_prefix
22437 .) # We are building in place.
22439 ac_top_srcdir=$ac_top_builddir_sub
22440 ac_abs_top_srcdir=$ac_pwd ;;
22441 [\\/]* | ?:[\\/]* ) # Absolute name.
22442 ac_srcdir=$srcdir$ac_dir_suffix;
22443 ac_top_srcdir=$srcdir
22444 ac_abs_top_srcdir=$srcdir ;;
22445 *) # Relative name.
22446 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22447 ac_top_srcdir=$ac_top_build_prefix$srcdir
22448 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22450 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22460 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22461 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22463 ac_MKDIR_P=$MKDIR_P
22465 [\\/$]* | ?:[\\/]* ) ;;
22466 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22471 # If the template does not know about datarootdir, expand it.
22472 # FIXME: This hack should be removed a few years after 2.60.
22473 ac_datarootdir_hack=; ac_datarootdir_seen=
22484 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22485 *datarootdir*) ac_datarootdir_seen=yes;;
22486 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22488 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22491 ac_datarootdir_hack='
22492 s&@datadir@&$datadir&g
22493 s&@docdir@&$docdir&g
22494 s&@infodir@&$infodir&g
22495 s&@localedir@&$localedir&g
22496 s&@mandir@&$mandir&g
22497 s&\\\${datarootdir}&$datarootdir&g' ;;
22501 # Neutralize VPATH when `$srcdir' = `.'.
22502 # Shell code in configure.ac might set extrasub.
22503 # FIXME: do we really want to maintain this feature?
22504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22505 ac_sed_extra="$ac_vpsub
22508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22510 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22511 s|@configure_input@|$ac_sed_conf_input|;t t
22512 s&@top_builddir@&$ac_top_builddir_sub&;t t
22513 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22514 s&@srcdir@&$ac_srcdir&;t t
22515 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22516 s&@top_srcdir@&$ac_top_srcdir&;t t
22517 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22518 s&@builddir@&$ac_builddir&;t t
22519 s&@abs_builddir@&$ac_abs_builddir&;t t
22520 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22521 s&@INSTALL@&$ac_INSTALL&;t t
22522 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22523 $ac_datarootdir_hack
22525 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22528 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22529 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22530 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22532 which seems to be undefined. Please make sure it is defined" >&5
22533 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22534 which seems to be undefined. Please make sure it is defined" >&2;}
22538 -) cat "$tmp/out" && rm -f "$tmp/out";;
22539 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22547 if test x"$ac_file" != x-; then
22549 $as_echo "/* $configure_input */" \
22550 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22551 } >"$tmp/config.h" \
22552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22553 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22555 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22558 mv "$tmp/config.h" "$ac_file" \
22559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22562 $as_echo "/* $configure_input */" \
22563 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22564 || as_fn_error $? "could not create -" "$LINENO" 5
22566 # Compute "$ac_file"'s index in $config_headers.
22569 for _am_header in $config_headers :; do
22570 case $_am_header in
22571 $_am_arg | $_am_arg:* )
22574 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22577 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22578 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22579 X"$_am_arg" : 'X\(//\)[^/]' \| \
22580 X"$_am_arg" : 'X\(//\)$' \| \
22581 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22582 $as_echo X"$_am_arg" |
22583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22587 /^X\(\/\/\)[^/].*/{
22599 s/.*/./; q'`/stamp-h$_am_stamp_count
22602 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22603 $as_echo "$as_me: executing $ac_file commands" >&6;}
22608 case $ac_file$ac_mode in
22609 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22610 # Autoconf 2.62 quotes --file arguments for eval, but not when files
22611 # are listed without --file. Let's play safe and only enable the eval
22612 # if we detect the quoting.
22613 case $CONFIG_FILES in
22614 *\'*) eval set x "$CONFIG_FILES" ;;
22615 *) set x $CONFIG_FILES ;;
22620 # Strip MF so we end up with the name of the file.
22621 mf=`echo "$mf" | sed -e 's/:.*$//'`
22622 # Check whether this is an Automake generated Makefile or not.
22623 # We used to match only the files named `Makefile.in', but
22624 # some people rename them; so instead we look at the file content.
22625 # Grep'ing the first line is not enough: some people post-process
22626 # each Makefile.in and add a new line on top of each file to say so.
22627 # Grep'ing the whole file is not good either: AIX grep has a line
22628 # limit of 2048, but all sed's we know have understand at least 4000.
22629 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22630 dirpart=`$as_dirname -- "$mf" ||
22631 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22632 X"$mf" : 'X\(//\)[^/]' \| \
22633 X"$mf" : 'X\(//\)$' \| \
22634 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22640 /^X\(\/\/\)[^/].*/{
22656 # Extract the definition of DEPDIR, am__include, and am__quote
22657 # from the Makefile without running `make'.
22658 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22659 test -z "$DEPDIR" && continue
22660 am__include=`sed -n 's/^am__include = //p' < "$mf"`
22661 test -z "am__include" && continue
22662 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22663 # When using ansi2knr, U may be empty or an underscore; expand it
22664 U=`sed -n 's/^U = //p' < "$mf"`
22665 # Find all dependency output files, they are included files with
22666 # $(DEPDIR) in their names. We invoke sed twice because it is the
22667 # simplest approach to changing $(DEPDIR) to its actual value in the
22669 for file in `sed -n "
22670 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22671 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22672 # Make sure the directory exists.
22673 test -f "$dirpart/$file" && continue
22674 fdir=`$as_dirname -- "$file" ||
22675 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22676 X"$file" : 'X\(//\)[^/]' \| \
22677 X"$file" : 'X\(//\)$' \| \
22678 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22679 $as_echo X"$file" |
22680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22684 /^X\(\/\/\)[^/].*/{
22697 as_dir=$dirpart/$fdir; as_fn_mkdir_p
22698 # echo "creating $dirpart/$file"
22699 echo '# dummy' > "$dirpart/$file"
22706 # See if we are running on zsh, and set the options which allow our
22707 # commands through without removal of \ escapes.
22708 if test -n "${ZSH_VERSION+set}" ; then
22709 setopt NO_GLOB_SUBST
22712 cfgfile="${ofile}T"
22713 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22716 cat <<_LT_EOF >> "$cfgfile"
22719 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22720 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22721 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22722 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22724 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22725 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
22727 # Written by Gordon Matzigkeit, 1996
22729 # This file is part of GNU Libtool.
22731 # GNU Libtool is free software; you can redistribute it and/or
22732 # modify it under the terms of the GNU General Public License as
22733 # published by the Free Software Foundation; either version 2 of
22734 # the License, or (at your option) any later version.
22736 # As a special exception to the GNU General Public License,
22737 # if you distribute this file as part of a program or library that
22738 # is built using GNU Libtool, you may include this file under the
22739 # same distribution terms that you use for the rest of that program.
22741 # GNU Libtool is distributed in the hope that it will be useful,
22742 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22743 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22744 # GNU General Public License for more details.
22746 # You should have received a copy of the GNU General Public License
22747 # along with GNU Libtool; see the file COPYING. If not, a copy
22748 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22749 # obtained by writing to the Free Software Foundation, Inc.,
22750 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22753 # The names of the tagged configurations supported by this script.
22754 available_tags="CXX "
22756 # ### BEGIN LIBTOOL CONFIG
22758 # Whether or not to build static libraries.
22759 build_old_libs=$enable_static
22761 # Which release of libtool.m4 was used?
22762 macro_version=$macro_version
22763 macro_revision=$macro_revision
22765 # Whether or not to build shared libraries.
22766 build_libtool_libs=$enable_shared
22768 # What type of objects to build.
22771 # Whether or not to optimize for fast installation.
22772 fast_install=$enable_fast_install
22774 # Shell to use when invoking shell scripts.
22777 # An echo program that protects backslashes.
22781 host_alias=$host_alias
22785 # The build system.
22786 build_alias=$build_alias
22790 # A sed program that does not truncate output.
22793 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22794 Xsed="\$SED -e 1s/^X//"
22796 # A grep program that handles long lines.
22802 # A literal string matcher.
22805 # A BSD- or MS-compatible name lister.
22808 # Whether we need soft or hard links.
22811 # What is the maximum length of a command?
22812 max_cmd_len=$max_cmd_len
22814 # Object file suffix (normally "o").
22817 # Executable file suffix (normally "").
22820 # whether the shell understands "unset".
22823 # turn spaces into newlines.
22826 # turn newlines into spaces.
22829 # convert \$build file names to \$host format.
22830 to_host_file_cmd=$lt_cv_to_host_file_cmd
22832 # convert \$build files to toolchain format.
22833 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22835 # An object symbol dumper.
22836 OBJDUMP=$lt_OBJDUMP
22838 # Method to check whether dependent libraries are shared objects.
22839 deplibs_check_method=$lt_deplibs_check_method
22841 # Command to use when deplibs_check_method = "file_magic".
22842 file_magic_cmd=$lt_file_magic_cmd
22844 # How to find potential files when deplibs_check_method = "file_magic".
22845 file_magic_glob=$lt_file_magic_glob
22847 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22848 want_nocaseglob=$lt_want_nocaseglob
22850 # DLL creation program.
22851 DLLTOOL=$lt_DLLTOOL
22853 # Command to associate shared and link libraries.
22854 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22859 # Flags to create an archive.
22860 AR_FLAGS=$lt_AR_FLAGS
22862 # How to feed a file listing to the archiver.
22863 archiver_list_spec=$lt_archiver_list_spec
22865 # A symbol stripping program.
22868 # Commands used to install an old-style archive.
22870 old_postinstall_cmds=$lt_old_postinstall_cmds
22871 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22873 # Whether to use a lock for old archive extraction.
22874 lock_old_archive_extraction=$lock_old_archive_extraction
22879 # LTCC compiler flags.
22880 LTCFLAGS=$lt_CFLAGS
22882 # Take the output of nm and produce a listing of raw symbols and C names.
22883 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22885 # Transform the output of nm in a proper C declaration.
22886 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22888 # Transform the output of nm in a C name address pair.
22889 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22891 # Transform the output of nm in a C name address pair when lib prefix is needed.
22892 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22894 # Specify filename containing input files for \$NM.
22895 nm_file_list_spec=$lt_nm_file_list_spec
22897 # The root where to search for dependent libraries,and in which our libraries should be installed.
22898 lt_sysroot=$lt_sysroot
22900 # The name of the directory that contains temporary libtool files.
22903 # Used to examine libraries when file_magic_cmd begins with "file".
22904 MAGIC_CMD=$MAGIC_CMD
22906 # Must we lock files when doing compilation?
22907 need_locks=$lt_need_locks
22910 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22912 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22913 DSYMUTIL=$lt_DSYMUTIL
22915 # Tool to change global to local symbols on Mac OS X.
22918 # Tool to manipulate fat objects and archives on Mac OS X.
22921 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22924 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22925 OTOOL64=$lt_OTOOL64
22927 # Old archive suffix (normally "a").
22930 # Shared library suffix (normally ".so").
22931 shrext_cmds=$lt_shrext_cmds
22933 # The commands to extract the exported symbol list from a shared archive.
22934 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22936 # Variables whose values should be saved in libtool wrapper scripts and
22937 # restored at link time.
22938 variables_saved_for_relink=$lt_variables_saved_for_relink
22940 # Do we need the "lib" prefix for modules?
22941 need_lib_prefix=$need_lib_prefix
22943 # Do we need a version for libraries?
22944 need_version=$need_version
22946 # Library versioning type.
22947 version_type=$version_type
22949 # Shared library runtime path variable.
22950 runpath_var=$runpath_var
22952 # Shared library path variable.
22953 shlibpath_var=$shlibpath_var
22955 # Is shlibpath searched before the hard-coded library search path?
22956 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22958 # Format of library name prefix.
22959 libname_spec=$lt_libname_spec
22961 # List of archive names. First name is the real one, the rest are links.
22962 # The last name is the one that the linker finds with -lNAME
22963 library_names_spec=$lt_library_names_spec
22965 # The coded name of the library, if different from the real name.
22966 soname_spec=$lt_soname_spec
22968 # Permission mode override for installation of shared libraries.
22969 install_override_mode=$lt_install_override_mode
22971 # Command to use after installation of a shared archive.
22972 postinstall_cmds=$lt_postinstall_cmds
22974 # Command to use after uninstallation of a shared archive.
22975 postuninstall_cmds=$lt_postuninstall_cmds
22977 # Commands used to finish a libtool library installation in a directory.
22978 finish_cmds=$lt_finish_cmds
22980 # As "finish_cmds", except a single script fragment to be evaled but
22982 finish_eval=$lt_finish_eval
22984 # Whether we should hardcode library paths into libraries.
22985 hardcode_into_libs=$hardcode_into_libs
22987 # Compile-time system search path for libraries.
22988 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22990 # Run-time system search path for libraries.
22991 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22993 # Whether dlopen is supported.
22994 dlopen_support=$enable_dlopen
22996 # Whether dlopen of programs is supported.
22997 dlopen_self=$enable_dlopen_self
22999 # Whether dlopen of statically linked programs is supported.
23000 dlopen_self_static=$enable_dlopen_self_static
23002 # Commands to strip libraries.
23003 old_striplib=$lt_old_striplib
23004 striplib=$lt_striplib
23007 # The linker used to build libraries.
23010 # How to create reloadable object files.
23011 reload_flag=$lt_reload_flag
23012 reload_cmds=$lt_reload_cmds
23014 # Commands used to build an old-style archive.
23015 old_archive_cmds=$lt_old_archive_cmds
23017 # A language specific compiler.
23020 # Is the compiler the GNU compiler?
23023 # Compiler flag to turn off builtin functions.
23024 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23026 # Additional compiler flags for building library objects.
23027 pic_flag=$lt_lt_prog_compiler_pic
23029 # How to pass a linker flag through the compiler.
23030 wl=$lt_lt_prog_compiler_wl
23032 # Compiler flag to prevent dynamic linking.
23033 link_static_flag=$lt_lt_prog_compiler_static
23035 # Does compiler simultaneously support -c and -o options?
23036 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23038 # Whether or not to add -lc for building shared libraries.
23039 build_libtool_need_lc=$archive_cmds_need_lc
23041 # Whether or not to disallow shared libs when runtime libs are static.
23042 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23044 # Compiler flag to allow reflexive dlopens.
23045 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23047 # Compiler flag to generate shared objects directly from archives.
23048 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23050 # Whether the compiler copes with passing no objects directly.
23051 compiler_needs_object=$lt_compiler_needs_object
23053 # Create an old-style archive from a shared archive.
23054 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23056 # Create a temporary old-style archive to link instead of a shared archive.
23057 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23059 # Commands used to build a shared archive.
23060 archive_cmds=$lt_archive_cmds
23061 archive_expsym_cmds=$lt_archive_expsym_cmds
23063 # Commands used to build a loadable module if different from building
23064 # a shared archive.
23065 module_cmds=$lt_module_cmds
23066 module_expsym_cmds=$lt_module_expsym_cmds
23068 # Whether we are building with GNU ld or not.
23069 with_gnu_ld=$lt_with_gnu_ld
23071 # Flag that allows shared libraries with undefined symbols to be built.
23072 allow_undefined_flag=$lt_allow_undefined_flag
23074 # Flag that enforces no undefined symbols.
23075 no_undefined_flag=$lt_no_undefined_flag
23077 # Flag to hardcode \$libdir into a binary during linking.
23078 # This must work even if \$libdir does not exist
23079 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23081 # If ld is used when linking, flag to hardcode \$libdir into a binary
23082 # during linking. This must work even if \$libdir does not exist.
23083 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23085 # Whether we need a single "-rpath" flag with a separated argument.
23086 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23088 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23089 # DIR into the resulting binary.
23090 hardcode_direct=$hardcode_direct
23092 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23093 # DIR into the resulting binary and the resulting library dependency is
23094 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23095 # library is relocated.
23096 hardcode_direct_absolute=$hardcode_direct_absolute
23098 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23099 # into the resulting binary.
23100 hardcode_minus_L=$hardcode_minus_L
23102 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23103 # into the resulting binary.
23104 hardcode_shlibpath_var=$hardcode_shlibpath_var
23106 # Set to "yes" if building a shared library automatically hardcodes DIR
23107 # into the library and all subsequent libraries and executables linked
23109 hardcode_automatic=$hardcode_automatic
23111 # Set to yes if linker adds runtime paths of dependent libraries
23112 # to runtime path list.
23113 inherit_rpath=$inherit_rpath
23115 # Whether libtool must link a program against all its dependency libraries.
23116 link_all_deplibs=$link_all_deplibs
23118 # Set to "yes" if exported symbols are required.
23119 always_export_symbols=$always_export_symbols
23121 # The commands to list exported symbols.
23122 export_symbols_cmds=$lt_export_symbols_cmds
23124 # Symbols that should not be listed in the preloaded symbols.
23125 exclude_expsyms=$lt_exclude_expsyms
23127 # Symbols that must always be exported.
23128 include_expsyms=$lt_include_expsyms
23130 # Commands necessary for linking programs (against libraries) with templates.
23131 prelink_cmds=$lt_prelink_cmds
23133 # Commands necessary for finishing linking programs.
23134 postlink_cmds=$lt_postlink_cmds
23136 # Specify filename containing input files.
23137 file_list_spec=$lt_file_list_spec
23139 # How to hardcode a shared library path into an executable.
23140 hardcode_action=$hardcode_action
23142 # The directories searched by this compiler when creating a shared library.
23143 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23145 # Dependencies to place before and after the objects being linked to
23146 # create a shared library.
23147 predep_objects=$lt_predep_objects
23148 postdep_objects=$lt_postdep_objects
23149 predeps=$lt_predeps
23150 postdeps=$lt_postdeps
23152 # The library search path used internally by the compiler when linking
23153 # a shared library.
23154 compiler_lib_search_path=$lt_compiler_lib_search_path
23156 # ### END LIBTOOL CONFIG
23162 cat <<\_LT_EOF >> "$cfgfile"
23163 # AIX sometimes has problems with the GCC collect2 program. For some
23164 # reason, if we set the COLLECT_NAMES environment variable, the problems
23165 # vanish in a puff of smoke.
23166 if test "X${COLLECT_NAMES+set}" != Xset; then
23168 export COLLECT_NAMES
23175 ltmain="$ac_aux_dir/ltmain.sh"
23178 # We use sed instead of cat because bash on DJGPP gets confused if
23179 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23180 # text mode, it properly converts lines to CR/LF. This bash problem
23181 # is reportedly fixed, but why not run on old versions too?
23182 sed '$q' "$ltmain" >> "$cfgfile" \
23183 || (rm -f "$cfgfile"; exit 1)
23185 if test x"$xsi_shell" = xyes; then
23186 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23190 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23191 \ * ) func_dirname_result="${3}" ;;\
23193 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23194 && mv -f "$cfgfile.tmp" "$cfgfile" \
23195 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23196 test 0 -eq $? || _lt_function_replace_fail=:
23199 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23202 \ func_basename_result="${1##*/}"\
23203 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23204 && mv -f "$cfgfile.tmp" "$cfgfile" \
23205 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23206 test 0 -eq $? || _lt_function_replace_fail=:
23209 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23210 func_dirname_and_basename ()\
23213 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23214 \ * ) func_dirname_result="${3}" ;;\
23216 \ func_basename_result="${1##*/}"\
23217 } # Extended-shell func_dirname_and_basename 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_stripname ()$/,/^} # func_stripname /c\
23226 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23227 \ # positional parameters, so assign one to ordinary parameter first.\
23228 \ func_stripname_result=${3}\
23229 \ func_stripname_result=${func_stripname_result#"${1}"}\
23230 \ func_stripname_result=${func_stripname_result%"${2}"}\
23231 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23232 && mv -f "$cfgfile.tmp" "$cfgfile" \
23233 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23234 test 0 -eq $? || _lt_function_replace_fail=:
23237 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23238 func_split_long_opt ()\
23240 \ func_split_long_opt_name=${1%%=*}\
23241 \ func_split_long_opt_arg=${1#*=}\
23242 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23243 && mv -f "$cfgfile.tmp" "$cfgfile" \
23244 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23245 test 0 -eq $? || _lt_function_replace_fail=:
23248 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23249 func_split_short_opt ()\
23251 \ func_split_short_opt_arg=${1#??}\
23252 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23253 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23254 && mv -f "$cfgfile.tmp" "$cfgfile" \
23255 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23256 test 0 -eq $? || _lt_function_replace_fail=:
23259 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23263 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23264 \ *) func_lo2o_result=${1} ;;\
23266 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23267 && mv -f "$cfgfile.tmp" "$cfgfile" \
23268 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23269 test 0 -eq $? || _lt_function_replace_fail=:
23272 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23275 func_xform_result=${1%.*}.lo\
23276 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23277 && mv -f "$cfgfile.tmp" "$cfgfile" \
23278 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23279 test 0 -eq $? || _lt_function_replace_fail=:
23282 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23285 func_arith_result=$(( $* ))\
23286 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23287 && mv -f "$cfgfile.tmp" "$cfgfile" \
23288 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23289 test 0 -eq $? || _lt_function_replace_fail=:
23292 sed -e '/^func_len ()$/,/^} # func_len /c\
23295 func_len_result=${#1}\
23296 } # Extended-shell func_len implementation' "$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=:
23303 if test x"$lt_shell_append" = xyes; then
23304 sed -e '/^func_append ()$/,/^} # func_append /c\
23307 eval "${1}+=\\${2}"\
23308 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23309 && mv -f "$cfgfile.tmp" "$cfgfile" \
23310 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23311 test 0 -eq $? || _lt_function_replace_fail=:
23314 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23315 func_append_quoted ()\
23317 \ func_quote_for_eval "${2}"\
23318 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23319 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23320 && mv -f "$cfgfile.tmp" "$cfgfile" \
23321 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23322 test 0 -eq $? || _lt_function_replace_fail=:
23325 # Save a `func_append' function call where possible by direct use of '+='
23326 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23327 && mv -f "$cfgfile.tmp" "$cfgfile" \
23328 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23329 test 0 -eq $? || _lt_function_replace_fail=:
23331 # Save a `func_append' function call even when '+=' is not available
23332 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23333 && mv -f "$cfgfile.tmp" "$cfgfile" \
23334 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23335 test 0 -eq $? || _lt_function_replace_fail=:
23338 if test x"$_lt_function_replace_fail" = x":"; then
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23340 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23344 mv -f "$cfgfile" "$ofile" ||
23345 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23349 cat <<_LT_EOF >> "$ofile"
23351 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23353 # The linker used to build libraries.
23356 # How to create reloadable object files.
23357 reload_flag=$lt_reload_flag_CXX
23358 reload_cmds=$lt_reload_cmds_CXX
23360 # Commands used to build an old-style archive.
23361 old_archive_cmds=$lt_old_archive_cmds_CXX
23363 # A language specific compiler.
23364 CC=$lt_compiler_CXX
23366 # Is the compiler the GNU compiler?
23369 # Compiler flag to turn off builtin functions.
23370 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23372 # Additional compiler flags for building library objects.
23373 pic_flag=$lt_lt_prog_compiler_pic_CXX
23375 # How to pass a linker flag through the compiler.
23376 wl=$lt_lt_prog_compiler_wl_CXX
23378 # Compiler flag to prevent dynamic linking.
23379 link_static_flag=$lt_lt_prog_compiler_static_CXX
23381 # Does compiler simultaneously support -c and -o options?
23382 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23384 # Whether or not to add -lc for building shared libraries.
23385 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23387 # Whether or not to disallow shared libs when runtime libs are static.
23388 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23390 # Compiler flag to allow reflexive dlopens.
23391 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23393 # Compiler flag to generate shared objects directly from archives.
23394 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23396 # Whether the compiler copes with passing no objects directly.
23397 compiler_needs_object=$lt_compiler_needs_object_CXX
23399 # Create an old-style archive from a shared archive.
23400 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23402 # Create a temporary old-style archive to link instead of a shared archive.
23403 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23405 # Commands used to build a shared archive.
23406 archive_cmds=$lt_archive_cmds_CXX
23407 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23409 # Commands used to build a loadable module if different from building
23410 # a shared archive.
23411 module_cmds=$lt_module_cmds_CXX
23412 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23414 # Whether we are building with GNU ld or not.
23415 with_gnu_ld=$lt_with_gnu_ld_CXX
23417 # Flag that allows shared libraries with undefined symbols to be built.
23418 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23420 # Flag that enforces no undefined symbols.
23421 no_undefined_flag=$lt_no_undefined_flag_CXX
23423 # Flag to hardcode \$libdir into a binary during linking.
23424 # This must work even if \$libdir does not exist
23425 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23427 # If ld is used when linking, flag to hardcode \$libdir into a binary
23428 # during linking. This must work even if \$libdir does not exist.
23429 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
23431 # Whether we need a single "-rpath" flag with a separated argument.
23432 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23435 # DIR into the resulting binary.
23436 hardcode_direct=$hardcode_direct_CXX
23438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23439 # DIR into the resulting binary and the resulting library dependency is
23440 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23441 # library is relocated.
23442 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23444 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23445 # into the resulting binary.
23446 hardcode_minus_L=$hardcode_minus_L_CXX
23448 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23449 # into the resulting binary.
23450 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23452 # Set to "yes" if building a shared library automatically hardcodes DIR
23453 # into the library and all subsequent libraries and executables linked
23455 hardcode_automatic=$hardcode_automatic_CXX
23457 # Set to yes if linker adds runtime paths of dependent libraries
23458 # to runtime path list.
23459 inherit_rpath=$inherit_rpath_CXX
23461 # Whether libtool must link a program against all its dependency libraries.
23462 link_all_deplibs=$link_all_deplibs_CXX
23464 # Set to "yes" if exported symbols are required.
23465 always_export_symbols=$always_export_symbols_CXX
23467 # The commands to list exported symbols.
23468 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23470 # Symbols that should not be listed in the preloaded symbols.
23471 exclude_expsyms=$lt_exclude_expsyms_CXX
23473 # Symbols that must always be exported.
23474 include_expsyms=$lt_include_expsyms_CXX
23476 # Commands necessary for linking programs (against libraries) with templates.
23477 prelink_cmds=$lt_prelink_cmds_CXX
23479 # Commands necessary for finishing linking programs.
23480 postlink_cmds=$lt_postlink_cmds_CXX
23482 # Specify filename containing input files.
23483 file_list_spec=$lt_file_list_spec_CXX
23485 # How to hardcode a shared library path into an executable.
23486 hardcode_action=$hardcode_action_CXX
23488 # The directories searched by this compiler when creating a shared library.
23489 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23491 # Dependencies to place before and after the objects being linked to
23492 # create a shared library.
23493 predep_objects=$lt_predep_objects_CXX
23494 postdep_objects=$lt_postdep_objects_CXX
23495 predeps=$lt_predeps_CXX
23496 postdeps=$lt_postdeps_CXX
23498 # The library search path used internally by the compiler when linking
23499 # a shared library.
23500 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23502 # ### END LIBTOOL TAG CONFIG: CXX
23513 ac_clean_files=$ac_clean_files_save
23515 test $ac_write_fail = 0 ||
23516 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23519 # configure is writing to config.log, and then calls config.status.
23520 # config.status does its own redirection, appending to config.log.
23521 # Unfortunately, on DOS this fails, as config.log is still kept open
23522 # by configure, so config.status won't be able to write to it; its
23523 # output is simply discarded. So we exec the FD to /dev/null,
23524 # effectively closing config.log, so it can be properly (re)opened and
23525 # appended to by config.status. When coming back to configure, we
23526 # need to make the FD available again.
23527 if test "$no_create" != yes; then
23529 ac_config_status_args=
23530 test "$silent" = yes &&
23531 ac_config_status_args="$ac_config_status_args --quiet"
23533 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23536 # would make configure fail if this is the last instruction.
23537 $ac_cs_success || as_fn_exit 1
23539 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23541 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}