2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for opensaml 2.4.1.
5 # Report bugs to <https://bugs.internet2.edu/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: https://bugs.internet2.edu/ about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='opensaml'
572 PACKAGE_TARNAME='opensaml'
573 PACKAGE_VERSION='2.4.1'
574 PACKAGE_STRING='opensaml 2.4.1'
575 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
578 ac_unique_file="saml"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
740 INSTALL_STRIP_PROGRAM
782 program_transform_name
795 enable_option_checking
800 enable_dependency_tracking
825 ac_precious_vars='build_alias
847 # Initialize some variables set by options.
849 ac_init_version=false
850 ac_unrecognized_opts=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name=s,x,x,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir='${exec_prefix}/bin'
876 sbindir='${exec_prefix}/sbin'
877 libexecdir='${exec_prefix}/libexec'
878 datarootdir='${prefix}/share'
879 datadir='${datarootdir}'
880 sysconfdir='${prefix}/etc'
881 sharedstatedir='${prefix}/com'
882 localstatedir='${prefix}/var'
883 includedir='${prefix}/include'
884 oldincludedir='/usr/include'
885 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
886 infodir='${datarootdir}/info'
891 libdir='${exec_prefix}/lib'
892 localedir='${datarootdir}/locale'
893 mandir='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\$ac_option
907 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 # Accept the important Cygnus configure options, so we can diagnose typos.
914 case $ac_dashdash$ac_option in
918 -bindir | --bindir | --bindi | --bind | --bin | --bi)
920 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
923 -build | --build | --buil | --bui | --bu)
924 ac_prev=build_alias ;;
925 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
926 build_alias=$ac_optarg ;;
928 -cache-file | --cache-file | --cache-fil | --cache-fi \
929 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
930 ac_prev=cache_file ;;
931 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
932 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
933 cache_file=$ac_optarg ;;
936 cache_file=config.cache ;;
938 -datadir | --datadir | --datadi | --datad)
940 -datadir=* | --datadir=* | --datadi=* | --datad=*)
941 datadir=$ac_optarg ;;
943 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
944 | --dataroo | --dataro | --datar)
945 ac_prev=datarootdir ;;
946 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
947 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
948 datarootdir=$ac_optarg ;;
950 -disable-* | --disable-*)
951 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 as_fn_error $? "invalid feature name: $ac_useropt"
955 ac_useropt_orig=$ac_useropt
956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
962 ac_unrecognized_sep=', ';;
964 eval enable_$ac_useropt=no ;;
966 -docdir | --docdir | --docdi | --doc | --do)
968 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
971 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
976 -enable-* | --enable-*)
977 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980 as_fn_error $? "invalid feature name: $ac_useropt"
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
990 eval enable_$ac_useropt=\$ac_optarg ;;
992 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
993 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
994 | --exec | --exe | --ex)
995 ac_prev=exec_prefix ;;
996 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
997 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
998 | --exec=* | --exe=* | --ex=*)
999 exec_prefix=$ac_optarg ;;
1001 -gas | --gas | --ga | --g)
1002 # Obsolete; use --with-gas.
1005 -help | --help | --hel | --he | -h)
1006 ac_init_help=long ;;
1007 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1008 ac_init_help=recursive ;;
1009 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1010 ac_init_help=short ;;
1012 -host | --host | --hos | --ho)
1013 ac_prev=host_alias ;;
1014 -host=* | --host=* | --hos=* | --ho=*)
1015 host_alias=$ac_optarg ;;
1017 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021 htmldir=$ac_optarg ;;
1023 -includedir | --includedir | --includedi | --included | --include \
1024 | --includ | --inclu | --incl | --inc)
1025 ac_prev=includedir ;;
1026 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1027 | --includ=* | --inclu=* | --incl=* | --inc=*)
1028 includedir=$ac_optarg ;;
1030 -infodir | --infodir | --infodi | --infod | --info | --inf)
1032 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1033 infodir=$ac_optarg ;;
1035 -libdir | --libdir | --libdi | --libd)
1037 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1038 libdir=$ac_optarg ;;
1040 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1041 | --libexe | --libex | --libe)
1042 ac_prev=libexecdir ;;
1043 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1044 | --libexe=* | --libex=* | --libe=*)
1045 libexecdir=$ac_optarg ;;
1047 -localedir | --localedir | --localedi | --localed | --locale)
1048 ac_prev=localedir ;;
1049 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1050 localedir=$ac_optarg ;;
1052 -localstatedir | --localstatedir | --localstatedi | --localstated \
1053 | --localstate | --localstat | --localsta | --localst | --locals)
1054 ac_prev=localstatedir ;;
1055 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1056 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1057 localstatedir=$ac_optarg ;;
1059 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1062 mandir=$ac_optarg ;;
1064 -nfp | --nfp | --nf)
1065 # Obsolete; use --without-fp.
1068 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1069 | --no-cr | --no-c | -n)
1072 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1073 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1076 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1077 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1078 | --oldin | --oldi | --old | --ol | --o)
1079 ac_prev=oldincludedir ;;
1080 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1081 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1082 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1083 oldincludedir=$ac_optarg ;;
1085 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1088 prefix=$ac_optarg ;;
1090 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1091 | --program-pre | --program-pr | --program-p)
1092 ac_prev=program_prefix ;;
1093 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1094 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1095 program_prefix=$ac_optarg ;;
1097 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1098 | --program-suf | --program-su | --program-s)
1099 ac_prev=program_suffix ;;
1100 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1101 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1102 program_suffix=$ac_optarg ;;
1104 -program-transform-name | --program-transform-name \
1105 | --program-transform-nam | --program-transform-na \
1106 | --program-transform-n | --program-transform- \
1107 | --program-transform | --program-transfor \
1108 | --program-transfo | --program-transf \
1109 | --program-trans | --program-tran \
1110 | --progr-tra | --program-tr | --program-t)
1111 ac_prev=program_transform_name ;;
1112 -program-transform-name=* | --program-transform-name=* \
1113 | --program-transform-nam=* | --program-transform-na=* \
1114 | --program-transform-n=* | --program-transform-=* \
1115 | --program-transform=* | --program-transfor=* \
1116 | --program-transfo=* | --program-transf=* \
1117 | --program-trans=* | --program-tran=* \
1118 | --progr-tra=* | --program-tr=* | --program-t=*)
1119 program_transform_name=$ac_optarg ;;
1121 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1124 pdfdir=$ac_optarg ;;
1126 -psdir | --psdir | --psdi | --psd | --ps)
1128 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1132 | -silent | --silent | --silen | --sile | --sil)
1135 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139 sbindir=$ac_optarg ;;
1141 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1142 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1143 | --sharedst | --shareds | --shared | --share | --shar \
1145 ac_prev=sharedstatedir ;;
1146 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1147 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1148 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150 sharedstatedir=$ac_optarg ;;
1152 -site | --site | --sit)
1154 -site=* | --site=* | --sit=*)
1157 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1160 srcdir=$ac_optarg ;;
1162 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1163 | --syscon | --sysco | --sysc | --sys | --sy)
1164 ac_prev=sysconfdir ;;
1165 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1166 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1167 sysconfdir=$ac_optarg ;;
1169 -target | --target | --targe | --targ | --tar | --ta | --t)
1170 ac_prev=target_alias ;;
1171 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1172 target_alias=$ac_optarg ;;
1174 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1177 -version | --version | --versio | --versi | --vers | -V)
1178 ac_init_version=: ;;
1181 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error $? "invalid package name: $ac_useropt"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1194 eval with_$ac_useropt=\$ac_optarg ;;
1196 -without-* | --without-*)
1197 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200 as_fn_error $? "invalid package name: $ac_useropt"
1201 ac_useropt_orig=$ac_useropt
1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1208 ac_unrecognized_sep=', ';;
1210 eval with_$ac_useropt=no ;;
1213 # Obsolete; use --with-x.
1216 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1217 | --x-incl | --x-inc | --x-in | --x-i)
1218 ac_prev=x_includes ;;
1219 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1220 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1221 x_includes=$ac_optarg ;;
1223 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1224 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1225 ac_prev=x_libraries ;;
1226 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1227 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1228 x_libraries=$ac_optarg ;;
1230 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1231 Try \`$0 --help' for more information"
1235 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1236 # Reject names that are not valid shell variable names.
1237 case $ac_envvar in #(
1238 '' | [0-9]* | *[!_$as_cr_alnum]* )
1239 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1241 eval $ac_envvar=\$ac_optarg
1242 export $ac_envvar ;;
1245 # FIXME: should be removed in autoconf 3.0.
1246 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1247 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1248 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1249 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1255 if test -n "$ac_prev"; then
1256 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1257 as_fn_error $? "missing argument to $ac_option"
1260 if test -n "$ac_unrecognized_opts"; then
1261 case $enable_option_checking in
1263 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1264 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1268 # Check all directory arguments for consistency.
1269 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1270 datadir sysconfdir sharedstatedir localstatedir includedir \
1271 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1272 libdir localedir mandir
1274 eval ac_val=\$$ac_var
1275 # Remove trailing slashes.
1278 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1279 eval $ac_var=\$ac_val;;
1281 # Be sure to have absolute directory names.
1283 [\\/$]* | ?:[\\/]* ) continue;;
1284 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1294 target=$target_alias
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x; then
1298 if test "x$build_alias" = x; then
1299 cross_compiling=maybe
1300 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1301 If a cross compiler is detected then cross compile mode will be used" >&2
1302 elif test "x$build_alias" != "x$host_alias"; then
1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1310 test "$silent" = yes && exec 6>/dev/null
1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di=`ls -di .` &&
1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316 as_fn_error $? "working directory cannot be determined"
1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318 as_fn_error $? "pwd does not report name of working directory"
1321 # Find the source files, if location was not specified.
1322 if test -z "$srcdir"; then
1323 ac_srcdir_defaulted=yes
1324 # Try the directory containing this script, then the parent directory.
1325 ac_confdir=`$as_dirname -- "$as_myself" ||
1326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327 X"$as_myself" : 'X\(//\)[^/]' \| \
1328 X"$as_myself" : 'X\(//\)$' \| \
1329 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330 $as_echo X"$as_myself" |
1331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1353 ac_srcdir_defaulted=no
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1356 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1357 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1359 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1361 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1363 # When building in place, set srcdir=.
1364 if test "$ac_abs_confdir" = "$ac_pwd"; then
1367 # Remove unnecessary trailing slashes from srcdir.
1368 # Double slashes in file names in object file debugging info
1369 # mess up M-x gdb in Emacs.
1371 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1373 for ac_var in $ac_precious_vars; do
1374 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1375 eval ac_env_${ac_var}_value=\$${ac_var}
1376 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1377 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1381 # Report the --help message.
1383 if test "$ac_init_help" = "long"; then
1384 # Omit some internal or obsolete options to make the list less imposing.
1385 # This message is too long to be a string in the A/UX 3.1 sh.
1387 \`configure' configures opensaml 2.4.1 to adapt to many kinds of systems.
1389 Usage: $0 [OPTION]... [VAR=VALUE]...
1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1392 VAR=VALUE. See below for descriptions of some of the useful variables.
1394 Defaults for the options are specified in brackets.
1397 -h, --help display this help and exit
1398 --help=short display options specific to this package
1399 --help=recursive display the short help of all the included packages
1400 -V, --version display version information and exit
1401 -q, --quiet, --silent do not print \`checking ...' messages
1402 --cache-file=FILE cache test results in FILE [disabled]
1403 -C, --config-cache alias for \`--cache-file=config.cache'
1404 -n, --no-create do not create output files
1405 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1407 Installation directories:
1408 --prefix=PREFIX install architecture-independent files in PREFIX
1409 [$ac_default_prefix]
1410 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1413 By default, \`make install' will install all the files in
1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1416 for instance \`--prefix=\$HOME'.
1418 For better control, use the options below.
1420 Fine tuning of the installation directories:
1421 --bindir=DIR user executables [EPREFIX/bin]
1422 --sbindir=DIR system admin executables [EPREFIX/sbin]
1423 --libexecdir=DIR program executables [EPREFIX/libexec]
1424 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1425 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1426 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1427 --libdir=DIR object code libraries [EPREFIX/lib]
1428 --includedir=DIR C header files [PREFIX/include]
1429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1430 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1431 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1432 --infodir=DIR info documentation [DATAROOTDIR/info]
1433 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1434 --mandir=DIR man documentation [DATAROOTDIR/man]
1435 --docdir=DIR documentation root [DATAROOTDIR/doc/opensaml]
1436 --htmldir=DIR html documentation [DOCDIR]
1437 --dvidir=DIR dvi documentation [DOCDIR]
1438 --pdfdir=DIR pdf documentation [DOCDIR]
1439 --psdir=DIR ps documentation [DOCDIR]
1445 --program-prefix=PREFIX prepend PREFIX to installed program names
1446 --program-suffix=SUFFIX append SUFFIX to installed program names
1447 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1450 --build=BUILD configure for building on BUILD [guessed]
1451 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1455 if test -n "$ac_init_help"; then
1456 case $ac_init_help in
1457 short | recursive ) echo "Configuration of opensaml 2.4.1:";;
1462 --disable-option-checking ignore unrecognized --enable/--with options
1463 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1464 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1465 --enable-static[=PKGS] build static libraries [default=no]
1466 --enable-shared[=PKGS] build shared libraries [default=yes]
1467 --enable-fast-install[=PKGS]
1468 optimize for fast installation [default=yes]
1469 --disable-dependency-tracking speeds up one-time build
1470 --enable-dependency-tracking do not reject slow dependency extractors
1471 --disable-libtool-lock avoid locking (might break parallel builds)
1472 --disable-doxygen-doc don't generate any doxygen documentation
1473 --disable-doxygen-dot don't generate graphics for doxygen documentation
1474 --enable-doxygen-man generate doxygen manual pages
1475 --enable-doxygen-rtf generate doxygen RTF documentation
1476 --enable-doxygen-xml generate doxygen XML documentation
1477 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1478 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1480 --disable-doxygen-html don't generate doxygen plain HTML documentation
1481 --enable-doxygen-ps generate doxygen PostScript documentation
1482 --enable-doxygen-pdf generate doxygen PDF documentation
1483 --enable-debug Have GCC compile with symbols (Default = no)
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-pic try to use only PIC/non-PIC objects [default=use
1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1491 --with-sysroot=DIR Search for dependent libraries within DIR
1492 (or the compiler's sysroot if not specified).
1493 --with-zlib=PATH where zlib is installed
1494 --with-openssl=PATH where openssl is installed
1495 --with-log4shib=PATH where log4shib-config is installed
1496 --with-log4cpp=PATH where log4cpp-config is installed
1497 --with-xerces=PATH where xerces-c is installed
1498 --with-xmlsec=PATH where xmlsec is installed
1499 --with-xmltooling=PATH where xmltooling is installed
1500 --with-cxxtest=PATH where cxxtest is installed
1502 Some influential environment variables:
1503 CC C compiler command
1504 CFLAGS C compiler flags
1505 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1506 nonstandard directory <lib dir>
1507 LIBS libraries to pass to the linker, e.g. -l<library>
1508 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1509 you have headers in a nonstandard directory <include dir>
1512 a4wide (default), a4, letter, legal or executive
1513 CXX C++ compiler command
1514 CXXFLAGS C++ compiler flags
1515 CXXCPP C++ preprocessor
1517 Use these variables to override the choices made by `configure' or to help
1518 it to find libraries and programs with nonstandard names/locations.
1520 Report bugs to <https://bugs.internet2.edu/>.
1525 if test "$ac_init_help" = "recursive"; then
1526 # If there are subdirs, report their specific --help.
1527 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1528 test -d "$ac_dir" ||
1529 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1537 # A ".." for each directory in $ac_dir_suffix.
1538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1539 case $ac_top_builddir_sub in
1540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1544 ac_abs_top_builddir=$ac_pwd
1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1546 # for backward compatibility:
1547 ac_top_builddir=$ac_top_build_prefix
1550 .) # We are building in place.
1552 ac_top_srcdir=$ac_top_builddir_sub
1553 ac_abs_top_srcdir=$ac_pwd ;;
1554 [\\/]* | ?:[\\/]* ) # Absolute name.
1555 ac_srcdir=$srcdir$ac_dir_suffix;
1556 ac_top_srcdir=$srcdir
1557 ac_abs_top_srcdir=$srcdir ;;
1559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560 ac_top_srcdir=$ac_top_build_prefix$srcdir
1561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1565 cd "$ac_dir" || { ac_status=$?; continue; }
1566 # Check for guested configure.
1567 if test -f "$ac_srcdir/configure.gnu"; then
1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570 elif test -f "$ac_srcdir/configure"; then
1572 $SHELL "$ac_srcdir/configure" --help=recursive
1574 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576 cd "$ac_pwd" || { ac_status=$?; break; }
1580 test -n "$ac_init_help" && exit $ac_status
1581 if $ac_init_version; then
1583 opensaml configure 2.4.1
1584 generated by GNU Autoconf 2.68
1586 Copyright (C) 2010 Free Software Foundation, Inc.
1587 This configure script is free software; the Free Software Foundation
1588 gives unlimited permission to copy, distribute and modify it.
1593 ## ------------------------ ##
1594 ## Autoconf initialization. ##
1595 ## ------------------------ ##
1597 # ac_fn_c_try_compile LINENO
1598 # --------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 rm -f conftest.$ac_objext
1604 if { { ac_try="$ac_compile"
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_c_try_compile
1635 # ac_fn_c_try_link LINENO
1636 # -----------------------
1637 # Try to link conftest.$ac_ext, and return whether this succeeded.
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext conftest$ac_exeext
1642 if { { ac_try="$ac_link"
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_link") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest$ac_exeext && {
1661 test "$cross_compiling" = yes ||
1662 $as_test_x conftest$ac_exeext
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1671 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1672 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1673 # interfere with the next link command; also delete a directory that is
1674 # left behind by Apple's compiler. We do this before executing the actions.
1675 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 as_fn_set_status $ac_retval
1679 } # ac_fn_c_try_link
1681 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1682 # -------------------------------------------------------
1683 # Tests whether HEADER exists and can be compiled using the include files in
1684 # INCLUDES, setting the cache variable VAR accordingly.
1685 ac_fn_c_check_header_compile ()
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if eval \${$3+:} false; then :
1691 $as_echo_n "(cached) " >&6
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1694 /* end confdefs.h. */
1698 if ac_fn_c_try_compile "$LINENO"; then :
1703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1707 $as_echo "$ac_res" >&6; }
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 } # ac_fn_c_check_header_compile
1712 # ac_fn_c_try_cpp LINENO
1713 # ----------------------
1714 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 if { { ac_try="$ac_cpp conftest.$ac_ext"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } > conftest.i && {
1734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1767 { { case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_try") 2>&5
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; }; }; then :
1779 $as_echo "$as_me: program exited with status $ac_status" >&5
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=$ac_status
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1791 # ac_fn_c_check_func LINENO FUNC VAR
1792 # ----------------------------------
1793 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1794 ac_fn_c_check_func ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1804 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1806 #define $2 innocuous_$2
1808 /* System header to define __stub macros and hopefully few prototypes,
1809 which can conflict with char $2 (); below.
1810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1811 <limits.h> exists even on freestanding compilers. */
1814 # include <limits.h>
1816 # include <assert.h>
1821 /* Override any GCC internal prototype to avoid an error.
1822 Use char because int might match the return type of a GCC
1823 builtin and then its argument prototype would still apply. */
1828 /* The GNU C library defines this for functions which it implements
1829 to always fail with ENOSYS. Some functions are actually named
1830 something starting with __ and the normal name is an alias. */
1831 #if defined __stub_$2 || defined __stub___$2
1843 if ac_fn_c_try_link "$LINENO"; then :
1848 rm -f core conftest.err conftest.$ac_objext \
1849 conftest$ac_exeext conftest.$ac_ext
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856 } # ac_fn_c_check_func
1858 # ac_fn_cxx_try_compile LINENO
1859 # ----------------------------
1860 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1861 ac_fn_cxx_try_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 rm -f conftest.$ac_objext
1865 if { { ac_try="$ac_compile"
1867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868 *) ac_try_echo=$ac_try;;
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_compile") 2>conftest.err
1874 if test -s conftest.err; then
1875 grep -v '^ *+' conftest.err >conftest.er1
1876 cat conftest.er1 >&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && {
1881 test -z "$ac_cxx_werror_flag" ||
1882 test ! -s conftest.err
1883 } && test -s conftest.$ac_objext; then :
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1894 } # ac_fn_cxx_try_compile
1896 # ac_fn_cxx_try_cpp LINENO
1897 # ------------------------
1898 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1899 ac_fn_cxx_try_cpp ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 if { { ac_try="$ac_cpp conftest.$ac_ext"
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1911 if test -s conftest.err; then
1912 grep -v '^ *+' conftest.err >conftest.er1
1913 cat conftest.er1 >&5
1914 mv -f conftest.er1 conftest.err
1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917 test $ac_status = 0; } > conftest.i && {
1918 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1919 test ! -s conftest.err
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 as_fn_set_status $ac_retval
1931 } # ac_fn_cxx_try_cpp
1933 # ac_fn_cxx_try_link LINENO
1934 # -------------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded.
1936 ac_fn_cxx_try_link ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 rm -f conftest.$ac_objext conftest$ac_exeext
1940 if { { ac_try="$ac_link"
1942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943 *) ac_try_echo=$ac_try;;
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link") 2>conftest.err
1949 if test -s conftest.err; then
1950 grep -v '^ *+' conftest.err >conftest.er1
1951 cat conftest.er1 >&5
1952 mv -f conftest.er1 conftest.err
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; } && {
1956 test -z "$ac_cxx_werror_flag" ||
1957 test ! -s conftest.err
1958 } && test -s conftest$ac_exeext && {
1959 test "$cross_compiling" = yes ||
1960 $as_test_x conftest$ac_exeext
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1969 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1970 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1971 # interfere with the next link command; also delete a directory that is
1972 # left behind by Apple's compiler. We do this before executing the actions.
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 as_fn_set_status $ac_retval
1977 } # ac_fn_cxx_try_link
1979 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1980 # -------------------------------------------
1981 # Tests whether TYPE exists after having included INCLUDES, setting cache
1982 # variable VAR accordingly.
1983 ac_fn_c_check_type ()
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if eval \${$3+:} false; then :
1989 $as_echo_n "(cached) " >&6
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
2004 if ac_fn_c_try_compile "$LINENO"; then :
2005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2017 if ac_fn_c_try_compile "$LINENO"; then :
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 } # ac_fn_c_check_type
2033 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2034 # --------------------------------------------
2035 # Tries to find the compile-time value of EXPR in a program that includes
2036 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2038 ac_fn_c_compute_int ()
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 if test "$cross_compiling" = yes; then
2042 # Depending upon the size, compute the lo and hi bounds.
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 static int test_array [1 - 2 * !(($2) >= 0)];
2056 if ac_fn_c_try_compile "$LINENO"; then :
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2072 if ac_fn_c_try_compile "$LINENO"; then :
2073 ac_hi=$ac_mid; break
2075 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2076 if test $ac_lo -le $ac_mid; then
2080 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2091 static int test_array [1 - 2 * !(($2) < 0)];
2098 if ac_fn_c_try_compile "$LINENO"; then :
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2107 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115 ac_lo=$ac_mid; break
2117 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2118 if test $ac_mid -le $ac_hi; then
2122 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 # Binary search between lo and hi bounds.
2133 while test "x$ac_lo" != "x$ac_hi"; do
2134 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2141 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2148 if ac_fn_c_try_compile "$LINENO"; then :
2151 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2163 static long int longval () { return $2; }
2164 static unsigned long int ulongval () { return $2; }
2171 FILE *f = fopen ("conftest.val", "w");
2176 long int i = longval ();
2179 fprintf (f, "%ld", i);
2183 unsigned long int i = ulongval ();
2186 fprintf (f, "%lu", i);
2188 /* Do not output a trailing newline, as this causes \r\n confusion
2189 on some platforms. */
2190 return ferror (f) || fclose (f) != 0;
2196 if ac_fn_c_try_run "$LINENO"; then :
2197 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2202 conftest.$ac_objext conftest.beam conftest.$ac_ext
2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207 as_fn_set_status $ac_retval
2209 } # ac_fn_c_compute_int
2211 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2212 # -------------------------------------------------------
2213 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2214 # the include files in INCLUDES and setting the cache variable VAR
2216 ac_fn_c_check_header_mongrel ()
2218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219 if eval \${$3+:} false; then :
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221 $as_echo_n "checking for $2... " >&6; }
2222 if eval \${$3+:} false; then :
2223 $as_echo_n "(cached) " >&6
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2229 # Is the header compilable?
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2231 $as_echo_n "checking $2 usability... " >&6; }
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238 ac_header_compiler=yes
2240 ac_header_compiler=no
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2244 $as_echo "$ac_header_compiler" >&6; }
2246 # Is the header present?
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2248 $as_echo_n "checking $2 presence... " >&6; }
2249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2253 if ac_fn_c_try_cpp "$LINENO"; then :
2254 ac_header_preproc=yes
2256 ac_header_preproc=no
2258 rm -f conftest.err conftest.i conftest.$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2260 $as_echo "$ac_header_preproc" >&6; }
2262 # So? What about this header?
2263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2266 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2268 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2272 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2274 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2276 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2278 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2280 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2281 ( $as_echo "## ------------------------------------------ ##
2282 ## Report this to https://bugs.internet2.edu/ ##
2283 ## ------------------------------------------ ##"
2284 ) | sed "s/^/$as_me: WARNING: /" >&2
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2288 $as_echo_n "checking for $2... " >&6; }
2289 if eval \${$3+:} false; then :
2290 $as_echo_n "(cached) " >&6
2292 eval "$3=\$ac_header_compiler"
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2296 $as_echo "$ac_res" >&6; }
2298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300 } # ac_fn_c_check_header_mongrel
2302 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2303 # ---------------------------------------------------------
2304 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2305 # the include files in INCLUDES and setting the cache variable VAR
2307 ac_fn_cxx_check_header_mongrel ()
2309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310 if eval \${$3+:} false; then :
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2312 $as_echo_n "checking for $2... " >&6; }
2313 if eval \${$3+:} false; then :
2314 $as_echo_n "(cached) " >&6
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2318 $as_echo "$ac_res" >&6; }
2320 # Is the header compilable?
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2322 $as_echo_n "checking $2 usability... " >&6; }
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2328 if ac_fn_cxx_try_compile "$LINENO"; then :
2329 ac_header_compiler=yes
2331 ac_header_compiler=no
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2335 $as_echo "$ac_header_compiler" >&6; }
2337 # Is the header present?
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2339 $as_echo_n "checking $2 presence... " >&6; }
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h. */
2344 if ac_fn_cxx_try_cpp "$LINENO"; then :
2345 ac_header_preproc=yes
2347 ac_header_preproc=no
2349 rm -f conftest.err conftest.i conftest.$ac_ext
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2351 $as_echo "$ac_header_preproc" >&6; }
2353 # So? What about this header?
2354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2357 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2359 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2363 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2365 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2367 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2369 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2371 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2372 ( $as_echo "## ------------------------------------------ ##
2373 ## Report this to https://bugs.internet2.edu/ ##
2374 ## ------------------------------------------ ##"
2375 ) | sed "s/^/$as_me: WARNING: /" >&2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2379 $as_echo_n "checking for $2... " >&6; }
2380 if eval \${$3+:} false; then :
2381 $as_echo_n "(cached) " >&6
2383 eval "$3=\$ac_header_compiler"
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2387 $as_echo "$ac_res" >&6; }
2389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2391 } # ac_fn_cxx_check_header_mongrel
2392 cat >config.log <<_ACEOF
2393 This file contains any messages produced by compilers while
2394 running configure, to aid debugging if configure makes a mistake.
2396 It was created by opensaml $as_me 2.4.1, which was
2397 generated by GNU Autoconf 2.68. Invocation command line was
2409 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2410 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2411 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2412 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2413 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2415 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2416 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2418 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2419 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2420 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2421 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2422 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2423 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2424 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir=.
2433 $as_echo "PATH: $as_dir"
2449 # Keep a trace of the command line.
2450 # Strip out --no-create and --no-recursion so they do not pile up.
2451 # Strip out --silent because we don't want to record it for future runs.
2452 # Also quote any args containing shell meta-characters.
2453 # Make two passes to allow for proper duplicate-argument suppression.
2457 ac_must_keep_next=false
2463 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2465 | -silent | --silent | --silen | --sile | --sil)
2468 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2471 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2473 as_fn_append ac_configure_args1 " '$ac_arg'"
2474 if test $ac_must_keep_next = true; then
2475 ac_must_keep_next=false # Got value, back to normal.
2478 *=* | --config-cache | -C | -disable-* | --disable-* \
2479 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2480 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2481 | -with-* | --with-* | -without-* | --without-* | --x)
2482 case "$ac_configure_args0 " in
2483 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2486 -* ) ac_must_keep_next=true ;;
2489 as_fn_append ac_configure_args " '$ac_arg'"
2494 { ac_configure_args0=; unset ac_configure_args0;}
2495 { ac_configure_args1=; unset ac_configure_args1;}
2497 # When interrupted or exit'd, cleanup temporary files, and complete
2498 # config.log. We remove comments because anyway the quotes in there
2499 # would cause problems or look ugly.
2500 # WARNING: Use '\'' to represent an apostrophe within the trap.
2501 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2502 trap 'exit_status=$?
2503 # Save into config.log some information that might help in debugging.
2507 $as_echo "## ---------------- ##
2508 ## Cache variables. ##
2509 ## ---------------- ##"
2511 # The following way of writing the cache mishandles newlines in values,
2513 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2514 eval ac_val=\$$ac_var
2518 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2519 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2522 _ | IFS | as_nl) ;; #(
2523 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2524 *) { eval $ac_var=; unset $ac_var;} ;;
2529 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2530 *${as_nl}ac_space=\ *)
2532 "s/'\''/'\''\\\\'\'''\''/g;
2533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2543 $as_echo "## ----------------- ##
2544 ## Output variables. ##
2545 ## ----------------- ##"
2547 for ac_var in $ac_subst_vars
2549 eval ac_val=\$$ac_var
2551 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2553 $as_echo "$ac_var='\''$ac_val'\''"
2557 if test -n "$ac_subst_files"; then
2558 $as_echo "## ------------------- ##
2559 ## File substitutions. ##
2560 ## ------------------- ##"
2562 for ac_var in $ac_subst_files
2564 eval ac_val=\$$ac_var
2566 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2568 $as_echo "$ac_var='\''$ac_val'\''"
2573 if test -s confdefs.h; then
2574 $as_echo "## ----------- ##
2581 test "$ac_signal" != 0 &&
2582 $as_echo "$as_me: caught signal $ac_signal"
2583 $as_echo "$as_me: exit $exit_status"
2585 rm -f core *.core core.conftest.* &&
2586 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2589 for ac_signal in 1 2 13 15; do
2590 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2594 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2595 rm -f -r conftest* confdefs.h
2597 $as_echo "/* confdefs.h */" > confdefs.h
2599 # Predefined preprocessor variables.
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE_NAME "$PACKAGE_NAME"
2605 cat >>confdefs.h <<_ACEOF
2606 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2609 cat >>confdefs.h <<_ACEOF
2610 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2613 cat >>confdefs.h <<_ACEOF
2614 #define PACKAGE_STRING "$PACKAGE_STRING"
2617 cat >>confdefs.h <<_ACEOF
2618 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2621 cat >>confdefs.h <<_ACEOF
2622 #define PACKAGE_URL "$PACKAGE_URL"
2626 # Let the site file select an alternate cache file if it wants to.
2627 # Prefer an explicitly selected file to automatically selected ones.
2630 if test -n "$CONFIG_SITE"; then
2631 # We do not want a PATH search for config.site.
2632 case $CONFIG_SITE in #((
2633 -*) ac_site_file1=./$CONFIG_SITE;;
2634 */*) ac_site_file1=$CONFIG_SITE;;
2635 *) ac_site_file1=./$CONFIG_SITE;;
2637 elif test "x$prefix" != xNONE; then
2638 ac_site_file1=$prefix/share/config.site
2639 ac_site_file2=$prefix/etc/config.site
2641 ac_site_file1=$ac_default_prefix/share/config.site
2642 ac_site_file2=$ac_default_prefix/etc/config.site
2644 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2646 test "x$ac_site_file" = xNONE && continue
2647 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2649 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2650 sed 's/^/| /' "$ac_site_file" >&5
2652 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654 as_fn_error $? "failed to load site script $ac_site_file
2655 See \`config.log' for more details" "$LINENO" 5; }
2659 if test -r "$cache_file"; then
2660 # Some versions of bash will fail to source /dev/null (special files
2661 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2662 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2664 $as_echo "$as_me: loading cache $cache_file" >&6;}
2666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2667 *) . "./$cache_file";;
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2672 $as_echo "$as_me: creating cache $cache_file" >&6;}
2676 # Check that the precious variables saved in the cache have kept the same
2678 ac_cache_corrupted=false
2679 for ac_var in $ac_precious_vars; do
2680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2681 eval ac_new_set=\$ac_env_${ac_var}_set
2682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2683 eval ac_new_val=\$ac_env_${ac_var}_value
2684 case $ac_old_set,$ac_new_set in
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2688 ac_cache_corrupted=: ;;
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2692 ac_cache_corrupted=: ;;
2695 if test "x$ac_old_val" != "x$ac_new_val"; then
2696 # differences in whitespace do not lead to failure.
2697 ac_old_val_w=`echo x $ac_old_val`
2698 ac_new_val_w=`echo x $ac_new_val`
2699 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2702 ac_cache_corrupted=:
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2705 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2706 eval $ac_var=\$ac_old_val
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2709 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2711 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2714 # Pass precious variables to config.status.
2715 if test "$ac_new_set" = set; then
2717 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2718 *) ac_arg=$ac_var=$ac_new_val ;;
2720 case " $ac_configure_args " in
2721 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2722 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2726 if $ac_cache_corrupted; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2730 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2731 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2733 ## -------------------- ##
2734 ## Main body of script. ##
2735 ## -------------------- ##
2738 ac_cpp='$CPP $CPPFLAGS'
2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2746 for ac_dir in build-aux "$srcdir"/build-aux; do
2747 if test -f "$ac_dir/install-sh"; then
2749 ac_install_sh="$ac_aux_dir/install-sh -c"
2751 elif test -f "$ac_dir/install.sh"; then
2753 ac_install_sh="$ac_aux_dir/install.sh -c"
2755 elif test -f "$ac_dir/shtool"; then
2757 ac_install_sh="$ac_aux_dir/shtool install -c"
2761 if test -z "$ac_aux_dir"; then
2762 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2765 # These three variables are undocumented and unsupported,
2766 # and are intended to be withdrawn in a future Autoconf release.
2767 # They can cause serious problems if a builder's source tree is in a directory
2768 # whose full name contains unusual characters.
2769 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2770 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2771 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2775 am__api_version='1.11'
2777 # Find a good install program. We prefer a C program (faster),
2778 # so one script is as good as another. But avoid the broken or
2779 # incompatible versions:
2780 # SysV /etc/install, /usr/sbin/install
2781 # SunOS /usr/etc/install
2782 # IRIX /sbin/install
2784 # AmigaOS /C/install, which installs bootblocks on floppy discs
2785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2788 # OS/2's system install, which has a completely different semantic
2789 # ./install, which can be erroneously created by make from ./install.sh.
2790 # Reject install programs that cannot install multiple files.
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2792 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2793 if test -z "$INSTALL"; then
2794 if ${ac_cv_path_install+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir=.
2802 # Account for people who put trailing slashes in PATH elements.
2803 case $as_dir/ in #((
2804 ./ | .// | /[cC]/* | \
2805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2806 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2809 # OSF1 and SCO ODT 3.0 have their own names for install.
2810 # Don't use installbsd from OSF since it installs stuff as root
2812 for ac_prog in ginstall scoinst install; do
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2815 if test $ac_prog = install &&
2816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2817 # AIX install. It has an incompatible calling convention.
2819 elif test $ac_prog = install &&
2820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2821 # program-specific install script used by HP pwplus--don't use.
2824 rm -rf conftest.one conftest.two conftest.dir
2825 echo one > conftest.one
2826 echo two > conftest.two
2828 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2829 test -s conftest.one && test -s conftest.two &&
2830 test -s conftest.dir/conftest.one &&
2831 test -s conftest.dir/conftest.two
2833 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2846 rm -rf conftest.one conftest.two conftest.dir
2849 if test "${ac_cv_path_install+set}" = set; then
2850 INSTALL=$ac_cv_path_install
2852 # As a last resort, use the slow shell script. Don't cache a
2853 # value for INSTALL within a source directory, because that will
2854 # break other packages using the cache if that directory is
2855 # removed, or if the value is a relative name.
2856 INSTALL=$ac_install_sh
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2860 $as_echo "$INSTALL" >&6; }
2862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2863 # It thinks the first close brace ends the variable substitution.
2864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2871 $as_echo_n "checking whether build environment is sane... " >&6; }
2874 echo timestamp > conftest.file
2875 # Reject unsafe characters in $srcdir or the absolute working directory
2876 # name. Accept space and tab only in the latter.
2880 *[\\\"\#\$\&\'\`$am_lf]*)
2881 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2884 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2885 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2888 # Do `set' in a subshell so we don't clobber the current shell's
2889 # arguments. Must try -L first in case configure is actually a
2890 # symlink; some systems play weird games with the mod time of symlinks
2891 # (eg FreeBSD returns the mod time of the symlink's containing
2894 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2895 if test "$*" = "X"; then
2897 set X `ls -t "$srcdir/configure" conftest.file`
2900 if test "$*" != "X $srcdir/configure conftest.file" \
2901 && test "$*" != "X conftest.file $srcdir/configure"; then
2903 # If neither matched, then we have a broken ls. This can happen
2904 # if, for instance, CONFIG_SHELL is bash and it inherits a
2905 # broken ls alias from the environment. This has actually
2906 # happened. Such a system could not be considered "sane".
2907 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2908 alias in your environment" "$LINENO" 5
2911 test "$2" = conftest.file
2917 as_fn_error $? "newly created file is older than distributed files!
2918 Check your system clock" "$LINENO" 5
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2921 $as_echo "yes" >&6; }
2922 test "$program_prefix" != NONE &&
2923 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2924 # Use a double $ so make ignores it.
2925 test "$program_suffix" != NONE &&
2926 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2927 # Double any \ or $.
2928 # By default was `s,x,x', remove it if useless.
2929 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2930 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2932 # expand $ac_aux_dir to an absolute path
2933 am_aux_dir=`cd $ac_aux_dir && pwd`
2935 if test x"${MISSING+set}" != xset; then
2938 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2940 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2943 # Use eval to expand $SHELL
2944 if eval "$MISSING --run true"; then
2945 am_missing_run="$MISSING --run "
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2949 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2952 if test x"${install_sh}" != xset; then
2955 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2957 install_sh="\${SHELL} $am_aux_dir/install-sh"
2961 # Installed binaries are usually stripped using `strip' when the user
2962 # run `make install-strip'. However `strip' might not be the right
2963 # tool to use in cross-compilation environments, therefore Automake
2964 # will honor the `STRIP' environment variable to overrule this program.
2965 if test "$cross_compiling" != no; then
2966 if test -n "$ac_tool_prefix"; then
2967 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2968 set dummy ${ac_tool_prefix}strip; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_STRIP+:} false; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$STRIP"; then
2975 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 STRIP=$ac_cv_prog_STRIP
2995 if test -n "$STRIP"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2997 $as_echo "$STRIP" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3005 if test -z "$ac_cv_prog_STRIP"; then
3007 # Extract the first word of "strip", so it can be a program name with args.
3008 set dummy strip; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$ac_ct_STRIP"; then
3015 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_ac_ct_STRIP="strip"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3035 if test -n "$ac_ct_STRIP"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3037 $as_echo "$ac_ct_STRIP" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3043 if test "x$ac_ct_STRIP" = x; then
3046 case $cross_compiling:$ac_tool_warned in
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3050 ac_tool_warned=yes ;;
3055 STRIP="$ac_cv_prog_STRIP"
3059 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3062 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3063 if test -z "$MKDIR_P"; then
3064 if ${ac_cv_path_mkdir+:} false; then :
3065 $as_echo_n "(cached) " >&6
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3071 test -z "$as_dir" && as_dir=.
3072 for ac_prog in mkdir gmkdir; do
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3075 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3076 'mkdir (GNU coreutils) '* | \
3077 'mkdir (coreutils) '* | \
3078 'mkdir (fileutils) '4.1*)
3079 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3089 test -d ./--version && rmdir ./--version
3090 if test "${ac_cv_path_mkdir+set}" = set; then
3091 MKDIR_P="$ac_cv_path_mkdir -p"
3093 # As a last resort, use the slow shell script. Don't cache a
3094 # value for MKDIR_P within a source directory, because that will
3095 # break other packages using the cache if that directory is
3096 # removed, or if the value is a relative name.
3097 MKDIR_P="$ac_install_sh -d"
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3101 $as_echo "$MKDIR_P" >&6; }
3105 [\\/$]* | ?:[\\/]*) ;;
3106 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3109 for ac_prog in gawk mawk nawk awk
3111 # Extract the first word of "$ac_prog", so it can be a program name with args.
3112 set dummy $ac_prog; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_AWK+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$AWK"; then
3119 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 ac_cv_prog_AWK="$ac_prog"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 if test -n "$AWK"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3141 $as_echo "$AWK" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3148 test -n "$AWK" && break
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3152 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3154 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3155 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 cat >conftest.make <<\_ACEOF
3161 @echo '@@@%%%=$(MAKE)=@@@%%%'
3163 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3164 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3166 eval ac_cv_prog_make_${ac_make}_set=yes;;
3168 eval ac_cv_prog_make_${ac_make}_set=no;;
3172 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174 $as_echo "yes" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179 SET_MAKE="MAKE=${MAKE-make}"
3182 rm -rf .tst 2>/dev/null
3183 mkdir .tst 2>/dev/null
3184 if test -d .tst; then
3189 rmdir .tst 2>/dev/null
3191 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3192 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3193 # is not polluted with repeated "-I."
3194 am__isrc=' -I$(srcdir)'
3195 # test to see if srcdir already configured
3196 if test -f $srcdir/config.status; then
3197 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3201 # test whether we have cygpath
3202 if test -z "$CYGPATH_W"; then
3203 if (cygpath --version) >/dev/null 2>/dev/null; then
3204 CYGPATH_W='cygpath -w'
3211 # Define the identity of the package.
3216 cat >>confdefs.h <<_ACEOF
3217 #define PACKAGE "$PACKAGE"
3221 cat >>confdefs.h <<_ACEOF
3222 #define VERSION "$VERSION"
3225 # Some tools Automake needs.
3227 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3230 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3233 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3236 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3239 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3241 # We need awk for the "check" target. The system "awk" is bad on
3243 # Always define AMTAR for backward compatibility.
3245 AMTAR=${AMTAR-"${am_missing_run}tar"}
3247 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3253 # Check whether --enable-static was given.
3254 if test "${enable_static+set}" = set; then :
3255 enableval=$enable_static; p=${PACKAGE-default}
3257 yes) enable_static=yes ;;
3258 no) enable_static=no ;;
3261 # Look at the argument we got. We use all the common list separators.
3262 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3263 for pkg in $enableval; do
3265 if test "X$pkg" = "X$p"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3293 macro_revision='1.3293'
3307 ltmain="$ac_aux_dir/ltmain.sh"
3309 # Make sure we can run config.sub.
3310 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3311 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3314 $as_echo_n "checking build system type... " >&6; }
3315 if ${ac_cv_build+:} false; then :
3316 $as_echo_n "(cached) " >&6
3318 ac_build_alias=$build_alias
3319 test "x$ac_build_alias" = x &&
3320 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3321 test "x$ac_build_alias" = x &&
3322 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3323 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3324 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3328 $as_echo "$ac_cv_build" >&6; }
3329 case $ac_cv_build in
3331 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3334 ac_save_IFS=$IFS; IFS='-'
3340 # Remember, the first character of IFS is used to create $*,
3341 # except with old shells:
3344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3348 $as_echo_n "checking host system type... " >&6; }
3349 if ${ac_cv_host+:} false; then :
3350 $as_echo_n "(cached) " >&6
3352 if test "x$host_alias" = x; then
3353 ac_cv_host=$ac_cv_build
3355 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3356 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3361 $as_echo "$ac_cv_host" >&6; }
3364 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3367 ac_save_IFS=$IFS; IFS='-'
3373 # Remember, the first character of IFS is used to create $*,
3374 # except with old shells:
3377 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3380 # Backslashify metacharacters that are still active within
3381 # double-quoted strings.
3382 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3384 # Same as above, but do not quote variable references.
3385 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3387 # Sed substitution to delay expansion of an escaped shell variable in a
3388 # double_quote_subst'ed string.
3389 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3391 # Sed substitution to delay expansion of an escaped single quote.
3392 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3394 # Sed substitution to avoid accidental globbing in evaled expressions
3395 no_glob_subst='s/\*/\\\*/g'
3397 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3398 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3399 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3402 $as_echo_n "checking how to print strings... " >&6; }
3403 # Test print first, because it will be a builtin if present.
3404 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3405 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3407 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3410 # Use this function as a fallback that always works.
3411 func_fallback_echo ()
3413 eval 'cat <<_LTECHO_EOF
3417 ECHO='func_fallback_echo'
3420 # func_echo_all arg...
3421 # Invoke $ECHO with all args, space-separated.
3428 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3429 $as_echo "printf" >&6; } ;;
3430 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3431 $as_echo "print -r" >&6; } ;;
3432 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3433 $as_echo "cat" >&6; } ;;
3449 DEPDIR="${am__leading_dot}deps"
3451 ac_config_commands="$ac_config_commands depfiles"
3454 am_make=${MAKE-make}
3455 cat > confinc << 'END'
3457 @echo this is the am__doit target
3460 # If we don't find an include directive, just comment out the code.
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3462 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3466 # First try GNU make style include.
3467 echo "include confinc" > confmf
3468 # Ignore all kinds of additional output from `make'.
3469 case `$am_make -s -f confmf 2> /dev/null` in #(
3470 *the\ am__doit\ target*)
3476 # Now try BSD make style include.
3477 if test "$am__include" = "#"; then
3478 echo '.include "confinc"' > confmf
3479 case `$am_make -s -f confmf 2> /dev/null` in #(
3480 *the\ am__doit\ target*)
3481 am__include=.include
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3490 $as_echo "$_am_result" >&6; }
3491 rm -f confinc confmf
3493 # Check whether --enable-dependency-tracking was given.
3494 if test "${enable_dependency_tracking+set}" = set; then :
3495 enableval=$enable_dependency_tracking;
3498 if test "x$enable_dependency_tracking" != xno; then
3499 am_depcomp="$ac_aux_dir/depcomp"
3502 if test "x$enable_dependency_tracking" != xno; then
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 if test -n "$ac_tool_prefix"; then
3517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if ${ac_cv_prog_CC+:} false; then :
3522 $as_echo_n "(cached) " >&6
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC="$CC" # Let the user override the test.
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 if test -n "$CC"; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3547 $as_echo "$CC" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3555 if test -z "$ac_cv_prog_CC"; then
3557 # Extract the first word of "gcc", so it can be a program name with args.
3558 set dummy gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 if test -n "$ac_ct_CC"; then
3565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_ac_ct_CC="gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585 if test -n "$ac_ct_CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587 $as_echo "$ac_ct_CC" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3593 if test "x$ac_ct_CC" = x; then
3596 case $cross_compiling:$ac_tool_warned in
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3600 ac_tool_warned=yes ;;
3608 if test -z "$CC"; then
3609 if test -n "$ac_tool_prefix"; then
3610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3611 set dummy ${ac_tool_prefix}cc; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_CC+:} false; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$CC"; then
3618 ac_cv_prog_CC="$CC" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_CC="${ac_tool_prefix}cc"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 if test -n "$CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3640 $as_echo "$CC" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3649 if test -z "$CC"; then
3650 # Extract the first word of "cc", so it can be a program name with args.
3651 set dummy cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if ${ac_cv_prog_CC+:} false; then :
3655 $as_echo_n "(cached) " >&6
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3669 ac_prog_rejected=yes
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 if test $ac_prog_rejected = yes; then
3681 # We found a bogon in the path, so make sure we never use it.
3682 set dummy $ac_cv_prog_CC
3684 if test $# != 0; then
3685 # We chose a different compiler from the bogus one.
3686 # However, it has the same basename, so the bogon will be chosen
3687 # first if we set CC to just the basename; use the full file name.
3689 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3705 if test -z "$CC"; then
3706 if test -n "$ac_tool_prefix"; then
3707 for ac_prog in cl.exe
3709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3746 test -n "$CC" && break
3749 if test -z "$CC"; then
3751 for ac_prog in cl.exe
3753 # Extract the first word of "$ac_prog", so it can be a program name with args.
3754 set dummy $ac_prog; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -n "$ac_ct_CC"; then
3761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3770 ac_cv_prog_ac_ct_CC="$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3781 if test -n "$ac_ct_CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3783 $as_echo "$ac_ct_CC" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3790 test -n "$ac_ct_CC" && break
3793 if test "x$ac_ct_CC" = x; then
3796 case $cross_compiling:$ac_tool_warned in
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_error $? "no acceptable C compiler found in \$PATH
3812 See \`config.log' for more details" "$LINENO" 5; }
3814 # Provide some information about the compiler.
3815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3818 for ac_option in --version -v -V -qversion; do
3819 { { ac_try="$ac_compiler $ac_option >&5"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3828 if test -s conftest.err; then
3830 ... rest of stderr output deleted ...
3831 10q' conftest.err >conftest.er1
3832 cat conftest.er1 >&5
3834 rm -f conftest.er1 conftest.err
3835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3836 test $ac_status = 0; }
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3850 ac_clean_files_save=$ac_clean_files
3851 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3852 # Try to create an executable without -o first, disregard a.out.
3853 # It will help us diagnose broken compilers, and finding out an intuition
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3856 $as_echo_n "checking whether the C compiler works... " >&6; }
3857 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3859 # The possible output files:
3860 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3863 for ac_file in $ac_files
3866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3867 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3872 if { { ac_try="$ac_link_default"
3874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3878 $as_echo "$ac_try_echo"; } >&5
3879 (eval "$ac_link_default") 2>&5
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }; then :
3883 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3884 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3885 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3886 # so that the user can short-circuit this test for compilers unknown to
3888 for ac_file in $ac_files ''
3890 test -f "$ac_file" || continue
3892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3895 # We found the default executable, but exeext='' is most
3899 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3901 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3903 # We set ac_cv_exeext here because the later test for it is not
3904 # safe: cross compilers may not add the suffix if given an `-o'
3905 # argument, so we may need to know it at that point already.
3906 # Even if this section looks crufty: it has the advantage of
3913 test "$ac_cv_exeext" = no && ac_cv_exeext=
3918 if test -z "$ac_file"; then :
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 $as_echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error 77 "C compiler cannot create executables
3927 See \`config.log' for more details" "$LINENO" 5; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3930 $as_echo "yes" >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3933 $as_echo_n "checking for C compiler default output file name... " >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3935 $as_echo "$ac_file" >&6; }
3936 ac_exeext=$ac_cv_exeext
3938 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3939 ac_clean_files=$ac_clean_files_save
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3941 $as_echo_n "checking for suffix of executables... " >&6; }
3942 if { { ac_try="$ac_link"
3944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945 *) ac_try_echo=$ac_try;;
3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949 (eval "$ac_link") 2>&5
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }; then :
3953 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3954 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3955 # work properly (i.e., refer to `conftest.exe'), while it won't with
3957 for ac_file in conftest.exe conftest conftest.*; do
3958 test -f "$ac_file" || continue
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3961 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3969 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3970 See \`config.log' for more details" "$LINENO" 5; }
3972 rm -f conftest conftest$ac_cv_exeext
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3974 $as_echo "$ac_cv_exeext" >&6; }
3976 rm -f conftest.$ac_ext
3977 EXEEXT=$ac_cv_exeext
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3985 FILE *f = fopen ("conftest.out", "w");
3986 return ferror (f) || fclose (f) != 0;
3992 ac_clean_files="$ac_clean_files conftest.out"
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3996 $as_echo_n "checking whether we are cross compiling... " >&6; }
3997 if test "$cross_compiling" != yes; then
3998 { { ac_try="$ac_link"
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005 (eval "$ac_link") 2>&5
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }
4009 if { ac_try='./conftest$ac_cv_exeext'
4010 { { case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_try") 2>&5
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }; }; then
4022 if test "$cross_compiling" = maybe; then
4025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error $? "cannot run C compiled programs.
4028 If you meant to cross compile, use \`--host'.
4029 See \`config.log' for more details" "$LINENO" 5; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4034 $as_echo "$cross_compiling" >&6; }
4036 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4037 ac_clean_files=$ac_clean_files_save
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4039 $as_echo_n "checking for suffix of object files... " >&6; }
4040 if ${ac_cv_objext+:} false; then :
4041 $as_echo_n "(cached) " >&6
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4054 rm -f conftest.o conftest.obj
4055 if { { ac_try="$ac_compile"
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_compile") 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4066 for ac_file in conftest.o conftest.obj conftest.*; do
4067 test -f "$ac_file" || continue;
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4070 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $? "cannot compute suffix of object files: cannot compile
4081 See \`config.log' for more details" "$LINENO" 5; }
4083 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4086 $as_echo "$ac_cv_objext" >&6; }
4087 OBJEXT=$ac_cv_objext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4090 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4091 if ${ac_cv_c_compiler_gnu+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4108 if ac_fn_c_try_compile "$LINENO"; then :
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4118 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4119 if test $ac_compiler_gnu = yes; then
4124 ac_test_CFLAGS=${CFLAGS+set}
4125 ac_save_CFLAGS=$CFLAGS
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4127 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4128 if ${ac_cv_prog_cc_g+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 ac_save_c_werror_flag=$ac_c_werror_flag
4132 ac_c_werror_flag=yes
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4146 if ac_fn_c_try_compile "$LINENO"; then :
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4161 if ac_fn_c_try_compile "$LINENO"; then :
4164 ac_c_werror_flag=$ac_save_c_werror_flag
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 ac_c_werror_flag=$ac_save_c_werror_flag
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4188 $as_echo "$ac_cv_prog_cc_g" >&6; }
4189 if test "$ac_test_CFLAGS" = set; then
4190 CFLAGS=$ac_save_CFLAGS
4191 elif test $ac_cv_prog_cc_g = yes; then
4192 if test "$GCC" = yes; then
4198 if test "$GCC" = yes; then
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4205 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4206 if ${ac_cv_prog_cc_c89+:} false; then :
4207 $as_echo_n "(cached) " >&6
4209 ac_cv_prog_cc_c89=no
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 #include <sys/types.h>
4216 #include <sys/stat.h>
4217 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4218 struct buf { int x; };
4219 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4220 static char *e (p, i)
4226 static char *f (char * (*g) (char **, int), char **p, ...)
4231 s = g (p, va_arg (v,int));
4236 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4237 function prototypes and stuff, but not '\xHH' hex character constants.
4238 These don't provoke an error unfortunately, instead are silently treated
4239 as 'x'. The following induces an error, until -std is added to get
4240 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4241 array size at least. It's necessary to write '\x00'==0 to get something
4242 that's true only with -std. */
4243 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4245 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4246 inside strings and character constants. */
4248 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4250 int test (int i, double x);
4251 struct s1 {int (*f) (int a);};
4252 struct s2 {int (*f) (double a);};
4253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4259 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4264 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4265 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4267 CC="$ac_save_CC $ac_arg"
4268 if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_c89=$ac_arg
4271 rm -f core conftest.err conftest.$ac_objext
4272 test "x$ac_cv_prog_cc_c89" != "xno" && break
4274 rm -f conftest.$ac_ext
4279 case "x$ac_cv_prog_cc_c89" in
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4282 $as_echo "none needed" >&6; } ;;
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4285 $as_echo "unsupported" >&6; } ;;
4287 CC="$CC $ac_cv_prog_cc_c89"
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4289 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4291 if test "x$ac_cv_prog_cc_c89" != xno; then :
4296 ac_cpp='$CPP $CPPFLAGS'
4297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301 depcc="$CC" am_compiler_list=
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4304 $as_echo_n "checking dependency style of $depcc... " >&6; }
4305 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4309 # We make a subdir and do the tests there. Otherwise we can end up
4310 # making bogus files that we don't know about and never remove. For
4311 # instance it was reported that on HP-UX the gcc test will end up
4312 # making a dummy file named `D' -- because `-MD' means `put the output
4315 # Copy depcomp to subdir because otherwise we won't find it if we're
4316 # using a relative directory.
4317 cp "$am_depcomp" conftest.dir
4319 # We will build objects and dependencies in a subdirectory because
4320 # it helps to detect inapplicable dependency modes. For instance
4321 # both Tru64's cc and ICC support -MD to output dependencies as a
4322 # side effect of compilation, but ICC will put the dependencies in
4323 # the current directory while Tru64 will put them in the object
4327 am_cv_CC_dependencies_compiler_type=none
4328 if test "$am_compiler_list" = ""; then
4329 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4332 case " $depcc " in #(
4333 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4336 for depmode in $am_compiler_list; do
4337 # Setup a source with many dependencies, because some compilers
4338 # like to wrap large dependency lists on column 80 (with \), and
4339 # we should not choose a depcomp mode which is confused by this.
4341 # We need to recreate these files for each test, as the compiler may
4342 # overwrite some of them when testing with obscure command lines.
4343 # This happens at least with the AIX C compiler.
4345 for i in 1 2 3 4 5 6; do
4346 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4347 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4348 # Solaris 8's {/usr,}/bin/sh.
4349 touch sub/conftst$i.h
4351 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4353 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4354 # mode. It turns out that the SunPro C++ compiler does not properly
4355 # handle `-M -o', and we need to detect this. Also, some Intel
4356 # versions had trouble with output in subdirs
4357 am__obj=sub/conftest.${OBJEXT-o}
4358 am__minus_obj="-o $am__obj"
4361 # This depmode causes a compiler race in universal mode.
4362 test "$am__universal" = false || continue
4365 # after this tag, mechanisms are not by side-effect, so they'll
4366 # only be used when explicitly requested
4367 if test "x$enable_dependency_tracking" = xyes; then
4373 msvisualcpp | msvcmsys)
4374 # This compiler won't grok `-c -o', but also, the minuso test has
4375 # not run yet. These depmodes are late enough in the game, and
4376 # so weak that their functioning should not be impacted.
4377 am__obj=conftest.${OBJEXT-o}
4382 if depmode=$depmode \
4383 source=sub/conftest.c object=$am__obj \
4384 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4385 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4386 >/dev/null 2>conftest.err &&
4387 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4388 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4389 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4390 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4391 # icc doesn't choke on unknown options, it will just issue warnings
4392 # or remarks (even with -Werror). So we grep stderr for any message
4393 # that says an option was ignored or not supported.
4394 # When given -MP, icc 7.0 and 7.1 complain thusly:
4395 # icc: Command line warning: ignoring option '-M'; no argument required
4396 # The diagnosis changed in icc 8.0:
4397 # icc: Command line remark: option '-MP' not supported
4398 if (grep 'ignoring option' conftest.err ||
4399 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4400 am_cv_CC_dependencies_compiler_type=$depmode
4409 am_cv_CC_dependencies_compiler_type=none
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4414 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4415 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4418 test "x$enable_dependency_tracking" != xno \
4419 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4421 am__fastdepCC_FALSE='#'
4423 am__fastdepCC_TRUE='#'
4424 am__fastdepCC_FALSE=
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4429 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4430 if ${ac_cv_path_SED+:} false; then :
4431 $as_echo_n "(cached) " >&6
4433 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4434 for ac_i in 1 2 3 4 5 6 7; do
4435 ac_script="$ac_script$as_nl$ac_script"
4437 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4438 { ac_script=; unset ac_script;}
4439 if test -z "$SED"; then
4440 ac_path_SED_found=false
4441 # Loop through the user's path and test for each of PROGNAME-LIST
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_prog in sed gsed; do
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4450 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4451 # Check for GNU ac_path_SED and select it if it is found.
4452 # Check for GNU $ac_path_SED
4453 case `"$ac_path_SED" --version 2>&1` in
4455 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4458 $as_echo_n 0123456789 >"conftest.in"
4461 cat "conftest.in" "conftest.in" >"conftest.tmp"
4462 mv "conftest.tmp" "conftest.in"
4463 cp "conftest.in" "conftest.nl"
4464 $as_echo '' >> "conftest.nl"
4465 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467 as_fn_arith $ac_count + 1 && ac_count=$as_val
4468 if test $ac_count -gt ${ac_path_SED_max-0}; then
4469 # Best one so far, save it but keep looking for a better one
4470 ac_cv_path_SED="$ac_path_SED"
4471 ac_path_SED_max=$ac_count
4473 # 10*(2^10) chars as input seems more than enough
4474 test $ac_count -gt 10 && break
4476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4479 $ac_path_SED_found && break 3
4484 if test -z "$ac_cv_path_SED"; then
4485 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4493 $as_echo "$ac_cv_path_SED" >&6; }
4494 SED="$ac_cv_path_SED"
4497 test -z "$SED" && SED=sed
4498 Xsed="$SED -e 1s/^X//"
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4511 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4512 if ${ac_cv_path_GREP+:} false; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -z "$GREP"; then
4516 ac_path_GREP_found=false
4517 # Loop through the user's path and test for each of PROGNAME-LIST
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4522 test -z "$as_dir" && as_dir=.
4523 for ac_prog in grep ggrep; do
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4526 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4527 # Check for GNU ac_path_GREP and select it if it is found.
4528 # Check for GNU $ac_path_GREP
4529 case `"$ac_path_GREP" --version 2>&1` in
4531 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4534 $as_echo_n 0123456789 >"conftest.in"
4537 cat "conftest.in" "conftest.in" >"conftest.tmp"
4538 mv "conftest.tmp" "conftest.in"
4539 cp "conftest.in" "conftest.nl"
4540 $as_echo 'GREP' >> "conftest.nl"
4541 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4542 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4543 as_fn_arith $ac_count + 1 && ac_count=$as_val
4544 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4545 # Best one so far, save it but keep looking for a better one
4546 ac_cv_path_GREP="$ac_path_GREP"
4547 ac_path_GREP_max=$ac_count
4549 # 10*(2^10) chars as input seems more than enough
4550 test $ac_count -gt 10 && break
4552 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4555 $ac_path_GREP_found && break 3
4560 if test -z "$ac_cv_path_GREP"; then
4561 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564 ac_cv_path_GREP=$GREP
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4569 $as_echo "$ac_cv_path_GREP" >&6; }
4570 GREP="$ac_cv_path_GREP"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4574 $as_echo_n "checking for egrep... " >&6; }
4575 if ${ac_cv_path_EGREP+:} false; then :
4576 $as_echo_n "(cached) " >&6
4578 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4579 then ac_cv_path_EGREP="$GREP -E"
4581 if test -z "$EGREP"; then
4582 ac_path_EGREP_found=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588 test -z "$as_dir" && as_dir=.
4589 for ac_prog in egrep; do
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4592 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4593 # Check for GNU ac_path_EGREP and select it if it is found.
4594 # Check for GNU $ac_path_EGREP
4595 case `"$ac_path_EGREP" --version 2>&1` in
4597 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4600 $as_echo_n 0123456789 >"conftest.in"
4603 cat "conftest.in" "conftest.in" >"conftest.tmp"
4604 mv "conftest.tmp" "conftest.in"
4605 cp "conftest.in" "conftest.nl"
4606 $as_echo 'EGREP' >> "conftest.nl"
4607 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4608 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4609 as_fn_arith $ac_count + 1 && ac_count=$as_val
4610 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_EGREP="$ac_path_EGREP"
4613 ac_path_EGREP_max=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621 $ac_path_EGREP_found && break 3
4626 if test -z "$ac_cv_path_EGREP"; then
4627 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630 ac_cv_path_EGREP=$EGREP
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4636 $as_echo "$ac_cv_path_EGREP" >&6; }
4637 EGREP="$ac_cv_path_EGREP"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4641 $as_echo_n "checking for fgrep... " >&6; }
4642 if ${ac_cv_path_FGREP+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4646 then ac_cv_path_FGREP="$GREP -F"
4648 if test -z "$FGREP"; then
4649 ac_path_FGREP_found=false
4650 # Loop through the user's path and test for each of PROGNAME-LIST
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4655 test -z "$as_dir" && as_dir=.
4656 for ac_prog in fgrep; do
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4659 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4660 # Check for GNU ac_path_FGREP and select it if it is found.
4661 # Check for GNU $ac_path_FGREP
4662 case `"$ac_path_FGREP" --version 2>&1` in
4664 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4667 $as_echo_n 0123456789 >"conftest.in"
4670 cat "conftest.in" "conftest.in" >"conftest.tmp"
4671 mv "conftest.tmp" "conftest.in"
4672 cp "conftest.in" "conftest.nl"
4673 $as_echo 'FGREP' >> "conftest.nl"
4674 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4675 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4676 as_fn_arith $ac_count + 1 && ac_count=$as_val
4677 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4678 # Best one so far, save it but keep looking for a better one
4679 ac_cv_path_FGREP="$ac_path_FGREP"
4680 ac_path_FGREP_max=$ac_count
4682 # 10*(2^10) chars as input seems more than enough
4683 test $ac_count -gt 10 && break
4685 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4688 $ac_path_FGREP_found && break 3
4693 if test -z "$ac_cv_path_FGREP"; then
4694 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4697 ac_cv_path_FGREP=$FGREP
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4703 $as_echo "$ac_cv_path_FGREP" >&6; }
4704 FGREP="$ac_cv_path_FGREP"
4707 test -z "$GREP" && GREP=grep
4727 # Check whether --with-gnu-ld was given.
4728 if test "${with_gnu_ld+set}" = set; then :
4729 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4735 if test "$GCC" = yes; then
4736 # Check if gcc -print-prog-name=ld gives a path.
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4738 $as_echo_n "checking for ld used by $CC... " >&6; }
4741 # gcc leaves a trailing carriage return which upsets mingw
4742 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4744 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4747 # Accept absolute paths.
4749 re_direlt='/[^/][^/]*/\.\./'
4750 # Canonicalize the pathname of ld
4751 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4752 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4753 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4755 test -z "$LD" && LD="$ac_prog"
4758 # If it fails, then pretend we aren't using GCC.
4762 # If it is relative, then search for the first ld in PATH.
4766 elif test "$with_gnu_ld" = yes; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4768 $as_echo_n "checking for GNU ld... " >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4771 $as_echo_n "checking for non-GNU ld... " >&6; }
4773 if ${lt_cv_path_LD+:} false; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -z "$LD"; then
4777 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4778 for ac_dir in $PATH; do
4780 test -z "$ac_dir" && ac_dir=.
4781 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4782 lt_cv_path_LD="$ac_dir/$ac_prog"
4783 # Check to see if the program is GNU ld. I'd rather use --version,
4784 # but apparently some variants of GNU ld only accept -v.
4785 # Break only if it was the GNU/non-GNU ld that we prefer.
4786 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4787 *GNU* | *'with BFD'*)
4788 test "$with_gnu_ld" != no && break
4791 test "$with_gnu_ld" != yes && break
4798 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4803 if test -n "$LD"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4805 $as_echo "$LD" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4810 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4812 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4813 if ${lt_cv_prog_gnu_ld+:} false; then :
4814 $as_echo_n "(cached) " >&6
4816 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4817 case `$LD -v 2>&1 </dev/null` in
4818 *GNU* | *'with BFD'*)
4819 lt_cv_prog_gnu_ld=yes
4822 lt_cv_prog_gnu_ld=no
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4827 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4828 with_gnu_ld=$lt_cv_prog_gnu_ld
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4839 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4840 if ${lt_cv_path_NM+:} false; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$NM"; then
4844 # Let the user override the test.
4847 lt_nm_to_check="${ac_tool_prefix}nm"
4848 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4849 lt_nm_to_check="$lt_nm_to_check nm"
4851 for lt_tmp_nm in $lt_nm_to_check; do
4852 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4853 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4855 test -z "$ac_dir" && ac_dir=.
4856 tmp_nm="$ac_dir/$lt_tmp_nm"
4857 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4858 # Check to see if the nm accepts a BSD-compat flag.
4859 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4860 # nm: unknown option "B" ignored
4861 # Tru64's nm complains that /dev/null is an invalid object file
4862 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4863 */dev/null* | *'Invalid file or object type'*)
4864 lt_cv_path_NM="$tmp_nm -B"
4868 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4870 lt_cv_path_NM="$tmp_nm -p"
4874 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4875 continue # so that we can try to find one that supports BSD flags
4884 : ${lt_cv_path_NM=no}
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4888 $as_echo "$lt_cv_path_NM" >&6; }
4889 if test "$lt_cv_path_NM" != "no"; then
4892 # Didn't find any BSD compatible name lister, look for dumpbin.
4893 if test -n "$DUMPBIN"; then :
4894 # Let the user override the test.
4896 if test -n "$ac_tool_prefix"; then
4897 for ac_prog in dumpbin "link -dump"
4899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_DUMPBIN+:} false; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -n "$DUMPBIN"; then
4907 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir=.
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4916 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 DUMPBIN=$ac_cv_prog_DUMPBIN
4927 if test -n "$DUMPBIN"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4929 $as_echo "$DUMPBIN" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4936 test -n "$DUMPBIN" && break
4939 if test -z "$DUMPBIN"; then
4940 ac_ct_DUMPBIN=$DUMPBIN
4941 for ac_prog in dumpbin "link -dump"
4943 # Extract the first word of "$ac_prog", so it can be a program name with args.
4944 set dummy $ac_prog; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$ac_ct_DUMPBIN"; then
4951 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4971 if test -n "$ac_ct_DUMPBIN"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4973 $as_echo "$ac_ct_DUMPBIN" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 test -n "$ac_ct_DUMPBIN" && break
4983 if test "x$ac_ct_DUMPBIN" = x; then
4986 case $cross_compiling:$ac_tool_warned in
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4990 ac_tool_warned=yes ;;
4992 DUMPBIN=$ac_ct_DUMPBIN
4996 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4998 DUMPBIN="$DUMPBIN -symbols"
5006 if test "$DUMPBIN" != ":"; then
5010 test -z "$NM" && NM=nm
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5018 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5019 if ${lt_cv_nm_interface+:} false; then :
5020 $as_echo_n "(cached) " >&6
5022 lt_cv_nm_interface="BSD nm"
5023 echo "int some_variable = 0;" > conftest.$ac_ext
5024 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5025 (eval "$ac_compile" 2>conftest.err)
5026 cat conftest.err >&5
5027 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5028 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5029 cat conftest.err >&5
5030 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5031 cat conftest.out >&5
5032 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5033 lt_cv_nm_interface="MS dumpbin"
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5038 $as_echo "$lt_cv_nm_interface" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5041 $as_echo_n "checking whether ln -s works... " >&6; }
5043 if test "$LN_S" = "ln -s"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5045 $as_echo "yes" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5048 $as_echo "no, using $LN_S" >&6; }
5051 # find the maximum length of command line arguments
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5053 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5054 if ${lt_cv_sys_max_cmd_len+:} false; then :
5055 $as_echo_n "(cached) " >&6
5062 # On DJGPP, this test can blow up pretty badly due to problems in libc
5063 # (any single argument exceeding 2000 bytes causes a buffer overrun
5064 # during glob expansion). Even if it were fixed, the result of this
5065 # check would be larger than it should be.
5066 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5070 # Under GNU Hurd, this test is not required because there is
5071 # no limit to the length of command line arguments.
5072 # Libtool will interpret -1 as no limit whatsoever
5073 lt_cv_sys_max_cmd_len=-1;
5076 cygwin* | mingw* | cegcc*)
5077 # On Win9x/ME, this test blows up -- it succeeds, but takes
5078 # about 5 minutes as the teststring grows exponentially.
5079 # Worse, since 9x/ME are not pre-emptively multitasking,
5080 # you end up with a "frozen" computer, even though with patience
5081 # the test eventually succeeds (with a max line length of 256k).
5082 # Instead, let's just punt: use the minimum linelength reported by
5083 # all of the supported platforms: 8192 (on NT/2K/XP).
5084 lt_cv_sys_max_cmd_len=8192;
5088 # On MiNT this can take a long time and run out of memory.
5089 lt_cv_sys_max_cmd_len=8192;
5093 # On AmigaOS with pdksh, this test takes hours, literally.
5094 # So we just punt and use a minimum line length of 8192.
5095 lt_cv_sys_max_cmd_len=8192;
5098 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5099 # This has been around since 386BSD, at least. Likely further.
5100 if test -x /sbin/sysctl; then
5101 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5102 elif test -x /usr/sbin/sysctl; then
5103 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5105 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5107 # And add a safety zone
5108 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5113 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5114 lt_cv_sys_max_cmd_len=196608
5118 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5119 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5120 # nice to cause kernel panics so lets avoid the loop below.
5121 # First set a reasonable default.
5122 lt_cv_sys_max_cmd_len=16384
5124 if test -x /sbin/sysconfig; then
5125 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5126 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5131 lt_cv_sys_max_cmd_len=102400
5133 sysv5* | sco5v6* | sysv4.2uw2*)
5134 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5135 if test -n "$kargmax"; then
5136 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5138 lt_cv_sys_max_cmd_len=32768
5142 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5143 if test -n "$lt_cv_sys_max_cmd_len"; then
5144 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5145 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5147 # Make teststring a little bigger before we do anything with it.
5148 # a 1K string should be a reasonable start.
5149 for i in 1 2 3 4 5 6 7 8 ; do
5150 teststring=$teststring$teststring
5152 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5153 # If test is not a shell built-in, we'll probably end up computing a
5154 # maximum length that is only half of the actual maximum length, but
5156 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5157 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5158 test $i != 17 # 1/2 MB should be enough
5161 teststring=$teststring$teststring
5163 # Only check the string length outside the loop.
5164 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5166 # Add a significant safety factor because C++ compilers can tack on
5167 # massive amounts of additional arguments before passing them to the
5168 # linker. It appears as though 1/2 is a usable value.
5169 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5176 if test -n $lt_cv_sys_max_cmd_len ; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5178 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5181 $as_echo "none" >&6; }
5183 max_cmd_len=$lt_cv_sys_max_cmd_len
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5195 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5196 # Try some XSI features
5199 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5201 && eval 'test $(( 1 + 1 )) -eq 2 \
5202 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5205 $as_echo "$xsi_shell" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5209 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5211 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5213 && lt_shell_append=yes
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5215 $as_echo "$lt_shell_append" >&6; }
5218 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5228 # test EBCDIC or ASCII
5229 case `echo X|tr X '\101'` in
5230 A) # ASCII based system
5231 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5232 lt_SP2NL='tr \040 \012'
5233 lt_NL2SP='tr \015\012 \040\040'
5235 *) # EBCDIC based system
5236 lt_SP2NL='tr \100 \n'
5237 lt_NL2SP='tr \r\n \100\100'
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5250 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5251 if ${lt_cv_to_host_file_cmd+:} false; then :
5252 $as_echo_n "(cached) " >&6
5257 *-*-mingw* ) # actually msys
5258 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5261 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5263 * ) # otherwise, assume *nix
5264 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5270 *-*-mingw* ) # actually msys
5271 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5274 lt_cv_to_host_file_cmd=func_convert_file_noop
5276 * ) # otherwise, assume *nix
5277 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5281 * ) # unhandled hosts (and "normal" native builds)
5282 lt_cv_to_host_file_cmd=func_convert_file_noop
5288 to_host_file_cmd=$lt_cv_to_host_file_cmd
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5290 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5297 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5298 if ${lt_cv_to_tool_file_cmd+:} false; then :
5299 $as_echo_n "(cached) " >&6
5301 #assume ordinary cross tools, or native build.
5302 lt_cv_to_tool_file_cmd=func_convert_file_noop
5306 *-*-mingw* ) # actually msys
5307 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5315 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5317 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5324 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5325 if ${lt_cv_ld_reload_flag+:} false; then :
5326 $as_echo_n "(cached) " >&6
5328 lt_cv_ld_reload_flag='-r'
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5331 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5332 reload_flag=$lt_cv_ld_reload_flag
5333 case $reload_flag in
5335 *) reload_flag=" $reload_flag" ;;
5337 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5339 cygwin* | mingw* | pw32* | cegcc*)
5340 if test "$GCC" != yes; then
5345 if test "$GCC" = yes; then
5346 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5348 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5361 if test -n "$ac_tool_prefix"; then
5362 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5363 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_OBJDUMP+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$OBJDUMP"; then
5370 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5379 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 OBJDUMP=$ac_cv_prog_OBJDUMP
5390 if test -n "$OBJDUMP"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5392 $as_echo "$OBJDUMP" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5400 if test -z "$ac_cv_prog_OBJDUMP"; then
5401 ac_ct_OBJDUMP=$OBJDUMP
5402 # Extract the first word of "objdump", so it can be a program name with args.
5403 set dummy objdump; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5407 $as_echo_n "(cached) " >&6
5409 if test -n "$ac_ct_OBJDUMP"; then
5410 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5419 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5430 if test -n "$ac_ct_OBJDUMP"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5432 $as_echo "$ac_ct_OBJDUMP" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5438 if test "x$ac_ct_OBJDUMP" = x; then
5441 case $cross_compiling:$ac_tool_warned in
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5445 ac_tool_warned=yes ;;
5447 OBJDUMP=$ac_ct_OBJDUMP
5450 OBJDUMP="$ac_cv_prog_OBJDUMP"
5453 test -z "$OBJDUMP" && OBJDUMP=objdump
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5464 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5465 if ${lt_cv_deplibs_check_method+:} false; then :
5466 $as_echo_n "(cached) " >&6
5468 lt_cv_file_magic_cmd='$MAGIC_CMD'
5469 lt_cv_file_magic_test_file=
5470 lt_cv_deplibs_check_method='unknown'
5471 # Need to set the preceding variable on all platforms that support
5472 # interlibrary dependencies.
5473 # 'none' -- dependencies not supported.
5474 # `unknown' -- same as none, but documents that we really don't know.
5475 # 'pass_all' -- all dependencies passed with no checks.
5476 # 'test_compile' -- check by making test program.
5477 # 'file_magic [[regex]]' -- check by looking for files in library path
5478 # which responds to the $file_magic_cmd with a given extended regex.
5479 # If you have `file' or equivalent on your system and you're not sure
5480 # whether `pass_all' will *always* work, you probably want this one.
5484 lt_cv_deplibs_check_method=pass_all
5488 lt_cv_deplibs_check_method=pass_all
5492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5493 lt_cv_file_magic_cmd='/usr/bin/file -L'
5494 lt_cv_file_magic_test_file=/shlib/libc.so
5498 # func_win32_libid is a shell function defined in ltmain.sh
5499 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5500 lt_cv_file_magic_cmd='func_win32_libid'
5504 # Base MSYS/MinGW do not provide the 'file' command needed by
5505 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5506 # unless we find 'file', for example because we are cross-compiling.
5507 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5508 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5509 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5510 lt_cv_file_magic_cmd='func_win32_libid'
5512 # Keep this pattern in sync with the one in func_win32_libid.
5513 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5514 lt_cv_file_magic_cmd='$OBJDUMP -f'
5519 # use the weaker test based on 'objdump'. See mingw*.
5520 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5521 lt_cv_file_magic_cmd='$OBJDUMP -f'
5524 darwin* | rhapsody*)
5525 lt_cv_deplibs_check_method=pass_all
5528 freebsd* | dragonfly*)
5529 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5532 # Not sure whether the presence of OpenBSD here was a mistake.
5533 # Let's accept both of them until this is cleared up.
5534 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5535 lt_cv_file_magic_cmd=/usr/bin/file
5536 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5540 lt_cv_deplibs_check_method=pass_all
5545 lt_cv_deplibs_check_method=pass_all
5549 lt_cv_deplibs_check_method=pass_all
5552 hpux10.20* | hpux11*)
5553 lt_cv_file_magic_cmd=/usr/bin/file
5556 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5557 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5560 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]'
5561 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5564 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5565 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5571 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5572 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5575 irix5* | irix6* | nonstopux*)
5577 *-32|*"-32 ") libmagic=32-bit;;
5578 *-n32|*"-n32 ") libmagic=N32;;
5579 *-64|*"-64 ") libmagic=64-bit;;
5580 *) libmagic=never-match;;
5582 lt_cv_deplibs_check_method=pass_all
5585 # This must be Linux ELF.
5586 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5587 lt_cv_deplibs_check_method=pass_all
5591 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5594 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5599 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5600 lt_cv_file_magic_cmd=/usr/bin/file
5601 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5605 lt_cv_deplibs_check_method=pass_all
5609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5616 osf3* | osf4* | osf5*)
5617 lt_cv_deplibs_check_method=pass_all
5621 lt_cv_deplibs_check_method=pass_all
5625 lt_cv_deplibs_check_method=pass_all
5628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5629 lt_cv_deplibs_check_method=pass_all
5633 case $host_vendor in
5635 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]'
5636 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5639 lt_cv_deplibs_check_method=pass_all
5642 lt_cv_file_magic_cmd='/bin/file'
5643 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5646 lt_cv_file_magic_cmd='/bin/file'
5647 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5648 lt_cv_file_magic_test_file=/lib/libc.so
5651 lt_cv_deplibs_check_method=pass_all
5654 lt_cv_deplibs_check_method=pass_all
5660 lt_cv_deplibs_check_method=pass_all
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5666 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5670 if test "$build" = "$host"; then
5673 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5676 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5682 file_magic_cmd=$lt_cv_file_magic_cmd
5683 deplibs_check_method=$lt_cv_deplibs_check_method
5684 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5707 if test -n "$ac_tool_prefix"; then
5708 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5709 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_DLLTOOL+:} false; then :
5713 $as_echo_n "(cached) " >&6
5715 if test -n "$DLLTOOL"; then
5716 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5725 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 DLLTOOL=$ac_cv_prog_DLLTOOL
5736 if test -n "$DLLTOOL"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5738 $as_echo "$DLLTOOL" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5746 if test -z "$ac_cv_prog_DLLTOOL"; then
5747 ac_ct_DLLTOOL=$DLLTOOL
5748 # Extract the first word of "dlltool", so it can be a program name with args.
5749 set dummy dlltool; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$ac_ct_DLLTOOL"; then
5756 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5765 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5776 if test -n "$ac_ct_DLLTOOL"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5778 $as_echo "$ac_ct_DLLTOOL" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5784 if test "x$ac_ct_DLLTOOL" = x; then
5787 case $cross_compiling:$ac_tool_warned in
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5791 ac_tool_warned=yes ;;
5793 DLLTOOL=$ac_ct_DLLTOOL
5796 DLLTOOL="$ac_cv_prog_DLLTOOL"
5799 test -z "$DLLTOOL" && DLLTOOL=dlltool
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5811 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5812 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5813 $as_echo_n "(cached) " >&6
5815 lt_cv_sharedlib_from_linklib_cmd='unknown'
5818 cygwin* | mingw* | pw32* | cegcc*)
5819 # two different shell functions defined in ltmain.sh
5820 # decide which to use based on capabilities of $DLLTOOL
5821 case `$DLLTOOL --help 2>&1` in
5822 *--identify-strict*)
5823 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5826 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5831 # fallback: assume linklib IS sharedlib
5832 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5838 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5839 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5840 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5849 if test -n "$ac_tool_prefix"; then
5852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_AR+:} false; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -n "$AR"; then
5860 ac_cv_prog_AR="$AR" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 if test -n "$AR"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5882 $as_echo "$AR" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 test -n "$AR" && break
5892 if test -z "$AR"; then
5896 # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy $ac_prog; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$ac_ct_AR"; then
5904 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_ac_ct_AR="$ac_prog"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5924 if test -n "$ac_ct_AR"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5926 $as_echo "$ac_ct_AR" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5933 test -n "$ac_ct_AR" && break
5936 if test "x$ac_ct_AR" = x; then
5939 case $cross_compiling:$ac_tool_warned in
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5943 ac_tool_warned=yes ;;
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5963 $as_echo_n "checking for archiver @FILE support... " >&6; }
5964 if ${lt_cv_ar_at_file+:} false; then :
5965 $as_echo_n "(cached) " >&6
5968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5979 if ac_fn_c_try_compile "$LINENO"; then :
5980 echo conftest.$ac_objext > conftest.lst
5981 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5982 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5983 (eval $lt_ar_try) 2>&5
5985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5986 test $ac_status = 0; }
5987 if test "$ac_status" -eq 0; then
5988 # Ensure the archiver fails upon bogus file names.
5989 rm -f conftest.$ac_objext libconftest.a
5990 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5991 (eval $lt_ar_try) 2>&5
5993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5994 test $ac_status = 0; }
5995 if test "$ac_status" -ne 0; then
5999 rm -f conftest.* libconftest.a
6002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6006 $as_echo "$lt_cv_ar_at_file" >&6; }
6008 if test "x$lt_cv_ar_at_file" = xno; then
6011 archiver_list_spec=$lt_cv_ar_at_file
6020 if test -n "$ac_tool_prefix"; then
6021 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6022 set dummy ${ac_tool_prefix}strip; ac_word=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_STRIP+:} false; then :
6026 $as_echo_n "(cached) " >&6
6028 if test -n "$STRIP"; then
6029 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 test -z "$as_dir" && as_dir=.
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6038 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 STRIP=$ac_cv_prog_STRIP
6049 if test -n "$STRIP"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6051 $as_echo "$STRIP" >&6; }
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6059 if test -z "$ac_cv_prog_STRIP"; then
6061 # Extract the first word of "strip", so it can be a program name with args.
6062 set dummy strip; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6066 $as_echo_n "(cached) " >&6
6068 if test -n "$ac_ct_STRIP"; then
6069 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6078 ac_cv_prog_ac_ct_STRIP="strip"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6089 if test -n "$ac_ct_STRIP"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6091 $as_echo "$ac_ct_STRIP" >&6; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6097 if test "x$ac_ct_STRIP" = x; then
6100 case $cross_compiling:$ac_tool_warned in
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6104 ac_tool_warned=yes ;;
6109 STRIP="$ac_cv_prog_STRIP"
6112 test -z "$STRIP" && STRIP=:
6119 if test -n "$ac_tool_prefix"; then
6120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_RANLIB+:} false; then :
6125 $as_echo_n "(cached) " >&6
6127 if test -n "$RANLIB"; then
6128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 RANLIB=$ac_cv_prog_RANLIB
6148 if test -n "$RANLIB"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6150 $as_echo "$RANLIB" >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6158 if test -z "$ac_cv_prog_RANLIB"; then
6159 ac_ct_RANLIB=$RANLIB
6160 # Extract the first word of "ranlib", so it can be a program name with args.
6161 set dummy ranlib; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 $as_echo_n "checking for $ac_word... " >&6; }
6164 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6165 $as_echo_n "(cached) " >&6
6167 if test -n "$ac_ct_RANLIB"; then
6168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir=.
6175 for ac_exec_ext in '' $ac_executable_extensions; do
6176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177 ac_cv_prog_ac_ct_RANLIB="ranlib"
6178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6188 if test -n "$ac_ct_RANLIB"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6190 $as_echo "$ac_ct_RANLIB" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6193 $as_echo "no" >&6; }
6196 if test "x$ac_ct_RANLIB" = x; then
6199 case $cross_compiling:$ac_tool_warned in
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6203 ac_tool_warned=yes ;;
6205 RANLIB=$ac_ct_RANLIB
6208 RANLIB="$ac_cv_prog_RANLIB"
6211 test -z "$RANLIB" && RANLIB=:
6218 # Determine commands to create old-style static archives.
6219 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6220 old_postinstall_cmds='chmod 644 $oldlib'
6221 old_postuninstall_cmds=
6223 if test -n "$RANLIB"; then
6226 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6229 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6232 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6237 lock_old_archive_extraction=yes ;;
6239 lock_old_archive_extraction=no ;;
6280 # If no C compiler was specified, use CC.
6283 # If no C compiler flags were specified, use CFLAGS.
6284 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6286 # Allow CC to be a program name with arguments.
6290 # Check for command to grab the raw symbol name followed by C symbol from nm.
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6292 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6293 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6294 $as_echo_n "(cached) " >&6
6297 # These are sane defaults that work on at least a few old systems.
6298 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6300 # Character class describing NM global symbol codes.
6301 symcode='[BCDEGRST]'
6303 # Regexp to match symbols that can be accessed directly from C.
6304 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6306 # Define system-specific variables.
6311 cygwin* | mingw* | pw32* | cegcc*)
6312 symcode='[ABCDGISTW]'
6315 if test "$host_cpu" = ia64; then
6316 symcode='[ABCDEGRST]'
6320 symcode='[BCDEGRST]'
6323 symcode='[BCDEGQRST]'
6334 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6342 # If we're using GNU nm, then use its standard symbol codes.
6343 case `$NM -V 2>&1` in
6344 *GNU* | *'with BFD'*)
6345 symcode='[ABCDGIRSTW]' ;;
6348 # Transform an extracted symbol line into a proper C declaration.
6349 # Some systems (esp. on ia64) link data and code symbols differently,
6350 # so use this general approach.
6351 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6353 # Transform an extracted symbol line into symbol name and symbol address
6354 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6355 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'"
6357 # Handle CRLF in mingw tool chain
6361 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6365 # Try without a prefix underscore, then with it.
6366 for ac_symprfx in "" "_"; do
6368 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6369 symxfrm="\\1 $ac_symprfx\\2 \\2"
6371 # Write the raw and C identifiers.
6372 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6373 # Fake it for dumpbin and say T for any non-static function
6374 # and D for any global variable.
6375 # Also find C++ and __fastcall symbols from MSVC++,
6376 # which start with @ or ?.
6377 lt_cv_sys_global_symbol_pipe="$AWK '"\
6378 " {last_section=section; section=\$ 3};"\
6379 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6380 " \$ 0!~/External *\|/{next};"\
6381 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6382 " {if(hide[section]) next};"\
6383 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6384 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6385 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6386 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6387 " ' prfx=^$ac_symprfx"
6389 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6391 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6393 # Check to see that the pipe works correctly.
6397 cat > conftest.$ac_ext <<_LT_EOF
6402 void nm_test_func(void);
6403 void nm_test_func(void){}
6407 int main(){nm_test_var='a';nm_test_func();return(0);}
6410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411 (eval $ac_compile) 2>&5
6413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414 test $ac_status = 0; }; then
6415 # Now try to grab the symbols.
6417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6418 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6421 test $ac_status = 0; } && test -s "$nlist"; then
6422 # Try sorting and uniquifying the output.
6423 if sort "$nlist" | uniq > "$nlist"T; then
6424 mv -f "$nlist"T "$nlist"
6429 # Make sure that we snagged all the symbols we need.
6430 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6431 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6432 cat <<_LT_EOF > conftest.$ac_ext
6433 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6434 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6435 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6436 relocations are performed -- see ld's documentation on pseudo-relocs. */
6437 # define LT_DLSYM_CONST
6438 #elif defined(__osf__)
6439 /* This system does not cope well with relocations in const data. */
6440 # define LT_DLSYM_CONST
6442 # define LT_DLSYM_CONST const
6450 # Now generate the symbol file.
6451 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6453 cat <<_LT_EOF >> conftest.$ac_ext
6455 /* The mapping between symbol names and symbols. */
6456 LT_DLSYM_CONST struct {
6460 lt__PROGRAM__LTX_preloaded_symbols[] =
6462 { "@PROGRAM@", (void *) 0 },
6464 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6465 cat <<\_LT_EOF >> conftest.$ac_ext
6469 /* This works around a problem in FreeBSD linker */
6470 #ifdef FREEBSD_WORKAROUND
6471 static const void *lt_preloaded_setup() {
6472 return lt__PROGRAM__LTX_preloaded_symbols;
6480 # Now try linking the two files.
6481 mv conftest.$ac_objext conftstm.$ac_objext
6482 lt_globsym_save_LIBS=$LIBS
6483 lt_globsym_save_CFLAGS=$CFLAGS
6484 LIBS="conftstm.$ac_objext"
6485 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6487 (eval $ac_link) 2>&5
6489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6490 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6493 LIBS=$lt_globsym_save_LIBS
6494 CFLAGS=$lt_globsym_save_CFLAGS
6496 echo "cannot find nm_test_func in $nlist" >&5
6499 echo "cannot find nm_test_var in $nlist" >&5
6502 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6505 echo "$progname: failed program was:" >&5
6506 cat conftest.$ac_ext >&5
6508 rm -rf conftest* conftst*
6510 # Do not use the global_symbol_pipe unless it works.
6511 if test "$pipe_works" = yes; then
6514 lt_cv_sys_global_symbol_pipe=
6520 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6521 lt_cv_sys_global_symbol_to_cdecl=
6523 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6525 $as_echo "failed" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6528 $as_echo "ok" >&6; }
6531 # Response file support.
6532 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6533 nm_file_list_spec='@'
6534 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6535 nm_file_list_spec='@'
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6565 $as_echo_n "checking for sysroot... " >&6; }
6567 # Check whether --with-sysroot was given.
6568 if test "${with_sysroot+set}" = set; then :
6569 withval=$with_sysroot;
6576 case ${with_sysroot} in #(
6578 if test "$GCC" = yes; then
6579 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6583 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6589 $as_echo "${with_sysroot}" >&6; }
6590 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6595 $as_echo "${lt_sysroot:-no}" >&6; }
6601 # Check whether --enable-libtool-lock was given.
6602 if test "${enable_libtool_lock+set}" = set; then :
6603 enableval=$enable_libtool_lock;
6606 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6608 # Some flags need to be propagated to the compiler or linker for good
6612 # Find out which ABI we are using.
6613 echo 'int i;' > conftest.$ac_ext
6614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6615 (eval $ac_compile) 2>&5
6617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6618 test $ac_status = 0; }; then
6619 case `/usr/bin/file conftest.$ac_objext` in
6631 # Find out which ABI we are using.
6632 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6634 (eval $ac_compile) 2>&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637 test $ac_status = 0; }; then
6638 if test "$lt_cv_prog_gnu_ld" = yes; then
6639 case `/usr/bin/file conftest.$ac_objext` in
6641 LD="${LD-ld} -melf32bsmip"
6644 LD="${LD-ld} -melf32bmipn32"
6647 LD="${LD-ld} -melf64bmip"
6651 case `/usr/bin/file conftest.$ac_objext` in
6667 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6668 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6669 # Find out which ABI we are using.
6670 echo 'int i;' > conftest.$ac_ext
6671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6672 (eval $ac_compile) 2>&5
6674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6675 test $ac_status = 0; }; then
6676 case `/usr/bin/file conftest.o` in
6679 x86_64-*kfreebsd*-gnu)
6680 LD="${LD-ld} -m elf_i386_fbsd"
6683 LD="${LD-ld} -m elf_i386"
6685 ppc64-*linux*|powerpc64-*linux*)
6686 LD="${LD-ld} -m elf32ppclinux"
6689 LD="${LD-ld} -m elf_s390"
6692 LD="${LD-ld} -m elf32_sparc"
6698 x86_64-*kfreebsd*-gnu)
6699 LD="${LD-ld} -m elf_x86_64_fbsd"
6702 LD="${LD-ld} -m elf_x86_64"
6704 ppc*-*linux*|powerpc*-*linux*)
6705 LD="${LD-ld} -m elf64ppc"
6707 s390*-*linux*|s390*-*tpf*)
6708 LD="${LD-ld} -m elf64_s390"
6711 LD="${LD-ld} -m elf64_sparc"
6721 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6722 SAVE_CFLAGS="$CFLAGS"
6723 CFLAGS="$CFLAGS -belf"
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6725 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6726 if ${lt_cv_cc_needs_belf+:} false; then :
6727 $as_echo_n "(cached) " >&6
6730 ac_cpp='$CPP $CPPFLAGS'
6731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6746 if ac_fn_c_try_link "$LINENO"; then :
6747 lt_cv_cc_needs_belf=yes
6749 lt_cv_cc_needs_belf=no
6751 rm -f core conftest.err conftest.$ac_objext \
6752 conftest$ac_exeext conftest.$ac_ext
6754 ac_cpp='$CPP $CPPFLAGS'
6755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6761 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6762 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6763 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6764 CFLAGS="$SAVE_CFLAGS"
6768 # Find out which ABI we are using.
6769 echo 'int i;' > conftest.$ac_ext
6770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771 (eval $ac_compile) 2>&5
6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774 test $ac_status = 0; }; then
6775 case `/usr/bin/file conftest.o` in
6777 case $lt_cv_prog_gnu_ld in
6778 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6780 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6792 need_locks="$enable_libtool_lock"
6794 if test -n "$ac_tool_prefix"; then
6795 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6796 set dummy ${ac_tool_prefix}mt; ac_word=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6800 $as_echo_n "(cached) " >&6
6802 if test -n "$MANIFEST_TOOL"; then
6803 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6823 if test -n "$MANIFEST_TOOL"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6825 $as_echo "$MANIFEST_TOOL" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6833 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6834 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6835 # Extract the first word of "mt", so it can be a program name with args.
6836 set dummy mt; ac_word=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6840 $as_echo_n "(cached) " >&6
6842 if test -n "$ac_ct_MANIFEST_TOOL"; then
6843 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 test -z "$as_dir" && as_dir=.
6850 for ac_exec_ext in '' $ac_executable_extensions; do
6851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6852 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6863 if test -n "$ac_ct_MANIFEST_TOOL"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6865 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 $as_echo "no" >&6; }
6871 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6874 case $cross_compiling:$ac_tool_warned in
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned=yes ;;
6880 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6883 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6886 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6888 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6889 if ${lt_cv_path_mainfest_tool+:} false; then :
6890 $as_echo_n "(cached) " >&6
6892 lt_cv_path_mainfest_tool=no
6893 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6894 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6895 cat conftest.err >&5
6896 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6897 lt_cv_path_mainfest_tool=yes
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6902 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6903 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6913 rhapsody* | darwin*)
6914 if test -n "$ac_tool_prefix"; then
6915 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6916 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$DSYMUTIL"; then
6923 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6943 if test -n "$DSYMUTIL"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6945 $as_echo "$DSYMUTIL" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6953 if test -z "$ac_cv_prog_DSYMUTIL"; then
6954 ac_ct_DSYMUTIL=$DSYMUTIL
6955 # Extract the first word of "dsymutil", so it can be a program name with args.
6956 set dummy dsymutil; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6960 $as_echo_n "(cached) " >&6
6962 if test -n "$ac_ct_DSYMUTIL"; then
6963 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6972 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6983 if test -n "$ac_ct_DSYMUTIL"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6985 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6991 if test "x$ac_ct_DSYMUTIL" = x; then
6994 case $cross_compiling:$ac_tool_warned in
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6998 ac_tool_warned=yes ;;
7000 DSYMUTIL=$ac_ct_DSYMUTIL
7003 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_NMEDIT+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$NMEDIT"; then
7015 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 NMEDIT=$ac_cv_prog_NMEDIT
7035 if test -n "$NMEDIT"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7037 $as_echo "$NMEDIT" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7045 if test -z "$ac_cv_prog_NMEDIT"; then
7046 ac_ct_NMEDIT=$NMEDIT
7047 # Extract the first word of "nmedit", so it can be a program name with args.
7048 set dummy nmedit; ac_word=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 $as_echo_n "checking for $ac_word... " >&6; }
7051 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7052 $as_echo_n "(cached) " >&6
7054 if test -n "$ac_ct_NMEDIT"; then
7055 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir=.
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7064 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7075 if test -n "$ac_ct_NMEDIT"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7077 $as_echo "$ac_ct_NMEDIT" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7083 if test "x$ac_ct_NMEDIT" = x; then
7086 case $cross_compiling:$ac_tool_warned in
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090 ac_tool_warned=yes ;;
7092 NMEDIT=$ac_ct_NMEDIT
7095 NMEDIT="$ac_cv_prog_NMEDIT"
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7100 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_LIPO+:} false; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$LIPO"; then
7107 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 LIPO=$ac_cv_prog_LIPO
7127 if test -n "$LIPO"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7129 $as_echo "$LIPO" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7137 if test -z "$ac_cv_prog_LIPO"; then
7139 # Extract the first word of "lipo", so it can be a program name with args.
7140 set dummy lipo; ac_word=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 $as_echo_n "checking for $ac_word... " >&6; }
7143 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7144 $as_echo_n "(cached) " >&6
7146 if test -n "$ac_ct_LIPO"; then
7147 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir=.
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7156 ac_cv_prog_ac_ct_LIPO="lipo"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7167 if test -n "$ac_ct_LIPO"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7169 $as_echo "$ac_ct_LIPO" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7175 if test "x$ac_ct_LIPO" = x; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned=yes ;;
7187 LIPO="$ac_cv_prog_LIPO"
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}otool; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_OTOOL+:} false; then :
7196 $as_echo_n "(cached) " >&6
7198 if test -n "$OTOOL"; then
7199 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 OTOOL=$ac_cv_prog_OTOOL
7219 if test -n "$OTOOL"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7221 $as_echo "$OTOOL" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7229 if test -z "$ac_cv_prog_OTOOL"; then
7231 # Extract the first word of "otool", so it can be a program name with args.
7232 set dummy otool; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7236 $as_echo_n "(cached) " >&6
7238 if test -n "$ac_ct_OTOOL"; then
7239 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_ac_ct_OTOOL="otool"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7258 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7259 if test -n "$ac_ct_OTOOL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7261 $as_echo "$ac_ct_OTOOL" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7267 if test "x$ac_ct_OTOOL" = x; then
7270 case $cross_compiling:$ac_tool_warned in
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274 ac_tool_warned=yes ;;
7279 OTOOL="$ac_cv_prog_OTOOL"
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_OTOOL64+:} false; then :
7288 $as_echo_n "(cached) " >&6
7290 if test -n "$OTOOL64"; then
7291 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 OTOOL64=$ac_cv_prog_OTOOL64
7311 if test -n "$OTOOL64"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7313 $as_echo "$OTOOL64" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7321 if test -z "$ac_cv_prog_OTOOL64"; then
7322 ac_ct_OTOOL64=$OTOOL64
7323 # Extract the first word of "otool64", so it can be a program name with args.
7324 set dummy otool64; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7328 $as_echo_n "(cached) " >&6
7330 if test -n "$ac_ct_OTOOL64"; then
7331 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_ac_ct_OTOOL64="otool64"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7351 if test -n "$ac_ct_OTOOL64"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7353 $as_echo "$ac_ct_OTOOL64" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7359 if test "x$ac_ct_OTOOL64" = x; then
7362 case $cross_compiling:$ac_tool_warned in
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366 ac_tool_warned=yes ;;
7368 OTOOL64=$ac_ct_OTOOL64
7371 OTOOL64="$ac_cv_prog_OTOOL64"
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7401 $as_echo_n "checking for -single_module linker flag... " >&6; }
7402 if ${lt_cv_apple_cc_single_mod+:} false; then :
7403 $as_echo_n "(cached) " >&6
7405 lt_cv_apple_cc_single_mod=no
7406 if test -z "${LT_MULTI_MODULE}"; then
7407 # By default we will add the -single_module flag. You can override
7408 # by either setting the environment variable LT_MULTI_MODULE
7409 # non-empty at configure time, or by adding -multi_module to the
7411 rm -rf libconftest.dylib*
7412 echo "int foo(void){return 1;}" > conftest.c
7413 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7414 -dynamiclib -Wl,-single_module conftest.c" >&5
7415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7416 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7418 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7419 lt_cv_apple_cc_single_mod=yes
7421 cat conftest.err >&5
7423 rm -rf libconftest.dylib*
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7428 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7430 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7431 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7432 $as_echo_n "(cached) " >&6
7434 lt_cv_ld_exported_symbols_list=no
7435 save_LDFLAGS=$LDFLAGS
7436 echo "_main" > conftest.sym
7437 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7449 if ac_fn_c_try_link "$LINENO"; then :
7450 lt_cv_ld_exported_symbols_list=yes
7452 lt_cv_ld_exported_symbols_list=no
7454 rm -f core conftest.err conftest.$ac_objext \
7455 conftest$ac_exeext conftest.$ac_ext
7456 LDFLAGS="$save_LDFLAGS"
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7460 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7462 $as_echo_n "checking for -force_load linker flag... " >&6; }
7463 if ${lt_cv_ld_force_load+:} false; then :
7464 $as_echo_n "(cached) " >&6
7466 lt_cv_ld_force_load=no
7467 cat > conftest.c << _LT_EOF
7468 int forced_loaded() { return 2;}
7470 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7471 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7472 echo "$AR cru libconftest.a conftest.o" >&5
7473 $AR cru libconftest.a conftest.o 2>&5
7474 echo "$RANLIB libconftest.a" >&5
7475 $RANLIB libconftest.a 2>&5
7476 cat > conftest.c << _LT_EOF
7477 int main() { return 0;}
7479 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7480 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7482 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7483 lt_cv_ld_force_load=yes
7485 cat conftest.err >&5
7487 rm -f conftest.err libconftest.a conftest conftest.c
7488 rm -rf conftest.dSYM
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7492 $as_echo "$lt_cv_ld_force_load" >&6; }
7494 rhapsody* | darwin1.[012])
7495 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7497 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7498 darwin*) # darwin 5.x on
7499 # if running on 10.5 or later, the deployment target defaults
7500 # to the OS version, if on x86, and 10.4, the deployment
7501 # target defaults to 10.4. Don't you love it?
7502 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7503 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7504 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7506 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7508 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7512 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7513 _lt_dar_single_mod='$single_module'
7515 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7516 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7518 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7520 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7521 _lt_dsymutil='~$DSYMUTIL $lib || :'
7529 ac_cpp='$CPP $CPPFLAGS'
7530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7534 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7535 # On Suns, sometimes $CPP names a directory.
7536 if test -n "$CPP" && test -d "$CPP"; then
7539 if test -z "$CPP"; then
7540 if ${ac_cv_prog_CPP+:} false; then :
7541 $as_echo_n "(cached) " >&6
7543 # Double quotes because CPP needs to be expanded
7544 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7547 for ac_c_preproc_warn_flag in '' yes
7549 # Use a header file that comes with gcc, so configuring glibc
7550 # with a fresh cross-compiler works.
7551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7552 # <limits.h> exists even on freestanding compilers.
7553 # On the NeXT, cc -E runs the code through the compiler's parser,
7554 # not just through cpp. "Syntax error" is here to catch this case.
7555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7556 /* end confdefs.h. */
7558 # include <limits.h>
7560 # include <assert.h>
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7567 # Broken: fails on valid input.
7570 rm -f conftest.err conftest.i conftest.$ac_ext
7572 # OK, works on sane cases. Now check whether nonexistent headers
7573 # can be detected and how.
7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h. */
7576 #include <ac_nonexistent.h>
7578 if ac_fn_c_try_cpp "$LINENO"; then :
7579 # Broken: success on invalid input.
7582 # Passes both tests.
7586 rm -f conftest.err conftest.i conftest.$ac_ext
7589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7590 rm -f conftest.i conftest.err conftest.$ac_ext
7591 if $ac_preproc_ok; then :
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7604 $as_echo "$CPP" >&6; }
7606 for ac_c_preproc_warn_flag in '' yes
7608 # Use a header file that comes with gcc, so configuring glibc
7609 # with a fresh cross-compiler works.
7610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7611 # <limits.h> exists even on freestanding compilers.
7612 # On the NeXT, cc -E runs the code through the compiler's parser,
7613 # not just through cpp. "Syntax error" is here to catch this case.
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7617 # include <limits.h>
7619 # include <assert.h>
7623 if ac_fn_c_try_cpp "$LINENO"; then :
7626 # Broken: fails on valid input.
7629 rm -f conftest.err conftest.i conftest.$ac_ext
7631 # OK, works on sane cases. Now check whether nonexistent headers
7632 # can be detected and how.
7633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h. */
7635 #include <ac_nonexistent.h>
7637 if ac_fn_c_try_cpp "$LINENO"; then :
7638 # Broken: success on invalid input.
7641 # Passes both tests.
7645 rm -f conftest.err conftest.i conftest.$ac_ext
7648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7649 rm -f conftest.i conftest.err conftest.$ac_ext
7650 if $ac_preproc_ok; then :
7653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7655 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7656 See \`config.log' for more details" "$LINENO" 5; }
7660 ac_cpp='$CPP $CPPFLAGS'
7661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7667 $as_echo_n "checking for ANSI C header files... " >&6; }
7668 if ${ac_cv_header_stdc+:} false; then :
7669 $as_echo_n "(cached) " >&6
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7686 if ac_fn_c_try_compile "$LINENO"; then :
7687 ac_cv_header_stdc=yes
7689 ac_cv_header_stdc=no
7691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7693 if test $ac_cv_header_stdc = yes; then
7694 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7701 $EGREP "memchr" >/dev/null 2>&1; then :
7704 ac_cv_header_stdc=no
7710 if test $ac_cv_header_stdc = yes; then
7711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h. */
7717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7718 $EGREP "free" >/dev/null 2>&1; then :
7721 ac_cv_header_stdc=no
7727 if test $ac_cv_header_stdc = yes; then
7728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7729 if test "$cross_compiling" = yes; then :
7732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7736 #if ((' ' & 0x0FF) == 0x020)
7737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7740 # define ISLOWER(c) \
7741 (('a' <= (c) && (c) <= 'i') \
7742 || ('j' <= (c) && (c) <= 'r') \
7743 || ('s' <= (c) && (c) <= 'z'))
7744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7752 for (i = 0; i < 256; i++)
7753 if (XOR (islower (i), ISLOWER (i))
7754 || toupper (i) != TOUPPER (i))
7759 if ac_fn_c_try_run "$LINENO"; then :
7762 ac_cv_header_stdc=no
7764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7765 conftest.$ac_objext conftest.beam conftest.$ac_ext
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7771 $as_echo "$ac_cv_header_stdc" >&6; }
7772 if test $ac_cv_header_stdc = yes; then
7774 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7778 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7779 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7780 inttypes.h stdint.h unistd.h
7782 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7783 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7795 for ac_header in dlfcn.h
7797 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7799 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_DLFCN_H 1
7822 # Check whether --enable-shared was given.
7823 if test "${enable_shared+set}" = set; then :
7824 enableval=$enable_shared; p=${PACKAGE-default}
7826 yes) enable_shared=yes ;;
7827 no) enable_shared=no ;;
7830 # Look at the argument we got. We use all the common list separators.
7831 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7832 for pkg in $enableval; do
7834 if test "X$pkg" = "X$p"; then
7855 # Check whether --with-pic was given.
7856 if test "${with_pic+set}" = set; then :
7857 withval=$with_pic; pic_mode="$withval"
7863 test -z "$pic_mode" && pic_mode=default
7871 # Check whether --enable-fast-install was given.
7872 if test "${enable_fast_install+set}" = set; then :
7873 enableval=$enable_fast_install; p=${PACKAGE-default}
7875 yes) enable_fast_install=yes ;;
7876 no) enable_fast_install=no ;;
7878 enable_fast_install=no
7879 # Look at the argument we got. We use all the common list separators.
7880 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7881 for pkg in $enableval; do
7883 if test "X$pkg" = "X$p"; then
7884 enable_fast_install=yes
7891 enable_fast_install=yes
7904 # This can be used to rebuild libtool when needed
7905 LIBTOOL_DEPS="$ltmain"
7907 # Always use our own libtool.
7908 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7935 test -z "$LN_S" && LN_S="ln -s"
7950 if test -n "${ZSH_VERSION+set}" ; then
7951 setopt NO_GLOB_SUBST
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7955 $as_echo_n "checking for objdir... " >&6; }
7956 if ${lt_cv_objdir+:} false; then :
7957 $as_echo_n "(cached) " >&6
7959 rm -f .libs 2>/dev/null
7960 mkdir .libs 2>/dev/null
7961 if test -d .libs; then
7964 # MS-DOS does not allow filenames that begin with a dot.
7967 rmdir .libs 2>/dev/null
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7970 $as_echo "$lt_cv_objdir" >&6; }
7971 objdir=$lt_cv_objdir
7977 cat >>confdefs.h <<_ACEOF
7978 #define LT_OBJDIR "$lt_cv_objdir/"
7986 # AIX sometimes has problems with the GCC collect2 program. For some
7987 # reason, if we set the COLLECT_NAMES environment variable, the problems
7988 # vanish in a puff of smoke.
7989 if test "X${COLLECT_NAMES+set}" != Xset; then
7991 export COLLECT_NAMES
7998 can_build_shared=yes
8000 # All known linkers require a `.a' archive for static linking (except MSVC,
8001 # which needs '.lib').
8004 with_gnu_ld="$lt_cv_prog_gnu_ld"
8007 old_CFLAGS="$CFLAGS"
8009 # Set sane defaults for various variables
8010 test -z "$CC" && CC=cc
8011 test -z "$LTCC" && LTCC=$CC
8012 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8013 test -z "$LD" && LD=ld
8014 test -z "$ac_objext" && ac_objext=o
8016 for cc_temp in $compiler""; do
8018 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8019 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8024 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8027 # Only perform the check for file, if the check method requires it
8028 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8029 case $deplibs_check_method in
8031 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8033 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8034 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8035 $as_echo_n "(cached) " >&6
8039 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8042 lt_save_MAGIC_CMD="$MAGIC_CMD"
8043 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8044 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8045 for ac_dir in $ac_dummy; do
8047 test -z "$ac_dir" && ac_dir=.
8048 if test -f $ac_dir/${ac_tool_prefix}file; then
8049 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8050 if test -n "$file_magic_test_file"; then
8051 case $deplibs_check_method in
8053 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8055 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8056 $EGREP "$file_magic_regex" > /dev/null; then
8061 *** Warning: the command libtool uses to detect shared libraries,
8062 *** $file_magic_cmd, produces output that libtool cannot recognize.
8063 *** The result is that libtool may fail to recognize shared libraries
8064 *** as such. This will affect the creation of libtool libraries that
8065 *** depend on shared libraries, but programs linked with such libtool
8066 *** libraries will work regardless of this problem. Nevertheless, you
8067 *** may want to report the problem to your system manager and/or to
8068 *** bug-libtool@gnu.org
8078 MAGIC_CMD="$lt_save_MAGIC_CMD"
8083 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8084 if test -n "$MAGIC_CMD"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8086 $as_echo "$MAGIC_CMD" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8096 if test -z "$lt_cv_path_MAGIC_CMD"; then
8097 if test -n "$ac_tool_prefix"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8099 $as_echo_n "checking for file... " >&6; }
8100 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8101 $as_echo_n "(cached) " >&6
8105 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8108 lt_save_MAGIC_CMD="$MAGIC_CMD"
8109 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8110 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8111 for ac_dir in $ac_dummy; do
8113 test -z "$ac_dir" && ac_dir=.
8114 if test -f $ac_dir/file; then
8115 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8116 if test -n "$file_magic_test_file"; then
8117 case $deplibs_check_method in
8119 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8122 $EGREP "$file_magic_regex" > /dev/null; then
8127 *** Warning: the command libtool uses to detect shared libraries,
8128 *** $file_magic_cmd, produces output that libtool cannot recognize.
8129 *** The result is that libtool may fail to recognize shared libraries
8130 *** as such. This will affect the creation of libtool libraries that
8131 *** depend on shared libraries, but programs linked with such libtool
8132 *** libraries will work regardless of this problem. Nevertheless, you
8133 *** may want to report the problem to your system manager and/or to
8134 *** bug-libtool@gnu.org
8144 MAGIC_CMD="$lt_save_MAGIC_CMD"
8149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8150 if test -n "$MAGIC_CMD"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8152 $as_echo "$MAGIC_CMD" >&6; }
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8168 # Use C for the default configuration in the libtool script
8172 ac_cpp='$CPP $CPPFLAGS'
8173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8178 # Source file extension for C test sources.
8181 # Object file extension for compiled C test sources.
8185 # Code to be used in simple compile tests
8186 lt_simple_compile_test_code="int some_variable = 0;"
8188 # Code to be used in simple link tests
8189 lt_simple_link_test_code='int main(){return(0);}'
8197 # If no C compiler was specified, use CC.
8200 # If no C compiler flags were specified, use CFLAGS.
8201 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8203 # Allow CC to be a program name with arguments.
8206 # Save the default compiler, since it gets overwritten when the other
8207 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8208 compiler_DEFAULT=$CC
8210 # save warnings/boilerplate of simple test code
8211 ac_outfile=conftest.$ac_objext
8212 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8213 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8214 _lt_compiler_boilerplate=`cat conftest.err`
8217 ac_outfile=conftest.$ac_objext
8218 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8219 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8220 _lt_linker_boilerplate=`cat conftest.err`
8225 ## There is no encapsulation within the following macros, do not change
8226 ## the running order or otherwise move them around unless you know exactly
8227 ## what you are doing...
8228 if test -n "$compiler"; then
8230 lt_prog_compiler_no_builtin_flag=
8232 if test "$GCC" = yes; then
8233 case $cc_basename in
8235 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8237 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8241 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8242 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8243 $as_echo_n "(cached) " >&6
8245 lt_cv_prog_compiler_rtti_exceptions=no
8246 ac_outfile=conftest.$ac_objext
8247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248 lt_compiler_flag="-fno-rtti -fno-exceptions"
8249 # Insert the option either (1) after the last *FLAGS variable, or
8250 # (2) before a word containing "conftest.", or (3) at the end.
8251 # Note that $ac_compile itself does not contain backslashes and begins
8252 # with a dollar sign (not a hyphen), so the echo should work correctly.
8253 # The option is referenced via a variable to avoid confusing sed.
8254 lt_compile=`echo "$ac_compile" | $SED \
8255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257 -e 's:$: $lt_compiler_flag:'`
8258 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8259 (eval "$lt_compile" 2>conftest.err)
8261 cat conftest.err >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 if (exit $ac_status) && test -s "$ac_outfile"; then
8264 # The compiler can only warn and ignore the option if not recognized
8265 # So say no if there are warnings other than the usual output.
8266 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8267 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8268 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8269 lt_cv_prog_compiler_rtti_exceptions=yes
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8276 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8278 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8279 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8291 lt_prog_compiler_wl=
8292 lt_prog_compiler_pic=
8293 lt_prog_compiler_static=
8296 if test "$GCC" = yes; then
8297 lt_prog_compiler_wl='-Wl,'
8298 lt_prog_compiler_static='-static'
8302 # All AIX code is PIC.
8303 if test "$host_cpu" = ia64; then
8304 # AIX 5 now supports IA64 processor
8305 lt_prog_compiler_static='-Bstatic'
8312 # see comment about AmigaOS4 .so support
8313 lt_prog_compiler_pic='-fPIC'
8316 # FIXME: we need at least 68020 code to build shared libraries, but
8317 # adding the `-m68020' flag to GCC prevents building anything better,
8319 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8324 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8325 # PIC is the default for these OSes.
8328 mingw* | cygwin* | pw32* | os2* | cegcc*)
8329 # This hack is so that the source file can tell whether it is being
8330 # built for inclusion in a dll (and should export symbols for example).
8331 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8332 # (--disable-auto-import) libraries
8333 lt_prog_compiler_pic='-DDLL_EXPORT'
8336 darwin* | rhapsody*)
8337 # PIC is the default on this platform
8338 # Common symbols not allowed in MH_DYLIB files
8339 lt_prog_compiler_pic='-fno-common'
8343 # PIC is the default for Haiku.
8344 # The "-static" flag exists, but is broken.
8345 lt_prog_compiler_static=
8349 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8350 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8351 # sets the default TLS model and affects inlining.
8357 lt_prog_compiler_pic='-fPIC'
8363 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8364 # Instead, we relocate shared libraries at runtime.
8368 # Just because we use GCC doesn't mean we suddenly get shared libraries
8369 # on systems that don't support them.
8370 lt_prog_compiler_can_build_shared=no
8375 # QNX uses GNU C++, but need to define -shared option too, otherwise
8377 lt_prog_compiler_pic='-fPIC -shared'
8381 if test -d /usr/nec; then
8382 lt_prog_compiler_pic=-Kconform_pic
8387 lt_prog_compiler_pic='-fPIC'
8391 case $cc_basename in
8392 nvcc*) # Cuda Compiler Driver 2.2
8393 lt_prog_compiler_wl='-Xlinker '
8394 lt_prog_compiler_pic='-Xcompiler -fPIC'
8398 # PORTME Check for flag to pass linker flags through the system compiler.
8401 lt_prog_compiler_wl='-Wl,'
8402 if test "$host_cpu" = ia64; then
8403 # AIX 5 now supports IA64 processor
8404 lt_prog_compiler_static='-Bstatic'
8406 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8410 mingw* | cygwin* | pw32* | os2* | cegcc*)
8411 # This hack is so that the source file can tell whether it is being
8412 # built for inclusion in a dll (and should export symbols for example).
8413 lt_prog_compiler_pic='-DDLL_EXPORT'
8416 hpux9* | hpux10* | hpux11*)
8417 lt_prog_compiler_wl='-Wl,'
8418 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8425 lt_prog_compiler_pic='+Z'
8428 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8429 lt_prog_compiler_static='${wl}-a ${wl}archive'
8432 irix5* | irix6* | nonstopux*)
8433 lt_prog_compiler_wl='-Wl,'
8434 # PIC (with -KPIC) is the default.
8435 lt_prog_compiler_static='-non_shared'
8438 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8439 case $cc_basename in
8440 # old Intel for x86_64 which still supported -KPIC.
8442 lt_prog_compiler_wl='-Wl,'
8443 lt_prog_compiler_pic='-KPIC'
8444 lt_prog_compiler_static='-static'
8446 # icc used to be incompatible with GCC.
8447 # ICC 10 doesn't accept -KPIC any more.
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-fPIC'
8451 lt_prog_compiler_static='-static'
8453 # Lahey Fortran 8.1.
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='--shared'
8457 lt_prog_compiler_static='--static'
8460 # NAG Fortran compiler
8461 lt_prog_compiler_wl='-Wl,-Wl,,'
8462 lt_prog_compiler_pic='-PIC'
8463 lt_prog_compiler_static='-Bstatic'
8465 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8466 # Portland Group compilers (*not* the Pentium gcc compiler,
8467 # which looks to be a dead project)
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_pic='-fpic'
8470 lt_prog_compiler_static='-Bstatic'
8473 lt_prog_compiler_wl='-Wl,'
8474 # All Alpha code is PIC.
8475 lt_prog_compiler_static='-non_shared'
8477 xl* | bgxl* | bgf* | mpixl*)
8478 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_pic='-qpic'
8481 lt_prog_compiler_static='-qstaticlink'
8484 case `$CC -V 2>&1 | sed 5q` in
8485 *Sun\ F* | *Sun*Fortran*)
8486 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8487 lt_prog_compiler_pic='-KPIC'
8488 lt_prog_compiler_static='-Bstatic'
8489 lt_prog_compiler_wl=''
8493 lt_prog_compiler_pic='-KPIC'
8494 lt_prog_compiler_static='-Bstatic'
8495 lt_prog_compiler_wl='-Wl,'
8503 lt_prog_compiler_pic='-KPIC'
8504 lt_prog_compiler_static='-Bstatic'
8508 # QNX uses GNU C++, but need to define -shared option too, otherwise
8510 lt_prog_compiler_pic='-fPIC -shared'
8513 osf3* | osf4* | osf5*)
8514 lt_prog_compiler_wl='-Wl,'
8515 # All OSF/1 code is PIC.
8516 lt_prog_compiler_static='-non_shared'
8520 lt_prog_compiler_static='-non_shared'
8524 lt_prog_compiler_pic='-KPIC'
8525 lt_prog_compiler_static='-Bstatic'
8526 case $cc_basename in
8527 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8528 lt_prog_compiler_wl='-Qoption ld ';;
8530 lt_prog_compiler_wl='-Wl,';;
8535 lt_prog_compiler_wl='-Qoption ld '
8536 lt_prog_compiler_pic='-PIC'
8537 lt_prog_compiler_static='-Bstatic'
8540 sysv4 | sysv4.2uw2* | sysv4.3*)
8541 lt_prog_compiler_wl='-Wl,'
8542 lt_prog_compiler_pic='-KPIC'
8543 lt_prog_compiler_static='-Bstatic'
8547 if test -d /usr/nec ;then
8548 lt_prog_compiler_pic='-Kconform_pic'
8549 lt_prog_compiler_static='-Bstatic'
8553 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8554 lt_prog_compiler_wl='-Wl,'
8555 lt_prog_compiler_pic='-KPIC'
8556 lt_prog_compiler_static='-Bstatic'
8560 lt_prog_compiler_wl='-Wl,'
8561 lt_prog_compiler_can_build_shared=no
8565 lt_prog_compiler_pic='-pic'
8566 lt_prog_compiler_static='-Bstatic'
8570 lt_prog_compiler_can_build_shared=no
8576 # For platforms which do not support PIC, -DPIC is meaningless:
8578 lt_prog_compiler_pic=
8581 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8586 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8587 if ${lt_cv_prog_compiler_pic+:} false; then :
8588 $as_echo_n "(cached) " >&6
8590 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8593 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8594 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8597 # Check to make sure the PIC flag actually works.
8599 if test -n "$lt_prog_compiler_pic"; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8601 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8602 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8603 $as_echo_n "(cached) " >&6
8605 lt_cv_prog_compiler_pic_works=no
8606 ac_outfile=conftest.$ac_objext
8607 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8608 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8609 # Insert the option either (1) after the last *FLAGS variable, or
8610 # (2) before a word containing "conftest.", or (3) at the end.
8611 # Note that $ac_compile itself does not contain backslashes and begins
8612 # with a dollar sign (not a hyphen), so the echo should work correctly.
8613 # The option is referenced via a variable to avoid confusing sed.
8614 lt_compile=`echo "$ac_compile" | $SED \
8615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8617 -e 's:$: $lt_compiler_flag:'`
8618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8619 (eval "$lt_compile" 2>conftest.err)
8621 cat conftest.err >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 if (exit $ac_status) && test -s "$ac_outfile"; then
8624 # The compiler can only warn and ignore the option if not recognized
8625 # So say no if there are warnings other than the usual output.
8626 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8627 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8628 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8629 lt_cv_prog_compiler_pic_works=yes
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8636 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8638 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8639 case $lt_prog_compiler_pic in
8641 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8644 lt_prog_compiler_pic=
8645 lt_prog_compiler_can_build_shared=no
8661 # Check to make sure the static flag actually works.
8663 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8665 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8666 if ${lt_cv_prog_compiler_static_works+:} false; then :
8667 $as_echo_n "(cached) " >&6
8669 lt_cv_prog_compiler_static_works=no
8670 save_LDFLAGS="$LDFLAGS"
8671 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8672 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8673 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8674 # The linker can only warn and ignore the option if not recognized
8675 # So say no if there are warnings
8676 if test -s conftest.err; then
8677 # Append any errors to the config.log.
8678 cat conftest.err 1>&5
8679 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8680 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8681 if diff conftest.exp conftest.er2 >/dev/null; then
8682 lt_cv_prog_compiler_static_works=yes
8685 lt_cv_prog_compiler_static_works=yes
8689 LDFLAGS="$save_LDFLAGS"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8693 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8695 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8698 lt_prog_compiler_static=
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8708 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8709 if ${lt_cv_prog_compiler_c_o+:} false; then :
8710 $as_echo_n "(cached) " >&6
8712 lt_cv_prog_compiler_c_o=no
8713 $RM -r conftest 2>/dev/null
8717 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8719 lt_compiler_flag="-o out/conftest2.$ac_objext"
8720 # Insert the option either (1) after the last *FLAGS variable, or
8721 # (2) before a word containing "conftest.", or (3) at the end.
8722 # Note that $ac_compile itself does not contain backslashes and begins
8723 # with a dollar sign (not a hyphen), so the echo should work correctly.
8724 lt_compile=`echo "$ac_compile" | $SED \
8725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8727 -e 's:$: $lt_compiler_flag:'`
8728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8729 (eval "$lt_compile" 2>out/conftest.err)
8731 cat out/conftest.err >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8735 # The compiler can only warn and ignore the option if not recognized
8736 # So say no if there are warnings
8737 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8738 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8739 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8740 lt_cv_prog_compiler_c_o=yes
8745 # SGI C++ compiler will create directory out/ii_files/ for
8746 # template instantiation
8747 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8748 $RM out/* && rmdir out
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8755 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8764 if ${lt_cv_prog_compiler_c_o+:} false; then :
8765 $as_echo_n "(cached) " >&6
8767 lt_cv_prog_compiler_c_o=no
8768 $RM -r conftest 2>/dev/null
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8774 lt_compiler_flag="-o out/conftest2.$ac_objext"
8775 # Insert the option either (1) after the last *FLAGS variable, or
8776 # (2) before a word containing "conftest.", or (3) at the end.
8777 # Note that $ac_compile itself does not contain backslashes and begins
8778 # with a dollar sign (not a hyphen), so the echo should work correctly.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>out/conftest.err)
8786 cat out/conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8790 # The compiler can only warn and ignore the option if not recognized
8791 # So say no if there are warnings
8792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8793 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8794 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8795 lt_cv_prog_compiler_c_o=yes
8800 # SGI C++ compiler will create directory out/ii_files/ for
8801 # template instantiation
8802 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8803 $RM out/* && rmdir out
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8810 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8815 hard_links="nottested"
8816 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8817 # do not overwrite the value of need_locks provided by the user
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8819 $as_echo_n "checking if we can lock with hard links... " >&6; }
8822 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8824 ln conftest.a conftest.b 2>&5 || hard_links=no
8825 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8827 $as_echo "$hard_links" >&6; }
8828 if test "$hard_links" = no; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8830 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8846 allow_undefined_flag=
8847 always_export_symbols=no
8849 archive_expsym_cmds=
8850 compiler_needs_object=no
8851 enable_shared_with_static_runtimes=no
8852 export_dynamic_flag_spec=
8853 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8854 hardcode_automatic=no
8856 hardcode_direct_absolute=no
8857 hardcode_libdir_flag_spec=
8858 hardcode_libdir_flag_spec_ld=
8859 hardcode_libdir_separator=
8861 hardcode_shlibpath_var=unsupported
8863 link_all_deplibs=unknown
8866 old_archive_from_new_cmds=
8867 old_archive_from_expsyms_cmds=
8868 thread_safe_flag_spec=
8869 whole_archive_flag_spec=
8870 # include_expsyms should be a list of space-separated symbols to be *always*
8871 # included in the symbol list
8873 # exclude_expsyms can be an extended regexp of symbols to exclude
8874 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8875 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8876 # as well as any symbol that contains `d'.
8877 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8878 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8879 # platforms (ab)use it in PIC code, but their linkers get confused if
8880 # the symbol is explicitly referenced. Since portable code cannot
8881 # rely on this symbol name, it's probably fine to never include it in
8882 # preloaded symbol tables.
8883 # Exclude shared library initialization/finalization symbols.
8884 extract_expsyms_cmds=
8887 cygwin* | mingw* | pw32* | cegcc*)
8888 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8889 # When not using gcc, we currently assume that we are using
8890 # Microsoft Visual C++.
8891 if test "$GCC" != yes; then
8896 # we just hope/assume this is gcc and not c89 (= MSVC++)
8906 # On some targets, GNU ld is compatible enough with the native linker
8907 # that we're better off using the native interface for both.
8908 lt_use_gnu_ld_interface=no
8909 if test "$with_gnu_ld" = yes; then
8912 # The AIX port of GNU ld has always aspired to compatibility
8913 # with the native linker. However, as the warning in the GNU ld
8914 # block says, versions before 2.19.5* couldn't really create working
8915 # shared libraries, regardless of the interface used.
8916 case `$LD -v 2>&1` in
8917 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8918 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8919 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8921 lt_use_gnu_ld_interface=yes
8926 lt_use_gnu_ld_interface=yes
8931 if test "$lt_use_gnu_ld_interface" = yes; then
8932 # If archive_cmds runs LD, not CC, wlarc should be empty
8935 # Set some defaults for GNU ld with shared library support. These
8936 # are reset later if shared libraries are not supported. Putting them
8937 # here allows them to be overridden if necessary.
8938 runpath_var=LD_RUN_PATH
8939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8940 export_dynamic_flag_spec='${wl}--export-dynamic'
8941 # ancient GNU ld didn't support --whole-archive et. al.
8942 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8943 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8945 whole_archive_flag_spec=
8947 supports_anon_versioning=no
8948 case `$LD -v 2>&1` in
8949 *GNU\ gold*) supports_anon_versioning=yes ;;
8950 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8951 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8952 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8953 *\ 2.11.*) ;; # other 2.11 versions
8954 *) supports_anon_versioning=yes ;;
8957 # See if GNU ld supports shared libraries.
8960 # On AIX/PPC, the GNU linker is very broken
8961 if test "$host_cpu" != ia64; then
8965 *** Warning: the GNU linker, at least up to release 2.19, is reported
8966 *** to be unable to reliably create shared libraries on AIX.
8967 *** Therefore, libtool is disabling shared libraries support. If you
8968 *** really care for shared libraries, you may want to install binutils
8969 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8970 *** You will then need to restart the configuration process.
8979 # see comment about AmigaOS4 .so support
8980 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981 archive_expsym_cmds=''
8984 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)'
8985 hardcode_libdir_flag_spec='-L$libdir'
8986 hardcode_minus_L=yes
8992 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8993 allow_undefined_flag=unsupported
8994 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8995 # support --undefined. This deserves some investigation. FIXME
8996 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9002 cygwin* | mingw* | pw32* | cegcc*)
9003 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9004 # as there is no search path for DLLs.
9005 hardcode_libdir_flag_spec='-L$libdir'
9006 export_dynamic_flag_spec='${wl}--export-all-symbols'
9007 allow_undefined_flag=unsupported
9008 always_export_symbols=no
9009 enable_shared_with_static_runtimes=yes
9010 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'
9011 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9013 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9014 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9015 # If the export-symbols file already is a .def file (1st line
9016 # is EXPORTS), use it as is; otherwise, prepend...
9017 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9018 cp $export_symbols $output_objdir/$soname.def;
9020 echo EXPORTS > $output_objdir/$soname.def;
9021 cat $export_symbols >> $output_objdir/$soname.def;
9023 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9030 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9031 link_all_deplibs=yes
9036 hardcode_shlibpath_var=no
9037 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9038 export_dynamic_flag_spec='${wl}-E'
9039 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9040 # Instead, shared libraries are loaded at an image base (0x10000000 by
9041 # default) and relocated if they conflict, which is a slow very memory
9042 # consuming and fragmenting process. To avoid this, we pick a random,
9043 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9044 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9045 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9046 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'
9049 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9051 if test "$host_os" = linux-dietlibc; then
9052 case $cc_basename in
9053 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9056 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9057 && test "$tmp_diet" = no
9059 tmp_addflag=' $pic_flag'
9060 tmp_sharedflag='-shared'
9061 case $cc_basename,$host_cpu in
9062 pgcc*) # Portland Group C compiler
9063 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'
9064 tmp_addflag=' $pic_flag'
9066 pgf77* | pgf90* | pgf95* | pgfortran*)
9067 # Portland Group f77 and f90 compilers
9068 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'
9069 tmp_addflag=' $pic_flag -Mnomain' ;;
9070 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9071 tmp_addflag=' -i_dynamic' ;;
9072 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9073 tmp_addflag=' -i_dynamic -nofor_main' ;;
9074 ifc* | ifort*) # Intel Fortran compiler
9075 tmp_addflag=' -nofor_main' ;;
9076 lf95*) # Lahey Fortran 8.1
9077 whole_archive_flag_spec=
9078 tmp_sharedflag='--shared' ;;
9079 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9080 tmp_sharedflag='-qmkshrobj'
9082 nvcc*) # Cuda Compiler Driver 2.2
9083 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'
9084 compiler_needs_object=yes
9087 case `$CC -V 2>&1 | sed 5q` in
9088 *Sun\ C*) # Sun C 5.9
9089 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'
9090 compiler_needs_object=yes
9091 tmp_sharedflag='-G' ;;
9092 *Sun\ F*) # Sun Fortran 8.3
9093 tmp_sharedflag='-G' ;;
9095 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9097 if test "x$supports_anon_versioning" = xyes; then
9098 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9099 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9100 echo "local: *; };" >> $output_objdir/$libname.ver~
9101 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9104 case $cc_basename in
9105 xlf* | bgf* | bgxlf* | mpixlf*)
9106 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9107 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9108 hardcode_libdir_flag_spec=
9109 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9110 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9111 if test "x$supports_anon_versioning" = xyes; then
9112 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9113 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9114 echo "local: *; };" >> $output_objdir/$libname.ver~
9115 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9125 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9126 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9129 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9135 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9139 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9140 *** create shared libraries on Solaris systems. Therefore, libtool
9141 *** is disabling shared libraries support. We urge you to upgrade GNU
9142 *** binutils to release 2.9.1 or newer. Another option is to modify
9143 *** your PATH or compiler configuration so that the native linker is
9144 *** used, and then restart.
9147 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9148 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9156 case `$LD -v 2>&1` in
9157 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9161 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9162 *** reliably create shared libraries on SCO systems. Therefore, libtool
9163 *** is disabling shared libraries support. We urge you to upgrade GNU
9164 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9165 *** your PATH or compiler configuration so that the native linker is
9166 *** used, and then restart.
9171 # For security reasons, it is highly recommended that you always
9172 # use absolute paths for naming shared libraries, and exclude the
9173 # DT_RUNPATH tag from executables and libraries. But doing so
9174 # requires that you compile everything twice, which is a pain.
9175 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9187 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9190 hardcode_shlibpath_var=no
9194 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9195 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9203 if test "$ld_shlibs" = no; then
9205 hardcode_libdir_flag_spec=
9206 export_dynamic_flag_spec=
9207 whole_archive_flag_spec=
9210 # PORTME fill in a description of your system's linker (not GNU ld)
9213 allow_undefined_flag=unsupported
9214 always_export_symbols=yes
9215 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'
9216 # Note: this linker hardcodes the directories in LIBPATH if there
9217 # are no directories specified by -L.
9218 hardcode_minus_L=yes
9219 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9220 # Neither direct hardcoding nor static linking is supported with a
9222 hardcode_direct=unsupported
9227 if test "$host_cpu" = ia64; then
9228 # On IA64, the linker does run time linking by default, so we don't
9229 # have to do anything special.
9230 aix_use_runtimelinking=no
9231 exp_sym_flag='-Bexport'
9234 # If we're using GNU nm, then we don't want the "-C" option.
9235 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9236 # Also, AIX nm treats weak defined symbols like other global
9237 # defined symbols, whereas GNU nm marks them as "W".
9238 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9239 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'
9241 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'
9243 aix_use_runtimelinking=no
9245 # Test if we are trying to use run time linking or normal
9246 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9247 # need to do runtime linking.
9248 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9249 for ld_flag in $LDFLAGS; do
9250 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9251 aix_use_runtimelinking=yes
9258 exp_sym_flag='-bexport'
9259 no_entry_flag='-bnoentry'
9262 # When large executables or shared objects are built, AIX ld can
9263 # have problems creating the table of contents. If linking a library
9264 # or program results in "error TOC overflow" add -mminimal-toc to
9265 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9266 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9270 hardcode_direct_absolute=yes
9271 hardcode_libdir_separator=':'
9272 link_all_deplibs=yes
9273 file_list_spec='${wl}-f,'
9275 if test "$GCC" = yes; then
9276 case $host_os in aix4.[012]|aix4.[012].*)
9277 # We only want to do this on AIX 4.2 and lower, the check
9278 # below for broken collect2 doesn't work under 4.3+
9279 collect2name=`${CC} -print-prog-name=collect2`
9280 if test -f "$collect2name" &&
9281 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9283 # We have reworked collect2
9286 # We have old collect2
9287 hardcode_direct=unsupported
9288 # It fails to find uninstalled libraries when the uninstalled
9289 # path is not listed in the libpath. Setting hardcode_minus_L
9290 # to unsupported forces relinking
9291 hardcode_minus_L=yes
9292 hardcode_libdir_flag_spec='-L$libdir'
9293 hardcode_libdir_separator=
9297 shared_flag='-shared'
9298 if test "$aix_use_runtimelinking" = yes; then
9299 shared_flag="$shared_flag "'${wl}-G'
9303 if test "$host_cpu" = ia64; then
9304 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9305 # chokes on -Wl,-G. The following line is correct:
9308 if test "$aix_use_runtimelinking" = yes; then
9309 shared_flag='${wl}-G'
9311 shared_flag='${wl}-bM:SRE'
9316 export_dynamic_flag_spec='${wl}-bexpall'
9317 # It seems that -bexpall does not export symbols beginning with
9318 # underscore (_), so it is better to generate a list of symbols to export.
9319 always_export_symbols=yes
9320 if test "$aix_use_runtimelinking" = yes; then
9321 # Warning - without using the other runtime loading flags (-brtl),
9322 # -berok will link without error, but may produce a broken library.
9323 allow_undefined_flag='-berok'
9324 # Determine the default libpath from the value encoded in an
9326 if test "${lt_cv_aix_libpath+set}" = set; then
9327 aix_libpath=$lt_cv_aix_libpath
9329 if ${lt_cv_aix_libpath_+:} false; then :
9330 $as_echo_n "(cached) " >&6
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9343 if ac_fn_c_try_link "$LINENO"; then :
9345 lt_aix_libpath_sed='
9346 /Import File Strings/,/^$/ {
9348 s/^0 *\([^ ]*\) *$/\1/
9352 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9353 # Check for a 64-bit object if we didn't find anything.
9354 if test -z "$lt_cv_aix_libpath_"; then
9355 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 if test -z "$lt_cv_aix_libpath_"; then
9361 lt_cv_aix_libpath_="/usr/lib:/lib"
9366 aix_libpath=$lt_cv_aix_libpath_
9369 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9370 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"
9372 if test "$host_cpu" = ia64; then
9373 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9374 allow_undefined_flag="-z nodefs"
9375 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"
9377 # Determine the default libpath from the value encoded in an
9379 if test "${lt_cv_aix_libpath+set}" = set; then
9380 aix_libpath=$lt_cv_aix_libpath
9382 if ${lt_cv_aix_libpath_+:} false; then :
9383 $as_echo_n "(cached) " >&6
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9396 if ac_fn_c_try_link "$LINENO"; then :
9398 lt_aix_libpath_sed='
9399 /Import File Strings/,/^$/ {
9401 s/^0 *\([^ ]*\) *$/\1/
9405 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9406 # Check for a 64-bit object if we didn't find anything.
9407 if test -z "$lt_cv_aix_libpath_"; then
9408 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 if test -z "$lt_cv_aix_libpath_"; then
9414 lt_cv_aix_libpath_="/usr/lib:/lib"
9419 aix_libpath=$lt_cv_aix_libpath_
9422 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9423 # Warning - without using the other run time loading flags,
9424 # -berok will link without error, but may produce a broken library.
9425 no_undefined_flag=' ${wl}-bernotok'
9426 allow_undefined_flag=' ${wl}-berok'
9427 if test "$with_gnu_ld" = yes; then
9428 # We only use this code for GNU lds that support --whole-archive.
9429 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9431 # Exported symbols can be pulled into shared objects from archives
9432 whole_archive_flag_spec='$convenience'
9434 archive_cmds_need_lc=yes
9435 # This is similar to how AIX traditionally builds its shared libraries.
9436 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'
9444 # see comment about AmigaOS4 .so support
9445 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446 archive_expsym_cmds=''
9449 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)'
9450 hardcode_libdir_flag_spec='-L$libdir'
9451 hardcode_minus_L=yes
9457 export_dynamic_flag_spec=-rdynamic
9460 cygwin* | mingw* | pw32* | cegcc*)
9461 # When not using gcc, we currently assume that we are using
9462 # Microsoft Visual C++.
9463 # hardcode_libdir_flag_spec is actually meaningless, as there is
9464 # no search path for DLLs.
9465 case $cc_basename in
9468 hardcode_libdir_flag_spec=' '
9469 allow_undefined_flag=unsupported
9470 always_export_symbols=yes
9472 # Tell ltmain to make .lib files, not .a files.
9474 # Tell ltmain to make .dll files, not .so files.
9476 # FIXME: Setting linknames here is a bad hack.
9477 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9478 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9479 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9481 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9483 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9485 # The linker will not automatically build a static lib if we build a DLL.
9486 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9487 enable_shared_with_static_runtimes=yes
9488 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9490 old_postinstall_cmds='chmod 644 $oldlib'
9491 postlink_cmds='lt_outputfile="@OUTPUT@"~
9492 lt_tool_outputfile="@TOOL_OUTPUT@"~
9493 case $lt_outputfile in
9496 lt_outputfile="$lt_outputfile.exe"
9497 lt_tool_outputfile="$lt_tool_outputfile.exe"
9500 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9501 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9502 $RM "$lt_outputfile.manifest";
9506 # Assume MSVC wrapper
9507 hardcode_libdir_flag_spec=' '
9508 allow_undefined_flag=unsupported
9509 # Tell ltmain to make .lib files, not .a files.
9511 # Tell ltmain to make .dll files, not .so files.
9513 # FIXME: Setting linknames here is a bad hack.
9514 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9515 # The linker will automatically build a .lib file if we build a DLL.
9516 old_archive_from_new_cmds='true'
9517 # FIXME: Should let the user specify the lib program.
9518 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9519 enable_shared_with_static_runtimes=yes
9524 darwin* | rhapsody*)
9527 archive_cmds_need_lc=no
9529 hardcode_automatic=yes
9530 hardcode_shlibpath_var=unsupported
9531 if test "$lt_cv_ld_force_load" = "yes"; then
9532 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\"`'
9534 whole_archive_flag_spec=''
9536 link_all_deplibs=yes
9537 allow_undefined_flag="$_lt_dar_allow_undefined"
9538 case $cc_basename in
9539 ifort*) _lt_dar_can_shared=yes ;;
9540 *) _lt_dar_can_shared=$GCC ;;
9542 if test "$_lt_dar_can_shared" = "yes"; then
9543 output_verbose_link_cmd=func_echo_all
9544 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9545 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9546 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}"
9547 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}"
9556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557 hardcode_libdir_flag_spec='-L$libdir'
9558 hardcode_shlibpath_var=no
9565 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9566 # support. Future versions do this automatically, but an explicit c++rt0.o
9567 # does not break anything, and helps significantly (at the cost of a little
9570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9571 hardcode_libdir_flag_spec='-R$libdir'
9573 hardcode_shlibpath_var=no
9576 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9578 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9580 hardcode_minus_L=yes
9581 hardcode_shlibpath_var=no
9584 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9585 freebsd* | dragonfly*)
9586 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9587 hardcode_libdir_flag_spec='-R$libdir'
9589 hardcode_shlibpath_var=no
9593 if test "$GCC" = yes; then
9594 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'
9596 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'
9598 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9599 hardcode_libdir_separator=:
9602 # hardcode_minus_L: Not really in the search PATH,
9603 # but as the default location of the library.
9604 hardcode_minus_L=yes
9605 export_dynamic_flag_spec='${wl}-E'
9609 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9610 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9612 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9614 if test "$with_gnu_ld" = no; then
9615 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9616 hardcode_libdir_flag_spec_ld='+b $libdir'
9617 hardcode_libdir_separator=:
9619 hardcode_direct_absolute=yes
9620 export_dynamic_flag_spec='${wl}-E'
9621 # hardcode_minus_L: Not really in the search PATH,
9622 # but as the default location of the library.
9623 hardcode_minus_L=yes
9628 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9631 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9650 # Older versions of the 11.00 compiler do not understand -b yet
9651 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9653 $as_echo_n "checking if $CC understands -b... " >&6; }
9654 if ${lt_cv_prog_compiler__b+:} false; then :
9655 $as_echo_n "(cached) " >&6
9657 lt_cv_prog_compiler__b=no
9658 save_LDFLAGS="$LDFLAGS"
9659 LDFLAGS="$LDFLAGS -b"
9660 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9661 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9662 # The linker can only warn and ignore the option if not recognized
9663 # So say no if there are warnings
9664 if test -s conftest.err; then
9665 # Append any errors to the config.log.
9666 cat conftest.err 1>&5
9667 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9668 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9669 if diff conftest.exp conftest.er2 >/dev/null; then
9670 lt_cv_prog_compiler__b=yes
9673 lt_cv_prog_compiler__b=yes
9677 LDFLAGS="$save_LDFLAGS"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9681 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9683 if test x"$lt_cv_prog_compiler__b" = xyes; then
9684 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9692 if test "$with_gnu_ld" = no; then
9693 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9694 hardcode_libdir_separator=:
9699 hardcode_shlibpath_var=no
9703 hardcode_direct_absolute=yes
9704 export_dynamic_flag_spec='${wl}-E'
9706 # hardcode_minus_L: Not really in the search PATH,
9707 # but as the default location of the library.
9708 hardcode_minus_L=yes
9714 irix5* | irix6* | nonstopux*)
9715 if test "$GCC" = yes; then
9716 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'
9717 # Try to use the -exported_symbol ld option, if it does not
9718 # work, assume that -exports_file does not work either and
9719 # implicitly export all symbols.
9720 # This should be the same for all languages, so no per-tag cache variable.
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9722 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9723 if ${lt_cv_irix_exported_symbol+:} false; then :
9724 $as_echo_n "(cached) " >&6
9726 save_LDFLAGS="$LDFLAGS"
9727 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9730 int foo (void) { return 0; }
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 lt_cv_irix_exported_symbol=yes
9735 lt_cv_irix_exported_symbol=no
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LDFLAGS="$save_LDFLAGS"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9742 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9743 if test "$lt_cv_irix_exported_symbol" = yes; then
9744 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'
9747 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'
9748 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'
9750 archive_cmds_need_lc='no'
9751 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9752 hardcode_libdir_separator=:
9754 link_all_deplibs=yes
9758 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9759 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9761 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9763 hardcode_libdir_flag_spec='-R$libdir'
9765 hardcode_shlibpath_var=no
9769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9771 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9772 hardcode_libdir_separator=:
9773 hardcode_shlibpath_var=no
9780 if test -f /usr/libexec/ld.so; then
9782 hardcode_shlibpath_var=no
9783 hardcode_direct_absolute=yes
9784 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9785 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9786 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9787 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9788 export_dynamic_flag_spec='${wl}-E'
9791 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9792 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9793 hardcode_libdir_flag_spec='-R$libdir'
9796 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9797 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9807 hardcode_libdir_flag_spec='-L$libdir'
9808 hardcode_minus_L=yes
9809 allow_undefined_flag=unsupported
9810 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'
9811 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9815 if test "$GCC" = yes; then
9816 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9817 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'
9819 allow_undefined_flag=' -expect_unresolved \*'
9820 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'
9822 archive_cmds_need_lc='no'
9823 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9824 hardcode_libdir_separator=:
9827 osf4* | osf5*) # as osf3* with the addition of -msym flag
9828 if test "$GCC" = yes; then
9829 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9830 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'
9831 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9833 allow_undefined_flag=' -expect_unresolved \*'
9834 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'
9835 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~
9836 $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'
9838 # Both c and cxx compiler support -rpath directly
9839 hardcode_libdir_flag_spec='-rpath $libdir'
9841 archive_cmds_need_lc='no'
9842 hardcode_libdir_separator=:
9846 no_undefined_flag=' -z defs'
9847 if test "$GCC" = yes; then
9849 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9850 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9851 $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'
9853 case `$CC -V 2>&1` in
9856 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9858 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9862 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9863 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9864 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9868 hardcode_libdir_flag_spec='-R$libdir'
9869 hardcode_shlibpath_var=no
9871 solaris2.[0-5] | solaris2.[0-5].*) ;;
9873 # The compiler driver will combine and reorder linker options,
9874 # but understands `-z linker_flag'. GCC discards it without `$wl',
9875 # but is careful enough not to reorder.
9876 # Supported since Solaris 2.6 (maybe 2.5.1?)
9877 if test "$GCC" = yes; then
9878 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9880 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9884 link_all_deplibs=yes
9888 if test "x$host_vendor" = xsequent; then
9889 # Use $CC to link under sequent, because it throws in some extra .o
9890 # files that make .init and .fini sections work.
9891 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9895 hardcode_libdir_flag_spec='-L$libdir'
9897 hardcode_minus_L=yes
9898 hardcode_shlibpath_var=no
9902 case $host_vendor in
9904 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9905 hardcode_direct=yes # is this really true???
9908 ## LD is ld it makes a PLAMLIB
9909 ## CC just makes a GrossModule.
9910 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9911 reload_cmds='$CC -r -o $output$reload_objs'
9915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9919 runpath_var='LD_RUN_PATH'
9920 hardcode_shlibpath_var=no
9924 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925 hardcode_shlibpath_var=no
9926 export_dynamic_flag_spec='-Bexport'
9930 if test -d /usr/nec; then
9931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9932 hardcode_shlibpath_var=no
9933 runpath_var=LD_RUN_PATH
9934 hardcode_runpath_var=yes
9939 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9940 no_undefined_flag='${wl}-z,text'
9941 archive_cmds_need_lc=no
9942 hardcode_shlibpath_var=no
9943 runpath_var='LD_RUN_PATH'
9945 if test "$GCC" = yes; then
9946 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9954 sysv5* | sco3.2v5* | sco5v6*)
9955 # Note: We can NOT use -z defs as we might desire, because we do not
9956 # link with -lc, and that would cause any symbols used from libc to
9957 # always be unresolved, which means just about no library would
9958 # ever link correctly. If we're not using GNU ld we use -z text
9959 # though, which does catch some bad symbols but isn't as heavy-handed
9961 no_undefined_flag='${wl}-z,text'
9962 allow_undefined_flag='${wl}-z,nodefs'
9963 archive_cmds_need_lc=no
9964 hardcode_shlibpath_var=no
9965 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9966 hardcode_libdir_separator=':'
9967 link_all_deplibs=yes
9968 export_dynamic_flag_spec='${wl}-Bexport'
9969 runpath_var='LD_RUN_PATH'
9971 if test "$GCC" = yes; then
9972 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_shlibpath_var=no
9991 if test x$host_vendor = xsni; then
9993 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9994 export_dynamic_flag_spec='${wl}-Blargedynsym'
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10001 $as_echo "$ld_shlibs" >&6; }
10002 test "$ld_shlibs" = no && can_build_shared=no
10004 with_gnu_ld=$with_gnu_ld
10021 # Do we need to explicitly link libc?
10023 case "x$archive_cmds_need_lc" in
10025 # Assume -lc should be added
10026 archive_cmds_need_lc=yes
10028 if test "$enable_shared" = yes && test "$GCC" = yes; then
10029 case $archive_cmds in
10031 # FIXME: we may have to deal with multi-command sequences.
10034 # Test whether the compiler implicitly links with -lc since on some
10035 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10036 # to ld, don't add -lc before -lgcc.
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10038 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10039 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10040 $as_echo_n "(cached) " >&6
10043 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10046 (eval $ac_compile) 2>&5
10048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10049 test $ac_status = 0; } 2>conftest.err; then
10052 libobjs=conftest.$ac_objext
10054 wl=$lt_prog_compiler_wl
10055 pic_flag=$lt_prog_compiler_pic
10061 lt_save_allow_undefined_flag=$allow_undefined_flag
10062 allow_undefined_flag=
10063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10064 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10067 test $ac_status = 0; }
10069 lt_cv_archive_cmds_need_lc=no
10071 lt_cv_archive_cmds_need_lc=yes
10073 allow_undefined_flag=$lt_save_allow_undefined_flag
10075 cat conftest.err 1>&5
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10081 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10082 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10246 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10248 if test "$GCC" = yes; then
10250 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10251 *) lt_awk_arg="/^libraries:/" ;;
10254 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10255 *) lt_sed_strip_eq="s,=/,/,g" ;;
10257 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10258 case $lt_search_path_spec in
10260 # if the path contains ";" then we assume it to be the separator
10261 # otherwise default to the standard path separator (i.e. ":") - it is
10262 # assumed that no part of a normal pathname contains ";" but that should
10263 # okay in the real world where ";" in dirpaths is itself problematic.
10264 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10267 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10270 # Ok, now we have the path, separated by spaces, we can step through it
10271 # and add multilib dir if necessary.
10272 lt_tmp_lt_search_path_spec=
10273 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10274 for lt_sys_path in $lt_search_path_spec; do
10275 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10276 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10278 test -d "$lt_sys_path" && \
10279 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10282 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10283 BEGIN {RS=" "; FS="/|\n";} {
10286 for (lt_i = NF; lt_i > 0; lt_i--) {
10287 if ($lt_i != "" && $lt_i != ".") {
10288 if ($lt_i == "..") {
10291 if (lt_count == 0) {
10292 lt_foo="/" $lt_i lt_foo;
10299 if (lt_foo != "") { lt_freq[lt_foo]++; }
10300 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10302 # AWK program above erroneously prepends '/' to C:/dos/paths
10305 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10306 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10308 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10310 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10312 library_names_spec=
10313 libname_spec='lib$name'
10317 postuninstall_cmds=
10321 shlibpath_overrides_runpath=unknown
10323 dynamic_linker="$host_os ld.so"
10324 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10325 need_lib_prefix=unknown
10326 hardcode_into_libs=no
10328 # when you set need_version to no, make sure it does not cause -set_version
10329 # flags to be left without arguments
10330 need_version=unknown
10335 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10336 shlibpath_var=LIBPATH
10338 # AIX 3 has no versioning support, so we append a major version to the name.
10339 soname_spec='${libname}${release}${shared_ext}$major'
10346 hardcode_into_libs=yes
10347 if test "$host_cpu" = ia64; then
10348 # AIX 5 supports IA64
10349 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10350 shlibpath_var=LD_LIBRARY_PATH
10352 # With GCC up to 2.95.x, collect2 would create an import file
10353 # for dependence libraries. The import file would start with
10354 # the line `#! .'. This would cause the generated library to
10355 # depend on `.', always an invalid library. This was fixed in
10356 # development snapshots of GCC prior to 3.0.
10358 aix4 | aix4.[01] | aix4.[01].*)
10359 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10361 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10364 can_build_shared=no
10368 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10369 # soname into executable. Probably we can add versioning support to
10370 # collect2, so additional links can be useful in future.
10371 if test "$aix_use_runtimelinking" = yes; then
10372 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10373 # instead of lib<name>.a to let people know that these are not
10374 # typical AIX shared libraries.
10375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10377 # We preserve .a as extension for shared libraries through AIX4.2
10378 # and later when we are not doing run time linking.
10379 library_names_spec='${libname}${release}.a $libname.a'
10380 soname_spec='${libname}${release}${shared_ext}$major'
10382 shlibpath_var=LIBPATH
10389 # Since July 2007 AmigaOS4 officially supports .so libraries.
10390 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10394 library_names_spec='$libname.ixlibrary $libname.a'
10395 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10396 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'
10402 library_names_spec='${libname}${shared_ext}'
10403 dynamic_linker="$host_os ld.so"
10404 shlibpath_var=LIBRARY_PATH
10410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10411 soname_spec='${libname}${release}${shared_ext}$major'
10412 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10413 shlibpath_var=LD_LIBRARY_PATH
10414 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10415 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10416 # the default ld.so.conf also contains /usr/contrib/lib and
10417 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10418 # libtool to hard-code these into programs
10421 cygwin* | mingw* | pw32* | cegcc*)
10422 version_type=windows
10427 case $GCC,$cc_basename in
10430 library_names_spec='$libname.dll.a'
10431 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10432 postinstall_cmds='base_file=`basename \${file}`~
10433 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10434 dldir=$destdir/`dirname \$dlpath`~
10435 test -d \$dldir || mkdir -p \$dldir~
10436 $install_prog $dir/$dlname \$dldir/$dlname~
10437 chmod a+x \$dldir/$dlname~
10438 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10439 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10441 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10442 dlpath=$dir/\$dldll~
10444 shlibpath_overrides_runpath=yes
10448 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10449 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10451 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10454 # MinGW DLLs use traditional 'lib' prefix
10455 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10458 # pw32 DLLs use 'pw' prefix rather than 'lib'
10459 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10462 dynamic_linker='Win32 ld.exe'
10467 libname_spec='$name'
10468 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10469 library_names_spec='${libname}.dll.lib'
10473 sys_lib_search_path_spec=
10476 for lt_path in $LIB
10479 # Let DOS variable expansion print the short 8.3 style file name.
10480 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10481 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10484 # Convert to MSYS style.
10485 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10488 # Convert to unix form, then to dos form, then back to unix form
10489 # but this time dos style (no spaces!) so that the unix form looks
10490 # like /cygdrive/c/PROGRA~1:/cygdr...
10491 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10492 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10493 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10496 sys_lib_search_path_spec="$LIB"
10497 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10498 # It is most probably a Windows format PATH.
10499 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10501 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10503 # FIXME: find the short name or the path components, as spaces are
10504 # common. (e.g. "Program Files" -> "PROGRA~1")
10508 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10509 postinstall_cmds='base_file=`basename \${file}`~
10510 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10511 dldir=$destdir/`dirname \$dlpath`~
10512 test -d \$dldir || mkdir -p \$dldir~
10513 $install_prog $dir/$dlname \$dldir/$dlname'
10514 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10515 dlpath=$dir/\$dldll~
10517 shlibpath_overrides_runpath=yes
10518 dynamic_linker='Win32 link.exe'
10522 # Assume MSVC wrapper
10523 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10524 dynamic_linker='Win32 ld.exe'
10527 # FIXME: first we should search . and the directory the executable is in
10531 darwin* | rhapsody*)
10532 dynamic_linker="$host_os dyld"
10533 version_type=darwin
10536 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10537 soname_spec='${libname}${release}${major}$shared_ext'
10538 shlibpath_overrides_runpath=yes
10539 shlibpath_var=DYLD_LIBRARY_PATH
10540 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10542 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10543 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10551 soname_spec='${libname}${release}${shared_ext}$major'
10552 shlibpath_var=LD_LIBRARY_PATH
10559 freebsd* | dragonfly*)
10560 # DragonFly does not have aout. When/if they implement a new
10561 # versioning mechanism, adjust this.
10562 if test -x /usr/bin/objformat; then
10563 objformat=`/usr/bin/objformat`
10566 freebsd[123]*) objformat=aout ;;
10567 *) objformat=elf ;;
10570 version_type=freebsd-$objformat
10571 case $version_type in
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10578 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10582 shlibpath_var=LD_LIBRARY_PATH
10585 shlibpath_overrides_runpath=yes
10587 freebsd3.[01]* | freebsdelf3.[01]*)
10588 shlibpath_overrides_runpath=yes
10589 hardcode_into_libs=yes
10591 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10592 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10593 shlibpath_overrides_runpath=no
10594 hardcode_into_libs=yes
10596 *) # from 4.6 on, and DragonFly
10597 shlibpath_overrides_runpath=yes
10598 hardcode_into_libs=yes
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LD_LIBRARY_PATH
10610 hardcode_into_libs=yes
10617 dynamic_linker="$host_os runtime_loader"
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LIBRARY_PATH
10621 shlibpath_overrides_runpath=yes
10622 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10623 hardcode_into_libs=yes
10626 hpux9* | hpux10* | hpux11*)
10627 # Give a soname corresponding to the major version so that dld.sl refuses to
10628 # link against other versions.
10635 hardcode_into_libs=yes
10636 dynamic_linker="$host_os dld.so"
10637 shlibpath_var=LD_LIBRARY_PATH
10638 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 soname_spec='${libname}${release}${shared_ext}$major'
10641 if test "X$HPUX_IA64_MODE" = X32; then
10642 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10644 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10646 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10650 hardcode_into_libs=yes
10651 dynamic_linker="$host_os dld.sl"
10652 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10653 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 soname_spec='${libname}${release}${shared_ext}$major'
10656 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10657 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10661 dynamic_linker="$host_os dld.sl"
10662 shlibpath_var=SHLIB_PATH
10663 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10668 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10669 postinstall_cmds='chmod 555 $lib'
10670 # or fails outright, so override atomically:
10671 install_override_mode=555
10678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10679 soname_spec='${libname}${release}${shared_ext}$major'
10680 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10681 shlibpath_var=LD_LIBRARY_PATH
10682 shlibpath_overrides_runpath=no
10683 hardcode_into_libs=yes
10686 irix5* | irix6* | nonstopux*)
10688 nonstopux*) version_type=nonstopux ;;
10690 if test "$lt_cv_prog_gnu_ld" = yes; then
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10701 irix5* | nonstopux*)
10702 libsuff= shlibsuff=
10705 case $LD in # libtool.m4 will add one of these switches to LD
10706 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10707 libsuff= shlibsuff= libmagic=32-bit;;
10708 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10709 libsuff=32 shlibsuff=N32 libmagic=N32;;
10710 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10711 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10712 *) libsuff= shlibsuff= libmagic=never-match;;
10716 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10717 shlibpath_overrides_runpath=no
10718 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10719 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10720 hardcode_into_libs=yes
10723 # No shared lib support for Linux oldld, aout, or coff.
10724 linux*oldld* | linux*aout* | linux*coff*)
10728 # This must be Linux ELF.
10729 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10739 # Some binutils ld are patched to set DT_RUNPATH
10740 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10741 $as_echo_n "(cached) " >&6
10743 lt_cv_shlibpath_overrides_runpath=no
10744 save_LDFLAGS=$LDFLAGS
10745 save_libdir=$libdir
10746 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10747 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10761 lt_cv_shlibpath_overrides_runpath=yes
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 LDFLAGS=$save_LDFLAGS
10767 libdir=$save_libdir
10771 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10773 # This implies no fast_install, which is unacceptable.
10774 # Some rework will be needed to allow for fast_install
10775 # before this can be enabled.
10776 hardcode_into_libs=yes
10778 # Append ld.so.conf contents to the search path
10779 if test -f /etc/ld.so.conf; then
10780 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' ' '`
10781 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10784 # We used to test for /lib/ld.so.1 and disable shared libraries on
10785 # powerpc, because MkLinux only supported shared libraries with the
10786 # GNU dynamic linker. Since this was broken with cross compilers,
10787 # most powerpc-linux boxes support dynamic linking these days and
10788 # people can always --disable-shared, the test was removed, and we
10789 # assume the GNU/Linux dynamic linker is in use.
10790 dynamic_linker='GNU/Linux ld.so'
10797 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10799 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10800 dynamic_linker='NetBSD (a.out) ld.so'
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 dynamic_linker='NetBSD ld.elf_so'
10806 shlibpath_var=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath=yes
10808 hardcode_into_libs=yes
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 shlibpath_overrides_runpath=yes
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823 soname_spec='${libname}${release}${shared_ext}$major'
10824 shlibpath_var=LD_LIBRARY_PATH
10825 shlibpath_overrides_runpath=no
10826 hardcode_into_libs=yes
10827 dynamic_linker='ldqnx.so'
10832 sys_lib_dlsearch_path_spec="/usr/lib"
10834 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10836 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10837 *) need_version=no ;;
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10840 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10844 openbsd2.[89] | openbsd2.[89].*)
10845 shlibpath_overrides_runpath=no
10848 shlibpath_overrides_runpath=yes
10852 shlibpath_overrides_runpath=yes
10857 libname_spec='$name'
10860 library_names_spec='$libname${shared_ext} $libname.a'
10861 dynamic_linker='OS/2 ld.exe'
10862 shlibpath_var=LIBPATH
10865 osf3* | osf4* | osf5*)
10869 soname_spec='${libname}${release}${shared_ext}$major'
10870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10873 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=yes
10888 hardcode_into_libs=yes
10889 # ldd complains unless libraries are executable
10890 postinstall_cmds='chmod +x $lib'
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10896 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10899 if test "$with_gnu_ld" = yes; then
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 case $host_vendor in
10912 shlibpath_overrides_runpath=no
10914 runpath_var=LD_RUN_PATH
10922 shlibpath_overrides_runpath=no
10923 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10929 if test -d /usr/nec ;then
10931 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10932 soname_spec='$libname${shared_ext}.$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10937 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10938 version_type=freebsd-elf
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 shlibpath_var=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath=yes
10945 hardcode_into_libs=yes
10946 if test "$with_gnu_ld" = yes; then
10947 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10949 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10952 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10956 sys_lib_dlsearch_path_spec='/usr/lib'
10960 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965 shlibpath_var=LD_LIBRARY_PATH
10966 shlibpath_overrides_runpath=no
10967 hardcode_into_libs=yes
10972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973 soname_spec='${libname}${release}${shared_ext}$major'
10974 shlibpath_var=LD_LIBRARY_PATH
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10982 $as_echo "$dynamic_linker" >&6; }
10983 test "$dynamic_linker" = no && can_build_shared=no
10985 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10986 if test "$GCC" = yes; then
10987 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10990 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10991 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10993 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10994 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11089 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11091 if test -n "$hardcode_libdir_flag_spec" ||
11092 test -n "$runpath_var" ||
11093 test "X$hardcode_automatic" = "Xyes" ; then
11095 # We can hardcode non-existent directories.
11096 if test "$hardcode_direct" != no &&
11097 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11098 # have to relink, otherwise we might link with an installed library
11099 # when we should be linking with a yet-to-be-installed one
11100 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11101 test "$hardcode_minus_L" != no; then
11102 # Linking always hardcodes the temporary library directory.
11103 hardcode_action=relink
11105 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11106 hardcode_action=immediate
11109 # We cannot hardcode anything, or else we can only hardcode existing
11111 hardcode_action=unsupported
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11114 $as_echo "$hardcode_action" >&6; }
11116 if test "$hardcode_action" = relink ||
11117 test "$inherit_rpath" = yes; then
11118 # Fast installation is not supported
11119 enable_fast_install=no
11120 elif test "$shlibpath_overrides_runpath" = yes ||
11121 test "$enable_shared" = no; then
11122 # Fast installation is not necessary
11123 enable_fast_install=needless
11131 if test "x$enable_dlopen" != xyes; then
11132 enable_dlopen=unknown
11133 enable_dlopen_self=unknown
11134 enable_dlopen_self_static=unknown
11141 lt_cv_dlopen="load_add_on"
11143 lt_cv_dlopen_self=yes
11146 mingw* | pw32* | cegcc*)
11147 lt_cv_dlopen="LoadLibrary"
11152 lt_cv_dlopen="dlopen"
11157 # if libdl is installed we need to link against it
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11159 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11160 if ${ac_cv_lib_dl_dlopen+:} false; then :
11161 $as_echo_n "(cached) " >&6
11163 ac_check_lib_save_LIBS=$LIBS
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_dl_dlopen=yes
11186 ac_cv_lib_dl_dlopen=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11193 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11194 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11195 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11198 lt_cv_dlopen="dyld"
11200 lt_cv_dlopen_self=yes
11207 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11208 if test "x$ac_cv_func_shl_load" = xyes; then :
11209 lt_cv_dlopen="shl_load"
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11212 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11213 if ${ac_cv_lib_dld_shl_load+:} false; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_lib_save_LIBS=$LIBS
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11231 return shl_load ();
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 ac_cv_lib_dld_shl_load=yes
11239 ac_cv_lib_dld_shl_load=no
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11246 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11247 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11248 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11250 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11251 if test "x$ac_cv_func_dlopen" = xyes; then :
11252 lt_cv_dlopen="dlopen"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if ${ac_cv_lib_dl_dlopen+:} false; then :
11257 $as_echo_n "(cached) " >&6
11259 ac_check_lib_save_LIBS=$LIBS
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11264 /* Override any GCC internal prototype to avoid an error.
11265 Use char because int might match the return type of a GCC
11266 builtin and then its argument prototype would still apply. */
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 ac_cv_lib_dl_dlopen=yes
11282 ac_cv_lib_dl_dlopen=no
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11290 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11291 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11294 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11295 if ${ac_cv_lib_svld_dlopen+:} false; then :
11296 $as_echo_n "(cached) " >&6
11298 ac_check_lib_save_LIBS=$LIBS
11299 LIBS="-lsvld $LIBS"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11303 /* Override any GCC internal prototype to avoid an error.
11304 Use char because int might match the return type of a GCC
11305 builtin and then its argument prototype would still apply. */
11318 if ac_fn_c_try_link "$LINENO"; then :
11319 ac_cv_lib_svld_dlopen=yes
11321 ac_cv_lib_svld_dlopen=no
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11328 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11329 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11330 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11333 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11334 if ${ac_cv_lib_dld_dld_link+:} false; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_lib_save_LIBS=$LIBS
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11352 return dld_link ();
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 ac_cv_lib_dld_dld_link=yes
11360 ac_cv_lib_dld_dld_link=no
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11367 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11368 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11369 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11390 if test "x$lt_cv_dlopen" != xno; then
11396 case $lt_cv_dlopen in
11398 save_CPPFLAGS="$CPPFLAGS"
11399 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11401 save_LDFLAGS="$LDFLAGS"
11402 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11405 LIBS="$lt_cv_dlopen_libs $LIBS"
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11408 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11409 if ${lt_cv_dlopen_self+:} false; then :
11410 $as_echo_n "(cached) " >&6
11412 if test "$cross_compiling" = yes; then :
11413 lt_cv_dlopen_self=cross
11415 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11416 lt_status=$lt_dlunknown
11417 cat > conftest.$ac_ext <<_LT_EOF
11418 #line $LINENO "configure"
11419 #include "confdefs.h"
11428 # define LT_DLGLOBAL RTLD_GLOBAL
11431 # define LT_DLGLOBAL DL_GLOBAL
11433 # define LT_DLGLOBAL 0
11437 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11438 find out it does not work in some platform. */
11439 #ifndef LT_DLLAZY_OR_NOW
11441 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11444 # define LT_DLLAZY_OR_NOW DL_LAZY
11447 # define LT_DLLAZY_OR_NOW RTLD_NOW
11450 # define LT_DLLAZY_OR_NOW DL_NOW
11452 # define LT_DLLAZY_OR_NOW 0
11459 /* When -fvisbility=hidden is used, assume the code has been annotated
11460 correspondingly for the symbols needed. */
11461 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11462 int fnord () __attribute__((visibility("default")));
11465 int fnord () { return 42; }
11468 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11469 int status = $lt_dlunknown;
11473 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11476 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11477 else puts (dlerror ());
11479 /* dlclose (self); */
11487 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11488 (eval $ac_link) 2>&5
11490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11491 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11492 (./conftest; exit; ) >&5 2>/dev/null
11494 case x$lt_status in
11495 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11496 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11497 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11500 # compilation failed
11501 lt_cv_dlopen_self=no
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11509 $as_echo "$lt_cv_dlopen_self" >&6; }
11511 if test "x$lt_cv_dlopen_self" = xyes; then
11512 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11514 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11515 if ${lt_cv_dlopen_self_static+:} false; then :
11516 $as_echo_n "(cached) " >&6
11518 if test "$cross_compiling" = yes; then :
11519 lt_cv_dlopen_self_static=cross
11521 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11522 lt_status=$lt_dlunknown
11523 cat > conftest.$ac_ext <<_LT_EOF
11524 #line $LINENO "configure"
11525 #include "confdefs.h"
11534 # define LT_DLGLOBAL RTLD_GLOBAL
11537 # define LT_DLGLOBAL DL_GLOBAL
11539 # define LT_DLGLOBAL 0
11543 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11544 find out it does not work in some platform. */
11545 #ifndef LT_DLLAZY_OR_NOW
11547 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11550 # define LT_DLLAZY_OR_NOW DL_LAZY
11553 # define LT_DLLAZY_OR_NOW RTLD_NOW
11556 # define LT_DLLAZY_OR_NOW DL_NOW
11558 # define LT_DLLAZY_OR_NOW 0
11565 /* When -fvisbility=hidden is used, assume the code has been annotated
11566 correspondingly for the symbols needed. */
11567 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11568 int fnord () __attribute__((visibility("default")));
11571 int fnord () { return 42; }
11574 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11575 int status = $lt_dlunknown;
11579 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11582 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11583 else puts (dlerror ());
11585 /* dlclose (self); */
11593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11594 (eval $ac_link) 2>&5
11596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11597 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11598 (./conftest; exit; ) >&5 2>/dev/null
11600 case x$lt_status in
11601 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11602 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11603 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11606 # compilation failed
11607 lt_cv_dlopen_self_static=no
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11615 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11618 CPPFLAGS="$save_CPPFLAGS"
11619 LDFLAGS="$save_LDFLAGS"
11624 case $lt_cv_dlopen_self in
11625 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11626 *) enable_dlopen_self=unknown ;;
11629 case $lt_cv_dlopen_self_static in
11630 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11631 *) enable_dlopen_self_static=unknown ;;
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11654 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11655 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11656 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11657 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11659 $as_echo "yes" >&6; }
11661 # FIXME - insert some real tests, host_os isn't really good enough
11664 if test -n "$STRIP" ; then
11665 striplib="$STRIP -x"
11666 old_striplib="$STRIP -S"
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11668 $as_echo "yes" >&6; }
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11671 $as_echo "no" >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11676 $as_echo "no" >&6; }
11692 # Report which library types will actually be built
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11694 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11696 $as_echo "$can_build_shared" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11699 $as_echo_n "checking whether to build shared libraries... " >&6; }
11700 test "$can_build_shared" = "no" && enable_shared=no
11702 # On AIX, shared libraries and static libraries use the same namespace, and
11703 # are all built from PIC.
11706 test "$enable_shared" = yes && enable_static=no
11707 if test -n "$RANLIB"; then
11708 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11709 postinstall_cmds='$RANLIB $lib'
11714 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11715 test "$enable_shared" = yes && enable_static=no
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11720 $as_echo "$enable_shared" >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11723 $as_echo_n "checking whether to build static libraries... " >&6; }
11724 # Make sure either enable_shared or enable_static is yes.
11725 test "$enable_shared" = yes || enable_static=yes
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11727 $as_echo "$enable_static" >&6; }
11734 ac_cpp='$CPP $CPPFLAGS'
11735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11753 ac_config_commands="$ac_config_commands libtool"
11758 # Only expand once:
11774 DX_PROJECT=opensaml
11776 DX_CONFIG=doxygen.cfg
11781 # Environment variables used inside doxygen.cfg:
11782 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11784 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11786 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11788 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11795 # Check whether --enable-doxygen-doc was given.
11796 if test "${enable_doxygen_doc+set}" = set; then :
11797 enableval=$enable_doxygen_doc;
11798 case "$enableval" in
11810 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11822 if test "$DX_FLAG_doc" = 1; then
11824 if test -n "$ac_tool_prefix"; then
11825 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11826 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11828 $as_echo_n "checking for $ac_word... " >&6; }
11829 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11830 $as_echo_n "(cached) " >&6
11832 case $DX_DOXYGEN in
11834 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838 for as_dir in $PATH
11841 test -z "$as_dir" && as_dir=.
11842 for ac_exec_ext in '' $ac_executable_extensions; do
11843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11844 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11855 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11856 if test -n "$DX_DOXYGEN"; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11858 $as_echo "$DX_DOXYGEN" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11866 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11867 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11868 # Extract the first word of "doxygen", so it can be a program name with args.
11869 set dummy doxygen; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11873 $as_echo_n "(cached) " >&6
11875 case $ac_pt_DX_DOXYGEN in
11877 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11898 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11899 if test -n "$ac_pt_DX_DOXYGEN"; then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11901 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904 $as_echo "no" >&6; }
11907 if test "x$ac_pt_DX_DOXYGEN" = x; then
11910 case $cross_compiling:$ac_tool_warned in
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11914 ac_tool_warned=yes ;;
11916 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11919 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11922 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11924 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11930 if test -n "$ac_tool_prefix"; then
11931 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11932 set dummy ${ac_tool_prefix}perl; ac_word=$2
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11934 $as_echo_n "checking for $ac_word... " >&6; }
11935 if ${ac_cv_path_DX_PERL+:} false; then :
11936 $as_echo_n "(cached) " >&6
11940 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11944 for as_dir in $PATH
11947 test -z "$as_dir" && as_dir=.
11948 for ac_exec_ext in '' $ac_executable_extensions; do
11949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11950 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11961 DX_PERL=$ac_cv_path_DX_PERL
11962 if test -n "$DX_PERL"; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11964 $as_echo "$DX_PERL" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11972 if test -z "$ac_cv_path_DX_PERL"; then
11973 ac_pt_DX_PERL=$DX_PERL
11974 # Extract the first word of "perl", so it can be a program name with args.
11975 set dummy perl; ac_word=$2
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11977 $as_echo_n "checking for $ac_word... " >&6; }
11978 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
11979 $as_echo_n "(cached) " >&6
11981 case $ac_pt_DX_PERL in
11983 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11987 for as_dir in $PATH
11990 test -z "$as_dir" && as_dir=.
11991 for ac_exec_ext in '' $ac_executable_extensions; do
11992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11993 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12004 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
12005 if test -n "$ac_pt_DX_PERL"; then
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
12007 $as_echo "$ac_pt_DX_PERL" >&6; }
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12013 if test "x$ac_pt_DX_PERL" = x; then
12016 case $cross_compiling:$ac_tool_warned in
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12020 ac_tool_warned=yes ;;
12022 DX_PERL=$ac_pt_DX_PERL
12025 DX_PERL="$ac_cv_path_DX_PERL"
12028 if test "$DX_FLAG_doc$DX_PERL" = 1; then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12030 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12037 if test "$DX_FLAG_doc" = 1; then
12040 DX_COND_doc_FALSE='#'
12042 DX_COND_doc_TRUE='#'
12046 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12052 DX_COND_doc_FALSE='#'
12054 DX_COND_doc_TRUE='#'
12063 # Dot for graphics:
12067 # Check whether --enable-doxygen-dot was given.
12068 if test "${enable_doxygen_dot+set}" = set; then :
12069 enableval=$enable_doxygen_dot;
12070 case "$enableval" in
12076 test "$DX_FLAG_doc" = "1" \
12077 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12085 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12094 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12100 if test "$DX_FLAG_dot" = 1; then
12102 if test -n "$ac_tool_prefix"; then
12103 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12104 set dummy ${ac_tool_prefix}dot; ac_word=$2
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12106 $as_echo_n "checking for $ac_word... " >&6; }
12107 if ${ac_cv_path_DX_DOT+:} false; then :
12108 $as_echo_n "(cached) " >&6
12112 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12116 for as_dir in $PATH
12119 test -z "$as_dir" && as_dir=.
12120 for ac_exec_ext in '' $ac_executable_extensions; do
12121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12122 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12133 DX_DOT=$ac_cv_path_DX_DOT
12134 if test -n "$DX_DOT"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12136 $as_echo "$DX_DOT" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12144 if test -z "$ac_cv_path_DX_DOT"; then
12145 ac_pt_DX_DOT=$DX_DOT
12146 # Extract the first word of "dot", so it can be a program name with args.
12147 set dummy dot; ac_word=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12151 $as_echo_n "(cached) " >&6
12153 case $ac_pt_DX_DOT in
12155 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12162 test -z "$as_dir" && as_dir=.
12163 for ac_exec_ext in '' $ac_executable_extensions; do
12164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12165 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12177 if test -n "$ac_pt_DX_DOT"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12179 $as_echo "$ac_pt_DX_DOT" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12185 if test "x$ac_pt_DX_DOT" = x; then
12188 case $cross_compiling:$ac_tool_warned in
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12192 ac_tool_warned=yes ;;
12194 DX_DOT=$ac_pt_DX_DOT
12197 DX_DOT="$ac_cv_path_DX_DOT"
12200 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12202 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12209 if test "$DX_FLAG_dot" = 1; then
12212 DX_COND_dot_FALSE='#'
12214 DX_COND_dot_TRUE='#'
12218 DX_ENV="$DX_ENV HAVE_DOT='YES'"
12220 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12226 DX_COND_dot_FALSE='#'
12228 DX_COND_dot_TRUE='#'
12232 DX_ENV="$DX_ENV HAVE_DOT='NO'"
12238 # Man pages generation:
12242 # Check whether --enable-doxygen-man was given.
12243 if test "${enable_doxygen_man+set}" = set; then :
12244 enableval=$enable_doxygen_man;
12245 case "$enableval" in
12251 test "$DX_FLAG_doc" = "1" \
12252 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12260 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12269 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12275 if test "$DX_FLAG_man" = 1; then
12279 if test "$DX_FLAG_man" = 1; then
12282 DX_COND_man_FALSE='#'
12284 DX_COND_man_TRUE='#'
12288 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12294 DX_COND_man_FALSE='#'
12296 DX_COND_man_TRUE='#'
12300 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12306 # RTF file generation:
12310 # Check whether --enable-doxygen-rtf was given.
12311 if test "${enable_doxygen_rtf+set}" = set; then :
12312 enableval=$enable_doxygen_rtf;
12313 case "$enableval" in
12319 test "$DX_FLAG_doc" = "1" \
12320 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12328 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12337 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12343 if test "$DX_FLAG_rtf" = 1; then
12347 if test "$DX_FLAG_rtf" = 1; then
12350 DX_COND_rtf_FALSE='#'
12352 DX_COND_rtf_TRUE='#'
12356 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12362 DX_COND_rtf_FALSE='#'
12364 DX_COND_rtf_TRUE='#'
12368 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12374 # XML file generation:
12378 # Check whether --enable-doxygen-xml was given.
12379 if test "${enable_doxygen_xml+set}" = set; then :
12380 enableval=$enable_doxygen_xml;
12381 case "$enableval" in
12387 test "$DX_FLAG_doc" = "1" \
12388 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12396 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12405 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12411 if test "$DX_FLAG_xml" = 1; then
12415 if test "$DX_FLAG_xml" = 1; then
12418 DX_COND_xml_FALSE='#'
12420 DX_COND_xml_TRUE='#'
12424 DX_ENV="$DX_ENV GENERATE_XML='YES'"
12430 DX_COND_xml_FALSE='#'
12432 DX_COND_xml_TRUE='#'
12436 DX_ENV="$DX_ENV GENERATE_XML='NO'"
12442 # (Compressed) HTML help generation:
12446 # Check whether --enable-doxygen-chm was given.
12447 if test "${enable_doxygen_chm+set}" = set; then :
12448 enableval=$enable_doxygen_chm;
12449 case "$enableval" in
12455 test "$DX_FLAG_doc" = "1" \
12456 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12464 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12473 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12479 if test "$DX_FLAG_chm" = 1; then
12481 if test -n "$ac_tool_prefix"; then
12482 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12483 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485 $as_echo_n "checking for $ac_word... " >&6; }
12486 if ${ac_cv_path_DX_HHC+:} false; then :
12487 $as_echo_n "(cached) " >&6
12491 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512 DX_HHC=$ac_cv_path_DX_HHC
12513 if test -n "$DX_HHC"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12515 $as_echo "$DX_HHC" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12523 if test -z "$ac_cv_path_DX_HHC"; then
12524 ac_pt_DX_HHC=$DX_HHC
12525 # Extract the first word of "hhc", so it can be a program name with args.
12526 set dummy hhc; ac_word=$2
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12528 $as_echo_n "checking for $ac_word... " >&6; }
12529 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12530 $as_echo_n "(cached) " >&6
12532 case $ac_pt_DX_HHC in
12534 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12538 for as_dir in $PATH
12541 test -z "$as_dir" && as_dir=.
12542 for ac_exec_ext in '' $ac_executable_extensions; do
12543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12544 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12555 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12556 if test -n "$ac_pt_DX_HHC"; then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12558 $as_echo "$ac_pt_DX_HHC" >&6; }
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12561 $as_echo "no" >&6; }
12564 if test "x$ac_pt_DX_HHC" = x; then
12567 case $cross_compiling:$ac_tool_warned in
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12571 ac_tool_warned=yes ;;
12573 DX_HHC=$ac_pt_DX_HHC
12576 DX_HHC="$ac_cv_path_DX_HHC"
12579 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12581 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12588 if test "$DX_FLAG_chm" = 1; then
12591 DX_COND_chm_FALSE='#'
12593 DX_COND_chm_TRUE='#'
12597 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12599 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12601 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12607 DX_COND_chm_FALSE='#'
12609 DX_COND_chm_TRUE='#'
12613 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12619 # Seperate CHI file generation.
12623 # Check whether --enable-doxygen-chi was given.
12624 if test "${enable_doxygen_chi+set}" = set; then :
12625 enableval=$enable_doxygen_chi;
12626 case "$enableval" in
12632 test "$DX_FLAG_chm" = "1" \
12633 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12641 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12650 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12656 if test "$DX_FLAG_chi" = 1; then
12660 if test "$DX_FLAG_chi" = 1; then
12663 DX_COND_chi_FALSE='#'
12665 DX_COND_chi_TRUE='#'
12669 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12675 DX_COND_chi_FALSE='#'
12677 DX_COND_chi_TRUE='#'
12681 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12687 # Plain HTML pages generation:
12691 # Check whether --enable-doxygen-html was given.
12692 if test "${enable_doxygen_html+set}" = set; then :
12693 enableval=$enable_doxygen_html;
12694 case "$enableval" in
12700 test "$DX_FLAG_doc" = "1" \
12701 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12703 test "$DX_FLAG_chm" = "0" \
12704 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12712 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12721 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12724 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12730 if test "$DX_FLAG_html" = 1; then
12734 if test "$DX_FLAG_html" = 1; then
12737 DX_COND_html_FALSE='#'
12739 DX_COND_html_TRUE='#'
12740 DX_COND_html_FALSE=
12743 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12749 DX_COND_html_FALSE='#'
12751 DX_COND_html_TRUE='#'
12752 DX_COND_html_FALSE=
12755 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12761 # PostScript file generation:
12765 # Check whether --enable-doxygen-ps was given.
12766 if test "${enable_doxygen_ps+set}" = set; then :
12767 enableval=$enable_doxygen_ps;
12768 case "$enableval" in
12774 test "$DX_FLAG_doc" = "1" \
12775 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12783 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12792 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12798 if test "$DX_FLAG_ps" = 1; then
12800 if test -n "$ac_tool_prefix"; then
12801 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12802 set dummy ${ac_tool_prefix}latex; ac_word=$2
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12804 $as_echo_n "checking for $ac_word... " >&6; }
12805 if ${ac_cv_path_DX_LATEX+:} false; then :
12806 $as_echo_n "(cached) " >&6
12810 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12817 test -z "$as_dir" && as_dir=.
12818 for ac_exec_ext in '' $ac_executable_extensions; do
12819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12820 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12831 DX_LATEX=$ac_cv_path_DX_LATEX
12832 if test -n "$DX_LATEX"; then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12834 $as_echo "$DX_LATEX" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12837 $as_echo "no" >&6; }
12842 if test -z "$ac_cv_path_DX_LATEX"; then
12843 ac_pt_DX_LATEX=$DX_LATEX
12844 # Extract the first word of "latex", so it can be a program name with args.
12845 set dummy latex; ac_word=$2
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12847 $as_echo_n "checking for $ac_word... " >&6; }
12848 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12849 $as_echo_n "(cached) " >&6
12851 case $ac_pt_DX_LATEX in
12853 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12863 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12875 if test -n "$ac_pt_DX_LATEX"; then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12877 $as_echo "$ac_pt_DX_LATEX" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12883 if test "x$ac_pt_DX_LATEX" = x; then
12886 case $cross_compiling:$ac_tool_warned in
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12890 ac_tool_warned=yes ;;
12892 DX_LATEX=$ac_pt_DX_LATEX
12895 DX_LATEX="$ac_cv_path_DX_LATEX"
12898 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12900 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12906 if test -n "$ac_tool_prefix"; then
12907 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12908 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12910 $as_echo_n "checking for $ac_word... " >&6; }
12911 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
12912 $as_echo_n "(cached) " >&6
12914 case $DX_MAKEINDEX in
12916 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12920 for as_dir in $PATH
12923 test -z "$as_dir" && as_dir=.
12924 for ac_exec_ext in '' $ac_executable_extensions; do
12925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12926 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12937 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12938 if test -n "$DX_MAKEINDEX"; then
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12940 $as_echo "$DX_MAKEINDEX" >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 $as_echo "no" >&6; }
12948 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12949 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12950 # Extract the first word of "makeindex", so it can be a program name with args.
12951 set dummy makeindex; ac_word=$2
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12953 $as_echo_n "checking for $ac_word... " >&6; }
12954 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
12955 $as_echo_n "(cached) " >&6
12957 case $ac_pt_DX_MAKEINDEX in
12959 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $PATH
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12969 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12980 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12981 if test -n "$ac_pt_DX_MAKEINDEX"; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12983 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12986 $as_echo "no" >&6; }
12989 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12992 case $cross_compiling:$ac_tool_warned in
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12996 ac_tool_warned=yes ;;
12998 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13001 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13004 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
13006 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
13012 if test -n "$ac_tool_prefix"; then
13013 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
13014 set dummy ${ac_tool_prefix}dvips; ac_word=$2
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13016 $as_echo_n "checking for $ac_word... " >&6; }
13017 if ${ac_cv_path_DX_DVIPS+:} false; then :
13018 $as_echo_n "(cached) " >&6
13022 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
13025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13029 test -z "$as_dir" && as_dir=.
13030 for ac_exec_ext in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13043 DX_DVIPS=$ac_cv_path_DX_DVIPS
13044 if test -n "$DX_DVIPS"; then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13046 $as_echo "$DX_DVIPS" >&6; }
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }
13054 if test -z "$ac_cv_path_DX_DVIPS"; then
13055 ac_pt_DX_DVIPS=$DX_DVIPS
13056 # Extract the first word of "dvips", so it can be a program name with args.
13057 set dummy dvips; ac_word=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13059 $as_echo_n "checking for $ac_word... " >&6; }
13060 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
13061 $as_echo_n "(cached) " >&6
13063 case $ac_pt_DX_DVIPS in
13065 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13069 for as_dir in $PATH
13072 test -z "$as_dir" && as_dir=.
13073 for ac_exec_ext in '' $ac_executable_extensions; do
13074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13075 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13087 if test -n "$ac_pt_DX_DVIPS"; then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13089 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13095 if test "x$ac_pt_DX_DVIPS" = x; then
13098 case $cross_compiling:$ac_tool_warned in
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13102 ac_tool_warned=yes ;;
13104 DX_DVIPS=$ac_pt_DX_DVIPS
13107 DX_DVIPS="$ac_cv_path_DX_DVIPS"
13110 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13112 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13118 if test -n "$ac_tool_prefix"; then
13119 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13120 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13122 $as_echo_n "checking for $ac_word... " >&6; }
13123 if ${ac_cv_path_DX_EGREP+:} false; then :
13124 $as_echo_n "(cached) " >&6
13128 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13135 test -z "$as_dir" && as_dir=.
13136 for ac_exec_ext in '' $ac_executable_extensions; do
13137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13138 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13149 DX_EGREP=$ac_cv_path_DX_EGREP
13150 if test -n "$DX_EGREP"; then
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13152 $as_echo "$DX_EGREP" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155 $as_echo "no" >&6; }
13160 if test -z "$ac_cv_path_DX_EGREP"; then
13161 ac_pt_DX_EGREP=$DX_EGREP
13162 # Extract the first word of "egrep", so it can be a program name with args.
13163 set dummy egrep; ac_word=$2
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13165 $as_echo_n "checking for $ac_word... " >&6; }
13166 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13167 $as_echo_n "(cached) " >&6
13169 case $ac_pt_DX_EGREP in
13171 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13175 for as_dir in $PATH
13178 test -z "$as_dir" && as_dir=.
13179 for ac_exec_ext in '' $ac_executable_extensions; do
13180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13181 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13192 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13193 if test -n "$ac_pt_DX_EGREP"; then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13195 $as_echo "$ac_pt_DX_EGREP" >&6; }
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13198 $as_echo "no" >&6; }
13201 if test "x$ac_pt_DX_EGREP" = x; then
13204 case $cross_compiling:$ac_tool_warned in
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13208 ac_tool_warned=yes ;;
13210 DX_EGREP=$ac_pt_DX_EGREP
13213 DX_EGREP="$ac_cv_path_DX_EGREP"
13216 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13218 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13225 if test "$DX_FLAG_ps" = 1; then
13228 DX_COND_ps_FALSE='#'
13230 DX_COND_ps_TRUE='#'
13239 DX_COND_ps_FALSE='#'
13241 DX_COND_ps_TRUE='#'
13250 # PDF file generation:
13254 # Check whether --enable-doxygen-pdf was given.
13255 if test "${enable_doxygen_pdf+set}" = set; then :
13256 enableval=$enable_doxygen_pdf;
13257 case "$enableval" in
13263 test "$DX_FLAG_doc" = "1" \
13264 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13272 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13281 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13287 if test "$DX_FLAG_pdf" = 1; then
13289 if test -n "$ac_tool_prefix"; then
13290 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13291 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13295 $as_echo_n "(cached) " >&6
13297 case $DX_PDFLATEX in
13299 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13303 for as_dir in $PATH
13306 test -z "$as_dir" && as_dir=.
13307 for ac_exec_ext in '' $ac_executable_extensions; do
13308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13309 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13320 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13321 if test -n "$DX_PDFLATEX"; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13323 $as_echo "$DX_PDFLATEX" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13331 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13332 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13333 # Extract the first word of "pdflatex", so it can be a program name with args.
13334 set dummy pdflatex; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13336 $as_echo_n "checking for $ac_word... " >&6; }
13337 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13338 $as_echo_n "(cached) " >&6
13340 case $ac_pt_DX_PDFLATEX in
13342 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13346 for as_dir in $PATH
13349 test -z "$as_dir" && as_dir=.
13350 for ac_exec_ext in '' $ac_executable_extensions; do
13351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13352 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13363 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13364 if test -n "$ac_pt_DX_PDFLATEX"; then
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13366 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13369 $as_echo "no" >&6; }
13372 if test "x$ac_pt_DX_PDFLATEX" = x; then
13375 case $cross_compiling:$ac_tool_warned in
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13379 ac_tool_warned=yes ;;
13381 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13384 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13387 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13389 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13395 if test -n "$ac_tool_prefix"; then
13396 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13397 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13399 $as_echo_n "checking for $ac_word... " >&6; }
13400 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13401 $as_echo_n "(cached) " >&6
13403 case $DX_MAKEINDEX in
13405 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13409 for as_dir in $PATH
13412 test -z "$as_dir" && as_dir=.
13413 for ac_exec_ext in '' $ac_executable_extensions; do
13414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13415 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13426 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13427 if test -n "$DX_MAKEINDEX"; then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13429 $as_echo "$DX_MAKEINDEX" >&6; }
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432 $as_echo "no" >&6; }
13437 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13438 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13439 # Extract the first word of "makeindex", so it can be a program name with args.
13440 set dummy makeindex; ac_word=$2
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13442 $as_echo_n "checking for $ac_word... " >&6; }
13443 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13444 $as_echo_n "(cached) " >&6
13446 case $ac_pt_DX_MAKEINDEX in
13448 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13452 for as_dir in $PATH
13455 test -z "$as_dir" && as_dir=.
13456 for ac_exec_ext in '' $ac_executable_extensions; do
13457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13458 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13469 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13470 if test -n "$ac_pt_DX_MAKEINDEX"; then
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13472 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13475 $as_echo "no" >&6; }
13478 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13481 case $cross_compiling:$ac_tool_warned in
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13485 ac_tool_warned=yes ;;
13487 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13490 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13493 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13495 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13501 if test -n "$ac_tool_prefix"; then
13502 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13503 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13505 $as_echo_n "checking for $ac_word... " >&6; }
13506 if ${ac_cv_path_DX_EGREP+:} false; then :
13507 $as_echo_n "(cached) " >&6
13511 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13515 for as_dir in $PATH
13518 test -z "$as_dir" && as_dir=.
13519 for ac_exec_ext in '' $ac_executable_extensions; do
13520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13521 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13532 DX_EGREP=$ac_cv_path_DX_EGREP
13533 if test -n "$DX_EGREP"; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13535 $as_echo "$DX_EGREP" >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13538 $as_echo "no" >&6; }
13543 if test -z "$ac_cv_path_DX_EGREP"; then
13544 ac_pt_DX_EGREP=$DX_EGREP
13545 # Extract the first word of "egrep", so it can be a program name with args.
13546 set dummy egrep; ac_word=$2
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13548 $as_echo_n "checking for $ac_word... " >&6; }
13549 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13550 $as_echo_n "(cached) " >&6
13552 case $ac_pt_DX_EGREP in
13554 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13558 for as_dir in $PATH
13561 test -z "$as_dir" && as_dir=.
13562 for ac_exec_ext in '' $ac_executable_extensions; do
13563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13564 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13575 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13576 if test -n "$ac_pt_DX_EGREP"; then
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13578 $as_echo "$ac_pt_DX_EGREP" >&6; }
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581 $as_echo "no" >&6; }
13584 if test "x$ac_pt_DX_EGREP" = x; then
13587 case $cross_compiling:$ac_tool_warned in
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13591 ac_tool_warned=yes ;;
13593 DX_EGREP=$ac_pt_DX_EGREP
13596 DX_EGREP="$ac_cv_path_DX_EGREP"
13599 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13601 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13608 if test "$DX_FLAG_pdf" = 1; then
13611 DX_COND_pdf_FALSE='#'
13613 DX_COND_pdf_TRUE='#'
13622 DX_COND_pdf_FALSE='#'
13624 DX_COND_pdf_TRUE='#'
13633 # LaTeX generation for PS and/or PDF:
13634 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13636 DX_COND_latex_TRUE=
13637 DX_COND_latex_FALSE='#'
13639 DX_COND_latex_TRUE='#'
13640 DX_COND_latex_FALSE=
13643 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13647 DX_COND_latex_TRUE=
13648 DX_COND_latex_FALSE='#'
13650 DX_COND_latex_TRUE='#'
13651 DX_COND_latex_FALSE=
13654 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13658 # Paper size for PS and/or PDF:
13660 case "$DOXYGEN_PAPER_SIZE" in
13663 DOXYGEN_PAPER_SIZE=""
13666 a4wide|a4|letter|legal|executive)
13667 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13671 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13676 #echo DX_FLAG_doc=$DX_FLAG_doc
13677 #echo DX_FLAG_dot=$DX_FLAG_dot
13678 #echo DX_FLAG_man=$DX_FLAG_man
13679 #echo DX_FLAG_html=$DX_FLAG_html
13680 #echo DX_FLAG_chm=$DX_FLAG_chm
13681 #echo DX_FLAG_chi=$DX_FLAG_chi
13682 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13683 #echo DX_FLAG_xml=$DX_FLAG_xml
13684 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13685 #echo DX_FLAG_ps=$DX_FLAG_ps
13686 #echo DX_ENV=$DX_ENV
13690 # Check whether --enable-debug was given.
13691 if test "${enable_debug+set}" = set; then :
13692 enableval=$enable_debug; enable_debug=$enableval
13698 if test "$enable_debug" = "yes" ; then
13699 GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
13700 GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
13702 GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
13703 GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
13706 ac_config_headers="$ac_config_headers config.h"
13708 ac_config_files="$ac_config_files opensaml.spec pkginfo Portfile"
13710 ac_config_files="$ac_config_files Makefile saml/Makefile samltest/Makefile samlsign/Makefile schemas/Makefile doc/Makefile"
13714 ac_cpp='$CPP $CPPFLAGS'
13715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13718 if test -n "$ac_tool_prefix"; then
13719 for ac_prog in gcc gcc3 cc
13721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13724 $as_echo_n "checking for $ac_word... " >&6; }
13725 if ${ac_cv_prog_CC+:} false; then :
13726 $as_echo_n "(cached) " >&6
13728 if test -n "$CC"; then
13729 ac_cv_prog_CC="$CC" # Let the user override the test.
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13735 test -z "$as_dir" && as_dir=.
13736 for ac_exec_ext in '' $ac_executable_extensions; do
13737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13738 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13749 if test -n "$CC"; then
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13751 $as_echo "$CC" >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13754 $as_echo "no" >&6; }
13758 test -n "$CC" && break
13761 if test -z "$CC"; then
13763 for ac_prog in gcc gcc3 cc
13765 # Extract the first word of "$ac_prog", so it can be a program name with args.
13766 set dummy $ac_prog; ac_word=$2
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13768 $as_echo_n "checking for $ac_word... " >&6; }
13769 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13770 $as_echo_n "(cached) " >&6
13772 if test -n "$ac_ct_CC"; then
13773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13779 test -z "$as_dir" && as_dir=.
13780 for ac_exec_ext in '' $ac_executable_extensions; do
13781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13782 ac_cv_prog_ac_ct_CC="$ac_prog"
13783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13793 if test -n "$ac_ct_CC"; then
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13795 $as_echo "$ac_ct_CC" >&6; }
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13798 $as_echo "no" >&6; }
13802 test -n "$ac_ct_CC" && break
13805 if test "x$ac_ct_CC" = x; then
13808 case $cross_compiling:$ac_tool_warned in
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13812 ac_tool_warned=yes ;;
13819 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13821 as_fn_error $? "no acceptable C compiler found in \$PATH
13822 See \`config.log' for more details" "$LINENO" 5; }
13824 # Provide some information about the compiler.
13825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13828 for ac_option in --version -v -V -qversion; do
13829 { { ac_try="$ac_compiler $ac_option >&5"
13830 case "(($ac_try" in
13831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13832 *) ac_try_echo=$ac_try;;
13834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13835 $as_echo "$ac_try_echo"; } >&5
13836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13838 if test -s conftest.err; then
13840 ... rest of stderr output deleted ...
13841 10q' conftest.err >conftest.er1
13842 cat conftest.er1 >&5
13844 rm -f conftest.er1 conftest.err
13845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13846 test $ac_status = 0; }
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13850 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13851 if ${ac_cv_c_compiler_gnu+:} false; then :
13852 $as_echo_n "(cached) " >&6
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13868 if ac_fn_c_try_compile "$LINENO"; then :
13869 ac_compiler_gnu=yes
13873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13874 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13878 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13879 if test $ac_compiler_gnu = yes; then
13884 ac_test_CFLAGS=${CFLAGS+set}
13885 ac_save_CFLAGS=$CFLAGS
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13887 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13888 if ${ac_cv_prog_cc_g+:} false; then :
13889 $as_echo_n "(cached) " >&6
13891 ac_save_c_werror_flag=$ac_c_werror_flag
13892 ac_c_werror_flag=yes
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13906 if ac_fn_c_try_compile "$LINENO"; then :
13907 ac_cv_prog_cc_g=yes
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13921 if ac_fn_c_try_compile "$LINENO"; then :
13924 ac_c_werror_flag=$ac_save_c_werror_flag
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13937 if ac_fn_c_try_compile "$LINENO"; then :
13938 ac_cv_prog_cc_g=yes
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 ac_c_werror_flag=$ac_save_c_werror_flag
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13948 $as_echo "$ac_cv_prog_cc_g" >&6; }
13949 if test "$ac_test_CFLAGS" = set; then
13950 CFLAGS=$ac_save_CFLAGS
13951 elif test $ac_cv_prog_cc_g = yes; then
13952 if test "$GCC" = yes; then
13958 if test "$GCC" = yes; then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13965 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13966 if ${ac_cv_prog_cc_c89+:} false; then :
13967 $as_echo_n "(cached) " >&6
13969 ac_cv_prog_cc_c89=no
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 #include <stdarg.h>
13975 #include <sys/types.h>
13976 #include <sys/stat.h>
13977 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13978 struct buf { int x; };
13979 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13980 static char *e (p, i)
13986 static char *f (char * (*g) (char **, int), char **p, ...)
13991 s = g (p, va_arg (v,int));
13996 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13997 function prototypes and stuff, but not '\xHH' hex character constants.
13998 These don't provoke an error unfortunately, instead are silently treated
13999 as 'x'. The following induces an error, until -std is added to get
14000 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14001 array size at least. It's necessary to write '\x00'==0 to get something
14002 that's true only with -std. */
14003 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14005 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14006 inside strings and character constants. */
14008 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14010 int test (int i, double x);
14011 struct s1 {int (*f) (int a);};
14012 struct s2 {int (*f) (double a);};
14013 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14019 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14024 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14025 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14027 CC="$ac_save_CC $ac_arg"
14028 if ac_fn_c_try_compile "$LINENO"; then :
14029 ac_cv_prog_cc_c89=$ac_arg
14031 rm -f core conftest.err conftest.$ac_objext
14032 test "x$ac_cv_prog_cc_c89" != "xno" && break
14034 rm -f conftest.$ac_ext
14039 case "x$ac_cv_prog_cc_c89" in
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14042 $as_echo "none needed" >&6; } ;;
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14045 $as_echo "unsupported" >&6; } ;;
14047 CC="$CC $ac_cv_prog_cc_c89"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14049 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14051 if test "x$ac_cv_prog_cc_c89" != xno; then :
14056 ac_cpp='$CPP $CPPFLAGS'
14057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14061 depcc="$CC" am_compiler_list=
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14064 $as_echo_n "checking dependency style of $depcc... " >&6; }
14065 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14066 $as_echo_n "(cached) " >&6
14068 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14069 # We make a subdir and do the tests there. Otherwise we can end up
14070 # making bogus files that we don't know about and never remove. For
14071 # instance it was reported that on HP-UX the gcc test will end up
14072 # making a dummy file named `D' -- because `-MD' means `put the output
14075 # Copy depcomp to subdir because otherwise we won't find it if we're
14076 # using a relative directory.
14077 cp "$am_depcomp" conftest.dir
14079 # We will build objects and dependencies in a subdirectory because
14080 # it helps to detect inapplicable dependency modes. For instance
14081 # both Tru64's cc and ICC support -MD to output dependencies as a
14082 # side effect of compilation, but ICC will put the dependencies in
14083 # the current directory while Tru64 will put them in the object
14087 am_cv_CC_dependencies_compiler_type=none
14088 if test "$am_compiler_list" = ""; then
14089 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14091 am__universal=false
14092 case " $depcc " in #(
14093 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14096 for depmode in $am_compiler_list; do
14097 # Setup a source with many dependencies, because some compilers
14098 # like to wrap large dependency lists on column 80 (with \), and
14099 # we should not choose a depcomp mode which is confused by this.
14101 # We need to recreate these files for each test, as the compiler may
14102 # overwrite some of them when testing with obscure command lines.
14103 # This happens at least with the AIX C compiler.
14105 for i in 1 2 3 4 5 6; do
14106 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14107 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14108 # Solaris 8's {/usr,}/bin/sh.
14109 touch sub/conftst$i.h
14111 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14113 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14114 # mode. It turns out that the SunPro C++ compiler does not properly
14115 # handle `-M -o', and we need to detect this. Also, some Intel
14116 # versions had trouble with output in subdirs
14117 am__obj=sub/conftest.${OBJEXT-o}
14118 am__minus_obj="-o $am__obj"
14121 # This depmode causes a compiler race in universal mode.
14122 test "$am__universal" = false || continue
14125 # after this tag, mechanisms are not by side-effect, so they'll
14126 # only be used when explicitly requested
14127 if test "x$enable_dependency_tracking" = xyes; then
14133 msvisualcpp | msvcmsys)
14134 # This compiler won't grok `-c -o', but also, the minuso test has
14135 # not run yet. These depmodes are late enough in the game, and
14136 # so weak that their functioning should not be impacted.
14137 am__obj=conftest.${OBJEXT-o}
14142 if depmode=$depmode \
14143 source=sub/conftest.c object=$am__obj \
14144 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14145 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14146 >/dev/null 2>conftest.err &&
14147 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14148 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14149 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14150 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14151 # icc doesn't choke on unknown options, it will just issue warnings
14152 # or remarks (even with -Werror). So we grep stderr for any message
14153 # that says an option was ignored or not supported.
14154 # When given -MP, icc 7.0 and 7.1 complain thusly:
14155 # icc: Command line warning: ignoring option '-M'; no argument required
14156 # The diagnosis changed in icc 8.0:
14157 # icc: Command line remark: option '-MP' not supported
14158 if (grep 'ignoring option' conftest.err ||
14159 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14160 am_cv_CC_dependencies_compiler_type=$depmode
14167 rm -rf conftest.dir
14169 am_cv_CC_dependencies_compiler_type=none
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14174 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14175 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14178 test "x$enable_dependency_tracking" != xno \
14179 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14180 am__fastdepCC_TRUE=
14181 am__fastdepCC_FALSE='#'
14183 am__fastdepCC_TRUE='#'
14184 am__fastdepCC_FALSE=
14189 ac_cpp='$CXXCPP $CPPFLAGS'
14190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14193 if test -z "$CXX"; then
14194 if test -n "$CCC"; then
14197 if test -n "$ac_tool_prefix"; then
14198 for ac_prog in g++ g++3 c++ CC
14200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14203 $as_echo_n "checking for $ac_word... " >&6; }
14204 if ${ac_cv_prog_CXX+:} false; then :
14205 $as_echo_n "(cached) " >&6
14207 if test -n "$CXX"; then
14208 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14211 for as_dir in $PATH
14214 test -z "$as_dir" && as_dir=.
14215 for ac_exec_ext in '' $ac_executable_extensions; do
14216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14217 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14227 CXX=$ac_cv_prog_CXX
14228 if test -n "$CXX"; then
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14230 $as_echo "$CXX" >&6; }
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233 $as_echo "no" >&6; }
14237 test -n "$CXX" && break
14240 if test -z "$CXX"; then
14242 for ac_prog in g++ g++3 c++ CC
14244 # Extract the first word of "$ac_prog", so it can be a program name with args.
14245 set dummy $ac_prog; ac_word=$2
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14247 $as_echo_n "checking for $ac_word... " >&6; }
14248 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14249 $as_echo_n "(cached) " >&6
14251 if test -n "$ac_ct_CXX"; then
14252 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14255 for as_dir in $PATH
14258 test -z "$as_dir" && as_dir=.
14259 for ac_exec_ext in '' $ac_executable_extensions; do
14260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14261 ac_cv_prog_ac_ct_CXX="$ac_prog"
14262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14272 if test -n "$ac_ct_CXX"; then
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14274 $as_echo "$ac_ct_CXX" >&6; }
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14277 $as_echo "no" >&6; }
14281 test -n "$ac_ct_CXX" && break
14284 if test "x$ac_ct_CXX" = x; then
14287 case $cross_compiling:$ac_tool_warned in
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14291 ac_tool_warned=yes ;;
14299 # Provide some information about the compiler.
14300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14303 for ac_option in --version -v -V -qversion; do
14304 { { ac_try="$ac_compiler $ac_option >&5"
14305 case "(($ac_try" in
14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14307 *) ac_try_echo=$ac_try;;
14309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14310 $as_echo "$ac_try_echo"; } >&5
14311 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14313 if test -s conftest.err; then
14315 ... rest of stderr output deleted ...
14316 10q' conftest.err >conftest.er1
14317 cat conftest.er1 >&5
14319 rm -f conftest.er1 conftest.err
14320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14321 test $ac_status = 0; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14325 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14326 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14327 $as_echo_n "(cached) " >&6
14329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14343 if ac_fn_cxx_try_compile "$LINENO"; then :
14344 ac_compiler_gnu=yes
14348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14349 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14353 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14354 if test $ac_compiler_gnu = yes; then
14359 ac_test_CXXFLAGS=${CXXFLAGS+set}
14360 ac_save_CXXFLAGS=$CXXFLAGS
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14362 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14363 if ${ac_cv_prog_cxx_g+:} false; then :
14364 $as_echo_n "(cached) " >&6
14366 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14367 ac_cxx_werror_flag=yes
14368 ac_cv_prog_cxx_g=no
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14381 if ac_fn_cxx_try_compile "$LINENO"; then :
14382 ac_cv_prog_cxx_g=yes
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14396 if ac_fn_cxx_try_compile "$LINENO"; then :
14399 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14412 if ac_fn_cxx_try_compile "$LINENO"; then :
14413 ac_cv_prog_cxx_g=yes
14415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14423 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14424 if test "$ac_test_CXXFLAGS" = set; then
14425 CXXFLAGS=$ac_save_CXXFLAGS
14426 elif test $ac_cv_prog_cxx_g = yes; then
14427 if test "$GXX" = yes; then
14433 if test "$GXX" = yes; then
14440 ac_cpp='$CPP $CPPFLAGS'
14441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14445 depcc="$CXX" am_compiler_list=
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14448 $as_echo_n "checking dependency style of $depcc... " >&6; }
14449 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14450 $as_echo_n "(cached) " >&6
14452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14453 # We make a subdir and do the tests there. Otherwise we can end up
14454 # making bogus files that we don't know about and never remove. For
14455 # instance it was reported that on HP-UX the gcc test will end up
14456 # making a dummy file named `D' -- because `-MD' means `put the output
14459 # Copy depcomp to subdir because otherwise we won't find it if we're
14460 # using a relative directory.
14461 cp "$am_depcomp" conftest.dir
14463 # We will build objects and dependencies in a subdirectory because
14464 # it helps to detect inapplicable dependency modes. For instance
14465 # both Tru64's cc and ICC support -MD to output dependencies as a
14466 # side effect of compilation, but ICC will put the dependencies in
14467 # the current directory while Tru64 will put them in the object
14471 am_cv_CXX_dependencies_compiler_type=none
14472 if test "$am_compiler_list" = ""; then
14473 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14475 am__universal=false
14476 case " $depcc " in #(
14477 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14480 for depmode in $am_compiler_list; do
14481 # Setup a source with many dependencies, because some compilers
14482 # like to wrap large dependency lists on column 80 (with \), and
14483 # we should not choose a depcomp mode which is confused by this.
14485 # We need to recreate these files for each test, as the compiler may
14486 # overwrite some of them when testing with obscure command lines.
14487 # This happens at least with the AIX C compiler.
14489 for i in 1 2 3 4 5 6; do
14490 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14491 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14492 # Solaris 8's {/usr,}/bin/sh.
14493 touch sub/conftst$i.h
14495 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14497 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14498 # mode. It turns out that the SunPro C++ compiler does not properly
14499 # handle `-M -o', and we need to detect this. Also, some Intel
14500 # versions had trouble with output in subdirs
14501 am__obj=sub/conftest.${OBJEXT-o}
14502 am__minus_obj="-o $am__obj"
14505 # This depmode causes a compiler race in universal mode.
14506 test "$am__universal" = false || continue
14509 # after this tag, mechanisms are not by side-effect, so they'll
14510 # only be used when explicitly requested
14511 if test "x$enable_dependency_tracking" = xyes; then
14517 msvisualcpp | msvcmsys)
14518 # This compiler won't grok `-c -o', but also, the minuso test has
14519 # not run yet. These depmodes are late enough in the game, and
14520 # so weak that their functioning should not be impacted.
14521 am__obj=conftest.${OBJEXT-o}
14526 if depmode=$depmode \
14527 source=sub/conftest.c object=$am__obj \
14528 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14529 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14530 >/dev/null 2>conftest.err &&
14531 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14532 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14533 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14534 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14535 # icc doesn't choke on unknown options, it will just issue warnings
14536 # or remarks (even with -Werror). So we grep stderr for any message
14537 # that says an option was ignored or not supported.
14538 # When given -MP, icc 7.0 and 7.1 complain thusly:
14539 # icc: Command line warning: ignoring option '-M'; no argument required
14540 # The diagnosis changed in icc 8.0:
14541 # icc: Command line remark: option '-MP' not supported
14542 if (grep 'ignoring option' conftest.err ||
14543 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14544 am_cv_CXX_dependencies_compiler_type=$depmode
14551 rm -rf conftest.dir
14553 am_cv_CXX_dependencies_compiler_type=none
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14558 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14559 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14562 test "x$enable_dependency_tracking" != xno \
14563 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14564 am__fastdepCXX_TRUE=
14565 am__fastdepCXX_FALSE='#'
14567 am__fastdepCXX_TRUE='#'
14568 am__fastdepCXX_FALSE=
14574 func_stripname_cnf ()
14577 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14578 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14580 } # func_stripname_cnf
14582 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14583 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14584 (test "X$CXX" != "Xg++"))) ; then
14586 ac_cpp='$CXXCPP $CPPFLAGS'
14587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14591 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14592 if test -z "$CXXCPP"; then
14593 if ${ac_cv_prog_CXXCPP+:} false; then :
14594 $as_echo_n "(cached) " >&6
14596 # Double quotes because CXXCPP needs to be expanded
14597 for CXXCPP in "$CXX -E" "/lib/cpp"
14599 ac_preproc_ok=false
14600 for ac_cxx_preproc_warn_flag in '' yes
14602 # Use a header file that comes with gcc, so configuring glibc
14603 # with a fresh cross-compiler works.
14604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14605 # <limits.h> exists even on freestanding compilers.
14606 # On the NeXT, cc -E runs the code through the compiler's parser,
14607 # not just through cpp. "Syntax error" is here to catch this case.
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 # include <limits.h>
14613 # include <assert.h>
14617 if ac_fn_cxx_try_cpp "$LINENO"; then :
14620 # Broken: fails on valid input.
14623 rm -f conftest.err conftest.i conftest.$ac_ext
14625 # OK, works on sane cases. Now check whether nonexistent headers
14626 # can be detected and how.
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 #include <ac_nonexistent.h>
14631 if ac_fn_cxx_try_cpp "$LINENO"; then :
14632 # Broken: success on invalid input.
14635 # Passes both tests.
14639 rm -f conftest.err conftest.i conftest.$ac_ext
14642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14643 rm -f conftest.i conftest.err conftest.$ac_ext
14644 if $ac_preproc_ok; then :
14649 ac_cv_prog_CXXCPP=$CXXCPP
14652 CXXCPP=$ac_cv_prog_CXXCPP
14654 ac_cv_prog_CXXCPP=$CXXCPP
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14657 $as_echo "$CXXCPP" >&6; }
14658 ac_preproc_ok=false
14659 for ac_cxx_preproc_warn_flag in '' yes
14661 # Use a header file that comes with gcc, so configuring glibc
14662 # with a fresh cross-compiler works.
14663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14664 # <limits.h> exists even on freestanding compilers.
14665 # On the NeXT, cc -E runs the code through the compiler's parser,
14666 # not just through cpp. "Syntax error" is here to catch this case.
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 # include <limits.h>
14672 # include <assert.h>
14676 if ac_fn_cxx_try_cpp "$LINENO"; then :
14679 # Broken: fails on valid input.
14682 rm -f conftest.err conftest.i conftest.$ac_ext
14684 # OK, works on sane cases. Now check whether nonexistent headers
14685 # can be detected and how.
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 #include <ac_nonexistent.h>
14690 if ac_fn_cxx_try_cpp "$LINENO"; then :
14691 # Broken: success on invalid input.
14694 # Passes both tests.
14698 rm -f conftest.err conftest.i conftest.$ac_ext
14701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14702 rm -f conftest.i conftest.err conftest.$ac_ext
14703 if $ac_preproc_ok; then :
14706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14708 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14709 See \`config.log' for more details" "$LINENO" 5; }
14713 ac_cpp='$CPP $CPPFLAGS'
14714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14719 _lt_caught_CXX_error=yes
14723 ac_cpp='$CXXCPP $CPPFLAGS'
14724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14728 archive_cmds_need_lc_CXX=no
14729 allow_undefined_flag_CXX=
14730 always_export_symbols_CXX=no
14731 archive_expsym_cmds_CXX=
14732 compiler_needs_object_CXX=no
14733 export_dynamic_flag_spec_CXX=
14734 hardcode_direct_CXX=no
14735 hardcode_direct_absolute_CXX=no
14736 hardcode_libdir_flag_spec_CXX=
14737 hardcode_libdir_flag_spec_ld_CXX=
14738 hardcode_libdir_separator_CXX=
14739 hardcode_minus_L_CXX=no
14740 hardcode_shlibpath_var_CXX=unsupported
14741 hardcode_automatic_CXX=no
14742 inherit_rpath_CXX=no
14744 module_expsym_cmds_CXX=
14745 link_all_deplibs_CXX=unknown
14746 old_archive_cmds_CXX=$old_archive_cmds
14747 reload_flag_CXX=$reload_flag
14748 reload_cmds_CXX=$reload_cmds
14749 no_undefined_flag_CXX=
14750 whole_archive_flag_spec_CXX=
14751 enable_shared_with_static_runtimes_CXX=no
14753 # Source file extension for C++ test sources.
14756 # Object file extension for compiled C++ test sources.
14760 # No sense in running all these tests if we already determined that
14761 # the CXX compiler isn't working. Some variables (like enable_shared)
14762 # are currently assumed to apply to all compilers on this platform,
14763 # and will be corrupted by setting them based on a non-working compiler.
14764 if test "$_lt_caught_CXX_error" != yes; then
14765 # Code to be used in simple compile tests
14766 lt_simple_compile_test_code="int some_variable = 0;"
14768 # Code to be used in simple link tests
14769 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14771 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14778 # If no C compiler was specified, use CC.
14781 # If no C compiler flags were specified, use CFLAGS.
14782 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14784 # Allow CC to be a program name with arguments.
14788 # save warnings/boilerplate of simple test code
14789 ac_outfile=conftest.$ac_objext
14790 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14791 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14792 _lt_compiler_boilerplate=`cat conftest.err`
14795 ac_outfile=conftest.$ac_objext
14796 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14797 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14798 _lt_linker_boilerplate=`cat conftest.err`
14802 # Allow CC to be a program name with arguments.
14804 lt_save_CFLAGS=$CFLAGS
14808 lt_save_with_gnu_ld=$with_gnu_ld
14809 lt_save_path_LD=$lt_cv_path_LD
14810 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14811 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14813 $as_unset lt_cv_prog_gnu_ld
14815 if test -n "${lt_cv_path_LDCXX+set}"; then
14816 lt_cv_path_LD=$lt_cv_path_LDCXX
14818 $as_unset lt_cv_path_LD
14820 test -z "${LDCXX+set}" || LD=$LDCXX
14825 for cc_temp in $compiler""; do
14827 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14828 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14833 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14836 if test -n "$compiler"; then
14837 # We don't want -fno-exception when compiling C++ code, so set the
14838 # no_builtin_flag separately
14839 if test "$GXX" = yes; then
14840 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14842 lt_prog_compiler_no_builtin_flag_CXX=
14845 if test "$GXX" = yes; then
14846 # Set up default GNU C++ configuration
14850 # Check whether --with-gnu-ld was given.
14851 if test "${with_gnu_ld+set}" = set; then :
14852 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14858 if test "$GCC" = yes; then
14859 # Check if gcc -print-prog-name=ld gives a path.
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14861 $as_echo_n "checking for ld used by $CC... " >&6; }
14864 # gcc leaves a trailing carriage return which upsets mingw
14865 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14867 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14870 # Accept absolute paths.
14872 re_direlt='/[^/][^/]*/\.\./'
14873 # Canonicalize the pathname of ld
14874 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14875 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14876 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14878 test -z "$LD" && LD="$ac_prog"
14881 # If it fails, then pretend we aren't using GCC.
14885 # If it is relative, then search for the first ld in PATH.
14886 with_gnu_ld=unknown
14889 elif test "$with_gnu_ld" = yes; then
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14891 $as_echo_n "checking for GNU ld... " >&6; }
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14894 $as_echo_n "checking for non-GNU ld... " >&6; }
14896 if ${lt_cv_path_LD+:} false; then :
14897 $as_echo_n "(cached) " >&6
14899 if test -z "$LD"; then
14900 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14901 for ac_dir in $PATH; do
14903 test -z "$ac_dir" && ac_dir=.
14904 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14905 lt_cv_path_LD="$ac_dir/$ac_prog"
14906 # Check to see if the program is GNU ld. I'd rather use --version,
14907 # but apparently some variants of GNU ld only accept -v.
14908 # Break only if it was the GNU/non-GNU ld that we prefer.
14909 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14910 *GNU* | *'with BFD'*)
14911 test "$with_gnu_ld" != no && break
14914 test "$with_gnu_ld" != yes && break
14921 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14925 LD="$lt_cv_path_LD"
14926 if test -n "$LD"; then
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14928 $as_echo "$LD" >&6; }
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14931 $as_echo "no" >&6; }
14933 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14935 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14936 if ${lt_cv_prog_gnu_ld+:} false; then :
14937 $as_echo_n "(cached) " >&6
14939 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14940 case `$LD -v 2>&1 </dev/null` in
14941 *GNU* | *'with BFD'*)
14942 lt_cv_prog_gnu_ld=yes
14945 lt_cv_prog_gnu_ld=no
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14950 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14951 with_gnu_ld=$lt_cv_prog_gnu_ld
14959 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14960 # archiving commands below assume that GNU ld is being used.
14961 if test "$with_gnu_ld" = yes; then
14962 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14963 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'
14965 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14966 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14968 # If archive_cmds runs LD, not CC, wlarc should be empty
14969 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14970 # investigate it a little bit more. (MM)
14973 # ancient GNU ld didn't support --whole-archive et. al.
14974 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14975 $GREP 'no-whole-archive' > /dev/null; then
14976 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14978 whole_archive_flag_spec_CXX=
14984 # A generic and very simple default shared library creation
14985 # command for GNU C++ for the case where it uses the native
14986 # linker, instead of GNU ld. If possible, this setting should
14987 # overridden to take advantage of the native linker features on
14988 # the platform it is being used on.
14989 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14992 # Commands to make compiler produce verbose output that lists
14993 # what "hidden" libraries, object files and flags are used when
14994 # linking a shared library.
14995 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15003 # PORTME: fill in a description of your system's C++ link characteristics
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15005 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15009 # FIXME: insert proper C++ library support
15013 if test "$host_cpu" = ia64; then
15014 # On IA64, the linker does run time linking by default, so we don't
15015 # have to do anything special.
15016 aix_use_runtimelinking=no
15017 exp_sym_flag='-Bexport'
15020 aix_use_runtimelinking=no
15022 # Test if we are trying to use run time linking or normal
15023 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15024 # need to do runtime linking.
15025 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15026 for ld_flag in $LDFLAGS; do
15029 aix_use_runtimelinking=yes
15037 exp_sym_flag='-bexport'
15038 no_entry_flag='-bnoentry'
15041 # When large executables or shared objects are built, AIX ld can
15042 # have problems creating the table of contents. If linking a library
15043 # or program results in "error TOC overflow" add -mminimal-toc to
15044 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15045 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15047 archive_cmds_CXX=''
15048 hardcode_direct_CXX=yes
15049 hardcode_direct_absolute_CXX=yes
15050 hardcode_libdir_separator_CXX=':'
15051 link_all_deplibs_CXX=yes
15052 file_list_spec_CXX='${wl}-f,'
15054 if test "$GXX" = yes; then
15055 case $host_os in aix4.[012]|aix4.[012].*)
15056 # We only want to do this on AIX 4.2 and lower, the check
15057 # below for broken collect2 doesn't work under 4.3+
15058 collect2name=`${CC} -print-prog-name=collect2`
15059 if test -f "$collect2name" &&
15060 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15062 # We have reworked collect2
15065 # We have old collect2
15066 hardcode_direct_CXX=unsupported
15067 # It fails to find uninstalled libraries when the uninstalled
15068 # path is not listed in the libpath. Setting hardcode_minus_L
15069 # to unsupported forces relinking
15070 hardcode_minus_L_CXX=yes
15071 hardcode_libdir_flag_spec_CXX='-L$libdir'
15072 hardcode_libdir_separator_CXX=
15075 shared_flag='-shared'
15076 if test "$aix_use_runtimelinking" = yes; then
15077 shared_flag="$shared_flag "'${wl}-G'
15081 if test "$host_cpu" = ia64; then
15082 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15083 # chokes on -Wl,-G. The following line is correct:
15086 if test "$aix_use_runtimelinking" = yes; then
15087 shared_flag='${wl}-G'
15089 shared_flag='${wl}-bM:SRE'
15094 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15095 # It seems that -bexpall does not export symbols beginning with
15096 # underscore (_), so it is better to generate a list of symbols to
15098 always_export_symbols_CXX=yes
15099 if test "$aix_use_runtimelinking" = yes; then
15100 # Warning - without using the other runtime loading flags (-brtl),
15101 # -berok will link without error, but may produce a broken library.
15102 allow_undefined_flag_CXX='-berok'
15103 # Determine the default libpath from the value encoded in an empty
15105 if test "${lt_cv_aix_libpath+set}" = set; then
15106 aix_libpath=$lt_cv_aix_libpath
15108 if ${lt_cv_aix_libpath__CXX+:} false; then :
15109 $as_echo_n "(cached) " >&6
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15122 if ac_fn_cxx_try_link "$LINENO"; then :
15124 lt_aix_libpath_sed='
15125 /Import File Strings/,/^$/ {
15127 s/^0 *\([^ ]*\) *$/\1/
15131 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15132 # Check for a 64-bit object if we didn't find anything.
15133 if test -z "$lt_cv_aix_libpath__CXX"; then
15134 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15137 rm -f core conftest.err conftest.$ac_objext \
15138 conftest$ac_exeext conftest.$ac_ext
15139 if test -z "$lt_cv_aix_libpath__CXX"; then
15140 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15145 aix_libpath=$lt_cv_aix_libpath__CXX
15148 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15150 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"
15152 if test "$host_cpu" = ia64; then
15153 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15154 allow_undefined_flag_CXX="-z nodefs"
15155 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"
15157 # Determine the default libpath from the value encoded in an
15158 # empty executable.
15159 if test "${lt_cv_aix_libpath+set}" = set; then
15160 aix_libpath=$lt_cv_aix_libpath
15162 if ${lt_cv_aix_libpath__CXX+:} false; then :
15163 $as_echo_n "(cached) " >&6
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15176 if ac_fn_cxx_try_link "$LINENO"; then :
15178 lt_aix_libpath_sed='
15179 /Import File Strings/,/^$/ {
15181 s/^0 *\([^ ]*\) *$/\1/
15185 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15186 # Check for a 64-bit object if we didn't find anything.
15187 if test -z "$lt_cv_aix_libpath__CXX"; then
15188 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15191 rm -f core conftest.err conftest.$ac_objext \
15192 conftest$ac_exeext conftest.$ac_ext
15193 if test -z "$lt_cv_aix_libpath__CXX"; then
15194 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15199 aix_libpath=$lt_cv_aix_libpath__CXX
15202 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15203 # Warning - without using the other run time loading flags,
15204 # -berok will link without error, but may produce a broken library.
15205 no_undefined_flag_CXX=' ${wl}-bernotok'
15206 allow_undefined_flag_CXX=' ${wl}-berok'
15207 if test "$with_gnu_ld" = yes; then
15208 # We only use this code for GNU lds that support --whole-archive.
15209 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15211 # Exported symbols can be pulled into shared objects from archives
15212 whole_archive_flag_spec_CXX='$convenience'
15214 archive_cmds_need_lc_CXX=yes
15215 # This is similar to how AIX traditionally builds its shared
15217 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'
15223 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15224 allow_undefined_flag_CXX=unsupported
15225 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15226 # support --undefined. This deserves some investigation. FIXME
15227 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15234 case $cc_basename in
15236 # FIXME: insert proper C++ library support
15242 cygwin* | mingw* | pw32* | cegcc*)
15243 case $GXX,$cc_basename in
15246 # hardcode_libdir_flag_spec is actually meaningless, as there is
15247 # no search path for DLLs.
15248 hardcode_libdir_flag_spec_CXX=' '
15249 allow_undefined_flag_CXX=unsupported
15250 always_export_symbols_CXX=yes
15251 file_list_spec_CXX='@'
15252 # Tell ltmain to make .lib files, not .a files.
15254 # Tell ltmain to make .dll files, not .so files.
15256 # FIXME: Setting linknames here is a bad hack.
15257 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15258 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15259 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15261 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15263 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15265 # The linker will not automatically build a static lib if we build a DLL.
15266 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15267 enable_shared_with_static_runtimes_CXX=yes
15269 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15270 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15271 lt_tool_outputfile="@TOOL_OUTPUT@"~
15272 case $lt_outputfile in
15275 lt_outputfile="$lt_outputfile.exe"
15276 lt_tool_outputfile="$lt_tool_outputfile.exe"
15279 func_to_tool_file "$lt_outputfile"~
15280 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15281 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15282 $RM "$lt_outputfile.manifest";
15287 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15288 # as there is no search path for DLLs.
15289 hardcode_libdir_flag_spec_CXX='-L$libdir'
15290 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15291 allow_undefined_flag_CXX=unsupported
15292 always_export_symbols_CXX=no
15293 enable_shared_with_static_runtimes_CXX=yes
15295 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15296 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'
15297 # If the export-symbols file already is a .def file (1st line
15298 # is EXPORTS), use it as is; otherwise, prepend...
15299 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15300 cp $export_symbols $output_objdir/$soname.def;
15302 echo EXPORTS > $output_objdir/$soname.def;
15303 cat $export_symbols >> $output_objdir/$soname.def;
15305 $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'
15312 darwin* | rhapsody*)
15315 archive_cmds_need_lc_CXX=no
15316 hardcode_direct_CXX=no
15317 hardcode_automatic_CXX=yes
15318 hardcode_shlibpath_var_CXX=unsupported
15319 if test "$lt_cv_ld_force_load" = "yes"; then
15320 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\"`'
15322 whole_archive_flag_spec_CXX=''
15324 link_all_deplibs_CXX=yes
15325 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15326 case $cc_basename in
15327 ifort*) _lt_dar_can_shared=yes ;;
15328 *) _lt_dar_can_shared=$GCC ;;
15330 if test "$_lt_dar_can_shared" = "yes"; then
15331 output_verbose_link_cmd=func_echo_all
15332 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}"
15333 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15334 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}"
15335 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}"
15336 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15337 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}"
15338 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}"
15348 case $cc_basename in
15350 # FIXME: insert proper C++ library support
15354 # Green Hills C++ Compiler
15355 # FIXME: insert proper C++ library support
15359 # FIXME: insert proper C++ library support
15366 # C++ shared libraries reported to be fairly broken before
15372 archive_cmds_need_lc_CXX=no
15375 freebsd* | dragonfly*)
15376 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15385 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15386 link_all_deplibs_CXX=yes
15390 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15391 hardcode_libdir_separator_CXX=:
15392 export_dynamic_flag_spec_CXX='${wl}-E'
15393 hardcode_direct_CXX=yes
15394 hardcode_minus_L_CXX=yes # Not in the search PATH,
15395 # but as the default
15396 # location of the library.
15398 case $cc_basename in
15400 # FIXME: insert proper C++ library support
15404 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'
15405 # Commands to make compiler produce verbose output that lists
15406 # what "hidden" libraries, object files and flags are used when
15407 # linking a shared library.
15409 # There doesn't appear to be a way to prevent this compiler from
15410 # explicitly linking system object files so we need to strip them
15411 # from the output so that they don't get included in the library
15413 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"'
15416 if test "$GXX" = yes; then
15417 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'
15419 # FIXME: insert proper C++ library support
15427 if test $with_gnu_ld = no; then
15428 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15429 hardcode_libdir_separator_CXX=:
15435 export_dynamic_flag_spec_CXX='${wl}-E'
15441 hardcode_direct_CXX=no
15442 hardcode_shlibpath_var_CXX=no
15445 hardcode_direct_CXX=yes
15446 hardcode_direct_absolute_CXX=yes
15447 hardcode_minus_L_CXX=yes # Not in the search PATH,
15448 # but as the default
15449 # location of the library.
15453 case $cc_basename in
15455 # FIXME: insert proper C++ library support
15461 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15464 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15467 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15470 # Commands to make compiler produce verbose output that lists
15471 # what "hidden" libraries, object files and flags are used when
15472 # linking a shared library.
15474 # There doesn't appear to be a way to prevent this compiler from
15475 # explicitly linking system object files so we need to strip them
15476 # from the output so that they don't get included in the library
15478 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"'
15481 if test "$GXX" = yes; then
15482 if test $with_gnu_ld = no; then
15485 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15488 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15491 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'
15496 # FIXME: insert proper C++ library support
15504 hardcode_direct_CXX=no
15505 hardcode_shlibpath_var_CXX=no
15506 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15507 export_dynamic_flag_spec_CXX='${wl}-E'
15508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15509 # Instead, shared libraries are loaded at an image base (0x10000000 by
15510 # default) and relocated if they conflict, which is a slow very memory
15511 # consuming and fragmenting process. To avoid this, we pick a random,
15512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15514 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'
15515 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'
15518 case $cc_basename in
15521 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'
15523 # Archives containing C++ object files must be created using
15524 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15525 # necessary to make sure instantiated templates are included
15527 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15530 if test "$GXX" = yes; then
15531 if test "$with_gnu_ld" = no; then
15532 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'
15534 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'
15537 link_all_deplibs_CXX=yes
15540 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15541 hardcode_libdir_separator_CXX=:
15542 inherit_rpath_CXX=yes
15545 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15546 case $cc_basename in
15548 # Kuck and Associates, Inc. (KAI) C++ Compiler
15550 # KCC will only create a shared library if the output file
15551 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15552 # to its proper name (with version) after linking.
15553 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'
15554 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'
15555 # Commands to make compiler produce verbose output that lists
15556 # what "hidden" libraries, object files and flags are used when
15557 # linking a shared library.
15559 # There doesn't appear to be a way to prevent this compiler from
15560 # explicitly linking system object files so we need to strip them
15561 # from the output so that they don't get included in the library
15563 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"'
15565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15566 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15568 # Archives containing C++ object files must be created using
15569 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15570 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15575 # version 8.0 and above of icpc choke on multiply defined symbols
15576 # if we add $predep_objects and $postdep_objects, however 7.1 and
15577 # earlier do not add the objects themselves.
15578 case `$CC -V 2>&1` in
15580 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15581 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'
15583 *) # Version 8.0 or newer
15586 ia64*) tmp_idyn=' -i_dynamic';;
15588 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15589 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'
15592 archive_cmds_need_lc_CXX=no
15593 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15594 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15595 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15598 # Portland Group C++ compiler
15600 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15601 prelink_cmds_CXX='tpldir=Template.dir~
15603 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15604 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15605 old_archive_cmds_CXX='tpldir=Template.dir~
15607 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15608 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15610 archive_cmds_CXX='tpldir=Template.dir~
15612 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15613 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15614 archive_expsym_cmds_CXX='tpldir=Template.dir~
15616 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15617 $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'
15619 *) # Version 6 and above use weak symbols
15620 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15621 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'
15625 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15626 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15627 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'
15631 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15632 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'
15634 runpath_var=LD_RUN_PATH
15635 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15636 hardcode_libdir_separator_CXX=:
15638 # Commands to make compiler produce verbose output that lists
15639 # what "hidden" libraries, object files and flags are used when
15640 # linking a shared library.
15642 # There doesn't appear to be a way to prevent this compiler from
15643 # explicitly linking system object files so we need to strip them
15644 # from the output so that they don't get included in the library
15646 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'
15648 xl* | mpixl* | bgxl*)
15649 # IBM XL 8.0 on PPC, with GNU ld
15650 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15651 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15652 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15653 if test "x$supports_anon_versioning" = xyes; then
15654 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15655 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15656 echo "local: *; };" >> $output_objdir/$libname.ver~
15657 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15661 case `$CC -V 2>&1 | sed 5q` in
15664 no_undefined_flag_CXX=' -zdefs'
15665 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15666 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'
15667 hardcode_libdir_flag_spec_CXX='-R$libdir'
15668 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'
15669 compiler_needs_object_CXX=yes
15671 # Not sure whether something based on
15672 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15674 output_verbose_link_cmd='func_echo_all'
15676 # Archives containing C++ object files must be created using
15677 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15678 # necessary to make sure instantiated templates are included
15680 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15688 # FIXME: insert proper C++ library support
15693 # FIXME: insert proper C++ library support
15698 case $cc_basename in
15700 # FIXME: insert proper C++ library support
15704 # FIXME: insert proper C++ library support
15711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15712 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15714 hardcode_libdir_flag_spec_CXX='-R$libdir'
15715 hardcode_direct_CXX=yes
15716 hardcode_shlibpath_var_CXX=no
15718 # Workaround some broken pre-1.5 toolchains
15719 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15727 # C++ shared libraries are fairly broken
15732 if test -f /usr/libexec/ld.so; then
15733 hardcode_direct_CXX=yes
15734 hardcode_shlibpath_var_CXX=no
15735 hardcode_direct_absolute_CXX=yes
15736 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15737 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15738 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15739 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15740 export_dynamic_flag_spec_CXX='${wl}-E'
15741 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15743 output_verbose_link_cmd=func_echo_all
15749 osf3* | osf4* | osf5*)
15750 case $cc_basename in
15752 # Kuck and Associates, Inc. (KAI) C++ Compiler
15754 # KCC will only create a shared library if the output file
15755 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15756 # to its proper name (with version) after linking.
15757 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'
15759 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15760 hardcode_libdir_separator_CXX=:
15762 # Archives containing C++ object files must be created using
15763 # the KAI C++ compiler.
15765 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15766 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15770 # Rational C++ 2.4.1
15771 # FIXME: insert proper C++ library support
15777 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15778 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'
15779 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15782 allow_undefined_flag_CXX=' -expect_unresolved \*'
15783 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'
15784 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15785 echo "-hidden">> $lib.exp~
15786 $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~
15788 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15792 hardcode_libdir_separator_CXX=:
15794 # Commands to make compiler produce verbose output that lists
15795 # what "hidden" libraries, object files and flags are used when
15796 # linking a shared library.
15798 # There doesn't appear to be a way to prevent this compiler from
15799 # explicitly linking system object files so we need to strip them
15800 # from the output so that they don't get included in the library
15802 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"'
15805 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15806 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15809 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'
15812 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'
15816 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15817 hardcode_libdir_separator_CXX=:
15819 # Commands to make compiler produce verbose output that lists
15820 # what "hidden" libraries, object files and flags are used when
15821 # linking a shared library.
15822 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15825 # FIXME: insert proper C++ library support
15833 # FIXME: insert proper C++ library support
15838 case $cc_basename in
15841 # FIXME: insert proper C++ library support
15846 # FIXME: insert proper C++ library support
15850 # FIXME: insert proper C++ library support
15857 case $cc_basename in
15859 # Sun C++ 4.2, 5.x and Centerline C++
15860 archive_cmds_need_lc_CXX=yes
15861 no_undefined_flag_CXX=' -zdefs'
15862 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15863 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15864 $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'
15866 hardcode_libdir_flag_spec_CXX='-R$libdir'
15867 hardcode_shlibpath_var_CXX=no
15869 solaris2.[0-5] | solaris2.[0-5].*) ;;
15871 # The compiler driver will combine and reorder linker options,
15872 # but understands `-z linker_flag'.
15873 # Supported since Solaris 2.6 (maybe 2.5.1?)
15874 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15877 link_all_deplibs_CXX=yes
15879 output_verbose_link_cmd='func_echo_all'
15881 # Archives containing C++ object files must be created using
15882 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15883 # necessary to make sure instantiated templates are included
15885 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15888 # Green Hills C++ Compiler
15889 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15891 # The C++ compiler must be used to create the archive.
15892 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15895 # GNU C++ compiler with Solaris linker
15896 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15897 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15898 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15899 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15900 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15901 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15903 # Commands to make compiler produce verbose output that lists
15904 # what "hidden" libraries, object files and flags are used when
15905 # linking a shared library.
15906 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15908 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15910 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15911 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15912 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15914 # Commands to make compiler produce verbose output that lists
15915 # what "hidden" libraries, object files and flags are used when
15916 # linking a shared library.
15917 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15920 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15922 solaris2.[0-5] | solaris2.[0-5].*) ;;
15924 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15932 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15933 no_undefined_flag_CXX='${wl}-z,text'
15934 archive_cmds_need_lc_CXX=no
15935 hardcode_shlibpath_var_CXX=no
15936 runpath_var='LD_RUN_PATH'
15938 case $cc_basename in
15940 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15941 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15944 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15945 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15950 sysv5* | sco3.2v5* | sco5v6*)
15951 # Note: We can NOT use -z defs as we might desire, because we do not
15952 # link with -lc, and that would cause any symbols used from libc to
15953 # always be unresolved, which means just about no library would
15954 # ever link correctly. If we're not using GNU ld we use -z text
15955 # though, which does catch some bad symbols but isn't as heavy-handed
15957 no_undefined_flag_CXX='${wl}-z,text'
15958 allow_undefined_flag_CXX='${wl}-z,nodefs'
15959 archive_cmds_need_lc_CXX=no
15960 hardcode_shlibpath_var_CXX=no
15961 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15962 hardcode_libdir_separator_CXX=':'
15963 link_all_deplibs_CXX=yes
15964 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15965 runpath_var='LD_RUN_PATH'
15967 case $cc_basename in
15969 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15970 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15971 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15972 '"$old_archive_cmds_CXX"
15973 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15974 '"$reload_cmds_CXX"
15977 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15978 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15984 case $cc_basename in
15986 # NonStop-UX NCC 3.20
15987 # FIXME: insert proper C++ library support
15991 # FIXME: insert proper C++ library support
15998 # FIXME: insert proper C++ library support
16003 # FIXME: insert proper C++ library support
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16009 $as_echo "$ld_shlibs_CXX" >&6; }
16010 test "$ld_shlibs_CXX" = no && can_build_shared=no
16016 ## There is no encapsulation within the following macros, do not change
16017 ## the running order or otherwise move them around unless you know exactly
16018 ## what you are doing...
16019 # Dependencies to place before and after the object being linked:
16020 predep_objects_CXX=
16021 postdep_objects_CXX=
16024 compiler_lib_search_path_CXX=
16026 cat > conftest.$ac_ext <<_LT_EOF
16030 Foo (void) { a = 0; }
16037 _lt_libdeps_save_CFLAGS=$CFLAGS
16038 case "$CC $CFLAGS " in #(
16039 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16040 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16044 (eval $ac_compile) 2>&5
16046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16047 test $ac_status = 0; }; then
16048 # Parse the compiler output and extract the necessary
16049 # objects, libraries and library flags.
16051 # Sentinel used to keep track of whether or not we are before
16052 # the conftest object file.
16053 pre_test_object_deps_done=no
16055 for p in `eval "$output_verbose_link_cmd"`; do
16056 case ${prev}${p} in
16059 # Some compilers place space between "-{L,R}" and the path.
16060 # Remove the space.
16061 if test $p = "-L" ||
16062 test $p = "-R"; then
16067 # Expand the sysroot to ease extracting the directories later.
16068 if test -z "$prev"; then
16070 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16071 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16072 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16076 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16078 if test "$pre_test_object_deps_done" = no; then
16081 # Internal compiler library paths should come after those
16082 # provided the user. The postdeps already come after the
16083 # user supplied libs so there is no need to process them.
16084 if test -z "$compiler_lib_search_path_CXX"; then
16085 compiler_lib_search_path_CXX="${prev}${p}"
16087 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16090 # The "-l" case would never come before the object being
16091 # linked, so don't bother handling this case.
16094 if test -z "$postdeps_CXX"; then
16095 postdeps_CXX="${prev}${p}"
16097 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16103 *.lto.$objext) ;; # Ignore GCC LTO objects
16105 # This assumes that the test object file only shows up
16106 # once in the compiler output.
16107 if test "$p" = "conftest.$objext"; then
16108 pre_test_object_deps_done=yes
16112 if test "$pre_test_object_deps_done" = no; then
16113 if test -z "$predep_objects_CXX"; then
16114 predep_objects_CXX="$p"
16116 predep_objects_CXX="$predep_objects_CXX $p"
16119 if test -z "$postdep_objects_CXX"; then
16120 postdep_objects_CXX="$p"
16122 postdep_objects_CXX="$postdep_objects_CXX $p"
16127 *) ;; # Ignore the rest.
16135 echo "libtool.m4: error: problem compiling CXX test program"
16138 $RM -f confest.$objext
16139 CFLAGS=$_lt_libdeps_save_CFLAGS
16141 # PORTME: override above test on systems where it is broken
16144 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16145 # hack all around it, let's just trust "g++" to DTRT.
16146 predep_objects_CXX=
16147 postdep_objects_CXX=
16152 case `$CC -V 2>&1 | sed 5q` in
16156 # The more standards-conforming stlport4 library is
16157 # incompatible with the Cstd library. Avoid specifying
16158 # it if it's in CXXFLAGS. Ignore libCrun as
16159 # -library=stlport4 depends on it.
16160 case " $CXX $CXXFLAGS " in
16161 *" -library=stlport4 "*)
16162 solaris_use_stlport4=yes
16166 if test "$solaris_use_stlport4" != yes; then
16167 postdeps_CXX='-library=Cstd -library=Crun'
16174 case $cc_basename in
16176 # The more standards-conforming stlport4 library is
16177 # incompatible with the Cstd library. Avoid specifying
16178 # it if it's in CXXFLAGS. Ignore libCrun as
16179 # -library=stlport4 depends on it.
16180 case " $CXX $CXXFLAGS " in
16181 *" -library=stlport4 "*)
16182 solaris_use_stlport4=yes
16186 # Adding this requires a known-good setup of shared libraries for
16187 # Sun compiler versions before 5.6, else PIC objects from an old
16188 # archive will be linked into the output, leading to subtle bugs.
16189 if test "$solaris_use_stlport4" != yes; then
16190 postdeps_CXX='-library=Cstd -library=Crun'
16198 case " $postdeps_CXX " in
16199 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16201 compiler_lib_search_dirs_CXX=
16202 if test -n "${compiler_lib_search_path_CXX}"; then
16203 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16236 lt_prog_compiler_wl_CXX=
16237 lt_prog_compiler_pic_CXX=
16238 lt_prog_compiler_static_CXX=
16241 # C++ specific cases for pic, static, wl, etc.
16242 if test "$GXX" = yes; then
16243 lt_prog_compiler_wl_CXX='-Wl,'
16244 lt_prog_compiler_static_CXX='-static'
16248 # All AIX code is PIC.
16249 if test "$host_cpu" = ia64; then
16250 # AIX 5 now supports IA64 processor
16251 lt_prog_compiler_static_CXX='-Bstatic'
16258 # see comment about AmigaOS4 .so support
16259 lt_prog_compiler_pic_CXX='-fPIC'
16262 # FIXME: we need at least 68020 code to build shared libraries, but
16263 # adding the `-m68020' flag to GCC prevents building anything better,
16265 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16270 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16271 # PIC is the default for these OSes.
16273 mingw* | cygwin* | os2* | pw32* | cegcc*)
16274 # This hack is so that the source file can tell whether it is being
16275 # built for inclusion in a dll (and should export symbols for example).
16276 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16277 # (--disable-auto-import) libraries
16278 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16280 darwin* | rhapsody*)
16281 # PIC is the default on this platform
16282 # Common symbols not allowed in MH_DYLIB files
16283 lt_prog_compiler_pic_CXX='-fno-common'
16286 # DJGPP does not support shared libraries at all
16287 lt_prog_compiler_pic_CXX=
16290 # PIC is the default for Haiku.
16291 # The "-static" flag exists, but is broken.
16292 lt_prog_compiler_static_CXX=
16295 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16296 # Instead, we relocate shared libraries at runtime.
16299 if test -d /usr/nec; then
16300 lt_prog_compiler_pic_CXX=-Kconform_pic
16304 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16305 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16306 # sets the default TLS model and affects inlining.
16311 lt_prog_compiler_pic_CXX='-fPIC'
16316 # QNX uses GNU C++, but need to define -shared option too, otherwise
16317 # it will coredump.
16318 lt_prog_compiler_pic_CXX='-fPIC -shared'
16321 lt_prog_compiler_pic_CXX='-fPIC'
16327 # All AIX code is PIC.
16328 if test "$host_cpu" = ia64; then
16329 # AIX 5 now supports IA64 processor
16330 lt_prog_compiler_static_CXX='-Bstatic'
16332 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16336 case $cc_basename in
16338 # Green Hills C++ Compiler
16339 # _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"
16343 mingw* | cygwin* | os2* | pw32* | cegcc*)
16344 # This hack is so that the source file can tell whether it is being
16345 # built for inclusion in a dll (and should export symbols for example).
16346 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16349 case $cc_basename in
16351 lt_prog_compiler_pic_CXX='-KPIC'
16354 # Green Hills C++ Compiler
16355 lt_prog_compiler_pic_CXX='-pic'
16361 freebsd* | dragonfly*)
16362 # FreeBSD uses GNU C++
16364 hpux9* | hpux10* | hpux11*)
16365 case $cc_basename in
16367 lt_prog_compiler_wl_CXX='-Wl,'
16368 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16369 if test "$host_cpu" != ia64; then
16370 lt_prog_compiler_pic_CXX='+Z'
16374 lt_prog_compiler_wl_CXX='-Wl,'
16375 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16381 lt_prog_compiler_pic_CXX='+Z'
16390 # This is c89, which is MS Visual C++ (no shared libs)
16391 # Anyone wants to do a port?
16393 irix5* | irix6* | nonstopux*)
16394 case $cc_basename in
16396 lt_prog_compiler_wl_CXX='-Wl,'
16397 lt_prog_compiler_static_CXX='-non_shared'
16398 # CC pic flag -KPIC is the default.
16404 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16405 case $cc_basename in
16408 lt_prog_compiler_wl_CXX='--backend -Wl,'
16409 lt_prog_compiler_pic_CXX='-fPIC'
16412 # old Intel C++ for x86_64 which still supported -KPIC.
16413 lt_prog_compiler_wl_CXX='-Wl,'
16414 lt_prog_compiler_pic_CXX='-KPIC'
16415 lt_prog_compiler_static_CXX='-static'
16418 # Intel C++, used to be incompatible with GCC.
16419 # ICC 10 doesn't accept -KPIC any more.
16420 lt_prog_compiler_wl_CXX='-Wl,'
16421 lt_prog_compiler_pic_CXX='-fPIC'
16422 lt_prog_compiler_static_CXX='-static'
16425 # Portland Group C++ compiler
16426 lt_prog_compiler_wl_CXX='-Wl,'
16427 lt_prog_compiler_pic_CXX='-fpic'
16428 lt_prog_compiler_static_CXX='-Bstatic'
16432 # Make sure the PIC flag is empty. It appears that all Alpha
16433 # Linux and Compaq Tru64 Unix objects are PIC.
16434 lt_prog_compiler_pic_CXX=
16435 lt_prog_compiler_static_CXX='-non_shared'
16437 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16438 # IBM XL 8.0, 9.0 on PPC and BlueGene
16439 lt_prog_compiler_wl_CXX='-Wl,'
16440 lt_prog_compiler_pic_CXX='-qpic'
16441 lt_prog_compiler_static_CXX='-qstaticlink'
16444 case `$CC -V 2>&1 | sed 5q` in
16447 lt_prog_compiler_pic_CXX='-KPIC'
16448 lt_prog_compiler_static_CXX='-Bstatic'
16449 lt_prog_compiler_wl_CXX='-Qoption ld '
16460 case $cc_basename in
16462 lt_prog_compiler_pic_CXX='-W c,exportall'
16471 # QNX uses GNU C++, but need to define -shared option too, otherwise
16472 # it will coredump.
16473 lt_prog_compiler_pic_CXX='-fPIC -shared'
16475 osf3* | osf4* | osf5*)
16476 case $cc_basename in
16478 lt_prog_compiler_wl_CXX='--backend -Wl,'
16481 # Rational C++ 2.4.1
16482 lt_prog_compiler_pic_CXX='-pic'
16485 # Digital/Compaq C++
16486 lt_prog_compiler_wl_CXX='-Wl,'
16487 # Make sure the PIC flag is empty. It appears that all Alpha
16488 # Linux and Compaq Tru64 Unix objects are PIC.
16489 lt_prog_compiler_pic_CXX=
16490 lt_prog_compiler_static_CXX='-non_shared'
16499 case $cc_basename in
16501 # Sun C++ 4.2, 5.x and Centerline C++
16502 lt_prog_compiler_pic_CXX='-KPIC'
16503 lt_prog_compiler_static_CXX='-Bstatic'
16504 lt_prog_compiler_wl_CXX='-Qoption ld '
16507 # Green Hills C++ Compiler
16508 lt_prog_compiler_pic_CXX='-PIC'
16515 case $cc_basename in
16518 lt_prog_compiler_pic_CXX='-pic'
16519 lt_prog_compiler_static_CXX='-Bstatic'
16523 lt_prog_compiler_pic_CXX='-pic'
16529 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16530 case $cc_basename in
16532 lt_prog_compiler_wl_CXX='-Wl,'
16533 lt_prog_compiler_pic_CXX='-KPIC'
16534 lt_prog_compiler_static_CXX='-Bstatic'
16539 case $cc_basename in
16541 # NonStop-UX NCC 3.20
16542 lt_prog_compiler_pic_CXX='-KPIC'
16551 lt_prog_compiler_can_build_shared_CXX=no
16557 # For platforms which do not support PIC, -DPIC is meaningless:
16559 lt_prog_compiler_pic_CXX=
16562 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16567 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16568 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16569 $as_echo_n "(cached) " >&6
16571 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16574 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16575 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16578 # Check to make sure the PIC flag actually works.
16580 if test -n "$lt_prog_compiler_pic_CXX"; then
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16582 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16583 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16584 $as_echo_n "(cached) " >&6
16586 lt_cv_prog_compiler_pic_works_CXX=no
16587 ac_outfile=conftest.$ac_objext
16588 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16589 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16590 # Insert the option either (1) after the last *FLAGS variable, or
16591 # (2) before a word containing "conftest.", or (3) at the end.
16592 # Note that $ac_compile itself does not contain backslashes and begins
16593 # with a dollar sign (not a hyphen), so the echo should work correctly.
16594 # The option is referenced via a variable to avoid confusing sed.
16595 lt_compile=`echo "$ac_compile" | $SED \
16596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16598 -e 's:$: $lt_compiler_flag:'`
16599 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16600 (eval "$lt_compile" 2>conftest.err)
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 if (exit $ac_status) && test -s "$ac_outfile"; then
16605 # The compiler can only warn and ignore the option if not recognized
16606 # So say no if there are warnings other than the usual output.
16607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16608 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16609 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16610 lt_cv_prog_compiler_pic_works_CXX=yes
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16617 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16619 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16620 case $lt_prog_compiler_pic_CXX in
16622 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16625 lt_prog_compiler_pic_CXX=
16626 lt_prog_compiler_can_build_shared_CXX=no
16636 # Check to make sure the static flag actually works.
16638 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16640 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16641 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16642 $as_echo_n "(cached) " >&6
16644 lt_cv_prog_compiler_static_works_CXX=no
16645 save_LDFLAGS="$LDFLAGS"
16646 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16647 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16648 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16649 # The linker can only warn and ignore the option if not recognized
16650 # So say no if there are warnings
16651 if test -s conftest.err; then
16652 # Append any errors to the config.log.
16653 cat conftest.err 1>&5
16654 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16655 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16656 if diff conftest.exp conftest.er2 >/dev/null; then
16657 lt_cv_prog_compiler_static_works_CXX=yes
16660 lt_cv_prog_compiler_static_works_CXX=yes
16664 LDFLAGS="$save_LDFLAGS"
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16668 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16670 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16673 lt_prog_compiler_static_CXX=
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16681 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16682 $as_echo_n "(cached) " >&6
16684 lt_cv_prog_compiler_c_o_CXX=no
16685 $RM -r conftest 2>/dev/null
16689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16691 lt_compiler_flag="-o out/conftest2.$ac_objext"
16692 # Insert the option either (1) after the last *FLAGS variable, or
16693 # (2) before a word containing "conftest.", or (3) at the end.
16694 # Note that $ac_compile itself does not contain backslashes and begins
16695 # with a dollar sign (not a hyphen), so the echo should work correctly.
16696 lt_compile=`echo "$ac_compile" | $SED \
16697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16699 -e 's:$: $lt_compiler_flag:'`
16700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16701 (eval "$lt_compile" 2>out/conftest.err)
16703 cat out/conftest.err >&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16707 # The compiler can only warn and ignore the option if not recognized
16708 # So say no if there are warnings
16709 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16710 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16711 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16712 lt_cv_prog_compiler_c_o_CXX=yes
16717 # SGI C++ compiler will create directory out/ii_files/ for
16718 # template instantiation
16719 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16720 $RM out/* && rmdir out
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16727 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16733 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16734 $as_echo_n "(cached) " >&6
16736 lt_cv_prog_compiler_c_o_CXX=no
16737 $RM -r conftest 2>/dev/null
16741 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16743 lt_compiler_flag="-o out/conftest2.$ac_objext"
16744 # Insert the option either (1) after the last *FLAGS variable, or
16745 # (2) before a word containing "conftest.", or (3) at the end.
16746 # Note that $ac_compile itself does not contain backslashes and begins
16747 # with a dollar sign (not a hyphen), so the echo should work correctly.
16748 lt_compile=`echo "$ac_compile" | $SED \
16749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16751 -e 's:$: $lt_compiler_flag:'`
16752 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16753 (eval "$lt_compile" 2>out/conftest.err)
16755 cat out/conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16759 # The compiler can only warn and ignore the option if not recognized
16760 # So say no if there are warnings
16761 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16762 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16763 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16764 lt_cv_prog_compiler_c_o_CXX=yes
16769 # SGI C++ compiler will create directory out/ii_files/ for
16770 # template instantiation
16771 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16772 $RM out/* && rmdir out
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16779 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16784 hard_links="nottested"
16785 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16786 # do not overwrite the value of need_locks provided by the user
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16788 $as_echo_n "checking if we can lock with hard links... " >&6; }
16791 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16793 ln conftest.a conftest.b 2>&5 || hard_links=no
16794 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16796 $as_echo "$hard_links" >&6; }
16797 if test "$hard_links" = no; then
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16799 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16809 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16811 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16812 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16815 # If we're using GNU nm, then we don't want the "-C" option.
16816 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16817 # Also, AIX nm treats weak defined symbols like other global defined
16818 # symbols, whereas GNU nm marks them as "W".
16819 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16820 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'
16822 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'
16826 export_symbols_cmds_CXX="$ltdll_cmds"
16828 cygwin* | mingw* | cegcc*)
16829 case $cc_basename in
16832 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'
16833 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16838 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16843 $as_echo "$ld_shlibs_CXX" >&6; }
16844 test "$ld_shlibs_CXX" = no && can_build_shared=no
16846 with_gnu_ld_CXX=$with_gnu_ld
16854 # Do we need to explicitly link libc?
16856 case "x$archive_cmds_need_lc_CXX" in
16858 # Assume -lc should be added
16859 archive_cmds_need_lc_CXX=yes
16861 if test "$enable_shared" = yes && test "$GCC" = yes; then
16862 case $archive_cmds_CXX in
16864 # FIXME: we may have to deal with multi-command sequences.
16867 # Test whether the compiler implicitly links with -lc since on some
16868 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16869 # to ld, don't add -lc before -lgcc.
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16871 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16872 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16873 $as_echo_n "(cached) " >&6
16876 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16879 (eval $ac_compile) 2>&5
16881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16882 test $ac_status = 0; } 2>conftest.err; then
16885 libobjs=conftest.$ac_objext
16887 wl=$lt_prog_compiler_wl_CXX
16888 pic_flag=$lt_prog_compiler_pic_CXX
16894 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16895 allow_undefined_flag_CXX=
16896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16897 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16900 test $ac_status = 0; }
16902 lt_cv_archive_cmds_need_lc_CXX=no
16904 lt_cv_archive_cmds_need_lc_CXX=yes
16906 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16908 cat conftest.err 1>&5
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16914 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16915 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16986 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16988 library_names_spec=
16989 libname_spec='lib$name'
16993 postuninstall_cmds=
16997 shlibpath_overrides_runpath=unknown
16999 dynamic_linker="$host_os ld.so"
17000 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17001 need_lib_prefix=unknown
17002 hardcode_into_libs=no
17004 # when you set need_version to no, make sure it does not cause -set_version
17005 # flags to be left without arguments
17006 need_version=unknown
17011 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17012 shlibpath_var=LIBPATH
17014 # AIX 3 has no versioning support, so we append a major version to the name.
17015 soname_spec='${libname}${release}${shared_ext}$major'
17022 hardcode_into_libs=yes
17023 if test "$host_cpu" = ia64; then
17024 # AIX 5 supports IA64
17025 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17026 shlibpath_var=LD_LIBRARY_PATH
17028 # With GCC up to 2.95.x, collect2 would create an import file
17029 # for dependence libraries. The import file would start with
17030 # the line `#! .'. This would cause the generated library to
17031 # depend on `.', always an invalid library. This was fixed in
17032 # development snapshots of GCC prior to 3.0.
17034 aix4 | aix4.[01] | aix4.[01].*)
17035 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17037 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17040 can_build_shared=no
17044 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17045 # soname into executable. Probably we can add versioning support to
17046 # collect2, so additional links can be useful in future.
17047 if test "$aix_use_runtimelinking" = yes; then
17048 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17049 # instead of lib<name>.a to let people know that these are not
17050 # typical AIX shared libraries.
17051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17053 # We preserve .a as extension for shared libraries through AIX4.2
17054 # and later when we are not doing run time linking.
17055 library_names_spec='${libname}${release}.a $libname.a'
17056 soname_spec='${libname}${release}${shared_ext}$major'
17058 shlibpath_var=LIBPATH
17065 # Since July 2007 AmigaOS4 officially supports .so libraries.
17066 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17070 library_names_spec='$libname.ixlibrary $libname.a'
17071 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17072 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'
17078 library_names_spec='${libname}${shared_ext}'
17079 dynamic_linker="$host_os ld.so"
17080 shlibpath_var=LIBRARY_PATH
17086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17087 soname_spec='${libname}${release}${shared_ext}$major'
17088 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17089 shlibpath_var=LD_LIBRARY_PATH
17090 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17091 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17092 # the default ld.so.conf also contains /usr/contrib/lib and
17093 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17094 # libtool to hard-code these into programs
17097 cygwin* | mingw* | pw32* | cegcc*)
17098 version_type=windows
17103 case $GCC,$cc_basename in
17106 library_names_spec='$libname.dll.a'
17107 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17108 postinstall_cmds='base_file=`basename \${file}`~
17109 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17110 dldir=$destdir/`dirname \$dlpath`~
17111 test -d \$dldir || mkdir -p \$dldir~
17112 $install_prog $dir/$dlname \$dldir/$dlname~
17113 chmod a+x \$dldir/$dlname~
17114 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17115 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17117 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17118 dlpath=$dir/\$dldll~
17120 shlibpath_overrides_runpath=yes
17124 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17125 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17129 # MinGW DLLs use traditional 'lib' prefix
17130 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17133 # pw32 DLLs use 'pw' prefix rather than 'lib'
17134 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17137 dynamic_linker='Win32 ld.exe'
17142 libname_spec='$name'
17143 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17144 library_names_spec='${libname}.dll.lib'
17148 sys_lib_search_path_spec=
17151 for lt_path in $LIB
17154 # Let DOS variable expansion print the short 8.3 style file name.
17155 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17156 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17159 # Convert to MSYS style.
17160 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17163 # Convert to unix form, then to dos form, then back to unix form
17164 # but this time dos style (no spaces!) so that the unix form looks
17165 # like /cygdrive/c/PROGRA~1:/cygdr...
17166 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17167 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17168 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17171 sys_lib_search_path_spec="$LIB"
17172 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17173 # It is most probably a Windows format PATH.
17174 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17176 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17178 # FIXME: find the short name or the path components, as spaces are
17179 # common. (e.g. "Program Files" -> "PROGRA~1")
17183 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17184 postinstall_cmds='base_file=`basename \${file}`~
17185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17186 dldir=$destdir/`dirname \$dlpath`~
17187 test -d \$dldir || mkdir -p \$dldir~
17188 $install_prog $dir/$dlname \$dldir/$dlname'
17189 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17190 dlpath=$dir/\$dldll~
17192 shlibpath_overrides_runpath=yes
17193 dynamic_linker='Win32 link.exe'
17197 # Assume MSVC wrapper
17198 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17199 dynamic_linker='Win32 ld.exe'
17202 # FIXME: first we should search . and the directory the executable is in
17206 darwin* | rhapsody*)
17207 dynamic_linker="$host_os dyld"
17208 version_type=darwin
17211 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17212 soname_spec='${libname}${release}${major}$shared_ext'
17213 shlibpath_overrides_runpath=yes
17214 shlibpath_var=DYLD_LIBRARY_PATH
17215 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17217 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17225 soname_spec='${libname}${release}${shared_ext}$major'
17226 shlibpath_var=LD_LIBRARY_PATH
17233 freebsd* | dragonfly*)
17234 # DragonFly does not have aout. When/if they implement a new
17235 # versioning mechanism, adjust this.
17236 if test -x /usr/bin/objformat; then
17237 objformat=`/usr/bin/objformat`
17240 freebsd[123]*) objformat=aout ;;
17241 *) objformat=elf ;;
17244 version_type=freebsd-$objformat
17245 case $version_type in
17247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17252 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17256 shlibpath_var=LD_LIBRARY_PATH
17259 shlibpath_overrides_runpath=yes
17261 freebsd3.[01]* | freebsdelf3.[01]*)
17262 shlibpath_overrides_runpath=yes
17263 hardcode_into_libs=yes
17265 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17266 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17267 shlibpath_overrides_runpath=no
17268 hardcode_into_libs=yes
17270 *) # from 4.6 on, and DragonFly
17271 shlibpath_overrides_runpath=yes
17272 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
17284 hardcode_into_libs=yes
17291 dynamic_linker="$host_os runtime_loader"
17292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17293 soname_spec='${libname}${release}${shared_ext}$major'
17294 shlibpath_var=LIBRARY_PATH
17295 shlibpath_overrides_runpath=yes
17296 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17297 hardcode_into_libs=yes
17300 hpux9* | hpux10* | hpux11*)
17301 # Give a soname corresponding to the major version so that dld.sl refuses to
17302 # link against other versions.
17309 hardcode_into_libs=yes
17310 dynamic_linker="$host_os dld.so"
17311 shlibpath_var=LD_LIBRARY_PATH
17312 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17314 soname_spec='${libname}${release}${shared_ext}$major'
17315 if test "X$HPUX_IA64_MODE" = X32; then
17316 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17318 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17320 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17324 hardcode_into_libs=yes
17325 dynamic_linker="$host_os dld.sl"
17326 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17327 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17329 soname_spec='${libname}${release}${shared_ext}$major'
17330 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17331 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17335 dynamic_linker="$host_os dld.sl"
17336 shlibpath_var=SHLIB_PATH
17337 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17339 soname_spec='${libname}${release}${shared_ext}$major'
17342 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17343 postinstall_cmds='chmod 555 $lib'
17344 # or fails outright, so override atomically:
17345 install_override_mode=555
17352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17353 soname_spec='${libname}${release}${shared_ext}$major'
17354 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17355 shlibpath_var=LD_LIBRARY_PATH
17356 shlibpath_overrides_runpath=no
17357 hardcode_into_libs=yes
17360 irix5* | irix6* | nonstopux*)
17362 nonstopux*) version_type=nonstopux ;;
17364 if test "$lt_cv_prog_gnu_ld" = yes; then
17372 soname_spec='${libname}${release}${shared_ext}$major'
17373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17375 irix5* | nonstopux*)
17376 libsuff= shlibsuff=
17379 case $LD in # libtool.m4 will add one of these switches to LD
17380 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17381 libsuff= shlibsuff= libmagic=32-bit;;
17382 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17383 libsuff=32 shlibsuff=N32 libmagic=N32;;
17384 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17385 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17386 *) libsuff= shlibsuff= libmagic=never-match;;
17390 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17391 shlibpath_overrides_runpath=no
17392 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17393 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17394 hardcode_into_libs=yes
17397 # No shared lib support for Linux oldld, aout, or coff.
17398 linux*oldld* | linux*aout* | linux*coff*)
17402 # This must be Linux ELF.
17403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17408 soname_spec='${libname}${release}${shared_ext}$major'
17409 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17410 shlibpath_var=LD_LIBRARY_PATH
17411 shlibpath_overrides_runpath=no
17413 # Some binutils ld are patched to set DT_RUNPATH
17414 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17415 $as_echo_n "(cached) " >&6
17417 lt_cv_shlibpath_overrides_runpath=no
17418 save_LDFLAGS=$LDFLAGS
17419 save_libdir=$libdir
17420 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17421 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17433 if ac_fn_cxx_try_link "$LINENO"; then :
17434 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17435 lt_cv_shlibpath_overrides_runpath=yes
17438 rm -f core conftest.err conftest.$ac_objext \
17439 conftest$ac_exeext conftest.$ac_ext
17440 LDFLAGS=$save_LDFLAGS
17441 libdir=$save_libdir
17445 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17447 # This implies no fast_install, which is unacceptable.
17448 # Some rework will be needed to allow for fast_install
17449 # before this can be enabled.
17450 hardcode_into_libs=yes
17452 # Append ld.so.conf contents to the search path
17453 if test -f /etc/ld.so.conf; then
17454 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' ' '`
17455 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17458 # We used to test for /lib/ld.so.1 and disable shared libraries on
17459 # powerpc, because MkLinux only supported shared libraries with the
17460 # GNU dynamic linker. Since this was broken with cross compilers,
17461 # most powerpc-linux boxes support dynamic linking these days and
17462 # people can always --disable-shared, the test was removed, and we
17463 # assume the GNU/Linux dynamic linker is in use.
17464 dynamic_linker='GNU/Linux ld.so'
17471 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17474 dynamic_linker='NetBSD (a.out) ld.so'
17476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17477 soname_spec='${libname}${release}${shared_ext}$major'
17478 dynamic_linker='NetBSD ld.elf_so'
17480 shlibpath_var=LD_LIBRARY_PATH
17481 shlibpath_overrides_runpath=yes
17482 hardcode_into_libs=yes
17487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17488 shlibpath_var=LD_LIBRARY_PATH
17489 shlibpath_overrides_runpath=yes
17496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17497 soname_spec='${libname}${release}${shared_ext}$major'
17498 shlibpath_var=LD_LIBRARY_PATH
17499 shlibpath_overrides_runpath=no
17500 hardcode_into_libs=yes
17501 dynamic_linker='ldqnx.so'
17506 sys_lib_dlsearch_path_spec="/usr/lib"
17508 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17510 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17511 *) need_version=no ;;
17513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17514 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17515 shlibpath_var=LD_LIBRARY_PATH
17516 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17518 openbsd2.[89] | openbsd2.[89].*)
17519 shlibpath_overrides_runpath=no
17522 shlibpath_overrides_runpath=yes
17526 shlibpath_overrides_runpath=yes
17531 libname_spec='$name'
17534 library_names_spec='$libname${shared_ext} $libname.a'
17535 dynamic_linker='OS/2 ld.exe'
17536 shlibpath_var=LIBPATH
17539 osf3* | osf4* | osf5*)
17543 soname_spec='${libname}${release}${shared_ext}$major'
17544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17545 shlibpath_var=LD_LIBRARY_PATH
17546 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17547 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17559 soname_spec='${libname}${release}${shared_ext}$major'
17560 shlibpath_var=LD_LIBRARY_PATH
17561 shlibpath_overrides_runpath=yes
17562 hardcode_into_libs=yes
17563 # ldd complains unless libraries are executable
17564 postinstall_cmds='chmod +x $lib'
17569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17570 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17571 shlibpath_var=LD_LIBRARY_PATH
17572 shlibpath_overrides_runpath=yes
17573 if test "$with_gnu_ld" = yes; then
17581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17582 soname_spec='${libname}${release}${shared_ext}$major'
17583 shlibpath_var=LD_LIBRARY_PATH
17584 case $host_vendor in
17586 shlibpath_overrides_runpath=no
17588 runpath_var=LD_RUN_PATH
17596 shlibpath_overrides_runpath=no
17597 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17603 if test -d /usr/nec ;then
17605 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17606 soname_spec='$libname${shared_ext}.$major'
17607 shlibpath_var=LD_LIBRARY_PATH
17611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17612 version_type=freebsd-elf
17615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17616 soname_spec='${libname}${release}${shared_ext}$major'
17617 shlibpath_var=LD_LIBRARY_PATH
17618 shlibpath_overrides_runpath=yes
17619 hardcode_into_libs=yes
17620 if test "$with_gnu_ld" = yes; then
17621 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17623 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17626 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17630 sys_lib_dlsearch_path_spec='/usr/lib'
17634 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17639 shlibpath_var=LD_LIBRARY_PATH
17640 shlibpath_overrides_runpath=no
17641 hardcode_into_libs=yes
17646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17647 soname_spec='${libname}${release}${shared_ext}$major'
17648 shlibpath_var=LD_LIBRARY_PATH
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17656 $as_echo "$dynamic_linker" >&6; }
17657 test "$dynamic_linker" = no && can_build_shared=no
17659 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17660 if test "$GCC" = yes; then
17661 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17664 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17665 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17667 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17668 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17709 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17710 hardcode_action_CXX=
17711 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17712 test -n "$runpath_var_CXX" ||
17713 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17715 # We can hardcode non-existent directories.
17716 if test "$hardcode_direct_CXX" != no &&
17717 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17718 # have to relink, otherwise we might link with an installed library
17719 # when we should be linking with a yet-to-be-installed one
17720 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17721 test "$hardcode_minus_L_CXX" != no; then
17722 # Linking always hardcodes the temporary library directory.
17723 hardcode_action_CXX=relink
17725 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17726 hardcode_action_CXX=immediate
17729 # We cannot hardcode anything, or else we can only hardcode existing
17731 hardcode_action_CXX=unsupported
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17734 $as_echo "$hardcode_action_CXX" >&6; }
17736 if test "$hardcode_action_CXX" = relink ||
17737 test "$inherit_rpath_CXX" = yes; then
17738 # Fast installation is not supported
17739 enable_fast_install=no
17740 elif test "$shlibpath_overrides_runpath" = yes ||
17741 test "$enable_shared" = no; then
17742 # Fast installation is not necessary
17743 enable_fast_install=needless
17752 fi # test -n "$compiler"
17755 CFLAGS=$lt_save_CFLAGS
17759 with_gnu_ld=$lt_save_with_gnu_ld
17760 lt_cv_path_LDCXX=$lt_cv_path_LD
17761 lt_cv_path_LD=$lt_save_path_LD
17762 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17763 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17764 fi # test "$_lt_caught_CXX_error" != yes
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775 if test "$GCC" = "yes" ; then
17776 # AC_HAVE_GCC_VERSION(4,0,0,0,
17778 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17779 # [Define to enable class visibility control in gcc.])
17780 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17781 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17783 CFLAGS="$GCC_CFLAGS"
17784 CXXFLAGS="$GCC_CXXFLAGS"
17786 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17787 case "${host_cpu}-${host_os}" in
17789 if test "$CXX" = "CC" ; then
17790 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17796 # Checks for typedefs, structures, and compiler characteristics.
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17798 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17799 if ${ac_cv_c_const+:} false; then :
17800 $as_echo_n "(cached) " >&6
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17808 /* FIXME: Include the comments suggested by Paul. */
17809 #ifndef __cplusplus
17810 /* Ultrix mips cc rejects this. */
17811 typedef int charset[2];
17813 /* SunOS 4.1.1 cc rejects this. */
17814 char const *const *pcpcc;
17816 /* NEC SVR4.0.2 mips cc rejects this. */
17817 struct point {int x, y;};
17818 static struct point const zero = {0,0};
17819 /* AIX XL C 1.02.0.0 rejects this.
17820 It does not let you subtract one const X* pointer from another in
17821 an arm of an if-expression whose if-part is not a constant
17823 const char *g = "string";
17824 pcpcc = &g + (g ? g-g : 0);
17825 /* HPUX 7.0 cc rejects these. */
17827 ppc = (char**) pcpcc;
17828 pcpcc = (char const *const *) ppc;
17829 { /* SCO 3.2v4 cc rejects this. */
17831 char const *s = 0 ? (char *) 0 : (char const *) 0;
17836 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17837 int x[] = {25, 17};
17838 const int *foo = &x[0];
17841 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17842 typedef const int *iptr;
17846 { /* AIX XL C 1.02.0.0 rejects this saying
17847 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17848 struct s { int j; const int *ap[3]; };
17849 struct s *b; b->j = 5;
17851 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17852 const int foo = 10;
17853 if (!foo) return 0;
17855 return !cs[0] && !zero.x;
17862 if ac_fn_c_try_compile "$LINENO"; then :
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17870 $as_echo "$ac_cv_c_const" >&6; }
17871 if test $ac_cv_c_const = no; then
17873 $as_echo "#define const /**/" >>confdefs.h
17877 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17878 if test "x$ac_cv_type_size_t" = xyes; then :
17882 cat >>confdefs.h <<_ACEOF
17883 #define size_t unsigned int
17889 # Checks for library functions.
17890 for ac_func in strchr strdup strstr
17892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17895 cat >>confdefs.h <<_ACEOF
17896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17902 # The cast to long int works around a bug in the HP C Compiler
17903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17905 # This bug is HP SR number 8606223364.
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17907 $as_echo_n "checking size of time_t... " >&6; }
17908 if ${ac_cv_sizeof_time_t+:} false; then :
17909 $as_echo_n "(cached) " >&6
17911 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
17914 if test "$ac_cv_type_time_t" = yes; then
17915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17917 as_fn_error 77 "cannot compute sizeof (time_t)
17918 See \`config.log' for more details" "$LINENO" 5; }
17920 ac_cv_sizeof_time_t=0
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17926 $as_echo "$ac_cv_sizeof_time_t" >&6; }
17930 cat >>confdefs.h <<_ACEOF
17931 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
17936 # checks for pthreads
17940 ac_cpp='$CPP $CPPFLAGS'
17941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17947 # We used to check for pthread.h first, but this fails if pthread.h
17948 # requires special compiler flags (e.g. on True64 or Sequent).
17949 # It gets checked for in the link test anyway.
17951 # First of all, check if the user has set any of the PTHREAD_LIBS,
17952 # etcetera environment variables, and if threads linking works using
17954 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17955 save_CFLAGS="$CFLAGS"
17956 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17958 LIBS="$PTHREAD_LIBS $LIBS"
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17960 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17964 /* Override any GCC internal prototype to avoid an error.
17965 Use char because int might match the return type of a GCC
17966 builtin and then its argument prototype would still apply. */
17970 char pthread_join ();
17974 return pthread_join ();
17979 if ac_fn_c_try_link "$LINENO"; then :
17982 rm -f core conftest.err conftest.$ac_objext \
17983 conftest$ac_exeext conftest.$ac_ext
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17985 $as_echo "$acx_pthread_ok" >&6; }
17986 if test x"$acx_pthread_ok" = xno; then
17991 CFLAGS="$save_CFLAGS"
17994 # We must check for the threads library under a number of different
17995 # names; the ordering is very important because some systems
17996 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17997 # libraries is broken (non-POSIX).
17999 # Create a list of thread flags to try. Items starting with a "-" are
18000 # C compiler flags, and other items are library names, except for "none"
18001 # which indicates that we try without any flags at all, and "pthread-config"
18002 # which is a program returning the flags for the Pth emulation library.
18004 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18006 # The ordering *is* (sometimes) important. Some notes on the
18007 # individual items follow:
18009 # pthreads: AIX (must check this before -lpthread)
18010 # none: in case threads are in libc; should be tried before -Kthread and
18011 # other compiler flags to prevent continual compiler warnings
18012 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18013 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18014 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18015 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18016 # -pthreads: Solaris/gcc
18017 # -mthreads: Mingw32/gcc, Lynx/gcc
18018 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18019 # doesn't hurt to check since this sometimes defines pthreads too;
18020 # also defines -D_REENTRANT)
18021 # ... -mt is also the pthreads flag for HP/aCC
18022 # pthread: Linux, etcetera
18023 # --thread-safe: KAI C++
18024 # pthread-config: use pthread-config program (for GNU Pth library)
18026 case "${host_cpu}-${host_os}" in
18029 # On Solaris (at least, for some versions), libc contains stubbed
18030 # (non-functional) versions of the pthreads routines, so link-based
18031 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
18032 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18033 # a function called by this macro, so we could check for that, but
18034 # who knows whether they'll stub that too in a future libc.) So,
18035 # we'll just look for -pthreads and -lpthread first:
18037 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18041 if test x"$acx_pthread_ok" = xno; then
18042 for flag in $acx_pthread_flags; do
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18047 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18052 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18053 PTHREAD_CFLAGS="$flag"
18057 # Extract the first word of "pthread-config", so it can be a program name with args.
18058 set dummy pthread-config; ac_word=$2
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18060 $as_echo_n "checking for $ac_word... " >&6; }
18061 if ${ac_cv_prog_acx_pthread_config+:} false; then :
18062 $as_echo_n "(cached) " >&6
18064 if test -n "$acx_pthread_config"; then
18065 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18068 for as_dir in $PATH
18071 test -z "$as_dir" && as_dir=.
18072 for ac_exec_ext in '' $ac_executable_extensions; do
18073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18074 ac_cv_prog_acx_pthread_config="yes"
18075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18082 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18085 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18086 if test -n "$acx_pthread_config"; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18088 $as_echo "$acx_pthread_config" >&6; }
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091 $as_echo "no" >&6; }
18095 if test x"$acx_pthread_config" = xno; then continue; fi
18096 PTHREAD_CFLAGS="`pthread-config --cflags`"
18097 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18102 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18103 PTHREAD_LIBS="-l$flag"
18108 save_CFLAGS="$CFLAGS"
18109 LIBS="$PTHREAD_LIBS $LIBS"
18110 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18112 # Check for various functions. We must include pthread.h,
18113 # since some functions may be macros. (On the Sequent, we
18114 # need a special flag -Kthread to make this header compile.)
18115 # We check for pthread_join because it is in -lpthread on IRIX
18116 # while pthread_create is in libc. We check for pthread_attr_init
18117 # due to DEC craziness with -lpthreads. We check for
18118 # pthread_cleanup_push because it is one of the few pthread
18119 # functions on Solaris that doesn't have a non-functional libc stub.
18120 # We try pthread_create on general principles.
18121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h. */
18123 #include <pthread.h>
18127 pthread_t th; pthread_join(th, 0);
18128 pthread_attr_init(0); pthread_cleanup_push(0, 0);
18129 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18134 if ac_fn_c_try_link "$LINENO"; then :
18137 rm -f core conftest.err conftest.$ac_objext \
18138 conftest$ac_exeext conftest.$ac_ext
18141 CFLAGS="$save_CFLAGS"
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18144 $as_echo "$acx_pthread_ok" >&6; }
18145 if test "x$acx_pthread_ok" = xyes; then
18154 # Various other checks:
18155 if test "x$acx_pthread_ok" = xyes; then
18157 LIBS="$PTHREAD_LIBS $LIBS"
18158 save_CFLAGS="$CFLAGS"
18159 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18161 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18163 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18165 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18168 #include <pthread.h>
18172 int attr=$attr; return attr;
18177 if ac_fn_c_try_link "$LINENO"; then :
18178 attr_name=$attr; break
18180 rm -f core conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18184 $as_echo "$attr_name" >&6; }
18185 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18187 cat >>confdefs.h <<_ACEOF
18188 #define PTHREAD_CREATE_JOINABLE $attr_name
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18194 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18196 case "${host_cpu}-${host_os}" in
18197 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
18198 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18200 if test "$GCC" = "yes"; then
18201 flag="-D_REENTRANT"
18203 flag="-mt -D_REENTRANT"
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18208 $as_echo "${flag}" >&6; }
18209 if test "x$flag" != xno; then
18210 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18214 CFLAGS="$save_CFLAGS"
18216 # More AIX lossage: must compile with xlc_r or cc_r
18217 if test x"$GCC" != xyes; then
18218 for ac_prog in xlc_r cc_r
18220 # Extract the first word of "$ac_prog", so it can be a program name with args.
18221 set dummy $ac_prog; ac_word=$2
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18223 $as_echo_n "checking for $ac_word... " >&6; }
18224 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18225 $as_echo_n "(cached) " >&6
18227 if test -n "$PTHREAD_CC"; then
18228 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18231 for as_dir in $PATH
18234 test -z "$as_dir" && as_dir=.
18235 for ac_exec_ext in '' $ac_executable_extensions; do
18236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18237 ac_cv_prog_PTHREAD_CC="$ac_prog"
18238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18247 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18248 if test -n "$PTHREAD_CC"; then
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18250 $as_echo "$PTHREAD_CC" >&6; }
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18253 $as_echo "no" >&6; }
18257 test -n "$PTHREAD_CC" && break
18259 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18272 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18273 if test x"$acx_pthread_ok" = xyes; then
18274 enable_threads="pthread"
18278 enable_threads="no"
18281 ac_cpp='$CPP $CPPFLAGS'
18282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287 if test $enable_threads != "pthread"; then
18288 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18291 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18293 LIBS="$PTHREAD_LIBS $LIBS"
18294 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18295 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18300 # Check whether --with-zlib was given.
18301 if test "${with_zlib+set}" = set; then :
18302 withval=$with_zlib;
18303 if test -d "$withval" ; then
18304 CPPFLAGS="${CPPFLAGS} -I$withval/include"
18305 LDFLAGS="${LDFLAGS} -L$withval/lib"
18311 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18312 if test "x$ac_cv_header_zlib_h" = xyes; then :
18315 as_fn_error $? "unable to find zlib header files" "$LINENO" 5
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateInit2_ in -lz" >&5
18320 $as_echo_n "checking for deflateInit2_ in -lz... " >&6; }
18321 if ${ac_cv_lib_z_deflateInit2_+:} false; then :
18322 $as_echo_n "(cached) " >&6
18324 ac_check_lib_save_LIBS=$LIBS
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18329 /* Override any GCC internal prototype to avoid an error.
18330 Use char because int might match the return type of a GCC
18331 builtin and then its argument prototype would still apply. */
18335 char deflateInit2_ ();
18339 return deflateInit2_ ();
18344 if ac_fn_c_try_link "$LINENO"; then :
18345 ac_cv_lib_z_deflateInit2_=yes
18347 ac_cv_lib_z_deflateInit2_=no
18349 rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext conftest.$ac_ext
18351 LIBS=$ac_check_lib_save_LIBS
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateInit2_" >&5
18354 $as_echo "$ac_cv_lib_z_deflateInit2_" >&6; }
18355 if test "x$ac_cv_lib_z_deflateInit2_" = xyes; then :
18356 cat >>confdefs.h <<_ACEOF
18357 #define HAVE_LIBZ 1
18363 as_fn_error $? "unable to link with zlib library" "$LINENO" 5
18369 # Check whether --with-openssl was given.
18370 if test "${with_openssl+set}" = set; then :
18371 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18372 SSLFLAGS="-I${with_openssl}/include"
18377 if test "x$with_openssl" = "x" ; then
18378 # Extract the first word of "pkg-config", so it can be a program name with args.
18379 set dummy pkg-config; ac_word=$2
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18381 $as_echo_n "checking for $ac_word... " >&6; }
18382 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18383 $as_echo_n "(cached) " >&6
18385 case $PKG_CONFIG in
18387 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18391 for as_dir in $PATH
18394 test -z "$as_dir" && as_dir=.
18395 for ac_exec_ext in '' $ac_executable_extensions; do
18396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18397 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18408 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18409 if test -n "$PKG_CONFIG"; then
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18411 $as_echo "$PKG_CONFIG" >&6; }
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18414 $as_echo "no" >&6; }
18418 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18419 if pkg-config openssl ; then
18420 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18423 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18429 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18431 $as_echo "$SSLFLAGS" >&6; }
18432 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18434 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18435 if test "x$ac_cv_header_openssl_x509_h" = xyes; then :
18438 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18444 ac_cpp='$CXXCPP $CPPFLAGS'
18445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18452 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18453 if ${ac_cv_cxx_namespaces+:} false; then :
18454 $as_echo_n "(cached) " >&6
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 namespace Outer { namespace Inner { int i = 0; }}
18469 using namespace Outer::Inner; return i;
18474 if ac_fn_cxx_try_compile "$LINENO"; then :
18475 ac_cv_cxx_namespaces=yes
18477 ac_cv_cxx_namespaces=no
18479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 ac_cpp='$CXXCPP $CPPFLAGS'
18482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18489 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18490 if test "$ac_cv_cxx_namespaces" = yes; then
18492 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18497 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18498 if ${ac_cv_cxx_have_stl+:} false; then :
18499 $as_echo_n "(cached) " >&6
18503 ac_cpp='$CXXCPP $CPPFLAGS'
18504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h. */
18512 #ifdef HAVE_NAMESPACES
18513 using namespace std;
18518 list<int> x; x.push_back(5);
18519 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18524 if ac_fn_cxx_try_compile "$LINENO"; then :
18525 ac_cv_cxx_have_stl=yes
18527 ac_cv_cxx_have_stl=no
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 ac_cpp='$CXXCPP $CPPFLAGS'
18532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18539 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18540 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18541 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18545 # log4shib settings (favor this version over the log4cpp code)
18546 # Extract the first word of "log4shib-config", so it can be a program name with args.
18547 set dummy log4shib-config; ac_word=$2
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18549 $as_echo_n "checking for $ac_word... " >&6; }
18550 if ${ac_cv_path_LOG4SHIB_CONFIG+:} false; then :
18551 $as_echo_n "(cached) " >&6
18553 case $LOG4SHIB_CONFIG in
18555 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18559 for as_dir in $PATH
18562 test -z "$as_dir" && as_dir=.
18563 for ac_exec_ext in '' $ac_executable_extensions; do
18564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18565 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18576 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18577 if test -n "$LOG4SHIB_CONFIG"; then
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18579 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18582 $as_echo "no" >&6; }
18587 # Check whether --with-log4shib was given.
18588 if test "${with_log4shib+set}" = set; then :
18589 withval=$with_log4shib;
18590 LOG4SHIB_CONFIG="${with_log4shib}"
18591 if ! test -f "${LOG4SHIB_CONFIG}"; then
18592 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18597 if test -f "${LOG4SHIB_CONFIG}" ; then
18598 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18599 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18601 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18602 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = xyes; then :
18605 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #include <log4shib/Category.hh>
18612 #include <log4shib/CategoryStream.hh>
18616 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18621 if ac_fn_cxx_try_link "$LINENO"; then :
18623 $as_echo "#define OPENSAML_LOG4SHIB 1" >>confdefs.h
18626 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18628 rm -f core conftest.err conftest.$ac_objext \
18629 conftest$ac_exeext conftest.$ac_ext
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18632 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18634 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18637 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18638 set dummy log4cpp-config; ac_word=$2
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18640 $as_echo_n "checking for $ac_word... " >&6; }
18641 if ${ac_cv_path_LOG4CPP_CONFIG+:} false; then :
18642 $as_echo_n "(cached) " >&6
18644 case $LOG4CPP_CONFIG in
18646 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650 for as_dir in $PATH
18653 test -z "$as_dir" && as_dir=.
18654 for ac_exec_ext in '' $ac_executable_extensions; do
18655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18656 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18667 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18668 if test -n "$LOG4CPP_CONFIG"; then
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18670 $as_echo "$LOG4CPP_CONFIG" >&6; }
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18673 $as_echo "no" >&6; }
18678 # Check whether --with-log4cpp was given.
18679 if test "${with_log4cpp+set}" = set; then :
18680 withval=$with_log4cpp;
18681 LOG4CPP_CONFIG="${with_log4cpp}"
18682 if ! test -f "${LOG4CPP_CONFIG}"; then
18683 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18688 if test -f "${LOG4CPP_CONFIG}"; then
18689 { $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
18690 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18691 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18692 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18693 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18694 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = xyes; then :
18697 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 #include <log4cpp/Category.hh>
18704 #include <log4cpp/CategoryStream.hh>
18708 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18713 if ac_fn_cxx_try_link "$LINENO"; then :
18715 $as_echo "#define OPENSAML_LOG4CPP 1" >>confdefs.h
18718 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18723 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18729 # Check whether --with-xerces was given.
18730 if test "${with_xerces+set}" = set; then :
18731 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18732 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18733 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18737 LIBS="-lxerces-c $LIBS"
18738 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18739 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = xyes; then :
18742 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18747 $as_echo_n "checking Xerces version... " >&6; }
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 #include <xercesc/util/XercesVersion.hpp>
18754 #if _XERCES_VERSION != 20600
18757 #error cannot use version 2.6.0
18763 if ac_fn_cxx_try_cpp "$LINENO"; then :
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18765 $as_echo "OK" >&6; }
18767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18769 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18770 See \`config.log' for more details" "$LINENO" 5; }
18772 rm -f conftest.err conftest.i conftest.$ac_ext
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 #include <xercesc/util/PlatformUtils.hpp>
18779 xercesc::XMLPlatformUtils::Initialize()
18784 if ac_fn_cxx_try_link "$LINENO"; then :
18787 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18789 rm -f core conftest.err conftest.$ac_objext \
18790 conftest$ac_exeext conftest.$ac_ext
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18793 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #include <xercesc/util/XMLString.hpp>
18800 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18805 if ac_fn_cxx_try_compile "$LINENO"; then :
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18807 $as_echo "yes" >&6; }
18808 $as_echo "#define OPENSAML_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18812 $as_echo "no" >&6; }
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 # XML-Security settings
18818 # Check whether --with-xmlsec was given.
18819 if test "${with_xmlsec+set}" = set; then :
18820 withval=$with_xmlsec; if test x_$with_xmlsec != x_/usr; then
18821 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18822 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18826 LIBS="-lxml-security-c $LIBS"
18827 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18828 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = xyes; then :
18831 as_fn_error $? "unable to find xmlsec header files" "$LINENO" 5
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18836 $as_echo_n "checking XML-Security version... " >&6; }
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 #include <xsec/utils/XSECPlatformUtils.hpp>
18843 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18846 #error need version 1.4.0 or later
18852 if ac_fn_cxx_try_cpp "$LINENO"; then :
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18854 $as_echo "OK" >&6; }
18856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18858 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18859 See \`config.log' for more details" "$LINENO" 5; }
18861 rm -f conftest.err conftest.i conftest.$ac_ext
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #include <xsec/utils/XSECPlatformUtils.hpp>
18868 XSECPlatformUtils::Initialise()
18873 if ac_fn_cxx_try_link "$LINENO"; then :
18876 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18878 rm -f core conftest.err conftest.$ac_objext \
18879 conftest$ac_exeext conftest.$ac_ext
18881 # XML-Tooling settings
18883 # Check whether --with-xmltooling was given.
18884 if test "${with_xmltooling+set}" = set; then :
18885 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18886 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18887 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18888 DX_INCLUDE="${with_xmltooling}/include"
18892 LIBS="-lxmltooling $LIBS"
18893 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/XMLToolingConfig.h" "ac_cv_header_xmltooling_XMLToolingConfig_h" "$ac_includes_default"
18894 if test "x$ac_cv_header_xmltooling_XMLToolingConfig_h" = xyes; then :
18897 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18904 #include <xmltooling/XMLToolingConfig.h>
18905 #include <xmltooling/version.h>
18909 #if _XMLTOOLING_VERSION >= 10400
18910 xmltooling::XMLToolingConfig::getConfig();
18912 #error Need XMLTooling version 1.4 or higher
18918 if ac_fn_cxx_try_link "$LINENO"; then :
18921 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18923 rm -f core conftest.err conftest.$ac_objext \
18924 conftest$ac_exeext conftest.$ac_ext
18926 # Check for unit test support
18927 CXXTEST="/usr/bin/cxxtestgen.pl"
18930 # Check whether --with-cxxtest was given.
18931 if test "${with_cxxtest+set}" = set; then :
18932 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18933 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18934 CXXTESTFLAGS="-I${with_cxxtest}"
18938 if ! test -f "${CXXTEST}"; then
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18940 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18945 if test -f ${CXXTEST}; then
18946 BUILD_UNITTEST_TRUE=
18947 BUILD_UNITTEST_FALSE='#'
18949 BUILD_UNITTEST_TRUE='#'
18950 BUILD_UNITTEST_FALSE=
18955 # we need the expanded forms...
18956 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18960 $as_echo_n "checking our pkgconfig libname... " >&6; }
18961 test ".$ax_create_pkgconfig_libname" != "." || \
18962 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18963 test ".$ax_create_pkgconfig_libname" != "." || \
18964 ax_create_pkgconfig_libname="$PACKAGE"
18965 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18966 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18968 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18971 $as_echo_n "checking our pkgconfig version... " >&6; }
18972 test ".$ax_create_pkgconfig_version" != "." || \
18973 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18974 test ".$ax_create_pkgconfig_version" != "." || \
18975 ax_create_pkgconfig_version="$VERSION"
18976 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18977 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18979 $as_echo "$ax_create_pkgconfig_version" >&6; }
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18982 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18983 test ".$pkgconfig_libdir" = "." && \
18984 pkgconfig_libdir='${libdir}/pkgconfig'
18985 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18986 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18987 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18989 $as_echo "$pkgconfig_libdir" >&6; }
18990 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18992 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18996 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18997 test ".$pkgconfig_libfile" != "." || \
18998 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18999 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
19000 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
19002 $as_echo "$pkgconfig_libfile" >&6; }
19003 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
19005 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
19009 $as_echo_n "checking our package / suffix... " >&6; }
19010 ax_create_pkgconfig_suffix="$program_suffix"
19011 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
19013 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19016 $as_echo_n "checking our pkgconfig description... " >&6; }
19017 ax_create_pkgconfig_description="OpenSAML library"
19018 test ".$ax_create_pkgconfig_description" != "." || \
19019 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19020 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19021 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19023 $as_echo "$ax_create_pkgconfig_description" >&6; }
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19026 $as_echo_n "checking our pkgconfig requires... " >&6; }
19027 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19028 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19029 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19031 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19034 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19035 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19036 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19037 ax_create_pkgconfig_libs="$LIBS -lsaml"
19038 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19039 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19041 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19044 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19045 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19046 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19047 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19049 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19052 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19053 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19054 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19055 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19057 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19059 test ".$ax_create_pkgconfig_generate" != "." || \
19060 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19061 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19062 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19063 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19065 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19067 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19068 ax_create_pkgconfig_src_libdir=`pwd`
19069 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19070 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19071 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19072 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19073 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19074 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19079 /^X\(\/\/\)[^/].*/{
19092 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19093 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19095 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19097 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19100 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19101 ax_create_pkgconfig_src_headers=`pwd`
19102 v="$ac_top_srcdir" ;
19103 test ".$v" != "." || v="$ax_spec_dir"
19104 test ".$v" != "." || v="$srcdir"
19105 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19106 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19107 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19108 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19109 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19110 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19111 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19116 /^X\(\/\/\)[^/].*/{
19129 test ! -d $ax_create_pkgconfig_src_headers/include || \
19130 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19132 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19136 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19140 LIBTOOL="$LIBTOOL --silent"
19142 # output packaging and makefiles
19143 cat >confcache <<\_ACEOF
19144 # This file is a shell script that caches the results of configure
19145 # tests run on this system so they can be shared between configure
19146 # scripts and configure runs, see configure's option --config-cache.
19147 # It is not useful on other systems. If it contains results you don't
19148 # want to keep, you may remove or edit it.
19150 # config.status only pays attention to the cache file if you give it
19151 # the --recheck option to rerun configure.
19153 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19155 # following values.
19159 # The following way of writing the cache mishandles newlines in values,
19160 # but we know of no workaround that is simple, portable, and efficient.
19161 # So, we kill variables containing newlines.
19162 # Ultrix sh set writes to stderr and can't be redirected directly,
19163 # and sets the high bit in the cache file unless we assign to the vars.
19165 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19166 eval ac_val=\$$ac_var
19170 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19171 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19174 _ | IFS | as_nl) ;; #(
19175 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19176 *) { eval $ac_var=; unset $ac_var;} ;;
19182 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19183 *${as_nl}ac_space=\ *)
19184 # `set' does not quote correctly, so add quotes: double-quote
19185 # substitution turns \\\\ into \\, and sed turns \\ into \.
19188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19191 # `set' quotes correctly as required by POSIX, so do not add quotes.
19192 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19203 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19205 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19206 if test -w "$cache_file"; then
19207 if test "x$cache_file" != "x/dev/null"; then
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19209 $as_echo "$as_me: updating cache $cache_file" >&6;}
19210 if test ! -f "$cache_file" || test -h "$cache_file"; then
19211 cat confcache >"$cache_file"
19213 case $cache_file in #(
19215 mv -f confcache "$cache_file"$$ &&
19216 mv -f "$cache_file"$$ "$cache_file" ;; #(
19218 mv -f confcache "$cache_file" ;;
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19224 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19229 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19230 # Let make expand exec_prefix.
19231 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19233 DEFS=-DHAVE_CONFIG_H
19238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19239 # 1. Remove the extension, and $U if already installed.
19240 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19241 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19243 # will be set to the directory where LIBOBJS objects are built.
19244 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19245 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19247 LIBOBJS=$ac_libobjs
19249 LTLIBOBJS=$ac_ltlibobjs
19252 if test -n "$EXEEXT"; then
19254 am__EXEEXT_FALSE='#'
19256 am__EXEEXT_TRUE='#'
19260 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19261 as_fn_error $? "conditional \"AMDEP\" was never defined.
19262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19264 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19265 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19268 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19269 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19272 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19273 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19276 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19277 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19280 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19281 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19284 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19285 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19288 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19289 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19292 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19293 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19296 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19297 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19300 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19301 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19304 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19305 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19308 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19309 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19312 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19313 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19316 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19317 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19320 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19321 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19324 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19325 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19328 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19329 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19332 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19333 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19336 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19337 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19340 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19341 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19344 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19345 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19348 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19349 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19352 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19353 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19356 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19357 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19360 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19361 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19364 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19365 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19369 : "${CONFIG_STATUS=./config.status}"
19371 ac_clean_files_save=$ac_clean_files
19372 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19374 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19376 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19378 # Generated by $as_me.
19379 # Run this file to recreate the current configuration.
19380 # Compiler output produced by configure, useful for debugging
19381 # configure, is in config.log if it exists.
19384 ac_cs_recheck=false
19387 SHELL=\${CONFIG_SHELL-$SHELL}
19390 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19391 ## -------------------- ##
19392 ## M4sh Initialization. ##
19393 ## -------------------- ##
19395 # Be more Bourne compatible
19396 DUALCASE=1; export DUALCASE # for MKS sh
19397 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19400 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19401 # is contrary to our usage. Disable this feature.
19402 alias -g '${1+"$@"}'='"$@"'
19403 setopt NO_GLOB_SUBST
19405 case `(set -o) 2>/dev/null` in #(
19417 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19418 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19421 # Prefer a ksh shell builtin over an external printf program on Solaris,
19422 # but without wasting forks for bash or zsh.
19423 if test -z "$BASH_VERSION$ZSH_VERSION" \
19424 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19425 as_echo='print -r --'
19426 as_echo_n='print -rn --'
19427 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19428 as_echo='printf %s\n'
19429 as_echo_n='printf %s'
19431 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19432 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19433 as_echo_n='/usr/ucb/echo -n'
19435 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19436 as_echo_n_body='eval
19440 expr "X$arg" : "X\\(.*\\)$as_nl";
19441 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19443 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19445 export as_echo_n_body
19446 as_echo_n='sh -c $as_echo_n_body as_echo'
19448 export as_echo_body
19449 as_echo='sh -c $as_echo_body as_echo'
19452 # The user is always right.
19453 if test "${PATH_SEPARATOR+set}" != set; then
19455 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19456 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19463 # We need space, tab and new line, in precisely that order. Quoting is
19464 # there to prevent editors from complaining about space-tab.
19465 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19466 # splitting by setting IFS to empty value.)
19469 # Find who we are. Look in the path if we contain no directory separator.
19472 *[\\/]* ) as_myself=$0 ;;
19473 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19474 for as_dir in $PATH
19477 test -z "$as_dir" && as_dir=.
19478 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19484 # We did not find ourselves, most probably we were run as `sh COMMAND'
19485 # in which case we are not to be found in the path.
19486 if test "x$as_myself" = x; then
19489 if test ! -f "$as_myself"; then
19490 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19494 # Unset variables that we do not need and which cause bugs (e.g. in
19495 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19496 # suppresses any "Segmentation fault" message there. '((' could
19497 # trigger a bug in pdksh 5.2.14.
19498 for as_var in BASH_ENV ENV MAIL MAILPATH
19499 do eval test x\${$as_var+set} = xset \
19500 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19513 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19516 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19517 # ----------------------------------------
19518 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19519 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19520 # script with STATUS, using 1 if that was 0.
19523 as_status=$1; test $as_status -eq 0 && as_status=1
19525 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19526 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19528 $as_echo "$as_me: error: $2" >&2
19529 as_fn_exit $as_status
19533 # as_fn_set_status STATUS
19534 # -----------------------
19535 # Set $? to STATUS, without forking.
19536 as_fn_set_status ()
19539 } # as_fn_set_status
19541 # as_fn_exit STATUS
19542 # -----------------
19543 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19547 as_fn_set_status $1
19553 # Portably unset VAR.
19556 { eval $1=; unset $1;}
19558 as_unset=as_fn_unset
19559 # as_fn_append VAR VALUE
19560 # ----------------------
19561 # Append the text in VALUE to the end of the definition contained in VAR. Take
19562 # advantage of any shell optimizations that allow amortized linear growth over
19563 # repeated appends, instead of the typical quadratic growth present in naive
19565 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19566 eval 'as_fn_append ()
19577 # as_fn_arith ARG...
19578 # ------------------
19579 # Perform arithmetic evaluation on the ARGs, and store the result in the
19580 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19581 # must be portable across $(()) and expr.
19582 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19583 eval 'as_fn_arith ()
19590 as_val=`expr "$@" || test $? -eq 1`
19595 if expr a : '\(a\)' >/dev/null 2>&1 &&
19596 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19603 as_basename=basename
19608 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19614 as_me=`$as_basename -- "$0" ||
19615 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19616 X"$0" : 'X\(//\)$' \| \
19617 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19619 sed '/^.*\/\([^/][^/]*\)\/*$/{
19633 # Avoid depending upon Character Ranges.
19634 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19635 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19636 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19637 as_cr_digits='0123456789'
19638 as_cr_alnum=$as_cr_Letters$as_cr_digits
19640 ECHO_C= ECHO_N= ECHO_T=
19641 case `echo -n x` in #(((((
19643 case `echo 'xy\c'` in
19644 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19646 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19653 rm -f conf$$ conf$$.exe conf$$.file
19654 if test -d conf$$.dir; then
19655 rm -f conf$$.dir/conf$$.file
19658 mkdir conf$$.dir 2>/dev/null
19660 if (echo >conf$$.file) 2>/dev/null; then
19661 if ln -s conf$$.file conf$$ 2>/dev/null; then
19663 # ... but there are two gotchas:
19664 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19665 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19666 # In both cases, we have to default to `cp -p'.
19667 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19669 elif ln conf$$.file conf$$ 2>/dev/null; then
19677 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19678 rmdir conf$$.dir 2>/dev/null
19683 # Create "$as_dir" as a directory, including parents if necessary.
19688 -*) as_dir=./$as_dir;;
19690 test -d "$as_dir" || eval $as_mkdir_p || {
19694 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19695 *) as_qdir=$as_dir;;
19697 as_dirs="'$as_qdir' $as_dirs"
19698 as_dir=`$as_dirname -- "$as_dir" ||
19699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19700 X"$as_dir" : 'X\(//\)[^/]' \| \
19701 X"$as_dir" : 'X\(//\)$' \| \
19702 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19703 $as_echo X"$as_dir" |
19704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19708 /^X\(\/\/\)[^/].*/{
19721 test -d "$as_dir" && break
19723 test -z "$as_dirs" || eval "mkdir $as_dirs"
19724 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19728 if mkdir -p . 2>/dev/null; then
19729 as_mkdir_p='mkdir -p "$as_dir"'
19731 test -d ./-p && rmdir ./-p
19735 if test -x / >/dev/null 2>&1; then
19736 as_test_x='test -x'
19738 if ls -dL / >/dev/null 2>&1; then
19745 if test -d "$1"; then
19751 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19752 ???[sx]*):;;*)false;;esac;fi
19756 as_executable_p=$as_test_x
19758 # Sed expression to map a string onto a valid CPP name.
19759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19761 # Sed expression to map a string onto a valid variable name.
19762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19766 ## ----------------------------------- ##
19767 ## Main body of $CONFIG_STATUS script. ##
19768 ## ----------------------------------- ##
19770 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19773 # Save the log message, to keep $0 and so on meaningful, and to
19774 # report actual input values of CONFIG_FILES etc. instead of their
19775 # values after options handling.
19777 This file was extended by opensaml $as_me 2.4.1, which was
19778 generated by GNU Autoconf 2.68. Invocation command line was
19780 CONFIG_FILES = $CONFIG_FILES
19781 CONFIG_HEADERS = $CONFIG_HEADERS
19782 CONFIG_LINKS = $CONFIG_LINKS
19783 CONFIG_COMMANDS = $CONFIG_COMMANDS
19786 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19791 case $ac_config_files in *"
19792 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19795 case $ac_config_headers in *"
19796 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19801 # Files that config.status was made for.
19802 config_files="$ac_config_files"
19803 config_headers="$ac_config_headers"
19804 config_commands="$ac_config_commands"
19808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19810 \`$as_me' instantiates files and other configuration actions
19811 from templates according to the current configuration. Unless the files
19812 and actions are specified as TAGs, all are instantiated by default.
19814 Usage: $0 [OPTION]... [TAG]...
19816 -h, --help print this help, then exit
19817 -V, --version print version number and configuration settings, then exit
19818 --config print configuration, then exit
19819 -q, --quiet, --silent
19820 do not print progress messages
19821 -d, --debug don't remove temporary files
19822 --recheck update $as_me by reconfiguring in the same conditions
19823 --file=FILE[:TEMPLATE]
19824 instantiate the configuration file FILE
19825 --header=FILE[:TEMPLATE]
19826 instantiate the configuration header FILE
19828 Configuration files:
19831 Configuration headers:
19834 Configuration commands:
19837 Report bugs to <https://bugs.internet2.edu/>."
19840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19841 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19843 opensaml config.status 2.4.1
19844 configured by $0, generated by GNU Autoconf 2.68,
19845 with options \\"\$ac_cs_config\\"
19847 Copyright (C) 2010 Free Software Foundation, Inc.
19848 This config.status script is free software; the Free Software Foundation
19849 gives unlimited permission to copy, distribute and modify it."
19856 test -n "\$AWK" || AWK=awk
19859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19860 # The default lists apply if the user does not specify any file.
19866 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19867 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19871 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19883 # Handling of the options.
19884 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19886 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19887 $as_echo "$ac_cs_version"; exit ;;
19888 --config | --confi | --conf | --con | --co | --c )
19889 $as_echo "$ac_cs_config"; exit ;;
19890 --debug | --debu | --deb | --de | --d | -d )
19892 --file | --fil | --fi | --f )
19895 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19896 '') as_fn_error $? "missing file argument" ;;
19898 as_fn_append CONFIG_FILES " '$ac_optarg'"
19899 ac_need_defaults=false;;
19900 --header | --heade | --head | --hea )
19903 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19905 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19906 ac_need_defaults=false;;
19908 # Conflict between --help and --header
19909 as_fn_error $? "ambiguous option: \`$1'
19910 Try \`$0 --help' for more information.";;
19911 --help | --hel | -h )
19912 $as_echo "$ac_cs_usage"; exit ;;
19913 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19914 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19917 # This is an error.
19918 -*) as_fn_error $? "unrecognized option: \`$1'
19919 Try \`$0 --help' for more information." ;;
19921 *) as_fn_append ac_config_targets " $1"
19922 ac_need_defaults=false ;;
19928 ac_configure_extra_args=
19930 if $ac_cs_silent; then
19932 ac_configure_extra_args="$ac_configure_extra_args --silent"
19936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19937 if \$ac_cs_recheck; then
19938 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19940 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19941 CONFIG_SHELL='$SHELL'
19942 export CONFIG_SHELL
19947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19951 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19952 ## Running $as_me. ##
19958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19962 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19965 # The HP-UX ksh and POSIX shell print the target directory to stdout
19966 # if CDPATH is set.
19967 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19969 sed_quote_subst='$sed_quote_subst'
19970 double_quote_subst='$double_quote_subst'
19971 delay_variable_subst='$delay_variable_subst'
19972 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19973 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19974 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19975 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19976 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19977 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19978 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19979 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19980 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19981 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19982 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19983 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19984 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19985 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19986 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19987 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19988 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19989 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19990 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19991 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19992 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19993 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19994 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19995 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19996 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19997 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19998 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19999 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20000 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20001 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20002 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20003 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20004 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20005 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20006 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20007 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20008 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20009 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20010 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20011 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20012 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20013 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20014 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20015 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20016 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20017 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20018 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20019 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20020 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20021 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20022 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20023 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20024 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20025 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20026 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20027 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"`'
20028 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20029 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20030 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20031 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20032 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20033 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20034 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20035 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20036 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20037 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20038 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20039 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20040 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20041 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20042 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20043 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20044 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20045 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20046 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20047 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20048 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20049 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20050 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20051 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20052 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20053 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20054 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20055 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20056 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20057 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20058 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20059 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20060 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20061 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20062 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20071 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20072 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20073 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20074 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20075 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20076 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20095 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20096 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20097 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20098 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20099 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20100 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20101 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20102 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20103 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20104 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20105 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20106 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20107 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20108 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20109 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20110 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20111 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20112 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20113 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20114 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20115 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20116 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20117 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20118 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20119 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20120 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20121 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20122 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20123 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20124 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20125 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20126 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20127 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20128 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20129 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20130 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20131 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20132 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20133 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20134 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20135 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20136 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20137 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20138 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20139 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20140 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20141 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20142 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20143 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20144 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20145 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20146 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20147 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20148 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20149 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20150 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20151 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20152 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20153 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20154 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20155 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20156 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20159 LTCFLAGS='$LTCFLAGS'
20160 compiler='$compiler_DEFAULT'
20162 # A function that is used when there is no print builtin or printf.
20163 func_fallback_echo ()
20165 eval 'cat <<_LTECHO_EOF
20170 # Quote evaled strings.
20184 deplibs_check_method \
20189 sharedlib_from_linklib_cmd \
20192 archiver_list_spec \
20198 lt_cv_sys_global_symbol_pipe \
20199 lt_cv_sys_global_symbol_to_cdecl \
20200 lt_cv_sys_global_symbol_to_c_name_address \
20201 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20202 nm_file_list_spec \
20203 lt_prog_compiler_no_builtin_flag \
20204 lt_prog_compiler_pic \
20205 lt_prog_compiler_wl \
20206 lt_prog_compiler_static \
20207 lt_cv_prog_compiler_c_o \
20216 export_dynamic_flag_spec \
20217 whole_archive_flag_spec \
20218 compiler_needs_object \
20220 allow_undefined_flag \
20221 no_undefined_flag \
20222 hardcode_libdir_flag_spec \
20223 hardcode_libdir_flag_spec_ld \
20224 hardcode_libdir_separator \
20228 variables_saved_for_relink \
20230 library_names_spec \
20232 install_override_mode \
20236 compiler_lib_search_dirs \
20241 compiler_lib_search_path \
20245 lt_prog_compiler_no_builtin_flag_CXX \
20246 lt_prog_compiler_pic_CXX \
20247 lt_prog_compiler_wl_CXX \
20248 lt_prog_compiler_static_CXX \
20249 lt_cv_prog_compiler_c_o_CXX \
20250 export_dynamic_flag_spec_CXX \
20251 whole_archive_flag_spec_CXX \
20252 compiler_needs_object_CXX \
20254 allow_undefined_flag_CXX \
20255 no_undefined_flag_CXX \
20256 hardcode_libdir_flag_spec_CXX \
20257 hardcode_libdir_flag_spec_ld_CXX \
20258 hardcode_libdir_separator_CXX \
20259 exclude_expsyms_CXX \
20260 include_expsyms_CXX \
20261 file_list_spec_CXX \
20262 compiler_lib_search_dirs_CXX \
20263 predep_objects_CXX \
20264 postdep_objects_CXX \
20267 compiler_lib_search_path_CXX; do
20268 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20269 *[\\\\\\\`\\"\\\$]*)
20270 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20273 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20278 # Double-quote double-evaled strings.
20279 for var in reload_cmds \
20280 old_postinstall_cmds \
20281 old_postuninstall_cmds \
20283 extract_expsyms_cmds \
20284 old_archive_from_new_cmds \
20285 old_archive_from_expsyms_cmds \
20287 archive_expsym_cmds \
20289 module_expsym_cmds \
20290 export_symbols_cmds \
20294 postuninstall_cmds \
20296 sys_lib_search_path_spec \
20297 sys_lib_dlsearch_path_spec \
20299 old_archive_cmds_CXX \
20300 old_archive_from_new_cmds_CXX \
20301 old_archive_from_expsyms_cmds_CXX \
20303 archive_expsym_cmds_CXX \
20305 module_expsym_cmds_CXX \
20306 export_symbols_cmds_CXX \
20308 postlink_cmds_CXX; do
20309 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20310 *[\\\\\\\`\\"\\\$]*)
20311 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20314 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20319 ac_aux_dir='$ac_aux_dir'
20320 xsi_shell='$xsi_shell'
20321 lt_shell_append='$lt_shell_append'
20323 # See if we are running on zsh, and set the options which allow our
20324 # commands through without removal of \ escapes INIT.
20325 if test -n "\${ZSH_VERSION+set}" ; then
20326 setopt NO_GLOB_SUBST
20332 TIMESTAMP='$TIMESTAMP'
20341 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20342 pkgconfig_prefix='$prefix'
20343 pkgconfig_execprefix='$exec_prefix'
20344 pkgconfig_bindir='$bindir'
20345 pkgconfig_libdir='$libdir'
20346 pkgconfig_includedir='$includedir'
20347 pkgconfig_datarootdir='$datarootdir'
20348 pkgconfig_datadir='$datadir'
20349 pkgconfig_sysconfdir='$sysconfdir'
20350 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20351 pkgconfig_package='$PACKAGE_NAME'
20352 pkgconfig_libname='$ax_create_pkgconfig_libname'
20353 pkgconfig_description='$ax_create_pkgconfig_description'
20354 pkgconfig_version='$ax_create_pkgconfig_version'
20355 pkgconfig_requires='$ax_create_pkgconfig_requires'
20356 pkgconfig_libs='$ax_create_pkgconfig_libs'
20357 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20358 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20359 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20360 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20367 # Handling of arguments.
20368 for ac_config_target in $ac_config_targets
20370 case $ac_config_target in
20371 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20372 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20373 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20374 "opensaml.spec") CONFIG_FILES="$CONFIG_FILES opensaml.spec" ;;
20375 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20376 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20377 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20378 "saml/Makefile") CONFIG_FILES="$CONFIG_FILES saml/Makefile" ;;
20379 "samltest/Makefile") CONFIG_FILES="$CONFIG_FILES samltest/Makefile" ;;
20380 "samlsign/Makefile") CONFIG_FILES="$CONFIG_FILES samlsign/Makefile" ;;
20381 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20382 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20383 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20385 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20390 # If the user did not use the arguments to specify the items to instantiate,
20391 # then the envvar interface is used. Set only those that are not.
20392 # We use the long form for the default assignment because of an extremely
20393 # bizarre bug on SunOS 4.1.3.
20394 if $ac_need_defaults; then
20395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20400 # Have a temporary directory for convenience. Make it in the build tree
20401 # simply because there is no reason against having it here, and in addition,
20402 # creating and moving files from /tmp can sometimes cause problems.
20403 # Hook for its removal unless debugging.
20404 # Note that there is a small window in which the directory will not be cleaned:
20405 # after its creation but before its name has been assigned to `$tmp'.
20409 trap 'exit_status=$?
20410 : "${ac_tmp:=$tmp}"
20411 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20413 trap 'as_fn_exit 1' 1 2 13 15
20415 # Create a (secure) tmp directory for tmp files.
20418 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20422 tmp=./conf$$-$RANDOM
20423 (umask 077 && mkdir "$tmp")
20424 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20427 # Set up the scripts for CONFIG_FILES section.
20428 # No need to generate them if there are no CONFIG_FILES.
20429 # This happens for instance with `./config.status config.h'.
20430 if test -n "$CONFIG_FILES"; then
20433 ac_cr=`echo X | tr X '\015'`
20434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20435 # But we know of no other shell where ac_cr would be empty at this
20436 # point, so we can use a bashism as a fallback.
20437 if test "x$ac_cr" = x; then
20438 eval ac_cr=\$\'\\r\'
20440 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20444 ac_cs_awk_cr=$ac_cr
20447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20452 echo "cat >conf$$subs.awk <<_ACEOF" &&
20453 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20455 } >conf$$subs.sh ||
20456 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20459 for ac_last_try in false false false false false :; do
20460 . ./conf$$subs.sh ||
20461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20463 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20464 if test $ac_delim_n = $ac_delim_num; then
20466 elif $ac_last_try; then
20467 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20472 rm -f conf$$subs.sh
20474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20475 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20479 s/^/S["/; s/!.*/"]=/
20489 s/\(.\{148\}\)..*/\1/
20491 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20503 s/\(.\{148\}\)..*/\1/
20505 s/["\\]/\\&/g; s/^/"/; s/$/"/
20509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20514 ' <conf$$subs.awk | sed '
20519 ' >>$CONFIG_STATUS || ac_write_fail=1
20520 rm -f conf$$subs.awk
20521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20523 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20524 for (key in S) S_is_set[key] = 1
20530 nfields = split(line, field, "@")
20532 len = length(field[1])
20533 for (i = 2; i < nfields; i++) {
20535 keylen = length(key)
20536 if (S_is_set[key]) {
20538 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20539 len += length(value) + length(field[++i])
20550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20551 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20552 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20555 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20556 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20561 # trailing colons and then remove the whole line if VPATH becomes empty
20562 # (actually we leave an empty line to preserve line numbers).
20563 if test "x$srcdir" = x.; then
20564 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20583 fi # test -n "$CONFIG_FILES"
20585 # Set up the scripts for CONFIG_HEADERS section.
20586 # No need to generate them if there are no CONFIG_HEADERS.
20587 # This happens for instance with `./config.status Makefile'.
20588 if test -n "$CONFIG_HEADERS"; then
20589 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20593 # Transform confdefs.h into an awk script `defines.awk', embedded as
20594 # here-document in config.status, that substitutes the proper values into
20595 # config.h.in to produce config.h.
20597 # Create a delimiter string that does not exist in confdefs.h, to ease
20598 # handling of long lines.
20600 for ac_last_try in false false :; do
20601 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20602 if test -z "$ac_tt"; then
20604 elif $ac_last_try; then
20605 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20611 # For the awk script, D is an array of macro values keyed by name,
20612 # likewise P contains macro parameters if any. Preserve backslash
20613 # newline sequences.
20615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20617 s/.\{148\}/&'"$ac_delim"'/g
20620 s/^[ ]*#[ ]*define[ ][ ]*/ /
20627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20629 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20634 D["\1"]=" \3\\\\\\n"\\/p
20636 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20641 s/.\{148\}/&'"$ac_delim"'/g
20646 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20649 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20651 ' <confdefs.h | sed '
20652 s/'"$ac_delim"'/"\\\
20653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20656 for (key in D) D_is_set[key] = 1
20659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20661 split(line, arg, " ")
20662 if (arg[1] == "#") {
20666 defundef = substr(arg[1], 2)
20669 split(mac1, mac2, "(") #)
20671 prefix = substr(line, 1, index(line, defundef) - 1)
20672 if (D_is_set[macro]) {
20673 # Preserve the white space surrounding the "#".
20674 print prefix "define", macro P[macro] D[macro]
20677 # Replace #undef with comments. This is necessary, for example,
20678 # in the case of _POSIX_SOURCE, which is predefined and required
20679 # on some systems where configure will not decide to define it.
20680 if (defundef == "undef") {
20681 print "/*", prefix defundef, macro, "*/"
20689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20690 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20691 fi # test -n "$CONFIG_HEADERS"
20694 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20699 :[FHLC]) ac_mode=$ac_tag; continue;;
20701 case $ac_mode$ac_tag in
20703 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20704 :[FH]-) ac_tag=-:-;;
20705 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20722 -) ac_f="$ac_tmp/stdin";;
20723 *) # Look for the file first in the build tree, then in the source tree
20724 # (if the path is not absolute). The absolute path cannot be DOS-style,
20725 # because $ac_f cannot contain `:'.
20729 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20731 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20733 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20734 as_fn_append ac_file_inputs " '$ac_f'"
20737 # Let's still pretend it is `configure' which instantiates (i.e., don't
20738 # use $as_me), people would be surprised to read:
20739 # /* config.h. Generated by config.status. */
20740 configure_input='Generated from '`
20741 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20743 if test x"$ac_file" != x-; then
20744 configure_input="$ac_file. $configure_input"
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20746 $as_echo "$as_me: creating $ac_file" >&6;}
20748 # Neutralize special characters interpreted by sed in replacement strings.
20749 case $configure_input in #(
20750 *\&* | *\|* | *\\* )
20751 ac_sed_conf_input=`$as_echo "$configure_input" |
20752 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20753 *) ac_sed_conf_input=$configure_input;;
20757 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20763 ac_dir=`$as_dirname -- "$ac_file" ||
20764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20765 X"$ac_file" : 'X\(//\)[^/]' \| \
20766 X"$ac_file" : 'X\(//\)$' \| \
20767 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20768 $as_echo X"$ac_file" |
20769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20773 /^X\(\/\/\)[^/].*/{
20786 as_dir="$ac_dir"; as_fn_mkdir_p
20790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20792 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20793 # A ".." for each directory in $ac_dir_suffix.
20794 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20795 case $ac_top_builddir_sub in
20796 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20797 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20800 ac_abs_top_builddir=$ac_pwd
20801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20802 # for backward compatibility:
20803 ac_top_builddir=$ac_top_build_prefix
20806 .) # We are building in place.
20808 ac_top_srcdir=$ac_top_builddir_sub
20809 ac_abs_top_srcdir=$ac_pwd ;;
20810 [\\/]* | ?:[\\/]* ) # Absolute name.
20811 ac_srcdir=$srcdir$ac_dir_suffix;
20812 ac_top_srcdir=$srcdir
20813 ac_abs_top_srcdir=$srcdir ;;
20814 *) # Relative name.
20815 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20816 ac_top_srcdir=$ac_top_build_prefix$srcdir
20817 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20829 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20830 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20832 ac_MKDIR_P=$MKDIR_P
20834 [\\/$]* | ?:[\\/]* ) ;;
20835 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20840 # If the template does not know about datarootdir, expand it.
20841 # FIXME: This hack should be removed a few years after 2.60.
20842 ac_datarootdir_hack=; ac_datarootdir_seen=
20853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20854 *datarootdir*) ac_datarootdir_seen=yes;;
20855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20860 ac_datarootdir_hack='
20861 s&@datadir@&$datadir&g
20862 s&@docdir@&$docdir&g
20863 s&@infodir@&$infodir&g
20864 s&@localedir@&$localedir&g
20865 s&@mandir@&$mandir&g
20866 s&\\\${datarootdir}&$datarootdir&g' ;;
20870 # Neutralize VPATH when `$srcdir' = `.'.
20871 # Shell code in configure.ac might set extrasub.
20872 # FIXME: do we really want to maintain this feature?
20873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20874 ac_sed_extra="$ac_vpsub
20877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20880 s|@configure_input@|$ac_sed_conf_input|;t t
20881 s&@top_builddir@&$ac_top_builddir_sub&;t t
20882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20883 s&@srcdir@&$ac_srcdir&;t t
20884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20885 s&@top_srcdir@&$ac_top_srcdir&;t t
20886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20887 s&@builddir@&$ac_builddir&;t t
20888 s&@abs_builddir@&$ac_abs_builddir&;t t
20889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20890 s&@INSTALL@&$ac_INSTALL&;t t
20891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20892 $ac_datarootdir_hack
20894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20895 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20898 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20900 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20902 which seems to be undefined. Please make sure it is defined" >&5
20903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20904 which seems to be undefined. Please make sure it is defined" >&2;}
20906 rm -f "$ac_tmp/stdin"
20908 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20909 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20917 if test x"$ac_file" != x-; then
20919 $as_echo "/* $configure_input */" \
20920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20921 } >"$ac_tmp/config.h" \
20922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20923 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20928 mv "$ac_tmp/config.h" "$ac_file" \
20929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20932 $as_echo "/* $configure_input */" \
20933 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20934 || as_fn_error $? "could not create -" "$LINENO" 5
20936 # Compute "$ac_file"'s index in $config_headers.
20939 for _am_header in $config_headers :; do
20940 case $_am_header in
20941 $_am_arg | $_am_arg:* )
20944 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20949 X"$_am_arg" : 'X\(//\)[^/]' \| \
20950 X"$_am_arg" : 'X\(//\)$' \| \
20951 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20952 $as_echo X"$_am_arg" |
20953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20957 /^X\(\/\/\)[^/].*/{
20969 s/.*/./; q'`/stamp-h$_am_stamp_count
20972 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20973 $as_echo "$as_me: executing $ac_file commands" >&6;}
20978 case $ac_file$ac_mode in
20979 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20980 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20981 # are listed without --file. Let's play safe and only enable the eval
20982 # if we detect the quoting.
20983 case $CONFIG_FILES in
20984 *\'*) eval set x "$CONFIG_FILES" ;;
20985 *) set x $CONFIG_FILES ;;
20990 # Strip MF so we end up with the name of the file.
20991 mf=`echo "$mf" | sed -e 's/:.*$//'`
20992 # Check whether this is an Automake generated Makefile or not.
20993 # We used to match only the files named `Makefile.in', but
20994 # some people rename them; so instead we look at the file content.
20995 # Grep'ing the first line is not enough: some people post-process
20996 # each Makefile.in and add a new line on top of each file to say so.
20997 # Grep'ing the whole file is not good either: AIX grep has a line
20998 # limit of 2048, but all sed's we know have understand at least 4000.
20999 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21000 dirpart=`$as_dirname -- "$mf" ||
21001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21002 X"$mf" : 'X\(//\)[^/]' \| \
21003 X"$mf" : 'X\(//\)$' \| \
21004 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21010 /^X\(\/\/\)[^/].*/{
21026 # Extract the definition of DEPDIR, am__include, and am__quote
21027 # from the Makefile without running `make'.
21028 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21029 test -z "$DEPDIR" && continue
21030 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21031 test -z "am__include" && continue
21032 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21033 # When using ansi2knr, U may be empty or an underscore; expand it
21034 U=`sed -n 's/^U = //p' < "$mf"`
21035 # Find all dependency output files, they are included files with
21036 # $(DEPDIR) in their names. We invoke sed twice because it is the
21037 # simplest approach to changing $(DEPDIR) to its actual value in the
21039 for file in `sed -n "
21040 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21041 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21042 # Make sure the directory exists.
21043 test -f "$dirpart/$file" && continue
21044 fdir=`$as_dirname -- "$file" ||
21045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21046 X"$file" : 'X\(//\)[^/]' \| \
21047 X"$file" : 'X\(//\)$' \| \
21048 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21049 $as_echo X"$file" |
21050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21054 /^X\(\/\/\)[^/].*/{
21067 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21068 # echo "creating $dirpart/$file"
21069 echo '# dummy' > "$dirpart/$file"
21076 # See if we are running on zsh, and set the options which allow our
21077 # commands through without removal of \ escapes.
21078 if test -n "${ZSH_VERSION+set}" ; then
21079 setopt NO_GLOB_SUBST
21082 cfgfile="${ofile}T"
21083 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21086 cat <<_LT_EOF >> "$cfgfile"
21089 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21090 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21092 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21094 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21095 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21097 # Written by Gordon Matzigkeit, 1996
21099 # This file is part of GNU Libtool.
21101 # GNU Libtool is free software; you can redistribute it and/or
21102 # modify it under the terms of the GNU General Public License as
21103 # published by the Free Software Foundation; either version 2 of
21104 # the License, or (at your option) any later version.
21106 # As a special exception to the GNU General Public License,
21107 # if you distribute this file as part of a program or library that
21108 # is built using GNU Libtool, you may include this file under the
21109 # same distribution terms that you use for the rest of that program.
21111 # GNU Libtool is distributed in the hope that it will be useful,
21112 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21114 # GNU General Public License for more details.
21116 # You should have received a copy of the GNU General Public License
21117 # along with GNU Libtool; see the file COPYING. If not, a copy
21118 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21119 # obtained by writing to the Free Software Foundation, Inc.,
21120 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21123 # The names of the tagged configurations supported by this script.
21124 available_tags="CXX "
21126 # ### BEGIN LIBTOOL CONFIG
21128 # Whether or not to build static libraries.
21129 build_old_libs=$enable_static
21131 # Which release of libtool.m4 was used?
21132 macro_version=$macro_version
21133 macro_revision=$macro_revision
21135 # Whether or not to build shared libraries.
21136 build_libtool_libs=$enable_shared
21138 # What type of objects to build.
21141 # Whether or not to optimize for fast installation.
21142 fast_install=$enable_fast_install
21144 # Shell to use when invoking shell scripts.
21147 # An echo program that protects backslashes.
21151 host_alias=$host_alias
21155 # The build system.
21156 build_alias=$build_alias
21160 # A sed program that does not truncate output.
21163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21164 Xsed="\$SED -e 1s/^X//"
21166 # A grep program that handles long lines.
21172 # A literal string matcher.
21175 # A BSD- or MS-compatible name lister.
21178 # Whether we need soft or hard links.
21181 # What is the maximum length of a command?
21182 max_cmd_len=$max_cmd_len
21184 # Object file suffix (normally "o").
21187 # Executable file suffix (normally "").
21190 # whether the shell understands "unset".
21193 # turn spaces into newlines.
21196 # turn newlines into spaces.
21199 # convert \$build file names to \$host format.
21200 to_host_file_cmd=$lt_cv_to_host_file_cmd
21202 # convert \$build files to toolchain format.
21203 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21205 # An object symbol dumper.
21206 OBJDUMP=$lt_OBJDUMP
21208 # Method to check whether dependent libraries are shared objects.
21209 deplibs_check_method=$lt_deplibs_check_method
21211 # Command to use when deplibs_check_method = "file_magic".
21212 file_magic_cmd=$lt_file_magic_cmd
21214 # How to find potential files when deplibs_check_method = "file_magic".
21215 file_magic_glob=$lt_file_magic_glob
21217 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21218 want_nocaseglob=$lt_want_nocaseglob
21220 # DLL creation program.
21221 DLLTOOL=$lt_DLLTOOL
21223 # Command to associate shared and link libraries.
21224 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21229 # Flags to create an archive.
21230 AR_FLAGS=$lt_AR_FLAGS
21232 # How to feed a file listing to the archiver.
21233 archiver_list_spec=$lt_archiver_list_spec
21235 # A symbol stripping program.
21238 # Commands used to install an old-style archive.
21240 old_postinstall_cmds=$lt_old_postinstall_cmds
21241 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21243 # Whether to use a lock for old archive extraction.
21244 lock_old_archive_extraction=$lock_old_archive_extraction
21249 # LTCC compiler flags.
21250 LTCFLAGS=$lt_CFLAGS
21252 # Take the output of nm and produce a listing of raw symbols and C names.
21253 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21255 # Transform the output of nm in a proper C declaration.
21256 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21258 # Transform the output of nm in a C name address pair.
21259 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21261 # Transform the output of nm in a C name address pair when lib prefix is needed.
21262 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21264 # Specify filename containing input files for \$NM.
21265 nm_file_list_spec=$lt_nm_file_list_spec
21267 # The root where to search for dependent libraries,and in which our libraries should be installed.
21268 lt_sysroot=$lt_sysroot
21270 # The name of the directory that contains temporary libtool files.
21273 # Used to examine libraries when file_magic_cmd begins with "file".
21274 MAGIC_CMD=$MAGIC_CMD
21276 # Must we lock files when doing compilation?
21277 need_locks=$lt_need_locks
21280 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21282 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21283 DSYMUTIL=$lt_DSYMUTIL
21285 # Tool to change global to local symbols on Mac OS X.
21288 # Tool to manipulate fat objects and archives on Mac OS X.
21291 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21294 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21295 OTOOL64=$lt_OTOOL64
21297 # Old archive suffix (normally "a").
21300 # Shared library suffix (normally ".so").
21301 shrext_cmds=$lt_shrext_cmds
21303 # The commands to extract the exported symbol list from a shared archive.
21304 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21306 # Variables whose values should be saved in libtool wrapper scripts and
21307 # restored at link time.
21308 variables_saved_for_relink=$lt_variables_saved_for_relink
21310 # Do we need the "lib" prefix for modules?
21311 need_lib_prefix=$need_lib_prefix
21313 # Do we need a version for libraries?
21314 need_version=$need_version
21316 # Library versioning type.
21317 version_type=$version_type
21319 # Shared library runtime path variable.
21320 runpath_var=$runpath_var
21322 # Shared library path variable.
21323 shlibpath_var=$shlibpath_var
21325 # Is shlibpath searched before the hard-coded library search path?
21326 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21328 # Format of library name prefix.
21329 libname_spec=$lt_libname_spec
21331 # List of archive names. First name is the real one, the rest are links.
21332 # The last name is the one that the linker finds with -lNAME
21333 library_names_spec=$lt_library_names_spec
21335 # The coded name of the library, if different from the real name.
21336 soname_spec=$lt_soname_spec
21338 # Permission mode override for installation of shared libraries.
21339 install_override_mode=$lt_install_override_mode
21341 # Command to use after installation of a shared archive.
21342 postinstall_cmds=$lt_postinstall_cmds
21344 # Command to use after uninstallation of a shared archive.
21345 postuninstall_cmds=$lt_postuninstall_cmds
21347 # Commands used to finish a libtool library installation in a directory.
21348 finish_cmds=$lt_finish_cmds
21350 # As "finish_cmds", except a single script fragment to be evaled but
21352 finish_eval=$lt_finish_eval
21354 # Whether we should hardcode library paths into libraries.
21355 hardcode_into_libs=$hardcode_into_libs
21357 # Compile-time system search path for libraries.
21358 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21360 # Run-time system search path for libraries.
21361 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21363 # Whether dlopen is supported.
21364 dlopen_support=$enable_dlopen
21366 # Whether dlopen of programs is supported.
21367 dlopen_self=$enable_dlopen_self
21369 # Whether dlopen of statically linked programs is supported.
21370 dlopen_self_static=$enable_dlopen_self_static
21372 # Commands to strip libraries.
21373 old_striplib=$lt_old_striplib
21374 striplib=$lt_striplib
21377 # The linker used to build libraries.
21380 # How to create reloadable object files.
21381 reload_flag=$lt_reload_flag
21382 reload_cmds=$lt_reload_cmds
21384 # Commands used to build an old-style archive.
21385 old_archive_cmds=$lt_old_archive_cmds
21387 # A language specific compiler.
21390 # Is the compiler the GNU compiler?
21393 # Compiler flag to turn off builtin functions.
21394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21396 # Additional compiler flags for building library objects.
21397 pic_flag=$lt_lt_prog_compiler_pic
21399 # How to pass a linker flag through the compiler.
21400 wl=$lt_lt_prog_compiler_wl
21402 # Compiler flag to prevent dynamic linking.
21403 link_static_flag=$lt_lt_prog_compiler_static
21405 # Does compiler simultaneously support -c and -o options?
21406 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21408 # Whether or not to add -lc for building shared libraries.
21409 build_libtool_need_lc=$archive_cmds_need_lc
21411 # Whether or not to disallow shared libs when runtime libs are static.
21412 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21414 # Compiler flag to allow reflexive dlopens.
21415 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21417 # Compiler flag to generate shared objects directly from archives.
21418 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21420 # Whether the compiler copes with passing no objects directly.
21421 compiler_needs_object=$lt_compiler_needs_object
21423 # Create an old-style archive from a shared archive.
21424 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21426 # Create a temporary old-style archive to link instead of a shared archive.
21427 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21429 # Commands used to build a shared archive.
21430 archive_cmds=$lt_archive_cmds
21431 archive_expsym_cmds=$lt_archive_expsym_cmds
21433 # Commands used to build a loadable module if different from building
21434 # a shared archive.
21435 module_cmds=$lt_module_cmds
21436 module_expsym_cmds=$lt_module_expsym_cmds
21438 # Whether we are building with GNU ld or not.
21439 with_gnu_ld=$lt_with_gnu_ld
21441 # Flag that allows shared libraries with undefined symbols to be built.
21442 allow_undefined_flag=$lt_allow_undefined_flag
21444 # Flag that enforces no undefined symbols.
21445 no_undefined_flag=$lt_no_undefined_flag
21447 # Flag to hardcode \$libdir into a binary during linking.
21448 # This must work even if \$libdir does not exist
21449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21451 # If ld is used when linking, flag to hardcode \$libdir into a binary
21452 # during linking. This must work even if \$libdir does not exist.
21453 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21455 # Whether we need a single "-rpath" flag with a separated argument.
21456 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21458 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21459 # DIR into the resulting binary.
21460 hardcode_direct=$hardcode_direct
21462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21463 # DIR into the resulting binary and the resulting library dependency is
21464 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21465 # library is relocated.
21466 hardcode_direct_absolute=$hardcode_direct_absolute
21468 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21469 # into the resulting binary.
21470 hardcode_minus_L=$hardcode_minus_L
21472 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21473 # into the resulting binary.
21474 hardcode_shlibpath_var=$hardcode_shlibpath_var
21476 # Set to "yes" if building a shared library automatically hardcodes DIR
21477 # into the library and all subsequent libraries and executables linked
21479 hardcode_automatic=$hardcode_automatic
21481 # Set to yes if linker adds runtime paths of dependent libraries
21482 # to runtime path list.
21483 inherit_rpath=$inherit_rpath
21485 # Whether libtool must link a program against all its dependency libraries.
21486 link_all_deplibs=$link_all_deplibs
21488 # Set to "yes" if exported symbols are required.
21489 always_export_symbols=$always_export_symbols
21491 # The commands to list exported symbols.
21492 export_symbols_cmds=$lt_export_symbols_cmds
21494 # Symbols that should not be listed in the preloaded symbols.
21495 exclude_expsyms=$lt_exclude_expsyms
21497 # Symbols that must always be exported.
21498 include_expsyms=$lt_include_expsyms
21500 # Commands necessary for linking programs (against libraries) with templates.
21501 prelink_cmds=$lt_prelink_cmds
21503 # Commands necessary for finishing linking programs.
21504 postlink_cmds=$lt_postlink_cmds
21506 # Specify filename containing input files.
21507 file_list_spec=$lt_file_list_spec
21509 # How to hardcode a shared library path into an executable.
21510 hardcode_action=$hardcode_action
21512 # The directories searched by this compiler when creating a shared library.
21513 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21515 # Dependencies to place before and after the objects being linked to
21516 # create a shared library.
21517 predep_objects=$lt_predep_objects
21518 postdep_objects=$lt_postdep_objects
21519 predeps=$lt_predeps
21520 postdeps=$lt_postdeps
21522 # The library search path used internally by the compiler when linking
21523 # a shared library.
21524 compiler_lib_search_path=$lt_compiler_lib_search_path
21526 # ### END LIBTOOL CONFIG
21532 cat <<\_LT_EOF >> "$cfgfile"
21533 # AIX sometimes has problems with the GCC collect2 program. For some
21534 # reason, if we set the COLLECT_NAMES environment variable, the problems
21535 # vanish in a puff of smoke.
21536 if test "X${COLLECT_NAMES+set}" != Xset; then
21538 export COLLECT_NAMES
21545 ltmain="$ac_aux_dir/ltmain.sh"
21548 # We use sed instead of cat because bash on DJGPP gets confused if
21549 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21550 # text mode, it properly converts lines to CR/LF. This bash problem
21551 # is reportedly fixed, but why not run on old versions too?
21552 sed '$q' "$ltmain" >> "$cfgfile" \
21553 || (rm -f "$cfgfile"; exit 1)
21555 if test x"$xsi_shell" = xyes; then
21556 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21560 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21561 \ * ) func_dirname_result="${3}" ;;\
21563 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21564 && mv -f "$cfgfile.tmp" "$cfgfile" \
21565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21566 test 0 -eq $? || _lt_function_replace_fail=:
21569 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21572 \ func_basename_result="${1##*/}"\
21573 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21574 && mv -f "$cfgfile.tmp" "$cfgfile" \
21575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21576 test 0 -eq $? || _lt_function_replace_fail=:
21579 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21580 func_dirname_and_basename ()\
21583 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21584 \ * ) func_dirname_result="${3}" ;;\
21586 \ func_basename_result="${1##*/}"\
21587 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21588 && mv -f "$cfgfile.tmp" "$cfgfile" \
21589 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21590 test 0 -eq $? || _lt_function_replace_fail=:
21593 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21596 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21597 \ # positional parameters, so assign one to ordinary parameter first.\
21598 \ func_stripname_result=${3}\
21599 \ func_stripname_result=${func_stripname_result#"${1}"}\
21600 \ func_stripname_result=${func_stripname_result%"${2}"}\
21601 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21602 && mv -f "$cfgfile.tmp" "$cfgfile" \
21603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21604 test 0 -eq $? || _lt_function_replace_fail=:
21607 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21608 func_split_long_opt ()\
21610 \ func_split_long_opt_name=${1%%=*}\
21611 \ func_split_long_opt_arg=${1#*=}\
21612 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21613 && mv -f "$cfgfile.tmp" "$cfgfile" \
21614 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21615 test 0 -eq $? || _lt_function_replace_fail=:
21618 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21619 func_split_short_opt ()\
21621 \ func_split_short_opt_arg=${1#??}\
21622 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21623 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21624 && mv -f "$cfgfile.tmp" "$cfgfile" \
21625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21626 test 0 -eq $? || _lt_function_replace_fail=:
21629 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21633 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21634 \ *) func_lo2o_result=${1} ;;\
21636 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21637 && mv -f "$cfgfile.tmp" "$cfgfile" \
21638 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21639 test 0 -eq $? || _lt_function_replace_fail=:
21642 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21645 func_xform_result=${1%.*}.lo\
21646 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21647 && mv -f "$cfgfile.tmp" "$cfgfile" \
21648 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21649 test 0 -eq $? || _lt_function_replace_fail=:
21652 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21655 func_arith_result=$(( $* ))\
21656 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21657 && mv -f "$cfgfile.tmp" "$cfgfile" \
21658 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21659 test 0 -eq $? || _lt_function_replace_fail=:
21662 sed -e '/^func_len ()$/,/^} # func_len /c\
21665 func_len_result=${#1}\
21666 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21667 && mv -f "$cfgfile.tmp" "$cfgfile" \
21668 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21669 test 0 -eq $? || _lt_function_replace_fail=:
21673 if test x"$lt_shell_append" = xyes; then
21674 sed -e '/^func_append ()$/,/^} # func_append /c\
21677 eval "${1}+=\\${2}"\
21678 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21679 && mv -f "$cfgfile.tmp" "$cfgfile" \
21680 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21681 test 0 -eq $? || _lt_function_replace_fail=:
21684 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21685 func_append_quoted ()\
21687 \ func_quote_for_eval "${2}"\
21688 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21689 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21690 && mv -f "$cfgfile.tmp" "$cfgfile" \
21691 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21692 test 0 -eq $? || _lt_function_replace_fail=:
21695 # Save a `func_append' function call where possible by direct use of '+='
21696 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21697 && mv -f "$cfgfile.tmp" "$cfgfile" \
21698 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21699 test 0 -eq $? || _lt_function_replace_fail=:
21701 # Save a `func_append' function call even when '+=' is not available
21702 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21703 && mv -f "$cfgfile.tmp" "$cfgfile" \
21704 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21705 test 0 -eq $? || _lt_function_replace_fail=:
21708 if test x"$_lt_function_replace_fail" = x":"; then
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21710 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21714 mv -f "$cfgfile" "$ofile" ||
21715 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21719 cat <<_LT_EOF >> "$ofile"
21721 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21723 # The linker used to build libraries.
21726 # How to create reloadable object files.
21727 reload_flag=$lt_reload_flag_CXX
21728 reload_cmds=$lt_reload_cmds_CXX
21730 # Commands used to build an old-style archive.
21731 old_archive_cmds=$lt_old_archive_cmds_CXX
21733 # A language specific compiler.
21734 CC=$lt_compiler_CXX
21736 # Is the compiler the GNU compiler?
21739 # Compiler flag to turn off builtin functions.
21740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21742 # Additional compiler flags for building library objects.
21743 pic_flag=$lt_lt_prog_compiler_pic_CXX
21745 # How to pass a linker flag through the compiler.
21746 wl=$lt_lt_prog_compiler_wl_CXX
21748 # Compiler flag to prevent dynamic linking.
21749 link_static_flag=$lt_lt_prog_compiler_static_CXX
21751 # Does compiler simultaneously support -c and -o options?
21752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21754 # Whether or not to add -lc for building shared libraries.
21755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21757 # Whether or not to disallow shared libs when runtime libs are static.
21758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21760 # Compiler flag to allow reflexive dlopens.
21761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21763 # Compiler flag to generate shared objects directly from archives.
21764 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21766 # Whether the compiler copes with passing no objects directly.
21767 compiler_needs_object=$lt_compiler_needs_object_CXX
21769 # Create an old-style archive from a shared archive.
21770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21772 # Create a temporary old-style archive to link instead of a shared archive.
21773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21775 # Commands used to build a shared archive.
21776 archive_cmds=$lt_archive_cmds_CXX
21777 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21779 # Commands used to build a loadable module if different from building
21780 # a shared archive.
21781 module_cmds=$lt_module_cmds_CXX
21782 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21784 # Whether we are building with GNU ld or not.
21785 with_gnu_ld=$lt_with_gnu_ld_CXX
21787 # Flag that allows shared libraries with undefined symbols to be built.
21788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21790 # Flag that enforces no undefined symbols.
21791 no_undefined_flag=$lt_no_undefined_flag_CXX
21793 # Flag to hardcode \$libdir into a binary during linking.
21794 # This must work even if \$libdir does not exist
21795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21797 # If ld is used when linking, flag to hardcode \$libdir into a binary
21798 # during linking. This must work even if \$libdir does not exist.
21799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21801 # Whether we need a single "-rpath" flag with a separated argument.
21802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21805 # DIR into the resulting binary.
21806 hardcode_direct=$hardcode_direct_CXX
21808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21809 # DIR into the resulting binary and the resulting library dependency is
21810 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21811 # library is relocated.
21812 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21815 # into the resulting binary.
21816 hardcode_minus_L=$hardcode_minus_L_CXX
21818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21819 # into the resulting binary.
21820 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21822 # Set to "yes" if building a shared library automatically hardcodes DIR
21823 # into the library and all subsequent libraries and executables linked
21825 hardcode_automatic=$hardcode_automatic_CXX
21827 # Set to yes if linker adds runtime paths of dependent libraries
21828 # to runtime path list.
21829 inherit_rpath=$inherit_rpath_CXX
21831 # Whether libtool must link a program against all its dependency libraries.
21832 link_all_deplibs=$link_all_deplibs_CXX
21834 # Set to "yes" if exported symbols are required.
21835 always_export_symbols=$always_export_symbols_CXX
21837 # The commands to list exported symbols.
21838 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21840 # Symbols that should not be listed in the preloaded symbols.
21841 exclude_expsyms=$lt_exclude_expsyms_CXX
21843 # Symbols that must always be exported.
21844 include_expsyms=$lt_include_expsyms_CXX
21846 # Commands necessary for linking programs (against libraries) with templates.
21847 prelink_cmds=$lt_prelink_cmds_CXX
21849 # Commands necessary for finishing linking programs.
21850 postlink_cmds=$lt_postlink_cmds_CXX
21852 # Specify filename containing input files.
21853 file_list_spec=$lt_file_list_spec_CXX
21855 # How to hardcode a shared library path into an executable.
21856 hardcode_action=$hardcode_action_CXX
21858 # The directories searched by this compiler when creating a shared library.
21859 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21861 # Dependencies to place before and after the objects being linked to
21862 # create a shared library.
21863 predep_objects=$lt_predep_objects_CXX
21864 postdep_objects=$lt_postdep_objects_CXX
21865 predeps=$lt_predeps_CXX
21866 postdeps=$lt_postdeps_CXX
21868 # The library search path used internally by the compiler when linking
21869 # a shared library.
21870 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21872 # ### END LIBTOOL TAG CONFIG: CXX
21876 "$ax_create_pkgconfig_generate":C)
21877 pkgconfig_generate="$ax_create_pkgconfig_generate"
21878 if test ! -f "$pkgconfig_generate.in"
21879 then generate="true"
21880 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21881 then generate="true"
21882 else generate="false";
21884 if $generate ; then
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21886 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21887 cat > $pkgconfig_generate.in <<AXEOF
21888 # generated by configure / remove this line to disable regeneration
21890 exec_prefix=@exec_prefix@
21893 datarootdir=@datarootdir@
21895 sysconfdir=@sysconfdir@
21896 includedir=@includedir@
21900 Name: @PACKAGE_NAME@
21901 Description: @PACKAGE_DESCRIPTION@
21902 Version: @PACKAGE_VERSION@
21903 Requires: @PACKAGE_REQUIRES@
21904 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21905 Cflags: -I\${includedir} @CPPFLAGS@
21907 fi # DONE generate $pkgconfig_generate.in
21908 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21909 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21910 cat >conftest.sed <<AXEOF
21911 s|@prefix@|${pkgconfig_prefix}|
21912 s|@exec_prefix@|${pkgconfig_execprefix}|
21913 s|@bindir@|${pkgconfig_bindir}|
21914 s|@libdir@|${pkgconfig_libdir}|
21915 s|@datarootdir@|${pkgconfig_datarootdir}|
21916 s|@datadir@|${pkgconfig_datadir}|
21917 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21918 s|@includedir@|${pkgconfig_includedir}|
21919 s|@suffix@|${pkgconfig_suffix}|
21920 s|@PACKAGE@|${pkgconfig_package}|
21921 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21922 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21923 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21924 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21925 s|@LIBS@|${pkgconfig_libs}|
21926 s|@LDFLAGS@|${pkgconfig_ldflags}|
21927 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21929 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
21930 if test ! -s $pkgconfig_generate ; then
21931 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21932 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21933 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21935 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21936 cat >conftest.sed <<AXEOF
21937 s|@prefix@|${pkgconfig_prefix}|
21938 s|@exec_prefix@|${pkgconfig_execprefix}|
21939 s|@bindir@|${pkgconfig_bindir}|
21940 s|@libdir@|${pkgconfig_src_libdir}|
21941 s|@datarootdir@|${pkgconfig_datarootdir}|
21942 s|@datadir@|${pkgconfig_datadir}|
21943 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21944 s|@includedir@|${pkgconfig_src_headers}|
21945 s|@suffix@|${pkgconfig_suffix}|
21946 s|@PACKAGE@|${pkgconfig_package}|
21947 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21948 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21949 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21950 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21951 s|@LIBS@|${pkgconfig_libs}|
21952 s|@LDFLAGS@|${pkgconfig_ldflags}|
21953 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21955 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21956 if test ! -s $pkgconfig_uninstalled ; then
21957 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21958 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21959 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21960 if test ".$pkgconfig_requires_add" != "." ; then
21961 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21962 else pkgconfig_requires_add=":" ; fi
21963 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21965 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21966 cat >conftest.sed <<AXEOF
21967 s|@prefix@|\"${pkgconfig_prefix}\"|
21968 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21969 s|@bindir@|\"${pkgconfig_bindir}\"|
21970 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21971 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21972 s|@datadir@|\"${pkgconfig_datadir}\"|
21973 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21974 s|@includedir@|\"${pkgconfig_src_headers}\"|
21975 s|@suffix@|\"${pkgconfig_suffix}\"|
21976 s|@PACKAGE@|\"${pkgconfig_package}\"|
21977 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21978 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21979 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21980 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21981 s|@LIBS@|\"${pkgconfig_libs}\"|
21982 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21983 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21984 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21985 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21986 s>Version: *>\\;\\; --modversion|--version) echo >
21987 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21988 s>Libs: *>\\;\\; --libs) echo >
21989 s>Cflags: *>\\;\\; --cflags) echo >
21991 $pkgconfig_requires_add
21993 $pkgconfig_requires_add\\
21994 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21995 ;; --uninstalled) exit 0 \\
21998 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21999 if test ! -s $pkgconfig_uninstalled ; then
22000 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22001 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22010 ac_clean_files=$ac_clean_files_save
22012 test $ac_write_fail = 0 ||
22013 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22016 # configure is writing to config.log, and then calls config.status.
22017 # config.status does its own redirection, appending to config.log.
22018 # Unfortunately, on DOS this fails, as config.log is still kept open
22019 # by configure, so config.status won't be able to write to it; its
22020 # output is simply discarded. So we exec the FD to /dev/null,
22021 # effectively closing config.log, so it can be properly (re)opened and
22022 # appended to by config.status. When coming back to configure, we
22023 # need to make the FD available again.
22024 if test "$no_create" != yes; then
22026 ac_config_status_args=
22027 test "$silent" = yes &&
22028 ac_config_status_args="$ac_config_status_args --quiet"
22030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22033 # would make configure fail if this is the last instruction.
22034 $ac_cs_success || as_fn_exit 1
22036 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22038 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}