2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for opensaml 2.5.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185 if (eval "$as_required") 2>/dev/null; then :
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 test -z "$as_dir" && as_dir=.
202 for as_base in sh bash ksh sh5; do
203 # Try only shells that exist, to save several forks.
204 as_shell=$as_dir/$as_base
205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 CONFIG_SHELL=$as_shell as_have_required=yes
208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218 CONFIG_SHELL=$SHELL as_have_required=yes
223 if test "x$CONFIG_SHELL" != x; then :
224 # We cannot yet assume a decent shell, so we have to provide a
225 # neutralization value for shells without unset; and this also
226 # works around shells that cannot unset nonexistent variables.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://bugs.internet2.edu/ about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 SHELL=${CONFIG_SHELL-/bin/sh}
542 test -n "$DJDIR" || exec 7<&0 </dev/null
546 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
547 # so uname gets run too.
548 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
553 ac_default_prefix=/usr/local
555 ac_config_libobj_dir=.
562 # Identity of this package.
563 PACKAGE_NAME='opensaml'
564 PACKAGE_TARNAME='opensaml'
565 PACKAGE_VERSION='2.5'
566 PACKAGE_STRING='opensaml 2.5'
567 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
570 ac_unique_file="saml"
571 # Factoring default headers for most tests.
572 ac_includes_default="\
574 #ifdef HAVE_SYS_TYPES_H
575 # include <sys/types.h>
577 #ifdef HAVE_SYS_STAT_H
578 # include <sys/stat.h>
584 # ifdef HAVE_STDLIB_H
589 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
594 #ifdef HAVE_STRINGS_H
595 # include <strings.h>
597 #ifdef HAVE_INTTYPES_H
598 # include <inttypes.h>
607 ac_subst_vars='am__EXEEXT_FALSE
732 INSTALL_STRIP_PROGRAM
774 program_transform_name
787 enable_option_checking
792 enable_dependency_tracking
816 ac_precious_vars='build_alias
832 # Initialize some variables set by options.
834 ac_init_version=false
835 ac_unrecognized_opts=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name=s,x,x,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\$ac_option
892 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir | --bindir | --bindi | --bind | --bin | --bi)
905 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
908 -build | --build | --buil | --bui | --bu)
909 ac_prev=build_alias ;;
910 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
911 build_alias=$ac_optarg ;;
913 -cache-file | --cache-file | --cache-fil | --cache-fi \
914 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
915 ac_prev=cache_file ;;
916 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
917 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
918 cache_file=$ac_optarg ;;
921 cache_file=config.cache ;;
923 -datadir | --datadir | --datadi | --datad)
925 -datadir=* | --datadir=* | --datadi=* | --datad=*)
926 datadir=$ac_optarg ;;
928 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
929 | --dataroo | --dataro | --datar)
930 ac_prev=datarootdir ;;
931 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
932 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
933 datarootdir=$ac_optarg ;;
935 -disable-* | --disable-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error $? "invalid feature name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
949 eval enable_$ac_useropt=no ;;
951 -docdir | --docdir | --docdi | --doc | --do)
953 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
956 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
961 -enable-* | --enable-*)
962 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 as_fn_error $? "invalid feature name: $ac_useropt"
966 ac_useropt_orig=$ac_useropt
967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep=', ';;
975 eval enable_$ac_useropt=\$ac_optarg ;;
977 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
978 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
979 | --exec | --exe | --ex)
980 ac_prev=exec_prefix ;;
981 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
982 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
983 | --exec=* | --exe=* | --ex=*)
984 exec_prefix=$ac_optarg ;;
986 -gas | --gas | --ga | --g)
987 # Obsolete; use --with-gas.
990 -help | --help | --hel | --he | -h)
992 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
993 ac_init_help=recursive ;;
994 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
995 ac_init_help=short ;;
997 -host | --host | --hos | --ho)
998 ac_prev=host_alias ;;
999 -host=* | --host=* | --hos=* | --ho=*)
1000 host_alias=$ac_optarg ;;
1002 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 htmldir=$ac_optarg ;;
1008 -includedir | --includedir | --includedi | --included | --include \
1009 | --includ | --inclu | --incl | --inc)
1010 ac_prev=includedir ;;
1011 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1012 | --includ=* | --inclu=* | --incl=* | --inc=*)
1013 includedir=$ac_optarg ;;
1015 -infodir | --infodir | --infodi | --infod | --info | --inf)
1017 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1018 infodir=$ac_optarg ;;
1020 -libdir | --libdir | --libdi | --libd)
1022 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1023 libdir=$ac_optarg ;;
1025 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1026 | --libexe | --libex | --libe)
1027 ac_prev=libexecdir ;;
1028 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1029 | --libexe=* | --libex=* | --libe=*)
1030 libexecdir=$ac_optarg ;;
1032 -localedir | --localedir | --localedi | --localed | --locale)
1033 ac_prev=localedir ;;
1034 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1035 localedir=$ac_optarg ;;
1037 -localstatedir | --localstatedir | --localstatedi | --localstated \
1038 | --localstate | --localstat | --localsta | --localst | --locals)
1039 ac_prev=localstatedir ;;
1040 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1041 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1042 localstatedir=$ac_optarg ;;
1044 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1047 mandir=$ac_optarg ;;
1049 -nfp | --nfp | --nf)
1050 # Obsolete; use --without-fp.
1053 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1054 | --no-cr | --no-c | -n)
1057 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1058 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1061 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1062 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1063 | --oldin | --oldi | --old | --ol | --o)
1064 ac_prev=oldincludedir ;;
1065 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1066 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1067 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1068 oldincludedir=$ac_optarg ;;
1070 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1073 prefix=$ac_optarg ;;
1075 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1076 | --program-pre | --program-pr | --program-p)
1077 ac_prev=program_prefix ;;
1078 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1079 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1080 program_prefix=$ac_optarg ;;
1082 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1083 | --program-suf | --program-su | --program-s)
1084 ac_prev=program_suffix ;;
1085 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1086 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1087 program_suffix=$ac_optarg ;;
1089 -program-transform-name | --program-transform-name \
1090 | --program-transform-nam | --program-transform-na \
1091 | --program-transform-n | --program-transform- \
1092 | --program-transform | --program-transfor \
1093 | --program-transfo | --program-transf \
1094 | --program-trans | --program-tran \
1095 | --progr-tra | --program-tr | --program-t)
1096 ac_prev=program_transform_name ;;
1097 -program-transform-name=* | --program-transform-name=* \
1098 | --program-transform-nam=* | --program-transform-na=* \
1099 | --program-transform-n=* | --program-transform-=* \
1100 | --program-transform=* | --program-transfor=* \
1101 | --program-transfo=* | --program-transf=* \
1102 | --program-trans=* | --program-tran=* \
1103 | --progr-tra=* | --program-tr=* | --program-t=*)
1104 program_transform_name=$ac_optarg ;;
1106 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1109 pdfdir=$ac_optarg ;;
1111 -psdir | --psdir | --psdi | --psd | --ps)
1113 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1117 | -silent | --silent | --silen | --sile | --sil)
1120 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 sbindir=$ac_optarg ;;
1126 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128 | --sharedst | --shareds | --shared | --share | --shar \
1130 ac_prev=sharedstatedir ;;
1131 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135 sharedstatedir=$ac_optarg ;;
1137 -site | --site | --sit)
1139 -site=* | --site=* | --sit=*)
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 srcdir=$ac_optarg ;;
1147 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148 | --syscon | --sysco | --sysc | --sys | --sy)
1149 ac_prev=sysconfdir ;;
1150 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152 sysconfdir=$ac_optarg ;;
1154 -target | --target | --targe | --targ | --tar | --ta | --t)
1155 ac_prev=target_alias ;;
1156 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157 target_alias=$ac_optarg ;;
1159 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1162 -version | --version | --versio | --versi | --vers | -V)
1163 ac_init_version=: ;;
1166 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error $? "invalid package name: $ac_useropt"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1179 eval with_$ac_useropt=\$ac_optarg ;;
1181 -without-* | --without-*)
1182 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: $ac_useropt"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1195 eval with_$ac_useropt=no ;;
1198 # Obsolete; use --with-x.
1201 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202 | --x-incl | --x-inc | --x-in | --x-i)
1203 ac_prev=x_includes ;;
1204 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206 x_includes=$ac_optarg ;;
1208 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210 ac_prev=x_libraries ;;
1211 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213 x_libraries=$ac_optarg ;;
1215 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1220 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1240 if test -n "$ac_prev"; then
1241 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $? "missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val=\$$ac_var
1260 # Remove trailing slashes.
1263 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$]* | ?:[\\/]* ) continue;;
1269 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283 if test "x$build_alias" = x; then
1284 cross_compiling=maybe
1285 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1286 If a cross compiler is detected then cross compile mode will be used" >&2
1287 elif test "x$build_alias" != "x$host_alias"; then
1293 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1295 test "$silent" = yes && exec 6>/dev/null
1298 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di=`ls -di .` &&
1300 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1301 as_fn_error $? "working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303 as_fn_error $? "pwd does not report name of working directory"
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$as_myself" : 'X\(//\)[^/]' \| \
1313 X"$as_myself" : 'X\(//\)$' \| \
1314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1342 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 for ac_var in $ac_precious_vars; do
1359 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1360 eval ac_env_${ac_var}_value=\$${ac_var}
1361 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1362 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366 # Report the --help message.
1368 if test "$ac_init_help" = "long"; then
1369 # Omit some internal or obsolete options to make the list less imposing.
1370 # This message is too long to be a string in the A/UX 3.1 sh.
1372 \`configure' configures opensaml 2.5 to adapt to many kinds of systems.
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE. See below for descriptions of some of the useful variables.
1379 Defaults for the options are specified in brackets.
1382 -h, --help display this help and exit
1383 --help=short display options specific to this package
1384 --help=recursive display the short help of all the included packages
1385 -V, --version display version information and exit
1386 -q, --quiet, --silent do not print \`checking ...' messages
1387 --cache-file=FILE cache test results in FILE [disabled]
1388 -C, --config-cache alias for \`--cache-file=config.cache'
1389 -n, --no-create do not create output files
1390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1392 Installation directories:
1393 --prefix=PREFIX install architecture-independent files in PREFIX
1394 [$ac_default_prefix]
1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1403 For better control, use the options below.
1405 Fine tuning of the installation directories:
1406 --bindir=DIR user executables [EPREFIX/bin]
1407 --sbindir=DIR system admin executables [EPREFIX/sbin]
1408 --libexecdir=DIR program executables [EPREFIX/libexec]
1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root [DATAROOTDIR/doc/opensaml]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1430 --program-prefix=PREFIX prepend PREFIX to installed program names
1431 --program-suffix=SUFFIX append SUFFIX to installed program names
1432 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1435 --build=BUILD configure for building on BUILD [guessed]
1436 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive ) echo "Configuration of opensaml 2.5:";;
1447 --disable-option-checking ignore unrecognized --enable/--with options
1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450 --enable-static[=PKGS] build static libraries [default=no]
1451 --enable-shared[=PKGS] build shared libraries [default=yes]
1452 --enable-fast-install[=PKGS]
1453 optimize for fast installation [default=yes]
1454 --disable-dependency-tracking speeds up one-time build
1455 --enable-dependency-tracking do not reject slow dependency extractors
1456 --disable-libtool-lock avoid locking (might break parallel builds)
1457 --disable-doxygen-doc don't generate any doxygen documentation
1458 --enable-doxygen-dot generate graphics for doxygen documentation
1459 --enable-doxygen-man generate doxygen manual pages
1460 --enable-doxygen-rtf generate doxygen RTF documentation
1461 --enable-doxygen-xml generate doxygen XML documentation
1462 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1463 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1465 --disable-doxygen-html don't generate doxygen plain HTML documentation
1466 --enable-doxygen-ps generate doxygen PostScript documentation
1467 --enable-doxygen-pdf generate doxygen PDF documentation
1468 --enable-debug Have GCC compile with symbols (Default = no)
1471 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1472 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1473 --with-pic try to use only PIC/non-PIC objects [default=use
1475 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1476 --with-sysroot=DIR Search for dependent libraries within DIR
1477 (or the compiler's sysroot if not specified).
1478 --with-zlib=PATH where zlib is installed
1479 --with-openssl=PATH where openssl is installed
1480 --with-log4shib=PATH where log4shib-config is installed
1481 --with-log4cpp=PATH where log4cpp-config is installed
1482 --with-xerces=PATH where xerces-c is installed
1483 --with-xmlsec=PATH where xmlsec is installed
1484 --with-xmltooling=PATH where xmltooling is installed
1485 --with-cxxtest=PATH where cxxtest is installed
1487 Some influential environment variables:
1488 CC C compiler command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1491 nonstandard directory <lib dir>
1492 LIBS libraries to pass to the linker, e.g. -l<library>
1493 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1494 you have headers in a nonstandard directory <include dir>
1497 a4wide (default), a4, letter, legal or executive
1498 CXX C++ compiler command
1499 CXXFLAGS C++ compiler flags
1500 CXXCPP C++ preprocessor
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <https://bugs.internet2.edu/>.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" ||
1514 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 opensaml configure 2.5
1569 generated by GNU Autoconf 2.67
1571 Copyright (C) 2010 Free Software Foundation, Inc.
1572 This configure script is free software; the Free Software Foundation
1573 gives unlimited permission to copy, distribute and modify it.
1578 ## ------------------------ ##
1579 ## Autoconf initialization. ##
1580 ## ------------------------ ##
1582 # ac_fn_c_try_compile LINENO
1583 # --------------------------
1584 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_compile ()
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext
1589 if { { ac_try="$ac_compile"
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_compile") 2>conftest.err
1598 if test -s conftest.err; then
1599 grep -v '^ *+' conftest.err >conftest.er1
1600 cat conftest.er1 >&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest.$ac_objext; then :
1610 $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.$ac_ext >&5
1615 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 as_fn_set_status $ac_retval
1618 } # ac_fn_c_try_compile
1620 # ac_fn_c_try_link LINENO
1621 # -----------------------
1622 # Try to link conftest.$ac_ext, and return whether this succeeded.
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 rm -f conftest.$ac_objext conftest$ac_exeext
1627 if { { ac_try="$ac_link"
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_link") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && {
1643 test -z "$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1645 } && test -s conftest$ac_exeext && {
1646 test "$cross_compiling" = yes ||
1647 $as_test_x conftest$ac_exeext
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1657 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1658 # interfere with the next link command; also delete a directory that is
1659 # left behind by Apple's compiler. We do this before executing the actions.
1660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 as_fn_set_status $ac_retval
1664 } # ac_fn_c_try_link
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval "test \"\${$3+set}\"" = set; then :
1676 $as_echo_n "(cached) " >&6
1678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h. */
1683 if ac_fn_c_try_compile "$LINENO"; then :
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 } # ac_fn_c_check_header_compile
1697 # ac_fn_c_try_cpp LINENO
1698 # ----------------------
1699 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_cpp conftest.$ac_ext"
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1712 if test -s conftest.err; then
1713 grep -v '^ *+' conftest.err >conftest.er1
1714 cat conftest.er1 >&5
1715 mv -f conftest.er1 conftest.err
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } > conftest.i && {
1719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1720 test ! -s conftest.err
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 as_fn_set_status $ac_retval
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1752 { { case "(($ac_try" in
1753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_try") 2>&5
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; }; }; then :
1764 $as_echo "$as_me: program exited with status $ac_status" >&5
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 ac_retval=$ac_status
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 as_fn_set_status $ac_retval
1776 # ac_fn_c_check_func LINENO FUNC VAR
1777 # ----------------------------------
1778 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1779 ac_fn_c_check_func ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval "test \"\${$3+set}\"" = set; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1789 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1791 #define $2 innocuous_$2
1793 /* System header to define __stub macros and hopefully few prototypes,
1794 which can conflict with char $2 (); below.
1795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1796 <limits.h> exists even on freestanding compilers. */
1799 # include <limits.h>
1801 # include <assert.h>
1806 /* Override any GCC internal prototype to avoid an error.
1807 Use char because int might match the return type of a GCC
1808 builtin and then its argument prototype would still apply. */
1813 /* The GNU C library defines this for functions which it implements
1814 to always fail with ENOSYS. Some functions are actually named
1815 something starting with __ and the normal name is an alias. */
1816 #if defined __stub_$2 || defined __stub___$2
1828 if ac_fn_c_try_link "$LINENO"; then :
1833 rm -f core conftest.err conftest.$ac_objext \
1834 conftest$ac_exeext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 } # ac_fn_c_check_func
1843 # ac_fn_cxx_try_compile LINENO
1844 # ----------------------------
1845 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1846 ac_fn_cxx_try_compile ()
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 rm -f conftest.$ac_objext
1850 if { { ac_try="$ac_compile"
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_compile") 2>conftest.err
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } && {
1866 test -z "$ac_cxx_werror_flag" ||
1867 test ! -s conftest.err
1868 } && test -s conftest.$ac_objext; then :
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 as_fn_set_status $ac_retval
1879 } # ac_fn_cxx_try_compile
1881 # ac_fn_cxx_try_cpp LINENO
1882 # ------------------------
1883 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_cxx_try_cpp ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if { { ac_try="$ac_cpp conftest.$ac_ext"
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } > conftest.i && {
1903 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1904 test ! -s conftest.err
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 as_fn_set_status $ac_retval
1916 } # ac_fn_cxx_try_cpp
1918 # ac_fn_cxx_try_link LINENO
1919 # -------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_cxx_try_link ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 rm -f conftest.$ac_objext conftest$ac_exeext
1925 if { { ac_try="$ac_link"
1927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_cxx_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 $as_test_x conftest$ac_exeext
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 as_fn_set_status $ac_retval
1962 } # ac_fn_cxx_try_link
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if eval "test \"\${$3+set}\"" = set; then :
1974 $as_echo_n "(cached) " >&6
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
2002 if ac_fn_c_try_compile "$LINENO"; then :
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016 } # ac_fn_c_check_type
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2023 ac_fn_c_compute_int ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 if test "$cross_compiling" = yes; then
2027 # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2041 if ac_fn_c_try_compile "$LINENO"; then :
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058 ac_hi=$ac_mid; break
2060 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2061 if test $ac_lo -le $ac_mid; then
2065 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2076 static int test_array [1 - 2 * !(($2) < 0)];
2083 if ac_fn_c_try_compile "$LINENO"; then :
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 ac_lo=$ac_mid; break
2102 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2103 if test $ac_mid -le $ac_hi; then
2107 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2133 if ac_fn_c_try_compile "$LINENO"; then :
2136 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2156 FILE *f = fopen ("conftest.val", "w");
2161 long int i = longval ();
2164 fprintf (f, "%ld", i);
2168 unsigned long int i = ulongval ();
2171 fprintf (f, "%lu", i);
2173 /* Do not output a trailing newline, as this causes \r\n confusion
2174 on some platforms. */
2175 return ferror (f) || fclose (f) != 0;
2181 if ac_fn_c_try_run "$LINENO"; then :
2182 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2187 conftest.$ac_objext conftest.beam conftest.$ac_ext
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192 as_fn_set_status $ac_retval
2194 } # ac_fn_c_compute_int
2196 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2197 # -------------------------------------------------------
2198 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2199 # the include files in INCLUDES and setting the cache variable VAR
2201 ac_fn_c_check_header_mongrel ()
2203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204 if eval "test \"\${$3+set}\"" = set; then :
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2206 $as_echo_n "checking for $2... " >&6; }
2207 if eval "test \"\${$3+set}\"" = set; then :
2208 $as_echo_n "(cached) " >&6
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212 $as_echo "$ac_res" >&6; }
2214 # Is the header compilable?
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2216 $as_echo_n "checking $2 usability... " >&6; }
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2222 if ac_fn_c_try_compile "$LINENO"; then :
2223 ac_header_compiler=yes
2225 ac_header_compiler=no
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2229 $as_echo "$ac_header_compiler" >&6; }
2231 # Is the header present?
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2233 $as_echo_n "checking $2 presence... " >&6; }
2234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235 /* end confdefs.h. */
2238 if ac_fn_c_try_cpp "$LINENO"; then :
2239 ac_header_preproc=yes
2241 ac_header_preproc=no
2243 rm -f conftest.err conftest.i conftest.$ac_ext
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2245 $as_echo "$ac_header_preproc" >&6; }
2247 # So? What about this header?
2248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2251 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2257 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2259 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2261 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2263 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2265 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2266 ( $as_echo "## ------------------------------------------ ##
2267 ## Report this to https://bugs.internet2.edu/ ##
2268 ## ------------------------------------------ ##"
2269 ) | sed "s/^/$as_me: WARNING: /" >&2
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval "test \"\${$3+set}\"" = set; then :
2275 $as_echo_n "(cached) " >&6
2277 eval "$3=\$ac_header_compiler"
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2283 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285 } # ac_fn_c_check_header_mongrel
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2292 ac_fn_cxx_check_header_mongrel ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 if eval "test \"\${$3+set}\"" = set; then :
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval "test \"\${$3+set}\"" = set; then :
2299 $as_echo_n "(cached) " >&6
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2305 # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314 ac_header_compiler=yes
2316 ac_header_compiler=no
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330 ac_header_preproc=yes
2332 ac_header_preproc=no
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2338 # So? What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2357 ( $as_echo "## ------------------------------------------ ##
2358 ## Report this to https://bugs.internet2.edu/ ##
2359 ## ------------------------------------------ ##"
2360 ) | sed "s/^/$as_me: WARNING: /" >&2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2364 $as_echo_n "checking for $2... " >&6; }
2365 if eval "test \"\${$3+set}\"" = set; then :
2366 $as_echo_n "(cached) " >&6
2368 eval "$3=\$ac_header_compiler"
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2372 $as_echo "$ac_res" >&6; }
2374 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2376 } # ac_fn_cxx_check_header_mongrel
2377 cat >config.log <<_ACEOF
2378 This file contains any messages produced by compilers while
2379 running configure, to aid debugging if configure makes a mistake.
2381 It was created by opensaml $as_me 2.5, which was
2382 generated by GNU Autoconf 2.67. Invocation command line was
2394 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2395 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2396 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2397 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2398 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2400 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2401 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2403 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2404 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2405 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2406 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2407 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2408 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2409 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 $as_echo "PATH: $as_dir"
2434 # Keep a trace of the command line.
2435 # Strip out --no-create and --no-recursion so they do not pile up.
2436 # Strip out --silent because we don't want to record it for future runs.
2437 # Also quote any args containing shell meta-characters.
2438 # Make two passes to allow for proper duplicate-argument suppression.
2442 ac_must_keep_next=false
2448 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2450 | -silent | --silent | --silen | --sile | --sil)
2453 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2456 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2458 as_fn_append ac_configure_args1 " '$ac_arg'"
2459 if test $ac_must_keep_next = true; then
2460 ac_must_keep_next=false # Got value, back to normal.
2463 *=* | --config-cache | -C | -disable-* | --disable-* \
2464 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2465 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2466 | -with-* | --with-* | -without-* | --without-* | --x)
2467 case "$ac_configure_args0 " in
2468 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2471 -* ) ac_must_keep_next=true ;;
2474 as_fn_append ac_configure_args " '$ac_arg'"
2479 { ac_configure_args0=; unset ac_configure_args0;}
2480 { ac_configure_args1=; unset ac_configure_args1;}
2482 # When interrupted or exit'd, cleanup temporary files, and complete
2483 # config.log. We remove comments because anyway the quotes in there
2484 # would cause problems or look ugly.
2485 # WARNING: Use '\'' to represent an apostrophe within the trap.
2486 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2487 trap 'exit_status=$?
2488 # Save into config.log some information that might help in debugging.
2492 $as_echo "## ---------------- ##
2493 ## Cache variables. ##
2494 ## ---------------- ##"
2496 # The following way of writing the cache mishandles newlines in values,
2498 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2499 eval ac_val=\$$ac_var
2503 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2507 _ | IFS | as_nl) ;; #(
2508 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2509 *) { eval $ac_var=; unset $ac_var;} ;;
2514 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2515 *${as_nl}ac_space=\ *)
2517 "s/'\''/'\''\\\\'\'''\''/g;
2518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2528 $as_echo "## ----------------- ##
2529 ## Output variables. ##
2530 ## ----------------- ##"
2532 for ac_var in $ac_subst_vars
2534 eval ac_val=\$$ac_var
2536 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2538 $as_echo "$ac_var='\''$ac_val'\''"
2542 if test -n "$ac_subst_files"; then
2543 $as_echo "## ------------------- ##
2544 ## File substitutions. ##
2545 ## ------------------- ##"
2547 for ac_var in $ac_subst_files
2549 eval ac_val=\$$ac_var
2551 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2553 $as_echo "$ac_var='\''$ac_val'\''"
2558 if test -s confdefs.h; then
2559 $as_echo "## ----------- ##
2566 test "$ac_signal" != 0 &&
2567 $as_echo "$as_me: caught signal $ac_signal"
2568 $as_echo "$as_me: exit $exit_status"
2570 rm -f core *.core core.conftest.* &&
2571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2574 for ac_signal in 1 2 13 15; do
2575 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2580 rm -f -r conftest* confdefs.h
2582 $as_echo "/* confdefs.h */" > confdefs.h
2584 # Predefined preprocessor variables.
2586 cat >>confdefs.h <<_ACEOF
2587 #define PACKAGE_NAME "$PACKAGE_NAME"
2590 cat >>confdefs.h <<_ACEOF
2591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2594 cat >>confdefs.h <<_ACEOF
2595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2598 cat >>confdefs.h <<_ACEOF
2599 #define PACKAGE_STRING "$PACKAGE_STRING"
2602 cat >>confdefs.h <<_ACEOF
2603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2606 cat >>confdefs.h <<_ACEOF
2607 #define PACKAGE_URL "$PACKAGE_URL"
2611 # Let the site file select an alternate cache file if it wants to.
2612 # Prefer an explicitly selected file to automatically selected ones.
2615 if test -n "$CONFIG_SITE"; then
2616 # We do not want a PATH search for config.site.
2617 case $CONFIG_SITE in #((
2618 -*) ac_site_file1=./$CONFIG_SITE;;
2619 */*) ac_site_file1=$CONFIG_SITE;;
2620 *) ac_site_file1=./$CONFIG_SITE;;
2622 elif test "x$prefix" != xNONE; then
2623 ac_site_file1=$prefix/share/config.site
2624 ac_site_file2=$prefix/etc/config.site
2626 ac_site_file1=$ac_default_prefix/share/config.site
2627 ac_site_file2=$ac_default_prefix/etc/config.site
2629 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2631 test "x$ac_site_file" = xNONE && continue
2632 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2635 sed 's/^/| /' "$ac_site_file" >&5
2637 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 as_fn_error $? "failed to load site script $ac_site_file
2640 See \`config.log' for more details" "$LINENO" 5 ; }
2644 if test -r "$cache_file"; then
2645 # Some versions of bash will fail to source /dev/null (special files
2646 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2647 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2649 $as_echo "$as_me: loading cache $cache_file" >&6;}
2651 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2652 *) . "./$cache_file";;
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2657 $as_echo "$as_me: creating cache $cache_file" >&6;}
2661 # Check that the precious variables saved in the cache have kept the same
2663 ac_cache_corrupted=false
2664 for ac_var in $ac_precious_vars; do
2665 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2666 eval ac_new_set=\$ac_env_${ac_var}_set
2667 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2668 eval ac_new_val=\$ac_env_${ac_var}_value
2669 case $ac_old_set,$ac_new_set in
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2672 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2673 ac_cache_corrupted=: ;;
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2676 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2677 ac_cache_corrupted=: ;;
2680 if test "x$ac_old_val" != "x$ac_new_val"; then
2681 # differences in whitespace do not lead to failure.
2682 ac_old_val_w=`echo x $ac_old_val`
2683 ac_new_val_w=`echo x $ac_new_val`
2684 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2686 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2687 ac_cache_corrupted=:
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2690 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2691 eval $ac_var=\$ac_old_val
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2694 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2696 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2699 # Pass precious variables to config.status.
2700 if test "$ac_new_set" = set; then
2702 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2703 *) ac_arg=$ac_var=$ac_new_val ;;
2705 case " $ac_configure_args " in
2706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2707 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2711 if $ac_cache_corrupted; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2716 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2718 ## -------------------- ##
2719 ## Main body of script. ##
2720 ## -------------------- ##
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2731 for ac_dir in build-aux "$srcdir"/build-aux; do
2732 if test -f "$ac_dir/install-sh"; then
2734 ac_install_sh="$ac_aux_dir/install-sh -c"
2736 elif test -f "$ac_dir/install.sh"; then
2738 ac_install_sh="$ac_aux_dir/install.sh -c"
2740 elif test -f "$ac_dir/shtool"; then
2742 ac_install_sh="$ac_aux_dir/shtool install -c"
2746 if test -z "$ac_aux_dir"; then
2747 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2750 # These three variables are undocumented and unsupported,
2751 # and are intended to be withdrawn in a future Autoconf release.
2752 # They can cause serious problems if a builder's source tree is in a directory
2753 # whose full name contains unusual characters.
2754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2760 am__api_version='1.11'
2762 # Find a good install program. We prefer a C program (faster),
2763 # so one script is as good as another. But avoid the broken or
2764 # incompatible versions:
2765 # SysV /etc/install, /usr/sbin/install
2766 # SunOS /usr/etc/install
2767 # IRIX /sbin/install
2769 # AmigaOS /C/install, which installs bootblocks on floppy discs
2770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2773 # OS/2's system install, which has a completely different semantic
2774 # ./install, which can be erroneously created by make from ./install.sh.
2775 # Reject install programs that cannot install multiple files.
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2778 if test -z "$INSTALL"; then
2779 if test "${ac_cv_path_install+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir=.
2787 # Account for people who put trailing slashes in PATH elements.
2788 case $as_dir/ in #((
2789 ./ | .// | /[cC]/* | \
2790 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2791 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2794 # OSF1 and SCO ODT 3.0 have their own names for install.
2795 # Don't use installbsd from OSF since it installs stuff as root
2797 for ac_prog in ginstall scoinst install; do
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2800 if test $ac_prog = install &&
2801 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2802 # AIX install. It has an incompatible calling convention.
2804 elif test $ac_prog = install &&
2805 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2806 # program-specific install script used by HP pwplus--don't use.
2809 rm -rf conftest.one conftest.two conftest.dir
2810 echo one > conftest.one
2811 echo two > conftest.two
2813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2814 test -s conftest.one && test -s conftest.two &&
2815 test -s conftest.dir/conftest.one &&
2816 test -s conftest.dir/conftest.two
2818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2831 rm -rf conftest.one conftest.two conftest.dir
2834 if test "${ac_cv_path_install+set}" = set; then
2835 INSTALL=$ac_cv_path_install
2837 # As a last resort, use the slow shell script. Don't cache a
2838 # value for INSTALL within a source directory, because that will
2839 # break other packages using the cache if that directory is
2840 # removed, or if the value is a relative name.
2841 INSTALL=$ac_install_sh
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2845 $as_echo "$INSTALL" >&6; }
2847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2848 # It thinks the first close brace ends the variable substitution.
2849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2853 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2856 $as_echo_n "checking whether build environment is sane... " >&6; }
2859 echo timestamp > conftest.file
2860 # Reject unsafe characters in $srcdir or the absolute working directory
2861 # name. Accept space and tab only in the latter.
2865 *[\\\"\#\$\&\'\`$am_lf]*)
2866 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2869 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2870 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2873 # Do `set' in a subshell so we don't clobber the current shell's
2874 # arguments. Must try -L first in case configure is actually a
2875 # symlink; some systems play weird games with the mod time of symlinks
2876 # (eg FreeBSD returns the mod time of the symlink's containing
2879 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2880 if test "$*" = "X"; then
2882 set X `ls -t "$srcdir/configure" conftest.file`
2885 if test "$*" != "X $srcdir/configure conftest.file" \
2886 && test "$*" != "X conftest.file $srcdir/configure"; then
2888 # If neither matched, then we have a broken ls. This can happen
2889 # if, for instance, CONFIG_SHELL is bash and it inherits a
2890 # broken ls alias from the environment. This has actually
2891 # happened. Such a system could not be considered "sane".
2892 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2893 alias in your environment" "$LINENO" 5
2896 test "$2" = conftest.file
2902 as_fn_error $? "newly created file is older than distributed files!
2903 Check your system clock" "$LINENO" 5
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2906 $as_echo "yes" >&6; }
2907 test "$program_prefix" != NONE &&
2908 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2909 # Use a double $ so make ignores it.
2910 test "$program_suffix" != NONE &&
2911 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2912 # Double any \ or $.
2913 # By default was `s,x,x', remove it if useless.
2914 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2915 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2917 # expand $ac_aux_dir to an absolute path
2918 am_aux_dir=`cd $ac_aux_dir && pwd`
2920 if test x"${MISSING+set}" != xset; then
2923 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2925 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2928 # Use eval to expand $SHELL
2929 if eval "$MISSING --run true"; then
2930 am_missing_run="$MISSING --run "
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2934 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2937 if test x"${install_sh}" != xset; then
2940 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2942 install_sh="\${SHELL} $am_aux_dir/install-sh"
2946 # Installed binaries are usually stripped using `strip' when the user
2947 # run `make install-strip'. However `strip' might not be the right
2948 # tool to use in cross-compilation environments, therefore Automake
2949 # will honor the `STRIP' environment variable to overrule this program.
2950 if test "$cross_compiling" != no; then
2951 if test -n "$ac_tool_prefix"; then
2952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2953 set dummy ${ac_tool_prefix}strip; ac_word=$2
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; }
2956 if test "${ac_cv_prog_STRIP+set}" = set; then :
2957 $as_echo_n "(cached) " >&6
2959 if test -n "$STRIP"; then
2960 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 STRIP=$ac_cv_prog_STRIP
2980 if test -n "$STRIP"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2982 $as_echo "$STRIP" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2990 if test -z "$ac_cv_prog_STRIP"; then
2992 # Extract the first word of "strip", so it can be a program name with args.
2993 set dummy strip; ac_word=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$ac_ct_STRIP"; then
3000 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_ac_ct_STRIP="strip"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3020 if test -n "$ac_ct_STRIP"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3022 $as_echo "$ac_ct_STRIP" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3028 if test "x$ac_ct_STRIP" = x; then
3031 case $cross_compiling:$ac_tool_warned in
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035 ac_tool_warned=yes ;;
3040 STRIP="$ac_cv_prog_STRIP"
3044 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3047 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3048 if test -z "$MKDIR_P"; then
3049 if test "${ac_cv_path_mkdir+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3056 test -z "$as_dir" && as_dir=.
3057 for ac_prog in mkdir gmkdir; do
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3060 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3061 'mkdir (GNU coreutils) '* | \
3062 'mkdir (coreutils) '* | \
3063 'mkdir (fileutils) '4.1*)
3064 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3074 test -d ./--version && rmdir ./--version
3075 if test "${ac_cv_path_mkdir+set}" = set; then
3076 MKDIR_P="$ac_cv_path_mkdir -p"
3078 # As a last resort, use the slow shell script. Don't cache a
3079 # value for MKDIR_P within a source directory, because that will
3080 # break other packages using the cache if that directory is
3081 # removed, or if the value is a relative name.
3082 MKDIR_P="$ac_install_sh -d"
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3086 $as_echo "$MKDIR_P" >&6; }
3090 [\\/$]* | ?:[\\/]*) ;;
3091 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3094 for ac_prog in gawk mawk nawk awk
3096 # Extract the first word of "$ac_prog", so it can be a program name with args.
3097 set dummy $ac_prog; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if test "${ac_cv_prog_AWK+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3103 if test -n "$AWK"; then
3104 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 ac_cv_prog_AWK="$ac_prog"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 if test -n "$AWK"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3126 $as_echo "$AWK" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3133 test -n "$AWK" && break
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3137 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3139 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3140 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3141 $as_echo_n "(cached) " >&6
3143 cat >conftest.make <<\_ACEOF
3146 @echo '@@@%%%=$(MAKE)=@@@%%%'
3148 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3149 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3151 eval ac_cv_prog_make_${ac_make}_set=yes;;
3153 eval ac_cv_prog_make_${ac_make}_set=no;;
3157 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3164 SET_MAKE="MAKE=${MAKE-make}"
3167 rm -rf .tst 2>/dev/null
3168 mkdir .tst 2>/dev/null
3169 if test -d .tst; then
3174 rmdir .tst 2>/dev/null
3176 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3177 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3178 # is not polluted with repeated "-I."
3179 am__isrc=' -I$(srcdir)'
3180 # test to see if srcdir already configured
3181 if test -f $srcdir/config.status; then
3182 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3186 # test whether we have cygpath
3187 if test -z "$CYGPATH_W"; then
3188 if (cygpath --version) >/dev/null 2>/dev/null; then
3189 CYGPATH_W='cygpath -w'
3196 # Define the identity of the package.
3201 cat >>confdefs.h <<_ACEOF
3202 #define PACKAGE "$PACKAGE"
3206 cat >>confdefs.h <<_ACEOF
3207 #define VERSION "$VERSION"
3210 # Some tools Automake needs.
3212 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3215 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3218 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3221 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3224 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3226 # We need awk for the "check" target. The system "awk" is bad on
3228 # Always define AMTAR for backward compatibility.
3230 AMTAR=${AMTAR-"${am_missing_run}tar"}
3232 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3238 # Check whether --enable-static was given.
3239 if test "${enable_static+set}" = set; then :
3240 enableval=$enable_static; p=${PACKAGE-default}
3242 yes) enable_static=yes ;;
3243 no) enable_static=no ;;
3246 # Look at the argument we got. We use all the common list separators.
3247 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3248 for pkg in $enableval; do
3250 if test "X$pkg" = "X$p"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3272 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3278 macro_revision='1.3293'
3292 ltmain="$ac_aux_dir/ltmain.sh"
3294 # Make sure we can run config.sub.
3295 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3296 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3299 $as_echo_n "checking build system type... " >&6; }
3300 if test "${ac_cv_build+set}" = set; then :
3301 $as_echo_n "(cached) " >&6
3303 ac_build_alias=$build_alias
3304 test "x$ac_build_alias" = x &&
3305 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3306 test "x$ac_build_alias" = x &&
3307 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3308 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3309 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3313 $as_echo "$ac_cv_build" >&6; }
3314 case $ac_cv_build in
3316 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3319 ac_save_IFS=$IFS; IFS='-'
3325 # Remember, the first character of IFS is used to create $*,
3326 # except with old shells:
3329 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3333 $as_echo_n "checking host system type... " >&6; }
3334 if test "${ac_cv_host+set}" = set; then :
3335 $as_echo_n "(cached) " >&6
3337 if test "x$host_alias" = x; then
3338 ac_cv_host=$ac_cv_build
3340 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3341 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3346 $as_echo "$ac_cv_host" >&6; }
3349 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3352 ac_save_IFS=$IFS; IFS='-'
3358 # Remember, the first character of IFS is used to create $*,
3359 # except with old shells:
3362 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3365 # Backslashify metacharacters that are still active within
3366 # double-quoted strings.
3367 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3369 # Same as above, but do not quote variable references.
3370 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3372 # Sed substitution to delay expansion of an escaped shell variable in a
3373 # double_quote_subst'ed string.
3374 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3376 # Sed substitution to delay expansion of an escaped single quote.
3377 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3379 # Sed substitution to avoid accidental globbing in evaled expressions
3380 no_glob_subst='s/\*/\\\*/g'
3382 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3383 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3384 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3387 $as_echo_n "checking how to print strings... " >&6; }
3388 # Test print first, because it will be a builtin if present.
3389 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3390 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3392 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3395 # Use this function as a fallback that always works.
3396 func_fallback_echo ()
3398 eval 'cat <<_LTECHO_EOF
3402 ECHO='func_fallback_echo'
3405 # func_echo_all arg...
3406 # Invoke $ECHO with all args, space-separated.
3413 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3414 $as_echo "printf" >&6; } ;;
3415 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3416 $as_echo "print -r" >&6; } ;;
3417 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3418 $as_echo "cat" >&6; } ;;
3434 DEPDIR="${am__leading_dot}deps"
3436 ac_config_commands="$ac_config_commands depfiles"
3439 am_make=${MAKE-make}
3440 cat > confinc << 'END'
3442 @echo this is the am__doit target
3445 # If we don't find an include directive, just comment out the code.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3447 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3451 # First try GNU make style include.
3452 echo "include confinc" > confmf
3453 # Ignore all kinds of additional output from `make'.
3454 case `$am_make -s -f confmf 2> /dev/null` in #(
3455 *the\ am__doit\ target*)
3461 # Now try BSD make style include.
3462 if test "$am__include" = "#"; then
3463 echo '.include "confinc"' > confmf
3464 case `$am_make -s -f confmf 2> /dev/null` in #(
3465 *the\ am__doit\ target*)
3466 am__include=.include
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3475 $as_echo "$_am_result" >&6; }
3476 rm -f confinc confmf
3478 # Check whether --enable-dependency-tracking was given.
3479 if test "${enable_dependency_tracking+set}" = set; then :
3480 enableval=$enable_dependency_tracking;
3483 if test "x$enable_dependency_tracking" != xno; then
3484 am_depcomp="$ac_aux_dir/depcomp"
3487 if test "x$enable_dependency_tracking" != xno; then
3497 ac_cpp='$CPP $CPPFLAGS'
3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3501 if test -n "$ac_tool_prefix"; then
3502 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3503 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505 $as_echo_n "checking for $ac_word... " >&6; }
3506 if test "${ac_cv_prog_CC+set}" = set; then :
3507 $as_echo_n "(cached) " >&6
3509 if test -n "$CC"; then
3510 ac_cv_prog_CC="$CC" # Let the user override the test.
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3519 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 if test -n "$CC"; then
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3532 $as_echo "$CC" >&6; }
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535 $as_echo "no" >&6; }
3540 if test -z "$ac_cv_prog_CC"; then
3542 # Extract the first word of "gcc", so it can be a program name with args.
3543 set dummy gcc; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -n "$ac_ct_CC"; then
3550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_ac_ct_CC="gcc"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3570 if test -n "$ac_ct_CC"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3572 $as_echo "$ac_ct_CC" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3578 if test "x$ac_ct_CC" = x; then
3581 case $cross_compiling:$ac_tool_warned in
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3585 ac_tool_warned=yes ;;
3593 if test -z "$CC"; then
3594 if test -n "$ac_tool_prefix"; then
3595 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3596 set dummy ${ac_tool_prefix}cc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if test "${ac_cv_prog_CC+set}" = set; then :
3600 $as_echo_n "(cached) " >&6
3602 if test -n "$CC"; then
3603 ac_cv_prog_CC="$CC" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3612 ac_cv_prog_CC="${ac_tool_prefix}cc"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 if test -n "$CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3625 $as_echo "$CC" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3634 if test -z "$CC"; then
3635 # Extract the first word of "cc", so it can be a program name with args.
3636 set dummy cc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3654 ac_prog_rejected=yes
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 if test $ac_prog_rejected = yes; then
3666 # We found a bogon in the path, so make sure we never use it.
3667 set dummy $ac_cv_prog_CC
3669 if test $# != 0; then
3670 # We chose a different compiler from the bogus one.
3671 # However, it has the same basename, so the bogon will be chosen
3672 # first if we set CC to just the basename; use the full file name.
3674 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3680 if test -n "$CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3690 if test -z "$CC"; then
3691 if test -n "$ac_tool_prefix"; then
3692 for ac_prog in cl.exe
3694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_CC+set}" = set; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC="$CC" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3731 test -n "$CC" && break
3734 if test -z "$CC"; then
3736 for ac_prog in cl.exe
3738 # Extract the first word of "$ac_prog", so it can be a program name with args.
3739 set dummy $ac_prog; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$ac_ct_CC"; then
3746 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_ac_ct_CC="$ac_prog"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766 if test -n "$ac_ct_CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768 $as_echo "$ac_ct_CC" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3775 test -n "$ac_ct_CC" && break
3778 if test "x$ac_ct_CC" = x; then
3781 case $cross_compiling:$ac_tool_warned in
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3785 ac_tool_warned=yes ;;
3794 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3796 as_fn_error $? "no acceptable C compiler found in \$PATH
3797 See \`config.log' for more details" "$LINENO" 5 ; }
3799 # Provide some information about the compiler.
3800 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3803 for ac_option in --version -v -V -qversion; do
3804 { { ac_try="$ac_compiler $ac_option >&5"
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3813 if test -s conftest.err; then
3815 ... rest of stderr output deleted ...
3816 10q' conftest.err >conftest.er1
3817 cat conftest.er1 >&5
3819 rm -f conftest.er1 conftest.err
3820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821 test $ac_status = 0; }
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 ac_clean_files_save=$ac_clean_files
3836 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3837 # Try to create an executable without -o first, disregard a.out.
3838 # It will help us diagnose broken compilers, and finding out an intuition
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3841 $as_echo_n "checking whether the C compiler works... " >&6; }
3842 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3844 # The possible output files:
3845 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3848 for ac_file in $ac_files
3851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3852 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3857 if { { ac_try="$ac_link_default"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_link_default") 2>&5
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }; then :
3868 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3869 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3870 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3871 # so that the user can short-circuit this test for compilers unknown to
3873 for ac_file in $ac_files ''
3875 test -f "$ac_file" || continue
3877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3880 # We found the default executable, but exeext='' is most
3884 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3886 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3888 # We set ac_cv_exeext here because the later test for it is not
3889 # safe: cross compilers may not add the suffix if given an `-o'
3890 # argument, so we may need to know it at that point already.
3891 # Even if this section looks crufty: it has the advantage of
3898 test "$ac_cv_exeext" = no && ac_cv_exeext=
3903 if test -z "$ac_file"; then :
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3906 $as_echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3911 as_fn_error 77 "C compiler cannot create executables
3912 See \`config.log' for more details" "$LINENO" 5 ; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915 $as_echo "yes" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3918 $as_echo_n "checking for C compiler default output file name... " >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3920 $as_echo "$ac_file" >&6; }
3921 ac_exeext=$ac_cv_exeext
3923 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3924 ac_clean_files=$ac_clean_files_save
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3926 $as_echo_n "checking for suffix of executables... " >&6; }
3927 if { { ac_try="$ac_link"
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934 (eval "$ac_link") 2>&5
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; }; then :
3938 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3939 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3940 # work properly (i.e., refer to `conftest.exe'), while it won't with
3942 for ac_file in conftest.exe conftest conftest.*; do
3943 test -f "$ac_file" || continue
3945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3946 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3954 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3955 See \`config.log' for more details" "$LINENO" 5 ; }
3957 rm -f conftest conftest$ac_cv_exeext
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3959 $as_echo "$ac_cv_exeext" >&6; }
3961 rm -f conftest.$ac_ext
3962 EXEEXT=$ac_cv_exeext
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3970 FILE *f = fopen ("conftest.out", "w");
3971 return ferror (f) || fclose (f) != 0;
3977 ac_clean_files="$ac_clean_files conftest.out"
3978 # Check that the compiler produces executables we can run. If not, either
3979 # the compiler is broken, or we cross compile.
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3981 $as_echo_n "checking whether we are cross compiling... " >&6; }
3982 if test "$cross_compiling" != yes; then
3983 { { ac_try="$ac_link"
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_link") 2>&5
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }
3994 if { ac_try='./conftest$ac_cv_exeext'
3995 { { case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_try") 2>&5
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; }; then
4007 if test "$cross_compiling" = maybe; then
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error $? "cannot run C compiled programs.
4013 If you meant to cross compile, use \`--host'.
4014 See \`config.log' for more details" "$LINENO" 5 ; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4019 $as_echo "$cross_compiling" >&6; }
4021 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4022 ac_clean_files=$ac_clean_files_save
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4024 $as_echo_n "checking for suffix of object files... " >&6; }
4025 if test "${ac_cv_objext+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4039 rm -f conftest.o conftest.obj
4040 if { { ac_try="$ac_compile"
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_compile") 2>&5
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }; then :
4051 for ac_file in conftest.o conftest.obj conftest.*; do
4052 test -f "$ac_file" || continue;
4054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4055 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4060 $as_echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.$ac_ext >&5
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 as_fn_error $? "cannot compute suffix of object files: cannot compile
4066 See \`config.log' for more details" "$LINENO" 5 ; }
4068 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4071 $as_echo "$ac_cv_objext" >&6; }
4072 OBJEXT=$ac_cv_objext
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4075 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4076 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4077 $as_echo_n "(cached) " >&6
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4093 if ac_fn_c_try_compile "$LINENO"; then :
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4103 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4104 if test $ac_compiler_gnu = yes; then
4109 ac_test_CFLAGS=${CFLAGS+set}
4110 ac_save_CFLAGS=$CFLAGS
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4112 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4113 if test "${ac_cv_prog_cc_g+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4116 ac_save_c_werror_flag=$ac_c_werror_flag
4117 ac_c_werror_flag=yes
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4146 if ac_fn_c_try_compile "$LINENO"; then :
4149 ac_c_werror_flag=$ac_save_c_werror_flag
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4162 if ac_fn_c_try_compile "$LINENO"; then :
4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_c_werror_flag=$ac_save_c_werror_flag
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4173 $as_echo "$ac_cv_prog_cc_g" >&6; }
4174 if test "$ac_test_CFLAGS" = set; then
4175 CFLAGS=$ac_save_CFLAGS
4176 elif test $ac_cv_prog_cc_g = yes; then
4177 if test "$GCC" = yes; then
4183 if test "$GCC" = yes; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4191 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_cv_prog_cc_c89=no
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 #include <sys/types.h>
4201 #include <sys/stat.h>
4202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4203 struct buf { int x; };
4204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4205 static char *e (p, i)
4211 static char *f (char * (*g) (char **, int), char **p, ...)
4216 s = g (p, va_arg (v,int));
4221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4222 function prototypes and stuff, but not '\xHH' hex character constants.
4223 These don't provoke an error unfortunately, instead are silently treated
4224 as 'x'. The following induces an error, until -std is added to get
4225 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4226 array size at least. It's necessary to write '\x00'==0 to get something
4227 that's true only with -std. */
4228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4230 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4231 inside strings and character constants. */
4233 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4235 int test (int i, double x);
4236 struct s1 {int (*f) (int a);};
4237 struct s2 {int (*f) (double a);};
4238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4244 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4249 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4250 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4252 CC="$ac_save_CC $ac_arg"
4253 if ac_fn_c_try_compile "$LINENO"; then :
4254 ac_cv_prog_cc_c89=$ac_arg
4256 rm -f core conftest.err conftest.$ac_objext
4257 test "x$ac_cv_prog_cc_c89" != "xno" && break
4259 rm -f conftest.$ac_ext
4264 case "x$ac_cv_prog_cc_c89" in
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4267 $as_echo "none needed" >&6; } ;;
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4270 $as_echo "unsupported" >&6; } ;;
4272 CC="$CC $ac_cv_prog_cc_c89"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4276 if test "x$ac_cv_prog_cc_c89" != xno; then :
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4286 depcc="$CC" am_compiler_list=
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4289 $as_echo_n "checking dependency style of $depcc... " >&6; }
4290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4294 # We make a subdir and do the tests there. Otherwise we can end up
4295 # making bogus files that we don't know about and never remove. For
4296 # instance it was reported that on HP-UX the gcc test will end up
4297 # making a dummy file named `D' -- because `-MD' means `put the output
4300 # Copy depcomp to subdir because otherwise we won't find it if we're
4301 # using a relative directory.
4302 cp "$am_depcomp" conftest.dir
4304 # We will build objects and dependencies in a subdirectory because
4305 # it helps to detect inapplicable dependency modes. For instance
4306 # both Tru64's cc and ICC support -MD to output dependencies as a
4307 # side effect of compilation, but ICC will put the dependencies in
4308 # the current directory while Tru64 will put them in the object
4312 am_cv_CC_dependencies_compiler_type=none
4313 if test "$am_compiler_list" = ""; then
4314 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4317 case " $depcc " in #(
4318 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4321 for depmode in $am_compiler_list; do
4322 # Setup a source with many dependencies, because some compilers
4323 # like to wrap large dependency lists on column 80 (with \), and
4324 # we should not choose a depcomp mode which is confused by this.
4326 # We need to recreate these files for each test, as the compiler may
4327 # overwrite some of them when testing with obscure command lines.
4328 # This happens at least with the AIX C compiler.
4330 for i in 1 2 3 4 5 6; do
4331 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4332 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4333 # Solaris 8's {/usr,}/bin/sh.
4334 touch sub/conftst$i.h
4336 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4338 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4339 # mode. It turns out that the SunPro C++ compiler does not properly
4340 # handle `-M -o', and we need to detect this. Also, some Intel
4341 # versions had trouble with output in subdirs
4342 am__obj=sub/conftest.${OBJEXT-o}
4343 am__minus_obj="-o $am__obj"
4346 # This depmode causes a compiler race in universal mode.
4347 test "$am__universal" = false || continue
4350 # after this tag, mechanisms are not by side-effect, so they'll
4351 # only be used when explicitly requested
4352 if test "x$enable_dependency_tracking" = xyes; then
4358 msvisualcpp | msvcmsys)
4359 # This compiler won't grok `-c -o', but also, the minuso test has
4360 # not run yet. These depmodes are late enough in the game, and
4361 # so weak that their functioning should not be impacted.
4362 am__obj=conftest.${OBJEXT-o}
4367 if depmode=$depmode \
4368 source=sub/conftest.c object=$am__obj \
4369 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4370 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4371 >/dev/null 2>conftest.err &&
4372 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4373 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4374 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4375 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4376 # icc doesn't choke on unknown options, it will just issue warnings
4377 # or remarks (even with -Werror). So we grep stderr for any message
4378 # that says an option was ignored or not supported.
4379 # When given -MP, icc 7.0 and 7.1 complain thusly:
4380 # icc: Command line warning: ignoring option '-M'; no argument required
4381 # The diagnosis changed in icc 8.0:
4382 # icc: Command line remark: option '-MP' not supported
4383 if (grep 'ignoring option' conftest.err ||
4384 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4385 am_cv_CC_dependencies_compiler_type=$depmode
4394 am_cv_CC_dependencies_compiler_type=none
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4403 test "x$enable_dependency_tracking" != xno \
4404 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4406 am__fastdepCC_FALSE='#'
4408 am__fastdepCC_TRUE='#'
4409 am__fastdepCC_FALSE=
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4414 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4415 if test "${ac_cv_path_SED+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4419 for ac_i in 1 2 3 4 5 6 7; do
4420 ac_script="$ac_script$as_nl$ac_script"
4422 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4423 { ac_script=; unset ac_script;}
4424 if test -z "$SED"; then
4425 ac_path_SED_found=false
4426 # Loop through the user's path and test for each of PROGNAME-LIST
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir=.
4432 for ac_prog in sed gsed; do
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4435 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4436 # Check for GNU ac_path_SED and select it if it is found.
4437 # Check for GNU $ac_path_SED
4438 case `"$ac_path_SED" --version 2>&1` in
4440 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4443 $as_echo_n 0123456789 >"conftest.in"
4446 cat "conftest.in" "conftest.in" >"conftest.tmp"
4447 mv "conftest.tmp" "conftest.in"
4448 cp "conftest.in" "conftest.nl"
4449 $as_echo '' >> "conftest.nl"
4450 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4452 as_fn_arith $ac_count + 1 && ac_count=$as_val
4453 if test $ac_count -gt ${ac_path_SED_max-0}; then
4454 # Best one so far, save it but keep looking for a better one
4455 ac_cv_path_SED="$ac_path_SED"
4456 ac_path_SED_max=$ac_count
4458 # 10*(2^10) chars as input seems more than enough
4459 test $ac_count -gt 10 && break
4461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4464 $ac_path_SED_found && break 3
4469 if test -z "$ac_cv_path_SED"; then
4470 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4478 $as_echo "$ac_cv_path_SED" >&6; }
4479 SED="$ac_cv_path_SED"
4482 test -z "$SED" && SED=sed
4483 Xsed="$SED -e 1s/^X//"
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4496 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4497 if test "${ac_cv_path_GREP+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -z "$GREP"; then
4501 ac_path_GREP_found=false
4502 # Loop through the user's path and test for each of PROGNAME-LIST
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4507 test -z "$as_dir" && as_dir=.
4508 for ac_prog in grep ggrep; do
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4511 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4512 # Check for GNU ac_path_GREP and select it if it is found.
4513 # Check for GNU $ac_path_GREP
4514 case `"$ac_path_GREP" --version 2>&1` in
4516 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4519 $as_echo_n 0123456789 >"conftest.in"
4522 cat "conftest.in" "conftest.in" >"conftest.tmp"
4523 mv "conftest.tmp" "conftest.in"
4524 cp "conftest.in" "conftest.nl"
4525 $as_echo 'GREP' >> "conftest.nl"
4526 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4527 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4528 as_fn_arith $ac_count + 1 && ac_count=$as_val
4529 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4530 # Best one so far, save it but keep looking for a better one
4531 ac_cv_path_GREP="$ac_path_GREP"
4532 ac_path_GREP_max=$ac_count
4534 # 10*(2^10) chars as input seems more than enough
4535 test $ac_count -gt 10 && break
4537 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4540 $ac_path_GREP_found && break 3
4545 if test -z "$ac_cv_path_GREP"; then
4546 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4549 ac_cv_path_GREP=$GREP
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4554 $as_echo "$ac_cv_path_GREP" >&6; }
4555 GREP="$ac_cv_path_GREP"
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4559 $as_echo_n "checking for egrep... " >&6; }
4560 if test "${ac_cv_path_EGREP+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4564 then ac_cv_path_EGREP="$GREP -E"
4566 if test -z "$EGREP"; then
4567 ac_path_EGREP_found=false
4568 # Loop through the user's path and test for each of PROGNAME-LIST
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4573 test -z "$as_dir" && as_dir=.
4574 for ac_prog in egrep; do
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4577 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4578 # Check for GNU ac_path_EGREP and select it if it is found.
4579 # Check for GNU $ac_path_EGREP
4580 case `"$ac_path_EGREP" --version 2>&1` in
4582 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4585 $as_echo_n 0123456789 >"conftest.in"
4588 cat "conftest.in" "conftest.in" >"conftest.tmp"
4589 mv "conftest.tmp" "conftest.in"
4590 cp "conftest.in" "conftest.nl"
4591 $as_echo 'EGREP' >> "conftest.nl"
4592 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4594 as_fn_arith $ac_count + 1 && ac_count=$as_val
4595 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4596 # Best one so far, save it but keep looking for a better one
4597 ac_cv_path_EGREP="$ac_path_EGREP"
4598 ac_path_EGREP_max=$ac_count
4600 # 10*(2^10) chars as input seems more than enough
4601 test $ac_count -gt 10 && break
4603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4606 $ac_path_EGREP_found && break 3
4611 if test -z "$ac_cv_path_EGREP"; then
4612 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4615 ac_cv_path_EGREP=$EGREP
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4621 $as_echo "$ac_cv_path_EGREP" >&6; }
4622 EGREP="$ac_cv_path_EGREP"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4626 $as_echo_n "checking for fgrep... " >&6; }
4627 if test "${ac_cv_path_FGREP+set}" = set; then :
4628 $as_echo_n "(cached) " >&6
4630 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4631 then ac_cv_path_FGREP="$GREP -F"
4633 if test -z "$FGREP"; then
4634 ac_path_FGREP_found=false
4635 # Loop through the user's path and test for each of PROGNAME-LIST
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4640 test -z "$as_dir" && as_dir=.
4641 for ac_prog in fgrep; do
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4644 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4645 # Check for GNU ac_path_FGREP and select it if it is found.
4646 # Check for GNU $ac_path_FGREP
4647 case `"$ac_path_FGREP" --version 2>&1` in
4649 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4652 $as_echo_n 0123456789 >"conftest.in"
4655 cat "conftest.in" "conftest.in" >"conftest.tmp"
4656 mv "conftest.tmp" "conftest.in"
4657 cp "conftest.in" "conftest.nl"
4658 $as_echo 'FGREP' >> "conftest.nl"
4659 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4660 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4661 as_fn_arith $ac_count + 1 && ac_count=$as_val
4662 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4663 # Best one so far, save it but keep looking for a better one
4664 ac_cv_path_FGREP="$ac_path_FGREP"
4665 ac_path_FGREP_max=$ac_count
4667 # 10*(2^10) chars as input seems more than enough
4668 test $ac_count -gt 10 && break
4670 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4673 $ac_path_FGREP_found && break 3
4678 if test -z "$ac_cv_path_FGREP"; then
4679 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4682 ac_cv_path_FGREP=$FGREP
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4688 $as_echo "$ac_cv_path_FGREP" >&6; }
4689 FGREP="$ac_cv_path_FGREP"
4692 test -z "$GREP" && GREP=grep
4712 # Check whether --with-gnu-ld was given.
4713 if test "${with_gnu_ld+set}" = set; then :
4714 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4720 if test "$GCC" = yes; then
4721 # Check if gcc -print-prog-name=ld gives a path.
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4723 $as_echo_n "checking for ld used by $CC... " >&6; }
4726 # gcc leaves a trailing carriage return which upsets mingw
4727 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4729 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4732 # Accept absolute paths.
4734 re_direlt='/[^/][^/]*/\.\./'
4735 # Canonicalize the pathname of ld
4736 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4737 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4738 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4740 test -z "$LD" && LD="$ac_prog"
4743 # If it fails, then pretend we aren't using GCC.
4747 # If it is relative, then search for the first ld in PATH.
4751 elif test "$with_gnu_ld" = yes; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4753 $as_echo_n "checking for GNU ld... " >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4756 $as_echo_n "checking for non-GNU ld... " >&6; }
4758 if test "${lt_cv_path_LD+set}" = set; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -z "$LD"; then
4762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4763 for ac_dir in $PATH; do
4765 test -z "$ac_dir" && ac_dir=.
4766 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4767 lt_cv_path_LD="$ac_dir/$ac_prog"
4768 # Check to see if the program is GNU ld. I'd rather use --version,
4769 # but apparently some variants of GNU ld only accept -v.
4770 # Break only if it was the GNU/non-GNU ld that we prefer.
4771 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4772 *GNU* | *'with BFD'*)
4773 test "$with_gnu_ld" != no && break
4776 test "$with_gnu_ld" != yes && break
4783 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4788 if test -n "$LD"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4790 $as_echo "$LD" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4795 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4797 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4798 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4802 case `$LD -v 2>&1 </dev/null` in
4803 *GNU* | *'with BFD'*)
4804 lt_cv_prog_gnu_ld=yes
4807 lt_cv_prog_gnu_ld=no
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4812 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4813 with_gnu_ld=$lt_cv_prog_gnu_ld
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4824 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4825 if test "${lt_cv_path_NM+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -n "$NM"; then
4829 # Let the user override the test.
4832 lt_nm_to_check="${ac_tool_prefix}nm"
4833 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4834 lt_nm_to_check="$lt_nm_to_check nm"
4836 for lt_tmp_nm in $lt_nm_to_check; do
4837 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4838 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4840 test -z "$ac_dir" && ac_dir=.
4841 tmp_nm="$ac_dir/$lt_tmp_nm"
4842 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4843 # Check to see if the nm accepts a BSD-compat flag.
4844 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4845 # nm: unknown option "B" ignored
4846 # Tru64's nm complains that /dev/null is an invalid object file
4847 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4848 */dev/null* | *'Invalid file or object type'*)
4849 lt_cv_path_NM="$tmp_nm -B"
4853 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4855 lt_cv_path_NM="$tmp_nm -p"
4859 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4860 continue # so that we can try to find one that supports BSD flags
4869 : ${lt_cv_path_NM=no}
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4873 $as_echo "$lt_cv_path_NM" >&6; }
4874 if test "$lt_cv_path_NM" != "no"; then
4877 # Didn't find any BSD compatible name lister, look for dumpbin.
4878 if test -n "$DUMPBIN"; then :
4879 # Let the user override the test.
4881 if test -n "$ac_tool_prefix"; then
4882 for ac_prog in dumpbin "link -dump"
4884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$DUMPBIN"; then
4892 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 DUMPBIN=$ac_cv_prog_DUMPBIN
4912 if test -n "$DUMPBIN"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4914 $as_echo "$DUMPBIN" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$DUMPBIN" && break
4924 if test -z "$DUMPBIN"; then
4925 ac_ct_DUMPBIN=$DUMPBIN
4926 for ac_prog in dumpbin "link -dump"
4928 # Extract the first word of "$ac_prog", so it can be a program name with args.
4929 set dummy $ac_prog; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$ac_ct_DUMPBIN"; then
4936 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4956 if test -n "$ac_ct_DUMPBIN"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4958 $as_echo "$ac_ct_DUMPBIN" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4965 test -n "$ac_ct_DUMPBIN" && break
4968 if test "x$ac_ct_DUMPBIN" = x; then
4971 case $cross_compiling:$ac_tool_warned in
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4977 DUMPBIN=$ac_ct_DUMPBIN
4981 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4983 DUMPBIN="$DUMPBIN -symbols"
4991 if test "$DUMPBIN" != ":"; then
4995 test -z "$NM" && NM=nm
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5003 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5004 if test "${lt_cv_nm_interface+set}" = set; then :
5005 $as_echo_n "(cached) " >&6
5007 lt_cv_nm_interface="BSD nm"
5008 echo "int some_variable = 0;" > conftest.$ac_ext
5009 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5010 (eval "$ac_compile" 2>conftest.err)
5011 cat conftest.err >&5
5012 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5013 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5014 cat conftest.err >&5
5015 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5016 cat conftest.out >&5
5017 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5018 lt_cv_nm_interface="MS dumpbin"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5023 $as_echo "$lt_cv_nm_interface" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5026 $as_echo_n "checking whether ln -s works... " >&6; }
5028 if test "$LN_S" = "ln -s"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030 $as_echo "yes" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5033 $as_echo "no, using $LN_S" >&6; }
5036 # find the maximum length of command line arguments
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5038 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5039 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5047 # On DJGPP, this test can blow up pretty badly due to problems in libc
5048 # (any single argument exceeding 2000 bytes causes a buffer overrun
5049 # during glob expansion). Even if it were fixed, the result of this
5050 # check would be larger than it should be.
5051 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5055 # Under GNU Hurd, this test is not required because there is
5056 # no limit to the length of command line arguments.
5057 # Libtool will interpret -1 as no limit whatsoever
5058 lt_cv_sys_max_cmd_len=-1;
5061 cygwin* | mingw* | cegcc*)
5062 # On Win9x/ME, this test blows up -- it succeeds, but takes
5063 # about 5 minutes as the teststring grows exponentially.
5064 # Worse, since 9x/ME are not pre-emptively multitasking,
5065 # you end up with a "frozen" computer, even though with patience
5066 # the test eventually succeeds (with a max line length of 256k).
5067 # Instead, let's just punt: use the minimum linelength reported by
5068 # all of the supported platforms: 8192 (on NT/2K/XP).
5069 lt_cv_sys_max_cmd_len=8192;
5073 # On MiNT this can take a long time and run out of memory.
5074 lt_cv_sys_max_cmd_len=8192;
5078 # On AmigaOS with pdksh, this test takes hours, literally.
5079 # So we just punt and use a minimum line length of 8192.
5080 lt_cv_sys_max_cmd_len=8192;
5083 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5084 # This has been around since 386BSD, at least. Likely further.
5085 if test -x /sbin/sysctl; then
5086 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5087 elif test -x /usr/sbin/sysctl; then
5088 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5090 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5092 # And add a safety zone
5093 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5094 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5098 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5099 lt_cv_sys_max_cmd_len=196608
5103 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5104 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5105 # nice to cause kernel panics so lets avoid the loop below.
5106 # First set a reasonable default.
5107 lt_cv_sys_max_cmd_len=16384
5109 if test -x /sbin/sysconfig; then
5110 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5111 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5116 lt_cv_sys_max_cmd_len=102400
5118 sysv5* | sco5v6* | sysv4.2uw2*)
5119 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5120 if test -n "$kargmax"; then
5121 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5123 lt_cv_sys_max_cmd_len=32768
5127 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5128 if test -n "$lt_cv_sys_max_cmd_len"; then
5129 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5130 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5132 # Make teststring a little bigger before we do anything with it.
5133 # a 1K string should be a reasonable start.
5134 for i in 1 2 3 4 5 6 7 8 ; do
5135 teststring=$teststring$teststring
5137 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5138 # If test is not a shell built-in, we'll probably end up computing a
5139 # maximum length that is only half of the actual maximum length, but
5141 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5142 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5143 test $i != 17 # 1/2 MB should be enough
5146 teststring=$teststring$teststring
5148 # Only check the string length outside the loop.
5149 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5151 # Add a significant safety factor because C++ compilers can tack on
5152 # massive amounts of additional arguments before passing them to the
5153 # linker. It appears as though 1/2 is a usable value.
5154 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5161 if test -n $lt_cv_sys_max_cmd_len ; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5163 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5166 $as_echo "none" >&6; }
5168 max_cmd_len=$lt_cv_sys_max_cmd_len
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5180 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5181 # Try some XSI features
5184 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5186 && eval 'test $(( 1 + 1 )) -eq 2 \
5187 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5190 $as_echo "$xsi_shell" >&6; }
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5194 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5196 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5198 && lt_shell_append=yes
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5200 $as_echo "$lt_shell_append" >&6; }
5203 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5213 # test EBCDIC or ASCII
5214 case `echo X|tr X '\101'` in
5215 A) # ASCII based system
5216 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5217 lt_SP2NL='tr \040 \012'
5218 lt_NL2SP='tr \015\012 \040\040'
5220 *) # EBCDIC based system
5221 lt_SP2NL='tr \100 \n'
5222 lt_NL2SP='tr \r\n \100\100'
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5235 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5236 if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5237 $as_echo_n "(cached) " >&6
5242 *-*-mingw* ) # actually msys
5243 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5246 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5248 * ) # otherwise, assume *nix
5249 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5255 *-*-mingw* ) # actually msys
5256 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5259 lt_cv_to_host_file_cmd=func_convert_file_noop
5261 * ) # otherwise, assume *nix
5262 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5266 * ) # unhandled hosts (and "normal" native builds)
5267 lt_cv_to_host_file_cmd=func_convert_file_noop
5273 to_host_file_cmd=$lt_cv_to_host_file_cmd
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5275 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5282 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5283 if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5284 $as_echo_n "(cached) " >&6
5286 #assume ordinary cross tools, or native build.
5287 lt_cv_to_tool_file_cmd=func_convert_file_noop
5291 *-*-mingw* ) # actually msys
5292 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5300 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5302 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5309 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5310 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5311 $as_echo_n "(cached) " >&6
5313 lt_cv_ld_reload_flag='-r'
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5316 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5317 reload_flag=$lt_cv_ld_reload_flag
5318 case $reload_flag in
5320 *) reload_flag=" $reload_flag" ;;
5322 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5324 cygwin* | mingw* | pw32* | cegcc*)
5325 if test "$GCC" != yes; then
5330 if test "$GCC" = yes; then
5331 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5333 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5346 if test -n "$ac_tool_prefix"; then
5347 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5348 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5354 if test -n "$OBJDUMP"; then
5355 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5364 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 OBJDUMP=$ac_cv_prog_OBJDUMP
5375 if test -n "$OBJDUMP"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5377 $as_echo "$OBJDUMP" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5385 if test -z "$ac_cv_prog_OBJDUMP"; then
5386 ac_ct_OBJDUMP=$OBJDUMP
5387 # Extract the first word of "objdump", so it can be a program name with args.
5388 set dummy objdump; ac_word=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5392 $as_echo_n "(cached) " >&6
5394 if test -n "$ac_ct_OBJDUMP"; then
5395 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5415 if test -n "$ac_ct_OBJDUMP"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5417 $as_echo "$ac_ct_OBJDUMP" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5423 if test "x$ac_ct_OBJDUMP" = x; then
5426 case $cross_compiling:$ac_tool_warned in
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5430 ac_tool_warned=yes ;;
5432 OBJDUMP=$ac_ct_OBJDUMP
5435 OBJDUMP="$ac_cv_prog_OBJDUMP"
5438 test -z "$OBJDUMP" && OBJDUMP=objdump
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5449 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5450 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5451 $as_echo_n "(cached) " >&6
5453 lt_cv_file_magic_cmd='$MAGIC_CMD'
5454 lt_cv_file_magic_test_file=
5455 lt_cv_deplibs_check_method='unknown'
5456 # Need to set the preceding variable on all platforms that support
5457 # interlibrary dependencies.
5458 # 'none' -- dependencies not supported.
5459 # `unknown' -- same as none, but documents that we really don't know.
5460 # 'pass_all' -- all dependencies passed with no checks.
5461 # 'test_compile' -- check by making test program.
5462 # 'file_magic [[regex]]' -- check by looking for files in library path
5463 # which responds to the $file_magic_cmd with a given extended regex.
5464 # If you have `file' or equivalent on your system and you're not sure
5465 # whether `pass_all' will *always* work, you probably want this one.
5469 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5478 lt_cv_file_magic_cmd='/usr/bin/file -L'
5479 lt_cv_file_magic_test_file=/shlib/libc.so
5483 # func_win32_libid is a shell function defined in ltmain.sh
5484 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5485 lt_cv_file_magic_cmd='func_win32_libid'
5489 # Base MSYS/MinGW do not provide the 'file' command needed by
5490 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5491 # unless we find 'file', for example because we are cross-compiling.
5492 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5493 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5494 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5495 lt_cv_file_magic_cmd='func_win32_libid'
5497 # Keep this pattern in sync with the one in func_win32_libid.
5498 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5499 lt_cv_file_magic_cmd='$OBJDUMP -f'
5504 # use the weaker test based on 'objdump'. See mingw*.
5505 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5506 lt_cv_file_magic_cmd='$OBJDUMP -f'
5509 darwin* | rhapsody*)
5510 lt_cv_deplibs_check_method=pass_all
5513 freebsd* | dragonfly*)
5514 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5517 # Not sure whether the presence of OpenBSD here was a mistake.
5518 # Let's accept both of them until this is cleared up.
5519 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5520 lt_cv_file_magic_cmd=/usr/bin/file
5521 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5525 lt_cv_deplibs_check_method=pass_all
5530 lt_cv_deplibs_check_method=pass_all
5534 lt_cv_deplibs_check_method=pass_all
5537 hpux10.20* | hpux11*)
5538 lt_cv_file_magic_cmd=/usr/bin/file
5541 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5542 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5545 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]'
5546 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5549 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5550 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5556 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5560 irix5* | irix6* | nonstopux*)
5562 *-32|*"-32 ") libmagic=32-bit;;
5563 *-n32|*"-n32 ") libmagic=N32;;
5564 *-64|*"-64 ") libmagic=64-bit;;
5565 *) libmagic=never-match;;
5567 lt_cv_deplibs_check_method=pass_all
5570 # This must be Linux ELF.
5571 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5572 lt_cv_deplibs_check_method=pass_all
5576 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5584 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5585 lt_cv_file_magic_cmd=/usr/bin/file
5586 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5590 lt_cv_deplibs_check_method=pass_all
5594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5595 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5601 osf3* | osf4* | osf5*)
5602 lt_cv_deplibs_check_method=pass_all
5606 lt_cv_deplibs_check_method=pass_all
5610 lt_cv_deplibs_check_method=pass_all
5613 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5614 lt_cv_deplibs_check_method=pass_all
5618 case $host_vendor in
5620 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]'
5621 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5624 lt_cv_deplibs_check_method=pass_all
5627 lt_cv_file_magic_cmd='/bin/file'
5628 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5631 lt_cv_file_magic_cmd='/bin/file'
5632 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5633 lt_cv_file_magic_test_file=/lib/libc.so
5636 lt_cv_deplibs_check_method=pass_all
5639 lt_cv_deplibs_check_method=pass_all
5645 lt_cv_deplibs_check_method=pass_all
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5651 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5655 if test "$build" = "$host"; then
5658 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5661 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5667 file_magic_cmd=$lt_cv_file_magic_cmd
5668 deplibs_check_method=$lt_cv_deplibs_check_method
5669 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5692 if test -n "$ac_tool_prefix"; then
5693 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5694 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 $as_echo_n "checking for $ac_word... " >&6; }
5697 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5698 $as_echo_n "(cached) " >&6
5700 if test -n "$DLLTOOL"; then
5701 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5710 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 DLLTOOL=$ac_cv_prog_DLLTOOL
5721 if test -n "$DLLTOOL"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5723 $as_echo "$DLLTOOL" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5731 if test -z "$ac_cv_prog_DLLTOOL"; then
5732 ac_ct_DLLTOOL=$DLLTOOL
5733 # Extract the first word of "dlltool", so it can be a program name with args.
5734 set dummy dlltool; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5738 $as_echo_n "(cached) " >&6
5740 if test -n "$ac_ct_DLLTOOL"; then
5741 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5761 if test -n "$ac_ct_DLLTOOL"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5763 $as_echo "$ac_ct_DLLTOOL" >&6; }
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5769 if test "x$ac_ct_DLLTOOL" = x; then
5772 case $cross_compiling:$ac_tool_warned in
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776 ac_tool_warned=yes ;;
5778 DLLTOOL=$ac_ct_DLLTOOL
5781 DLLTOOL="$ac_cv_prog_DLLTOOL"
5784 test -z "$DLLTOOL" && DLLTOOL=dlltool
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5796 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5797 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5800 lt_cv_sharedlib_from_linklib_cmd='unknown'
5803 cygwin* | mingw* | pw32* | cegcc*)
5804 # two different shell functions defined in ltmain.sh
5805 # decide which to use based on capabilities of $DLLTOOL
5806 case `$DLLTOOL --help 2>&1` in
5807 *--identify-strict*)
5808 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5811 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5816 # fallback: assume linklib IS sharedlib
5817 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5823 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5824 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5825 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5834 if test -n "$ac_tool_prefix"; then
5837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if test "${ac_cv_prog_AR+set}" = set; then :
5842 $as_echo_n "(cached) " >&6
5844 if test -n "$AR"; then
5845 ac_cv_prog_AR="$AR" # Let the user override the test.
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5854 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 if test -n "$AR"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5867 $as_echo "$AR" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5874 test -n "$AR" && break
5877 if test -z "$AR"; then
5881 # Extract the first word of "$ac_prog", so it can be a program name with args.
5882 set dummy $ac_prog; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5886 $as_echo_n "(cached) " >&6
5888 if test -n "$ac_ct_AR"; then
5889 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5898 ac_cv_prog_ac_ct_AR="$ac_prog"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5909 if test -n "$ac_ct_AR"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5911 $as_echo "$ac_ct_AR" >&6; }
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5918 test -n "$ac_ct_AR" && break
5921 if test "x$ac_ct_AR" = x; then
5924 case $cross_compiling:$ac_tool_warned in
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5928 ac_tool_warned=yes ;;
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5948 $as_echo_n "checking for archiver @FILE support... " >&6; }
5949 if test "${lt_cv_ar_at_file+set}" = set; then :
5950 $as_echo_n "(cached) " >&6
5953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h. */
5964 if ac_fn_c_try_compile "$LINENO"; then :
5965 echo conftest.$ac_objext > conftest.lst
5966 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5967 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5968 (eval $lt_ar_try) 2>&5
5970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5971 test $ac_status = 0; }
5972 if test "$ac_status" -eq 0; then
5973 # Ensure the archiver fails upon bogus file names.
5974 rm -f conftest.$ac_objext libconftest.a
5975 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5976 (eval $lt_ar_try) 2>&5
5978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5979 test $ac_status = 0; }
5980 if test "$ac_status" -ne 0; then
5984 rm -f conftest.* libconftest.a
5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5991 $as_echo "$lt_cv_ar_at_file" >&6; }
5993 if test "x$lt_cv_ar_at_file" = xno; then
5996 archiver_list_spec=$lt_cv_ar_at_file
6005 if test -n "$ac_tool_prefix"; then
6006 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6007 set dummy ${ac_tool_prefix}strip; ac_word=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if test "${ac_cv_prog_STRIP+set}" = set; then :
6011 $as_echo_n "(cached) " >&6
6013 if test -n "$STRIP"; then
6014 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir=.
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6023 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 STRIP=$ac_cv_prog_STRIP
6034 if test -n "$STRIP"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6036 $as_echo "$STRIP" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6044 if test -z "$ac_cv_prog_STRIP"; then
6046 # Extract the first word of "strip", so it can be a program name with args.
6047 set dummy strip; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6053 if test -n "$ac_ct_STRIP"; then
6054 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_ac_ct_STRIP="strip"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6074 if test -n "$ac_ct_STRIP"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6076 $as_echo "$ac_ct_STRIP" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6082 if test "x$ac_ct_STRIP" = x; then
6085 case $cross_compiling:$ac_tool_warned in
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned=yes ;;
6094 STRIP="$ac_cv_prog_STRIP"
6097 test -z "$STRIP" && STRIP=:
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6112 if test -n "$RANLIB"; then
6113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 RANLIB=$ac_cv_prog_RANLIB
6133 if test -n "$RANLIB"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6135 $as_echo "$RANLIB" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_RANLIB"; then
6144 ac_ct_RANLIB=$RANLIB
6145 # Extract the first word of "ranlib", so it can be a program name with args.
6146 set dummy ranlib; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6152 if test -n "$ac_ct_RANLIB"; then
6153 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_RANLIB="ranlib"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6173 if test -n "$ac_ct_RANLIB"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6175 $as_echo "$ac_ct_RANLIB" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_RANLIB" = x; then
6184 case $cross_compiling:$ac_tool_warned in
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6190 RANLIB=$ac_ct_RANLIB
6193 RANLIB="$ac_cv_prog_RANLIB"
6196 test -z "$RANLIB" && RANLIB=:
6203 # Determine commands to create old-style static archives.
6204 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6205 old_postinstall_cmds='chmod 644 $oldlib'
6206 old_postuninstall_cmds=
6208 if test -n "$RANLIB"; then
6211 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6214 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6217 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6222 lock_old_archive_extraction=yes ;;
6224 lock_old_archive_extraction=no ;;
6265 # If no C compiler was specified, use CC.
6268 # If no C compiler flags were specified, use CFLAGS.
6269 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6271 # Allow CC to be a program name with arguments.
6275 # Check for command to grab the raw symbol name followed by C symbol from nm.
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6277 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6278 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6279 $as_echo_n "(cached) " >&6
6282 # These are sane defaults that work on at least a few old systems.
6283 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6285 # Character class describing NM global symbol codes.
6286 symcode='[BCDEGRST]'
6288 # Regexp to match symbols that can be accessed directly from C.
6289 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6291 # Define system-specific variables.
6296 cygwin* | mingw* | pw32* | cegcc*)
6297 symcode='[ABCDGISTW]'
6300 if test "$host_cpu" = ia64; then
6301 symcode='[ABCDEGRST]'
6305 symcode='[BCDEGRST]'
6308 symcode='[BCDEGQRST]'
6319 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6327 # If we're using GNU nm, then use its standard symbol codes.
6328 case `$NM -V 2>&1` in
6329 *GNU* | *'with BFD'*)
6330 symcode='[ABCDGIRSTW]' ;;
6333 # Transform an extracted symbol line into a proper C declaration.
6334 # Some systems (esp. on ia64) link data and code symbols differently,
6335 # so use this general approach.
6336 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6338 # Transform an extracted symbol line into symbol name and symbol address
6339 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6340 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'"
6342 # Handle CRLF in mingw tool chain
6346 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6350 # Try without a prefix underscore, then with it.
6351 for ac_symprfx in "" "_"; do
6353 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6354 symxfrm="\\1 $ac_symprfx\\2 \\2"
6356 # Write the raw and C identifiers.
6357 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6358 # Fake it for dumpbin and say T for any non-static function
6359 # and D for any global variable.
6360 # Also find C++ and __fastcall symbols from MSVC++,
6361 # which start with @ or ?.
6362 lt_cv_sys_global_symbol_pipe="$AWK '"\
6363 " {last_section=section; section=\$ 3};"\
6364 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6365 " \$ 0!~/External *\|/{next};"\
6366 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6367 " {if(hide[section]) next};"\
6368 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6369 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6370 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6371 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6372 " ' prfx=^$ac_symprfx"
6374 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6376 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6378 # Check to see that the pipe works correctly.
6382 cat > conftest.$ac_ext <<_LT_EOF
6387 void nm_test_func(void);
6388 void nm_test_func(void){}
6392 int main(){nm_test_var='a';nm_test_func();return(0);}
6395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6396 (eval $ac_compile) 2>&5
6398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399 test $ac_status = 0; }; then
6400 # Now try to grab the symbols.
6402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6403 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6406 test $ac_status = 0; } && test -s "$nlist"; then
6407 # Try sorting and uniquifying the output.
6408 if sort "$nlist" | uniq > "$nlist"T; then
6409 mv -f "$nlist"T "$nlist"
6414 # Make sure that we snagged all the symbols we need.
6415 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6416 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6417 cat <<_LT_EOF > conftest.$ac_ext
6418 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6419 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6420 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6421 relocations are performed -- see ld's documentation on pseudo-relocs. */
6422 # define LT_DLSYM_CONST
6423 #elif defined(__osf__)
6424 /* This system does not cope well with relocations in const data. */
6425 # define LT_DLSYM_CONST
6427 # define LT_DLSYM_CONST const
6435 # Now generate the symbol file.
6436 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6438 cat <<_LT_EOF >> conftest.$ac_ext
6440 /* The mapping between symbol names and symbols. */
6441 LT_DLSYM_CONST struct {
6445 lt__PROGRAM__LTX_preloaded_symbols[] =
6447 { "@PROGRAM@", (void *) 0 },
6449 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6450 cat <<\_LT_EOF >> conftest.$ac_ext
6454 /* This works around a problem in FreeBSD linker */
6455 #ifdef FREEBSD_WORKAROUND
6456 static const void *lt_preloaded_setup() {
6457 return lt__PROGRAM__LTX_preloaded_symbols;
6465 # Now try linking the two files.
6466 mv conftest.$ac_objext conftstm.$ac_objext
6467 lt_globsym_save_LIBS=$LIBS
6468 lt_globsym_save_CFLAGS=$CFLAGS
6469 LIBS="conftstm.$ac_objext"
6470 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6472 (eval $ac_link) 2>&5
6474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6475 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6478 LIBS=$lt_globsym_save_LIBS
6479 CFLAGS=$lt_globsym_save_CFLAGS
6481 echo "cannot find nm_test_func in $nlist" >&5
6484 echo "cannot find nm_test_var in $nlist" >&5
6487 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6490 echo "$progname: failed program was:" >&5
6491 cat conftest.$ac_ext >&5
6493 rm -rf conftest* conftst*
6495 # Do not use the global_symbol_pipe unless it works.
6496 if test "$pipe_works" = yes; then
6499 lt_cv_sys_global_symbol_pipe=
6505 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6506 lt_cv_sys_global_symbol_to_cdecl=
6508 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6510 $as_echo "failed" >&6; }
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6513 $as_echo "ok" >&6; }
6516 # Response file support.
6517 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6518 nm_file_list_spec='@'
6519 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6520 nm_file_list_spec='@'
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6550 $as_echo_n "checking for sysroot... " >&6; }
6552 # Check whether --with-sysroot was given.
6553 if test "${with_sysroot+set}" = set; then :
6554 withval=$with_sysroot;
6561 case ${with_sysroot} in #(
6563 if test "$GCC" = yes; then
6564 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6568 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6574 $as_echo "${with_sysroot}" >&6; }
6575 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6580 $as_echo "${lt_sysroot:-no}" >&6; }
6586 # Check whether --enable-libtool-lock was given.
6587 if test "${enable_libtool_lock+set}" = set; then :
6588 enableval=$enable_libtool_lock;
6591 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6593 # Some flags need to be propagated to the compiler or linker for good
6597 # Find out which ABI we are using.
6598 echo 'int i;' > conftest.$ac_ext
6599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6600 (eval $ac_compile) 2>&5
6602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6603 test $ac_status = 0; }; then
6604 case `/usr/bin/file conftest.$ac_objext` in
6616 # Find out which ABI we are using.
6617 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6619 (eval $ac_compile) 2>&5
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622 test $ac_status = 0; }; then
6623 if test "$lt_cv_prog_gnu_ld" = yes; then
6624 case `/usr/bin/file conftest.$ac_objext` in
6626 LD="${LD-ld} -melf32bsmip"
6629 LD="${LD-ld} -melf32bmipn32"
6632 LD="${LD-ld} -melf64bmip"
6636 case `/usr/bin/file conftest.$ac_objext` in
6652 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6653 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6654 # Find out which ABI we are using.
6655 echo 'int i;' > conftest.$ac_ext
6656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6657 (eval $ac_compile) 2>&5
6659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6660 test $ac_status = 0; }; then
6661 case `/usr/bin/file conftest.o` in
6664 x86_64-*kfreebsd*-gnu)
6665 LD="${LD-ld} -m elf_i386_fbsd"
6668 LD="${LD-ld} -m elf_i386"
6670 ppc64-*linux*|powerpc64-*linux*)
6671 LD="${LD-ld} -m elf32ppclinux"
6674 LD="${LD-ld} -m elf_s390"
6677 LD="${LD-ld} -m elf32_sparc"
6683 x86_64-*kfreebsd*-gnu)
6684 LD="${LD-ld} -m elf_x86_64_fbsd"
6687 LD="${LD-ld} -m elf_x86_64"
6689 ppc*-*linux*|powerpc*-*linux*)
6690 LD="${LD-ld} -m elf64ppc"
6692 s390*-*linux*|s390*-*tpf*)
6693 LD="${LD-ld} -m elf64_s390"
6696 LD="${LD-ld} -m elf64_sparc"
6706 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6707 SAVE_CFLAGS="$CFLAGS"
6708 CFLAGS="$CFLAGS -belf"
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6710 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6711 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6715 ac_cpp='$CPP $CPPFLAGS'
6716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6731 if ac_fn_c_try_link "$LINENO"; then :
6732 lt_cv_cc_needs_belf=yes
6734 lt_cv_cc_needs_belf=no
6736 rm -f core conftest.err conftest.$ac_objext \
6737 conftest$ac_exeext conftest.$ac_ext
6739 ac_cpp='$CPP $CPPFLAGS'
6740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6746 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6747 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6748 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6749 CFLAGS="$SAVE_CFLAGS"
6753 # Find out which ABI we are using.
6754 echo 'int i;' > conftest.$ac_ext
6755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6756 (eval $ac_compile) 2>&5
6758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6759 test $ac_status = 0; }; then
6760 case `/usr/bin/file conftest.o` in
6762 case $lt_cv_prog_gnu_ld in
6763 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6765 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6777 need_locks="$enable_libtool_lock"
6779 if test -n "$ac_tool_prefix"; then
6780 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}mt; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
6785 $as_echo_n "(cached) " >&6
6787 if test -n "$MANIFEST_TOOL"; then
6788 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6808 if test -n "$MANIFEST_TOOL"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6810 $as_echo "$MANIFEST_TOOL" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6818 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6819 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6820 # Extract the first word of "mt", so it can be a program name with args.
6821 set dummy mt; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
6825 $as_echo_n "(cached) " >&6
6827 if test -n "$ac_ct_MANIFEST_TOOL"; then
6828 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6848 if test -n "$ac_ct_MANIFEST_TOOL"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6850 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 $as_echo "no" >&6; }
6856 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6859 case $cross_compiling:$ac_tool_warned in
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6865 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6868 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6871 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6873 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6874 if test "${lt_cv_path_mainfest_tool+set}" = set; then :
6875 $as_echo_n "(cached) " >&6
6877 lt_cv_path_mainfest_tool=no
6878 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6879 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6880 cat conftest.err >&5
6881 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6882 lt_cv_path_mainfest_tool=yes
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6887 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6888 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6898 rhapsody* | darwin*)
6899 if test -n "$ac_tool_prefix"; then
6900 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6901 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; }
6904 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6905 $as_echo_n "(cached) " >&6
6907 if test -n "$DSYMUTIL"; then
6908 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6927 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6928 if test -n "$DSYMUTIL"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6930 $as_echo "$DSYMUTIL" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933 $as_echo "no" >&6; }
6938 if test -z "$ac_cv_prog_DSYMUTIL"; then
6939 ac_ct_DSYMUTIL=$DSYMUTIL
6940 # Extract the first word of "dsymutil", so it can be a program name with args.
6941 set dummy dsymutil; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 $as_echo_n "checking for $ac_word... " >&6; }
6944 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6945 $as_echo_n "(cached) " >&6
6947 if test -n "$ac_ct_DSYMUTIL"; then
6948 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 test -z "$as_dir" && as_dir=.
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6957 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6968 if test -n "$ac_ct_DSYMUTIL"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6970 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6976 if test "x$ac_ct_DSYMUTIL" = x; then
6979 case $cross_compiling:$ac_tool_warned in
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6983 ac_tool_warned=yes ;;
6985 DSYMUTIL=$ac_ct_DSYMUTIL
6988 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6991 if test -n "$ac_tool_prefix"; then
6992 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6997 $as_echo_n "(cached) " >&6
6999 if test -n "$NMEDIT"; then
7000 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7009 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 NMEDIT=$ac_cv_prog_NMEDIT
7020 if test -n "$NMEDIT"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7022 $as_echo "$NMEDIT" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7030 if test -z "$ac_cv_prog_NMEDIT"; then
7031 ac_ct_NMEDIT=$NMEDIT
7032 # Extract the first word of "nmedit", so it can be a program name with args.
7033 set dummy nmedit; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7037 $as_echo_n "(cached) " >&6
7039 if test -n "$ac_ct_NMEDIT"; then
7040 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 test -z "$as_dir" && as_dir=.
7047 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7049 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7060 if test -n "$ac_ct_NMEDIT"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7062 $as_echo "$ac_ct_NMEDIT" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7068 if test "x$ac_ct_NMEDIT" = x; then
7071 case $cross_compiling:$ac_tool_warned in
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7075 ac_tool_warned=yes ;;
7077 NMEDIT=$ac_ct_NMEDIT
7080 NMEDIT="$ac_cv_prog_NMEDIT"
7083 if test -n "$ac_tool_prefix"; then
7084 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7085 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if test "${ac_cv_prog_LIPO+set}" = set; then :
7089 $as_echo_n "(cached) " >&6
7091 if test -n "$LIPO"; then
7092 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir=.
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7101 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 LIPO=$ac_cv_prog_LIPO
7112 if test -n "$LIPO"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7114 $as_echo "$LIPO" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7122 if test -z "$ac_cv_prog_LIPO"; then
7124 # Extract the first word of "lipo", so it can be a program name with args.
7125 set dummy lipo; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; }
7128 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7129 $as_echo_n "(cached) " >&6
7131 if test -n "$ac_ct_LIPO"; then
7132 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7141 ac_cv_prog_ac_ct_LIPO="lipo"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7152 if test -n "$ac_ct_LIPO"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7154 $as_echo "$ac_ct_LIPO" >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7160 if test "x$ac_ct_LIPO" = x; then
7163 case $cross_compiling:$ac_tool_warned in
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7167 ac_tool_warned=yes ;;
7172 LIPO="$ac_cv_prog_LIPO"
7175 if test -n "$ac_tool_prefix"; then
7176 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}otool; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7183 if test -n "$OTOOL"; then
7184 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir=.
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7193 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 OTOOL=$ac_cv_prog_OTOOL
7204 if test -n "$OTOOL"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7206 $as_echo "$OTOOL" >&6; }
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7214 if test -z "$ac_cv_prog_OTOOL"; then
7216 # Extract the first word of "otool", so it can be a program name with args.
7217 set dummy otool; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7221 $as_echo_n "(cached) " >&6
7223 if test -n "$ac_ct_OTOOL"; then
7224 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7230 test -z "$as_dir" && as_dir=.
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7233 ac_cv_prog_ac_ct_OTOOL="otool"
7234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7244 if test -n "$ac_ct_OTOOL"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7246 $as_echo "$ac_ct_OTOOL" >&6; }
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7252 if test "x$ac_ct_OTOOL" = x; then
7255 case $cross_compiling:$ac_tool_warned in
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7259 ac_tool_warned=yes ;;
7264 OTOOL="$ac_cv_prog_OTOOL"
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7275 if test -n "$OTOOL64"; then
7276 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 OTOOL64=$ac_cv_prog_OTOOL64
7296 if test -n "$OTOOL64"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7298 $as_echo "$OTOOL64" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_OTOOL64"; then
7307 ac_ct_OTOOL64=$OTOOL64
7308 # Extract the first word of "otool64", so it can be a program name with args.
7309 set dummy otool64; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7315 if test -n "$ac_ct_OTOOL64"; then
7316 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_OTOOL64="otool64"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7336 if test -n "$ac_ct_OTOOL64"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7338 $as_echo "$ac_ct_OTOOL64" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_OTOOL64" = x; then
7347 case $cross_compiling:$ac_tool_warned in
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7353 OTOOL64=$ac_ct_OTOOL64
7356 OTOOL64="$ac_cv_prog_OTOOL64"
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7386 $as_echo_n "checking for -single_module linker flag... " >&6; }
7387 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7390 lt_cv_apple_cc_single_mod=no
7391 if test -z "${LT_MULTI_MODULE}"; then
7392 # By default we will add the -single_module flag. You can override
7393 # by either setting the environment variable LT_MULTI_MODULE
7394 # non-empty at configure time, or by adding -multi_module to the
7396 rm -rf libconftest.dylib*
7397 echo "int foo(void){return 1;}" > conftest.c
7398 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7399 -dynamiclib -Wl,-single_module conftest.c" >&5
7400 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7401 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7403 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7404 lt_cv_apple_cc_single_mod=yes
7406 cat conftest.err >&5
7408 rm -rf libconftest.dylib*
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7413 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7415 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7416 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7417 $as_echo_n "(cached) " >&6
7419 lt_cv_ld_exported_symbols_list=no
7420 save_LDFLAGS=$LDFLAGS
7421 echo "_main" > conftest.sym
7422 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7434 if ac_fn_c_try_link "$LINENO"; then :
7435 lt_cv_ld_exported_symbols_list=yes
7437 lt_cv_ld_exported_symbols_list=no
7439 rm -f core conftest.err conftest.$ac_objext \
7440 conftest$ac_exeext conftest.$ac_ext
7441 LDFLAGS="$save_LDFLAGS"
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7445 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7447 $as_echo_n "checking for -force_load linker flag... " >&6; }
7448 if test "${lt_cv_ld_force_load+set}" = set; then :
7449 $as_echo_n "(cached) " >&6
7451 lt_cv_ld_force_load=no
7452 cat > conftest.c << _LT_EOF
7453 int forced_loaded() { return 2;}
7455 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7456 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7457 echo "$AR cru libconftest.a conftest.o" >&5
7458 $AR cru libconftest.a conftest.o 2>&5
7459 echo "$RANLIB libconftest.a" >&5
7460 $RANLIB libconftest.a 2>&5
7461 cat > conftest.c << _LT_EOF
7462 int main() { return 0;}
7464 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7465 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7467 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7468 lt_cv_ld_force_load=yes
7470 cat conftest.err >&5
7472 rm -f conftest.err libconftest.a conftest conftest.c
7473 rm -rf conftest.dSYM
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7477 $as_echo "$lt_cv_ld_force_load" >&6; }
7479 rhapsody* | darwin1.[012])
7480 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7482 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7483 darwin*) # darwin 5.x on
7484 # if running on 10.5 or later, the deployment target defaults
7485 # to the OS version, if on x86, and 10.4, the deployment
7486 # target defaults to 10.4. Don't you love it?
7487 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7488 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7489 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7491 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7493 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7497 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7498 _lt_dar_single_mod='$single_module'
7500 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7501 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7503 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7505 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7506 _lt_dsymutil='~$DSYMUTIL $lib || :'
7514 ac_cpp='$CPP $CPPFLAGS'
7515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7519 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7520 # On Suns, sometimes $CPP names a directory.
7521 if test -n "$CPP" && test -d "$CPP"; then
7524 if test -z "$CPP"; then
7525 if test "${ac_cv_prog_CPP+set}" = set; then :
7526 $as_echo_n "(cached) " >&6
7528 # Double quotes because CPP needs to be expanded
7529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7532 for ac_c_preproc_warn_flag in '' yes
7534 # Use a header file that comes with gcc, so configuring glibc
7535 # with a fresh cross-compiler works.
7536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7537 # <limits.h> exists even on freestanding compilers.
7538 # On the NeXT, cc -E runs the code through the compiler's parser,
7539 # not just through cpp. "Syntax error" is here to catch this case.
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7543 # include <limits.h>
7545 # include <assert.h>
7549 if ac_fn_c_try_cpp "$LINENO"; then :
7552 # Broken: fails on valid input.
7555 rm -f conftest.err conftest.i conftest.$ac_ext
7557 # OK, works on sane cases. Now check whether nonexistent headers
7558 # can be detected and how.
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7561 #include <ac_nonexistent.h>
7563 if ac_fn_c_try_cpp "$LINENO"; then :
7564 # Broken: success on invalid input.
7567 # Passes both tests.
7571 rm -f conftest.err conftest.i conftest.$ac_ext
7574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7575 rm -f conftest.i conftest.err conftest.$ac_ext
7576 if $ac_preproc_ok; then :
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7589 $as_echo "$CPP" >&6; }
7591 for ac_c_preproc_warn_flag in '' yes
7593 # Use a header file that comes with gcc, so configuring glibc
7594 # with a fresh cross-compiler works.
7595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7596 # <limits.h> exists even on freestanding compilers.
7597 # On the NeXT, cc -E runs the code through the compiler's parser,
7598 # not just through cpp. "Syntax error" is here to catch this case.
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7602 # include <limits.h>
7604 # include <assert.h>
7608 if ac_fn_c_try_cpp "$LINENO"; then :
7611 # Broken: fails on valid input.
7614 rm -f conftest.err conftest.i conftest.$ac_ext
7616 # OK, works on sane cases. Now check whether nonexistent headers
7617 # can be detected and how.
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7620 #include <ac_nonexistent.h>
7622 if ac_fn_c_try_cpp "$LINENO"; then :
7623 # Broken: success on invalid input.
7626 # Passes both tests.
7630 rm -f conftest.err conftest.i conftest.$ac_ext
7633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7634 rm -f conftest.i conftest.err conftest.$ac_ext
7635 if $ac_preproc_ok; then :
7638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7640 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7641 See \`config.log' for more details" "$LINENO" 5 ; }
7645 ac_cpp='$CPP $CPPFLAGS'
7646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7652 $as_echo_n "checking for ANSI C header files... " >&6; }
7653 if test "${ac_cv_header_stdc+set}" = set; then :
7654 $as_echo_n "(cached) " >&6
7656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7657 /* end confdefs.h. */
7671 if ac_fn_c_try_compile "$LINENO"; then :
7672 ac_cv_header_stdc=yes
7674 ac_cv_header_stdc=no
7676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7678 if test $ac_cv_header_stdc = yes; then
7679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7686 $EGREP "memchr" >/dev/null 2>&1; then :
7689 ac_cv_header_stdc=no
7695 if test $ac_cv_header_stdc = yes; then
7696 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7703 $EGREP "free" >/dev/null 2>&1; then :
7706 ac_cv_header_stdc=no
7712 if test $ac_cv_header_stdc = yes; then
7713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7714 if test "$cross_compiling" = yes; then :
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7721 #if ((' ' & 0x0FF) == 0x020)
7722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7725 # define ISLOWER(c) \
7726 (('a' <= (c) && (c) <= 'i') \
7727 || ('j' <= (c) && (c) <= 'r') \
7728 || ('s' <= (c) && (c) <= 'z'))
7729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7737 for (i = 0; i < 256; i++)
7738 if (XOR (islower (i), ISLOWER (i))
7739 || toupper (i) != TOUPPER (i))
7744 if ac_fn_c_try_run "$LINENO"; then :
7747 ac_cv_header_stdc=no
7749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7750 conftest.$ac_objext conftest.beam conftest.$ac_ext
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7756 $as_echo "$ac_cv_header_stdc" >&6; }
7757 if test $ac_cv_header_stdc = yes; then
7759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7764 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7765 inttypes.h stdint.h unistd.h
7767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 for ac_header in dlfcn.h
7782 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7784 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_DLFCN_H 1
7807 # Check whether --enable-shared was given.
7808 if test "${enable_shared+set}" = set; then :
7809 enableval=$enable_shared; p=${PACKAGE-default}
7811 yes) enable_shared=yes ;;
7812 no) enable_shared=no ;;
7815 # Look at the argument we got. We use all the common list separators.
7816 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7817 for pkg in $enableval; do
7819 if test "X$pkg" = "X$p"; then
7840 # Check whether --with-pic was given.
7841 if test "${with_pic+set}" = set; then :
7842 withval=$with_pic; pic_mode="$withval"
7848 test -z "$pic_mode" && pic_mode=default
7856 # Check whether --enable-fast-install was given.
7857 if test "${enable_fast_install+set}" = set; then :
7858 enableval=$enable_fast_install; p=${PACKAGE-default}
7860 yes) enable_fast_install=yes ;;
7861 no) enable_fast_install=no ;;
7863 enable_fast_install=no
7864 # Look at the argument we got. We use all the common list separators.
7865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866 for pkg in $enableval; do
7868 if test "X$pkg" = "X$p"; then
7869 enable_fast_install=yes
7876 enable_fast_install=yes
7889 # This can be used to rebuild libtool when needed
7890 LIBTOOL_DEPS="$ltmain"
7892 # Always use our own libtool.
7893 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7920 test -z "$LN_S" && LN_S="ln -s"
7935 if test -n "${ZSH_VERSION+set}" ; then
7936 setopt NO_GLOB_SUBST
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7940 $as_echo_n "checking for objdir... " >&6; }
7941 if test "${lt_cv_objdir+set}" = set; then :
7942 $as_echo_n "(cached) " >&6
7944 rm -f .libs 2>/dev/null
7945 mkdir .libs 2>/dev/null
7946 if test -d .libs; then
7949 # MS-DOS does not allow filenames that begin with a dot.
7952 rmdir .libs 2>/dev/null
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7955 $as_echo "$lt_cv_objdir" >&6; }
7956 objdir=$lt_cv_objdir
7962 cat >>confdefs.h <<_ACEOF
7963 #define LT_OBJDIR "$lt_cv_objdir/"
7971 # AIX sometimes has problems with the GCC collect2 program. For some
7972 # reason, if we set the COLLECT_NAMES environment variable, the problems
7973 # vanish in a puff of smoke.
7974 if test "X${COLLECT_NAMES+set}" != Xset; then
7976 export COLLECT_NAMES
7983 can_build_shared=yes
7985 # All known linkers require a `.a' archive for static linking (except MSVC,
7986 # which needs '.lib').
7989 with_gnu_ld="$lt_cv_prog_gnu_ld"
7992 old_CFLAGS="$CFLAGS"
7994 # Set sane defaults for various variables
7995 test -z "$CC" && CC=cc
7996 test -z "$LTCC" && LTCC=$CC
7997 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7998 test -z "$LD" && LD=ld
7999 test -z "$ac_objext" && ac_objext=o
8001 for cc_temp in $compiler""; do
8003 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8004 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8009 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8012 # Only perform the check for file, if the check method requires it
8013 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8014 case $deplibs_check_method in
8016 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8018 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8019 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8020 $as_echo_n "(cached) " >&6
8024 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8027 lt_save_MAGIC_CMD="$MAGIC_CMD"
8028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8029 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8030 for ac_dir in $ac_dummy; do
8032 test -z "$ac_dir" && ac_dir=.
8033 if test -f $ac_dir/${ac_tool_prefix}file; then
8034 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8035 if test -n "$file_magic_test_file"; then
8036 case $deplibs_check_method in
8038 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8039 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8040 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8041 $EGREP "$file_magic_regex" > /dev/null; then
8046 *** Warning: the command libtool uses to detect shared libraries,
8047 *** $file_magic_cmd, produces output that libtool cannot recognize.
8048 *** The result is that libtool may fail to recognize shared libraries
8049 *** as such. This will affect the creation of libtool libraries that
8050 *** depend on shared libraries, but programs linked with such libtool
8051 *** libraries will work regardless of this problem. Nevertheless, you
8052 *** may want to report the problem to your system manager and/or to
8053 *** bug-libtool@gnu.org
8063 MAGIC_CMD="$lt_save_MAGIC_CMD"
8068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8069 if test -n "$MAGIC_CMD"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8071 $as_echo "$MAGIC_CMD" >&6; }
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8081 if test -z "$lt_cv_path_MAGIC_CMD"; then
8082 if test -n "$ac_tool_prefix"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8084 $as_echo_n "checking for file... " >&6; }
8085 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8086 $as_echo_n "(cached) " >&6
8090 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8093 lt_save_MAGIC_CMD="$MAGIC_CMD"
8094 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8095 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8096 for ac_dir in $ac_dummy; do
8098 test -z "$ac_dir" && ac_dir=.
8099 if test -f $ac_dir/file; then
8100 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8101 if test -n "$file_magic_test_file"; then
8102 case $deplibs_check_method in
8104 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8105 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8106 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8107 $EGREP "$file_magic_regex" > /dev/null; then
8112 *** Warning: the command libtool uses to detect shared libraries,
8113 *** $file_magic_cmd, produces output that libtool cannot recognize.
8114 *** The result is that libtool may fail to recognize shared libraries
8115 *** as such. This will affect the creation of libtool libraries that
8116 *** depend on shared libraries, but programs linked with such libtool
8117 *** libraries will work regardless of this problem. Nevertheless, you
8118 *** may want to report the problem to your system manager and/or to
8119 *** bug-libtool@gnu.org
8129 MAGIC_CMD="$lt_save_MAGIC_CMD"
8134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8135 if test -n "$MAGIC_CMD"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8137 $as_echo "$MAGIC_CMD" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8153 # Use C for the default configuration in the libtool script
8157 ac_cpp='$CPP $CPPFLAGS'
8158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8163 # Source file extension for C test sources.
8166 # Object file extension for compiled C test sources.
8170 # Code to be used in simple compile tests
8171 lt_simple_compile_test_code="int some_variable = 0;"
8173 # Code to be used in simple link tests
8174 lt_simple_link_test_code='int main(){return(0);}'
8182 # If no C compiler was specified, use CC.
8185 # If no C compiler flags were specified, use CFLAGS.
8186 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8188 # Allow CC to be a program name with arguments.
8191 # Save the default compiler, since it gets overwritten when the other
8192 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8193 compiler_DEFAULT=$CC
8195 # save warnings/boilerplate of simple test code
8196 ac_outfile=conftest.$ac_objext
8197 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8198 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8199 _lt_compiler_boilerplate=`cat conftest.err`
8202 ac_outfile=conftest.$ac_objext
8203 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8204 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8205 _lt_linker_boilerplate=`cat conftest.err`
8210 ## There is no encapsulation within the following macros, do not change
8211 ## the running order or otherwise move them around unless you know exactly
8212 ## what you are doing...
8213 if test -n "$compiler"; then
8215 lt_prog_compiler_no_builtin_flag=
8217 if test "$GCC" = yes; then
8218 case $cc_basename in
8220 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8222 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8226 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8227 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8228 $as_echo_n "(cached) " >&6
8230 lt_cv_prog_compiler_rtti_exceptions=no
8231 ac_outfile=conftest.$ac_objext
8232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8233 lt_compiler_flag="-fno-rtti -fno-exceptions"
8234 # Insert the option either (1) after the last *FLAGS variable, or
8235 # (2) before a word containing "conftest.", or (3) at the end.
8236 # Note that $ac_compile itself does not contain backslashes and begins
8237 # with a dollar sign (not a hyphen), so the echo should work correctly.
8238 # The option is referenced via a variable to avoid confusing sed.
8239 lt_compile=`echo "$ac_compile" | $SED \
8240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8242 -e 's:$: $lt_compiler_flag:'`
8243 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8244 (eval "$lt_compile" 2>conftest.err)
8246 cat conftest.err >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 if (exit $ac_status) && test -s "$ac_outfile"; then
8249 # The compiler can only warn and ignore the option if not recognized
8250 # So say no if there are warnings other than the usual output.
8251 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8252 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8253 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8254 lt_cv_prog_compiler_rtti_exceptions=yes
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8261 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8263 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8264 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8276 lt_prog_compiler_wl=
8277 lt_prog_compiler_pic=
8278 lt_prog_compiler_static=
8281 if test "$GCC" = yes; then
8282 lt_prog_compiler_wl='-Wl,'
8283 lt_prog_compiler_static='-static'
8287 # All AIX code is PIC.
8288 if test "$host_cpu" = ia64; then
8289 # AIX 5 now supports IA64 processor
8290 lt_prog_compiler_static='-Bstatic'
8297 # see comment about AmigaOS4 .so support
8298 lt_prog_compiler_pic='-fPIC'
8301 # FIXME: we need at least 68020 code to build shared libraries, but
8302 # adding the `-m68020' flag to GCC prevents building anything better,
8304 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8309 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8310 # PIC is the default for these OSes.
8313 mingw* | cygwin* | pw32* | os2* | cegcc*)
8314 # This hack is so that the source file can tell whether it is being
8315 # built for inclusion in a dll (and should export symbols for example).
8316 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8317 # (--disable-auto-import) libraries
8318 lt_prog_compiler_pic='-DDLL_EXPORT'
8321 darwin* | rhapsody*)
8322 # PIC is the default on this platform
8323 # Common symbols not allowed in MH_DYLIB files
8324 lt_prog_compiler_pic='-fno-common'
8328 # PIC is the default for Haiku.
8329 # The "-static" flag exists, but is broken.
8330 lt_prog_compiler_static=
8334 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8335 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8336 # sets the default TLS model and affects inlining.
8342 lt_prog_compiler_pic='-fPIC'
8348 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8349 # Instead, we relocate shared libraries at runtime.
8353 # Just because we use GCC doesn't mean we suddenly get shared libraries
8354 # on systems that don't support them.
8355 lt_prog_compiler_can_build_shared=no
8360 # QNX uses GNU C++, but need to define -shared option too, otherwise
8362 lt_prog_compiler_pic='-fPIC -shared'
8366 if test -d /usr/nec; then
8367 lt_prog_compiler_pic=-Kconform_pic
8372 lt_prog_compiler_pic='-fPIC'
8376 case $cc_basename in
8377 nvcc*) # Cuda Compiler Driver 2.2
8378 lt_prog_compiler_wl='-Xlinker '
8379 lt_prog_compiler_pic='-Xcompiler -fPIC'
8383 # PORTME Check for flag to pass linker flags through the system compiler.
8386 lt_prog_compiler_wl='-Wl,'
8387 if test "$host_cpu" = ia64; then
8388 # AIX 5 now supports IA64 processor
8389 lt_prog_compiler_static='-Bstatic'
8391 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8395 mingw* | cygwin* | pw32* | os2* | cegcc*)
8396 # This hack is so that the source file can tell whether it is being
8397 # built for inclusion in a dll (and should export symbols for example).
8398 lt_prog_compiler_pic='-DDLL_EXPORT'
8401 hpux9* | hpux10* | hpux11*)
8402 lt_prog_compiler_wl='-Wl,'
8403 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8410 lt_prog_compiler_pic='+Z'
8413 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8414 lt_prog_compiler_static='${wl}-a ${wl}archive'
8417 irix5* | irix6* | nonstopux*)
8418 lt_prog_compiler_wl='-Wl,'
8419 # PIC (with -KPIC) is the default.
8420 lt_prog_compiler_static='-non_shared'
8423 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8424 case $cc_basename in
8425 # old Intel for x86_64 which still supported -KPIC.
8427 lt_prog_compiler_wl='-Wl,'
8428 lt_prog_compiler_pic='-KPIC'
8429 lt_prog_compiler_static='-static'
8431 # icc used to be incompatible with GCC.
8432 # ICC 10 doesn't accept -KPIC any more.
8434 lt_prog_compiler_wl='-Wl,'
8435 lt_prog_compiler_pic='-fPIC'
8436 lt_prog_compiler_static='-static'
8438 # Lahey Fortran 8.1.
8440 lt_prog_compiler_wl='-Wl,'
8441 lt_prog_compiler_pic='--shared'
8442 lt_prog_compiler_static='--static'
8445 # NAG Fortran compiler
8446 lt_prog_compiler_wl='-Wl,-Wl,,'
8447 lt_prog_compiler_pic='-PIC'
8448 lt_prog_compiler_static='-Bstatic'
8450 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8451 # Portland Group compilers (*not* the Pentium gcc compiler,
8452 # which looks to be a dead project)
8453 lt_prog_compiler_wl='-Wl,'
8454 lt_prog_compiler_pic='-fpic'
8455 lt_prog_compiler_static='-Bstatic'
8458 lt_prog_compiler_wl='-Wl,'
8459 # All Alpha code is PIC.
8460 lt_prog_compiler_static='-non_shared'
8462 xl* | bgxl* | bgf* | mpixl*)
8463 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8464 lt_prog_compiler_wl='-Wl,'
8465 lt_prog_compiler_pic='-qpic'
8466 lt_prog_compiler_static='-qstaticlink'
8469 case `$CC -V 2>&1 | sed 5q` in
8470 *Sun\ F* | *Sun*Fortran*)
8471 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8472 lt_prog_compiler_pic='-KPIC'
8473 lt_prog_compiler_static='-Bstatic'
8474 lt_prog_compiler_wl=''
8478 lt_prog_compiler_pic='-KPIC'
8479 lt_prog_compiler_static='-Bstatic'
8480 lt_prog_compiler_wl='-Wl,'
8488 lt_prog_compiler_pic='-KPIC'
8489 lt_prog_compiler_static='-Bstatic'
8493 # QNX uses GNU C++, but need to define -shared option too, otherwise
8495 lt_prog_compiler_pic='-fPIC -shared'
8498 osf3* | osf4* | osf5*)
8499 lt_prog_compiler_wl='-Wl,'
8500 # All OSF/1 code is PIC.
8501 lt_prog_compiler_static='-non_shared'
8505 lt_prog_compiler_static='-non_shared'
8509 lt_prog_compiler_pic='-KPIC'
8510 lt_prog_compiler_static='-Bstatic'
8511 case $cc_basename in
8512 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8513 lt_prog_compiler_wl='-Qoption ld ';;
8515 lt_prog_compiler_wl='-Wl,';;
8520 lt_prog_compiler_wl='-Qoption ld '
8521 lt_prog_compiler_pic='-PIC'
8522 lt_prog_compiler_static='-Bstatic'
8525 sysv4 | sysv4.2uw2* | sysv4.3*)
8526 lt_prog_compiler_wl='-Wl,'
8527 lt_prog_compiler_pic='-KPIC'
8528 lt_prog_compiler_static='-Bstatic'
8532 if test -d /usr/nec ;then
8533 lt_prog_compiler_pic='-Kconform_pic'
8534 lt_prog_compiler_static='-Bstatic'
8538 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_pic='-KPIC'
8541 lt_prog_compiler_static='-Bstatic'
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_can_build_shared=no
8550 lt_prog_compiler_pic='-pic'
8551 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_can_build_shared=no
8561 # For platforms which do not support PIC, -DPIC is meaningless:
8563 lt_prog_compiler_pic=
8566 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8571 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8572 if test "${lt_cv_prog_compiler_pic+set}" = set; then :
8573 $as_echo_n "(cached) " >&6
8575 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8578 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8579 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8582 # Check to make sure the PIC flag actually works.
8584 if test -n "$lt_prog_compiler_pic"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8586 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8587 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8588 $as_echo_n "(cached) " >&6
8590 lt_cv_prog_compiler_pic_works=no
8591 ac_outfile=conftest.$ac_objext
8592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8593 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8594 # Insert the option either (1) after the last *FLAGS variable, or
8595 # (2) before a word containing "conftest.", or (3) at the end.
8596 # Note that $ac_compile itself does not contain backslashes and begins
8597 # with a dollar sign (not a hyphen), so the echo should work correctly.
8598 # The option is referenced via a variable to avoid confusing sed.
8599 lt_compile=`echo "$ac_compile" | $SED \
8600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8602 -e 's:$: $lt_compiler_flag:'`
8603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8604 (eval "$lt_compile" 2>conftest.err)
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 if (exit $ac_status) && test -s "$ac_outfile"; then
8609 # The compiler can only warn and ignore the option if not recognized
8610 # So say no if there are warnings other than the usual output.
8611 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8612 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8613 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8614 lt_cv_prog_compiler_pic_works=yes
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8621 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8623 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8624 case $lt_prog_compiler_pic in
8626 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8629 lt_prog_compiler_pic=
8630 lt_prog_compiler_can_build_shared=no
8646 # Check to make sure the static flag actually works.
8648 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8650 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8651 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8652 $as_echo_n "(cached) " >&6
8654 lt_cv_prog_compiler_static_works=no
8655 save_LDFLAGS="$LDFLAGS"
8656 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8657 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8658 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8659 # The linker can only warn and ignore the option if not recognized
8660 # So say no if there are warnings
8661 if test -s conftest.err; then
8662 # Append any errors to the config.log.
8663 cat conftest.err 1>&5
8664 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8665 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666 if diff conftest.exp conftest.er2 >/dev/null; then
8667 lt_cv_prog_compiler_static_works=yes
8670 lt_cv_prog_compiler_static_works=yes
8674 LDFLAGS="$save_LDFLAGS"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8678 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8680 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8683 lt_prog_compiler_static=
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8693 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8694 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8695 $as_echo_n "(cached) " >&6
8697 lt_cv_prog_compiler_c_o=no
8698 $RM -r conftest 2>/dev/null
8702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8704 lt_compiler_flag="-o out/conftest2.$ac_objext"
8705 # Insert the option either (1) after the last *FLAGS variable, or
8706 # (2) before a word containing "conftest.", or (3) at the end.
8707 # Note that $ac_compile itself does not contain backslashes and begins
8708 # with a dollar sign (not a hyphen), so the echo should work correctly.
8709 lt_compile=`echo "$ac_compile" | $SED \
8710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712 -e 's:$: $lt_compiler_flag:'`
8713 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8714 (eval "$lt_compile" 2>out/conftest.err)
8716 cat out/conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8720 # The compiler can only warn and ignore the option if not recognized
8721 # So say no if there are warnings
8722 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8723 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8724 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8725 lt_cv_prog_compiler_c_o=yes
8730 # SGI C++ compiler will create directory out/ii_files/ for
8731 # template instantiation
8732 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8733 $RM out/* && rmdir out
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8740 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8748 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8749 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8750 $as_echo_n "(cached) " >&6
8752 lt_cv_prog_compiler_c_o=no
8753 $RM -r conftest 2>/dev/null
8757 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8759 lt_compiler_flag="-o out/conftest2.$ac_objext"
8760 # Insert the option either (1) after the last *FLAGS variable, or
8761 # (2) before a word containing "conftest.", or (3) at the end.
8762 # Note that $ac_compile itself does not contain backslashes and begins
8763 # with a dollar sign (not a hyphen), so the echo should work correctly.
8764 lt_compile=`echo "$ac_compile" | $SED \
8765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8767 -e 's:$: $lt_compiler_flag:'`
8768 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8769 (eval "$lt_compile" 2>out/conftest.err)
8771 cat out/conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8775 # The compiler can only warn and ignore the option if not recognized
8776 # So say no if there are warnings
8777 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8778 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8779 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8780 lt_cv_prog_compiler_c_o=yes
8785 # SGI C++ compiler will create directory out/ii_files/ for
8786 # template instantiation
8787 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8788 $RM out/* && rmdir out
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8795 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8800 hard_links="nottested"
8801 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8802 # do not overwrite the value of need_locks provided by the user
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8804 $as_echo_n "checking if we can lock with hard links... " >&6; }
8807 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8809 ln conftest.a conftest.b 2>&5 || hard_links=no
8810 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8812 $as_echo "$hard_links" >&6; }
8813 if test "$hard_links" = no; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8815 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8828 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8831 allow_undefined_flag=
8832 always_export_symbols=no
8834 archive_expsym_cmds=
8835 compiler_needs_object=no
8836 enable_shared_with_static_runtimes=no
8837 export_dynamic_flag_spec=
8838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8839 hardcode_automatic=no
8841 hardcode_direct_absolute=no
8842 hardcode_libdir_flag_spec=
8843 hardcode_libdir_flag_spec_ld=
8844 hardcode_libdir_separator=
8846 hardcode_shlibpath_var=unsupported
8848 link_all_deplibs=unknown
8851 old_archive_from_new_cmds=
8852 old_archive_from_expsyms_cmds=
8853 thread_safe_flag_spec=
8854 whole_archive_flag_spec=
8855 # include_expsyms should be a list of space-separated symbols to be *always*
8856 # included in the symbol list
8858 # exclude_expsyms can be an extended regexp of symbols to exclude
8859 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8860 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8861 # as well as any symbol that contains `d'.
8862 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8863 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8864 # platforms (ab)use it in PIC code, but their linkers get confused if
8865 # the symbol is explicitly referenced. Since portable code cannot
8866 # rely on this symbol name, it's probably fine to never include it in
8867 # preloaded symbol tables.
8868 # Exclude shared library initialization/finalization symbols.
8869 extract_expsyms_cmds=
8872 cygwin* | mingw* | pw32* | cegcc*)
8873 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8874 # When not using gcc, we currently assume that we are using
8875 # Microsoft Visual C++.
8876 if test "$GCC" != yes; then
8881 # we just hope/assume this is gcc and not c89 (= MSVC++)
8891 # On some targets, GNU ld is compatible enough with the native linker
8892 # that we're better off using the native interface for both.
8893 lt_use_gnu_ld_interface=no
8894 if test "$with_gnu_ld" = yes; then
8897 # The AIX port of GNU ld has always aspired to compatibility
8898 # with the native linker. However, as the warning in the GNU ld
8899 # block says, versions before 2.19.5* couldn't really create working
8900 # shared libraries, regardless of the interface used.
8901 case `$LD -v 2>&1` in
8902 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8903 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8904 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8906 lt_use_gnu_ld_interface=yes
8911 lt_use_gnu_ld_interface=yes
8916 if test "$lt_use_gnu_ld_interface" = yes; then
8917 # If archive_cmds runs LD, not CC, wlarc should be empty
8920 # Set some defaults for GNU ld with shared library support. These
8921 # are reset later if shared libraries are not supported. Putting them
8922 # here allows them to be overridden if necessary.
8923 runpath_var=LD_RUN_PATH
8924 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8925 export_dynamic_flag_spec='${wl}--export-dynamic'
8926 # ancient GNU ld didn't support --whole-archive et. al.
8927 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8928 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8930 whole_archive_flag_spec=
8932 supports_anon_versioning=no
8933 case `$LD -v 2>&1` in
8934 *GNU\ gold*) supports_anon_versioning=yes ;;
8935 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8936 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8937 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8938 *\ 2.11.*) ;; # other 2.11 versions
8939 *) supports_anon_versioning=yes ;;
8942 # See if GNU ld supports shared libraries.
8945 # On AIX/PPC, the GNU linker is very broken
8946 if test "$host_cpu" != ia64; then
8950 *** Warning: the GNU linker, at least up to release 2.19, is reported
8951 *** to be unable to reliably create shared libraries on AIX.
8952 *** Therefore, libtool is disabling shared libraries support. If you
8953 *** really care for shared libraries, you may want to install binutils
8954 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8955 *** You will then need to restart the configuration process.
8964 # see comment about AmigaOS4 .so support
8965 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966 archive_expsym_cmds=''
8969 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)'
8970 hardcode_libdir_flag_spec='-L$libdir'
8971 hardcode_minus_L=yes
8977 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8978 allow_undefined_flag=unsupported
8979 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8980 # support --undefined. This deserves some investigation. FIXME
8981 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 cygwin* | mingw* | pw32* | cegcc*)
8988 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8989 # as there is no search path for DLLs.
8990 hardcode_libdir_flag_spec='-L$libdir'
8991 export_dynamic_flag_spec='${wl}--export-all-symbols'
8992 allow_undefined_flag=unsupported
8993 always_export_symbols=no
8994 enable_shared_with_static_runtimes=yes
8995 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'
8996 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8998 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8999 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9000 # If the export-symbols file already is a .def file (1st line
9001 # is EXPORTS), use it as is; otherwise, prepend...
9002 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9003 cp $export_symbols $output_objdir/$soname.def;
9005 echo EXPORTS > $output_objdir/$soname.def;
9006 cat $export_symbols >> $output_objdir/$soname.def;
9008 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016 link_all_deplibs=yes
9021 hardcode_shlibpath_var=no
9022 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9023 export_dynamic_flag_spec='${wl}-E'
9024 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9025 # Instead, shared libraries are loaded at an image base (0x10000000 by
9026 # default) and relocated if they conflict, which is a slow very memory
9027 # consuming and fragmenting process. To avoid this, we pick a random,
9028 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9029 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9030 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9031 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'
9034 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9036 if test "$host_os" = linux-dietlibc; then
9037 case $cc_basename in
9038 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9041 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9042 && test "$tmp_diet" = no
9044 tmp_addflag=' $pic_flag'
9045 tmp_sharedflag='-shared'
9046 case $cc_basename,$host_cpu in
9047 pgcc*) # Portland Group C compiler
9048 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'
9049 tmp_addflag=' $pic_flag'
9051 pgf77* | pgf90* | pgf95* | pgfortran*)
9052 # Portland Group f77 and f90 compilers
9053 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9054 tmp_addflag=' $pic_flag -Mnomain' ;;
9055 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9056 tmp_addflag=' -i_dynamic' ;;
9057 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9058 tmp_addflag=' -i_dynamic -nofor_main' ;;
9059 ifc* | ifort*) # Intel Fortran compiler
9060 tmp_addflag=' -nofor_main' ;;
9061 lf95*) # Lahey Fortran 8.1
9062 whole_archive_flag_spec=
9063 tmp_sharedflag='--shared' ;;
9064 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9065 tmp_sharedflag='-qmkshrobj'
9067 nvcc*) # Cuda Compiler Driver 2.2
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 compiler_needs_object=yes
9072 case `$CC -V 2>&1 | sed 5q` in
9073 *Sun\ C*) # Sun C 5.9
9074 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'
9075 compiler_needs_object=yes
9076 tmp_sharedflag='-G' ;;
9077 *Sun\ F*) # Sun Fortran 8.3
9078 tmp_sharedflag='-G' ;;
9080 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082 if test "x$supports_anon_versioning" = xyes; then
9083 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9085 echo "local: *; };" >> $output_objdir/$libname.ver~
9086 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9089 case $cc_basename in
9090 xlf* | bgf* | bgxlf* | mpixlf*)
9091 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9092 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9093 hardcode_libdir_flag_spec=
9094 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9095 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9096 if test "x$supports_anon_versioning" = xyes; then
9097 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9098 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9099 echo "local: *; };" >> $output_objdir/$libname.ver~
9100 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9110 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9111 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9114 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9115 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9120 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9124 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9125 *** create shared libraries on Solaris systems. Therefore, libtool
9126 *** is disabling shared libraries support. We urge you to upgrade GNU
9127 *** binutils to release 2.9.1 or newer. Another option is to modify
9128 *** your PATH or compiler configuration so that the native linker is
9129 *** used, and then restart.
9132 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9133 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9134 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9141 case `$LD -v 2>&1` in
9142 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9146 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9147 *** reliably create shared libraries on SCO systems. Therefore, libtool
9148 *** is disabling shared libraries support. We urge you to upgrade GNU
9149 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9150 *** your PATH or compiler configuration so that the native linker is
9151 *** used, and then restart.
9156 # For security reasons, it is highly recommended that you always
9157 # use absolute paths for naming shared libraries, and exclude the
9158 # DT_RUNPATH tag from executables and libraries. But doing so
9159 # requires that you compile everything twice, which is a pain.
9160 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9162 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9172 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9175 hardcode_shlibpath_var=no
9179 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9180 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9188 if test "$ld_shlibs" = no; then
9190 hardcode_libdir_flag_spec=
9191 export_dynamic_flag_spec=
9192 whole_archive_flag_spec=
9195 # PORTME fill in a description of your system's linker (not GNU ld)
9198 allow_undefined_flag=unsupported
9199 always_export_symbols=yes
9200 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'
9201 # Note: this linker hardcodes the directories in LIBPATH if there
9202 # are no directories specified by -L.
9203 hardcode_minus_L=yes
9204 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9205 # Neither direct hardcoding nor static linking is supported with a
9207 hardcode_direct=unsupported
9212 if test "$host_cpu" = ia64; then
9213 # On IA64, the linker does run time linking by default, so we don't
9214 # have to do anything special.
9215 aix_use_runtimelinking=no
9216 exp_sym_flag='-Bexport'
9219 # If we're using GNU nm, then we don't want the "-C" option.
9220 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9221 # Also, AIX nm treats weak defined symbols like other global
9222 # defined symbols, whereas GNU nm marks them as "W".
9223 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9224 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'
9226 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'
9228 aix_use_runtimelinking=no
9230 # Test if we are trying to use run time linking or normal
9231 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9232 # need to do runtime linking.
9233 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9234 for ld_flag in $LDFLAGS; do
9235 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9236 aix_use_runtimelinking=yes
9243 exp_sym_flag='-bexport'
9244 no_entry_flag='-bnoentry'
9247 # When large executables or shared objects are built, AIX ld can
9248 # have problems creating the table of contents. If linking a library
9249 # or program results in "error TOC overflow" add -mminimal-toc to
9250 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9251 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9255 hardcode_direct_absolute=yes
9256 hardcode_libdir_separator=':'
9257 link_all_deplibs=yes
9258 file_list_spec='${wl}-f,'
9260 if test "$GCC" = yes; then
9261 case $host_os in aix4.[012]|aix4.[012].*)
9262 # We only want to do this on AIX 4.2 and lower, the check
9263 # below for broken collect2 doesn't work under 4.3+
9264 collect2name=`${CC} -print-prog-name=collect2`
9265 if test -f "$collect2name" &&
9266 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9268 # We have reworked collect2
9271 # We have old collect2
9272 hardcode_direct=unsupported
9273 # It fails to find uninstalled libraries when the uninstalled
9274 # path is not listed in the libpath. Setting hardcode_minus_L
9275 # to unsupported forces relinking
9276 hardcode_minus_L=yes
9277 hardcode_libdir_flag_spec='-L$libdir'
9278 hardcode_libdir_separator=
9282 shared_flag='-shared'
9283 if test "$aix_use_runtimelinking" = yes; then
9284 shared_flag="$shared_flag "'${wl}-G'
9288 if test "$host_cpu" = ia64; then
9289 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9290 # chokes on -Wl,-G. The following line is correct:
9293 if test "$aix_use_runtimelinking" = yes; then
9294 shared_flag='${wl}-G'
9296 shared_flag='${wl}-bM:SRE'
9301 export_dynamic_flag_spec='${wl}-bexpall'
9302 # It seems that -bexpall does not export symbols beginning with
9303 # underscore (_), so it is better to generate a list of symbols to export.
9304 always_export_symbols=yes
9305 if test "$aix_use_runtimelinking" = yes; then
9306 # Warning - without using the other runtime loading flags (-brtl),
9307 # -berok will link without error, but may produce a broken library.
9308 allow_undefined_flag='-berok'
9309 # Determine the default libpath from the value encoded in an
9311 if test "${lt_cv_aix_libpath+set}" = set; then
9312 aix_libpath=$lt_cv_aix_libpath
9314 if test "${lt_cv_aix_libpath_+set}" = set; then :
9315 $as_echo_n "(cached) " >&6
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9328 if ac_fn_c_try_link "$LINENO"; then :
9330 lt_aix_libpath_sed='
9331 /Import File Strings/,/^$/ {
9333 s/^0 *\([^ ]*\) *$/\1/
9337 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9338 # Check for a 64-bit object if we didn't find anything.
9339 if test -z "$lt_cv_aix_libpath_"; then
9340 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 if test -z "$lt_cv_aix_libpath_"; then
9346 lt_cv_aix_libpath_="/usr/lib:/lib"
9351 aix_libpath=$lt_cv_aix_libpath_
9354 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9355 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"
9357 if test "$host_cpu" = ia64; then
9358 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9359 allow_undefined_flag="-z nodefs"
9360 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"
9362 # Determine the default libpath from the value encoded in an
9364 if test "${lt_cv_aix_libpath+set}" = set; then
9365 aix_libpath=$lt_cv_aix_libpath
9367 if test "${lt_cv_aix_libpath_+set}" = set; then :
9368 $as_echo_n "(cached) " >&6
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9381 if ac_fn_c_try_link "$LINENO"; then :
9383 lt_aix_libpath_sed='
9384 /Import File Strings/,/^$/ {
9386 s/^0 *\([^ ]*\) *$/\1/
9390 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9391 # Check for a 64-bit object if we didn't find anything.
9392 if test -z "$lt_cv_aix_libpath_"; then
9393 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 if test -z "$lt_cv_aix_libpath_"; then
9399 lt_cv_aix_libpath_="/usr/lib:/lib"
9404 aix_libpath=$lt_cv_aix_libpath_
9407 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9408 # Warning - without using the other run time loading flags,
9409 # -berok will link without error, but may produce a broken library.
9410 no_undefined_flag=' ${wl}-bernotok'
9411 allow_undefined_flag=' ${wl}-berok'
9412 if test "$with_gnu_ld" = yes; then
9413 # We only use this code for GNU lds that support --whole-archive.
9414 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9416 # Exported symbols can be pulled into shared objects from archives
9417 whole_archive_flag_spec='$convenience'
9419 archive_cmds_need_lc=yes
9420 # This is similar to how AIX traditionally builds its shared libraries.
9421 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'
9429 # see comment about AmigaOS4 .so support
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds=''
9434 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)'
9435 hardcode_libdir_flag_spec='-L$libdir'
9436 hardcode_minus_L=yes
9442 export_dynamic_flag_spec=-rdynamic
9445 cygwin* | mingw* | pw32* | cegcc*)
9446 # When not using gcc, we currently assume that we are using
9447 # Microsoft Visual C++.
9448 # hardcode_libdir_flag_spec is actually meaningless, as there is
9449 # no search path for DLLs.
9450 case $cc_basename in
9453 hardcode_libdir_flag_spec=' '
9454 allow_undefined_flag=unsupported
9455 always_export_symbols=yes
9457 # Tell ltmain to make .lib files, not .a files.
9459 # Tell ltmain to make .dll files, not .so files.
9461 # FIXME: Setting linknames here is a bad hack.
9462 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9463 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9464 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9466 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9468 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9470 # The linker will not automatically build a static lib if we build a DLL.
9471 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9472 enable_shared_with_static_runtimes=yes
9473 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9475 old_postinstall_cmds='chmod 644 $oldlib'
9476 postlink_cmds='lt_outputfile="@OUTPUT@"~
9477 lt_tool_outputfile="@TOOL_OUTPUT@"~
9478 case $lt_outputfile in
9481 lt_outputfile="$lt_outputfile.exe"
9482 lt_tool_outputfile="$lt_tool_outputfile.exe"
9485 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9486 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9487 $RM "$lt_outputfile.manifest";
9491 # Assume MSVC wrapper
9492 hardcode_libdir_flag_spec=' '
9493 allow_undefined_flag=unsupported
9494 # Tell ltmain to make .lib files, not .a files.
9496 # Tell ltmain to make .dll files, not .so files.
9498 # FIXME: Setting linknames here is a bad hack.
9499 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9500 # The linker will automatically build a .lib file if we build a DLL.
9501 old_archive_from_new_cmds='true'
9502 # FIXME: Should let the user specify the lib program.
9503 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9504 enable_shared_with_static_runtimes=yes
9509 darwin* | rhapsody*)
9512 archive_cmds_need_lc=no
9514 hardcode_automatic=yes
9515 hardcode_shlibpath_var=unsupported
9516 if test "$lt_cv_ld_force_load" = "yes"; then
9517 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\"`'
9519 whole_archive_flag_spec=''
9521 link_all_deplibs=yes
9522 allow_undefined_flag="$_lt_dar_allow_undefined"
9523 case $cc_basename in
9524 ifort*) _lt_dar_can_shared=yes ;;
9525 *) _lt_dar_can_shared=$GCC ;;
9527 if test "$_lt_dar_can_shared" = "yes"; then
9528 output_verbose_link_cmd=func_echo_all
9529 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9530 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9531 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}"
9532 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}"
9541 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9542 hardcode_libdir_flag_spec='-L$libdir'
9543 hardcode_shlibpath_var=no
9550 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9551 # support. Future versions do this automatically, but an explicit c++rt0.o
9552 # does not break anything, and helps significantly (at the cost of a little
9555 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9556 hardcode_libdir_flag_spec='-R$libdir'
9558 hardcode_shlibpath_var=no
9561 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9563 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_minus_L=yes
9566 hardcode_shlibpath_var=no
9569 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9570 freebsd* | dragonfly*)
9571 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9572 hardcode_libdir_flag_spec='-R$libdir'
9574 hardcode_shlibpath_var=no
9578 if test "$GCC" = yes; then
9579 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'
9581 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'
9583 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9584 hardcode_libdir_separator=:
9587 # hardcode_minus_L: Not really in the search PATH,
9588 # but as the default location of the library.
9589 hardcode_minus_L=yes
9590 export_dynamic_flag_spec='${wl}-E'
9594 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9595 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9599 if test "$with_gnu_ld" = no; then
9600 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9601 hardcode_libdir_flag_spec_ld='+b $libdir'
9602 hardcode_libdir_separator=:
9604 hardcode_direct_absolute=yes
9605 export_dynamic_flag_spec='${wl}-E'
9606 # hardcode_minus_L: Not really in the search PATH,
9607 # but as the default location of the library.
9608 hardcode_minus_L=yes
9613 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9616 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9631 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9635 # Older versions of the 11.00 compiler do not understand -b yet
9636 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9638 $as_echo_n "checking if $CC understands -b... " >&6; }
9639 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9640 $as_echo_n "(cached) " >&6
9642 lt_cv_prog_compiler__b=no
9643 save_LDFLAGS="$LDFLAGS"
9644 LDFLAGS="$LDFLAGS -b"
9645 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9646 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9647 # The linker can only warn and ignore the option if not recognized
9648 # So say no if there are warnings
9649 if test -s conftest.err; then
9650 # Append any errors to the config.log.
9651 cat conftest.err 1>&5
9652 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9654 if diff conftest.exp conftest.er2 >/dev/null; then
9655 lt_cv_prog_compiler__b=yes
9658 lt_cv_prog_compiler__b=yes
9662 LDFLAGS="$save_LDFLAGS"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9666 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9668 if test x"$lt_cv_prog_compiler__b" = xyes; then
9669 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9677 if test "$with_gnu_ld" = no; then
9678 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9679 hardcode_libdir_separator=:
9684 hardcode_shlibpath_var=no
9688 hardcode_direct_absolute=yes
9689 export_dynamic_flag_spec='${wl}-E'
9691 # hardcode_minus_L: Not really in the search PATH,
9692 # but as the default location of the library.
9693 hardcode_minus_L=yes
9699 irix5* | irix6* | nonstopux*)
9700 if test "$GCC" = yes; then
9701 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'
9702 # Try to use the -exported_symbol ld option, if it does not
9703 # work, assume that -exports_file does not work either and
9704 # implicitly export all symbols.
9705 # This should be the same for all languages, so no per-tag cache variable.
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9707 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9708 if test "${lt_cv_irix_exported_symbol+set}" = set; then :
9709 $as_echo_n "(cached) " >&6
9711 save_LDFLAGS="$LDFLAGS"
9712 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9715 int foo (void) { return 0; }
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 lt_cv_irix_exported_symbol=yes
9720 lt_cv_irix_exported_symbol=no
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LDFLAGS="$save_LDFLAGS"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9727 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9728 if test "$lt_cv_irix_exported_symbol" = yes; then
9729 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'
9732 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'
9733 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'
9735 archive_cmds_need_lc='no'
9736 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9737 hardcode_libdir_separator=:
9739 link_all_deplibs=yes
9743 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9746 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9748 hardcode_libdir_flag_spec='-R$libdir'
9750 hardcode_shlibpath_var=no
9754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9757 hardcode_libdir_separator=:
9758 hardcode_shlibpath_var=no
9765 if test -f /usr/libexec/ld.so; then
9767 hardcode_shlibpath_var=no
9768 hardcode_direct_absolute=yes
9769 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9772 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9773 export_dynamic_flag_spec='${wl}-E'
9776 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9777 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9778 hardcode_libdir_flag_spec='-R$libdir'
9781 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9782 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_minus_L=yes
9794 allow_undefined_flag=unsupported
9795 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'
9796 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9800 if test "$GCC" = yes; then
9801 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9802 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'
9804 allow_undefined_flag=' -expect_unresolved \*'
9805 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'
9807 archive_cmds_need_lc='no'
9808 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809 hardcode_libdir_separator=:
9812 osf4* | osf5*) # as osf3* with the addition of -msym flag
9813 if test "$GCC" = yes; then
9814 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9815 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'
9816 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9818 allow_undefined_flag=' -expect_unresolved \*'
9819 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'
9820 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~
9821 $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'
9823 # Both c and cxx compiler support -rpath directly
9824 hardcode_libdir_flag_spec='-rpath $libdir'
9826 archive_cmds_need_lc='no'
9827 hardcode_libdir_separator=:
9831 no_undefined_flag=' -z defs'
9832 if test "$GCC" = yes; then
9834 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9836 $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'
9838 case `$CC -V 2>&1` in
9841 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9843 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9847 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9849 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9853 hardcode_libdir_flag_spec='-R$libdir'
9854 hardcode_shlibpath_var=no
9856 solaris2.[0-5] | solaris2.[0-5].*) ;;
9858 # The compiler driver will combine and reorder linker options,
9859 # but understands `-z linker_flag'. GCC discards it without `$wl',
9860 # but is careful enough not to reorder.
9861 # Supported since Solaris 2.6 (maybe 2.5.1?)
9862 if test "$GCC" = yes; then
9863 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9865 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9869 link_all_deplibs=yes
9873 if test "x$host_vendor" = xsequent; then
9874 # Use $CC to link under sequent, because it throws in some extra .o
9875 # files that make .init and .fini sections work.
9876 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_libdir_flag_spec='-L$libdir'
9882 hardcode_minus_L=yes
9883 hardcode_shlibpath_var=no
9887 case $host_vendor in
9889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890 hardcode_direct=yes # is this really true???
9893 ## LD is ld it makes a PLAMLIB
9894 ## CC just makes a GrossModule.
9895 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9896 reload_cmds='$CC -r -o $output$reload_objs'
9900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9904 runpath_var='LD_RUN_PATH'
9905 hardcode_shlibpath_var=no
9909 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_shlibpath_var=no
9911 export_dynamic_flag_spec='-Bexport'
9915 if test -d /usr/nec; then
9916 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9917 hardcode_shlibpath_var=no
9918 runpath_var=LD_RUN_PATH
9919 hardcode_runpath_var=yes
9924 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9925 no_undefined_flag='${wl}-z,text'
9926 archive_cmds_need_lc=no
9927 hardcode_shlibpath_var=no
9928 runpath_var='LD_RUN_PATH'
9930 if test "$GCC" = yes; then
9931 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 sysv5* | sco3.2v5* | sco5v6*)
9940 # Note: We can NOT use -z defs as we might desire, because we do not
9941 # link with -lc, and that would cause any symbols used from libc to
9942 # always be unresolved, which means just about no library would
9943 # ever link correctly. If we're not using GNU ld we use -z text
9944 # though, which does catch some bad symbols but isn't as heavy-handed
9946 no_undefined_flag='${wl}-z,text'
9947 allow_undefined_flag='${wl}-z,nodefs'
9948 archive_cmds_need_lc=no
9949 hardcode_shlibpath_var=no
9950 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9951 hardcode_libdir_separator=':'
9952 link_all_deplibs=yes
9953 export_dynamic_flag_spec='${wl}-Bexport'
9954 runpath_var='LD_RUN_PATH'
9956 if test "$GCC" = yes; then
9957 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967 hardcode_libdir_flag_spec='-L$libdir'
9968 hardcode_shlibpath_var=no
9976 if test x$host_vendor = xsni; then
9978 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9979 export_dynamic_flag_spec='${wl}-Blargedynsym'
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9986 $as_echo "$ld_shlibs" >&6; }
9987 test "$ld_shlibs" = no && can_build_shared=no
9989 with_gnu_ld=$with_gnu_ld
10006 # Do we need to explicitly link libc?
10008 case "x$archive_cmds_need_lc" in
10010 # Assume -lc should be added
10011 archive_cmds_need_lc=yes
10013 if test "$enable_shared" = yes && test "$GCC" = yes; then
10014 case $archive_cmds in
10016 # FIXME: we may have to deal with multi-command sequences.
10019 # Test whether the compiler implicitly links with -lc since on some
10020 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10021 # to ld, don't add -lc before -lgcc.
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10023 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10024 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10025 $as_echo_n "(cached) " >&6
10028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10031 (eval $ac_compile) 2>&5
10033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10034 test $ac_status = 0; } 2>conftest.err; then
10037 libobjs=conftest.$ac_objext
10039 wl=$lt_prog_compiler_wl
10040 pic_flag=$lt_prog_compiler_pic
10046 lt_save_allow_undefined_flag=$allow_undefined_flag
10047 allow_undefined_flag=
10048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10049 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052 test $ac_status = 0; }
10054 lt_cv_archive_cmds_need_lc=no
10056 lt_cv_archive_cmds_need_lc=yes
10058 allow_undefined_flag=$lt_save_allow_undefined_flag
10060 cat conftest.err 1>&5
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10066 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10067 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10233 if test "$GCC" = yes; then
10235 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10236 *) lt_awk_arg="/^libraries:/" ;;
10239 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10240 *) lt_sed_strip_eq="s,=/,/,g" ;;
10242 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10243 case $lt_search_path_spec in
10245 # if the path contains ";" then we assume it to be the separator
10246 # otherwise default to the standard path separator (i.e. ":") - it is
10247 # assumed that no part of a normal pathname contains ";" but that should
10248 # okay in the real world where ";" in dirpaths is itself problematic.
10249 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10252 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10255 # Ok, now we have the path, separated by spaces, we can step through it
10256 # and add multilib dir if necessary.
10257 lt_tmp_lt_search_path_spec=
10258 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10259 for lt_sys_path in $lt_search_path_spec; do
10260 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10261 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10263 test -d "$lt_sys_path" && \
10264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10267 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10268 BEGIN {RS=" "; FS="/|\n";} {
10271 for (lt_i = NF; lt_i > 0; lt_i--) {
10272 if ($lt_i != "" && $lt_i != ".") {
10273 if ($lt_i == "..") {
10276 if (lt_count == 0) {
10277 lt_foo="/" $lt_i lt_foo;
10284 if (lt_foo != "") { lt_freq[lt_foo]++; }
10285 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10287 # AWK program above erroneously prepends '/' to C:/dos/paths
10290 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10291 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10293 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10295 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10297 library_names_spec=
10298 libname_spec='lib$name'
10302 postuninstall_cmds=
10306 shlibpath_overrides_runpath=unknown
10308 dynamic_linker="$host_os ld.so"
10309 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10310 need_lib_prefix=unknown
10311 hardcode_into_libs=no
10313 # when you set need_version to no, make sure it does not cause -set_version
10314 # flags to be left without arguments
10315 need_version=unknown
10320 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10321 shlibpath_var=LIBPATH
10323 # AIX 3 has no versioning support, so we append a major version to the name.
10324 soname_spec='${libname}${release}${shared_ext}$major'
10331 hardcode_into_libs=yes
10332 if test "$host_cpu" = ia64; then
10333 # AIX 5 supports IA64
10334 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10335 shlibpath_var=LD_LIBRARY_PATH
10337 # With GCC up to 2.95.x, collect2 would create an import file
10338 # for dependence libraries. The import file would start with
10339 # the line `#! .'. This would cause the generated library to
10340 # depend on `.', always an invalid library. This was fixed in
10341 # development snapshots of GCC prior to 3.0.
10343 aix4 | aix4.[01] | aix4.[01].*)
10344 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10346 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10349 can_build_shared=no
10353 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10354 # soname into executable. Probably we can add versioning support to
10355 # collect2, so additional links can be useful in future.
10356 if test "$aix_use_runtimelinking" = yes; then
10357 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10358 # instead of lib<name>.a to let people know that these are not
10359 # typical AIX shared libraries.
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 # We preserve .a as extension for shared libraries through AIX4.2
10363 # and later when we are not doing run time linking.
10364 library_names_spec='${libname}${release}.a $libname.a'
10365 soname_spec='${libname}${release}${shared_ext}$major'
10367 shlibpath_var=LIBPATH
10374 # Since July 2007 AmigaOS4 officially supports .so libraries.
10375 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379 library_names_spec='$libname.ixlibrary $libname.a'
10380 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10381 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'
10387 library_names_spec='${libname}${shared_ext}'
10388 dynamic_linker="$host_os ld.so"
10389 shlibpath_var=LIBRARY_PATH
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10400 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10401 # the default ld.so.conf also contains /usr/contrib/lib and
10402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10403 # libtool to hard-code these into programs
10406 cygwin* | mingw* | pw32* | cegcc*)
10407 version_type=windows
10412 case $GCC,$cc_basename in
10415 library_names_spec='$libname.dll.a'
10416 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10417 postinstall_cmds='base_file=`basename \${file}`~
10418 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10419 dldir=$destdir/`dirname \$dlpath`~
10420 test -d \$dldir || mkdir -p \$dldir~
10421 $install_prog $dir/$dlname \$dldir/$dlname~
10422 chmod a+x \$dldir/$dlname~
10423 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10424 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10426 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10427 dlpath=$dir/\$dldll~
10429 shlibpath_overrides_runpath=yes
10433 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10434 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10436 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10439 # MinGW DLLs use traditional 'lib' prefix
10440 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10443 # pw32 DLLs use 'pw' prefix rather than 'lib'
10444 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10447 dynamic_linker='Win32 ld.exe'
10452 libname_spec='$name'
10453 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10454 library_names_spec='${libname}.dll.lib'
10458 sys_lib_search_path_spec=
10461 for lt_path in $LIB
10464 # Let DOS variable expansion print the short 8.3 style file name.
10465 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10466 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10469 # Convert to MSYS style.
10470 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10473 # Convert to unix form, then to dos form, then back to unix form
10474 # but this time dos style (no spaces!) so that the unix form looks
10475 # like /cygdrive/c/PROGRA~1:/cygdr...
10476 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10477 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10478 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10481 sys_lib_search_path_spec="$LIB"
10482 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10483 # It is most probably a Windows format PATH.
10484 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10486 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10488 # FIXME: find the short name or the path components, as spaces are
10489 # common. (e.g. "Program Files" -> "PROGRA~1")
10493 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10494 postinstall_cmds='base_file=`basename \${file}`~
10495 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10496 dldir=$destdir/`dirname \$dlpath`~
10497 test -d \$dldir || mkdir -p \$dldir~
10498 $install_prog $dir/$dlname \$dldir/$dlname'
10499 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10500 dlpath=$dir/\$dldll~
10502 shlibpath_overrides_runpath=yes
10503 dynamic_linker='Win32 link.exe'
10507 # Assume MSVC wrapper
10508 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10509 dynamic_linker='Win32 ld.exe'
10512 # FIXME: first we should search . and the directory the executable is in
10516 darwin* | rhapsody*)
10517 dynamic_linker="$host_os dyld"
10518 version_type=darwin
10521 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10522 soname_spec='${libname}${release}${major}$shared_ext'
10523 shlibpath_overrides_runpath=yes
10524 shlibpath_var=DYLD_LIBRARY_PATH
10525 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10527 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10528 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 shlibpath_var=LD_LIBRARY_PATH
10544 freebsd* | dragonfly*)
10545 # DragonFly does not have aout. When/if they implement a new
10546 # versioning mechanism, adjust this.
10547 if test -x /usr/bin/objformat; then
10548 objformat=`/usr/bin/objformat`
10551 freebsd[123]*) objformat=aout ;;
10552 *) objformat=elf ;;
10555 version_type=freebsd-$objformat
10556 case $version_type in
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10567 shlibpath_var=LD_LIBRARY_PATH
10570 shlibpath_overrides_runpath=yes
10572 freebsd3.[01]* | freebsdelf3.[01]*)
10573 shlibpath_overrides_runpath=yes
10574 hardcode_into_libs=yes
10576 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10577 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10578 shlibpath_overrides_runpath=no
10579 hardcode_into_libs=yes
10581 *) # from 4.6 on, and DragonFly
10582 shlibpath_overrides_runpath=yes
10583 hardcode_into_libs=yes
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 shlibpath_var=LD_LIBRARY_PATH
10595 hardcode_into_libs=yes
10602 dynamic_linker="$host_os runtime_loader"
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 shlibpath_var=LIBRARY_PATH
10606 shlibpath_overrides_runpath=yes
10607 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10608 hardcode_into_libs=yes
10611 hpux9* | hpux10* | hpux11*)
10612 # Give a soname corresponding to the major version so that dld.sl refuses to
10613 # link against other versions.
10620 hardcode_into_libs=yes
10621 dynamic_linker="$host_os dld.so"
10622 shlibpath_var=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 if test "X$HPUX_IA64_MODE" = X32; then
10627 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10629 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10631 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10635 hardcode_into_libs=yes
10636 dynamic_linker="$host_os dld.sl"
10637 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10642 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10646 dynamic_linker="$host_os dld.sl"
10647 shlibpath_var=SHLIB_PATH
10648 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10653 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10654 postinstall_cmds='chmod 555 $lib'
10655 # or fails outright, so override atomically:
10656 install_override_mode=555
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10666 shlibpath_var=LD_LIBRARY_PATH
10667 shlibpath_overrides_runpath=no
10668 hardcode_into_libs=yes
10671 irix5* | irix6* | nonstopux*)
10673 nonstopux*) version_type=nonstopux ;;
10675 if test "$lt_cv_prog_gnu_ld" = yes; then
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10686 irix5* | nonstopux*)
10687 libsuff= shlibsuff=
10690 case $LD in # libtool.m4 will add one of these switches to LD
10691 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10692 libsuff= shlibsuff= libmagic=32-bit;;
10693 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10694 libsuff=32 shlibsuff=N32 libmagic=N32;;
10695 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10696 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10697 *) libsuff= shlibsuff= libmagic=never-match;;
10701 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10702 shlibpath_overrides_runpath=no
10703 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10704 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10705 hardcode_into_libs=yes
10708 # No shared lib support for Linux oldld, aout, or coff.
10709 linux*oldld* | linux*aout* | linux*coff*)
10713 # This must be Linux ELF.
10714 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10721 shlibpath_var=LD_LIBRARY_PATH
10722 shlibpath_overrides_runpath=no
10724 # Some binutils ld are patched to set DT_RUNPATH
10725 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10726 $as_echo_n "(cached) " >&6
10728 lt_cv_shlibpath_overrides_runpath=no
10729 save_LDFLAGS=$LDFLAGS
10730 save_libdir=$libdir
10731 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10732 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10746 lt_cv_shlibpath_overrides_runpath=yes
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 LDFLAGS=$save_LDFLAGS
10752 libdir=$save_libdir
10756 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10758 # This implies no fast_install, which is unacceptable.
10759 # Some rework will be needed to allow for fast_install
10760 # before this can be enabled.
10761 hardcode_into_libs=yes
10763 # Append ld.so.conf contents to the search path
10764 if test -f /etc/ld.so.conf; then
10765 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' ' '`
10766 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10769 # We used to test for /lib/ld.so.1 and disable shared libraries on
10770 # powerpc, because MkLinux only supported shared libraries with the
10771 # GNU dynamic linker. Since this was broken with cross compilers,
10772 # most powerpc-linux boxes support dynamic linking these days and
10773 # people can always --disable-shared, the test was removed, and we
10774 # assume the GNU/Linux dynamic linker is in use.
10775 dynamic_linker='GNU/Linux ld.so'
10782 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10784 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10785 dynamic_linker='NetBSD (a.out) ld.so'
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 dynamic_linker='NetBSD ld.elf_so'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=yes
10793 hardcode_into_libs=yes
10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799 shlibpath_var=LD_LIBRARY_PATH
10800 shlibpath_overrides_runpath=yes
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 shlibpath_var=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath=no
10811 hardcode_into_libs=yes
10812 dynamic_linker='ldqnx.so'
10817 sys_lib_dlsearch_path_spec="/usr/lib"
10819 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10821 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10822 *) need_version=no ;;
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10825 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10829 openbsd2.[89] | openbsd2.[89].*)
10830 shlibpath_overrides_runpath=no
10833 shlibpath_overrides_runpath=yes
10837 shlibpath_overrides_runpath=yes
10842 libname_spec='$name'
10845 library_names_spec='$libname${shared_ext} $libname.a'
10846 dynamic_linker='OS/2 ld.exe'
10847 shlibpath_var=LIBPATH
10850 osf3* | osf4* | osf5*)
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856 shlibpath_var=LD_LIBRARY_PATH
10857 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10858 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 shlibpath_overrides_runpath=yes
10873 hardcode_into_libs=yes
10874 # ldd complains unless libraries are executable
10875 postinstall_cmds='chmod +x $lib'
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=yes
10884 if test "$with_gnu_ld" = yes; then
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 shlibpath_var=LD_LIBRARY_PATH
10895 case $host_vendor in
10897 shlibpath_overrides_runpath=no
10899 runpath_var=LD_RUN_PATH
10907 shlibpath_overrides_runpath=no
10908 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10914 if test -d /usr/nec ;then
10916 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10917 soname_spec='$libname${shared_ext}.$major'
10918 shlibpath_var=LD_LIBRARY_PATH
10922 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10923 version_type=freebsd-elf
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 shlibpath_var=LD_LIBRARY_PATH
10929 shlibpath_overrides_runpath=yes
10930 hardcode_into_libs=yes
10931 if test "$with_gnu_ld" = yes; then
10932 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10934 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10937 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10941 sys_lib_dlsearch_path_spec='/usr/lib'
10945 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath=no
10952 hardcode_into_libs=yes
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958 soname_spec='${libname}${release}${shared_ext}$major'
10959 shlibpath_var=LD_LIBRARY_PATH
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10967 $as_echo "$dynamic_linker" >&6; }
10968 test "$dynamic_linker" = no && can_build_shared=no
10970 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10971 if test "$GCC" = yes; then
10972 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10975 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10976 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10978 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10979 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11074 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11076 if test -n "$hardcode_libdir_flag_spec" ||
11077 test -n "$runpath_var" ||
11078 test "X$hardcode_automatic" = "Xyes" ; then
11080 # We can hardcode non-existent directories.
11081 if test "$hardcode_direct" != no &&
11082 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11083 # have to relink, otherwise we might link with an installed library
11084 # when we should be linking with a yet-to-be-installed one
11085 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11086 test "$hardcode_minus_L" != no; then
11087 # Linking always hardcodes the temporary library directory.
11088 hardcode_action=relink
11090 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11091 hardcode_action=immediate
11094 # We cannot hardcode anything, or else we can only hardcode existing
11096 hardcode_action=unsupported
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11099 $as_echo "$hardcode_action" >&6; }
11101 if test "$hardcode_action" = relink ||
11102 test "$inherit_rpath" = yes; then
11103 # Fast installation is not supported
11104 enable_fast_install=no
11105 elif test "$shlibpath_overrides_runpath" = yes ||
11106 test "$enable_shared" = no; then
11107 # Fast installation is not necessary
11108 enable_fast_install=needless
11116 if test "x$enable_dlopen" != xyes; then
11117 enable_dlopen=unknown
11118 enable_dlopen_self=unknown
11119 enable_dlopen_self_static=unknown
11126 lt_cv_dlopen="load_add_on"
11128 lt_cv_dlopen_self=yes
11131 mingw* | pw32* | cegcc*)
11132 lt_cv_dlopen="LoadLibrary"
11137 lt_cv_dlopen="dlopen"
11142 # if libdl is installed we need to link against it
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11144 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11145 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11146 $as_echo_n "(cached) " >&6
11148 ac_check_lib_save_LIBS=$LIBS
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_dl_dlopen=yes
11171 ac_cv_lib_dl_dlopen=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11178 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11179 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11180 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11183 lt_cv_dlopen="dyld"
11185 lt_cv_dlopen_self=yes
11192 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11193 if test "x$ac_cv_func_shl_load" = x""yes; then :
11194 lt_cv_dlopen="shl_load"
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11197 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11198 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11199 $as_echo_n "(cached) " >&6
11201 ac_check_lib_save_LIBS=$LIBS
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11216 return shl_load ();
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 ac_cv_lib_dld_shl_load=yes
11224 ac_cv_lib_dld_shl_load=no
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11231 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11232 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11233 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11235 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11236 if test "x$ac_cv_func_dlopen" = x""yes; then :
11237 lt_cv_dlopen="dlopen"
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11240 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11241 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11242 $as_echo_n "(cached) " >&6
11244 ac_check_lib_save_LIBS=$LIBS
11246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11264 if ac_fn_c_try_link "$LINENO"; then :
11265 ac_cv_lib_dl_dlopen=yes
11267 ac_cv_lib_dl_dlopen=no
11269 rm -f core conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 LIBS=$ac_check_lib_save_LIBS
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11274 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11275 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11276 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11279 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11280 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11281 $as_echo_n "(cached) " >&6
11283 ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lsvld $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 ac_cv_lib_svld_dlopen=yes
11306 ac_cv_lib_svld_dlopen=no
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11313 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11314 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11315 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11318 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11319 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11320 $as_echo_n "(cached) " >&6
11322 ac_check_lib_save_LIBS=$LIBS
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11337 return dld_link ();
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_dld_dld_link=yes
11345 ac_cv_lib_dld_dld_link=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11352 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11353 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11354 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11375 if test "x$lt_cv_dlopen" != xno; then
11381 case $lt_cv_dlopen in
11383 save_CPPFLAGS="$CPPFLAGS"
11384 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11386 save_LDFLAGS="$LDFLAGS"
11387 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11390 LIBS="$lt_cv_dlopen_libs $LIBS"
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11393 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11394 if test "${lt_cv_dlopen_self+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11397 if test "$cross_compiling" = yes; then :
11398 lt_cv_dlopen_self=cross
11400 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11401 lt_status=$lt_dlunknown
11402 cat > conftest.$ac_ext <<_LT_EOF
11403 #line $LINENO "configure"
11404 #include "confdefs.h"
11413 # define LT_DLGLOBAL RTLD_GLOBAL
11416 # define LT_DLGLOBAL DL_GLOBAL
11418 # define LT_DLGLOBAL 0
11422 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11423 find out it does not work in some platform. */
11424 #ifndef LT_DLLAZY_OR_NOW
11426 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11429 # define LT_DLLAZY_OR_NOW DL_LAZY
11432 # define LT_DLLAZY_OR_NOW RTLD_NOW
11435 # define LT_DLLAZY_OR_NOW DL_NOW
11437 # define LT_DLLAZY_OR_NOW 0
11444 /* When -fvisbility=hidden is used, assume the code has been annotated
11445 correspondingly for the symbols needed. */
11446 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11447 int fnord () __attribute__((visibility("default")));
11450 int fnord () { return 42; }
11453 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11454 int status = $lt_dlunknown;
11458 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11461 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11462 else puts (dlerror ());
11464 /* dlclose (self); */
11472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11473 (eval $ac_link) 2>&5
11475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11476 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11477 (./conftest; exit; ) >&5 2>/dev/null
11479 case x$lt_status in
11480 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11481 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11482 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11485 # compilation failed
11486 lt_cv_dlopen_self=no
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11494 $as_echo "$lt_cv_dlopen_self" >&6; }
11496 if test "x$lt_cv_dlopen_self" = xyes; then
11497 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11499 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11500 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11501 $as_echo_n "(cached) " >&6
11503 if test "$cross_compiling" = yes; then :
11504 lt_cv_dlopen_self_static=cross
11506 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11507 lt_status=$lt_dlunknown
11508 cat > conftest.$ac_ext <<_LT_EOF
11509 #line $LINENO "configure"
11510 #include "confdefs.h"
11519 # define LT_DLGLOBAL RTLD_GLOBAL
11522 # define LT_DLGLOBAL DL_GLOBAL
11524 # define LT_DLGLOBAL 0
11528 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11529 find out it does not work in some platform. */
11530 #ifndef LT_DLLAZY_OR_NOW
11532 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11535 # define LT_DLLAZY_OR_NOW DL_LAZY
11538 # define LT_DLLAZY_OR_NOW RTLD_NOW
11541 # define LT_DLLAZY_OR_NOW DL_NOW
11543 # define LT_DLLAZY_OR_NOW 0
11550 /* When -fvisbility=hidden is used, assume the code has been annotated
11551 correspondingly for the symbols needed. */
11552 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11553 int fnord () __attribute__((visibility("default")));
11556 int fnord () { return 42; }
11559 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11560 int status = $lt_dlunknown;
11564 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11567 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11568 else puts (dlerror ());
11570 /* dlclose (self); */
11578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11579 (eval $ac_link) 2>&5
11581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11582 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11583 (./conftest; exit; ) >&5 2>/dev/null
11585 case x$lt_status in
11586 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11587 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11588 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11591 # compilation failed
11592 lt_cv_dlopen_self_static=no
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11600 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11603 CPPFLAGS="$save_CPPFLAGS"
11604 LDFLAGS="$save_LDFLAGS"
11609 case $lt_cv_dlopen_self in
11610 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11611 *) enable_dlopen_self=unknown ;;
11614 case $lt_cv_dlopen_self_static in
11615 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11616 *) enable_dlopen_self_static=unknown ;;
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11639 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11640 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11641 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11642 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11644 $as_echo "yes" >&6; }
11646 # FIXME - insert some real tests, host_os isn't really good enough
11649 if test -n "$STRIP" ; then
11650 striplib="$STRIP -x"
11651 old_striplib="$STRIP -S"
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11653 $as_echo "yes" >&6; }
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11656 $as_echo "no" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11677 # Report which library types will actually be built
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11679 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11681 $as_echo "$can_build_shared" >&6; }
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11684 $as_echo_n "checking whether to build shared libraries... " >&6; }
11685 test "$can_build_shared" = "no" && enable_shared=no
11687 # On AIX, shared libraries and static libraries use the same namespace, and
11688 # are all built from PIC.
11691 test "$enable_shared" = yes && enable_static=no
11692 if test -n "$RANLIB"; then
11693 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11694 postinstall_cmds='$RANLIB $lib'
11699 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11700 test "$enable_shared" = yes && enable_static=no
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11705 $as_echo "$enable_shared" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11708 $as_echo_n "checking whether to build static libraries... " >&6; }
11709 # Make sure either enable_shared or enable_static is yes.
11710 test "$enable_shared" = yes || enable_static=yes
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11712 $as_echo "$enable_static" >&6; }
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738 ac_config_commands="$ac_config_commands libtool"
11743 # Only expand once:
11759 DX_PROJECT=opensaml
11761 DX_CONFIG=doxygen.cfg
11766 # Environment variables used inside doxygen.cfg:
11767 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11769 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11771 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11773 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11780 # Check whether --enable-doxygen-doc was given.
11781 if test "${enable_doxygen_doc+set}" = set; then :
11782 enableval=$enable_doxygen_doc;
11783 case "$enableval" in
11795 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11807 if test "$DX_FLAG_doc" = 1; then
11809 if test -n "$ac_tool_prefix"; then
11810 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11811 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11813 $as_echo_n "checking for $ac_word... " >&6; }
11814 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11815 $as_echo_n "(cached) " >&6
11817 case $DX_DOXYGEN in
11819 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11823 for as_dir in $PATH
11826 test -z "$as_dir" && as_dir=.
11827 for ac_exec_ext in '' $ac_executable_extensions; do
11828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11829 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11841 if test -n "$DX_DOXYGEN"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11843 $as_echo "$DX_DOXYGEN" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11851 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11852 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11853 # Extract the first word of "doxygen", so it can be a program name with args.
11854 set dummy doxygen; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11858 $as_echo_n "(cached) " >&6
11860 case $ac_pt_DX_DOXYGEN in
11862 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11866 for as_dir in $PATH
11869 test -z "$as_dir" && as_dir=.
11870 for ac_exec_ext in '' $ac_executable_extensions; do
11871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11872 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11883 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11884 if test -n "$ac_pt_DX_DOXYGEN"; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11886 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11889 $as_echo "no" >&6; }
11892 if test "x$ac_pt_DX_DOXYGEN" = x; then
11895 case $cross_compiling:$ac_tool_warned in
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11899 ac_tool_warned=yes ;;
11901 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11904 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11907 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11909 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11915 if test -n "$ac_tool_prefix"; then
11916 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11917 set dummy ${ac_tool_prefix}perl; ac_word=$2
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11919 $as_echo_n "checking for $ac_word... " >&6; }
11920 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11921 $as_echo_n "(cached) " >&6
11925 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11929 for as_dir in $PATH
11932 test -z "$as_dir" && as_dir=.
11933 for ac_exec_ext in '' $ac_executable_extensions; do
11934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11935 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11946 DX_PERL=$ac_cv_path_DX_PERL
11947 if test -n "$DX_PERL"; then
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11949 $as_echo "$DX_PERL" >&6; }
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11952 $as_echo "no" >&6; }
11957 if test -z "$ac_cv_path_DX_PERL"; then
11958 ac_pt_DX_PERL=$DX_PERL
11959 # Extract the first word of "perl", so it can be a program name with args.
11960 set dummy perl; ac_word=$2
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11962 $as_echo_n "checking for $ac_word... " >&6; }
11963 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11964 $as_echo_n "(cached) " >&6
11966 case $ac_pt_DX_PERL in
11968 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11972 for as_dir in $PATH
11975 test -z "$as_dir" && as_dir=.
11976 for ac_exec_ext in '' $ac_executable_extensions; do
11977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11978 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11989 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11990 if test -n "$ac_pt_DX_PERL"; then
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11992 $as_echo "$ac_pt_DX_PERL" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11995 $as_echo "no" >&6; }
11998 if test "x$ac_pt_DX_PERL" = x; then
12001 case $cross_compiling:$ac_tool_warned in
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12005 ac_tool_warned=yes ;;
12007 DX_PERL=$ac_pt_DX_PERL
12010 DX_PERL="$ac_cv_path_DX_PERL"
12013 if test "$DX_FLAG_doc$DX_PERL" = 1; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12015 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12022 if test "$DX_FLAG_doc" = 1; then
12025 DX_COND_doc_FALSE='#'
12027 DX_COND_doc_TRUE='#'
12031 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12037 DX_COND_doc_FALSE='#'
12039 DX_COND_doc_TRUE='#'
12048 # Dot for graphics:
12052 # Check whether --enable-doxygen-dot was given.
12053 if test "${enable_doxygen_dot+set}" = set; then :
12054 enableval=$enable_doxygen_dot;
12055 case "$enableval" in
12061 test "$DX_FLAG_doc" = "1" \
12062 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12070 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12079 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12085 if test "$DX_FLAG_dot" = 1; then
12087 if test -n "$ac_tool_prefix"; then
12088 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12089 set dummy ${ac_tool_prefix}dot; ac_word=$2
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12091 $as_echo_n "checking for $ac_word... " >&6; }
12092 if test "${ac_cv_path_DX_DOT+set}" = set; then :
12093 $as_echo_n "(cached) " >&6
12097 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $PATH
12104 test -z "$as_dir" && as_dir=.
12105 for ac_exec_ext in '' $ac_executable_extensions; do
12106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12107 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 DX_DOT=$ac_cv_path_DX_DOT
12119 if test -n "$DX_DOT"; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12121 $as_echo "$DX_DOT" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 $as_echo "no" >&6; }
12129 if test -z "$ac_cv_path_DX_DOT"; then
12130 ac_pt_DX_DOT=$DX_DOT
12131 # Extract the first word of "dot", so it can be a program name with args.
12132 set dummy dot; ac_word=$2
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12134 $as_echo_n "checking for $ac_word... " >&6; }
12135 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
12136 $as_echo_n "(cached) " >&6
12138 case $ac_pt_DX_DOT in
12140 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12162 if test -n "$ac_pt_DX_DOT"; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12164 $as_echo "$ac_pt_DX_DOT" >&6; }
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12167 $as_echo "no" >&6; }
12170 if test "x$ac_pt_DX_DOT" = x; then
12173 case $cross_compiling:$ac_tool_warned in
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12177 ac_tool_warned=yes ;;
12179 DX_DOT=$ac_pt_DX_DOT
12182 DX_DOT="$ac_cv_path_DX_DOT"
12185 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12187 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12194 if test "$DX_FLAG_dot" = 1; then
12197 DX_COND_dot_FALSE='#'
12199 DX_COND_dot_TRUE='#'
12203 DX_ENV="$DX_ENV HAVE_DOT='YES'"
12205 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12211 DX_COND_dot_FALSE='#'
12213 DX_COND_dot_TRUE='#'
12217 DX_ENV="$DX_ENV HAVE_DOT='NO'"
12223 # Man pages generation:
12227 # Check whether --enable-doxygen-man was given.
12228 if test "${enable_doxygen_man+set}" = set; then :
12229 enableval=$enable_doxygen_man;
12230 case "$enableval" in
12236 test "$DX_FLAG_doc" = "1" \
12237 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12245 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12254 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12260 if test "$DX_FLAG_man" = 1; then
12264 if test "$DX_FLAG_man" = 1; then
12267 DX_COND_man_FALSE='#'
12269 DX_COND_man_TRUE='#'
12273 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12279 DX_COND_man_FALSE='#'
12281 DX_COND_man_TRUE='#'
12285 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12291 # RTF file generation:
12295 # Check whether --enable-doxygen-rtf was given.
12296 if test "${enable_doxygen_rtf+set}" = set; then :
12297 enableval=$enable_doxygen_rtf;
12298 case "$enableval" in
12304 test "$DX_FLAG_doc" = "1" \
12305 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12313 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12322 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12328 if test "$DX_FLAG_rtf" = 1; then
12332 if test "$DX_FLAG_rtf" = 1; then
12335 DX_COND_rtf_FALSE='#'
12337 DX_COND_rtf_TRUE='#'
12341 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12347 DX_COND_rtf_FALSE='#'
12349 DX_COND_rtf_TRUE='#'
12353 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12359 # XML file generation:
12363 # Check whether --enable-doxygen-xml was given.
12364 if test "${enable_doxygen_xml+set}" = set; then :
12365 enableval=$enable_doxygen_xml;
12366 case "$enableval" in
12372 test "$DX_FLAG_doc" = "1" \
12373 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12381 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12390 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12396 if test "$DX_FLAG_xml" = 1; then
12400 if test "$DX_FLAG_xml" = 1; then
12403 DX_COND_xml_FALSE='#'
12405 DX_COND_xml_TRUE='#'
12409 DX_ENV="$DX_ENV GENERATE_XML='YES'"
12415 DX_COND_xml_FALSE='#'
12417 DX_COND_xml_TRUE='#'
12421 DX_ENV="$DX_ENV GENERATE_XML='NO'"
12427 # (Compressed) HTML help generation:
12431 # Check whether --enable-doxygen-chm was given.
12432 if test "${enable_doxygen_chm+set}" = set; then :
12433 enableval=$enable_doxygen_chm;
12434 case "$enableval" in
12440 test "$DX_FLAG_doc" = "1" \
12441 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12449 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12458 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12464 if test "$DX_FLAG_chm" = 1; then
12466 if test -n "$ac_tool_prefix"; then
12467 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12468 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12470 $as_echo_n "checking for $ac_word... " >&6; }
12471 if test "${ac_cv_path_DX_HHC+set}" = set; then :
12472 $as_echo_n "(cached) " >&6
12476 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12480 for as_dir in $PATH
12483 test -z "$as_dir" && as_dir=.
12484 for ac_exec_ext in '' $ac_executable_extensions; do
12485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12486 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12497 DX_HHC=$ac_cv_path_DX_HHC
12498 if test -n "$DX_HHC"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12500 $as_echo "$DX_HHC" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12508 if test -z "$ac_cv_path_DX_HHC"; then
12509 ac_pt_DX_HHC=$DX_HHC
12510 # Extract the first word of "hhc", so it can be a program name with args.
12511 set dummy hhc; ac_word=$2
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12513 $as_echo_n "checking for $ac_word... " >&6; }
12514 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
12515 $as_echo_n "(cached) " >&6
12517 case $ac_pt_DX_HHC in
12519 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12523 for as_dir in $PATH
12526 test -z "$as_dir" && as_dir=.
12527 for ac_exec_ext in '' $ac_executable_extensions; do
12528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12529 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12540 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12541 if test -n "$ac_pt_DX_HHC"; then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12543 $as_echo "$ac_pt_DX_HHC" >&6; }
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 $as_echo "no" >&6; }
12549 if test "x$ac_pt_DX_HHC" = x; then
12552 case $cross_compiling:$ac_tool_warned in
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12556 ac_tool_warned=yes ;;
12558 DX_HHC=$ac_pt_DX_HHC
12561 DX_HHC="$ac_cv_path_DX_HHC"
12564 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12566 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12573 if test "$DX_FLAG_chm" = 1; then
12576 DX_COND_chm_FALSE='#'
12578 DX_COND_chm_TRUE='#'
12582 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12584 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12586 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12592 DX_COND_chm_FALSE='#'
12594 DX_COND_chm_TRUE='#'
12598 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12604 # Seperate CHI file generation.
12608 # Check whether --enable-doxygen-chi was given.
12609 if test "${enable_doxygen_chi+set}" = set; then :
12610 enableval=$enable_doxygen_chi;
12611 case "$enableval" in
12617 test "$DX_FLAG_chm" = "1" \
12618 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12626 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12635 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12641 if test "$DX_FLAG_chi" = 1; then
12645 if test "$DX_FLAG_chi" = 1; then
12648 DX_COND_chi_FALSE='#'
12650 DX_COND_chi_TRUE='#'
12654 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12660 DX_COND_chi_FALSE='#'
12662 DX_COND_chi_TRUE='#'
12666 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12672 # Plain HTML pages generation:
12676 # Check whether --enable-doxygen-html was given.
12677 if test "${enable_doxygen_html+set}" = set; then :
12678 enableval=$enable_doxygen_html;
12679 case "$enableval" in
12685 test "$DX_FLAG_doc" = "1" \
12686 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12688 test "$DX_FLAG_chm" = "0" \
12689 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12697 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12706 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12709 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12715 if test "$DX_FLAG_html" = 1; then
12719 if test "$DX_FLAG_html" = 1; then
12722 DX_COND_html_FALSE='#'
12724 DX_COND_html_TRUE='#'
12725 DX_COND_html_FALSE=
12728 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12734 DX_COND_html_FALSE='#'
12736 DX_COND_html_TRUE='#'
12737 DX_COND_html_FALSE=
12740 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12746 # PostScript file generation:
12750 # Check whether --enable-doxygen-ps was given.
12751 if test "${enable_doxygen_ps+set}" = set; then :
12752 enableval=$enable_doxygen_ps;
12753 case "$enableval" in
12759 test "$DX_FLAG_doc" = "1" \
12760 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12768 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12777 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12783 if test "$DX_FLAG_ps" = 1; then
12785 if test -n "$ac_tool_prefix"; then
12786 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12787 set dummy ${ac_tool_prefix}latex; ac_word=$2
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12789 $as_echo_n "checking for $ac_word... " >&6; }
12790 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12791 $as_echo_n "(cached) " >&6
12795 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12799 for as_dir in $PATH
12802 test -z "$as_dir" && as_dir=.
12803 for ac_exec_ext in '' $ac_executable_extensions; do
12804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12805 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 DX_LATEX=$ac_cv_path_DX_LATEX
12817 if test -n "$DX_LATEX"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12819 $as_echo "$DX_LATEX" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12827 if test -z "$ac_cv_path_DX_LATEX"; then
12828 ac_pt_DX_LATEX=$DX_LATEX
12829 # Extract the first word of "latex", so it can be a program name with args.
12830 set dummy latex; ac_word=$2
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12832 $as_echo_n "checking for $ac_word... " >&6; }
12833 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12834 $as_echo_n "(cached) " >&6
12836 case $ac_pt_DX_LATEX in
12838 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12842 for as_dir in $PATH
12845 test -z "$as_dir" && as_dir=.
12846 for ac_exec_ext in '' $ac_executable_extensions; do
12847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12848 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12859 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12860 if test -n "$ac_pt_DX_LATEX"; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12862 $as_echo "$ac_pt_DX_LATEX" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12865 $as_echo "no" >&6; }
12868 if test "x$ac_pt_DX_LATEX" = x; then
12871 case $cross_compiling:$ac_tool_warned in
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12875 ac_tool_warned=yes ;;
12877 DX_LATEX=$ac_pt_DX_LATEX
12880 DX_LATEX="$ac_cv_path_DX_LATEX"
12883 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12885 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12891 if test -n "$ac_tool_prefix"; then
12892 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12893 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895 $as_echo_n "checking for $ac_word... " >&6; }
12896 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12897 $as_echo_n "(cached) " >&6
12899 case $DX_MAKEINDEX in
12901 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905 for as_dir in $PATH
12908 test -z "$as_dir" && as_dir=.
12909 for ac_exec_ext in '' $ac_executable_extensions; do
12910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12911 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12922 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12923 if test -n "$DX_MAKEINDEX"; then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12925 $as_echo "$DX_MAKEINDEX" >&6; }
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928 $as_echo "no" >&6; }
12933 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12934 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12935 # Extract the first word of "makeindex", so it can be a program name with args.
12936 set dummy makeindex; ac_word=$2
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12938 $as_echo_n "checking for $ac_word... " >&6; }
12939 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12940 $as_echo_n "(cached) " >&6
12942 case $ac_pt_DX_MAKEINDEX in
12944 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12954 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12965 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12966 if test -n "$ac_pt_DX_MAKEINDEX"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12968 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12974 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12977 case $cross_compiling:$ac_tool_warned in
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12981 ac_tool_warned=yes ;;
12983 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12986 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12989 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12991 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12997 if test -n "$ac_tool_prefix"; then
12998 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12999 set dummy ${ac_tool_prefix}dvips; ac_word=$2
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13001 $as_echo_n "checking for $ac_word... " >&6; }
13002 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
13003 $as_echo_n "(cached) " >&6
13007 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
13010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13011 for as_dir in $PATH
13014 test -z "$as_dir" && as_dir=.
13015 for ac_exec_ext in '' $ac_executable_extensions; do
13016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13017 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13028 DX_DVIPS=$ac_cv_path_DX_DVIPS
13029 if test -n "$DX_DVIPS"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13031 $as_echo "$DX_DVIPS" >&6; }
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13034 $as_echo "no" >&6; }
13039 if test -z "$ac_cv_path_DX_DVIPS"; then
13040 ac_pt_DX_DVIPS=$DX_DVIPS
13041 # Extract the first word of "dvips", so it can be a program name with args.
13042 set dummy dvips; ac_word=$2
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13044 $as_echo_n "checking for $ac_word... " >&6; }
13045 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
13046 $as_echo_n "(cached) " >&6
13048 case $ac_pt_DX_DVIPS in
13050 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13054 for as_dir in $PATH
13057 test -z "$as_dir" && as_dir=.
13058 for ac_exec_ext in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13071 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13072 if test -n "$ac_pt_DX_DVIPS"; then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13074 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13077 $as_echo "no" >&6; }
13080 if test "x$ac_pt_DX_DVIPS" = x; then
13083 case $cross_compiling:$ac_tool_warned in
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13087 ac_tool_warned=yes ;;
13089 DX_DVIPS=$ac_pt_DX_DVIPS
13092 DX_DVIPS="$ac_cv_path_DX_DVIPS"
13095 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13097 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13103 if test -n "$ac_tool_prefix"; then
13104 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13105 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13107 $as_echo_n "checking for $ac_word... " >&6; }
13108 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
13109 $as_echo_n "(cached) " >&6
13113 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13117 for as_dir in $PATH
13120 test -z "$as_dir" && as_dir=.
13121 for ac_exec_ext in '' $ac_executable_extensions; do
13122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13123 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13134 DX_EGREP=$ac_cv_path_DX_EGREP
13135 if test -n "$DX_EGREP"; then
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13137 $as_echo "$DX_EGREP" >&6; }
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13140 $as_echo "no" >&6; }
13145 if test -z "$ac_cv_path_DX_EGREP"; then
13146 ac_pt_DX_EGREP=$DX_EGREP
13147 # Extract the first word of "egrep", so it can be a program name with args.
13148 set dummy egrep; ac_word=$2
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13150 $as_echo_n "checking for $ac_word... " >&6; }
13151 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
13152 $as_echo_n "(cached) " >&6
13154 case $ac_pt_DX_EGREP in
13156 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13160 for as_dir in $PATH
13163 test -z "$as_dir" && as_dir=.
13164 for ac_exec_ext in '' $ac_executable_extensions; do
13165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13166 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13177 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13178 if test -n "$ac_pt_DX_EGREP"; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13180 $as_echo "$ac_pt_DX_EGREP" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13183 $as_echo "no" >&6; }
13186 if test "x$ac_pt_DX_EGREP" = x; then
13189 case $cross_compiling:$ac_tool_warned in
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13193 ac_tool_warned=yes ;;
13195 DX_EGREP=$ac_pt_DX_EGREP
13198 DX_EGREP="$ac_cv_path_DX_EGREP"
13201 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13203 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13210 if test "$DX_FLAG_ps" = 1; then
13213 DX_COND_ps_FALSE='#'
13215 DX_COND_ps_TRUE='#'
13224 DX_COND_ps_FALSE='#'
13226 DX_COND_ps_TRUE='#'
13235 # PDF file generation:
13239 # Check whether --enable-doxygen-pdf was given.
13240 if test "${enable_doxygen_pdf+set}" = set; then :
13241 enableval=$enable_doxygen_pdf;
13242 case "$enableval" in
13248 test "$DX_FLAG_doc" = "1" \
13249 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13257 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13266 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13272 if test "$DX_FLAG_pdf" = 1; then
13274 if test -n "$ac_tool_prefix"; then
13275 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13276 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13278 $as_echo_n "checking for $ac_word... " >&6; }
13279 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
13280 $as_echo_n "(cached) " >&6
13282 case $DX_PDFLATEX in
13284 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13288 for as_dir in $PATH
13291 test -z "$as_dir" && as_dir=.
13292 for ac_exec_ext in '' $ac_executable_extensions; do
13293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13294 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13305 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13306 if test -n "$DX_PDFLATEX"; then
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13308 $as_echo "$DX_PDFLATEX" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13311 $as_echo "no" >&6; }
13316 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13317 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13318 # Extract the first word of "pdflatex", so it can be a program name with args.
13319 set dummy pdflatex; ac_word=$2
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13321 $as_echo_n "checking for $ac_word... " >&6; }
13322 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
13323 $as_echo_n "(cached) " >&6
13325 case $ac_pt_DX_PDFLATEX in
13327 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13331 for as_dir in $PATH
13334 test -z "$as_dir" && as_dir=.
13335 for ac_exec_ext in '' $ac_executable_extensions; do
13336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13337 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13348 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13349 if test -n "$ac_pt_DX_PDFLATEX"; then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13351 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354 $as_echo "no" >&6; }
13357 if test "x$ac_pt_DX_PDFLATEX" = x; then
13360 case $cross_compiling:$ac_tool_warned in
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13364 ac_tool_warned=yes ;;
13366 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13369 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13372 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13374 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13380 if test -n "$ac_tool_prefix"; then
13381 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13382 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13384 $as_echo_n "checking for $ac_word... " >&6; }
13385 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
13386 $as_echo_n "(cached) " >&6
13388 case $DX_MAKEINDEX in
13390 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $PATH
13397 test -z "$as_dir" && as_dir=.
13398 for ac_exec_ext in '' $ac_executable_extensions; do
13399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13400 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13411 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13412 if test -n "$DX_MAKEINDEX"; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13414 $as_echo "$DX_MAKEINDEX" >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13422 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13423 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13424 # Extract the first word of "makeindex", so it can be a program name with args.
13425 set dummy makeindex; ac_word=$2
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13427 $as_echo_n "checking for $ac_word... " >&6; }
13428 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
13429 $as_echo_n "(cached) " >&6
13431 case $ac_pt_DX_MAKEINDEX in
13433 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437 for as_dir in $PATH
13440 test -z "$as_dir" && as_dir=.
13441 for ac_exec_ext in '' $ac_executable_extensions; do
13442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13443 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13454 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13455 if test -n "$ac_pt_DX_MAKEINDEX"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13457 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13463 if test "x$ac_pt_DX_MAKEINDEX" = x; then
13466 case $cross_compiling:$ac_tool_warned in
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13470 ac_tool_warned=yes ;;
13472 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13475 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13478 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13480 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13486 if test -n "$ac_tool_prefix"; then
13487 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13488 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13490 $as_echo_n "checking for $ac_word... " >&6; }
13491 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
13492 $as_echo_n "(cached) " >&6
13496 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13500 for as_dir in $PATH
13503 test -z "$as_dir" && as_dir=.
13504 for ac_exec_ext in '' $ac_executable_extensions; do
13505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13506 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13517 DX_EGREP=$ac_cv_path_DX_EGREP
13518 if test -n "$DX_EGREP"; then
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13520 $as_echo "$DX_EGREP" >&6; }
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13523 $as_echo "no" >&6; }
13528 if test -z "$ac_cv_path_DX_EGREP"; then
13529 ac_pt_DX_EGREP=$DX_EGREP
13530 # Extract the first word of "egrep", so it can be a program name with args.
13531 set dummy egrep; ac_word=$2
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13533 $as_echo_n "checking for $ac_word... " >&6; }
13534 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
13535 $as_echo_n "(cached) " >&6
13537 case $ac_pt_DX_EGREP in
13539 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13543 for as_dir in $PATH
13546 test -z "$as_dir" && as_dir=.
13547 for ac_exec_ext in '' $ac_executable_extensions; do
13548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13549 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13560 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13561 if test -n "$ac_pt_DX_EGREP"; then
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13563 $as_echo "$ac_pt_DX_EGREP" >&6; }
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13566 $as_echo "no" >&6; }
13569 if test "x$ac_pt_DX_EGREP" = x; then
13572 case $cross_compiling:$ac_tool_warned in
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13576 ac_tool_warned=yes ;;
13578 DX_EGREP=$ac_pt_DX_EGREP
13581 DX_EGREP="$ac_cv_path_DX_EGREP"
13584 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13586 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13593 if test "$DX_FLAG_pdf" = 1; then
13596 DX_COND_pdf_FALSE='#'
13598 DX_COND_pdf_TRUE='#'
13607 DX_COND_pdf_FALSE='#'
13609 DX_COND_pdf_TRUE='#'
13618 # LaTeX generation for PS and/or PDF:
13619 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13621 DX_COND_latex_TRUE=
13622 DX_COND_latex_FALSE='#'
13624 DX_COND_latex_TRUE='#'
13625 DX_COND_latex_FALSE=
13628 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13632 DX_COND_latex_TRUE=
13633 DX_COND_latex_FALSE='#'
13635 DX_COND_latex_TRUE='#'
13636 DX_COND_latex_FALSE=
13639 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13643 # Paper size for PS and/or PDF:
13645 case "$DOXYGEN_PAPER_SIZE" in
13648 DOXYGEN_PAPER_SIZE=""
13651 a4wide|a4|letter|legal|executive)
13652 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13656 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13661 #echo DX_FLAG_doc=$DX_FLAG_doc
13662 #echo DX_FLAG_dot=$DX_FLAG_dot
13663 #echo DX_FLAG_man=$DX_FLAG_man
13664 #echo DX_FLAG_html=$DX_FLAG_html
13665 #echo DX_FLAG_chm=$DX_FLAG_chm
13666 #echo DX_FLAG_chi=$DX_FLAG_chi
13667 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13668 #echo DX_FLAG_xml=$DX_FLAG_xml
13669 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13670 #echo DX_FLAG_ps=$DX_FLAG_ps
13671 #echo DX_ENV=$DX_ENV
13675 # Check whether --enable-debug was given.
13676 if test "${enable_debug+set}" = set; then :
13677 enableval=$enable_debug; enable_debug=$enableval
13683 if test "$enable_debug" = "yes" ; then
13684 GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
13685 GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
13687 GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
13688 GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
13691 ac_config_headers="$ac_config_headers config.h"
13693 ac_config_files="$ac_config_files opensaml.spec pkginfo Portfile"
13695 ac_config_files="$ac_config_files Makefile saml/Makefile samltest/Makefile samlsign/Makefile schemas/Makefile doc/Makefile"
13699 ac_cpp='$CPP $CPPFLAGS'
13700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13703 if test -n "$ac_tool_prefix"; then
13704 for ac_prog in gcc gcc3 cc
13706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13709 $as_echo_n "checking for $ac_word... " >&6; }
13710 if test "${ac_cv_prog_CC+set}" = set; then :
13711 $as_echo_n "(cached) " >&6
13713 if test -n "$CC"; then
13714 ac_cv_prog_CC="$CC" # Let the user override the test.
13716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13717 for as_dir in $PATH
13720 test -z "$as_dir" && as_dir=.
13721 for ac_exec_ext in '' $ac_executable_extensions; do
13722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13734 if test -n "$CC"; then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13736 $as_echo "$CC" >&6; }
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13739 $as_echo "no" >&6; }
13743 test -n "$CC" && break
13746 if test -z "$CC"; then
13748 for ac_prog in gcc gcc3 cc
13750 # Extract the first word of "$ac_prog", so it can be a program name with args.
13751 set dummy $ac_prog; ac_word=$2
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13753 $as_echo_n "checking for $ac_word... " >&6; }
13754 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13755 $as_echo_n "(cached) " >&6
13757 if test -n "$ac_ct_CC"; then
13758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13761 for as_dir in $PATH
13764 test -z "$as_dir" && as_dir=.
13765 for ac_exec_ext in '' $ac_executable_extensions; do
13766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13767 ac_cv_prog_ac_ct_CC="$ac_prog"
13768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13778 if test -n "$ac_ct_CC"; then
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13780 $as_echo "$ac_ct_CC" >&6; }
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13783 $as_echo "no" >&6; }
13787 test -n "$ac_ct_CC" && break
13790 if test "x$ac_ct_CC" = x; then
13793 case $cross_compiling:$ac_tool_warned in
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13797 ac_tool_warned=yes ;;
13804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13806 as_fn_error $? "no acceptable C compiler found in \$PATH
13807 See \`config.log' for more details" "$LINENO" 5 ; }
13809 # Provide some information about the compiler.
13810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13813 for ac_option in --version -v -V -qversion; do
13814 { { ac_try="$ac_compiler $ac_option >&5"
13815 case "(($ac_try" in
13816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13817 *) ac_try_echo=$ac_try;;
13819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13820 $as_echo "$ac_try_echo"; } >&5
13821 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13823 if test -s conftest.err; then
13825 ... rest of stderr output deleted ...
13826 10q' conftest.err >conftest.er1
13827 cat conftest.er1 >&5
13829 rm -f conftest.er1 conftest.err
13830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13831 test $ac_status = 0; }
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13835 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13836 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13837 $as_echo_n "(cached) " >&6
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13853 if ac_fn_c_try_compile "$LINENO"; then :
13854 ac_compiler_gnu=yes
13858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13863 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13864 if test $ac_compiler_gnu = yes; then
13869 ac_test_CFLAGS=${CFLAGS+set}
13870 ac_save_CFLAGS=$CFLAGS
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13872 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13873 if test "${ac_cv_prog_cc_g+set}" = set; then :
13874 $as_echo_n "(cached) " >&6
13876 ac_save_c_werror_flag=$ac_c_werror_flag
13877 ac_c_werror_flag=yes
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13891 if ac_fn_c_try_compile "$LINENO"; then :
13892 ac_cv_prog_cc_g=yes
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13906 if ac_fn_c_try_compile "$LINENO"; then :
13909 ac_c_werror_flag=$ac_save_c_werror_flag
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13922 if ac_fn_c_try_compile "$LINENO"; then :
13923 ac_cv_prog_cc_g=yes
13925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13930 ac_c_werror_flag=$ac_save_c_werror_flag
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13933 $as_echo "$ac_cv_prog_cc_g" >&6; }
13934 if test "$ac_test_CFLAGS" = set; then
13935 CFLAGS=$ac_save_CFLAGS
13936 elif test $ac_cv_prog_cc_g = yes; then
13937 if test "$GCC" = yes; then
13943 if test "$GCC" = yes; then
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13950 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13951 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_cv_prog_cc_c89=no
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 #include <stdarg.h>
13960 #include <sys/types.h>
13961 #include <sys/stat.h>
13962 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13963 struct buf { int x; };
13964 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13965 static char *e (p, i)
13971 static char *f (char * (*g) (char **, int), char **p, ...)
13976 s = g (p, va_arg (v,int));
13981 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13982 function prototypes and stuff, but not '\xHH' hex character constants.
13983 These don't provoke an error unfortunately, instead are silently treated
13984 as 'x'. The following induces an error, until -std is added to get
13985 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13986 array size at least. It's necessary to write '\x00'==0 to get something
13987 that's true only with -std. */
13988 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13990 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13991 inside strings and character constants. */
13993 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13995 int test (int i, double x);
13996 struct s1 {int (*f) (int a);};
13997 struct s2 {int (*f) (double a);};
13998 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14004 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14009 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14010 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14012 CC="$ac_save_CC $ac_arg"
14013 if ac_fn_c_try_compile "$LINENO"; then :
14014 ac_cv_prog_cc_c89=$ac_arg
14016 rm -f core conftest.err conftest.$ac_objext
14017 test "x$ac_cv_prog_cc_c89" != "xno" && break
14019 rm -f conftest.$ac_ext
14024 case "x$ac_cv_prog_cc_c89" in
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14027 $as_echo "none needed" >&6; } ;;
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14030 $as_echo "unsupported" >&6; } ;;
14032 CC="$CC $ac_cv_prog_cc_c89"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14034 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14036 if test "x$ac_cv_prog_cc_c89" != xno; then :
14041 ac_cpp='$CPP $CPPFLAGS'
14042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14046 depcc="$CC" am_compiler_list=
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14049 $as_echo_n "checking dependency style of $depcc... " >&6; }
14050 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
14051 $as_echo_n "(cached) " >&6
14053 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14054 # We make a subdir and do the tests there. Otherwise we can end up
14055 # making bogus files that we don't know about and never remove. For
14056 # instance it was reported that on HP-UX the gcc test will end up
14057 # making a dummy file named `D' -- because `-MD' means `put the output
14060 # Copy depcomp to subdir because otherwise we won't find it if we're
14061 # using a relative directory.
14062 cp "$am_depcomp" conftest.dir
14064 # We will build objects and dependencies in a subdirectory because
14065 # it helps to detect inapplicable dependency modes. For instance
14066 # both Tru64's cc and ICC support -MD to output dependencies as a
14067 # side effect of compilation, but ICC will put the dependencies in
14068 # the current directory while Tru64 will put them in the object
14072 am_cv_CC_dependencies_compiler_type=none
14073 if test "$am_compiler_list" = ""; then
14074 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14076 am__universal=false
14077 case " $depcc " in #(
14078 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14081 for depmode in $am_compiler_list; do
14082 # Setup a source with many dependencies, because some compilers
14083 # like to wrap large dependency lists on column 80 (with \), and
14084 # we should not choose a depcomp mode which is confused by this.
14086 # We need to recreate these files for each test, as the compiler may
14087 # overwrite some of them when testing with obscure command lines.
14088 # This happens at least with the AIX C compiler.
14090 for i in 1 2 3 4 5 6; do
14091 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14092 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14093 # Solaris 8's {/usr,}/bin/sh.
14094 touch sub/conftst$i.h
14096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14098 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14099 # mode. It turns out that the SunPro C++ compiler does not properly
14100 # handle `-M -o', and we need to detect this. Also, some Intel
14101 # versions had trouble with output in subdirs
14102 am__obj=sub/conftest.${OBJEXT-o}
14103 am__minus_obj="-o $am__obj"
14106 # This depmode causes a compiler race in universal mode.
14107 test "$am__universal" = false || continue
14110 # after this tag, mechanisms are not by side-effect, so they'll
14111 # only be used when explicitly requested
14112 if test "x$enable_dependency_tracking" = xyes; then
14118 msvisualcpp | msvcmsys)
14119 # This compiler won't grok `-c -o', but also, the minuso test has
14120 # not run yet. These depmodes are late enough in the game, and
14121 # so weak that their functioning should not be impacted.
14122 am__obj=conftest.${OBJEXT-o}
14127 if depmode=$depmode \
14128 source=sub/conftest.c object=$am__obj \
14129 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14130 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14131 >/dev/null 2>conftest.err &&
14132 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14133 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14134 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14135 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14136 # icc doesn't choke on unknown options, it will just issue warnings
14137 # or remarks (even with -Werror). So we grep stderr for any message
14138 # that says an option was ignored or not supported.
14139 # When given -MP, icc 7.0 and 7.1 complain thusly:
14140 # icc: Command line warning: ignoring option '-M'; no argument required
14141 # The diagnosis changed in icc 8.0:
14142 # icc: Command line remark: option '-MP' not supported
14143 if (grep 'ignoring option' conftest.err ||
14144 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14145 am_cv_CC_dependencies_compiler_type=$depmode
14152 rm -rf conftest.dir
14154 am_cv_CC_dependencies_compiler_type=none
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14159 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14160 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14163 test "x$enable_dependency_tracking" != xno \
14164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14165 am__fastdepCC_TRUE=
14166 am__fastdepCC_FALSE='#'
14168 am__fastdepCC_TRUE='#'
14169 am__fastdepCC_FALSE=
14174 ac_cpp='$CXXCPP $CPPFLAGS'
14175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14178 if test -z "$CXX"; then
14179 if test -n "$CCC"; then
14182 if test -n "$ac_tool_prefix"; then
14183 for ac_prog in g++ g++3 c++ CC
14185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14188 $as_echo_n "checking for $ac_word... " >&6; }
14189 if test "${ac_cv_prog_CXX+set}" = set; then :
14190 $as_echo_n "(cached) " >&6
14192 if test -n "$CXX"; then
14193 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14196 for as_dir in $PATH
14199 test -z "$as_dir" && as_dir=.
14200 for ac_exec_ext in '' $ac_executable_extensions; do
14201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14202 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14212 CXX=$ac_cv_prog_CXX
14213 if test -n "$CXX"; then
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14215 $as_echo "$CXX" >&6; }
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14218 $as_echo "no" >&6; }
14222 test -n "$CXX" && break
14225 if test -z "$CXX"; then
14227 for ac_prog in g++ g++3 c++ CC
14229 # Extract the first word of "$ac_prog", so it can be a program name with args.
14230 set dummy $ac_prog; ac_word=$2
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14232 $as_echo_n "checking for $ac_word... " >&6; }
14233 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
14234 $as_echo_n "(cached) " >&6
14236 if test -n "$ac_ct_CXX"; then
14237 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14240 for as_dir in $PATH
14243 test -z "$as_dir" && as_dir=.
14244 for ac_exec_ext in '' $ac_executable_extensions; do
14245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14246 ac_cv_prog_ac_ct_CXX="$ac_prog"
14247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14256 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14257 if test -n "$ac_ct_CXX"; then
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14259 $as_echo "$ac_ct_CXX" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14262 $as_echo "no" >&6; }
14266 test -n "$ac_ct_CXX" && break
14269 if test "x$ac_ct_CXX" = x; then
14272 case $cross_compiling:$ac_tool_warned in
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14276 ac_tool_warned=yes ;;
14284 # Provide some information about the compiler.
14285 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14288 for ac_option in --version -v -V -qversion; do
14289 { { ac_try="$ac_compiler $ac_option >&5"
14290 case "(($ac_try" in
14291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14292 *) ac_try_echo=$ac_try;;
14294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14295 $as_echo "$ac_try_echo"; } >&5
14296 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14298 if test -s conftest.err; then
14300 ... rest of stderr output deleted ...
14301 10q' conftest.err >conftest.er1
14302 cat conftest.er1 >&5
14304 rm -f conftest.er1 conftest.err
14305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14306 test $ac_status = 0; }
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14310 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14311 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14312 $as_echo_n "(cached) " >&6
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14328 if ac_fn_cxx_try_compile "$LINENO"; then :
14329 ac_compiler_gnu=yes
14333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14334 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14338 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14339 if test $ac_compiler_gnu = yes; then
14344 ac_test_CXXFLAGS=${CXXFLAGS+set}
14345 ac_save_CXXFLAGS=$CXXFLAGS
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14347 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14348 if test "${ac_cv_prog_cxx_g+set}" = set; then :
14349 $as_echo_n "(cached) " >&6
14351 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14352 ac_cxx_werror_flag=yes
14353 ac_cv_prog_cxx_g=no
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14366 if ac_fn_cxx_try_compile "$LINENO"; then :
14367 ac_cv_prog_cxx_g=yes
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14381 if ac_fn_cxx_try_compile "$LINENO"; then :
14384 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14397 if ac_fn_cxx_try_compile "$LINENO"; then :
14398 ac_cv_prog_cxx_g=yes
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14405 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14408 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14409 if test "$ac_test_CXXFLAGS" = set; then
14410 CXXFLAGS=$ac_save_CXXFLAGS
14411 elif test $ac_cv_prog_cxx_g = yes; then
14412 if test "$GXX" = yes; then
14418 if test "$GXX" = yes; then
14425 ac_cpp='$CPP $CPPFLAGS'
14426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14430 depcc="$CXX" am_compiler_list=
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14433 $as_echo_n "checking dependency style of $depcc... " >&6; }
14434 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14435 $as_echo_n "(cached) " >&6
14437 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14438 # We make a subdir and do the tests there. Otherwise we can end up
14439 # making bogus files that we don't know about and never remove. For
14440 # instance it was reported that on HP-UX the gcc test will end up
14441 # making a dummy file named `D' -- because `-MD' means `put the output
14444 # Copy depcomp to subdir because otherwise we won't find it if we're
14445 # using a relative directory.
14446 cp "$am_depcomp" conftest.dir
14448 # We will build objects and dependencies in a subdirectory because
14449 # it helps to detect inapplicable dependency modes. For instance
14450 # both Tru64's cc and ICC support -MD to output dependencies as a
14451 # side effect of compilation, but ICC will put the dependencies in
14452 # the current directory while Tru64 will put them in the object
14456 am_cv_CXX_dependencies_compiler_type=none
14457 if test "$am_compiler_list" = ""; then
14458 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14460 am__universal=false
14461 case " $depcc " in #(
14462 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14465 for depmode in $am_compiler_list; do
14466 # Setup a source with many dependencies, because some compilers
14467 # like to wrap large dependency lists on column 80 (with \), and
14468 # we should not choose a depcomp mode which is confused by this.
14470 # We need to recreate these files for each test, as the compiler may
14471 # overwrite some of them when testing with obscure command lines.
14472 # This happens at least with the AIX C compiler.
14474 for i in 1 2 3 4 5 6; do
14475 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14476 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14477 # Solaris 8's {/usr,}/bin/sh.
14478 touch sub/conftst$i.h
14480 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14482 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14483 # mode. It turns out that the SunPro C++ compiler does not properly
14484 # handle `-M -o', and we need to detect this. Also, some Intel
14485 # versions had trouble with output in subdirs
14486 am__obj=sub/conftest.${OBJEXT-o}
14487 am__minus_obj="-o $am__obj"
14490 # This depmode causes a compiler race in universal mode.
14491 test "$am__universal" = false || continue
14494 # after this tag, mechanisms are not by side-effect, so they'll
14495 # only be used when explicitly requested
14496 if test "x$enable_dependency_tracking" = xyes; then
14502 msvisualcpp | msvcmsys)
14503 # This compiler won't grok `-c -o', but also, the minuso test has
14504 # not run yet. These depmodes are late enough in the game, and
14505 # so weak that their functioning should not be impacted.
14506 am__obj=conftest.${OBJEXT-o}
14511 if depmode=$depmode \
14512 source=sub/conftest.c object=$am__obj \
14513 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14514 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14515 >/dev/null 2>conftest.err &&
14516 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14517 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14518 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14519 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14520 # icc doesn't choke on unknown options, it will just issue warnings
14521 # or remarks (even with -Werror). So we grep stderr for any message
14522 # that says an option was ignored or not supported.
14523 # When given -MP, icc 7.0 and 7.1 complain thusly:
14524 # icc: Command line warning: ignoring option '-M'; no argument required
14525 # The diagnosis changed in icc 8.0:
14526 # icc: Command line remark: option '-MP' not supported
14527 if (grep 'ignoring option' conftest.err ||
14528 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14529 am_cv_CXX_dependencies_compiler_type=$depmode
14536 rm -rf conftest.dir
14538 am_cv_CXX_dependencies_compiler_type=none
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14543 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14544 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14547 test "x$enable_dependency_tracking" != xno \
14548 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14549 am__fastdepCXX_TRUE=
14550 am__fastdepCXX_FALSE='#'
14552 am__fastdepCXX_TRUE='#'
14553 am__fastdepCXX_FALSE=
14559 func_stripname_cnf ()
14562 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14563 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14565 } # func_stripname_cnf
14567 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14568 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14569 (test "X$CXX" != "Xg++"))) ; then
14571 ac_cpp='$CXXCPP $CPPFLAGS'
14572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14576 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14577 if test -z "$CXXCPP"; then
14578 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14579 $as_echo_n "(cached) " >&6
14581 # Double quotes because CXXCPP needs to be expanded
14582 for CXXCPP in "$CXX -E" "/lib/cpp"
14584 ac_preproc_ok=false
14585 for ac_cxx_preproc_warn_flag in '' yes
14587 # Use a header file that comes with gcc, so configuring glibc
14588 # with a fresh cross-compiler works.
14589 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14590 # <limits.h> exists even on freestanding compilers.
14591 # On the NeXT, cc -E runs the code through the compiler's parser,
14592 # not just through cpp. "Syntax error" is here to catch this case.
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 # include <limits.h>
14598 # include <assert.h>
14602 if ac_fn_cxx_try_cpp "$LINENO"; then :
14605 # Broken: fails on valid input.
14608 rm -f conftest.err conftest.i conftest.$ac_ext
14610 # OK, works on sane cases. Now check whether nonexistent headers
14611 # can be detected and how.
14612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14614 #include <ac_nonexistent.h>
14616 if ac_fn_cxx_try_cpp "$LINENO"; then :
14617 # Broken: success on invalid input.
14620 # Passes both tests.
14624 rm -f conftest.err conftest.i conftest.$ac_ext
14627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14628 rm -f conftest.i conftest.err conftest.$ac_ext
14629 if $ac_preproc_ok; then :
14634 ac_cv_prog_CXXCPP=$CXXCPP
14637 CXXCPP=$ac_cv_prog_CXXCPP
14639 ac_cv_prog_CXXCPP=$CXXCPP
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14642 $as_echo "$CXXCPP" >&6; }
14643 ac_preproc_ok=false
14644 for ac_cxx_preproc_warn_flag in '' yes
14646 # Use a header file that comes with gcc, so configuring glibc
14647 # with a fresh cross-compiler works.
14648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14649 # <limits.h> exists even on freestanding compilers.
14650 # On the NeXT, cc -E runs the code through the compiler's parser,
14651 # not just through cpp. "Syntax error" is here to catch this case.
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 # include <limits.h>
14657 # include <assert.h>
14661 if ac_fn_cxx_try_cpp "$LINENO"; then :
14664 # Broken: fails on valid input.
14667 rm -f conftest.err conftest.i conftest.$ac_ext
14669 # OK, works on sane cases. Now check whether nonexistent headers
14670 # can be detected and how.
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 #include <ac_nonexistent.h>
14675 if ac_fn_cxx_try_cpp "$LINENO"; then :
14676 # Broken: success on invalid input.
14679 # Passes both tests.
14683 rm -f conftest.err conftest.i conftest.$ac_ext
14686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14687 rm -f conftest.i conftest.err conftest.$ac_ext
14688 if $ac_preproc_ok; then :
14691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14693 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14694 See \`config.log' for more details" "$LINENO" 5 ; }
14698 ac_cpp='$CPP $CPPFLAGS'
14699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14704 _lt_caught_CXX_error=yes
14708 ac_cpp='$CXXCPP $CPPFLAGS'
14709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14713 archive_cmds_need_lc_CXX=no
14714 allow_undefined_flag_CXX=
14715 always_export_symbols_CXX=no
14716 archive_expsym_cmds_CXX=
14717 compiler_needs_object_CXX=no
14718 export_dynamic_flag_spec_CXX=
14719 hardcode_direct_CXX=no
14720 hardcode_direct_absolute_CXX=no
14721 hardcode_libdir_flag_spec_CXX=
14722 hardcode_libdir_flag_spec_ld_CXX=
14723 hardcode_libdir_separator_CXX=
14724 hardcode_minus_L_CXX=no
14725 hardcode_shlibpath_var_CXX=unsupported
14726 hardcode_automatic_CXX=no
14727 inherit_rpath_CXX=no
14729 module_expsym_cmds_CXX=
14730 link_all_deplibs_CXX=unknown
14731 old_archive_cmds_CXX=$old_archive_cmds
14732 reload_flag_CXX=$reload_flag
14733 reload_cmds_CXX=$reload_cmds
14734 no_undefined_flag_CXX=
14735 whole_archive_flag_spec_CXX=
14736 enable_shared_with_static_runtimes_CXX=no
14738 # Source file extension for C++ test sources.
14741 # Object file extension for compiled C++ test sources.
14745 # No sense in running all these tests if we already determined that
14746 # the CXX compiler isn't working. Some variables (like enable_shared)
14747 # are currently assumed to apply to all compilers on this platform,
14748 # and will be corrupted by setting them based on a non-working compiler.
14749 if test "$_lt_caught_CXX_error" != yes; then
14750 # Code to be used in simple compile tests
14751 lt_simple_compile_test_code="int some_variable = 0;"
14753 # Code to be used in simple link tests
14754 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14756 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14763 # If no C compiler was specified, use CC.
14766 # If no C compiler flags were specified, use CFLAGS.
14767 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14769 # Allow CC to be a program name with arguments.
14773 # save warnings/boilerplate of simple test code
14774 ac_outfile=conftest.$ac_objext
14775 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14776 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14777 _lt_compiler_boilerplate=`cat conftest.err`
14780 ac_outfile=conftest.$ac_objext
14781 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14782 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14783 _lt_linker_boilerplate=`cat conftest.err`
14787 # Allow CC to be a program name with arguments.
14789 lt_save_CFLAGS=$CFLAGS
14793 lt_save_with_gnu_ld=$with_gnu_ld
14794 lt_save_path_LD=$lt_cv_path_LD
14795 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14796 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14798 $as_unset lt_cv_prog_gnu_ld
14800 if test -n "${lt_cv_path_LDCXX+set}"; then
14801 lt_cv_path_LD=$lt_cv_path_LDCXX
14803 $as_unset lt_cv_path_LD
14805 test -z "${LDCXX+set}" || LD=$LDCXX
14810 for cc_temp in $compiler""; do
14812 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14813 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14818 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14821 if test -n "$compiler"; then
14822 # We don't want -fno-exception when compiling C++ code, so set the
14823 # no_builtin_flag separately
14824 if test "$GXX" = yes; then
14825 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14827 lt_prog_compiler_no_builtin_flag_CXX=
14830 if test "$GXX" = yes; then
14831 # Set up default GNU C++ configuration
14835 # Check whether --with-gnu-ld was given.
14836 if test "${with_gnu_ld+set}" = set; then :
14837 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14843 if test "$GCC" = yes; then
14844 # Check if gcc -print-prog-name=ld gives a path.
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14846 $as_echo_n "checking for ld used by $CC... " >&6; }
14849 # gcc leaves a trailing carriage return which upsets mingw
14850 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14852 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14855 # Accept absolute paths.
14857 re_direlt='/[^/][^/]*/\.\./'
14858 # Canonicalize the pathname of ld
14859 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14860 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14861 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14863 test -z "$LD" && LD="$ac_prog"
14866 # If it fails, then pretend we aren't using GCC.
14870 # If it is relative, then search for the first ld in PATH.
14871 with_gnu_ld=unknown
14874 elif test "$with_gnu_ld" = yes; then
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14876 $as_echo_n "checking for GNU ld... " >&6; }
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14879 $as_echo_n "checking for non-GNU ld... " >&6; }
14881 if test "${lt_cv_path_LD+set}" = set; then :
14882 $as_echo_n "(cached) " >&6
14884 if test -z "$LD"; then
14885 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14886 for ac_dir in $PATH; do
14888 test -z "$ac_dir" && ac_dir=.
14889 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14890 lt_cv_path_LD="$ac_dir/$ac_prog"
14891 # Check to see if the program is GNU ld. I'd rather use --version,
14892 # but apparently some variants of GNU ld only accept -v.
14893 # Break only if it was the GNU/non-GNU ld that we prefer.
14894 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14895 *GNU* | *'with BFD'*)
14896 test "$with_gnu_ld" != no && break
14899 test "$with_gnu_ld" != yes && break
14906 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14910 LD="$lt_cv_path_LD"
14911 if test -n "$LD"; then
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14913 $as_echo "$LD" >&6; }
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14916 $as_echo "no" >&6; }
14918 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14920 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14921 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14922 $as_echo_n "(cached) " >&6
14924 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14925 case `$LD -v 2>&1 </dev/null` in
14926 *GNU* | *'with BFD'*)
14927 lt_cv_prog_gnu_ld=yes
14930 lt_cv_prog_gnu_ld=no
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14935 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14936 with_gnu_ld=$lt_cv_prog_gnu_ld
14944 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14945 # archiving commands below assume that GNU ld is being used.
14946 if test "$with_gnu_ld" = yes; then
14947 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14948 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'
14950 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14951 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14953 # If archive_cmds runs LD, not CC, wlarc should be empty
14954 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14955 # investigate it a little bit more. (MM)
14958 # ancient GNU ld didn't support --whole-archive et. al.
14959 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14960 $GREP 'no-whole-archive' > /dev/null; then
14961 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14963 whole_archive_flag_spec_CXX=
14969 # A generic and very simple default shared library creation
14970 # command for GNU C++ for the case where it uses the native
14971 # linker, instead of GNU ld. If possible, this setting should
14972 # overridden to take advantage of the native linker features on
14973 # the platform it is being used on.
14974 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14977 # Commands to make compiler produce verbose output that lists
14978 # what "hidden" libraries, object files and flags are used when
14979 # linking a shared library.
14980 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14988 # PORTME: fill in a description of your system's C++ link characteristics
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14990 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14994 # FIXME: insert proper C++ library support
14998 if test "$host_cpu" = ia64; then
14999 # On IA64, the linker does run time linking by default, so we don't
15000 # have to do anything special.
15001 aix_use_runtimelinking=no
15002 exp_sym_flag='-Bexport'
15005 aix_use_runtimelinking=no
15007 # Test if we are trying to use run time linking or normal
15008 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15009 # need to do runtime linking.
15010 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15011 for ld_flag in $LDFLAGS; do
15014 aix_use_runtimelinking=yes
15022 exp_sym_flag='-bexport'
15023 no_entry_flag='-bnoentry'
15026 # When large executables or shared objects are built, AIX ld can
15027 # have problems creating the table of contents. If linking a library
15028 # or program results in "error TOC overflow" add -mminimal-toc to
15029 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15030 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15032 archive_cmds_CXX=''
15033 hardcode_direct_CXX=yes
15034 hardcode_direct_absolute_CXX=yes
15035 hardcode_libdir_separator_CXX=':'
15036 link_all_deplibs_CXX=yes
15037 file_list_spec_CXX='${wl}-f,'
15039 if test "$GXX" = yes; then
15040 case $host_os in aix4.[012]|aix4.[012].*)
15041 # We only want to do this on AIX 4.2 and lower, the check
15042 # below for broken collect2 doesn't work under 4.3+
15043 collect2name=`${CC} -print-prog-name=collect2`
15044 if test -f "$collect2name" &&
15045 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15047 # We have reworked collect2
15050 # We have old collect2
15051 hardcode_direct_CXX=unsupported
15052 # It fails to find uninstalled libraries when the uninstalled
15053 # path is not listed in the libpath. Setting hardcode_minus_L
15054 # to unsupported forces relinking
15055 hardcode_minus_L_CXX=yes
15056 hardcode_libdir_flag_spec_CXX='-L$libdir'
15057 hardcode_libdir_separator_CXX=
15060 shared_flag='-shared'
15061 if test "$aix_use_runtimelinking" = yes; then
15062 shared_flag="$shared_flag "'${wl}-G'
15066 if test "$host_cpu" = ia64; then
15067 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15068 # chokes on -Wl,-G. The following line is correct:
15071 if test "$aix_use_runtimelinking" = yes; then
15072 shared_flag='${wl}-G'
15074 shared_flag='${wl}-bM:SRE'
15079 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15080 # It seems that -bexpall does not export symbols beginning with
15081 # underscore (_), so it is better to generate a list of symbols to
15083 always_export_symbols_CXX=yes
15084 if test "$aix_use_runtimelinking" = yes; then
15085 # Warning - without using the other runtime loading flags (-brtl),
15086 # -berok will link without error, but may produce a broken library.
15087 allow_undefined_flag_CXX='-berok'
15088 # Determine the default libpath from the value encoded in an empty
15090 if test "${lt_cv_aix_libpath+set}" = set; then
15091 aix_libpath=$lt_cv_aix_libpath
15093 if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
15094 $as_echo_n "(cached) " >&6
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15107 if ac_fn_cxx_try_link "$LINENO"; then :
15109 lt_aix_libpath_sed='
15110 /Import File Strings/,/^$/ {
15112 s/^0 *\([^ ]*\) *$/\1/
15116 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15117 # Check for a 64-bit object if we didn't find anything.
15118 if test -z "$lt_cv_aix_libpath__CXX"; then
15119 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15122 rm -f core conftest.err conftest.$ac_objext \
15123 conftest$ac_exeext conftest.$ac_ext
15124 if test -z "$lt_cv_aix_libpath__CXX"; then
15125 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15130 aix_libpath=$lt_cv_aix_libpath__CXX
15133 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15135 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"
15137 if test "$host_cpu" = ia64; then
15138 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15139 allow_undefined_flag_CXX="-z nodefs"
15140 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"
15142 # Determine the default libpath from the value encoded in an
15143 # empty executable.
15144 if test "${lt_cv_aix_libpath+set}" = set; then
15145 aix_libpath=$lt_cv_aix_libpath
15147 if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
15148 $as_echo_n "(cached) " >&6
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15161 if ac_fn_cxx_try_link "$LINENO"; then :
15163 lt_aix_libpath_sed='
15164 /Import File Strings/,/^$/ {
15166 s/^0 *\([^ ]*\) *$/\1/
15170 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15171 # Check for a 64-bit object if we didn't find anything.
15172 if test -z "$lt_cv_aix_libpath__CXX"; then
15173 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15178 if test -z "$lt_cv_aix_libpath__CXX"; then
15179 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15184 aix_libpath=$lt_cv_aix_libpath__CXX
15187 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15188 # Warning - without using the other run time loading flags,
15189 # -berok will link without error, but may produce a broken library.
15190 no_undefined_flag_CXX=' ${wl}-bernotok'
15191 allow_undefined_flag_CXX=' ${wl}-berok'
15192 if test "$with_gnu_ld" = yes; then
15193 # We only use this code for GNU lds that support --whole-archive.
15194 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15196 # Exported symbols can be pulled into shared objects from archives
15197 whole_archive_flag_spec_CXX='$convenience'
15199 archive_cmds_need_lc_CXX=yes
15200 # This is similar to how AIX traditionally builds its shared
15202 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'
15208 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15209 allow_undefined_flag_CXX=unsupported
15210 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15211 # support --undefined. This deserves some investigation. FIXME
15212 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15219 case $cc_basename in
15221 # FIXME: insert proper C++ library support
15227 cygwin* | mingw* | pw32* | cegcc*)
15228 case $GXX,$cc_basename in
15231 # hardcode_libdir_flag_spec is actually meaningless, as there is
15232 # no search path for DLLs.
15233 hardcode_libdir_flag_spec_CXX=' '
15234 allow_undefined_flag_CXX=unsupported
15235 always_export_symbols_CXX=yes
15236 file_list_spec_CXX='@'
15237 # Tell ltmain to make .lib files, not .a files.
15239 # Tell ltmain to make .dll files, not .so files.
15241 # FIXME: Setting linknames here is a bad hack.
15242 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15243 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15244 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15246 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15248 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15250 # The linker will not automatically build a static lib if we build a DLL.
15251 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15252 enable_shared_with_static_runtimes_CXX=yes
15254 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15255 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15256 lt_tool_outputfile="@TOOL_OUTPUT@"~
15257 case $lt_outputfile in
15260 lt_outputfile="$lt_outputfile.exe"
15261 lt_tool_outputfile="$lt_tool_outputfile.exe"
15264 func_to_tool_file "$lt_outputfile"~
15265 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15266 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15267 $RM "$lt_outputfile.manifest";
15272 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15273 # as there is no search path for DLLs.
15274 hardcode_libdir_flag_spec_CXX='-L$libdir'
15275 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15276 allow_undefined_flag_CXX=unsupported
15277 always_export_symbols_CXX=no
15278 enable_shared_with_static_runtimes_CXX=yes
15280 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15281 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'
15282 # If the export-symbols file already is a .def file (1st line
15283 # is EXPORTS), use it as is; otherwise, prepend...
15284 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15285 cp $export_symbols $output_objdir/$soname.def;
15287 echo EXPORTS > $output_objdir/$soname.def;
15288 cat $export_symbols >> $output_objdir/$soname.def;
15290 $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'
15297 darwin* | rhapsody*)
15300 archive_cmds_need_lc_CXX=no
15301 hardcode_direct_CXX=no
15302 hardcode_automatic_CXX=yes
15303 hardcode_shlibpath_var_CXX=unsupported
15304 if test "$lt_cv_ld_force_load" = "yes"; then
15305 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\"`'
15307 whole_archive_flag_spec_CXX=''
15309 link_all_deplibs_CXX=yes
15310 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15311 case $cc_basename in
15312 ifort*) _lt_dar_can_shared=yes ;;
15313 *) _lt_dar_can_shared=$GCC ;;
15315 if test "$_lt_dar_can_shared" = "yes"; then
15316 output_verbose_link_cmd=func_echo_all
15317 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}"
15318 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15319 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}"
15320 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}"
15321 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15322 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}"
15323 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}"
15333 case $cc_basename in
15335 # FIXME: insert proper C++ library support
15339 # Green Hills C++ Compiler
15340 # FIXME: insert proper C++ library support
15344 # FIXME: insert proper C++ library support
15351 # C++ shared libraries reported to be fairly broken before
15357 archive_cmds_need_lc_CXX=no
15360 freebsd* | dragonfly*)
15361 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15370 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15371 link_all_deplibs_CXX=yes
15375 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15376 hardcode_libdir_separator_CXX=:
15377 export_dynamic_flag_spec_CXX='${wl}-E'
15378 hardcode_direct_CXX=yes
15379 hardcode_minus_L_CXX=yes # Not in the search PATH,
15380 # but as the default
15381 # location of the library.
15383 case $cc_basename in
15385 # FIXME: insert proper C++ library support
15389 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'
15390 # Commands to make compiler produce verbose output that lists
15391 # what "hidden" libraries, object files and flags are used when
15392 # linking a shared library.
15394 # There doesn't appear to be a way to prevent this compiler from
15395 # explicitly linking system object files so we need to strip them
15396 # from the output so that they don't get included in the library
15398 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"'
15401 if test "$GXX" = yes; then
15402 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'
15404 # FIXME: insert proper C++ library support
15412 if test $with_gnu_ld = no; then
15413 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15414 hardcode_libdir_separator_CXX=:
15420 export_dynamic_flag_spec_CXX='${wl}-E'
15426 hardcode_direct_CXX=no
15427 hardcode_shlibpath_var_CXX=no
15430 hardcode_direct_CXX=yes
15431 hardcode_direct_absolute_CXX=yes
15432 hardcode_minus_L_CXX=yes # Not in the search PATH,
15433 # but as the default
15434 # location of the library.
15438 case $cc_basename in
15440 # FIXME: insert proper C++ library support
15446 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15449 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15452 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15455 # Commands to make compiler produce verbose output that lists
15456 # what "hidden" libraries, object files and flags are used when
15457 # linking a shared library.
15459 # There doesn't appear to be a way to prevent this compiler from
15460 # explicitly linking system object files so we need to strip them
15461 # from the output so that they don't get included in the library
15463 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"'
15466 if test "$GXX" = yes; then
15467 if test $with_gnu_ld = no; then
15470 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15473 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15476 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'
15481 # FIXME: insert proper C++ library support
15489 hardcode_direct_CXX=no
15490 hardcode_shlibpath_var_CXX=no
15491 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15492 export_dynamic_flag_spec_CXX='${wl}-E'
15493 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15494 # Instead, shared libraries are loaded at an image base (0x10000000 by
15495 # default) and relocated if they conflict, which is a slow very memory
15496 # consuming and fragmenting process. To avoid this, we pick a random,
15497 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15498 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15499 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'
15500 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'
15503 case $cc_basename in
15506 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'
15508 # Archives containing C++ object files must be created using
15509 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15510 # necessary to make sure instantiated templates are included
15512 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15515 if test "$GXX" = yes; then
15516 if test "$with_gnu_ld" = no; then
15517 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'
15519 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'
15522 link_all_deplibs_CXX=yes
15525 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15526 hardcode_libdir_separator_CXX=:
15527 inherit_rpath_CXX=yes
15530 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15531 case $cc_basename in
15533 # Kuck and Associates, Inc. (KAI) C++ Compiler
15535 # KCC will only create a shared library if the output file
15536 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15537 # to its proper name (with version) after linking.
15538 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'
15539 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'
15540 # Commands to make compiler produce verbose output that lists
15541 # what "hidden" libraries, object files and flags are used when
15542 # linking a shared library.
15544 # There doesn't appear to be a way to prevent this compiler from
15545 # explicitly linking system object files so we need to strip them
15546 # from the output so that they don't get included in the library
15548 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"'
15550 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15551 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15553 # Archives containing C++ object files must be created using
15554 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15555 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15560 # version 8.0 and above of icpc choke on multiply defined symbols
15561 # if we add $predep_objects and $postdep_objects, however 7.1 and
15562 # earlier do not add the objects themselves.
15563 case `$CC -V 2>&1` in
15565 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15566 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'
15568 *) # Version 8.0 or newer
15571 ia64*) tmp_idyn=' -i_dynamic';;
15573 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15574 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'
15577 archive_cmds_need_lc_CXX=no
15578 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15579 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15580 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15583 # Portland Group C++ compiler
15585 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15586 prelink_cmds_CXX='tpldir=Template.dir~
15588 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15589 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15590 old_archive_cmds_CXX='tpldir=Template.dir~
15592 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15593 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15595 archive_cmds_CXX='tpldir=Template.dir~
15597 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15598 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15599 archive_expsym_cmds_CXX='tpldir=Template.dir~
15601 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15602 $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'
15604 *) # Version 6 and above use weak symbols
15605 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15606 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'
15610 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15611 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15612 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'
15616 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15617 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'
15619 runpath_var=LD_RUN_PATH
15620 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15621 hardcode_libdir_separator_CXX=:
15623 # Commands to make compiler produce verbose output that lists
15624 # what "hidden" libraries, object files and flags are used when
15625 # linking a shared library.
15627 # There doesn't appear to be a way to prevent this compiler from
15628 # explicitly linking system object files so we need to strip them
15629 # from the output so that they don't get included in the library
15631 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'
15633 xl* | mpixl* | bgxl*)
15634 # IBM XL 8.0 on PPC, with GNU ld
15635 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15636 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15637 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15638 if test "x$supports_anon_versioning" = xyes; then
15639 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15640 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15641 echo "local: *; };" >> $output_objdir/$libname.ver~
15642 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15646 case `$CC -V 2>&1 | sed 5q` in
15649 no_undefined_flag_CXX=' -zdefs'
15650 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15651 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'
15652 hardcode_libdir_flag_spec_CXX='-R$libdir'
15653 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'
15654 compiler_needs_object_CXX=yes
15656 # Not sure whether something based on
15657 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15659 output_verbose_link_cmd='func_echo_all'
15661 # Archives containing C++ object files must be created using
15662 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15663 # necessary to make sure instantiated templates are included
15665 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15673 # FIXME: insert proper C++ library support
15678 # FIXME: insert proper C++ library support
15683 case $cc_basename in
15685 # FIXME: insert proper C++ library support
15689 # FIXME: insert proper C++ library support
15696 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15697 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15699 hardcode_libdir_flag_spec_CXX='-R$libdir'
15700 hardcode_direct_CXX=yes
15701 hardcode_shlibpath_var_CXX=no
15703 # Workaround some broken pre-1.5 toolchains
15704 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15712 # C++ shared libraries are fairly broken
15717 if test -f /usr/libexec/ld.so; then
15718 hardcode_direct_CXX=yes
15719 hardcode_shlibpath_var_CXX=no
15720 hardcode_direct_absolute_CXX=yes
15721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15722 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15723 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15724 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15725 export_dynamic_flag_spec_CXX='${wl}-E'
15726 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15728 output_verbose_link_cmd=func_echo_all
15734 osf3* | osf4* | osf5*)
15735 case $cc_basename in
15737 # Kuck and Associates, Inc. (KAI) C++ Compiler
15739 # KCC will only create a shared library if the output file
15740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15741 # to its proper name (with version) after linking.
15742 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'
15744 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15745 hardcode_libdir_separator_CXX=:
15747 # Archives containing C++ object files must be created using
15748 # the KAI C++ compiler.
15750 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15751 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15755 # Rational C++ 2.4.1
15756 # FIXME: insert proper C++ library support
15762 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15763 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'
15764 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15767 allow_undefined_flag_CXX=' -expect_unresolved \*'
15768 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'
15769 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15770 echo "-hidden">> $lib.exp~
15771 $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~
15773 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15777 hardcode_libdir_separator_CXX=:
15779 # Commands to make compiler produce verbose output that lists
15780 # what "hidden" libraries, object files and flags are used when
15781 # linking a shared library.
15783 # There doesn't appear to be a way to prevent this compiler from
15784 # explicitly linking system object files so we need to strip them
15785 # from the output so that they don't get included in the library
15787 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"'
15790 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15791 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15794 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'
15797 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'
15801 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15802 hardcode_libdir_separator_CXX=:
15804 # Commands to make compiler produce verbose output that lists
15805 # what "hidden" libraries, object files and flags are used when
15806 # linking a shared library.
15807 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15810 # FIXME: insert proper C++ library support
15818 # FIXME: insert proper C++ library support
15823 case $cc_basename in
15826 # FIXME: insert proper C++ library support
15831 # FIXME: insert proper C++ library support
15835 # FIXME: insert proper C++ library support
15842 case $cc_basename in
15844 # Sun C++ 4.2, 5.x and Centerline C++
15845 archive_cmds_need_lc_CXX=yes
15846 no_undefined_flag_CXX=' -zdefs'
15847 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15848 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15849 $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'
15851 hardcode_libdir_flag_spec_CXX='-R$libdir'
15852 hardcode_shlibpath_var_CXX=no
15854 solaris2.[0-5] | solaris2.[0-5].*) ;;
15856 # The compiler driver will combine and reorder linker options,
15857 # but understands `-z linker_flag'.
15858 # Supported since Solaris 2.6 (maybe 2.5.1?)
15859 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15862 link_all_deplibs_CXX=yes
15864 output_verbose_link_cmd='func_echo_all'
15866 # Archives containing C++ object files must be created using
15867 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15868 # necessary to make sure instantiated templates are included
15870 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15873 # Green Hills C++ Compiler
15874 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15876 # The C++ compiler must be used to create the archive.
15877 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15880 # GNU C++ compiler with Solaris linker
15881 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15882 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15883 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15884 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15885 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15886 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15888 # Commands to make compiler produce verbose output that lists
15889 # what "hidden" libraries, object files and flags are used when
15890 # linking a shared library.
15891 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15893 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15895 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15896 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15897 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15899 # Commands to make compiler produce verbose output that lists
15900 # what "hidden" libraries, object files and flags are used when
15901 # linking a shared library.
15902 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15905 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15907 solaris2.[0-5] | solaris2.[0-5].*) ;;
15909 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15917 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15918 no_undefined_flag_CXX='${wl}-z,text'
15919 archive_cmds_need_lc_CXX=no
15920 hardcode_shlibpath_var_CXX=no
15921 runpath_var='LD_RUN_PATH'
15923 case $cc_basename in
15925 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15926 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15929 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15930 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15935 sysv5* | sco3.2v5* | sco5v6*)
15936 # Note: We can NOT use -z defs as we might desire, because we do not
15937 # link with -lc, and that would cause any symbols used from libc to
15938 # always be unresolved, which means just about no library would
15939 # ever link correctly. If we're not using GNU ld we use -z text
15940 # though, which does catch some bad symbols but isn't as heavy-handed
15942 no_undefined_flag_CXX='${wl}-z,text'
15943 allow_undefined_flag_CXX='${wl}-z,nodefs'
15944 archive_cmds_need_lc_CXX=no
15945 hardcode_shlibpath_var_CXX=no
15946 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15947 hardcode_libdir_separator_CXX=':'
15948 link_all_deplibs_CXX=yes
15949 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15950 runpath_var='LD_RUN_PATH'
15952 case $cc_basename in
15954 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15955 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15956 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15957 '"$old_archive_cmds_CXX"
15958 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15959 '"$reload_cmds_CXX"
15962 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15963 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15969 case $cc_basename in
15971 # NonStop-UX NCC 3.20
15972 # FIXME: insert proper C++ library support
15976 # FIXME: insert proper C++ library support
15983 # FIXME: insert proper C++ library support
15988 # FIXME: insert proper C++ library support
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15994 $as_echo "$ld_shlibs_CXX" >&6; }
15995 test "$ld_shlibs_CXX" = no && can_build_shared=no
16001 ## There is no encapsulation within the following macros, do not change
16002 ## the running order or otherwise move them around unless you know exactly
16003 ## what you are doing...
16004 # Dependencies to place before and after the object being linked:
16005 predep_objects_CXX=
16006 postdep_objects_CXX=
16009 compiler_lib_search_path_CXX=
16011 cat > conftest.$ac_ext <<_LT_EOF
16015 Foo (void) { a = 0; }
16022 _lt_libdeps_save_CFLAGS=$CFLAGS
16023 case "$CC $CFLAGS " in #(
16024 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16025 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16029 (eval $ac_compile) 2>&5
16031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16032 test $ac_status = 0; }; then
16033 # Parse the compiler output and extract the necessary
16034 # objects, libraries and library flags.
16036 # Sentinel used to keep track of whether or not we are before
16037 # the conftest object file.
16038 pre_test_object_deps_done=no
16040 for p in `eval "$output_verbose_link_cmd"`; do
16041 case ${prev}${p} in
16044 # Some compilers place space between "-{L,R}" and the path.
16045 # Remove the space.
16046 if test $p = "-L" ||
16047 test $p = "-R"; then
16052 # Expand the sysroot to ease extracting the directories later.
16053 if test -z "$prev"; then
16055 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16056 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16057 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16061 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16063 if test "$pre_test_object_deps_done" = no; then
16066 # Internal compiler library paths should come after those
16067 # provided the user. The postdeps already come after the
16068 # user supplied libs so there is no need to process them.
16069 if test -z "$compiler_lib_search_path_CXX"; then
16070 compiler_lib_search_path_CXX="${prev}${p}"
16072 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16075 # The "-l" case would never come before the object being
16076 # linked, so don't bother handling this case.
16079 if test -z "$postdeps_CXX"; then
16080 postdeps_CXX="${prev}${p}"
16082 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16088 *.lto.$objext) ;; # Ignore GCC LTO objects
16090 # This assumes that the test object file only shows up
16091 # once in the compiler output.
16092 if test "$p" = "conftest.$objext"; then
16093 pre_test_object_deps_done=yes
16097 if test "$pre_test_object_deps_done" = no; then
16098 if test -z "$predep_objects_CXX"; then
16099 predep_objects_CXX="$p"
16101 predep_objects_CXX="$predep_objects_CXX $p"
16104 if test -z "$postdep_objects_CXX"; then
16105 postdep_objects_CXX="$p"
16107 postdep_objects_CXX="$postdep_objects_CXX $p"
16112 *) ;; # Ignore the rest.
16120 echo "libtool.m4: error: problem compiling CXX test program"
16123 $RM -f confest.$objext
16124 CFLAGS=$_lt_libdeps_save_CFLAGS
16126 # PORTME: override above test on systems where it is broken
16129 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16130 # hack all around it, let's just trust "g++" to DTRT.
16131 predep_objects_CXX=
16132 postdep_objects_CXX=
16137 case `$CC -V 2>&1 | sed 5q` in
16141 # The more standards-conforming stlport4 library is
16142 # incompatible with the Cstd library. Avoid specifying
16143 # it if it's in CXXFLAGS. Ignore libCrun as
16144 # -library=stlport4 depends on it.
16145 case " $CXX $CXXFLAGS " in
16146 *" -library=stlport4 "*)
16147 solaris_use_stlport4=yes
16151 if test "$solaris_use_stlport4" != yes; then
16152 postdeps_CXX='-library=Cstd -library=Crun'
16159 case $cc_basename in
16161 # The more standards-conforming stlport4 library is
16162 # incompatible with the Cstd library. Avoid specifying
16163 # it if it's in CXXFLAGS. Ignore libCrun as
16164 # -library=stlport4 depends on it.
16165 case " $CXX $CXXFLAGS " in
16166 *" -library=stlport4 "*)
16167 solaris_use_stlport4=yes
16171 # Adding this requires a known-good setup of shared libraries for
16172 # Sun compiler versions before 5.6, else PIC objects from an old
16173 # archive will be linked into the output, leading to subtle bugs.
16174 if test "$solaris_use_stlport4" != yes; then
16175 postdeps_CXX='-library=Cstd -library=Crun'
16183 case " $postdeps_CXX " in
16184 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16186 compiler_lib_search_dirs_CXX=
16187 if test -n "${compiler_lib_search_path_CXX}"; then
16188 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16221 lt_prog_compiler_wl_CXX=
16222 lt_prog_compiler_pic_CXX=
16223 lt_prog_compiler_static_CXX=
16226 # C++ specific cases for pic, static, wl, etc.
16227 if test "$GXX" = yes; then
16228 lt_prog_compiler_wl_CXX='-Wl,'
16229 lt_prog_compiler_static_CXX='-static'
16233 # All AIX code is PIC.
16234 if test "$host_cpu" = ia64; then
16235 # AIX 5 now supports IA64 processor
16236 lt_prog_compiler_static_CXX='-Bstatic'
16243 # see comment about AmigaOS4 .so support
16244 lt_prog_compiler_pic_CXX='-fPIC'
16247 # FIXME: we need at least 68020 code to build shared libraries, but
16248 # adding the `-m68020' flag to GCC prevents building anything better,
16250 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16255 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16256 # PIC is the default for these OSes.
16258 mingw* | cygwin* | os2* | pw32* | cegcc*)
16259 # This hack is so that the source file can tell whether it is being
16260 # built for inclusion in a dll (and should export symbols for example).
16261 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16262 # (--disable-auto-import) libraries
16263 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16265 darwin* | rhapsody*)
16266 # PIC is the default on this platform
16267 # Common symbols not allowed in MH_DYLIB files
16268 lt_prog_compiler_pic_CXX='-fno-common'
16271 # DJGPP does not support shared libraries at all
16272 lt_prog_compiler_pic_CXX=
16275 # PIC is the default for Haiku.
16276 # The "-static" flag exists, but is broken.
16277 lt_prog_compiler_static_CXX=
16280 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16281 # Instead, we relocate shared libraries at runtime.
16284 if test -d /usr/nec; then
16285 lt_prog_compiler_pic_CXX=-Kconform_pic
16289 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16290 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16291 # sets the default TLS model and affects inlining.
16296 lt_prog_compiler_pic_CXX='-fPIC'
16301 # QNX uses GNU C++, but need to define -shared option too, otherwise
16302 # it will coredump.
16303 lt_prog_compiler_pic_CXX='-fPIC -shared'
16306 lt_prog_compiler_pic_CXX='-fPIC'
16312 # All AIX code is PIC.
16313 if test "$host_cpu" = ia64; then
16314 # AIX 5 now supports IA64 processor
16315 lt_prog_compiler_static_CXX='-Bstatic'
16317 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16321 case $cc_basename in
16323 # Green Hills C++ Compiler
16324 # _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"
16328 mingw* | cygwin* | os2* | pw32* | cegcc*)
16329 # This hack is so that the source file can tell whether it is being
16330 # built for inclusion in a dll (and should export symbols for example).
16331 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16334 case $cc_basename in
16336 lt_prog_compiler_pic_CXX='-KPIC'
16339 # Green Hills C++ Compiler
16340 lt_prog_compiler_pic_CXX='-pic'
16346 freebsd* | dragonfly*)
16347 # FreeBSD uses GNU C++
16349 hpux9* | hpux10* | hpux11*)
16350 case $cc_basename in
16352 lt_prog_compiler_wl_CXX='-Wl,'
16353 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16354 if test "$host_cpu" != ia64; then
16355 lt_prog_compiler_pic_CXX='+Z'
16359 lt_prog_compiler_wl_CXX='-Wl,'
16360 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16366 lt_prog_compiler_pic_CXX='+Z'
16375 # This is c89, which is MS Visual C++ (no shared libs)
16376 # Anyone wants to do a port?
16378 irix5* | irix6* | nonstopux*)
16379 case $cc_basename in
16381 lt_prog_compiler_wl_CXX='-Wl,'
16382 lt_prog_compiler_static_CXX='-non_shared'
16383 # CC pic flag -KPIC is the default.
16389 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16390 case $cc_basename in
16393 lt_prog_compiler_wl_CXX='--backend -Wl,'
16394 lt_prog_compiler_pic_CXX='-fPIC'
16397 # old Intel C++ for x86_64 which still supported -KPIC.
16398 lt_prog_compiler_wl_CXX='-Wl,'
16399 lt_prog_compiler_pic_CXX='-KPIC'
16400 lt_prog_compiler_static_CXX='-static'
16403 # Intel C++, used to be incompatible with GCC.
16404 # ICC 10 doesn't accept -KPIC any more.
16405 lt_prog_compiler_wl_CXX='-Wl,'
16406 lt_prog_compiler_pic_CXX='-fPIC'
16407 lt_prog_compiler_static_CXX='-static'
16410 # Portland Group C++ compiler
16411 lt_prog_compiler_wl_CXX='-Wl,'
16412 lt_prog_compiler_pic_CXX='-fpic'
16413 lt_prog_compiler_static_CXX='-Bstatic'
16417 # Make sure the PIC flag is empty. It appears that all Alpha
16418 # Linux and Compaq Tru64 Unix objects are PIC.
16419 lt_prog_compiler_pic_CXX=
16420 lt_prog_compiler_static_CXX='-non_shared'
16422 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16423 # IBM XL 8.0, 9.0 on PPC and BlueGene
16424 lt_prog_compiler_wl_CXX='-Wl,'
16425 lt_prog_compiler_pic_CXX='-qpic'
16426 lt_prog_compiler_static_CXX='-qstaticlink'
16429 case `$CC -V 2>&1 | sed 5q` in
16432 lt_prog_compiler_pic_CXX='-KPIC'
16433 lt_prog_compiler_static_CXX='-Bstatic'
16434 lt_prog_compiler_wl_CXX='-Qoption ld '
16445 case $cc_basename in
16447 lt_prog_compiler_pic_CXX='-W c,exportall'
16456 # QNX uses GNU C++, but need to define -shared option too, otherwise
16457 # it will coredump.
16458 lt_prog_compiler_pic_CXX='-fPIC -shared'
16460 osf3* | osf4* | osf5*)
16461 case $cc_basename in
16463 lt_prog_compiler_wl_CXX='--backend -Wl,'
16466 # Rational C++ 2.4.1
16467 lt_prog_compiler_pic_CXX='-pic'
16470 # Digital/Compaq C++
16471 lt_prog_compiler_wl_CXX='-Wl,'
16472 # Make sure the PIC flag is empty. It appears that all Alpha
16473 # Linux and Compaq Tru64 Unix objects are PIC.
16474 lt_prog_compiler_pic_CXX=
16475 lt_prog_compiler_static_CXX='-non_shared'
16484 case $cc_basename in
16486 # Sun C++ 4.2, 5.x and Centerline C++
16487 lt_prog_compiler_pic_CXX='-KPIC'
16488 lt_prog_compiler_static_CXX='-Bstatic'
16489 lt_prog_compiler_wl_CXX='-Qoption ld '
16492 # Green Hills C++ Compiler
16493 lt_prog_compiler_pic_CXX='-PIC'
16500 case $cc_basename in
16503 lt_prog_compiler_pic_CXX='-pic'
16504 lt_prog_compiler_static_CXX='-Bstatic'
16508 lt_prog_compiler_pic_CXX='-pic'
16514 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16515 case $cc_basename in
16517 lt_prog_compiler_wl_CXX='-Wl,'
16518 lt_prog_compiler_pic_CXX='-KPIC'
16519 lt_prog_compiler_static_CXX='-Bstatic'
16524 case $cc_basename in
16526 # NonStop-UX NCC 3.20
16527 lt_prog_compiler_pic_CXX='-KPIC'
16536 lt_prog_compiler_can_build_shared_CXX=no
16542 # For platforms which do not support PIC, -DPIC is meaningless:
16544 lt_prog_compiler_pic_CXX=
16547 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16552 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16553 if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then :
16554 $as_echo_n "(cached) " >&6
16556 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16559 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16560 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16563 # Check to make sure the PIC flag actually works.
16565 if test -n "$lt_prog_compiler_pic_CXX"; then
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16567 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16568 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16569 $as_echo_n "(cached) " >&6
16571 lt_cv_prog_compiler_pic_works_CXX=no
16572 ac_outfile=conftest.$ac_objext
16573 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16574 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16575 # Insert the option either (1) after the last *FLAGS variable, or
16576 # (2) before a word containing "conftest.", or (3) at the end.
16577 # Note that $ac_compile itself does not contain backslashes and begins
16578 # with a dollar sign (not a hyphen), so the echo should work correctly.
16579 # The option is referenced via a variable to avoid confusing sed.
16580 lt_compile=`echo "$ac_compile" | $SED \
16581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16583 -e 's:$: $lt_compiler_flag:'`
16584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16585 (eval "$lt_compile" 2>conftest.err)
16587 cat conftest.err >&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 if (exit $ac_status) && test -s "$ac_outfile"; then
16590 # The compiler can only warn and ignore the option if not recognized
16591 # So say no if there are warnings other than the usual output.
16592 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16593 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16594 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16595 lt_cv_prog_compiler_pic_works_CXX=yes
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16602 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16604 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16605 case $lt_prog_compiler_pic_CXX in
16607 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16610 lt_prog_compiler_pic_CXX=
16611 lt_prog_compiler_can_build_shared_CXX=no
16621 # Check to make sure the static flag actually works.
16623 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16625 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16626 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16627 $as_echo_n "(cached) " >&6
16629 lt_cv_prog_compiler_static_works_CXX=no
16630 save_LDFLAGS="$LDFLAGS"
16631 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16632 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16633 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16634 # The linker can only warn and ignore the option if not recognized
16635 # So say no if there are warnings
16636 if test -s conftest.err; then
16637 # Append any errors to the config.log.
16638 cat conftest.err 1>&5
16639 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16640 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16641 if diff conftest.exp conftest.er2 >/dev/null; then
16642 lt_cv_prog_compiler_static_works_CXX=yes
16645 lt_cv_prog_compiler_static_works_CXX=yes
16649 LDFLAGS="$save_LDFLAGS"
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16653 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16655 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16658 lt_prog_compiler_static_CXX=
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16666 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16667 $as_echo_n "(cached) " >&6
16669 lt_cv_prog_compiler_c_o_CXX=no
16670 $RM -r conftest 2>/dev/null
16674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16676 lt_compiler_flag="-o out/conftest2.$ac_objext"
16677 # Insert the option either (1) after the last *FLAGS variable, or
16678 # (2) before a word containing "conftest.", or (3) at the end.
16679 # Note that $ac_compile itself does not contain backslashes and begins
16680 # with a dollar sign (not a hyphen), so the echo should work correctly.
16681 lt_compile=`echo "$ac_compile" | $SED \
16682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16684 -e 's:$: $lt_compiler_flag:'`
16685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16686 (eval "$lt_compile" 2>out/conftest.err)
16688 cat out/conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16692 # The compiler can only warn and ignore the option if not recognized
16693 # So say no if there are warnings
16694 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16697 lt_cv_prog_compiler_c_o_CXX=yes
16702 # SGI C++ compiler will create directory out/ii_files/ for
16703 # template instantiation
16704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16705 $RM out/* && rmdir out
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16712 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16717 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16718 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16719 $as_echo_n "(cached) " >&6
16721 lt_cv_prog_compiler_c_o_CXX=no
16722 $RM -r conftest 2>/dev/null
16726 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16728 lt_compiler_flag="-o out/conftest2.$ac_objext"
16729 # Insert the option either (1) after the last *FLAGS variable, or
16730 # (2) before a word containing "conftest.", or (3) at the end.
16731 # Note that $ac_compile itself does not contain backslashes and begins
16732 # with a dollar sign (not a hyphen), so the echo should work correctly.
16733 lt_compile=`echo "$ac_compile" | $SED \
16734 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16735 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16736 -e 's:$: $lt_compiler_flag:'`
16737 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16738 (eval "$lt_compile" 2>out/conftest.err)
16740 cat out/conftest.err >&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16744 # The compiler can only warn and ignore the option if not recognized
16745 # So say no if there are warnings
16746 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16747 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16748 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16749 lt_cv_prog_compiler_c_o_CXX=yes
16754 # SGI C++ compiler will create directory out/ii_files/ for
16755 # template instantiation
16756 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16757 $RM out/* && rmdir out
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16764 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16769 hard_links="nottested"
16770 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16771 # do not overwrite the value of need_locks provided by the user
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16773 $as_echo_n "checking if we can lock with hard links... " >&6; }
16776 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16778 ln conftest.a conftest.b 2>&5 || hard_links=no
16779 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16781 $as_echo "$hard_links" >&6; }
16782 if test "$hard_links" = no; then
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16784 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16794 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16796 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16797 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16800 # If we're using GNU nm, then we don't want the "-C" option.
16801 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16802 # Also, AIX nm treats weak defined symbols like other global defined
16803 # symbols, whereas GNU nm marks them as "W".
16804 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16805 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'
16807 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'
16811 export_symbols_cmds_CXX="$ltdll_cmds"
16813 cygwin* | mingw* | cegcc*)
16814 case $cc_basename in
16817 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'
16818 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16823 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16828 $as_echo "$ld_shlibs_CXX" >&6; }
16829 test "$ld_shlibs_CXX" = no && can_build_shared=no
16831 with_gnu_ld_CXX=$with_gnu_ld
16839 # Do we need to explicitly link libc?
16841 case "x$archive_cmds_need_lc_CXX" in
16843 # Assume -lc should be added
16844 archive_cmds_need_lc_CXX=yes
16846 if test "$enable_shared" = yes && test "$GCC" = yes; then
16847 case $archive_cmds_CXX in
16849 # FIXME: we may have to deal with multi-command sequences.
16852 # Test whether the compiler implicitly links with -lc since on some
16853 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16854 # to ld, don't add -lc before -lgcc.
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16856 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16857 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
16858 $as_echo_n "(cached) " >&6
16861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16864 (eval $ac_compile) 2>&5
16866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16867 test $ac_status = 0; } 2>conftest.err; then
16870 libobjs=conftest.$ac_objext
16872 wl=$lt_prog_compiler_wl_CXX
16873 pic_flag=$lt_prog_compiler_pic_CXX
16879 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16880 allow_undefined_flag_CXX=
16881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16882 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16885 test $ac_status = 0; }
16887 lt_cv_archive_cmds_need_lc_CXX=no
16889 lt_cv_archive_cmds_need_lc_CXX=yes
16891 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16893 cat conftest.err 1>&5
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16899 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16900 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16971 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16973 library_names_spec=
16974 libname_spec='lib$name'
16978 postuninstall_cmds=
16982 shlibpath_overrides_runpath=unknown
16984 dynamic_linker="$host_os ld.so"
16985 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16986 need_lib_prefix=unknown
16987 hardcode_into_libs=no
16989 # when you set need_version to no, make sure it does not cause -set_version
16990 # flags to be left without arguments
16991 need_version=unknown
16996 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16997 shlibpath_var=LIBPATH
16999 # AIX 3 has no versioning support, so we append a major version to the name.
17000 soname_spec='${libname}${release}${shared_ext}$major'
17007 hardcode_into_libs=yes
17008 if test "$host_cpu" = ia64; then
17009 # AIX 5 supports IA64
17010 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17011 shlibpath_var=LD_LIBRARY_PATH
17013 # With GCC up to 2.95.x, collect2 would create an import file
17014 # for dependence libraries. The import file would start with
17015 # the line `#! .'. This would cause the generated library to
17016 # depend on `.', always an invalid library. This was fixed in
17017 # development snapshots of GCC prior to 3.0.
17019 aix4 | aix4.[01] | aix4.[01].*)
17020 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17022 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17025 can_build_shared=no
17029 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17030 # soname into executable. Probably we can add versioning support to
17031 # collect2, so additional links can be useful in future.
17032 if test "$aix_use_runtimelinking" = yes; then
17033 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17034 # instead of lib<name>.a to let people know that these are not
17035 # typical AIX shared libraries.
17036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17038 # We preserve .a as extension for shared libraries through AIX4.2
17039 # and later when we are not doing run time linking.
17040 library_names_spec='${libname}${release}.a $libname.a'
17041 soname_spec='${libname}${release}${shared_ext}$major'
17043 shlibpath_var=LIBPATH
17050 # Since July 2007 AmigaOS4 officially supports .so libraries.
17051 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055 library_names_spec='$libname.ixlibrary $libname.a'
17056 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17057 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'
17063 library_names_spec='${libname}${shared_ext}'
17064 dynamic_linker="$host_os ld.so"
17065 shlibpath_var=LIBRARY_PATH
17071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17072 soname_spec='${libname}${release}${shared_ext}$major'
17073 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17074 shlibpath_var=LD_LIBRARY_PATH
17075 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17076 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17077 # the default ld.so.conf also contains /usr/contrib/lib and
17078 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17079 # libtool to hard-code these into programs
17082 cygwin* | mingw* | pw32* | cegcc*)
17083 version_type=windows
17088 case $GCC,$cc_basename in
17091 library_names_spec='$libname.dll.a'
17092 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17093 postinstall_cmds='base_file=`basename \${file}`~
17094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17095 dldir=$destdir/`dirname \$dlpath`~
17096 test -d \$dldir || mkdir -p \$dldir~
17097 $install_prog $dir/$dlname \$dldir/$dlname~
17098 chmod a+x \$dldir/$dlname~
17099 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17100 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17102 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17103 dlpath=$dir/\$dldll~
17105 shlibpath_overrides_runpath=yes
17109 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17110 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17114 # MinGW DLLs use traditional 'lib' prefix
17115 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17118 # pw32 DLLs use 'pw' prefix rather than 'lib'
17119 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17122 dynamic_linker='Win32 ld.exe'
17127 libname_spec='$name'
17128 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17129 library_names_spec='${libname}.dll.lib'
17133 sys_lib_search_path_spec=
17136 for lt_path in $LIB
17139 # Let DOS variable expansion print the short 8.3 style file name.
17140 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17141 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17144 # Convert to MSYS style.
17145 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17148 # Convert to unix form, then to dos form, then back to unix form
17149 # but this time dos style (no spaces!) so that the unix form looks
17150 # like /cygdrive/c/PROGRA~1:/cygdr...
17151 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17152 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17153 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17156 sys_lib_search_path_spec="$LIB"
17157 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17158 # It is most probably a Windows format PATH.
17159 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17161 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17163 # FIXME: find the short name or the path components, as spaces are
17164 # common. (e.g. "Program Files" -> "PROGRA~1")
17168 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17169 postinstall_cmds='base_file=`basename \${file}`~
17170 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17171 dldir=$destdir/`dirname \$dlpath`~
17172 test -d \$dldir || mkdir -p \$dldir~
17173 $install_prog $dir/$dlname \$dldir/$dlname'
17174 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17175 dlpath=$dir/\$dldll~
17177 shlibpath_overrides_runpath=yes
17178 dynamic_linker='Win32 link.exe'
17182 # Assume MSVC wrapper
17183 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17184 dynamic_linker='Win32 ld.exe'
17187 # FIXME: first we should search . and the directory the executable is in
17191 darwin* | rhapsody*)
17192 dynamic_linker="$host_os dyld"
17193 version_type=darwin
17196 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17197 soname_spec='${libname}${release}${major}$shared_ext'
17198 shlibpath_overrides_runpath=yes
17199 shlibpath_var=DYLD_LIBRARY_PATH
17200 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17202 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17210 soname_spec='${libname}${release}${shared_ext}$major'
17211 shlibpath_var=LD_LIBRARY_PATH
17218 freebsd* | dragonfly*)
17219 # DragonFly does not have aout. When/if they implement a new
17220 # versioning mechanism, adjust this.
17221 if test -x /usr/bin/objformat; then
17222 objformat=`/usr/bin/objformat`
17225 freebsd[123]*) objformat=aout ;;
17226 *) objformat=elf ;;
17229 version_type=freebsd-$objformat
17230 case $version_type in
17232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17237 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17241 shlibpath_var=LD_LIBRARY_PATH
17244 shlibpath_overrides_runpath=yes
17246 freebsd3.[01]* | freebsdelf3.[01]*)
17247 shlibpath_overrides_runpath=yes
17248 hardcode_into_libs=yes
17250 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17251 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17252 shlibpath_overrides_runpath=no
17253 hardcode_into_libs=yes
17255 *) # from 4.6 on, and DragonFly
17256 shlibpath_overrides_runpath=yes
17257 hardcode_into_libs=yes
17266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17267 soname_spec='${libname}${release}${shared_ext}$major'
17268 shlibpath_var=LD_LIBRARY_PATH
17269 hardcode_into_libs=yes
17276 dynamic_linker="$host_os runtime_loader"
17277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17278 soname_spec='${libname}${release}${shared_ext}$major'
17279 shlibpath_var=LIBRARY_PATH
17280 shlibpath_overrides_runpath=yes
17281 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17282 hardcode_into_libs=yes
17285 hpux9* | hpux10* | hpux11*)
17286 # Give a soname corresponding to the major version so that dld.sl refuses to
17287 # link against other versions.
17294 hardcode_into_libs=yes
17295 dynamic_linker="$host_os dld.so"
17296 shlibpath_var=LD_LIBRARY_PATH
17297 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17299 soname_spec='${libname}${release}${shared_ext}$major'
17300 if test "X$HPUX_IA64_MODE" = X32; then
17301 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17303 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17305 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17309 hardcode_into_libs=yes
17310 dynamic_linker="$host_os dld.sl"
17311 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17316 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17320 dynamic_linker="$host_os dld.sl"
17321 shlibpath_var=SHLIB_PATH
17322 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17324 soname_spec='${libname}${release}${shared_ext}$major'
17327 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17328 postinstall_cmds='chmod 555 $lib'
17329 # or fails outright, so override atomically:
17330 install_override_mode=555
17337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17338 soname_spec='${libname}${release}${shared_ext}$major'
17339 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17340 shlibpath_var=LD_LIBRARY_PATH
17341 shlibpath_overrides_runpath=no
17342 hardcode_into_libs=yes
17345 irix5* | irix6* | nonstopux*)
17347 nonstopux*) version_type=nonstopux ;;
17349 if test "$lt_cv_prog_gnu_ld" = yes; then
17357 soname_spec='${libname}${release}${shared_ext}$major'
17358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17360 irix5* | nonstopux*)
17361 libsuff= shlibsuff=
17364 case $LD in # libtool.m4 will add one of these switches to LD
17365 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17366 libsuff= shlibsuff= libmagic=32-bit;;
17367 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17368 libsuff=32 shlibsuff=N32 libmagic=N32;;
17369 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17370 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17371 *) libsuff= shlibsuff= libmagic=never-match;;
17375 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17376 shlibpath_overrides_runpath=no
17377 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17378 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17379 hardcode_into_libs=yes
17382 # No shared lib support for Linux oldld, aout, or coff.
17383 linux*oldld* | linux*aout* | linux*coff*)
17387 # This must be Linux ELF.
17388 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17393 soname_spec='${libname}${release}${shared_ext}$major'
17394 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17395 shlibpath_var=LD_LIBRARY_PATH
17396 shlibpath_overrides_runpath=no
17398 # Some binutils ld are patched to set DT_RUNPATH
17399 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
17400 $as_echo_n "(cached) " >&6
17402 lt_cv_shlibpath_overrides_runpath=no
17403 save_LDFLAGS=$LDFLAGS
17404 save_libdir=$libdir
17405 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17406 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17418 if ac_fn_cxx_try_link "$LINENO"; then :
17419 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17420 lt_cv_shlibpath_overrides_runpath=yes
17423 rm -f core conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17425 LDFLAGS=$save_LDFLAGS
17426 libdir=$save_libdir
17430 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17432 # This implies no fast_install, which is unacceptable.
17433 # Some rework will be needed to allow for fast_install
17434 # before this can be enabled.
17435 hardcode_into_libs=yes
17437 # Append ld.so.conf contents to the search path
17438 if test -f /etc/ld.so.conf; then
17439 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' ' '`
17440 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17443 # We used to test for /lib/ld.so.1 and disable shared libraries on
17444 # powerpc, because MkLinux only supported shared libraries with the
17445 # GNU dynamic linker. Since this was broken with cross compilers,
17446 # most powerpc-linux boxes support dynamic linking these days and
17447 # people can always --disable-shared, the test was removed, and we
17448 # assume the GNU/Linux dynamic linker is in use.
17449 dynamic_linker='GNU/Linux ld.so'
17456 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17458 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17459 dynamic_linker='NetBSD (a.out) ld.so'
17461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17462 soname_spec='${libname}${release}${shared_ext}$major'
17463 dynamic_linker='NetBSD ld.elf_so'
17465 shlibpath_var=LD_LIBRARY_PATH
17466 shlibpath_overrides_runpath=yes
17467 hardcode_into_libs=yes
17472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17473 shlibpath_var=LD_LIBRARY_PATH
17474 shlibpath_overrides_runpath=yes
17481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17482 soname_spec='${libname}${release}${shared_ext}$major'
17483 shlibpath_var=LD_LIBRARY_PATH
17484 shlibpath_overrides_runpath=no
17485 hardcode_into_libs=yes
17486 dynamic_linker='ldqnx.so'
17491 sys_lib_dlsearch_path_spec="/usr/lib"
17493 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17495 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17496 *) need_version=no ;;
17498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17500 shlibpath_var=LD_LIBRARY_PATH
17501 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17503 openbsd2.[89] | openbsd2.[89].*)
17504 shlibpath_overrides_runpath=no
17507 shlibpath_overrides_runpath=yes
17511 shlibpath_overrides_runpath=yes
17516 libname_spec='$name'
17519 library_names_spec='$libname${shared_ext} $libname.a'
17520 dynamic_linker='OS/2 ld.exe'
17521 shlibpath_var=LIBPATH
17524 osf3* | osf4* | osf5*)
17528 soname_spec='${libname}${release}${shared_ext}$major'
17529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17530 shlibpath_var=LD_LIBRARY_PATH
17531 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17532 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17544 soname_spec='${libname}${release}${shared_ext}$major'
17545 shlibpath_var=LD_LIBRARY_PATH
17546 shlibpath_overrides_runpath=yes
17547 hardcode_into_libs=yes
17548 # ldd complains unless libraries are executable
17549 postinstall_cmds='chmod +x $lib'
17554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17555 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17556 shlibpath_var=LD_LIBRARY_PATH
17557 shlibpath_overrides_runpath=yes
17558 if test "$with_gnu_ld" = yes; then
17566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17567 soname_spec='${libname}${release}${shared_ext}$major'
17568 shlibpath_var=LD_LIBRARY_PATH
17569 case $host_vendor in
17571 shlibpath_overrides_runpath=no
17573 runpath_var=LD_RUN_PATH
17581 shlibpath_overrides_runpath=no
17582 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17588 if test -d /usr/nec ;then
17590 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17591 soname_spec='$libname${shared_ext}.$major'
17592 shlibpath_var=LD_LIBRARY_PATH
17596 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17597 version_type=freebsd-elf
17600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17601 soname_spec='${libname}${release}${shared_ext}$major'
17602 shlibpath_var=LD_LIBRARY_PATH
17603 shlibpath_overrides_runpath=yes
17604 hardcode_into_libs=yes
17605 if test "$with_gnu_ld" = yes; then
17606 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17608 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17611 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17615 sys_lib_dlsearch_path_spec='/usr/lib'
17619 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17624 shlibpath_var=LD_LIBRARY_PATH
17625 shlibpath_overrides_runpath=no
17626 hardcode_into_libs=yes
17631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17632 soname_spec='${libname}${release}${shared_ext}$major'
17633 shlibpath_var=LD_LIBRARY_PATH
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17641 $as_echo "$dynamic_linker" >&6; }
17642 test "$dynamic_linker" = no && can_build_shared=no
17644 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17645 if test "$GCC" = yes; then
17646 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17649 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17650 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17652 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17653 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17694 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17695 hardcode_action_CXX=
17696 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17697 test -n "$runpath_var_CXX" ||
17698 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17700 # We can hardcode non-existent directories.
17701 if test "$hardcode_direct_CXX" != no &&
17702 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17703 # have to relink, otherwise we might link with an installed library
17704 # when we should be linking with a yet-to-be-installed one
17705 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17706 test "$hardcode_minus_L_CXX" != no; then
17707 # Linking always hardcodes the temporary library directory.
17708 hardcode_action_CXX=relink
17710 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17711 hardcode_action_CXX=immediate
17714 # We cannot hardcode anything, or else we can only hardcode existing
17716 hardcode_action_CXX=unsupported
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17719 $as_echo "$hardcode_action_CXX" >&6; }
17721 if test "$hardcode_action_CXX" = relink ||
17722 test "$inherit_rpath_CXX" = yes; then
17723 # Fast installation is not supported
17724 enable_fast_install=no
17725 elif test "$shlibpath_overrides_runpath" = yes ||
17726 test "$enable_shared" = no; then
17727 # Fast installation is not necessary
17728 enable_fast_install=needless
17737 fi # test -n "$compiler"
17740 CFLAGS=$lt_save_CFLAGS
17744 with_gnu_ld=$lt_save_with_gnu_ld
17745 lt_cv_path_LDCXX=$lt_cv_path_LD
17746 lt_cv_path_LD=$lt_save_path_LD
17747 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17748 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17749 fi # test "$_lt_caught_CXX_error" != yes
17752 ac_cpp='$CPP $CPPFLAGS'
17753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17760 if test "$GCC" = "yes" ; then
17761 # AC_HAVE_GCC_VERSION(4,0,0,0,
17763 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17764 # [Define to enable class visibility control in gcc.])
17765 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17766 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17768 CFLAGS="$GCC_CFLAGS"
17769 CXXFLAGS="$GCC_CXXFLAGS"
17771 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17772 case "${host_cpu}-${host_os}" in
17774 if test "$CXX" = "CC" ; then
17775 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17781 # Checks for typedefs, structures, and compiler characteristics.
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17783 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17784 if test "${ac_cv_c_const+set}" = set; then :
17785 $as_echo_n "(cached) " >&6
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17793 /* FIXME: Include the comments suggested by Paul. */
17794 #ifndef __cplusplus
17795 /* Ultrix mips cc rejects this. */
17796 typedef int charset[2];
17798 /* SunOS 4.1.1 cc rejects this. */
17799 char const *const *pcpcc;
17801 /* NEC SVR4.0.2 mips cc rejects this. */
17802 struct point {int x, y;};
17803 static struct point const zero = {0,0};
17804 /* AIX XL C 1.02.0.0 rejects this.
17805 It does not let you subtract one const X* pointer from another in
17806 an arm of an if-expression whose if-part is not a constant
17808 const char *g = "string";
17809 pcpcc = &g + (g ? g-g : 0);
17810 /* HPUX 7.0 cc rejects these. */
17812 ppc = (char**) pcpcc;
17813 pcpcc = (char const *const *) ppc;
17814 { /* SCO 3.2v4 cc rejects this. */
17816 char const *s = 0 ? (char *) 0 : (char const *) 0;
17821 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17822 int x[] = {25, 17};
17823 const int *foo = &x[0];
17826 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17827 typedef const int *iptr;
17831 { /* AIX XL C 1.02.0.0 rejects this saying
17832 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17833 struct s { int j; const int *ap[3]; };
17834 struct s *b; b->j = 5;
17836 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17837 const int foo = 10;
17838 if (!foo) return 0;
17840 return !cs[0] && !zero.x;
17847 if ac_fn_c_try_compile "$LINENO"; then :
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17855 $as_echo "$ac_cv_c_const" >&6; }
17856 if test $ac_cv_c_const = no; then
17858 $as_echo "#define const /**/" >>confdefs.h
17862 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17863 if test "x$ac_cv_type_size_t" = x""yes; then :
17867 cat >>confdefs.h <<_ACEOF
17868 #define size_t unsigned int
17874 # Checks for library functions.
17875 for ac_func in strchr strdup strstr
17877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17880 cat >>confdefs.h <<_ACEOF
17881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17887 # The cast to long int works around a bug in the HP C Compiler
17888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17890 # This bug is HP SR number 8606223364.
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17892 $as_echo_n "checking size of time_t... " >&6; }
17893 if test "${ac_cv_sizeof_time_t+set}" = set; then :
17894 $as_echo_n "(cached) " >&6
17896 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
17899 if test "$ac_cv_type_time_t" = yes; then
17900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17902 as_fn_error 77 "cannot compute sizeof (time_t)
17903 See \`config.log' for more details" "$LINENO" 5 ; }
17905 ac_cv_sizeof_time_t=0
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17911 $as_echo "$ac_cv_sizeof_time_t" >&6; }
17915 cat >>confdefs.h <<_ACEOF
17916 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
17921 # checks for pthreads
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17932 # We used to check for pthread.h first, but this fails if pthread.h
17933 # requires special compiler flags (e.g. on True64 or Sequent).
17934 # It gets checked for in the link test anyway.
17936 # First of all, check if the user has set any of the PTHREAD_LIBS,
17937 # etcetera environment variables, and if threads linking works using
17939 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17940 save_CFLAGS="$CFLAGS"
17941 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17943 LIBS="$PTHREAD_LIBS $LIBS"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17945 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17949 /* Override any GCC internal prototype to avoid an error.
17950 Use char because int might match the return type of a GCC
17951 builtin and then its argument prototype would still apply. */
17955 char pthread_join ();
17959 return pthread_join ();
17964 if ac_fn_c_try_link "$LINENO"; then :
17967 rm -f core conftest.err conftest.$ac_objext \
17968 conftest$ac_exeext conftest.$ac_ext
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17970 $as_echo "$acx_pthread_ok" >&6; }
17971 if test x"$acx_pthread_ok" = xno; then
17976 CFLAGS="$save_CFLAGS"
17979 # We must check for the threads library under a number of different
17980 # names; the ordering is very important because some systems
17981 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17982 # libraries is broken (non-POSIX).
17984 # Create a list of thread flags to try. Items starting with a "-" are
17985 # C compiler flags, and other items are library names, except for "none"
17986 # which indicates that we try without any flags at all, and "pthread-config"
17987 # which is a program returning the flags for the Pth emulation library.
17989 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17991 # The ordering *is* (sometimes) important. Some notes on the
17992 # individual items follow:
17994 # pthreads: AIX (must check this before -lpthread)
17995 # none: in case threads are in libc; should be tried before -Kthread and
17996 # other compiler flags to prevent continual compiler warnings
17997 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17998 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17999 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18000 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18001 # -pthreads: Solaris/gcc
18002 # -mthreads: Mingw32/gcc, Lynx/gcc
18003 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18004 # doesn't hurt to check since this sometimes defines pthreads too;
18005 # also defines -D_REENTRANT)
18006 # ... -mt is also the pthreads flag for HP/aCC
18007 # pthread: Linux, etcetera
18008 # --thread-safe: KAI C++
18009 # pthread-config: use pthread-config program (for GNU Pth library)
18011 case "${host_cpu}-${host_os}" in
18014 # On Solaris (at least, for some versions), libc contains stubbed
18015 # (non-functional) versions of the pthreads routines, so link-based
18016 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
18017 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18018 # a function called by this macro, so we could check for that, but
18019 # who knows whether they'll stub that too in a future libc.) So,
18020 # we'll just look for -pthreads and -lpthread first:
18022 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18026 if test x"$acx_pthread_ok" = xno; then
18027 for flag in $acx_pthread_flags; do
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18032 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18037 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18038 PTHREAD_CFLAGS="$flag"
18042 # Extract the first word of "pthread-config", so it can be a program name with args.
18043 set dummy pthread-config; ac_word=$2
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18045 $as_echo_n "checking for $ac_word... " >&6; }
18046 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
18047 $as_echo_n "(cached) " >&6
18049 if test -n "$acx_pthread_config"; then
18050 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18053 for as_dir in $PATH
18056 test -z "$as_dir" && as_dir=.
18057 for ac_exec_ext in '' $ac_executable_extensions; do
18058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18059 ac_cv_prog_acx_pthread_config="yes"
18060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18067 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18070 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18071 if test -n "$acx_pthread_config"; then
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18073 $as_echo "$acx_pthread_config" >&6; }
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18076 $as_echo "no" >&6; }
18080 if test x"$acx_pthread_config" = xno; then continue; fi
18081 PTHREAD_CFLAGS="`pthread-config --cflags`"
18082 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18087 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18088 PTHREAD_LIBS="-l$flag"
18093 save_CFLAGS="$CFLAGS"
18094 LIBS="$PTHREAD_LIBS $LIBS"
18095 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18097 # Check for various functions. We must include pthread.h,
18098 # since some functions may be macros. (On the Sequent, we
18099 # need a special flag -Kthread to make this header compile.)
18100 # We check for pthread_join because it is in -lpthread on IRIX
18101 # while pthread_create is in libc. We check for pthread_attr_init
18102 # due to DEC craziness with -lpthreads. We check for
18103 # pthread_cleanup_push because it is one of the few pthread
18104 # functions on Solaris that doesn't have a non-functional libc stub.
18105 # We try pthread_create on general principles.
18106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18108 #include <pthread.h>
18112 pthread_t th; pthread_join(th, 0);
18113 pthread_attr_init(0); pthread_cleanup_push(0, 0);
18114 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18119 if ac_fn_c_try_link "$LINENO"; then :
18122 rm -f core conftest.err conftest.$ac_objext \
18123 conftest$ac_exeext conftest.$ac_ext
18126 CFLAGS="$save_CFLAGS"
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18129 $as_echo "$acx_pthread_ok" >&6; }
18130 if test "x$acx_pthread_ok" = xyes; then
18139 # Various other checks:
18140 if test "x$acx_pthread_ok" = xyes; then
18142 LIBS="$PTHREAD_LIBS $LIBS"
18143 save_CFLAGS="$CFLAGS"
18144 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18146 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18148 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18150 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18153 #include <pthread.h>
18157 int attr=$attr; return attr;
18162 if ac_fn_c_try_link "$LINENO"; then :
18163 attr_name=$attr; break
18165 rm -f core conftest.err conftest.$ac_objext \
18166 conftest$ac_exeext conftest.$ac_ext
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18169 $as_echo "$attr_name" >&6; }
18170 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18172 cat >>confdefs.h <<_ACEOF
18173 #define PTHREAD_CREATE_JOINABLE $attr_name
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18179 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18181 case "${host_cpu}-${host_os}" in
18182 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
18183 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18185 if test "$GCC" = "yes"; then
18186 flag="-D_REENTRANT"
18188 flag="-mt -D_REENTRANT"
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18193 $as_echo "${flag}" >&6; }
18194 if test "x$flag" != xno; then
18195 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18199 CFLAGS="$save_CFLAGS"
18201 # More AIX lossage: must compile with xlc_r or cc_r
18202 if test x"$GCC" != xyes; then
18203 for ac_prog in xlc_r cc_r
18205 # Extract the first word of "$ac_prog", so it can be a program name with args.
18206 set dummy $ac_prog; ac_word=$2
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18208 $as_echo_n "checking for $ac_word... " >&6; }
18209 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
18210 $as_echo_n "(cached) " >&6
18212 if test -n "$PTHREAD_CC"; then
18213 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18216 for as_dir in $PATH
18219 test -z "$as_dir" && as_dir=.
18220 for ac_exec_ext in '' $ac_executable_extensions; do
18221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18222 ac_cv_prog_PTHREAD_CC="$ac_prog"
18223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18232 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18233 if test -n "$PTHREAD_CC"; then
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18235 $as_echo "$PTHREAD_CC" >&6; }
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18238 $as_echo "no" >&6; }
18242 test -n "$PTHREAD_CC" && break
18244 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18257 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18258 if test x"$acx_pthread_ok" = xyes; then
18259 enable_threads="pthread"
18263 enable_threads="no"
18266 ac_cpp='$CPP $CPPFLAGS'
18267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18272 if test $enable_threads != "pthread"; then
18273 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18276 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18278 LIBS="$PTHREAD_LIBS $LIBS"
18279 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18280 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18285 # Check whether --with-zlib was given.
18286 if test "${with_zlib+set}" = set; then :
18287 withval=$with_zlib;
18288 if test -d "$withval" ; then
18289 CPPFLAGS="${CPPFLAGS} -I$withval/include"
18290 LDFLAGS="${LDFLAGS} -L$withval/lib"
18296 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18297 if test "x$ac_cv_header_zlib_h" = x""yes; then :
18300 as_fn_error $? "unable to find zlib header files" "$LINENO" 5
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateInit2_ in -lz" >&5
18305 $as_echo_n "checking for deflateInit2_ in -lz... " >&6; }
18306 if test "${ac_cv_lib_z_deflateInit2_+set}" = set; then :
18307 $as_echo_n "(cached) " >&6
18309 ac_check_lib_save_LIBS=$LIBS
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18314 /* Override any GCC internal prototype to avoid an error.
18315 Use char because int might match the return type of a GCC
18316 builtin and then its argument prototype would still apply. */
18320 char deflateInit2_ ();
18324 return deflateInit2_ ();
18329 if ac_fn_c_try_link "$LINENO"; then :
18330 ac_cv_lib_z_deflateInit2_=yes
18332 ac_cv_lib_z_deflateInit2_=no
18334 rm -f core conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_check_lib_save_LIBS
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateInit2_" >&5
18339 $as_echo "$ac_cv_lib_z_deflateInit2_" >&6; }
18340 if test "x$ac_cv_lib_z_deflateInit2_" = x""yes; then :
18341 cat >>confdefs.h <<_ACEOF
18342 #define HAVE_LIBZ 1
18348 as_fn_error $? "unable to link with zlib library" "$LINENO" 5
18354 # Check whether --with-openssl was given.
18355 if test "${with_openssl+set}" = set; then :
18356 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18357 SSLFLAGS="-I${with_openssl}/include"
18362 if test "x$with_openssl" = "x" ; then
18363 # Extract the first word of "pkg-config", so it can be a program name with args.
18364 set dummy pkg-config; ac_word=$2
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18366 $as_echo_n "checking for $ac_word... " >&6; }
18367 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18368 $as_echo_n "(cached) " >&6
18370 case $PKG_CONFIG in
18372 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18376 for as_dir in $PATH
18379 test -z "$as_dir" && as_dir=.
18380 for ac_exec_ext in '' $ac_executable_extensions; do
18381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18382 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18394 if test -n "$PKG_CONFIG"; then
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18396 $as_echo "$PKG_CONFIG" >&6; }
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18399 $as_echo "no" >&6; }
18403 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18404 if pkg-config openssl ; then
18405 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18408 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18414 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18416 $as_echo "$SSLFLAGS" >&6; }
18417 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18419 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18420 if test "x$ac_cv_header_openssl_x509_h" = x""yes; then :
18423 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18429 ac_cpp='$CXXCPP $CPPFLAGS'
18430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18437 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18438 if test "${ac_cv_cxx_namespaces+set}" = set; then :
18439 $as_echo_n "(cached) " >&6
18443 ac_cpp='$CXXCPP $CPPFLAGS'
18444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450 namespace Outer { namespace Inner { int i = 0; }}
18454 using namespace Outer::Inner; return i;
18459 if ac_fn_cxx_try_compile "$LINENO"; then :
18460 ac_cv_cxx_namespaces=yes
18462 ac_cv_cxx_namespaces=no
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 ac_cpp='$CXXCPP $CPPFLAGS'
18467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18474 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18475 if test "$ac_cv_cxx_namespaces" = yes; then
18477 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18482 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18483 if test "${ac_cv_cxx_have_stl+set}" = set; then :
18484 $as_echo_n "(cached) " >&6
18488 ac_cpp='$CXXCPP $CPPFLAGS'
18489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18497 #ifdef HAVE_NAMESPACES
18498 using namespace std;
18503 list<int> x; x.push_back(5);
18504 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18509 if ac_fn_cxx_try_compile "$LINENO"; then :
18510 ac_cv_cxx_have_stl=yes
18512 ac_cv_cxx_have_stl=no
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 ac_cpp='$CXXCPP $CPPFLAGS'
18517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18524 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18525 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18526 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18530 # log4shib settings (favor this version over the log4cpp code)
18531 # Extract the first word of "log4shib-config", so it can be a program name with args.
18532 set dummy log4shib-config; ac_word=$2
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18534 $as_echo_n "checking for $ac_word... " >&6; }
18535 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18536 $as_echo_n "(cached) " >&6
18538 case $LOG4SHIB_CONFIG in
18540 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18544 for as_dir in $PATH
18547 test -z "$as_dir" && as_dir=.
18548 for ac_exec_ext in '' $ac_executable_extensions; do
18549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18550 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18561 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18562 if test -n "$LOG4SHIB_CONFIG"; then
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18564 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18567 $as_echo "no" >&6; }
18572 # Check whether --with-log4shib was given.
18573 if test "${with_log4shib+set}" = set; then :
18574 withval=$with_log4shib;
18575 LOG4SHIB_CONFIG="${with_log4shib}"
18576 if ! test -f "${LOG4SHIB_CONFIG}"; then
18577 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18582 if test -f "${LOG4SHIB_CONFIG}" ; then
18583 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18584 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18586 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18587 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18590 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596 #include <log4shib/Category.hh>
18597 #include <log4shib/CategoryStream.hh>
18601 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18606 if ac_fn_cxx_try_link "$LINENO"; then :
18608 $as_echo "#define OPENSAML_LOG4SHIB 1" >>confdefs.h
18611 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18613 rm -f core conftest.err conftest.$ac_objext \
18614 conftest$ac_exeext conftest.$ac_ext
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18617 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18619 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18622 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18623 set dummy log4cpp-config; ac_word=$2
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18625 $as_echo_n "checking for $ac_word... " >&6; }
18626 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18627 $as_echo_n "(cached) " >&6
18629 case $LOG4CPP_CONFIG in
18631 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18635 for as_dir in $PATH
18638 test -z "$as_dir" && as_dir=.
18639 for ac_exec_ext in '' $ac_executable_extensions; do
18640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18641 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18652 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18653 if test -n "$LOG4CPP_CONFIG"; then
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18655 $as_echo "$LOG4CPP_CONFIG" >&6; }
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18658 $as_echo "no" >&6; }
18663 # Check whether --with-log4cpp was given.
18664 if test "${with_log4cpp+set}" = set; then :
18665 withval=$with_log4cpp;
18666 LOG4CPP_CONFIG="${with_log4cpp}"
18667 if ! test -f "${LOG4CPP_CONFIG}"; then
18668 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18673 if test -f "${LOG4CPP_CONFIG}"; then
18674 { $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
18675 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18676 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18677 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18678 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18679 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18682 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 #include <log4cpp/Category.hh>
18689 #include <log4cpp/CategoryStream.hh>
18693 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18698 if ac_fn_cxx_try_link "$LINENO"; then :
18700 $as_echo "#define OPENSAML_LOG4CPP 1" >>confdefs.h
18703 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18705 rm -f core conftest.err conftest.$ac_objext \
18706 conftest$ac_exeext conftest.$ac_ext
18708 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18714 # Check whether --with-xerces was given.
18715 if test "${with_xerces+set}" = set; then :
18716 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18717 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18718 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18722 LIBS="-lxerces-c $LIBS"
18723 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18724 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18727 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18732 $as_echo_n "checking Xerces version... " >&6; }
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <xercesc/util/XercesVersion.hpp>
18739 #if _XERCES_VERSION != 20600
18742 #error cannot use version 2.6.0
18748 if ac_fn_cxx_try_cpp "$LINENO"; then :
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18750 $as_echo "OK" >&6; }
18752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18754 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18755 See \`config.log' for more details" "$LINENO" 5 ; }
18757 rm -f conftest.err conftest.i conftest.$ac_ext
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 #include <xercesc/util/PlatformUtils.hpp>
18764 xercesc::XMLPlatformUtils::Initialize()
18769 if ac_fn_cxx_try_link "$LINENO"; then :
18772 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18774 rm -f core conftest.err conftest.$ac_objext \
18775 conftest$ac_exeext conftest.$ac_ext
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18778 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 #include <xercesc/util/XMLString.hpp>
18785 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18792 $as_echo "yes" >&6; }
18793 $as_echo "#define OPENSAML_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18797 $as_echo "no" >&6; }
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 # XML-Security settings
18803 # Check whether --with-xmlsec was given.
18804 if test "${with_xmlsec+set}" = set; then :
18805 withval=$with_xmlsec; if test x_$with_xmlsec != x_/usr; then
18806 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18807 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18811 LIBS="-lxml-security-c $LIBS"
18812 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18813 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18816 as_fn_error $? "unable to find xmlsec header files" "$LINENO" 5
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18821 $as_echo_n "checking XML-Security version... " >&6; }
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18824 #include <xsec/utils/XSECPlatformUtils.hpp>
18828 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18831 #error need version 1.4.0 or later
18837 if ac_fn_cxx_try_cpp "$LINENO"; then :
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18839 $as_echo "OK" >&6; }
18841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18843 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18844 See \`config.log' for more details" "$LINENO" 5 ; }
18846 rm -f conftest.err conftest.i conftest.$ac_ext
18847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18849 #include <xsec/utils/XSECPlatformUtils.hpp>
18853 XSECPlatformUtils::Initialise()
18858 if ac_fn_cxx_try_link "$LINENO"; then :
18861 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18863 rm -f core conftest.err conftest.$ac_objext \
18864 conftest$ac_exeext conftest.$ac_ext
18866 # XML-Tooling settings
18868 # Check whether --with-xmltooling was given.
18869 if test "${with_xmltooling+set}" = set; then :
18870 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18871 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18872 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18873 DX_INCLUDE="${with_xmltooling}/include"
18877 LIBS="-lxmltooling $LIBS"
18878 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/XMLToolingConfig.h" "ac_cv_header_xmltooling_XMLToolingConfig_h" "$ac_includes_default"
18879 if test "x$ac_cv_header_xmltooling_XMLToolingConfig_h" = x""yes; then :
18882 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 #include <xmltooling/XMLToolingConfig.h>
18890 #include <xmltooling/version.h>
18894 #if _XMLTOOLING_VERSION >= 10400
18895 xmltooling::XMLToolingConfig::getConfig();
18897 #error Need XMLTooling version 1.4 or higher
18903 if ac_fn_cxx_try_link "$LINENO"; then :
18906 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18908 rm -f core conftest.err conftest.$ac_objext \
18909 conftest$ac_exeext conftest.$ac_ext
18911 # Check for unit test support
18912 CXXTEST="/usr/bin/cxxtestgen.pl"
18915 # Check whether --with-cxxtest was given.
18916 if test "${with_cxxtest+set}" = set; then :
18917 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18918 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18919 CXXTESTFLAGS="-I${with_cxxtest}"
18923 if ! test -f "${CXXTEST}"; then
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18925 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18930 if test -f ${CXXTEST}; then
18931 BUILD_UNITTEST_TRUE=
18932 BUILD_UNITTEST_FALSE='#'
18934 BUILD_UNITTEST_TRUE='#'
18935 BUILD_UNITTEST_FALSE=
18940 # we need the expanded forms...
18941 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18942 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18945 $as_echo_n "checking our pkgconfig libname... " >&6; }
18946 test ".$ax_create_pkgconfig_libname" != "." || \
18947 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18948 test ".$ax_create_pkgconfig_libname" != "." || \
18949 ax_create_pkgconfig_libname="$PACKAGE"
18950 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18951 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18953 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18956 $as_echo_n "checking our pkgconfig version... " >&6; }
18957 test ".$ax_create_pkgconfig_version" != "." || \
18958 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18959 test ".$ax_create_pkgconfig_version" != "." || \
18960 ax_create_pkgconfig_version="$VERSION"
18961 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18962 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18964 $as_echo "$ax_create_pkgconfig_version" >&6; }
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18967 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18968 test ".$pkgconfig_libdir" = "." && \
18969 pkgconfig_libdir='${libdir}/pkgconfig'
18970 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18971 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18972 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18974 $as_echo "$pkgconfig_libdir" >&6; }
18975 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18977 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18981 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18982 test ".$pkgconfig_libfile" != "." || \
18983 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18984 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
18985 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
18987 $as_echo "$pkgconfig_libfile" >&6; }
18988 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
18990 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
18994 $as_echo_n "checking our package / suffix... " >&6; }
18995 ax_create_pkgconfig_suffix="$program_suffix"
18996 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
18998 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19001 $as_echo_n "checking our pkgconfig description... " >&6; }
19002 ax_create_pkgconfig_description="OpenSAML library"
19003 test ".$ax_create_pkgconfig_description" != "." || \
19004 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19005 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19006 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19008 $as_echo "$ax_create_pkgconfig_description" >&6; }
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19011 $as_echo_n "checking our pkgconfig requires... " >&6; }
19012 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19013 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19014 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19016 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19019 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19020 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19021 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19022 ax_create_pkgconfig_libs="$LIBS -lsaml"
19023 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19024 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19026 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19029 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19030 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19031 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19032 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19034 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19037 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19038 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19039 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19040 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19042 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19044 test ".$ax_create_pkgconfig_generate" != "." || \
19045 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19046 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19047 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19048 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19050 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19052 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19053 ax_create_pkgconfig_src_libdir=`pwd`
19054 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19055 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19056 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19057 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19058 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19059 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19064 /^X\(\/\/\)[^/].*/{
19077 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19078 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19080 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19082 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19085 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19086 ax_create_pkgconfig_src_headers=`pwd`
19087 v="$ac_top_srcdir" ;
19088 test ".$v" != "." || v="$ax_spec_dir"
19089 test ".$v" != "." || v="$srcdir"
19090 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19091 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19092 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19093 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19094 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19095 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19096 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19101 /^X\(\/\/\)[^/].*/{
19114 test ! -d $ax_create_pkgconfig_src_headers/include || \
19115 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19117 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19121 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19125 LIBTOOL="$LIBTOOL --silent"
19127 # output packaging and makefiles
19128 cat >confcache <<\_ACEOF
19129 # This file is a shell script that caches the results of configure
19130 # tests run on this system so they can be shared between configure
19131 # scripts and configure runs, see configure's option --config-cache.
19132 # It is not useful on other systems. If it contains results you don't
19133 # want to keep, you may remove or edit it.
19135 # config.status only pays attention to the cache file if you give it
19136 # the --recheck option to rerun configure.
19138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19140 # following values.
19144 # The following way of writing the cache mishandles newlines in values,
19145 # but we know of no workaround that is simple, portable, and efficient.
19146 # So, we kill variables containing newlines.
19147 # Ultrix sh set writes to stderr and can't be redirected directly,
19148 # and sets the high bit in the cache file unless we assign to the vars.
19150 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19151 eval ac_val=\$$ac_var
19155 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19159 _ | IFS | as_nl) ;; #(
19160 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19161 *) { eval $ac_var=; unset $ac_var;} ;;
19167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19168 *${as_nl}ac_space=\ *)
19169 # `set' does not quote correctly, so add quotes: double-quote
19170 # substitution turns \\\\ into \\, and sed turns \\ into \.
19173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19176 # `set' quotes correctly as required by POSIX, so do not add quotes.
19177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19186 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19190 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19191 if test -w "$cache_file"; then
19192 test "x$cache_file" != "x/dev/null" &&
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19194 $as_echo "$as_me: updating cache $cache_file" >&6;}
19195 cat confcache >$cache_file
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19198 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19203 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19204 # Let make expand exec_prefix.
19205 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19207 DEFS=-DHAVE_CONFIG_H
19212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19213 # 1. Remove the extension, and $U if already installed.
19214 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19215 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19216 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19217 # will be set to the directory where LIBOBJS objects are built.
19218 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19219 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19221 LIBOBJS=$ac_libobjs
19223 LTLIBOBJS=$ac_ltlibobjs
19226 if test -n "$EXEEXT"; then
19228 am__EXEEXT_FALSE='#'
19230 am__EXEEXT_TRUE='#'
19234 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19235 as_fn_error $? "conditional \"AMDEP\" was never defined.
19236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19238 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19239 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19242 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19243 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19246 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19247 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19250 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19251 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19254 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19255 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19258 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19259 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19262 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19263 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19266 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19267 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19270 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19271 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19274 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19275 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19278 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19279 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19282 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19283 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19286 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19287 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19290 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19291 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19294 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19295 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19298 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19299 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19302 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19303 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19306 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19307 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19310 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19311 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19314 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19315 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19318 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19319 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19322 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19323 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19326 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19327 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19330 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19331 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19334 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19335 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19338 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19339 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19343 : ${CONFIG_STATUS=./config.status}
19345 ac_clean_files_save=$ac_clean_files
19346 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19348 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19350 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19352 # Generated by $as_me.
19353 # Run this file to recreate the current configuration.
19354 # Compiler output produced by configure, useful for debugging
19355 # configure, is in config.log if it exists.
19358 ac_cs_recheck=false
19361 SHELL=\${CONFIG_SHELL-$SHELL}
19364 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19365 ## -------------------- ##
19366 ## M4sh Initialization. ##
19367 ## -------------------- ##
19369 # Be more Bourne compatible
19370 DUALCASE=1; export DUALCASE # for MKS sh
19371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19374 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19375 # is contrary to our usage. Disable this feature.
19376 alias -g '${1+"$@"}'='"$@"'
19377 setopt NO_GLOB_SUBST
19379 case `(set -o) 2>/dev/null` in #(
19391 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19392 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19393 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19394 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19395 # Prefer a ksh shell builtin over an external printf program on Solaris,
19396 # but without wasting forks for bash or zsh.
19397 if test -z "$BASH_VERSION$ZSH_VERSION" \
19398 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19399 as_echo='print -r --'
19400 as_echo_n='print -rn --'
19401 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19402 as_echo='printf %s\n'
19403 as_echo_n='printf %s'
19405 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19406 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19407 as_echo_n='/usr/ucb/echo -n'
19409 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19410 as_echo_n_body='eval
19414 expr "X$arg" : "X\\(.*\\)$as_nl";
19415 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19417 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19419 export as_echo_n_body
19420 as_echo_n='sh -c $as_echo_n_body as_echo'
19422 export as_echo_body
19423 as_echo='sh -c $as_echo_body as_echo'
19426 # The user is always right.
19427 if test "${PATH_SEPARATOR+set}" != set; then
19429 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19430 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19437 # We need space, tab and new line, in precisely that order. Quoting is
19438 # there to prevent editors from complaining about space-tab.
19439 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19440 # splitting by setting IFS to empty value.)
19443 # Find who we are. Look in the path if we contain no directory separator.
19445 *[\\/]* ) as_myself=$0 ;;
19446 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19447 for as_dir in $PATH
19450 test -z "$as_dir" && as_dir=.
19451 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19457 # We did not find ourselves, most probably we were run as `sh COMMAND'
19458 # in which case we are not to be found in the path.
19459 if test "x$as_myself" = x; then
19462 if test ! -f "$as_myself"; then
19463 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19467 # Unset variables that we do not need and which cause bugs (e.g. in
19468 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19469 # suppresses any "Segmentation fault" message there. '((' could
19470 # trigger a bug in pdksh 5.2.14.
19471 for as_var in BASH_ENV ENV MAIL MAILPATH
19472 do eval test x\${$as_var+set} = xset \
19473 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19489 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19490 # ----------------------------------------
19491 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19492 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19493 # script with STATUS, using 1 if that was 0.
19496 as_status=$1; test $as_status -eq 0 && as_status=1
19498 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19499 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19501 $as_echo "$as_me: error: $2" >&2
19502 as_fn_exit $as_status
19506 # as_fn_set_status STATUS
19507 # -----------------------
19508 # Set $? to STATUS, without forking.
19509 as_fn_set_status ()
19512 } # as_fn_set_status
19514 # as_fn_exit STATUS
19515 # -----------------
19516 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19520 as_fn_set_status $1
19526 # Portably unset VAR.
19529 { eval $1=; unset $1;}
19531 as_unset=as_fn_unset
19532 # as_fn_append VAR VALUE
19533 # ----------------------
19534 # Append the text in VALUE to the end of the definition contained in VAR. Take
19535 # advantage of any shell optimizations that allow amortized linear growth over
19536 # repeated appends, instead of the typical quadratic growth present in naive
19538 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19539 eval 'as_fn_append ()
19550 # as_fn_arith ARG...
19551 # ------------------
19552 # Perform arithmetic evaluation on the ARGs, and store the result in the
19553 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19554 # must be portable across $(()) and expr.
19555 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19556 eval 'as_fn_arith ()
19563 as_val=`expr "$@" || test $? -eq 1`
19568 if expr a : '\(a\)' >/dev/null 2>&1 &&
19569 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19575 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19576 as_basename=basename
19581 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19587 as_me=`$as_basename -- "$0" ||
19588 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19589 X"$0" : 'X\(//\)$' \| \
19590 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19592 sed '/^.*\/\([^/][^/]*\)\/*$/{
19606 # Avoid depending upon Character Ranges.
19607 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19608 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19609 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19610 as_cr_digits='0123456789'
19611 as_cr_alnum=$as_cr_Letters$as_cr_digits
19613 ECHO_C= ECHO_N= ECHO_T=
19614 case `echo -n x` in #(((((
19616 case `echo 'xy\c'` in
19617 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19619 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19626 rm -f conf$$ conf$$.exe conf$$.file
19627 if test -d conf$$.dir; then
19628 rm -f conf$$.dir/conf$$.file
19631 mkdir conf$$.dir 2>/dev/null
19633 if (echo >conf$$.file) 2>/dev/null; then
19634 if ln -s conf$$.file conf$$ 2>/dev/null; then
19636 # ... but there are two gotchas:
19637 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19638 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19639 # In both cases, we have to default to `cp -p'.
19640 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19642 elif ln conf$$.file conf$$ 2>/dev/null; then
19650 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19651 rmdir conf$$.dir 2>/dev/null
19656 # Create "$as_dir" as a directory, including parents if necessary.
19661 -*) as_dir=./$as_dir;;
19663 test -d "$as_dir" || eval $as_mkdir_p || {
19667 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19668 *) as_qdir=$as_dir;;
19670 as_dirs="'$as_qdir' $as_dirs"
19671 as_dir=`$as_dirname -- "$as_dir" ||
19672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19673 X"$as_dir" : 'X\(//\)[^/]' \| \
19674 X"$as_dir" : 'X\(//\)$' \| \
19675 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19676 $as_echo X"$as_dir" |
19677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19681 /^X\(\/\/\)[^/].*/{
19694 test -d "$as_dir" && break
19696 test -z "$as_dirs" || eval "mkdir $as_dirs"
19697 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19701 if mkdir -p . 2>/dev/null; then
19702 as_mkdir_p='mkdir -p "$as_dir"'
19704 test -d ./-p && rmdir ./-p
19708 if test -x / >/dev/null 2>&1; then
19709 as_test_x='test -x'
19711 if ls -dL / >/dev/null 2>&1; then
19718 if test -d "$1"; then
19724 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19725 ???[sx]*):;;*)false;;esac;fi
19729 as_executable_p=$as_test_x
19731 # Sed expression to map a string onto a valid CPP name.
19732 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19734 # Sed expression to map a string onto a valid variable name.
19735 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19739 ## ----------------------------------- ##
19740 ## Main body of $CONFIG_STATUS script. ##
19741 ## ----------------------------------- ##
19743 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19746 # Save the log message, to keep $0 and so on meaningful, and to
19747 # report actual input values of CONFIG_FILES etc. instead of their
19748 # values after options handling.
19750 This file was extended by opensaml $as_me 2.5, which was
19751 generated by GNU Autoconf 2.67. Invocation command line was
19753 CONFIG_FILES = $CONFIG_FILES
19754 CONFIG_HEADERS = $CONFIG_HEADERS
19755 CONFIG_LINKS = $CONFIG_LINKS
19756 CONFIG_COMMANDS = $CONFIG_COMMANDS
19759 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19764 case $ac_config_files in *"
19765 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19768 case $ac_config_headers in *"
19769 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19774 # Files that config.status was made for.
19775 config_files="$ac_config_files"
19776 config_headers="$ac_config_headers"
19777 config_commands="$ac_config_commands"
19781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19783 \`$as_me' instantiates files and other configuration actions
19784 from templates according to the current configuration. Unless the files
19785 and actions are specified as TAGs, all are instantiated by default.
19787 Usage: $0 [OPTION]... [TAG]...
19789 -h, --help print this help, then exit
19790 -V, --version print version number and configuration settings, then exit
19791 --config print configuration, then exit
19792 -q, --quiet, --silent
19793 do not print progress messages
19794 -d, --debug don't remove temporary files
19795 --recheck update $as_me by reconfiguring in the same conditions
19796 --file=FILE[:TEMPLATE]
19797 instantiate the configuration file FILE
19798 --header=FILE[:TEMPLATE]
19799 instantiate the configuration header FILE
19801 Configuration files:
19804 Configuration headers:
19807 Configuration commands:
19810 Report bugs to <https://bugs.internet2.edu/>."
19813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19814 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19816 opensaml config.status 2.5
19817 configured by $0, generated by GNU Autoconf 2.67,
19818 with options \\"\$ac_cs_config\\"
19820 Copyright (C) 2010 Free Software Foundation, Inc.
19821 This config.status script is free software; the Free Software Foundation
19822 gives unlimited permission to copy, distribute and modify it."
19829 test -n "\$AWK" || AWK=awk
19832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19833 # The default lists apply if the user does not specify any file.
19839 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19840 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19844 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19856 # Handling of the options.
19857 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19859 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19860 $as_echo "$ac_cs_version"; exit ;;
19861 --config | --confi | --conf | --con | --co | --c )
19862 $as_echo "$ac_cs_config"; exit ;;
19863 --debug | --debu | --deb | --de | --d | -d )
19865 --file | --fil | --fi | --f )
19868 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19869 '') as_fn_error $? "missing file argument" ;;
19871 as_fn_append CONFIG_FILES " '$ac_optarg'"
19872 ac_need_defaults=false;;
19873 --header | --heade | --head | --hea )
19876 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19878 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19879 ac_need_defaults=false;;
19881 # Conflict between --help and --header
19882 as_fn_error $? "ambiguous option: \`$1'
19883 Try \`$0 --help' for more information.";;
19884 --help | --hel | -h )
19885 $as_echo "$ac_cs_usage"; exit ;;
19886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19887 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19890 # This is an error.
19891 -*) as_fn_error $? "unrecognized option: \`$1'
19892 Try \`$0 --help' for more information." ;;
19894 *) as_fn_append ac_config_targets " $1"
19895 ac_need_defaults=false ;;
19901 ac_configure_extra_args=
19903 if $ac_cs_silent; then
19905 ac_configure_extra_args="$ac_configure_extra_args --silent"
19909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19910 if \$ac_cs_recheck; then
19911 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19913 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19914 CONFIG_SHELL='$SHELL'
19915 export CONFIG_SHELL
19920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19924 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19925 ## Running $as_me. ##
19931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19935 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19938 # The HP-UX ksh and POSIX shell print the target directory to stdout
19939 # if CDPATH is set.
19940 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19942 sed_quote_subst='$sed_quote_subst'
19943 double_quote_subst='$double_quote_subst'
19944 delay_variable_subst='$delay_variable_subst'
19945 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19946 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19947 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19948 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19949 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19950 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19951 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19952 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19953 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19954 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19955 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19956 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19957 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19958 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19959 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19960 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19961 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19962 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19963 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19964 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19965 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19966 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19967 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19968 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19969 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19970 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19971 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19972 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19973 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19974 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19975 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19976 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19977 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19978 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19979 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19980 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19981 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19982 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19983 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19984 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19985 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19986 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19987 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19988 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19989 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19990 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19991 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19992 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19993 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19994 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19995 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19996 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19997 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19998 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19999 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20000 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"`'
20001 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20002 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20003 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20004 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20005 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20006 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20007 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20008 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20009 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20010 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20011 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20012 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20013 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20014 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20015 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20016 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20017 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20018 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20019 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20020 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20021 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20022 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20023 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20024 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20025 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20026 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20027 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20028 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20029 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20030 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20031 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20032 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20033 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20034 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20035 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20036 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20037 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20038 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20039 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20040 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20041 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20042 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20043 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20044 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20045 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20046 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20047 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20048 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20049 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20050 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20051 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20052 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20053 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20054 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20055 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20056 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20057 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20058 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20059 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20060 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20061 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20062 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20063 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20064 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20065 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20066 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20067 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20068 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20069 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20070 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20071 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20072 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20073 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20074 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20075 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20076 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20077 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20078 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20079 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20080 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20081 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20082 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20083 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20084 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20085 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20086 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20087 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20088 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20089 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20090 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20091 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20092 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20093 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20094 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20095 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20096 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20097 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20098 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20099 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20100 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20101 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20102 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20103 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20104 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20105 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20106 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20107 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20108 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20109 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20110 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20111 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20112 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20113 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20114 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20115 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20116 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20117 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20118 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20119 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20120 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20121 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20122 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20123 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20124 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20125 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20126 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20127 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20128 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20129 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20132 LTCFLAGS='$LTCFLAGS'
20133 compiler='$compiler_DEFAULT'
20135 # A function that is used when there is no print builtin or printf.
20136 func_fallback_echo ()
20138 eval 'cat <<_LTECHO_EOF
20143 # Quote evaled strings.
20157 deplibs_check_method \
20162 sharedlib_from_linklib_cmd \
20165 archiver_list_spec \
20171 lt_cv_sys_global_symbol_pipe \
20172 lt_cv_sys_global_symbol_to_cdecl \
20173 lt_cv_sys_global_symbol_to_c_name_address \
20174 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20175 nm_file_list_spec \
20176 lt_prog_compiler_no_builtin_flag \
20177 lt_prog_compiler_pic \
20178 lt_prog_compiler_wl \
20179 lt_prog_compiler_static \
20180 lt_cv_prog_compiler_c_o \
20189 export_dynamic_flag_spec \
20190 whole_archive_flag_spec \
20191 compiler_needs_object \
20193 allow_undefined_flag \
20194 no_undefined_flag \
20195 hardcode_libdir_flag_spec \
20196 hardcode_libdir_flag_spec_ld \
20197 hardcode_libdir_separator \
20201 variables_saved_for_relink \
20203 library_names_spec \
20205 install_override_mode \
20209 compiler_lib_search_dirs \
20214 compiler_lib_search_path \
20218 lt_prog_compiler_no_builtin_flag_CXX \
20219 lt_prog_compiler_pic_CXX \
20220 lt_prog_compiler_wl_CXX \
20221 lt_prog_compiler_static_CXX \
20222 lt_cv_prog_compiler_c_o_CXX \
20223 export_dynamic_flag_spec_CXX \
20224 whole_archive_flag_spec_CXX \
20225 compiler_needs_object_CXX \
20227 allow_undefined_flag_CXX \
20228 no_undefined_flag_CXX \
20229 hardcode_libdir_flag_spec_CXX \
20230 hardcode_libdir_flag_spec_ld_CXX \
20231 hardcode_libdir_separator_CXX \
20232 exclude_expsyms_CXX \
20233 include_expsyms_CXX \
20234 file_list_spec_CXX \
20235 compiler_lib_search_dirs_CXX \
20236 predep_objects_CXX \
20237 postdep_objects_CXX \
20240 compiler_lib_search_path_CXX; do
20241 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20242 *[\\\\\\\`\\"\\\$]*)
20243 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20246 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20251 # Double-quote double-evaled strings.
20252 for var in reload_cmds \
20253 old_postinstall_cmds \
20254 old_postuninstall_cmds \
20256 extract_expsyms_cmds \
20257 old_archive_from_new_cmds \
20258 old_archive_from_expsyms_cmds \
20260 archive_expsym_cmds \
20262 module_expsym_cmds \
20263 export_symbols_cmds \
20267 postuninstall_cmds \
20269 sys_lib_search_path_spec \
20270 sys_lib_dlsearch_path_spec \
20272 old_archive_cmds_CXX \
20273 old_archive_from_new_cmds_CXX \
20274 old_archive_from_expsyms_cmds_CXX \
20276 archive_expsym_cmds_CXX \
20278 module_expsym_cmds_CXX \
20279 export_symbols_cmds_CXX \
20281 postlink_cmds_CXX; do
20282 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20283 *[\\\\\\\`\\"\\\$]*)
20284 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20287 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20292 ac_aux_dir='$ac_aux_dir'
20293 xsi_shell='$xsi_shell'
20294 lt_shell_append='$lt_shell_append'
20296 # See if we are running on zsh, and set the options which allow our
20297 # commands through without removal of \ escapes INIT.
20298 if test -n "\${ZSH_VERSION+set}" ; then
20299 setopt NO_GLOB_SUBST
20305 TIMESTAMP='$TIMESTAMP'
20314 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20315 pkgconfig_prefix='$prefix'
20316 pkgconfig_execprefix='$exec_prefix'
20317 pkgconfig_bindir='$bindir'
20318 pkgconfig_libdir='$libdir'
20319 pkgconfig_includedir='$includedir'
20320 pkgconfig_datarootdir='$datarootdir'
20321 pkgconfig_datadir='$datadir'
20322 pkgconfig_sysconfdir='$sysconfdir'
20323 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20324 pkgconfig_package='$PACKAGE_NAME'
20325 pkgconfig_libname='$ax_create_pkgconfig_libname'
20326 pkgconfig_description='$ax_create_pkgconfig_description'
20327 pkgconfig_version='$ax_create_pkgconfig_version'
20328 pkgconfig_requires='$ax_create_pkgconfig_requires'
20329 pkgconfig_libs='$ax_create_pkgconfig_libs'
20330 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20331 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20332 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20333 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20340 # Handling of arguments.
20341 for ac_config_target in $ac_config_targets
20343 case $ac_config_target in
20344 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20345 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20346 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20347 "opensaml.spec") CONFIG_FILES="$CONFIG_FILES opensaml.spec" ;;
20348 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20349 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20350 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20351 "saml/Makefile") CONFIG_FILES="$CONFIG_FILES saml/Makefile" ;;
20352 "samltest/Makefile") CONFIG_FILES="$CONFIG_FILES samltest/Makefile" ;;
20353 "samlsign/Makefile") CONFIG_FILES="$CONFIG_FILES samlsign/Makefile" ;;
20354 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20355 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20356 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20358 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20363 # If the user did not use the arguments to specify the items to instantiate,
20364 # then the envvar interface is used. Set only those that are not.
20365 # We use the long form for the default assignment because of an extremely
20366 # bizarre bug on SunOS 4.1.3.
20367 if $ac_need_defaults; then
20368 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20369 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20370 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20373 # Have a temporary directory for convenience. Make it in the build tree
20374 # simply because there is no reason against having it here, and in addition,
20375 # creating and moving files from /tmp can sometimes cause problems.
20376 # Hook for its removal unless debugging.
20377 # Note that there is a small window in which the directory will not be cleaned:
20378 # after its creation but before its name has been assigned to `$tmp'.
20382 trap 'exit_status=$?
20383 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20385 trap 'as_fn_exit 1' 1 2 13 15
20387 # Create a (secure) tmp directory for tmp files.
20390 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20391 test -n "$tmp" && test -d "$tmp"
20394 tmp=./conf$$-$RANDOM
20395 (umask 077 && mkdir "$tmp")
20396 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20398 # Set up the scripts for CONFIG_FILES section.
20399 # No need to generate them if there are no CONFIG_FILES.
20400 # This happens for instance with `./config.status config.h'.
20401 if test -n "$CONFIG_FILES"; then
20404 ac_cr=`echo X | tr X '\015'`
20405 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20406 # But we know of no other shell where ac_cr would be empty at this
20407 # point, so we can use a bashism as a fallback.
20408 if test "x$ac_cr" = x; then
20409 eval ac_cr=\$\'\\r\'
20411 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20412 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20415 ac_cs_awk_cr=$ac_cr
20418 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20423 echo "cat >conf$$subs.awk <<_ACEOF" &&
20424 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20426 } >conf$$subs.sh ||
20427 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20428 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20430 for ac_last_try in false false false false false :; do
20431 . ./conf$$subs.sh ||
20432 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20434 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20435 if test $ac_delim_n = $ac_delim_num; then
20437 elif $ac_last_try; then
20438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20440 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20443 rm -f conf$$subs.sh
20445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20446 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20450 s/^/S["/; s/!.*/"]=/
20460 s/\(.\{148\}\)..*/\1/
20462 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20474 s/\(.\{148\}\)..*/\1/
20476 s/["\\]/\\&/g; s/^/"/; s/$/"/
20480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20485 ' <conf$$subs.awk | sed '
20490 ' >>$CONFIG_STATUS || ac_write_fail=1
20491 rm -f conf$$subs.awk
20492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20494 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20495 for (key in S) S_is_set[key] = 1
20501 nfields = split(line, field, "@")
20503 len = length(field[1])
20504 for (i = 2; i < nfields; i++) {
20506 keylen = length(key)
20507 if (S_is_set[key]) {
20509 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20510 len += length(value) + length(field[++i])
20521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20522 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20523 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20526 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20527 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20530 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20531 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20532 # trailing colons and then remove the whole line if VPATH becomes empty
20533 # (actually we leave an empty line to preserve line numbers).
20534 if test "x$srcdir" = x.; then
20535 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20554 fi # test -n "$CONFIG_FILES"
20556 # Set up the scripts for CONFIG_HEADERS section.
20557 # No need to generate them if there are no CONFIG_HEADERS.
20558 # This happens for instance with `./config.status Makefile'.
20559 if test -n "$CONFIG_HEADERS"; then
20560 cat >"$tmp/defines.awk" <<\_ACAWK ||
20564 # Transform confdefs.h into an awk script `defines.awk', embedded as
20565 # here-document in config.status, that substitutes the proper values into
20566 # config.h.in to produce config.h.
20568 # Create a delimiter string that does not exist in confdefs.h, to ease
20569 # handling of long lines.
20571 for ac_last_try in false false :; do
20572 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
20573 if test -z "$ac_t"; then
20575 elif $ac_last_try; then
20576 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20578 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20582 # For the awk script, D is an array of macro values keyed by name,
20583 # likewise P contains macro parameters if any. Preserve backslash
20584 # newline sequences.
20586 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20588 s/.\{148\}/&'"$ac_delim"'/g
20591 s/^[ ]*#[ ]*define[ ][ ]*/ /
20598 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20604 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20605 D["\1"]=" \3\\\\\\n"\\/p
20607 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20612 s/.\{148\}/&'"$ac_delim"'/g
20617 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20620 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20622 ' <confdefs.h | sed '
20623 s/'"$ac_delim"'/"\\\
20624 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20627 for (key in D) D_is_set[key] = 1
20630 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20632 split(line, arg, " ")
20633 if (arg[1] == "#") {
20637 defundef = substr(arg[1], 2)
20640 split(mac1, mac2, "(") #)
20642 prefix = substr(line, 1, index(line, defundef) - 1)
20643 if (D_is_set[macro]) {
20644 # Preserve the white space surrounding the "#".
20645 print prefix "define", macro P[macro] D[macro]
20648 # Replace #undef with comments. This is necessary, for example,
20649 # in the case of _POSIX_SOURCE, which is predefined and required
20650 # on some systems where configure will not decide to define it.
20651 if (defundef == "undef") {
20652 print "/*", prefix defundef, macro, "*/"
20660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20661 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20662 fi # test -n "$CONFIG_HEADERS"
20665 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20670 :[FHLC]) ac_mode=$ac_tag; continue;;
20672 case $ac_mode$ac_tag in
20674 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
20675 :[FH]-) ac_tag=-:-;;
20676 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20693 -) ac_f="$tmp/stdin";;
20694 *) # Look for the file first in the build tree, then in the source tree
20695 # (if the path is not absolute). The absolute path cannot be DOS-style,
20696 # because $ac_f cannot contain `:'.
20700 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20702 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20704 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20705 as_fn_append ac_file_inputs " '$ac_f'"
20708 # Let's still pretend it is `configure' which instantiates (i.e., don't
20709 # use $as_me), people would be surprised to read:
20710 # /* config.h. Generated by config.status. */
20711 configure_input='Generated from '`
20712 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20714 if test x"$ac_file" != x-; then
20715 configure_input="$ac_file. $configure_input"
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20717 $as_echo "$as_me: creating $ac_file" >&6;}
20719 # Neutralize special characters interpreted by sed in replacement strings.
20720 case $configure_input in #(
20721 *\&* | *\|* | *\\* )
20722 ac_sed_conf_input=`$as_echo "$configure_input" |
20723 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20724 *) ac_sed_conf_input=$configure_input;;
20728 *:-:* | *:-) cat >"$tmp/stdin" \
20729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20734 ac_dir=`$as_dirname -- "$ac_file" ||
20735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20736 X"$ac_file" : 'X\(//\)[^/]' \| \
20737 X"$ac_file" : 'X\(//\)$' \| \
20738 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20739 $as_echo X"$ac_file" |
20740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20744 /^X\(\/\/\)[^/].*/{
20757 as_dir="$ac_dir"; as_fn_mkdir_p
20761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20763 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20764 # A ".." for each directory in $ac_dir_suffix.
20765 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20766 case $ac_top_builddir_sub in
20767 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20768 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20771 ac_abs_top_builddir=$ac_pwd
20772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20773 # for backward compatibility:
20774 ac_top_builddir=$ac_top_build_prefix
20777 .) # We are building in place.
20779 ac_top_srcdir=$ac_top_builddir_sub
20780 ac_abs_top_srcdir=$ac_pwd ;;
20781 [\\/]* | ?:[\\/]* ) # Absolute name.
20782 ac_srcdir=$srcdir$ac_dir_suffix;
20783 ac_top_srcdir=$srcdir
20784 ac_abs_top_srcdir=$srcdir ;;
20785 *) # Relative name.
20786 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20787 ac_top_srcdir=$ac_top_build_prefix$srcdir
20788 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20800 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20801 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20803 ac_MKDIR_P=$MKDIR_P
20805 [\\/$]* | ?:[\\/]* ) ;;
20806 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20811 # If the template does not know about datarootdir, expand it.
20812 # FIXME: This hack should be removed a few years after 2.60.
20813 ac_datarootdir_hack=; ac_datarootdir_seen=
20824 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20825 *datarootdir*) ac_datarootdir_seen=yes;;
20826 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20828 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20831 ac_datarootdir_hack='
20832 s&@datadir@&$datadir&g
20833 s&@docdir@&$docdir&g
20834 s&@infodir@&$infodir&g
20835 s&@localedir@&$localedir&g
20836 s&@mandir@&$mandir&g
20837 s&\\\${datarootdir}&$datarootdir&g' ;;
20841 # Neutralize VPATH when `$srcdir' = `.'.
20842 # Shell code in configure.ac might set extrasub.
20843 # FIXME: do we really want to maintain this feature?
20844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20845 ac_sed_extra="$ac_vpsub
20848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20851 s|@configure_input@|$ac_sed_conf_input|;t t
20852 s&@top_builddir@&$ac_top_builddir_sub&;t t
20853 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20854 s&@srcdir@&$ac_srcdir&;t t
20855 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20856 s&@top_srcdir@&$ac_top_srcdir&;t t
20857 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20858 s&@builddir@&$ac_builddir&;t t
20859 s&@abs_builddir@&$ac_abs_builddir&;t t
20860 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20861 s&@INSTALL@&$ac_INSTALL&;t t
20862 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20863 $ac_datarootdir_hack
20865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20869 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20872 which seems to be undefined. Please make sure it is defined" >&5
20873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20874 which seems to be undefined. Please make sure it is defined" >&2;}
20878 -) cat "$tmp/out" && rm -f "$tmp/out";;
20879 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20887 if test x"$ac_file" != x-; then
20889 $as_echo "/* $configure_input */" \
20890 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20891 } >"$tmp/config.h" \
20892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20893 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20898 mv "$tmp/config.h" "$ac_file" \
20899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20902 $as_echo "/* $configure_input */" \
20903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20904 || as_fn_error $? "could not create -" "$LINENO" 5
20906 # Compute "$ac_file"'s index in $config_headers.
20909 for _am_header in $config_headers :; do
20910 case $_am_header in
20911 $_am_arg | $_am_arg:* )
20914 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20917 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20918 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20919 X"$_am_arg" : 'X\(//\)[^/]' \| \
20920 X"$_am_arg" : 'X\(//\)$' \| \
20921 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20922 $as_echo X"$_am_arg" |
20923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20927 /^X\(\/\/\)[^/].*/{
20939 s/.*/./; q'`/stamp-h$_am_stamp_count
20942 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20943 $as_echo "$as_me: executing $ac_file commands" >&6;}
20948 case $ac_file$ac_mode in
20949 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20950 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20951 # are listed without --file. Let's play safe and only enable the eval
20952 # if we detect the quoting.
20953 case $CONFIG_FILES in
20954 *\'*) eval set x "$CONFIG_FILES" ;;
20955 *) set x $CONFIG_FILES ;;
20960 # Strip MF so we end up with the name of the file.
20961 mf=`echo "$mf" | sed -e 's/:.*$//'`
20962 # Check whether this is an Automake generated Makefile or not.
20963 # We used to match only the files named `Makefile.in', but
20964 # some people rename them; so instead we look at the file content.
20965 # Grep'ing the first line is not enough: some people post-process
20966 # each Makefile.in and add a new line on top of each file to say so.
20967 # Grep'ing the whole file is not good either: AIX grep has a line
20968 # limit of 2048, but all sed's we know have understand at least 4000.
20969 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20970 dirpart=`$as_dirname -- "$mf" ||
20971 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20972 X"$mf" : 'X\(//\)[^/]' \| \
20973 X"$mf" : 'X\(//\)$' \| \
20974 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20980 /^X\(\/\/\)[^/].*/{
20996 # Extract the definition of DEPDIR, am__include, and am__quote
20997 # from the Makefile without running `make'.
20998 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20999 test -z "$DEPDIR" && continue
21000 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21001 test -z "am__include" && continue
21002 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21003 # When using ansi2knr, U may be empty or an underscore; expand it
21004 U=`sed -n 's/^U = //p' < "$mf"`
21005 # Find all dependency output files, they are included files with
21006 # $(DEPDIR) in their names. We invoke sed twice because it is the
21007 # simplest approach to changing $(DEPDIR) to its actual value in the
21009 for file in `sed -n "
21010 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21011 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21012 # Make sure the directory exists.
21013 test -f "$dirpart/$file" && continue
21014 fdir=`$as_dirname -- "$file" ||
21015 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21016 X"$file" : 'X\(//\)[^/]' \| \
21017 X"$file" : 'X\(//\)$' \| \
21018 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21019 $as_echo X"$file" |
21020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21024 /^X\(\/\/\)[^/].*/{
21037 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21038 # echo "creating $dirpart/$file"
21039 echo '# dummy' > "$dirpart/$file"
21046 # See if we are running on zsh, and set the options which allow our
21047 # commands through without removal of \ escapes.
21048 if test -n "${ZSH_VERSION+set}" ; then
21049 setopt NO_GLOB_SUBST
21052 cfgfile="${ofile}T"
21053 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21056 cat <<_LT_EOF >> "$cfgfile"
21059 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21060 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21061 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21062 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21064 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21065 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21067 # Written by Gordon Matzigkeit, 1996
21069 # This file is part of GNU Libtool.
21071 # GNU Libtool is free software; you can redistribute it and/or
21072 # modify it under the terms of the GNU General Public License as
21073 # published by the Free Software Foundation; either version 2 of
21074 # the License, or (at your option) any later version.
21076 # As a special exception to the GNU General Public License,
21077 # if you distribute this file as part of a program or library that
21078 # is built using GNU Libtool, you may include this file under the
21079 # same distribution terms that you use for the rest of that program.
21081 # GNU Libtool is distributed in the hope that it will be useful,
21082 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21083 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21084 # GNU General Public License for more details.
21086 # You should have received a copy of the GNU General Public License
21087 # along with GNU Libtool; see the file COPYING. If not, a copy
21088 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21089 # obtained by writing to the Free Software Foundation, Inc.,
21090 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21093 # The names of the tagged configurations supported by this script.
21094 available_tags="CXX "
21096 # ### BEGIN LIBTOOL CONFIG
21098 # Whether or not to build static libraries.
21099 build_old_libs=$enable_static
21101 # Which release of libtool.m4 was used?
21102 macro_version=$macro_version
21103 macro_revision=$macro_revision
21105 # Whether or not to build shared libraries.
21106 build_libtool_libs=$enable_shared
21108 # What type of objects to build.
21111 # Whether or not to optimize for fast installation.
21112 fast_install=$enable_fast_install
21114 # Shell to use when invoking shell scripts.
21117 # An echo program that protects backslashes.
21121 host_alias=$host_alias
21125 # The build system.
21126 build_alias=$build_alias
21130 # A sed program that does not truncate output.
21133 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21134 Xsed="\$SED -e 1s/^X//"
21136 # A grep program that handles long lines.
21142 # A literal string matcher.
21145 # A BSD- or MS-compatible name lister.
21148 # Whether we need soft or hard links.
21151 # What is the maximum length of a command?
21152 max_cmd_len=$max_cmd_len
21154 # Object file suffix (normally "o").
21157 # Executable file suffix (normally "").
21160 # whether the shell understands "unset".
21163 # turn spaces into newlines.
21166 # turn newlines into spaces.
21169 # convert \$build file names to \$host format.
21170 to_host_file_cmd=$lt_cv_to_host_file_cmd
21172 # convert \$build files to toolchain format.
21173 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21175 # An object symbol dumper.
21176 OBJDUMP=$lt_OBJDUMP
21178 # Method to check whether dependent libraries are shared objects.
21179 deplibs_check_method=$lt_deplibs_check_method
21181 # Command to use when deplibs_check_method = "file_magic".
21182 file_magic_cmd=$lt_file_magic_cmd
21184 # How to find potential files when deplibs_check_method = "file_magic".
21185 file_magic_glob=$lt_file_magic_glob
21187 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21188 want_nocaseglob=$lt_want_nocaseglob
21190 # DLL creation program.
21191 DLLTOOL=$lt_DLLTOOL
21193 # Command to associate shared and link libraries.
21194 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21199 # Flags to create an archive.
21200 AR_FLAGS=$lt_AR_FLAGS
21202 # How to feed a file listing to the archiver.
21203 archiver_list_spec=$lt_archiver_list_spec
21205 # A symbol stripping program.
21208 # Commands used to install an old-style archive.
21210 old_postinstall_cmds=$lt_old_postinstall_cmds
21211 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21213 # Whether to use a lock for old archive extraction.
21214 lock_old_archive_extraction=$lock_old_archive_extraction
21219 # LTCC compiler flags.
21220 LTCFLAGS=$lt_CFLAGS
21222 # Take the output of nm and produce a listing of raw symbols and C names.
21223 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21225 # Transform the output of nm in a proper C declaration.
21226 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21228 # Transform the output of nm in a C name address pair.
21229 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21231 # Transform the output of nm in a C name address pair when lib prefix is needed.
21232 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21234 # Specify filename containing input files for \$NM.
21235 nm_file_list_spec=$lt_nm_file_list_spec
21237 # The root where to search for dependent libraries,and in which our libraries should be installed.
21238 lt_sysroot=$lt_sysroot
21240 # The name of the directory that contains temporary libtool files.
21243 # Used to examine libraries when file_magic_cmd begins with "file".
21244 MAGIC_CMD=$MAGIC_CMD
21246 # Must we lock files when doing compilation?
21247 need_locks=$lt_need_locks
21250 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21252 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21253 DSYMUTIL=$lt_DSYMUTIL
21255 # Tool to change global to local symbols on Mac OS X.
21258 # Tool to manipulate fat objects and archives on Mac OS X.
21261 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21264 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21265 OTOOL64=$lt_OTOOL64
21267 # Old archive suffix (normally "a").
21270 # Shared library suffix (normally ".so").
21271 shrext_cmds=$lt_shrext_cmds
21273 # The commands to extract the exported symbol list from a shared archive.
21274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21276 # Variables whose values should be saved in libtool wrapper scripts and
21277 # restored at link time.
21278 variables_saved_for_relink=$lt_variables_saved_for_relink
21280 # Do we need the "lib" prefix for modules?
21281 need_lib_prefix=$need_lib_prefix
21283 # Do we need a version for libraries?
21284 need_version=$need_version
21286 # Library versioning type.
21287 version_type=$version_type
21289 # Shared library runtime path variable.
21290 runpath_var=$runpath_var
21292 # Shared library path variable.
21293 shlibpath_var=$shlibpath_var
21295 # Is shlibpath searched before the hard-coded library search path?
21296 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21298 # Format of library name prefix.
21299 libname_spec=$lt_libname_spec
21301 # List of archive names. First name is the real one, the rest are links.
21302 # The last name is the one that the linker finds with -lNAME
21303 library_names_spec=$lt_library_names_spec
21305 # The coded name of the library, if different from the real name.
21306 soname_spec=$lt_soname_spec
21308 # Permission mode override for installation of shared libraries.
21309 install_override_mode=$lt_install_override_mode
21311 # Command to use after installation of a shared archive.
21312 postinstall_cmds=$lt_postinstall_cmds
21314 # Command to use after uninstallation of a shared archive.
21315 postuninstall_cmds=$lt_postuninstall_cmds
21317 # Commands used to finish a libtool library installation in a directory.
21318 finish_cmds=$lt_finish_cmds
21320 # As "finish_cmds", except a single script fragment to be evaled but
21322 finish_eval=$lt_finish_eval
21324 # Whether we should hardcode library paths into libraries.
21325 hardcode_into_libs=$hardcode_into_libs
21327 # Compile-time system search path for libraries.
21328 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21330 # Run-time system search path for libraries.
21331 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21333 # Whether dlopen is supported.
21334 dlopen_support=$enable_dlopen
21336 # Whether dlopen of programs is supported.
21337 dlopen_self=$enable_dlopen_self
21339 # Whether dlopen of statically linked programs is supported.
21340 dlopen_self_static=$enable_dlopen_self_static
21342 # Commands to strip libraries.
21343 old_striplib=$lt_old_striplib
21344 striplib=$lt_striplib
21347 # The linker used to build libraries.
21350 # How to create reloadable object files.
21351 reload_flag=$lt_reload_flag
21352 reload_cmds=$lt_reload_cmds
21354 # Commands used to build an old-style archive.
21355 old_archive_cmds=$lt_old_archive_cmds
21357 # A language specific compiler.
21360 # Is the compiler the GNU compiler?
21363 # Compiler flag to turn off builtin functions.
21364 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21366 # Additional compiler flags for building library objects.
21367 pic_flag=$lt_lt_prog_compiler_pic
21369 # How to pass a linker flag through the compiler.
21370 wl=$lt_lt_prog_compiler_wl
21372 # Compiler flag to prevent dynamic linking.
21373 link_static_flag=$lt_lt_prog_compiler_static
21375 # Does compiler simultaneously support -c and -o options?
21376 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21378 # Whether or not to add -lc for building shared libraries.
21379 build_libtool_need_lc=$archive_cmds_need_lc
21381 # Whether or not to disallow shared libs when runtime libs are static.
21382 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21384 # Compiler flag to allow reflexive dlopens.
21385 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21387 # Compiler flag to generate shared objects directly from archives.
21388 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21390 # Whether the compiler copes with passing no objects directly.
21391 compiler_needs_object=$lt_compiler_needs_object
21393 # Create an old-style archive from a shared archive.
21394 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21396 # Create a temporary old-style archive to link instead of a shared archive.
21397 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21399 # Commands used to build a shared archive.
21400 archive_cmds=$lt_archive_cmds
21401 archive_expsym_cmds=$lt_archive_expsym_cmds
21403 # Commands used to build a loadable module if different from building
21404 # a shared archive.
21405 module_cmds=$lt_module_cmds
21406 module_expsym_cmds=$lt_module_expsym_cmds
21408 # Whether we are building with GNU ld or not.
21409 with_gnu_ld=$lt_with_gnu_ld
21411 # Flag that allows shared libraries with undefined symbols to be built.
21412 allow_undefined_flag=$lt_allow_undefined_flag
21414 # Flag that enforces no undefined symbols.
21415 no_undefined_flag=$lt_no_undefined_flag
21417 # Flag to hardcode \$libdir into a binary during linking.
21418 # This must work even if \$libdir does not exist
21419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21421 # If ld is used when linking, flag to hardcode \$libdir into a binary
21422 # during linking. This must work even if \$libdir does not exist.
21423 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21425 # Whether we need a single "-rpath" flag with a separated argument.
21426 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21429 # DIR into the resulting binary.
21430 hardcode_direct=$hardcode_direct
21432 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21433 # DIR into the resulting binary and the resulting library dependency is
21434 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21435 # library is relocated.
21436 hardcode_direct_absolute=$hardcode_direct_absolute
21438 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21439 # into the resulting binary.
21440 hardcode_minus_L=$hardcode_minus_L
21442 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21443 # into the resulting binary.
21444 hardcode_shlibpath_var=$hardcode_shlibpath_var
21446 # Set to "yes" if building a shared library automatically hardcodes DIR
21447 # into the library and all subsequent libraries and executables linked
21449 hardcode_automatic=$hardcode_automatic
21451 # Set to yes if linker adds runtime paths of dependent libraries
21452 # to runtime path list.
21453 inherit_rpath=$inherit_rpath
21455 # Whether libtool must link a program against all its dependency libraries.
21456 link_all_deplibs=$link_all_deplibs
21458 # Set to "yes" if exported symbols are required.
21459 always_export_symbols=$always_export_symbols
21461 # The commands to list exported symbols.
21462 export_symbols_cmds=$lt_export_symbols_cmds
21464 # Symbols that should not be listed in the preloaded symbols.
21465 exclude_expsyms=$lt_exclude_expsyms
21467 # Symbols that must always be exported.
21468 include_expsyms=$lt_include_expsyms
21470 # Commands necessary for linking programs (against libraries) with templates.
21471 prelink_cmds=$lt_prelink_cmds
21473 # Commands necessary for finishing linking programs.
21474 postlink_cmds=$lt_postlink_cmds
21476 # Specify filename containing input files.
21477 file_list_spec=$lt_file_list_spec
21479 # How to hardcode a shared library path into an executable.
21480 hardcode_action=$hardcode_action
21482 # The directories searched by this compiler when creating a shared library.
21483 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21485 # Dependencies to place before and after the objects being linked to
21486 # create a shared library.
21487 predep_objects=$lt_predep_objects
21488 postdep_objects=$lt_postdep_objects
21489 predeps=$lt_predeps
21490 postdeps=$lt_postdeps
21492 # The library search path used internally by the compiler when linking
21493 # a shared library.
21494 compiler_lib_search_path=$lt_compiler_lib_search_path
21496 # ### END LIBTOOL CONFIG
21502 cat <<\_LT_EOF >> "$cfgfile"
21503 # AIX sometimes has problems with the GCC collect2 program. For some
21504 # reason, if we set the COLLECT_NAMES environment variable, the problems
21505 # vanish in a puff of smoke.
21506 if test "X${COLLECT_NAMES+set}" != Xset; then
21508 export COLLECT_NAMES
21515 ltmain="$ac_aux_dir/ltmain.sh"
21518 # We use sed instead of cat because bash on DJGPP gets confused if
21519 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21520 # text mode, it properly converts lines to CR/LF. This bash problem
21521 # is reportedly fixed, but why not run on old versions too?
21522 sed '$q' "$ltmain" >> "$cfgfile" \
21523 || (rm -f "$cfgfile"; exit 1)
21525 if test x"$xsi_shell" = xyes; then
21526 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21530 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21531 \ * ) func_dirname_result="${3}" ;;\
21533 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21534 && mv -f "$cfgfile.tmp" "$cfgfile" \
21535 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21536 test 0 -eq $? || _lt_function_replace_fail=:
21539 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21542 \ func_basename_result="${1##*/}"\
21543 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21544 && mv -f "$cfgfile.tmp" "$cfgfile" \
21545 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21546 test 0 -eq $? || _lt_function_replace_fail=:
21549 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21550 func_dirname_and_basename ()\
21553 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21554 \ * ) func_dirname_result="${3}" ;;\
21556 \ func_basename_result="${1##*/}"\
21557 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21558 && mv -f "$cfgfile.tmp" "$cfgfile" \
21559 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21560 test 0 -eq $? || _lt_function_replace_fail=:
21563 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21566 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21567 \ # positional parameters, so assign one to ordinary parameter first.\
21568 \ func_stripname_result=${3}\
21569 \ func_stripname_result=${func_stripname_result#"${1}"}\
21570 \ func_stripname_result=${func_stripname_result%"${2}"}\
21571 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21572 && mv -f "$cfgfile.tmp" "$cfgfile" \
21573 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21574 test 0 -eq $? || _lt_function_replace_fail=:
21577 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21578 func_split_long_opt ()\
21580 \ func_split_long_opt_name=${1%%=*}\
21581 \ func_split_long_opt_arg=${1#*=}\
21582 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21583 && mv -f "$cfgfile.tmp" "$cfgfile" \
21584 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21585 test 0 -eq $? || _lt_function_replace_fail=:
21588 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21589 func_split_short_opt ()\
21591 \ func_split_short_opt_arg=${1#??}\
21592 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21593 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21594 && mv -f "$cfgfile.tmp" "$cfgfile" \
21595 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21596 test 0 -eq $? || _lt_function_replace_fail=:
21599 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21603 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21604 \ *) func_lo2o_result=${1} ;;\
21606 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21607 && mv -f "$cfgfile.tmp" "$cfgfile" \
21608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21609 test 0 -eq $? || _lt_function_replace_fail=:
21612 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21615 func_xform_result=${1%.*}.lo\
21616 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21617 && mv -f "$cfgfile.tmp" "$cfgfile" \
21618 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21619 test 0 -eq $? || _lt_function_replace_fail=:
21622 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21625 func_arith_result=$(( $* ))\
21626 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21627 && mv -f "$cfgfile.tmp" "$cfgfile" \
21628 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21629 test 0 -eq $? || _lt_function_replace_fail=:
21632 sed -e '/^func_len ()$/,/^} # func_len /c\
21635 func_len_result=${#1}\
21636 } # Extended-shell func_len 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=:
21643 if test x"$lt_shell_append" = xyes; then
21644 sed -e '/^func_append ()$/,/^} # func_append /c\
21647 eval "${1}+=\\${2}"\
21648 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21649 && mv -f "$cfgfile.tmp" "$cfgfile" \
21650 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21651 test 0 -eq $? || _lt_function_replace_fail=:
21654 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21655 func_append_quoted ()\
21657 \ func_quote_for_eval "${2}"\
21658 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21659 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21660 && mv -f "$cfgfile.tmp" "$cfgfile" \
21661 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21662 test 0 -eq $? || _lt_function_replace_fail=:
21665 # Save a `func_append' function call where possible by direct use of '+='
21666 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $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=:
21671 # Save a `func_append' function call even when '+=' is not available
21672 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21673 && mv -f "$cfgfile.tmp" "$cfgfile" \
21674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21675 test 0 -eq $? || _lt_function_replace_fail=:
21678 if test x"$_lt_function_replace_fail" = x":"; then
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21680 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21684 mv -f "$cfgfile" "$ofile" ||
21685 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21689 cat <<_LT_EOF >> "$ofile"
21691 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21693 # The linker used to build libraries.
21696 # How to create reloadable object files.
21697 reload_flag=$lt_reload_flag_CXX
21698 reload_cmds=$lt_reload_cmds_CXX
21700 # Commands used to build an old-style archive.
21701 old_archive_cmds=$lt_old_archive_cmds_CXX
21703 # A language specific compiler.
21704 CC=$lt_compiler_CXX
21706 # Is the compiler the GNU compiler?
21709 # Compiler flag to turn off builtin functions.
21710 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21712 # Additional compiler flags for building library objects.
21713 pic_flag=$lt_lt_prog_compiler_pic_CXX
21715 # How to pass a linker flag through the compiler.
21716 wl=$lt_lt_prog_compiler_wl_CXX
21718 # Compiler flag to prevent dynamic linking.
21719 link_static_flag=$lt_lt_prog_compiler_static_CXX
21721 # Does compiler simultaneously support -c and -o options?
21722 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21724 # Whether or not to add -lc for building shared libraries.
21725 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21727 # Whether or not to disallow shared libs when runtime libs are static.
21728 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21730 # Compiler flag to allow reflexive dlopens.
21731 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21733 # Compiler flag to generate shared objects directly from archives.
21734 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21736 # Whether the compiler copes with passing no objects directly.
21737 compiler_needs_object=$lt_compiler_needs_object_CXX
21739 # Create an old-style archive from a shared archive.
21740 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21742 # Create a temporary old-style archive to link instead of a shared archive.
21743 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21745 # Commands used to build a shared archive.
21746 archive_cmds=$lt_archive_cmds_CXX
21747 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21749 # Commands used to build a loadable module if different from building
21750 # a shared archive.
21751 module_cmds=$lt_module_cmds_CXX
21752 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21754 # Whether we are building with GNU ld or not.
21755 with_gnu_ld=$lt_with_gnu_ld_CXX
21757 # Flag that allows shared libraries with undefined symbols to be built.
21758 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21760 # Flag that enforces no undefined symbols.
21761 no_undefined_flag=$lt_no_undefined_flag_CXX
21763 # Flag to hardcode \$libdir into a binary during linking.
21764 # This must work even if \$libdir does not exist
21765 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21767 # If ld is used when linking, flag to hardcode \$libdir into a binary
21768 # during linking. This must work even if \$libdir does not exist.
21769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21771 # Whether we need a single "-rpath" flag with a separated argument.
21772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21774 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21775 # DIR into the resulting binary.
21776 hardcode_direct=$hardcode_direct_CXX
21778 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21779 # DIR into the resulting binary and the resulting library dependency is
21780 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21781 # library is relocated.
21782 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21784 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21785 # into the resulting binary.
21786 hardcode_minus_L=$hardcode_minus_L_CXX
21788 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21789 # into the resulting binary.
21790 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21792 # Set to "yes" if building a shared library automatically hardcodes DIR
21793 # into the library and all subsequent libraries and executables linked
21795 hardcode_automatic=$hardcode_automatic_CXX
21797 # Set to yes if linker adds runtime paths of dependent libraries
21798 # to runtime path list.
21799 inherit_rpath=$inherit_rpath_CXX
21801 # Whether libtool must link a program against all its dependency libraries.
21802 link_all_deplibs=$link_all_deplibs_CXX
21804 # Set to "yes" if exported symbols are required.
21805 always_export_symbols=$always_export_symbols_CXX
21807 # The commands to list exported symbols.
21808 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21810 # Symbols that should not be listed in the preloaded symbols.
21811 exclude_expsyms=$lt_exclude_expsyms_CXX
21813 # Symbols that must always be exported.
21814 include_expsyms=$lt_include_expsyms_CXX
21816 # Commands necessary for linking programs (against libraries) with templates.
21817 prelink_cmds=$lt_prelink_cmds_CXX
21819 # Commands necessary for finishing linking programs.
21820 postlink_cmds=$lt_postlink_cmds_CXX
21822 # Specify filename containing input files.
21823 file_list_spec=$lt_file_list_spec_CXX
21825 # How to hardcode a shared library path into an executable.
21826 hardcode_action=$hardcode_action_CXX
21828 # The directories searched by this compiler when creating a shared library.
21829 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21831 # Dependencies to place before and after the objects being linked to
21832 # create a shared library.
21833 predep_objects=$lt_predep_objects_CXX
21834 postdep_objects=$lt_postdep_objects_CXX
21835 predeps=$lt_predeps_CXX
21836 postdeps=$lt_postdeps_CXX
21838 # The library search path used internally by the compiler when linking
21839 # a shared library.
21840 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21842 # ### END LIBTOOL TAG CONFIG: CXX
21846 "$ax_create_pkgconfig_generate":C)
21847 pkgconfig_generate="$ax_create_pkgconfig_generate"
21848 if test ! -f "$pkgconfig_generate.in"
21849 then generate="true"
21850 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21851 then generate="true"
21852 else generate="false";
21854 if $generate ; then
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21856 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21857 cat > $pkgconfig_generate.in <<AXEOF
21858 # generated by configure / remove this line to disable regeneration
21860 exec_prefix=@exec_prefix@
21863 datarootdir=@datarootdir@
21865 sysconfdir=@sysconfdir@
21866 includedir=@includedir@
21870 Name: @PACKAGE_NAME@
21871 Description: @PACKAGE_DESCRIPTION@
21872 Version: @PACKAGE_VERSION@
21873 Requires: @PACKAGE_REQUIRES@
21874 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21875 Cflags: -I\${includedir} @CPPFLAGS@
21877 fi # DONE generate $pkgconfig_generate.in
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21879 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21880 cat >conftest.sed <<AXEOF
21881 s|@prefix@|${pkgconfig_prefix}|
21882 s|@exec_prefix@|${pkgconfig_execprefix}|
21883 s|@bindir@|${pkgconfig_bindir}|
21884 s|@libdir@|${pkgconfig_libdir}|
21885 s|@datarootdir@|${pkgconfig_datarootdir}|
21886 s|@datadir@|${pkgconfig_datadir}|
21887 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21888 s|@includedir@|${pkgconfig_includedir}|
21889 s|@suffix@|${pkgconfig_suffix}|
21890 s|@PACKAGE@|${pkgconfig_package}|
21891 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21892 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21893 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21894 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21895 s|@LIBS@|${pkgconfig_libs}|
21896 s|@LDFLAGS@|${pkgconfig_ldflags}|
21897 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21899 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
21900 if test ! -s $pkgconfig_generate ; then
21901 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21902 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21903 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21905 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21906 cat >conftest.sed <<AXEOF
21907 s|@prefix@|${pkgconfig_prefix}|
21908 s|@exec_prefix@|${pkgconfig_execprefix}|
21909 s|@bindir@|${pkgconfig_bindir}|
21910 s|@libdir@|${pkgconfig_src_libdir}|
21911 s|@datarootdir@|${pkgconfig_datarootdir}|
21912 s|@datadir@|${pkgconfig_datadir}|
21913 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21914 s|@includedir@|${pkgconfig_src_headers}|
21915 s|@suffix@|${pkgconfig_suffix}|
21916 s|@PACKAGE@|${pkgconfig_package}|
21917 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21918 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21919 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21920 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21921 s|@LIBS@|${pkgconfig_libs}|
21922 s|@LDFLAGS@|${pkgconfig_ldflags}|
21923 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21925 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21926 if test ! -s $pkgconfig_uninstalled ; then
21927 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21928 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21929 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21930 if test ".$pkgconfig_requires_add" != "." ; then
21931 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21932 else pkgconfig_requires_add=":" ; fi
21933 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
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}\"|
21954 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21955 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21956 s>Version: *>\\;\\; --modversion|--version) echo >
21957 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21958 s>Libs: *>\\;\\; --libs) echo >
21959 s>Cflags: *>\\;\\; --cflags) echo >
21961 $pkgconfig_requires_add
21963 $pkgconfig_requires_add\\
21964 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21965 ;; --uninstalled) exit 0 \\
21968 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21969 if test ! -s $pkgconfig_uninstalled ; then
21970 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21971 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21980 ac_clean_files=$ac_clean_files_save
21982 test $ac_write_fail = 0 ||
21983 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21986 # configure is writing to config.log, and then calls config.status.
21987 # config.status does its own redirection, appending to config.log.
21988 # Unfortunately, on DOS this fails, as config.log is still kept open
21989 # by configure, so config.status won't be able to write to it; its
21990 # output is simply discarded. So we exec the FD to /dev/null,
21991 # effectively closing config.log, so it can be properly (re)opened and
21992 # appended to by config.status. When coming back to configure, we
21993 # need to make the FD available again.
21994 if test "$no_create" != yes; then
21996 ac_config_status_args=
21997 test "$silent" = yes &&
21998 ac_config_status_args="$ac_config_status_args --quiet"
22000 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22002 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22003 # would make configure fail if this is the last instruction.
22004 $ac_cs_success || as_fn_exit 1
22006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}