2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ecryptfs-utils 106.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='ecryptfs-utils'
589 PACKAGE_TARNAME='ecryptfs-utils'
590 PACKAGE_VERSION='106'
591 PACKAGE_STRING='ecryptfs-utils 106'
595 ac_unique_file="src/libecryptfs"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
654 BUILD_PKCS11_HELPER_FALSE
655 BUILD_PKCS11_HELPER_TRUE
672 INTLTOOL_SERVICE_RULE
674 INTLTOOL_SCHEMAS_RULE
676 INTLTOOL_XML_NOMERGE_RULE
681 INTLTOOL_SOUNDLIST_RULE
688 INTLTOOL_DIRECTORY_RULE
689 INTLTOOL_DESKTOP_RULE
690 intltool__v_merge_options_0
691 intltool__v_merge_options_
692 INTLTOOL_V_MERGE_OPTIONS
797 LIBECRYPTFS_LT_REVISION
798 LIBECRYPTFS_LT_CURRENT
812 INSTALL_STRIP_PROGRAM
866 program_transform_name
879 enable_option_checking
896 with_ecryptfskeymoddir
897 enable_dependency_tracking
907 ac_precious_vars='build_alias
937 # Initialize some variables set by options.
939 ac_init_version=false
940 ac_unrecognized_opts=
942 # The variables have the same names as the options, with
943 # dashes changed to underlines.
951 program_transform_name=s,x,x,
959 # Installation directory options.
960 # These are left unexpanded so users can "make install exec_prefix=/foo"
961 # and all the variables that are supposed to be based on exec_prefix
962 # by default will actually change.
963 # Use braces instead of parens because sh, perl, etc. also accept them.
964 # (The list follows the same order as the GNU Coding Standards.)
965 bindir='${exec_prefix}/bin'
966 sbindir='${exec_prefix}/sbin'
967 libexecdir='${exec_prefix}/libexec'
968 datarootdir='${prefix}/share'
969 datadir='${datarootdir}'
970 sysconfdir='${prefix}/etc'
971 sharedstatedir='${prefix}/com'
972 localstatedir='${prefix}/var'
973 includedir='${prefix}/include'
974 oldincludedir='/usr/include'
975 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
976 infodir='${datarootdir}/info'
981 libdir='${exec_prefix}/lib'
982 localedir='${datarootdir}/locale'
983 mandir='${datarootdir}/man'
989 # If the previous option needs an argument, assign it.
990 if test -n "$ac_prev"; then
991 eval $ac_prev=\$ac_option
997 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1002 # Accept the important Cygnus configure options, so we can diagnose typos.
1004 case $ac_dashdash$ac_option in
1008 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1010 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1011 bindir=$ac_optarg ;;
1013 -build | --build | --buil | --bui | --bu)
1014 ac_prev=build_alias ;;
1015 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1016 build_alias=$ac_optarg ;;
1018 -cache-file | --cache-file | --cache-fil | --cache-fi \
1019 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1020 ac_prev=cache_file ;;
1021 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1022 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1023 cache_file=$ac_optarg ;;
1025 --config-cache | -C)
1026 cache_file=config.cache ;;
1028 -datadir | --datadir | --datadi | --datad)
1030 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1031 datadir=$ac_optarg ;;
1033 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1034 | --dataroo | --dataro | --datar)
1035 ac_prev=datarootdir ;;
1036 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1037 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1038 datarootdir=$ac_optarg ;;
1040 -disable-* | --disable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_$ac_useropt"
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1054 eval enable_$ac_useropt=no ;;
1056 -docdir | --docdir | --docdi | --doc | --do)
1058 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1059 docdir=$ac_optarg ;;
1061 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1063 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1064 dvidir=$ac_optarg ;;
1066 -enable-* | --enable-*)
1067 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070 as_fn_error $? "invalid feature name: $ac_useropt"
1071 ac_useropt_orig=$ac_useropt
1072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_$ac_useropt"
1077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep=', ';;
1080 eval enable_$ac_useropt=\$ac_optarg ;;
1082 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1083 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1084 | --exec | --exe | --ex)
1085 ac_prev=exec_prefix ;;
1086 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1087 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1088 | --exec=* | --exe=* | --ex=*)
1089 exec_prefix=$ac_optarg ;;
1091 -gas | --gas | --ga | --g)
1092 # Obsolete; use --with-gas.
1095 -help | --help | --hel | --he | -h)
1096 ac_init_help=long ;;
1097 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1098 ac_init_help=recursive ;;
1099 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1100 ac_init_help=short ;;
1102 -host | --host | --hos | --ho)
1103 ac_prev=host_alias ;;
1104 -host=* | --host=* | --hos=* | --ho=*)
1105 host_alias=$ac_optarg ;;
1107 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1109 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1111 htmldir=$ac_optarg ;;
1113 -includedir | --includedir | --includedi | --included | --include \
1114 | --includ | --inclu | --incl | --inc)
1115 ac_prev=includedir ;;
1116 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1117 | --includ=* | --inclu=* | --incl=* | --inc=*)
1118 includedir=$ac_optarg ;;
1120 -infodir | --infodir | --infodi | --infod | --info | --inf)
1122 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1123 infodir=$ac_optarg ;;
1125 -libdir | --libdir | --libdi | --libd)
1127 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1128 libdir=$ac_optarg ;;
1130 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1131 | --libexe | --libex | --libe)
1132 ac_prev=libexecdir ;;
1133 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1134 | --libexe=* | --libex=* | --libe=*)
1135 libexecdir=$ac_optarg ;;
1137 -localedir | --localedir | --localedi | --localed | --locale)
1138 ac_prev=localedir ;;
1139 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1140 localedir=$ac_optarg ;;
1142 -localstatedir | --localstatedir | --localstatedi | --localstated \
1143 | --localstate | --localstat | --localsta | --localst | --locals)
1144 ac_prev=localstatedir ;;
1145 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1146 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1147 localstatedir=$ac_optarg ;;
1149 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1151 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1152 mandir=$ac_optarg ;;
1154 -nfp | --nfp | --nf)
1155 # Obsolete; use --without-fp.
1158 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1159 | --no-cr | --no-c | -n)
1162 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1163 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1166 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1167 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1168 | --oldin | --oldi | --old | --ol | --o)
1169 ac_prev=oldincludedir ;;
1170 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1171 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1172 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1173 oldincludedir=$ac_optarg ;;
1175 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1177 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1178 prefix=$ac_optarg ;;
1180 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1181 | --program-pre | --program-pr | --program-p)
1182 ac_prev=program_prefix ;;
1183 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1184 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1185 program_prefix=$ac_optarg ;;
1187 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1188 | --program-suf | --program-su | --program-s)
1189 ac_prev=program_suffix ;;
1190 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1191 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1192 program_suffix=$ac_optarg ;;
1194 -program-transform-name | --program-transform-name \
1195 | --program-transform-nam | --program-transform-na \
1196 | --program-transform-n | --program-transform- \
1197 | --program-transform | --program-transfor \
1198 | --program-transfo | --program-transf \
1199 | --program-trans | --program-tran \
1200 | --progr-tra | --program-tr | --program-t)
1201 ac_prev=program_transform_name ;;
1202 -program-transform-name=* | --program-transform-name=* \
1203 | --program-transform-nam=* | --program-transform-na=* \
1204 | --program-transform-n=* | --program-transform-=* \
1205 | --program-transform=* | --program-transfor=* \
1206 | --program-transfo=* | --program-transf=* \
1207 | --program-trans=* | --program-tran=* \
1208 | --progr-tra=* | --program-tr=* | --program-t=*)
1209 program_transform_name=$ac_optarg ;;
1211 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1213 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1214 pdfdir=$ac_optarg ;;
1216 -psdir | --psdir | --psdi | --psd | --ps)
1218 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1225 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1227 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1229 sbindir=$ac_optarg ;;
1231 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1232 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1233 | --sharedst | --shareds | --shared | --share | --shar \
1235 ac_prev=sharedstatedir ;;
1236 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1237 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1238 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1240 sharedstatedir=$ac_optarg ;;
1242 -site | --site | --sit)
1244 -site=* | --site=* | --sit=*)
1247 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1249 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1250 srcdir=$ac_optarg ;;
1252 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1253 | --syscon | --sysco | --sysc | --sys | --sy)
1254 ac_prev=sysconfdir ;;
1255 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1256 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1257 sysconfdir=$ac_optarg ;;
1259 -target | --target | --targe | --targ | --tar | --ta | --t)
1260 ac_prev=target_alias ;;
1261 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1262 target_alias=$ac_optarg ;;
1264 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1267 -version | --version | --versio | --versi | --vers | -V)
1268 ac_init_version=: ;;
1271 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274 as_fn_error $? "invalid package name: $ac_useropt"
1275 ac_useropt_orig=$ac_useropt
1276 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1282 ac_unrecognized_sep=', ';;
1284 eval with_$ac_useropt=\$ac_optarg ;;
1286 -without-* | --without-*)
1287 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1290 as_fn_error $? "invalid package name: $ac_useropt"
1291 ac_useropt_orig=$ac_useropt
1292 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1297 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1298 ac_unrecognized_sep=', ';;
1300 eval with_$ac_useropt=no ;;
1303 # Obsolete; use --with-x.
1306 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1307 | --x-incl | --x-inc | --x-in | --x-i)
1308 ac_prev=x_includes ;;
1309 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1310 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1311 x_includes=$ac_optarg ;;
1313 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1314 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1315 ac_prev=x_libraries ;;
1316 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1317 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1318 x_libraries=$ac_optarg ;;
1320 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1321 Try \`$0 --help' for more information"
1325 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1326 # Reject names that are not valid shell variable names.
1327 case $ac_envvar in #(
1328 '' | [0-9]* | *[!_$as_cr_alnum]* )
1329 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1331 eval $ac_envvar=\$ac_optarg
1332 export $ac_envvar ;;
1335 # FIXME: should be removed in autoconf 3.0.
1336 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1337 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1338 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1339 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1345 if test -n "$ac_prev"; then
1346 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1347 as_fn_error $? "missing argument to $ac_option"
1350 if test -n "$ac_unrecognized_opts"; then
1351 case $enable_option_checking in
1353 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1354 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1358 # Check all directory arguments for consistency.
1359 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1360 datadir sysconfdir sharedstatedir localstatedir includedir \
1361 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1362 libdir localedir mandir
1364 eval ac_val=\$$ac_var
1365 # Remove trailing slashes.
1368 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1369 eval $ac_var=\$ac_val;;
1371 # Be sure to have absolute directory names.
1373 [\\/$]* | ?:[\\/]* ) continue;;
1374 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1376 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1379 # There might be people who depend on the old broken behavior: `$host'
1380 # used to hold the argument of --host etc.
1381 # FIXME: To remove some day.
1384 target=$target_alias
1386 # FIXME: To remove some day.
1387 if test "x$host_alias" != x; then
1388 if test "x$build_alias" = x; then
1389 cross_compiling=maybe
1390 elif test "x$build_alias" != "x$host_alias"; then
1396 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1398 test "$silent" = yes && exec 6>/dev/null
1401 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di=`ls -di .` &&
1403 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404 as_fn_error $? "working directory cannot be determined"
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 as_fn_error $? "pwd does not report name of working directory"
1409 # Find the source files, if location was not specified.
1410 if test -z "$srcdir"; then
1411 ac_srcdir_defaulted=yes
1412 # Try the directory containing this script, then the parent directory.
1413 ac_confdir=`$as_dirname -- "$as_myself" ||
1414 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415 X"$as_myself" : 'X\(//\)[^/]' \| \
1416 X"$as_myself" : 'X\(//\)$' \| \
1417 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$as_myself" |
1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1441 ac_srcdir_defaulted=no
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1445 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1447 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1449 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1451 # When building in place, set srcdir=.
1452 if test "$ac_abs_confdir" = "$ac_pwd"; then
1455 # Remove unnecessary trailing slashes from srcdir.
1456 # Double slashes in file names in object file debugging info
1457 # mess up M-x gdb in Emacs.
1459 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1461 for ac_var in $ac_precious_vars; do
1462 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463 eval ac_env_${ac_var}_value=\$${ac_var}
1464 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1469 # Report the --help message.
1471 if test "$ac_init_help" = "long"; then
1472 # Omit some internal or obsolete options to make the list less imposing.
1473 # This message is too long to be a string in the A/UX 3.1 sh.
1475 \`configure' configures ecryptfs-utils 106 to adapt to many kinds of systems.
1477 Usage: $0 [OPTION]... [VAR=VALUE]...
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE. See below for descriptions of some of the useful variables.
1482 Defaults for the options are specified in brackets.
1485 -h, --help display this help and exit
1486 --help=short display options specific to this package
1487 --help=recursive display the short help of all the included packages
1488 -V, --version display version information and exit
1489 -q, --quiet, --silent do not print \`checking ...' messages
1490 --cache-file=FILE cache test results in FILE [disabled]
1491 -C, --config-cache alias for \`--cache-file=config.cache'
1492 -n, --no-create do not create output files
1493 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1495 Installation directories:
1496 --prefix=PREFIX install architecture-independent files in PREFIX
1497 [$ac_default_prefix]
1498 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1501 By default, \`make install' will install all the files in
1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504 for instance \`--prefix=\$HOME'.
1506 For better control, use the options below.
1508 Fine tuning of the installation directories:
1509 --bindir=DIR user executables [EPREFIX/bin]
1510 --sbindir=DIR system admin executables [EPREFIX/sbin]
1511 --libexecdir=DIR program executables [EPREFIX/libexec]
1512 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1515 --libdir=DIR object code libraries [EPREFIX/lib]
1516 --includedir=DIR C header files [PREFIX/include]
1517 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1520 --infodir=DIR info documentation [DATAROOTDIR/info]
1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1522 --mandir=DIR man documentation [DATAROOTDIR/man]
1523 --docdir=DIR documentation root [DATAROOTDIR/doc/ecryptfs-utils]
1524 --htmldir=DIR html documentation [DOCDIR]
1525 --dvidir=DIR dvi documentation [DOCDIR]
1526 --pdfdir=DIR pdf documentation [DOCDIR]
1527 --psdir=DIR ps documentation [DOCDIR]
1533 --program-prefix=PREFIX prepend PREFIX to installed program names
1534 --program-suffix=SUFFIX append SUFFIX to installed program names
1535 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1538 --build=BUILD configure for building on BUILD [guessed]
1539 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1540 --target=TARGET configure for building compilers for TARGET [HOST]
1544 if test -n "$ac_init_help"; then
1545 case $ac_init_help in
1546 short | recursive ) echo "Configuration of ecryptfs-utils 106:";;
1551 --disable-option-checking ignore unrecognized --enable/--with options
1552 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1553 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1554 --enable-silent-rules less verbose build output (undo: "make V=1")
1555 --disable-silent-rules verbose build output (undo: "make V=0")
1556 --enable-static[=PKGS] build static libraries [default=no]
1557 --disable-nss Build against gcrypt rather than NSS
1558 --disable-pywrap Disable build of libecryptfs Python wrappers
1559 --disable-openssl Disable build of OpenSSL key module
1560 --enable-pkcs11-helper Build pkcs11-helper key module
1561 --enable-tspi Build TrouSerS key module
1562 --enable-gpg Build GnuPG key module
1563 --disable-pam Disable build of PAM module
1564 --enable-gui Enable building of GUI components
1565 --enable-docs Enable installing document
1566 --enable-docs-gen Enable generating documents
1567 --enable-tests Enable system specific tests
1568 --enable-mudflap Build with -fmudflap gcc option
1569 --enable-dependency-tracking
1570 do not reject slow dependency extractors
1571 --disable-dependency-tracking
1572 speeds up one-time build
1573 --enable-shared[=PKGS] build shared libraries [default=yes]
1574 --enable-fast-install[=PKGS]
1575 optimize for fast installation [default=yes]
1576 --disable-libtool-lock avoid locking (might break parallel builds)
1577 --disable-largefile omit support for large files
1578 --disable-nls do not use Native Language Support
1581 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1582 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1583 --with-gpgme-prefix=PATH
1584 Specify the directory where gpgme install, default
1586 --with-pamdir=PATH Specify the directory where PAM modules are stored
1587 --with-ecryptfskeymoddir=PATH
1588 Specify the directory where key modules are stored
1589 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1591 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1592 --with-sysroot=DIR Search for dependent libraries within DIR
1593 (or the compiler's sysroot if not specified).
1595 Some influential environment variables:
1596 CC C compiler command
1597 CFLAGS C compiler flags
1598 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1599 nonstandard directory <lib dir>
1600 LIBS libraries to pass to the linker, e.g. -l<library>
1601 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1602 you have headers in a nonstandard directory <include dir>
1604 PKG_CONFIG path to pkg-config utility
1606 directories to add to pkg-config's search path
1608 path overriding pkg-config's built-in search path
1610 C compiler flags for keyutils
1612 linker flags for keyutils
1614 C compiler flags for OPENSSL, overriding pkg-config
1616 linker flags for OPENSSL, overriding pkg-config
1617 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
1618 NSS_LIBS linker flags for NSS, overriding pkg-config
1619 PYTHON the Python interpreter
1621 The installed Python version to use, for example '2.3'. This
1622 string will be appended to the Python interpreter canonical
1624 PKCS11_HELPER_CFLAGS
1625 C compiler flags for PKCS11_HELPER, overriding pkg-config
1627 linker flags for PKCS11_HELPER, overriding pkg-config
1628 TSPI_CFLAGS C compiler flags for tspi
1629 TSPI_LIBS linker flags for tspi
1630 PAM_CFLAGS C compiler flags for pam
1631 PAM_LIBS linker flags for pam
1633 Use these variables to override the choices made by `configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1636 Report bugs to the package provider.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644 test -d "$ac_dir" ||
1645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653 # A ".." for each directory in $ac_dir_suffix.
1654 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655 case $ac_top_builddir_sub in
1656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1666 .) # We are building in place.
1668 ac_top_srcdir=$ac_top_builddir_sub
1669 ac_abs_top_srcdir=$ac_pwd ;;
1670 [\\/]* | ?:[\\/]* ) # Absolute name.
1671 ac_srcdir=$srcdir$ac_dir_suffix;
1672 ac_top_srcdir=$srcdir
1673 ac_abs_top_srcdir=$srcdir ;;
1675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676 ac_top_srcdir=$ac_top_build_prefix$srcdir
1677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681 cd "$ac_dir" || { ac_status=$?; continue; }
1682 # Check for guested configure.
1683 if test -f "$ac_srcdir/configure.gnu"; then
1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686 elif test -f "$ac_srcdir/configure"; then
1688 $SHELL "$ac_srcdir/configure" --help=recursive
1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 cd "$ac_pwd" || { ac_status=$?; break; }
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1699 ecryptfs-utils configure 106
1700 generated by GNU Autoconf 2.69
1702 Copyright (C) 2012 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_compile
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_cpp conftest.$ac_ext"
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } > conftest.i && {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 as_fn_set_status $ac_retval
1788 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1791 # the include files in INCLUDES and setting the cache variable VAR
1793 ac_fn_c_check_header_mongrel ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if eval \${$3+:} false; then :
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1806 # Is the header compilable?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1808 $as_echo_n "checking $2 usability... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 ac_header_compiler=yes
1817 ac_header_compiler=no
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1821 $as_echo "$ac_header_compiler" >&6; }
1823 # Is the header present?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1825 $as_echo_n "checking $2 presence... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1830 if ac_fn_c_try_cpp "$LINENO"; then :
1831 ac_header_preproc=yes
1833 ac_header_preproc=no
1835 rm -f conftest.err conftest.i conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1837 $as_echo "$ac_header_preproc" >&6; }
1839 # So? What about this header?
1840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1843 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1849 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1851 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1853 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1855 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863 $as_echo_n "(cached) " >&6
1865 eval "$3=\$ac_header_compiler"
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873 } # ac_fn_c_check_header_mongrel
1875 # ac_fn_c_try_run LINENO
1876 # ----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1878 # that executables *can* be run.
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if { { ac_try="$ac_link"
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>&5
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1893 { { case "(($ac_try" in
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_try") 2>&5
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; }; }; then :
1905 $as_echo "$as_me: program exited with status $ac_status" >&5
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 ac_retval=$ac_status
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 as_fn_set_status $ac_retval
1917 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1918 # -------------------------------------------------------
1919 # Tests whether HEADER exists and can be compiled using the include files in
1920 # INCLUDES, setting the cache variable VAR accordingly.
1921 ac_fn_c_check_header_compile ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if eval \${$3+:} false; then :
1927 $as_echo_n "(cached) " >&6
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1934 if ac_fn_c_try_compile "$LINENO"; then :
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 } # ac_fn_c_check_header_compile
1948 # ac_fn_c_try_link LINENO
1949 # -----------------------
1950 # Try to link conftest.$ac_ext, and return whether this succeeded.
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 rm -f conftest.$ac_objext conftest$ac_exeext
1955 if { { ac_try="$ac_link"
1957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_link") 2>conftest.err
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && {
1971 test -z "$ac_c_werror_flag" ||
1972 test ! -s conftest.err
1973 } && test -s conftest$ac_exeext && {
1974 test "$cross_compiling" = yes ||
1975 test -x conftest$ac_exeext
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1984 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1985 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1986 # interfere with the next link command; also delete a directory that is
1987 # left behind by Apple's compiler. We do this before executing the actions.
1988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990 as_fn_set_status $ac_retval
1992 } # ac_fn_c_try_link
1994 # ac_fn_c_check_func LINENO FUNC VAR
1995 # ----------------------------------
1996 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1997 ac_fn_c_check_func ()
1999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001 $as_echo_n "checking for $2... " >&6; }
2002 if eval \${$3+:} false; then :
2003 $as_echo_n "(cached) " >&6
2005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2007 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2009 #define $2 innocuous_$2
2011 /* System header to define __stub macros and hopefully few prototypes,
2012 which can conflict with char $2 (); below.
2013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2014 <limits.h> exists even on freestanding compilers. */
2017 # include <limits.h>
2019 # include <assert.h>
2024 /* Override any GCC internal prototype to avoid an error.
2025 Use char because int might match the return type of a GCC
2026 builtin and then its argument prototype would still apply. */
2031 /* The GNU C library defines this for functions which it implements
2032 to always fail with ENOSYS. Some functions are actually named
2033 something starting with __ and the normal name is an alias. */
2034 #if defined __stub_$2 || defined __stub___$2
2046 if ac_fn_c_try_link "$LINENO"; then :
2051 rm -f core conftest.err conftest.$ac_objext \
2052 conftest$ac_exeext conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 } # ac_fn_c_check_func
2060 cat >config.log <<_ACEOF
2061 This file contains any messages produced by compilers while
2062 running configure, to aid debugging if configure makes a mistake.
2064 It was created by ecryptfs-utils $as_me 106, which was
2065 generated by GNU Autoconf 2.69. Invocation command line was
2077 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2078 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2079 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2080 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2081 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2083 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2084 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2086 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2087 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2088 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2089 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2090 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2091 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2092 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 $as_echo "PATH: $as_dir"
2117 # Keep a trace of the command line.
2118 # Strip out --no-create and --no-recursion so they do not pile up.
2119 # Strip out --silent because we don't want to record it for future runs.
2120 # Also quote any args containing shell meta-characters.
2121 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_must_keep_next=false
2131 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2133 | -silent | --silent | --silen | --sile | --sil)
2136 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2141 as_fn_append ac_configure_args1 " '$ac_arg'"
2142 if test $ac_must_keep_next = true; then
2143 ac_must_keep_next=false # Got value, back to normal.
2146 *=* | --config-cache | -C | -disable-* | --disable-* \
2147 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2148 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2149 | -with-* | --with-* | -without-* | --without-* | --x)
2150 case "$ac_configure_args0 " in
2151 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2154 -* ) ac_must_keep_next=true ;;
2157 as_fn_append ac_configure_args " '$ac_arg'"
2162 { ac_configure_args0=; unset ac_configure_args0;}
2163 { ac_configure_args1=; unset ac_configure_args1;}
2165 # When interrupted or exit'd, cleanup temporary files, and complete
2166 # config.log. We remove comments because anyway the quotes in there
2167 # would cause problems or look ugly.
2168 # WARNING: Use '\'' to represent an apostrophe within the trap.
2169 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2170 trap 'exit_status=$?
2171 # Save into config.log some information that might help in debugging.
2175 $as_echo "## ---------------- ##
2176 ## Cache variables. ##
2177 ## ---------------- ##"
2179 # The following way of writing the cache mishandles newlines in values,
2181 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2182 eval ac_val=\$$ac_var
2186 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2187 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2190 _ | IFS | as_nl) ;; #(
2191 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2192 *) { eval $ac_var=; unset $ac_var;} ;;
2197 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2198 *${as_nl}ac_space=\ *)
2200 "s/'\''/'\''\\\\'\'''\''/g;
2201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 $as_echo "## ----------------- ##
2212 ## Output variables. ##
2213 ## ----------------- ##"
2215 for ac_var in $ac_subst_vars
2217 eval ac_val=\$$ac_var
2219 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 $as_echo "$ac_var='\''$ac_val'\''"
2225 if test -n "$ac_subst_files"; then
2226 $as_echo "## ------------------- ##
2227 ## File substitutions. ##
2228 ## ------------------- ##"
2230 for ac_var in $ac_subst_files
2232 eval ac_val=\$$ac_var
2234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236 $as_echo "$ac_var='\''$ac_val'\''"
2241 if test -s confdefs.h; then
2242 $as_echo "## ----------- ##
2249 test "$ac_signal" != 0 &&
2250 $as_echo "$as_me: caught signal $ac_signal"
2251 $as_echo "$as_me: exit $exit_status"
2253 rm -f core *.core core.conftest.* &&
2254 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2257 for ac_signal in 1 2 13 15; do
2258 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2262 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2263 rm -f -r conftest* confdefs.h
2265 $as_echo "/* confdefs.h */" > confdefs.h
2267 # Predefined preprocessor variables.
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_NAME "$PACKAGE_NAME"
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_STRING "$PACKAGE_STRING"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_URL "$PACKAGE_URL"
2294 # Let the site file select an alternate cache file if it wants to.
2295 # Prefer an explicitly selected file to automatically selected ones.
2298 if test -n "$CONFIG_SITE"; then
2299 # We do not want a PATH search for config.site.
2300 case $CONFIG_SITE in #((
2301 -*) ac_site_file1=./$CONFIG_SITE;;
2302 */*) ac_site_file1=$CONFIG_SITE;;
2303 *) ac_site_file1=./$CONFIG_SITE;;
2305 elif test "x$prefix" != xNONE; then
2306 ac_site_file1=$prefix/share/config.site
2307 ac_site_file2=$prefix/etc/config.site
2309 ac_site_file1=$ac_default_prefix/share/config.site
2310 ac_site_file2=$ac_default_prefix/etc/config.site
2312 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2314 test "x$ac_site_file" = xNONE && continue
2315 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2320 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322 as_fn_error $? "failed to load site script $ac_site_file
2323 See \`config.log' for more details" "$LINENO" 5; }
2327 if test -r "$cache_file"; then
2328 # Some versions of bash will fail to source /dev/null (special files
2329 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2330 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2334 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335 *) . "./$cache_file";;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2344 # Check that the precious variables saved in the cache have kept the same
2346 ac_cache_corrupted=false
2347 for ac_var in $ac_precious_vars; do
2348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349 eval ac_new_set=\$ac_env_${ac_var}_set
2350 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351 eval ac_new_val=\$ac_env_${ac_var}_value
2352 case $ac_old_set,$ac_new_set in
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2363 if test "x$ac_old_val" != "x$ac_new_val"; then
2364 # differences in whitespace do not lead to failure.
2365 ac_old_val_w=`echo x $ac_old_val`
2366 ac_new_val_w=`echo x $ac_new_val`
2367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370 ac_cache_corrupted=:
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374 eval $ac_var=\$ac_old_val
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2382 # Pass precious variables to config.status.
2383 if test "$ac_new_set" = set; then
2385 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386 *) ac_arg=$ac_var=$ac_new_val ;;
2388 case " $ac_configure_args " in
2389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2390 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2394 if $ac_cache_corrupted; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2414 if test -f "$ac_dir/install-sh"; then
2416 ac_install_sh="$ac_aux_dir/install-sh -c"
2418 elif test -f "$ac_dir/install.sh"; then
2420 ac_install_sh="$ac_aux_dir/install.sh -c"
2422 elif test -f "$ac_dir/shtool"; then
2424 ac_install_sh="$ac_aux_dir/shtool install -c"
2428 if test -z "$ac_aux_dir"; then
2429 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2432 # These three variables are undocumented and unsupported,
2433 # and are intended to be withdrawn in a future Autoconf release.
2434 # They can cause serious problems if a builder's source tree is in a directory
2435 # whose full name contains unusual characters.
2436 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2437 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2438 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2441 # Make sure we can run config.sub.
2442 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2443 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2446 $as_echo_n "checking build system type... " >&6; }
2447 if ${ac_cv_build+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 ac_build_alias=$build_alias
2451 test "x$ac_build_alias" = x &&
2452 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2453 test "x$ac_build_alias" = x &&
2454 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2455 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2456 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2460 $as_echo "$ac_cv_build" >&6; }
2461 case $ac_cv_build in
2463 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2466 ac_save_IFS=$IFS; IFS='-'
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2476 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2480 $as_echo_n "checking host system type... " >&6; }
2481 if ${ac_cv_host+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 if test "x$host_alias" = x; then
2485 ac_cv_host=$ac_cv_build
2487 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2488 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2493 $as_echo "$ac_cv_host" >&6; }
2496 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2499 ac_save_IFS=$IFS; IFS='-'
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2509 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2513 $as_echo_n "checking target system type... " >&6; }
2514 if ${ac_cv_target+:} false; then :
2515 $as_echo_n "(cached) " >&6
2517 if test "x$target_alias" = x; then
2518 ac_cv_target=$ac_cv_host
2520 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2521 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2526 $as_echo "$ac_cv_target" >&6; }
2527 case $ac_cv_target in
2529 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2531 target=$ac_cv_target
2532 ac_save_IFS=$IFS; IFS='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2545 # The aliases save the names the user supplied, while $host etc.
2546 # will get canonicalized.
2547 test -n "$target_alias" &&
2548 test "$program_prefix$program_suffix$program_transform_name" = \
2550 program_prefix=${target_alias}-
2551 am__api_version='1.14'
2553 # Find a good install program. We prefer a C program (faster),
2554 # so one script is as good as another. But avoid the broken or
2555 # incompatible versions:
2556 # SysV /etc/install, /usr/sbin/install
2557 # SunOS /usr/etc/install
2558 # IRIX /sbin/install
2560 # AmigaOS /C/install, which installs bootblocks on floppy discs
2561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2564 # OS/2's system install, which has a completely different semantic
2565 # ./install, which can be erroneously created by make from ./install.sh.
2566 # Reject install programs that cannot install multiple files.
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2568 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2569 if test -z "$INSTALL"; then
2570 if ${ac_cv_path_install+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 # Account for people who put trailing slashes in PATH elements.
2579 case $as_dir/ in #((
2580 ./ | .// | /[cC]/* | \
2581 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2582 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2585 # OSF1 and SCO ODT 3.0 have their own names for install.
2586 # Don't use installbsd from OSF since it installs stuff as root
2588 for ac_prog in ginstall scoinst install; do
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2591 if test $ac_prog = install &&
2592 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2593 # AIX install. It has an incompatible calling convention.
2595 elif test $ac_prog = install &&
2596 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2597 # program-specific install script used by HP pwplus--don't use.
2600 rm -rf conftest.one conftest.two conftest.dir
2601 echo one > conftest.one
2602 echo two > conftest.two
2604 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2605 test -s conftest.one && test -s conftest.two &&
2606 test -s conftest.dir/conftest.one &&
2607 test -s conftest.dir/conftest.two
2609 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2622 rm -rf conftest.one conftest.two conftest.dir
2625 if test "${ac_cv_path_install+set}" = set; then
2626 INSTALL=$ac_cv_path_install
2628 # As a last resort, use the slow shell script. Don't cache a
2629 # value for INSTALL within a source directory, because that will
2630 # break other packages using the cache if that directory is
2631 # removed, or if the value is a relative name.
2632 INSTALL=$ac_install_sh
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2636 $as_echo "$INSTALL" >&6; }
2638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2639 # It thinks the first close brace ends the variable substitution.
2640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2647 $as_echo_n "checking whether build environment is sane... " >&6; }
2648 # Reject unsafe characters in $srcdir or the absolute working directory
2649 # name. Accept space and tab only in the latter.
2653 *[\\\"\#\$\&\'\`$am_lf]*)
2654 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2657 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2658 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2661 # Do 'set' in a subshell so we don't clobber the current shell's
2662 # arguments. Must try -L first in case configure is actually a
2663 # symlink; some systems play weird games with the mod time of symlinks
2664 # (eg FreeBSD returns the mod time of the symlink's containing
2668 for am_try in 1 2; do
2669 echo "timestamp, slept: $am_has_slept" > conftest.file
2670 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2671 if test "$*" = "X"; then
2673 set X `ls -t "$srcdir/configure" conftest.file`
2675 if test "$*" != "X $srcdir/configure conftest.file" \
2676 && test "$*" != "X conftest.file $srcdir/configure"; then
2678 # If neither matched, then we have a broken ls. This can happen
2679 # if, for instance, CONFIG_SHELL is bash and it inherits a
2680 # broken ls alias from the environment. This has actually
2681 # happened. Such a system could not be considered "sane".
2682 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2683 alias in your environment" "$LINENO" 5
2685 if test "$2" = conftest.file || test $am_try -eq 2; then
2692 test "$2" = conftest.file
2698 as_fn_error $? "newly created file is older than distributed files!
2699 Check your system clock" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2702 $as_echo "yes" >&6; }
2703 # If we didn't sleep, we still need to ensure time stamps of config.status and
2704 # generated files are strictly newer.
2706 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2713 test "$program_prefix" != NONE &&
2714 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2715 # Use a double $ so make ignores it.
2716 test "$program_suffix" != NONE &&
2717 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2718 # Double any \ or $.
2719 # By default was `s,x,x', remove it if useless.
2720 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2721 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2723 # expand $ac_aux_dir to an absolute path
2724 am_aux_dir=`cd $ac_aux_dir && pwd`
2726 if test x"${MISSING+set}" != xset; then
2729 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2731 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2734 # Use eval to expand $SHELL
2735 if eval "$MISSING --is-lightweight"; then
2736 am_missing_run="$MISSING "
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2740 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2743 if test x"${install_sh}" != xset; then
2746 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2748 install_sh="\${SHELL} $am_aux_dir/install-sh"
2752 # Installed binaries are usually stripped using 'strip' when the user
2753 # run "make install-strip". However 'strip' might not be the right
2754 # tool to use in cross-compilation environments, therefore Automake
2755 # will honor the 'STRIP' environment variable to overrule this program.
2756 if test "$cross_compiling" != no; then
2757 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2759 set dummy ${ac_tool_prefix}strip; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_STRIP+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$STRIP"; then
2766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 STRIP=$ac_cv_prog_STRIP
2786 if test -n "$STRIP"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2788 $as_echo "$STRIP" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2796 if test -z "$ac_cv_prog_STRIP"; then
2798 # Extract the first word of "strip", so it can be a program name with args.
2799 set dummy strip; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$ac_ct_STRIP"; then
2806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_ac_ct_STRIP="strip"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2826 if test -n "$ac_ct_STRIP"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2828 $as_echo "$ac_ct_STRIP" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2834 if test "x$ac_ct_STRIP" = x; then
2837 case $cross_compiling:$ac_tool_warned in
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned=yes ;;
2846 STRIP="$ac_cv_prog_STRIP"
2850 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2853 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2854 if test -z "$MKDIR_P"; then
2855 if ${ac_cv_path_mkdir+:} false; then :
2856 $as_echo_n "(cached) " >&6
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2862 test -z "$as_dir" && as_dir=.
2863 for ac_prog in mkdir gmkdir; do
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2866 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2867 'mkdir (GNU coreutils) '* | \
2868 'mkdir (coreutils) '* | \
2869 'mkdir (fileutils) '4.1*)
2870 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2880 test -d ./--version && rmdir ./--version
2881 if test "${ac_cv_path_mkdir+set}" = set; then
2882 MKDIR_P="$ac_cv_path_mkdir -p"
2884 # As a last resort, use the slow shell script. Don't cache a
2885 # value for MKDIR_P within a source directory, because that will
2886 # break other packages using the cache if that directory is
2887 # removed, or if the value is a relative name.
2888 MKDIR_P="$ac_install_sh -d"
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2892 $as_echo "$MKDIR_P" >&6; }
2894 for ac_prog in gawk mawk nawk awk
2896 # Extract the first word of "$ac_prog", so it can be a program name with args.
2897 set dummy $ac_prog; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if ${ac_cv_prog_AWK+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$AWK"; then
2904 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 ac_cv_prog_AWK="$ac_prog"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$AWK"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2926 $as_echo "$AWK" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2933 test -n "$AWK" && break
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2939 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2940 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2941 $as_echo_n "(cached) " >&6
2943 cat >conftest.make <<\_ACEOF
2946 @echo '@@@%%%=$(MAKE)=@@@%%%'
2948 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2951 eval ac_cv_prog_make_${ac_make}_set=yes;;
2953 eval ac_cv_prog_make_${ac_make}_set=no;;
2957 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2959 $as_echo "yes" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964 SET_MAKE="MAKE=${MAKE-make}"
2967 rm -rf .tst 2>/dev/null
2968 mkdir .tst 2>/dev/null
2969 if test -d .tst; then
2974 rmdir .tst 2>/dev/null
2976 # Check whether --enable-silent-rules was given.
2977 if test "${enable_silent_rules+set}" = set; then :
2978 enableval=$enable_silent_rules;
2981 case $enable_silent_rules in # (((
2982 yes) AM_DEFAULT_VERBOSITY=0;;
2983 no) AM_DEFAULT_VERBOSITY=1;;
2984 *) AM_DEFAULT_VERBOSITY=1;;
2986 am_make=${MAKE-make}
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2988 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2989 if ${am_cv_make_support_nested_variables+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 if $as_echo 'TRUE=$(BAR$(V))
2998 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2999 am_cv_make_support_nested_variables=yes
3001 am_cv_make_support_nested_variables=no
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3005 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3006 if test $am_cv_make_support_nested_variables = yes; then
3008 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3010 AM_V=$AM_DEFAULT_VERBOSITY
3011 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017 # is not polluted with repeated "-I."
3018 am__isrc=' -I$(srcdir)'
3019 # test to see if srcdir already configured
3020 if test -f $srcdir/config.status; then
3021 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027 if (cygpath --version) >/dev/null 2>/dev/null; then
3028 CYGPATH_W='cygpath -w'
3035 # Define the identity of the package.
3037 PACKAGE=${PACKAGE_NAME}
3038 VERSION=${PACKAGE_VERSION}
3041 cat >>confdefs.h <<_ACEOF
3042 #define PACKAGE "$PACKAGE"
3046 cat >>confdefs.h <<_ACEOF
3047 #define VERSION "$VERSION"
3050 # Some tools Automake needs.
3052 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3055 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3058 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3061 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3064 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3066 # For better backward compatibility. To be removed once Automake 1.9.x
3067 # dies out for good. For more background, see:
3068 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3069 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3070 mkdir_p='$(MKDIR_P)'
3072 # We need awk for the "check" target. The system "awk" is bad on
3074 # Always define AMTAR for backward compatibility. Yes, it's still used
3075 # in the wild :-( We should find a proper way to deprecate it ...
3079 # We'll loop over all known methods to create a tar archive until one works.
3080 _am_tools='gnutar pax cpio none'
3082 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3089 # POSIX will say in a future version that running "rm -f" with no argument
3090 # is OK; and we want to be able to make that assumption in our Makefile
3091 # recipes. So use an aggressive probe to check that the usage we want is
3092 # actually supported "in the wild" to an acceptable degree.
3093 # See automake bug#10828.
3094 # To make any issue more visible, cause the running configure to be aborted
3095 # by default if the 'rm' program in use doesn't match our expectations; the
3096 # user can still override this though.
3097 if rm -f && rm -fr && rm -rf; then : OK; else
3101 Your 'rm' program seems unable to run without file operands specified
3102 on the command line, even when the '-f' option is present. This is contrary
3103 to the behaviour of most rm programs out there, and not conforming with
3104 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3106 Please tell bug-automake@gnu.org about your system, including the value
3107 of your $PATH and any error possibly output before this message. This
3108 can help us improve future automake versions.
3111 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3112 echo 'Configuration will proceed anyway, since you have set the' >&2
3113 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3117 Aborting the configuration process, to ensure you take notice of the issue.
3119 You can download and install GNU coreutils to get an 'rm' implementation
3120 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3122 If you want to complete the configuration process using your problematic
3123 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3124 to "yes", and re-run configure.
3127 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3132 ac_config_headers="$ac_config_headers config.h"
3134 AM_CPPFLAGS='-include $(top_builddir)/config.h'
3138 # Check whether --enable-static was given.
3139 if test "${enable_static+set}" = set; then :
3140 enableval=$enable_static; p=${PACKAGE-default}
3142 yes) enable_static=yes ;;
3143 no) enable_static=no ;;
3146 # Look at the argument we got. We use all the common list separators.
3147 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3148 for pkg in $enableval; do
3150 if test "X$pkg" = "X$p"; then
3170 # libecryptfs versioning instructions
3172 # Update the version information only once per public release of
3173 # ecryptfs-utils. More frequent updates are unnecessary, and only guarantee
3174 # that the current interface number gets larger faster.
3176 # 1. If the library source code has changed at all since the last update, then
3177 # increment LIBECRYPTFS_LT_REVISION.
3178 # 2. If any interfaces have been added, removed, or changed since the last
3179 # update, increment LIBECRYPTFS_LT_CURRENT, and set LIBECRYPTFS_LT_REVISION to 0.
3180 # 3. If any interfaces have been added since the last public release, then
3181 # increment LIBECRYPTFS_LT_AGE.
3182 # 4. If any interfaces have been removed or changed since the last public
3183 # release, then set LIBECRYPTFS_LT_AGE to 0.
3186 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3187 LIBECRYPTFS_LT_CURRENT="1"
3188 LIBECRYPTFS_LT_REVISION="0"
3189 LIBECRYPTFS_LT_AGE="0"
3194 # Check whether --enable-nss was given.
3195 if test "${enable_nss+set}" = set; then :
3196 enableval=$enable_nss;
3203 # Check whether --enable-pywrap was given.
3204 if test "${enable_pywrap+set}" = set; then :
3205 enableval=$enable_pywrap;
3207 enable_pywrap="detect"
3212 # Check whether --enable-openssl was given.
3213 if test "${enable_openssl+set}" = set; then :
3214 enableval=$enable_openssl;
3216 enable_openssl="detect"
3221 # Check whether --enable-pkcs11-helper was given.
3222 if test "${enable_pkcs11_helper+set}" = set; then :
3223 enableval=$enable_pkcs11_helper;
3225 enable_pkcs11_helper="no"
3230 # Check whether --enable-tspi was given.
3231 if test "${enable_tspi+set}" = set; then :
3232 enableval=$enable_tspi;
3239 # Check whether --enable-gpg was given.
3240 if test "${enable_gpg+set}" = set; then :
3241 enableval=$enable_gpg;
3248 # Check whether --enable-pam was given.
3249 if test "${enable_pam+set}" = set; then :
3250 enableval=$enable_pam;
3257 # Check whether --enable-gui was given.
3258 if test "${enable_gui+set}" = set; then :
3259 enableval=$enable_gui;
3266 # Check whether --enable-docs was given.
3267 if test "${enable_docs+set}" = set; then :
3268 enableval=$enable_docs;
3275 # Check whether --enable-docs-gen was given.
3276 if test "${enable_docs_gen+set}" = set; then :
3277 enableval=$enable_docs_gen;
3279 enable_docs_gen="no"
3283 test "${enable_docs_gen}" = "yes" && enable_docs="yes"
3285 # Check whether --enable-tests was given.
3286 if test "${enable_tests+set}" = set; then :
3287 enableval=$enable_tests;
3294 # Check whether --enable-mudflap was given.
3295 if test "${enable_mudflap+set}" = set; then :
3296 enableval=$enable_mudflap;
3297 if "${enableval}" = "yes"; then
3298 CFLAGS="$CFLAGS -fmudflap"
3299 LDFLAGS="$LDFLAGS -lmudflap"
3307 # Check whether --with-gpgme-prefix was given.
3308 if test "${with_gpgme_prefix+set}" = set; then :
3309 withval=$with_gpgme_prefix;
3311 with_gpgme_prefix="/usr"
3317 # Check whether --with-pamdir was given.
3318 if test "${with_pamdir+set}" = set; then :
3319 withval=$with_pamdir; pamdir="${withval}"
3322 if test "${prefix}" = "/usr"; then
3323 pamdir="/lib${libdir##*/lib}/security"
3325 pamdir="\$(libdir)/security"
3333 # Check whether --with-ecryptfskeymoddir was given.
3334 if test "${with_ecryptfskeymoddir+set}" = set; then :
3335 withval=$with_ecryptfskeymoddir;
3336 ecryptfskeymoddir="${withval}"
3337 full_ecryptfskeymoddir="${ecryptfskeymoddir}"
3341 full_ecryptfskeymoddir=`eval eval eval eval eval echo "${libdir}/ecryptfs" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
3342 ecryptfskeymoddir="\$(libdir)/ecryptfs"
3348 cat >>confdefs.h <<_ACEOF
3349 #define ECRYPTFS_DEFAULT_KEY_MOD_DIR "$full_ecryptfskeymoddir"
3353 DEPDIR="${am__leading_dot}deps"
3355 ac_config_commands="$ac_config_commands depfiles"
3358 am_make=${MAKE-make}
3359 cat > confinc << 'END'
3361 @echo this is the am__doit target
3364 # If we don't find an include directive, just comment out the code.
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3366 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3370 # First try GNU make style include.
3371 echo "include confinc" > confmf
3372 # Ignore all kinds of additional output from 'make'.
3373 case `$am_make -s -f confmf 2> /dev/null` in #(
3374 *the\ am__doit\ target*)
3380 # Now try BSD make style include.
3381 if test "$am__include" = "#"; then
3382 echo '.include "confinc"' > confmf
3383 case `$am_make -s -f confmf 2> /dev/null` in #(
3384 *the\ am__doit\ target*)
3385 am__include=.include
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3394 $as_echo "$_am_result" >&6; }
3395 rm -f confinc confmf
3397 # Check whether --enable-dependency-tracking was given.
3398 if test "${enable_dependency_tracking+set}" = set; then :
3399 enableval=$enable_dependency_tracking;
3402 if test "x$enable_dependency_tracking" != xno; then
3403 am_depcomp="$ac_aux_dir/depcomp"
3407 if test "x$enable_dependency_tracking" != xno; then
3417 ac_cpp='$CPP $CPPFLAGS'
3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421 if test -n "$ac_tool_prefix"; then
3422 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3423 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if ${ac_cv_prog_CC+:} false; then :
3427 $as_echo_n "(cached) " >&6
3429 if test -n "$CC"; then
3430 ac_cv_prog_CC="$CC" # Let the user override the test.
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 if test -n "$CC"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3452 $as_echo "$CC" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3460 if test -z "$ac_cv_prog_CC"; then
3462 # Extract the first word of "gcc", so it can be a program name with args.
3463 set dummy gcc; ac_word=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -n "$ac_ct_CC"; then
3470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir=.
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3479 ac_cv_prog_ac_ct_CC="gcc"
3480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3490 if test -n "$ac_ct_CC"; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3492 $as_echo "$ac_ct_CC" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3498 if test "x$ac_ct_CC" = x; then
3501 case $cross_compiling:$ac_tool_warned in
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505 ac_tool_warned=yes ;;
3513 if test -z "$CC"; then
3514 if test -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3516 set dummy ${ac_tool_prefix}cc; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_prog_CC+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC="$CC" # Let the user override the test.
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir=.
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3532 ac_cv_prog_CC="${ac_tool_prefix}cc"
3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test -n "$CC"; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3554 if test -z "$CC"; then
3555 # Extract the first word of "cc", so it can be a program name with args.
3556 set dummy cc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_CC+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$CC"; then
3563 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3574 ac_prog_rejected=yes
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 if test $ac_prog_rejected = yes; then
3586 # We found a bogon in the path, so make sure we never use it.
3587 set dummy $ac_cv_prog_CC
3589 if test $# != 0; then
3590 # We chose a different compiler from the bogus one.
3591 # However, it has the same basename, so the bogon will be chosen
3592 # first if we set CC to just the basename; use the full file name.
3594 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3600 if test -n "$CC"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 $as_echo "$CC" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3610 if test -z "$CC"; then
3611 if test -n "$ac_tool_prefix"; then
3612 for ac_prog in cl.exe
3614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_CC+:} false; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -n "$CC"; then
3622 ac_cv_prog_CC="$CC" # Let the user override the test.
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 if test -n "$CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3644 $as_echo "$CC" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3651 test -n "$CC" && break
3654 if test -z "$CC"; then
3656 for ac_prog in cl.exe
3658 # Extract the first word of "$ac_prog", so it can be a program name with args.
3659 set dummy $ac_prog; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3663 $as_echo_n "(cached) " >&6
3665 if test -n "$ac_ct_CC"; then
3666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_ac_ct_CC="$ac_prog"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3686 if test -n "$ac_ct_CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3688 $as_echo "$ac_ct_CC" >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3695 test -n "$ac_ct_CC" && break
3698 if test "x$ac_ct_CC" = x; then
3701 case $cross_compiling:$ac_tool_warned in
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3714 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "no acceptable C compiler found in \$PATH
3717 See \`config.log' for more details" "$LINENO" 5; }
3719 # Provide some information about the compiler.
3720 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3723 for ac_option in --version -v -V -qversion; do
3724 { { ac_try="$ac_compiler $ac_option >&5"
3726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3733 if test -s conftest.err; then
3735 ... rest of stderr output deleted ...
3736 10q' conftest.err >conftest.er1
3737 cat conftest.er1 >&5
3739 rm -f conftest.er1 conftest.err
3740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741 test $ac_status = 0; }
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3755 ac_clean_files_save=$ac_clean_files
3756 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3757 # Try to create an executable without -o first, disregard a.out.
3758 # It will help us diagnose broken compilers, and finding out an intuition
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3761 $as_echo_n "checking whether the C compiler works... " >&6; }
3762 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3764 # The possible output files:
3765 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3768 for ac_file in $ac_files
3771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3772 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3777 if { { ac_try="$ac_link_default"
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_link_default") 2>&5
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; then :
3788 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3789 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3790 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3791 # so that the user can short-circuit this test for compilers unknown to
3793 for ac_file in $ac_files ''
3795 test -f "$ac_file" || continue
3797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3800 # We found the default executable, but exeext='' is most
3804 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3806 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3808 # We set ac_cv_exeext here because the later test for it is not
3809 # safe: cross compilers may not add the suffix if given an `-o'
3810 # argument, so we may need to know it at that point already.
3811 # Even if this section looks crufty: it has the advantage of
3818 test "$ac_cv_exeext" = no && ac_cv_exeext=
3823 if test -z "$ac_file"; then :
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3826 $as_echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error 77 "C compiler cannot create executables
3832 See \`config.log' for more details" "$LINENO" 5; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3835 $as_echo "yes" >&6; }
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3838 $as_echo_n "checking for C compiler default output file name... " >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3840 $as_echo "$ac_file" >&6; }
3841 ac_exeext=$ac_cv_exeext
3843 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3844 ac_clean_files=$ac_clean_files_save
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3846 $as_echo_n "checking for suffix of executables... " >&6; }
3847 if { { ac_try="$ac_link"
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_link") 2>&5
3856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857 test $ac_status = 0; }; then :
3858 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3859 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3860 # work properly (i.e., refer to `conftest.exe'), while it won't with
3862 for ac_file in conftest.exe conftest conftest.*; do
3863 test -f "$ac_file" || continue
3865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3866 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3875 See \`config.log' for more details" "$LINENO" 5; }
3877 rm -f conftest conftest$ac_cv_exeext
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3879 $as_echo "$ac_cv_exeext" >&6; }
3881 rm -f conftest.$ac_ext
3882 EXEEXT=$ac_cv_exeext
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3890 FILE *f = fopen ("conftest.out", "w");
3891 return ferror (f) || fclose (f) != 0;
3897 ac_clean_files="$ac_clean_files conftest.out"
3898 # Check that the compiler produces executables we can run. If not, either
3899 # the compiler is broken, or we cross compile.
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3901 $as_echo_n "checking whether we are cross compiling... " >&6; }
3902 if test "$cross_compiling" != yes; then
3903 { { ac_try="$ac_link"
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3909 $as_echo "$ac_try_echo"; } >&5
3910 (eval "$ac_link") 2>&5
3912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913 test $ac_status = 0; }
3914 if { ac_try='./conftest$ac_cv_exeext'
3915 { { case "(($ac_try" in
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_try") 2>&5
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }; }; then
3927 if test "$cross_compiling" = maybe; then
3930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932 as_fn_error $? "cannot run C compiled programs.
3933 If you meant to cross compile, use \`--host'.
3934 See \`config.log' for more details" "$LINENO" 5; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3939 $as_echo "$cross_compiling" >&6; }
3941 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3942 ac_clean_files=$ac_clean_files_save
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3944 $as_echo_n "checking for suffix of object files... " >&6; }
3945 if ${ac_cv_objext+:} false; then :
3946 $as_echo_n "(cached) " >&6
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3959 rm -f conftest.o conftest.obj
3960 if { { ac_try="$ac_compile"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_compile") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 for ac_file in conftest.o conftest.obj conftest.*; do
3972 test -f "$ac_file" || continue;
3974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3980 $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "cannot compute suffix of object files: cannot compile
3986 See \`config.log' for more details" "$LINENO" 5; }
3988 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3991 $as_echo "$ac_cv_objext" >&6; }
3992 OBJEXT=$ac_cv_objext
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3995 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3996 if ${ac_cv_c_compiler_gnu+:} false; then :
3997 $as_echo_n "(cached) " >&6
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4013 if ac_fn_c_try_compile "$LINENO"; then :
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4023 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4024 if test $ac_compiler_gnu = yes; then
4029 ac_test_CFLAGS=${CFLAGS+set}
4030 ac_save_CFLAGS=$CFLAGS
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4032 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4033 if ${ac_cv_prog_cc_g+:} false; then :
4034 $as_echo_n "(cached) " >&6
4036 ac_save_c_werror_flag=$ac_c_werror_flag
4037 ac_c_werror_flag=yes
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4051 if ac_fn_c_try_compile "$LINENO"; then :
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4066 if ac_fn_c_try_compile "$LINENO"; then :
4069 ac_c_werror_flag=$ac_save_c_werror_flag
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4082 if ac_fn_c_try_compile "$LINENO"; then :
4085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4090 ac_c_werror_flag=$ac_save_c_werror_flag
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4093 $as_echo "$ac_cv_prog_cc_g" >&6; }
4094 if test "$ac_test_CFLAGS" = set; then
4095 CFLAGS=$ac_save_CFLAGS
4096 elif test $ac_cv_prog_cc_g = yes; then
4097 if test "$GCC" = yes; then
4103 if test "$GCC" = yes; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4110 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4111 if ${ac_cv_prog_cc_c89+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 ac_cv_prog_cc_c89=no
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4122 struct buf { int x; };
4123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4124 static char *e (p, i)
4130 static char *f (char * (*g) (char **, int), char **p, ...)
4135 s = g (p, va_arg (v,int));
4140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4141 function prototypes and stuff, but not '\xHH' hex character constants.
4142 These don't provoke an error unfortunately, instead are silently treated
4143 as 'x'. The following induces an error, until -std is added to get
4144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4145 array size at least. It's necessary to write '\x00'==0 to get something
4146 that's true only with -std. */
4147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4150 inside strings and character constants. */
4152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4154 int test (int i, double x);
4155 struct s1 {int (*f) (int a);};
4156 struct s2 {int (*f) (double a);};
4157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4171 CC="$ac_save_CC $ac_arg"
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_cv_prog_cc_c89=$ac_arg
4175 rm -f core conftest.err conftest.$ac_objext
4176 test "x$ac_cv_prog_cc_c89" != "xno" && break
4178 rm -f conftest.$ac_ext
4183 case "x$ac_cv_prog_cc_c89" in
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4186 $as_echo "none needed" >&6; } ;;
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4189 $as_echo "unsupported" >&6; } ;;
4191 CC="$CC $ac_cv_prog_cc_c89"
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4193 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4195 if test "x$ac_cv_prog_cc_c89" != xno; then :
4200 ac_cpp='$CPP $CPPFLAGS'
4201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4211 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4212 if ${am_cv_prog_cc_c_o+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4226 # Make sure it works both with $CC and with simple cc.
4227 # Following AC_PROG_CC_C_O, we do the test twice because some
4228 # compilers refuse to overwrite an existing .o file with -o,
4229 # though they will create one.
4230 am_cv_prog_cc_c_o=yes
4232 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4233 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } \
4237 && test -f conftest2.$ac_objext; then
4240 am_cv_prog_cc_c_o=no
4244 rm -f core conftest*
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4248 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4249 if test "$am_cv_prog_cc_c_o" != yes; then
4250 # Losing compiler, so override with the script.
4251 # FIXME: It is wrong to rewrite CC.
4252 # But if we don't then we get into trouble of one sort or another.
4253 # A longer-term fix would be to have automake use am__CC in this case,
4254 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4255 CC="$am_aux_dir/compile $CC"
4258 ac_cpp='$CPP $CPPFLAGS'
4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4264 depcc="$CC" am_compiler_list=
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4267 $as_echo_n "checking dependency style of $depcc... " >&6; }
4268 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4272 # We make a subdir and do the tests there. Otherwise we can end up
4273 # making bogus files that we don't know about and never remove. For
4274 # instance it was reported that on HP-UX the gcc test will end up
4275 # making a dummy file named 'D' -- because '-MD' means "put the output
4279 # Copy depcomp to subdir because otherwise we won't find it if we're
4280 # using a relative directory.
4281 cp "$am_depcomp" conftest.dir
4283 # We will build objects and dependencies in a subdirectory because
4284 # it helps to detect inapplicable dependency modes. For instance
4285 # both Tru64's cc and ICC support -MD to output dependencies as a
4286 # side effect of compilation, but ICC will put the dependencies in
4287 # the current directory while Tru64 will put them in the object
4291 am_cv_CC_dependencies_compiler_type=none
4292 if test "$am_compiler_list" = ""; then
4293 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4296 case " $depcc " in #(
4297 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4300 for depmode in $am_compiler_list; do
4301 # Setup a source with many dependencies, because some compilers
4302 # like to wrap large dependency lists on column 80 (with \), and
4303 # we should not choose a depcomp mode which is confused by this.
4305 # We need to recreate these files for each test, as the compiler may
4306 # overwrite some of them when testing with obscure command lines.
4307 # This happens at least with the AIX C compiler.
4309 for i in 1 2 3 4 5 6; do
4310 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4311 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4312 # Solaris 10 /bin/sh.
4313 echo '/* dummy */' > sub/conftst$i.h
4315 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4317 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4318 # mode. It turns out that the SunPro C++ compiler does not properly
4319 # handle '-M -o', and we need to detect this. Also, some Intel
4320 # versions had trouble with output in subdirs.
4321 am__obj=sub/conftest.${OBJEXT-o}
4322 am__minus_obj="-o $am__obj"
4325 # This depmode causes a compiler race in universal mode.
4326 test "$am__universal" = false || continue
4329 # After this tag, mechanisms are not by side-effect, so they'll
4330 # only be used when explicitly requested.
4331 if test "x$enable_dependency_tracking" = xyes; then
4337 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4338 # This compiler won't grok '-c -o', but also, the minuso test has
4339 # not run yet. These depmodes are late enough in the game, and
4340 # so weak that their functioning should not be impacted.
4341 am__obj=conftest.${OBJEXT-o}
4346 if depmode=$depmode \
4347 source=sub/conftest.c object=$am__obj \
4348 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4349 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4350 >/dev/null 2>conftest.err &&
4351 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4352 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4353 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4354 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4355 # icc doesn't choke on unknown options, it will just issue warnings
4356 # or remarks (even with -Werror). So we grep stderr for any message
4357 # that says an option was ignored or not supported.
4358 # When given -MP, icc 7.0 and 7.1 complain thusly:
4359 # icc: Command line warning: ignoring option '-M'; no argument required
4360 # The diagnosis changed in icc 8.0:
4361 # icc: Command line remark: option '-MP' not supported
4362 if (grep 'ignoring option' conftest.err ||
4363 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4364 am_cv_CC_dependencies_compiler_type=$depmode
4373 am_cv_CC_dependencies_compiler_type=none
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4378 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4379 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4382 test "x$enable_dependency_tracking" != xno \
4383 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4385 am__fastdepCC_FALSE='#'
4387 am__fastdepCC_TRUE='#'
4388 am__fastdepCC_FALSE=
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4399 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4400 # On Suns, sometimes $CPP names a directory.
4401 if test -n "$CPP" && test -d "$CPP"; then
4404 if test -z "$CPP"; then
4405 if ${ac_cv_prog_CPP+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 # Double quotes because CPP needs to be expanded
4409 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4412 for ac_c_preproc_warn_flag in '' yes
4414 # Use a header file that comes with gcc, so configuring glibc
4415 # with a fresh cross-compiler works.
4416 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4417 # <limits.h> exists even on freestanding compilers.
4418 # On the NeXT, cc -E runs the code through the compiler's parser,
4419 # not just through cpp. "Syntax error" is here to catch this case.
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4423 # include <limits.h>
4425 # include <assert.h>
4429 if ac_fn_c_try_cpp "$LINENO"; then :
4432 # Broken: fails on valid input.
4435 rm -f conftest.err conftest.i conftest.$ac_ext
4437 # OK, works on sane cases. Now check whether nonexistent headers
4438 # can be detected and how.
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <ac_nonexistent.h>
4443 if ac_fn_c_try_cpp "$LINENO"; then :
4444 # Broken: success on invalid input.
4447 # Passes both tests.
4451 rm -f conftest.err conftest.i conftest.$ac_ext
4454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4455 rm -f conftest.i conftest.err conftest.$ac_ext
4456 if $ac_preproc_ok; then :
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4469 $as_echo "$CPP" >&6; }
4471 for ac_c_preproc_warn_flag in '' yes
4473 # Use a header file that comes with gcc, so configuring glibc
4474 # with a fresh cross-compiler works.
4475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4476 # <limits.h> exists even on freestanding compilers.
4477 # On the NeXT, cc -E runs the code through the compiler's parser,
4478 # not just through cpp. "Syntax error" is here to catch this case.
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4482 # include <limits.h>
4484 # include <assert.h>
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4491 # Broken: fails on valid input.
4494 rm -f conftest.err conftest.i conftest.$ac_ext
4496 # OK, works on sane cases. Now check whether nonexistent headers
4497 # can be detected and how.
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4500 #include <ac_nonexistent.h>
4502 if ac_fn_c_try_cpp "$LINENO"; then :
4503 # Broken: success on invalid input.
4506 # Passes both tests.
4510 rm -f conftest.err conftest.i conftest.$ac_ext
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.i conftest.err conftest.$ac_ext
4515 if $ac_preproc_ok; then :
4518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4520 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4521 See \`config.log' for more details" "$LINENO" 5; }
4525 ac_cpp='$CPP $CPPFLAGS'
4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4532 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4533 if ${ac_cv_path_GREP+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 if test -z "$GREP"; then
4537 ac_path_GREP_found=false
4538 # Loop through the user's path and test for each of PROGNAME-LIST
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4543 test -z "$as_dir" && as_dir=.
4544 for ac_prog in grep ggrep; do
4545 for ac_exec_ext in '' $ac_executable_extensions; do
4546 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4547 as_fn_executable_p "$ac_path_GREP" || continue
4548 # Check for GNU ac_path_GREP and select it if it is found.
4549 # Check for GNU $ac_path_GREP
4550 case `"$ac_path_GREP" --version 2>&1` in
4552 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4555 $as_echo_n 0123456789 >"conftest.in"
4558 cat "conftest.in" "conftest.in" >"conftest.tmp"
4559 mv "conftest.tmp" "conftest.in"
4560 cp "conftest.in" "conftest.nl"
4561 $as_echo 'GREP' >> "conftest.nl"
4562 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4563 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4564 as_fn_arith $ac_count + 1 && ac_count=$as_val
4565 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4566 # Best one so far, save it but keep looking for a better one
4567 ac_cv_path_GREP="$ac_path_GREP"
4568 ac_path_GREP_max=$ac_count
4570 # 10*(2^10) chars as input seems more than enough
4571 test $ac_count -gt 10 && break
4573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4576 $ac_path_GREP_found && break 3
4581 if test -z "$ac_cv_path_GREP"; then
4582 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4585 ac_cv_path_GREP=$GREP
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4590 $as_echo "$ac_cv_path_GREP" >&6; }
4591 GREP="$ac_cv_path_GREP"
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4595 $as_echo_n "checking for egrep... " >&6; }
4596 if ${ac_cv_path_EGREP+:} false; then :
4597 $as_echo_n "(cached) " >&6
4599 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4600 then ac_cv_path_EGREP="$GREP -E"
4602 if test -z "$EGREP"; then
4603 ac_path_EGREP_found=false
4604 # Loop through the user's path and test for each of PROGNAME-LIST
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4609 test -z "$as_dir" && as_dir=.
4610 for ac_prog in egrep; do
4611 for ac_exec_ext in '' $ac_executable_extensions; do
4612 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4613 as_fn_executable_p "$ac_path_EGREP" || continue
4614 # Check for GNU ac_path_EGREP and select it if it is found.
4615 # Check for GNU $ac_path_EGREP
4616 case `"$ac_path_EGREP" --version 2>&1` in
4618 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4621 $as_echo_n 0123456789 >"conftest.in"
4624 cat "conftest.in" "conftest.in" >"conftest.tmp"
4625 mv "conftest.tmp" "conftest.in"
4626 cp "conftest.in" "conftest.nl"
4627 $as_echo 'EGREP' >> "conftest.nl"
4628 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4629 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4630 as_fn_arith $ac_count + 1 && ac_count=$as_val
4631 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4632 # Best one so far, save it but keep looking for a better one
4633 ac_cv_path_EGREP="$ac_path_EGREP"
4634 ac_path_EGREP_max=$ac_count
4636 # 10*(2^10) chars as input seems more than enough
4637 test $ac_count -gt 10 && break
4639 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4642 $ac_path_EGREP_found && break 3
4647 if test -z "$ac_cv_path_EGREP"; then
4648 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4651 ac_cv_path_EGREP=$EGREP
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4657 $as_echo "$ac_cv_path_EGREP" >&6; }
4658 EGREP="$ac_cv_path_EGREP"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4662 $as_echo_n "checking for ANSI C header files... " >&6; }
4663 if ${ac_cv_header_stdc+:} false; then :
4664 $as_echo_n "(cached) " >&6
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_cv_header_stdc=yes
4684 ac_cv_header_stdc=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 if test $ac_cv_header_stdc = yes; then
4689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696 $EGREP "memchr" >/dev/null 2>&1; then :
4699 ac_cv_header_stdc=no
4705 if test $ac_cv_header_stdc = yes; then
4706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4713 $EGREP "free" >/dev/null 2>&1; then :
4716 ac_cv_header_stdc=no
4722 if test $ac_cv_header_stdc = yes; then
4723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4724 if test "$cross_compiling" = yes; then :
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4731 #if ((' ' & 0x0FF) == 0x020)
4732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4735 # define ISLOWER(c) \
4736 (('a' <= (c) && (c) <= 'i') \
4737 || ('j' <= (c) && (c) <= 'r') \
4738 || ('s' <= (c) && (c) <= 'z'))
4739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4747 for (i = 0; i < 256; i++)
4748 if (XOR (islower (i), ISLOWER (i))
4749 || toupper (i) != TOUPPER (i))
4754 if ac_fn_c_try_run "$LINENO"; then :
4757 ac_cv_header_stdc=no
4759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4760 conftest.$ac_objext conftest.beam conftest.$ac_ext
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4766 $as_echo "$ac_cv_header_stdc" >&6; }
4767 if test $ac_cv_header_stdc = yes; then
4769 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4773 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4774 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4775 inttypes.h stdint.h unistd.h
4777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4778 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4781 cat >>confdefs.h <<_ACEOF
4782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4791 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4792 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4799 if test "$MINIX" = yes; then
4801 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4804 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4807 $as_echo "#define _MINIX 1" >>confdefs.h
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4813 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4814 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4815 $as_echo_n "(cached) " >&6
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4820 # define __EXTENSIONS__ 1
4821 $ac_includes_default
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_cv_safe_to_define___extensions__=yes
4833 ac_cv_safe_to_define___extensions__=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4838 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4839 test $ac_cv_safe_to_define___extensions__ = yes &&
4840 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4842 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4844 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4846 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4848 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4854 ac_cpp='$CPP $CPPFLAGS'
4855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4858 if test -n "$ac_tool_prefix"; then
4859 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4860 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_CC+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC="$CC" # Let the user override the test.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4876 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 if test -n "$CC"; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4889 $as_echo "$CC" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4897 if test -z "$ac_cv_prog_CC"; then
4899 # Extract the first word of "gcc", so it can be a program name with args.
4900 set dummy gcc; ac_word=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -n "$ac_ct_CC"; then
4907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir=.
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916 ac_cv_prog_ac_ct_CC="gcc"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4927 if test -n "$ac_ct_CC"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4929 $as_echo "$ac_ct_CC" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4935 if test "x$ac_ct_CC" = x; then
4938 case $cross_compiling:$ac_tool_warned in
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned=yes ;;
4950 if test -z "$CC"; then
4951 if test -n "$ac_tool_prefix"; then
4952 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4953 set dummy ${ac_tool_prefix}cc; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_CC+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$CC"; then
4960 ac_cv_prog_CC="$CC" # Let the user override the test.
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_CC="${ac_tool_prefix}cc"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 if test -n "$CC"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4982 $as_echo "$CC" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4991 if test -z "$CC"; then
4992 # Extract the first word of "cc", so it can be a program name with args.
4993 set dummy cc; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_CC+:} false; then :
4997 $as_echo_n "(cached) " >&6
4999 if test -n "$CC"; then
5000 ac_cv_prog_CC="$CC" # Let the user override the test.
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5011 ac_prog_rejected=yes
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 if test $ac_prog_rejected = yes; then
5023 # We found a bogon in the path, so make sure we never use it.
5024 set dummy $ac_cv_prog_CC
5026 if test $# != 0; then
5027 # We chose a different compiler from the bogus one.
5028 # However, it has the same basename, so the bogon will be chosen
5029 # first if we set CC to just the basename; use the full file name.
5031 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5037 if test -n "$CC"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5039 $as_echo "$CC" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5047 if test -z "$CC"; then
5048 if test -n "$ac_tool_prefix"; then
5049 for ac_prog in cl.exe
5051 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5052 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_CC+:} false; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$CC"; then
5059 ac_cv_prog_CC="$CC" # Let the user override the test.
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5068 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 if test -n "$CC"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5081 $as_echo "$CC" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 test -n "$CC" && break
5091 if test -z "$CC"; then
5093 for ac_prog in cl.exe
5095 # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy $ac_prog; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$ac_ct_CC"; then
5103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_ac_ct_CC="$ac_prog"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5123 if test -n "$ac_ct_CC"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5125 $as_echo "$ac_ct_CC" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$ac_ct_CC" && break
5135 if test "x$ac_ct_CC" = x; then
5138 case $cross_compiling:$ac_tool_warned in
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5142 ac_tool_warned=yes ;;
5151 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5153 as_fn_error $? "no acceptable C compiler found in \$PATH
5154 See \`config.log' for more details" "$LINENO" 5; }
5156 # Provide some information about the compiler.
5157 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5160 for ac_option in --version -v -V -qversion; do
5161 { { ac_try="$ac_compiler $ac_option >&5"
5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5167 $as_echo "$ac_try_echo"; } >&5
5168 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5170 if test -s conftest.err; then
5172 ... rest of stderr output deleted ...
5173 10q' conftest.err >conftest.er1
5174 cat conftest.er1 >&5
5176 rm -f conftest.er1 conftest.err
5177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5178 test $ac_status = 0; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5182 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5183 if ${ac_cv_c_compiler_gnu+:} false; then :
5184 $as_echo_n "(cached) " >&6
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5200 if ac_fn_c_try_compile "$LINENO"; then :
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5210 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5211 if test $ac_compiler_gnu = yes; then
5216 ac_test_CFLAGS=${CFLAGS+set}
5217 ac_save_CFLAGS=$CFLAGS
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5219 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5220 if ${ac_cv_prog_cc_g+:} false; then :
5221 $as_echo_n "(cached) " >&6
5223 ac_save_c_werror_flag=$ac_c_werror_flag
5224 ac_c_werror_flag=yes
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5238 if ac_fn_c_try_compile "$LINENO"; then :
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5253 if ac_fn_c_try_compile "$LINENO"; then :
5256 ac_c_werror_flag=$ac_save_c_werror_flag
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5269 if ac_fn_c_try_compile "$LINENO"; then :
5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 ac_c_werror_flag=$ac_save_c_werror_flag
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5280 $as_echo "$ac_cv_prog_cc_g" >&6; }
5281 if test "$ac_test_CFLAGS" = set; then
5282 CFLAGS=$ac_save_CFLAGS
5283 elif test $ac_cv_prog_cc_g = yes; then
5284 if test "$GCC" = yes; then
5290 if test "$GCC" = yes; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5297 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5298 if ${ac_cv_prog_cc_c89+:} false; then :
5299 $as_echo_n "(cached) " >&6
5301 ac_cv_prog_cc_c89=no
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5308 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5309 struct buf { int x; };
5310 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5311 static char *e (p, i)
5317 static char *f (char * (*g) (char **, int), char **p, ...)
5322 s = g (p, va_arg (v,int));
5327 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5328 function prototypes and stuff, but not '\xHH' hex character constants.
5329 These don't provoke an error unfortunately, instead are silently treated
5330 as 'x'. The following induces an error, until -std is added to get
5331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5332 array size at least. It's necessary to write '\x00'==0 to get something
5333 that's true only with -std. */
5334 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5336 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5337 inside strings and character constants. */
5339 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5341 int test (int i, double x);
5342 struct s1 {int (*f) (int a);};
5343 struct s2 {int (*f) (double a);};
5344 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5350 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5355 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5358 CC="$ac_save_CC $ac_arg"
5359 if ac_fn_c_try_compile "$LINENO"; then :
5360 ac_cv_prog_cc_c89=$ac_arg
5362 rm -f core conftest.err conftest.$ac_objext
5363 test "x$ac_cv_prog_cc_c89" != "xno" && break
5365 rm -f conftest.$ac_ext
5370 case "x$ac_cv_prog_cc_c89" in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5373 $as_echo "none needed" >&6; } ;;
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5376 $as_echo "unsupported" >&6; } ;;
5378 CC="$CC $ac_cv_prog_cc_c89"
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5380 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5382 if test "x$ac_cv_prog_cc_c89" != xno; then :
5387 ac_cpp='$CPP $CPPFLAGS'
5388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5398 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5399 if ${am_cv_prog_cc_c_o+:} false; then :
5400 $as_echo_n "(cached) " >&6
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5413 # Make sure it works both with $CC and with simple cc.
5414 # Following AC_PROG_CC_C_O, we do the test twice because some
5415 # compilers refuse to overwrite an existing .o file with -o,
5416 # though they will create one.
5417 am_cv_prog_cc_c_o=yes
5419 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5420 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } \
5424 && test -f conftest2.$ac_objext; then
5427 am_cv_prog_cc_c_o=no
5431 rm -f core conftest*
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5435 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5436 if test "$am_cv_prog_cc_c_o" != yes; then
5437 # Losing compiler, so override with the script.
5438 # FIXME: It is wrong to rewrite CC.
5439 # But if we don't then we get into trouble of one sort or another.
5440 # A longer-term fix would be to have automake use am__CC in this case,
5441 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5442 CC="$am_aux_dir/compile $CC"
5445 ac_cpp='$CPP $CPPFLAGS'
5446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5451 depcc="$CC" am_compiler_list=
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5454 $as_echo_n "checking dependency style of $depcc... " >&6; }
5455 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5456 $as_echo_n "(cached) " >&6
5458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5459 # We make a subdir and do the tests there. Otherwise we can end up
5460 # making bogus files that we don't know about and never remove. For
5461 # instance it was reported that on HP-UX the gcc test will end up
5462 # making a dummy file named 'D' -- because '-MD' means "put the output
5466 # Copy depcomp to subdir because otherwise we won't find it if we're
5467 # using a relative directory.
5468 cp "$am_depcomp" conftest.dir
5470 # We will build objects and dependencies in a subdirectory because
5471 # it helps to detect inapplicable dependency modes. For instance
5472 # both Tru64's cc and ICC support -MD to output dependencies as a
5473 # side effect of compilation, but ICC will put the dependencies in
5474 # the current directory while Tru64 will put them in the object
5478 am_cv_CC_dependencies_compiler_type=none
5479 if test "$am_compiler_list" = ""; then
5480 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5483 case " $depcc " in #(
5484 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5487 for depmode in $am_compiler_list; do
5488 # Setup a source with many dependencies, because some compilers
5489 # like to wrap large dependency lists on column 80 (with \), and
5490 # we should not choose a depcomp mode which is confused by this.
5492 # We need to recreate these files for each test, as the compiler may
5493 # overwrite some of them when testing with obscure command lines.
5494 # This happens at least with the AIX C compiler.
5496 for i in 1 2 3 4 5 6; do
5497 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5498 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5499 # Solaris 10 /bin/sh.
5500 echo '/* dummy */' > sub/conftst$i.h
5502 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5504 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5505 # mode. It turns out that the SunPro C++ compiler does not properly
5506 # handle '-M -o', and we need to detect this. Also, some Intel
5507 # versions had trouble with output in subdirs.
5508 am__obj=sub/conftest.${OBJEXT-o}
5509 am__minus_obj="-o $am__obj"
5512 # This depmode causes a compiler race in universal mode.
5513 test "$am__universal" = false || continue
5516 # After this tag, mechanisms are not by side-effect, so they'll
5517 # only be used when explicitly requested.
5518 if test "x$enable_dependency_tracking" = xyes; then
5524 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5525 # This compiler won't grok '-c -o', but also, the minuso test has
5526 # not run yet. These depmodes are late enough in the game, and
5527 # so weak that their functioning should not be impacted.
5528 am__obj=conftest.${OBJEXT-o}
5533 if depmode=$depmode \
5534 source=sub/conftest.c object=$am__obj \
5535 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5536 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5537 >/dev/null 2>conftest.err &&
5538 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5539 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5540 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5541 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5542 # icc doesn't choke on unknown options, it will just issue warnings
5543 # or remarks (even with -Werror). So we grep stderr for any message
5544 # that says an option was ignored or not supported.
5545 # When given -MP, icc 7.0 and 7.1 complain thusly:
5546 # icc: Command line warning: ignoring option '-M'; no argument required
5547 # The diagnosis changed in icc 8.0:
5548 # icc: Command line remark: option '-MP' not supported
5549 if (grep 'ignoring option' conftest.err ||
5550 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5551 am_cv_CC_dependencies_compiler_type=$depmode
5560 am_cv_CC_dependencies_compiler_type=none
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5565 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5566 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5569 test "x$enable_dependency_tracking" != xno \
5570 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5572 am__fastdepCC_FALSE='#'
5574 am__fastdepCC_TRUE='#'
5575 am__fastdepCC_FALSE=
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5582 $as_echo_n "checking whether ln -s works... " >&6; }
5584 if test "$LN_S" = "ln -s"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5586 $as_echo "yes" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5589 $as_echo "no, using $LN_S" >&6; }
5599 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5600 if test -n "$ac_tool_prefix"; then
5601 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5606 $as_echo_n "(cached) " >&6
5610 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5632 if test -n "$PKG_CONFIG"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5634 $as_echo "$PKG_CONFIG" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5642 if test -z "$ac_cv_path_PKG_CONFIG"; then
5643 ac_pt_PKG_CONFIG=$PKG_CONFIG
5644 # Extract the first word of "pkg-config", so it can be a program name with args.
5645 set dummy pkg-config; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 case $ac_pt_PKG_CONFIG in
5653 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5675 if test -n "$ac_pt_PKG_CONFIG"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5677 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_pt_PKG_CONFIG" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5692 PKG_CONFIG=$ac_pt_PKG_CONFIG
5695 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5699 if test -n "$PKG_CONFIG"; then
5700 _pkg_min_version=0.9.0
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5702 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5703 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5705 $as_echo "yes" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5716 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5721 macro_version='2.4.2'
5722 macro_revision='1.3337'
5736 ltmain="$ac_aux_dir/ltmain.sh"
5738 # Backslashify metacharacters that are still active within
5739 # double-quoted strings.
5740 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5742 # Same as above, but do not quote variable references.
5743 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5745 # Sed substitution to delay expansion of an escaped shell variable in a
5746 # double_quote_subst'ed string.
5747 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5749 # Sed substitution to delay expansion of an escaped single quote.
5750 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5752 # Sed substitution to avoid accidental globbing in evaled expressions
5753 no_glob_subst='s/\*/\\\*/g'
5755 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5756 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5757 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5760 $as_echo_n "checking how to print strings... " >&6; }
5761 # Test print first, because it will be a builtin if present.
5762 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5763 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5765 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5768 # Use this function as a fallback that always works.
5769 func_fallback_echo ()
5771 eval 'cat <<_LTECHO_EOF
5775 ECHO='func_fallback_echo'
5778 # func_echo_all arg...
5779 # Invoke $ECHO with all args, space-separated.
5786 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5787 $as_echo "printf" >&6; } ;;
5788 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5789 $as_echo "print -r" >&6; } ;;
5790 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5791 $as_echo "cat" >&6; } ;;
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5808 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5809 if ${ac_cv_path_SED+:} false; then :
5810 $as_echo_n "(cached) " >&6
5812 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5813 for ac_i in 1 2 3 4 5 6 7; do
5814 ac_script="$ac_script$as_nl$ac_script"
5816 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5817 { ac_script=; unset ac_script;}
5818 if test -z "$SED"; then
5819 ac_path_SED_found=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_prog in sed gsed; do
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5829 as_fn_executable_p "$ac_path_SED" || continue
5830 # Check for GNU ac_path_SED and select it if it is found.
5831 # Check for GNU $ac_path_SED
5832 case `"$ac_path_SED" --version 2>&1` in
5834 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5837 $as_echo_n 0123456789 >"conftest.in"
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 $as_echo '' >> "conftest.nl"
5844 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846 as_fn_arith $ac_count + 1 && ac_count=$as_val
5847 if test $ac_count -gt ${ac_path_SED_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_SED="$ac_path_SED"
5850 ac_path_SED_max=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5858 $ac_path_SED_found && break 3
5863 if test -z "$ac_cv_path_SED"; then
5864 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5872 $as_echo "$ac_cv_path_SED" >&6; }
5873 SED="$ac_cv_path_SED"
5876 test -z "$SED" && SED=sed
5877 Xsed="$SED -e 1s/^X//"
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5890 $as_echo_n "checking for fgrep... " >&6; }
5891 if ${ac_cv_path_FGREP+:} false; then :
5892 $as_echo_n "(cached) " >&6
5894 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5895 then ac_cv_path_FGREP="$GREP -F"
5897 if test -z "$FGREP"; then
5898 ac_path_FGREP_found=false
5899 # Loop through the user's path and test for each of PROGNAME-LIST
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5904 test -z "$as_dir" && as_dir=.
5905 for ac_prog in fgrep; do
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5908 as_fn_executable_p "$ac_path_FGREP" || continue
5909 # Check for GNU ac_path_FGREP and select it if it is found.
5910 # Check for GNU $ac_path_FGREP
5911 case `"$ac_path_FGREP" --version 2>&1` in
5913 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5916 $as_echo_n 0123456789 >"conftest.in"
5919 cat "conftest.in" "conftest.in" >"conftest.tmp"
5920 mv "conftest.tmp" "conftest.in"
5921 cp "conftest.in" "conftest.nl"
5922 $as_echo 'FGREP' >> "conftest.nl"
5923 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5924 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5925 as_fn_arith $ac_count + 1 && ac_count=$as_val
5926 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5927 # Best one so far, save it but keep looking for a better one
5928 ac_cv_path_FGREP="$ac_path_FGREP"
5929 ac_path_FGREP_max=$ac_count
5931 # 10*(2^10) chars as input seems more than enough
5932 test $ac_count -gt 10 && break
5934 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5937 $ac_path_FGREP_found && break 3
5942 if test -z "$ac_cv_path_FGREP"; then
5943 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5946 ac_cv_path_FGREP=$FGREP
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5952 $as_echo "$ac_cv_path_FGREP" >&6; }
5953 FGREP="$ac_cv_path_FGREP"
5956 test -z "$GREP" && GREP=grep
5976 # Check whether --with-gnu-ld was given.
5977 if test "${with_gnu_ld+set}" = set; then :
5978 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5984 if test "$GCC" = yes; then
5985 # Check if gcc -print-prog-name=ld gives a path.
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5987 $as_echo_n "checking for ld used by $CC... " >&6; }
5990 # gcc leaves a trailing carriage return which upsets mingw
5991 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5993 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5996 # Accept absolute paths.
5998 re_direlt='/[^/][^/]*/\.\./'
5999 # Canonicalize the pathname of ld
6000 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6001 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6002 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6004 test -z "$LD" && LD="$ac_prog"
6007 # If it fails, then pretend we aren't using GCC.
6011 # If it is relative, then search for the first ld in PATH.
6015 elif test "$with_gnu_ld" = yes; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6017 $as_echo_n "checking for GNU ld... " >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6020 $as_echo_n "checking for non-GNU ld... " >&6; }
6022 if ${lt_cv_path_LD+:} false; then :
6023 $as_echo_n "(cached) " >&6
6025 if test -z "$LD"; then
6026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6027 for ac_dir in $PATH; do
6029 test -z "$ac_dir" && ac_dir=.
6030 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6031 lt_cv_path_LD="$ac_dir/$ac_prog"
6032 # Check to see if the program is GNU ld. I'd rather use --version,
6033 # but apparently some variants of GNU ld only accept -v.
6034 # Break only if it was the GNU/non-GNU ld that we prefer.
6035 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6036 *GNU* | *'with BFD'*)
6037 test "$with_gnu_ld" != no && break
6040 test "$with_gnu_ld" != yes && break
6047 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6052 if test -n "$LD"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6054 $as_echo "$LD" >&6; }
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6059 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6061 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6062 if ${lt_cv_prog_gnu_ld+:} false; then :
6063 $as_echo_n "(cached) " >&6
6065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6066 case `$LD -v 2>&1 </dev/null` in
6067 *GNU* | *'with BFD'*)
6068 lt_cv_prog_gnu_ld=yes
6071 lt_cv_prog_gnu_ld=no
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6076 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6077 with_gnu_ld=$lt_cv_prog_gnu_ld
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6088 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6089 if ${lt_cv_path_NM+:} false; then :
6090 $as_echo_n "(cached) " >&6
6092 if test -n "$NM"; then
6093 # Let the user override the test.
6096 lt_nm_to_check="${ac_tool_prefix}nm"
6097 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6098 lt_nm_to_check="$lt_nm_to_check nm"
6100 for lt_tmp_nm in $lt_nm_to_check; do
6101 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6102 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6104 test -z "$ac_dir" && ac_dir=.
6105 tmp_nm="$ac_dir/$lt_tmp_nm"
6106 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6107 # Check to see if the nm accepts a BSD-compat flag.
6108 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6109 # nm: unknown option "B" ignored
6110 # Tru64's nm complains that /dev/null is an invalid object file
6111 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6112 */dev/null* | *'Invalid file or object type'*)
6113 lt_cv_path_NM="$tmp_nm -B"
6117 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6119 lt_cv_path_NM="$tmp_nm -p"
6123 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6124 continue # so that we can try to find one that supports BSD flags
6133 : ${lt_cv_path_NM=no}
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6137 $as_echo "$lt_cv_path_NM" >&6; }
6138 if test "$lt_cv_path_NM" != "no"; then
6141 # Didn't find any BSD compatible name lister, look for dumpbin.
6142 if test -n "$DUMPBIN"; then :
6143 # Let the user override the test.
6145 if test -n "$ac_tool_prefix"; then
6146 for ac_prog in dumpbin "link -dump"
6148 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6149 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_DUMPBIN+:} false; then :
6153 $as_echo_n "(cached) " >&6
6155 if test -n "$DUMPBIN"; then
6156 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 DUMPBIN=$ac_cv_prog_DUMPBIN
6176 if test -n "$DUMPBIN"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6178 $as_echo "$DUMPBIN" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6185 test -n "$DUMPBIN" && break
6188 if test -z "$DUMPBIN"; then
6189 ac_ct_DUMPBIN=$DUMPBIN
6190 for ac_prog in dumpbin "link -dump"
6192 # Extract the first word of "$ac_prog", so it can be a program name with args.
6193 set dummy $ac_prog; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6197 $as_echo_n "(cached) " >&6
6199 if test -n "$ac_ct_DUMPBIN"; then
6200 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6220 if test -n "$ac_ct_DUMPBIN"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6222 $as_echo "$ac_ct_DUMPBIN" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6229 test -n "$ac_ct_DUMPBIN" && break
6232 if test "x$ac_ct_DUMPBIN" = x; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned=yes ;;
6241 DUMPBIN=$ac_ct_DUMPBIN
6245 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6247 DUMPBIN="$DUMPBIN -symbols"
6255 if test "$DUMPBIN" != ":"; then
6259 test -z "$NM" && NM=nm
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6267 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6268 if ${lt_cv_nm_interface+:} false; then :
6269 $as_echo_n "(cached) " >&6
6271 lt_cv_nm_interface="BSD nm"
6272 echo "int some_variable = 0;" > conftest.$ac_ext
6273 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6274 (eval "$ac_compile" 2>conftest.err)
6275 cat conftest.err >&5
6276 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6277 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6278 cat conftest.err >&5
6279 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6280 cat conftest.out >&5
6281 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6282 lt_cv_nm_interface="MS dumpbin"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6287 $as_echo "$lt_cv_nm_interface" >&6; }
6289 # find the maximum length of command line arguments
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6291 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6292 if ${lt_cv_sys_max_cmd_len+:} false; then :
6293 $as_echo_n "(cached) " >&6
6300 # On DJGPP, this test can blow up pretty badly due to problems in libc
6301 # (any single argument exceeding 2000 bytes causes a buffer overrun
6302 # during glob expansion). Even if it were fixed, the result of this
6303 # check would be larger than it should be.
6304 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6308 # Under GNU Hurd, this test is not required because there is
6309 # no limit to the length of command line arguments.
6310 # Libtool will interpret -1 as no limit whatsoever
6311 lt_cv_sys_max_cmd_len=-1;
6314 cygwin* | mingw* | cegcc*)
6315 # On Win9x/ME, this test blows up -- it succeeds, but takes
6316 # about 5 minutes as the teststring grows exponentially.
6317 # Worse, since 9x/ME are not pre-emptively multitasking,
6318 # you end up with a "frozen" computer, even though with patience
6319 # the test eventually succeeds (with a max line length of 256k).
6320 # Instead, let's just punt: use the minimum linelength reported by
6321 # all of the supported platforms: 8192 (on NT/2K/XP).
6322 lt_cv_sys_max_cmd_len=8192;
6326 # On MiNT this can take a long time and run out of memory.
6327 lt_cv_sys_max_cmd_len=8192;
6331 # On AmigaOS with pdksh, this test takes hours, literally.
6332 # So we just punt and use a minimum line length of 8192.
6333 lt_cv_sys_max_cmd_len=8192;
6336 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6337 # This has been around since 386BSD, at least. Likely further.
6338 if test -x /sbin/sysctl; then
6339 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6340 elif test -x /usr/sbin/sysctl; then
6341 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6343 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6345 # And add a safety zone
6346 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6347 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6351 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6352 lt_cv_sys_max_cmd_len=196608
6356 # The test takes a long time on OS/2.
6357 lt_cv_sys_max_cmd_len=8192
6361 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6362 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6363 # nice to cause kernel panics so lets avoid the loop below.
6364 # First set a reasonable default.
6365 lt_cv_sys_max_cmd_len=16384
6367 if test -x /sbin/sysconfig; then
6368 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6369 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6374 lt_cv_sys_max_cmd_len=102400
6376 sysv5* | sco5v6* | sysv4.2uw2*)
6377 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6378 if test -n "$kargmax"; then
6379 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6381 lt_cv_sys_max_cmd_len=32768
6385 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6386 if test -n "$lt_cv_sys_max_cmd_len" && \
6387 test undefined != "$lt_cv_sys_max_cmd_len"; then
6388 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6389 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6391 # Make teststring a little bigger before we do anything with it.
6392 # a 1K string should be a reasonable start.
6393 for i in 1 2 3 4 5 6 7 8 ; do
6394 teststring=$teststring$teststring
6396 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6397 # If test is not a shell built-in, we'll probably end up computing a
6398 # maximum length that is only half of the actual maximum length, but
6400 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6401 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6402 test $i != 17 # 1/2 MB should be enough
6405 teststring=$teststring$teststring
6407 # Only check the string length outside the loop.
6408 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6410 # Add a significant safety factor because C++ compilers can tack on
6411 # massive amounts of additional arguments before passing them to the
6412 # linker. It appears as though 1/2 is a usable value.
6413 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6420 if test -n $lt_cv_sys_max_cmd_len ; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6422 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6425 $as_echo "none" >&6; }
6427 max_cmd_len=$lt_cv_sys_max_cmd_len
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6439 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6440 # Try some XSI features
6443 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6445 && eval 'test $(( 1 + 1 )) -eq 2 \
6446 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6449 $as_echo "$xsi_shell" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6453 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6455 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6457 && lt_shell_append=yes
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6459 $as_echo "$lt_shell_append" >&6; }
6462 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6472 # test EBCDIC or ASCII
6473 case `echo X|tr X '\101'` in
6474 A) # ASCII based system
6475 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6476 lt_SP2NL='tr \040 \012'
6477 lt_NL2SP='tr \015\012 \040\040'
6479 *) # EBCDIC based system
6480 lt_SP2NL='tr \100 \n'
6481 lt_NL2SP='tr \r\n \100\100'
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6494 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6495 if ${lt_cv_to_host_file_cmd+:} false; then :
6496 $as_echo_n "(cached) " >&6
6501 *-*-mingw* ) # actually msys
6502 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6505 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6507 * ) # otherwise, assume *nix
6508 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6514 *-*-mingw* ) # actually msys
6515 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6518 lt_cv_to_host_file_cmd=func_convert_file_noop
6520 * ) # otherwise, assume *nix
6521 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6525 * ) # unhandled hosts (and "normal" native builds)
6526 lt_cv_to_host_file_cmd=func_convert_file_noop
6532 to_host_file_cmd=$lt_cv_to_host_file_cmd
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6534 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6541 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6542 if ${lt_cv_to_tool_file_cmd+:} false; then :
6543 $as_echo_n "(cached) " >&6
6545 #assume ordinary cross tools, or native build.
6546 lt_cv_to_tool_file_cmd=func_convert_file_noop
6550 *-*-mingw* ) # actually msys
6551 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6559 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6561 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6568 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6569 if ${lt_cv_ld_reload_flag+:} false; then :
6570 $as_echo_n "(cached) " >&6
6572 lt_cv_ld_reload_flag='-r'
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6575 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6576 reload_flag=$lt_cv_ld_reload_flag
6577 case $reload_flag in
6579 *) reload_flag=" $reload_flag" ;;
6581 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6583 cygwin* | mingw* | pw32* | cegcc*)
6584 if test "$GCC" != yes; then
6589 if test "$GCC" = yes; then
6590 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6592 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6605 if test -n "$ac_tool_prefix"; then
6606 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6607 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_OBJDUMP+:} false; then :
6611 $as_echo_n "(cached) " >&6
6613 if test -n "$OBJDUMP"; then
6614 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 OBJDUMP=$ac_cv_prog_OBJDUMP
6634 if test -n "$OBJDUMP"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6636 $as_echo "$OBJDUMP" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6644 if test -z "$ac_cv_prog_OBJDUMP"; then
6645 ac_ct_OBJDUMP=$OBJDUMP
6646 # Extract the first word of "objdump", so it can be a program name with args.
6647 set dummy objdump; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6651 $as_echo_n "(cached) " >&6
6653 if test -n "$ac_ct_OBJDUMP"; then
6654 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6674 if test -n "$ac_ct_OBJDUMP"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6676 $as_echo "$ac_ct_OBJDUMP" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6682 if test "x$ac_ct_OBJDUMP" = x; then
6685 case $cross_compiling:$ac_tool_warned in
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6689 ac_tool_warned=yes ;;
6691 OBJDUMP=$ac_ct_OBJDUMP
6694 OBJDUMP="$ac_cv_prog_OBJDUMP"
6697 test -z "$OBJDUMP" && OBJDUMP=objdump
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6708 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6709 if ${lt_cv_deplibs_check_method+:} false; then :
6710 $as_echo_n "(cached) " >&6
6712 lt_cv_file_magic_cmd='$MAGIC_CMD'
6713 lt_cv_file_magic_test_file=
6714 lt_cv_deplibs_check_method='unknown'
6715 # Need to set the preceding variable on all platforms that support
6716 # interlibrary dependencies.
6717 # 'none' -- dependencies not supported.
6718 # `unknown' -- same as none, but documents that we really don't know.
6719 # 'pass_all' -- all dependencies passed with no checks.
6720 # 'test_compile' -- check by making test program.
6721 # 'file_magic [[regex]]' -- check by looking for files in library path
6722 # which responds to the $file_magic_cmd with a given extended regex.
6723 # If you have `file' or equivalent on your system and you're not sure
6724 # whether `pass_all' will *always* work, you probably want this one.
6728 lt_cv_deplibs_check_method=pass_all
6732 lt_cv_deplibs_check_method=pass_all
6736 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6737 lt_cv_file_magic_cmd='/usr/bin/file -L'
6738 lt_cv_file_magic_test_file=/shlib/libc.so
6742 # func_win32_libid is a shell function defined in ltmain.sh
6743 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6744 lt_cv_file_magic_cmd='func_win32_libid'
6748 # Base MSYS/MinGW do not provide the 'file' command needed by
6749 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6750 # unless we find 'file', for example because we are cross-compiling.
6751 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6752 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6753 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6754 lt_cv_file_magic_cmd='func_win32_libid'
6756 # Keep this pattern in sync with the one in func_win32_libid.
6757 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6758 lt_cv_file_magic_cmd='$OBJDUMP -f'
6763 # use the weaker test based on 'objdump'. See mingw*.
6764 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6765 lt_cv_file_magic_cmd='$OBJDUMP -f'
6768 darwin* | rhapsody*)
6769 lt_cv_deplibs_check_method=pass_all
6772 freebsd* | dragonfly*)
6773 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6776 # Not sure whether the presence of OpenBSD here was a mistake.
6777 # Let's accept both of them until this is cleared up.
6778 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6779 lt_cv_file_magic_cmd=/usr/bin/file
6780 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6784 lt_cv_deplibs_check_method=pass_all
6789 lt_cv_deplibs_check_method=pass_all
6792 hpux10.20* | hpux11*)
6793 lt_cv_file_magic_cmd=/usr/bin/file
6796 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6797 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6800 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]'
6801 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6804 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6805 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6811 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6815 irix5* | irix6* | nonstopux*)
6817 *-32|*"-32 ") libmagic=32-bit;;
6818 *-n32|*"-n32 ") libmagic=N32;;
6819 *-64|*"-64 ") libmagic=64-bit;;
6820 *) libmagic=never-match;;
6822 lt_cv_deplibs_check_method=pass_all
6825 # This must be glibc/ELF.
6826 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6827 lt_cv_deplibs_check_method=pass_all
6830 netbsd* | netbsdelf*-gnu)
6831 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6832 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6834 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6839 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6840 lt_cv_file_magic_cmd=/usr/bin/file
6841 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6845 lt_cv_deplibs_check_method=pass_all
6849 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6850 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6852 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6856 osf3* | osf4* | osf5*)
6857 lt_cv_deplibs_check_method=pass_all
6861 lt_cv_deplibs_check_method=pass_all
6865 lt_cv_deplibs_check_method=pass_all
6868 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6869 lt_cv_deplibs_check_method=pass_all
6873 case $host_vendor in
6875 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]'
6876 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6879 lt_cv_deplibs_check_method=pass_all
6882 lt_cv_file_magic_cmd='/bin/file'
6883 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6886 lt_cv_file_magic_cmd='/bin/file'
6887 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6888 lt_cv_file_magic_test_file=/lib/libc.so
6891 lt_cv_deplibs_check_method=pass_all
6894 lt_cv_deplibs_check_method=pass_all
6900 lt_cv_deplibs_check_method=pass_all
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6906 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6910 if test "$build" = "$host"; then
6913 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6916 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6922 file_magic_cmd=$lt_cv_file_magic_cmd
6923 deplibs_check_method=$lt_cv_deplibs_check_method
6924 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6947 if test -n "$ac_tool_prefix"; then
6948 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6949 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_DLLTOOL+:} false; then :
6953 $as_echo_n "(cached) " >&6
6955 if test -n "$DLLTOOL"; then
6956 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6965 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 DLLTOOL=$ac_cv_prog_DLLTOOL
6976 if test -n "$DLLTOOL"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6978 $as_echo "$DLLTOOL" >&6; }
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6986 if test -z "$ac_cv_prog_DLLTOOL"; then
6987 ac_ct_DLLTOOL=$DLLTOOL
6988 # Extract the first word of "dlltool", so it can be a program name with args.
6989 set dummy dlltool; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$ac_ct_DLLTOOL"; then
6996 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7016 if test -n "$ac_ct_DLLTOOL"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7018 $as_echo "$ac_ct_DLLTOOL" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7024 if test "x$ac_ct_DLLTOOL" = x; then
7027 case $cross_compiling:$ac_tool_warned in
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7031 ac_tool_warned=yes ;;
7033 DLLTOOL=$ac_ct_DLLTOOL
7036 DLLTOOL="$ac_cv_prog_DLLTOOL"
7039 test -z "$DLLTOOL" && DLLTOOL=dlltool
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7051 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7052 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7053 $as_echo_n "(cached) " >&6
7055 lt_cv_sharedlib_from_linklib_cmd='unknown'
7058 cygwin* | mingw* | pw32* | cegcc*)
7059 # two different shell functions defined in ltmain.sh
7060 # decide which to use based on capabilities of $DLLTOOL
7061 case `$DLLTOOL --help 2>&1` in
7062 *--identify-strict*)
7063 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7066 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7071 # fallback: assume linklib IS sharedlib
7072 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7078 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7079 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7080 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7088 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_AR+:} false; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$AR"; then
7099 ac_cv_prog_AR="$AR" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 if test -n "$AR"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7121 $as_echo "$AR" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7128 test -n "$AR" && break
7131 if test -z "$AR"; then
7135 # Extract the first word of "$ac_prog", so it can be a program name with args.
7136 set dummy $ac_prog; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7140 $as_echo_n "(cached) " >&6
7142 if test -n "$ac_ct_AR"; then
7143 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152 ac_cv_prog_ac_ct_AR="$ac_prog"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7163 if test -n "$ac_ct_AR"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7165 $as_echo "$ac_ct_AR" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7172 test -n "$ac_ct_AR" && break
7175 if test "x$ac_ct_AR" = x; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned=yes ;;
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7202 $as_echo_n "checking for archiver @FILE support... " >&6; }
7203 if ${lt_cv_ar_at_file+:} false; then :
7204 $as_echo_n "(cached) " >&6
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7218 if ac_fn_c_try_compile "$LINENO"; then :
7219 echo conftest.$ac_objext > conftest.lst
7220 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7221 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7222 (eval $lt_ar_try) 2>&5
7224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7225 test $ac_status = 0; }
7226 if test "$ac_status" -eq 0; then
7227 # Ensure the archiver fails upon bogus file names.
7228 rm -f conftest.$ac_objext libconftest.a
7229 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7230 (eval $lt_ar_try) 2>&5
7232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7233 test $ac_status = 0; }
7234 if test "$ac_status" -ne 0; then
7238 rm -f conftest.* libconftest.a
7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7245 $as_echo "$lt_cv_ar_at_file" >&6; }
7247 if test "x$lt_cv_ar_at_file" = xno; then
7250 archiver_list_spec=$lt_cv_ar_at_file
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}strip; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_STRIP+:} false; then :
7265 $as_echo_n "(cached) " >&6
7267 if test -n "$STRIP"; then
7268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 STRIP=$ac_cv_prog_STRIP
7288 if test -n "$STRIP"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7290 $as_echo "$STRIP" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7298 if test -z "$ac_cv_prog_STRIP"; then
7300 # Extract the first word of "strip", so it can be a program name with args.
7301 set dummy strip; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7305 $as_echo_n "(cached) " >&6
7307 if test -n "$ac_ct_STRIP"; then
7308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_ac_ct_STRIP="strip"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7328 if test -n "$ac_ct_STRIP"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7330 $as_echo "$ac_ct_STRIP" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7336 if test "x$ac_ct_STRIP" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7343 ac_tool_warned=yes ;;
7348 STRIP="$ac_cv_prog_STRIP"
7351 test -z "$STRIP" && STRIP=:
7358 if test -n "$ac_tool_prefix"; then
7359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 $as_echo_n "checking for $ac_word... " >&6; }
7363 if ${ac_cv_prog_RANLIB+:} false; then :
7364 $as_echo_n "(cached) " >&6
7366 if test -n "$RANLIB"; then
7367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386 RANLIB=$ac_cv_prog_RANLIB
7387 if test -n "$RANLIB"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7389 $as_echo "$RANLIB" >&6; }
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7397 if test -z "$ac_cv_prog_RANLIB"; then
7398 ac_ct_RANLIB=$RANLIB
7399 # Extract the first word of "ranlib", so it can be a program name with args.
7400 set dummy ranlib; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7404 $as_echo_n "(cached) " >&6
7406 if test -n "$ac_ct_RANLIB"; then
7407 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ac_ct_RANLIB="ranlib"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7427 if test -n "$ac_ct_RANLIB"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7429 $as_echo "$ac_ct_RANLIB" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7435 if test "x$ac_ct_RANLIB" = x; then
7438 case $cross_compiling:$ac_tool_warned in
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7442 ac_tool_warned=yes ;;
7444 RANLIB=$ac_ct_RANLIB
7447 RANLIB="$ac_cv_prog_RANLIB"
7450 test -z "$RANLIB" && RANLIB=:
7457 # Determine commands to create old-style static archives.
7458 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7459 old_postinstall_cmds='chmod 644 $oldlib'
7460 old_postuninstall_cmds=
7462 if test -n "$RANLIB"; then
7465 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7468 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7471 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7476 lock_old_archive_extraction=yes ;;
7478 lock_old_archive_extraction=no ;;
7519 # If no C compiler was specified, use CC.
7522 # If no C compiler flags were specified, use CFLAGS.
7523 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7525 # Allow CC to be a program name with arguments.
7529 # Check for command to grab the raw symbol name followed by C symbol from nm.
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7531 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7532 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7533 $as_echo_n "(cached) " >&6
7536 # These are sane defaults that work on at least a few old systems.
7537 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7539 # Character class describing NM global symbol codes.
7540 symcode='[BCDEGRST]'
7542 # Regexp to match symbols that can be accessed directly from C.
7543 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7545 # Define system-specific variables.
7550 cygwin* | mingw* | pw32* | cegcc*)
7551 symcode='[ABCDGISTW]'
7554 if test "$host_cpu" = ia64; then
7555 symcode='[ABCDEGRST]'
7559 symcode='[BCDEGRST]'
7562 symcode='[BCDEGQRST]'
7573 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7581 # If we're using GNU nm, then use its standard symbol codes.
7582 case `$NM -V 2>&1` in
7583 *GNU* | *'with BFD'*)
7584 symcode='[ABCDGIRSTW]' ;;
7587 # Transform an extracted symbol line into a proper C declaration.
7588 # Some systems (esp. on ia64) link data and code symbols differently,
7589 # so use this general approach.
7590 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7592 # Transform an extracted symbol line into symbol name and symbol address
7593 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7594 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'"
7596 # Handle CRLF in mingw tool chain
7600 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7604 # Try without a prefix underscore, then with it.
7605 for ac_symprfx in "" "_"; do
7607 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7608 symxfrm="\\1 $ac_symprfx\\2 \\2"
7610 # Write the raw and C identifiers.
7611 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7612 # Fake it for dumpbin and say T for any non-static function
7613 # and D for any global variable.
7614 # Also find C++ and __fastcall symbols from MSVC++,
7615 # which start with @ or ?.
7616 lt_cv_sys_global_symbol_pipe="$AWK '"\
7617 " {last_section=section; section=\$ 3};"\
7618 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7619 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7620 " \$ 0!~/External *\|/{next};"\
7621 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7622 " {if(hide[section]) next};"\
7623 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7624 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7625 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7626 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7627 " ' prfx=^$ac_symprfx"
7629 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7631 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7633 # Check to see that the pipe works correctly.
7637 cat > conftest.$ac_ext <<_LT_EOF
7642 void nm_test_func(void);
7643 void nm_test_func(void){}
7647 int main(){nm_test_var='a';nm_test_func();return(0);}
7650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7651 (eval $ac_compile) 2>&5
7653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7654 test $ac_status = 0; }; then
7655 # Now try to grab the symbols.
7657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7658 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7661 test $ac_status = 0; } && test -s "$nlist"; then
7662 # Try sorting and uniquifying the output.
7663 if sort "$nlist" | uniq > "$nlist"T; then
7664 mv -f "$nlist"T "$nlist"
7669 # Make sure that we snagged all the symbols we need.
7670 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7671 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7672 cat <<_LT_EOF > conftest.$ac_ext
7673 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7674 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7675 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7676 relocations are performed -- see ld's documentation on pseudo-relocs. */
7677 # define LT_DLSYM_CONST
7678 #elif defined(__osf__)
7679 /* This system does not cope well with relocations in const data. */
7680 # define LT_DLSYM_CONST
7682 # define LT_DLSYM_CONST const
7690 # Now generate the symbol file.
7691 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7693 cat <<_LT_EOF >> conftest.$ac_ext
7695 /* The mapping between symbol names and symbols. */
7696 LT_DLSYM_CONST struct {
7700 lt__PROGRAM__LTX_preloaded_symbols[] =
7702 { "@PROGRAM@", (void *) 0 },
7704 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7705 cat <<\_LT_EOF >> conftest.$ac_ext
7709 /* This works around a problem in FreeBSD linker */
7710 #ifdef FREEBSD_WORKAROUND
7711 static const void *lt_preloaded_setup() {
7712 return lt__PROGRAM__LTX_preloaded_symbols;
7720 # Now try linking the two files.
7721 mv conftest.$ac_objext conftstm.$ac_objext
7722 lt_globsym_save_LIBS=$LIBS
7723 lt_globsym_save_CFLAGS=$CFLAGS
7724 LIBS="conftstm.$ac_objext"
7725 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7727 (eval $ac_link) 2>&5
7729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7730 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7733 LIBS=$lt_globsym_save_LIBS
7734 CFLAGS=$lt_globsym_save_CFLAGS
7736 echo "cannot find nm_test_func in $nlist" >&5
7739 echo "cannot find nm_test_var in $nlist" >&5
7742 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7745 echo "$progname: failed program was:" >&5
7746 cat conftest.$ac_ext >&5
7748 rm -rf conftest* conftst*
7750 # Do not use the global_symbol_pipe unless it works.
7751 if test "$pipe_works" = yes; then
7754 lt_cv_sys_global_symbol_pipe=
7760 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7761 lt_cv_sys_global_symbol_to_cdecl=
7763 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7765 $as_echo "failed" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7768 $as_echo "ok" >&6; }
7771 # Response file support.
7772 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7773 nm_file_list_spec='@'
7774 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7775 nm_file_list_spec='@'
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7805 $as_echo_n "checking for sysroot... " >&6; }
7807 # Check whether --with-sysroot was given.
7808 if test "${with_sysroot+set}" = set; then :
7809 withval=$with_sysroot;
7816 case ${with_sysroot} in #(
7818 if test "$GCC" = yes; then
7819 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7823 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7829 $as_echo "${with_sysroot}" >&6; }
7830 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7835 $as_echo "${lt_sysroot:-no}" >&6; }
7841 # Check whether --enable-libtool-lock was given.
7842 if test "${enable_libtool_lock+set}" = set; then :
7843 enableval=$enable_libtool_lock;
7846 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7848 # Some flags need to be propagated to the compiler or linker for good
7852 # Find out which ABI we are using.
7853 echo 'int i;' > conftest.$ac_ext
7854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7855 (eval $ac_compile) 2>&5
7857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7858 test $ac_status = 0; }; then
7859 case `/usr/bin/file conftest.$ac_objext` in
7871 # Find out which ABI we are using.
7872 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7874 (eval $ac_compile) 2>&5
7876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7877 test $ac_status = 0; }; then
7878 if test "$lt_cv_prog_gnu_ld" = yes; then
7879 case `/usr/bin/file conftest.$ac_objext` in
7881 LD="${LD-ld} -melf32bsmip"
7884 LD="${LD-ld} -melf32bmipn32"
7887 LD="${LD-ld} -melf64bmip"
7891 case `/usr/bin/file conftest.$ac_objext` in
7907 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7908 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7909 # Find out which ABI we are using.
7910 echo 'int i;' > conftest.$ac_ext
7911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7912 (eval $ac_compile) 2>&5
7914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7915 test $ac_status = 0; }; then
7916 case `/usr/bin/file conftest.o` in
7919 x86_64-*kfreebsd*-gnu)
7920 LD="${LD-ld} -m elf_i386_fbsd"
7923 case `/usr/bin/file conftest.o` in
7925 LD="${LD-ld} -m elf32_x86_64"
7928 LD="${LD-ld} -m elf_i386"
7933 LD="${LD-ld} -m elf32lppclinux"
7936 LD="${LD-ld} -m elf32ppclinux"
7939 LD="${LD-ld} -m elf_s390"
7942 LD="${LD-ld} -m elf32_sparc"
7948 x86_64-*kfreebsd*-gnu)
7949 LD="${LD-ld} -m elf_x86_64_fbsd"
7952 LD="${LD-ld} -m elf_x86_64"
7955 LD="${LD-ld} -m elf64lppc"
7958 LD="${LD-ld} -m elf64ppc"
7960 s390*-*linux*|s390*-*tpf*)
7961 LD="${LD-ld} -m elf64_s390"
7964 LD="${LD-ld} -m elf64_sparc"
7974 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7975 SAVE_CFLAGS="$CFLAGS"
7976 CFLAGS="$CFLAGS -belf"
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7978 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7979 if ${lt_cv_cc_needs_belf+:} false; then :
7980 $as_echo_n "(cached) " >&6
7983 ac_cpp='$CPP $CPPFLAGS'
7984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7999 if ac_fn_c_try_link "$LINENO"; then :
8000 lt_cv_cc_needs_belf=yes
8002 lt_cv_cc_needs_belf=no
8004 rm -f core conftest.err conftest.$ac_objext \
8005 conftest$ac_exeext conftest.$ac_ext
8007 ac_cpp='$CPP $CPPFLAGS'
8008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8014 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8015 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8016 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8017 CFLAGS="$SAVE_CFLAGS"
8021 # Find out which ABI we are using.
8022 echo 'int i;' > conftest.$ac_ext
8023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024 (eval $ac_compile) 2>&5
8026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8027 test $ac_status = 0; }; then
8028 case `/usr/bin/file conftest.o` in
8030 case $lt_cv_prog_gnu_ld in
8034 LD="${LD-ld} -m elf_x86_64"
8037 LD="${LD-ld} -m elf64_sparc"
8040 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8041 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8046 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8058 need_locks="$enable_libtool_lock"
8060 if test -n "$ac_tool_prefix"; then
8061 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8062 set dummy ${ac_tool_prefix}mt; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8066 $as_echo_n "(cached) " >&6
8068 if test -n "$MANIFEST_TOOL"; then
8069 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 test -z "$as_dir" && as_dir=.
8076 for ac_exec_ext in '' $ac_executable_extensions; do
8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8089 if test -n "$MANIFEST_TOOL"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8091 $as_echo "$MANIFEST_TOOL" >&6; }
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8099 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8100 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8101 # Extract the first word of "mt", so it can be a program name with args.
8102 set dummy mt; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8106 $as_echo_n "(cached) " >&6
8108 if test -n "$ac_ct_MANIFEST_TOOL"; then
8109 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8118 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8129 if test -n "$ac_ct_MANIFEST_TOOL"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8131 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8137 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8140 case $cross_compiling:$ac_tool_warned in
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8144 ac_tool_warned=yes ;;
8146 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8149 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8152 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8154 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8155 if ${lt_cv_path_mainfest_tool+:} false; then :
8156 $as_echo_n "(cached) " >&6
8158 lt_cv_path_mainfest_tool=no
8159 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8160 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8161 cat conftest.err >&5
8162 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8163 lt_cv_path_mainfest_tool=yes
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8168 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8169 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8179 rhapsody* | darwin*)
8180 if test -n "$ac_tool_prefix"; then
8181 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8182 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8184 $as_echo_n "checking for $ac_word... " >&6; }
8185 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8186 $as_echo_n "(cached) " >&6
8188 if test -n "$DSYMUTIL"; then
8189 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 test -z "$as_dir" && as_dir=.
8196 for ac_exec_ext in '' $ac_executable_extensions; do
8197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8198 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8208 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8209 if test -n "$DSYMUTIL"; then
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8211 $as_echo "$DSYMUTIL" >&6; }
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214 $as_echo "no" >&6; }
8219 if test -z "$ac_cv_prog_DSYMUTIL"; then
8220 ac_ct_DSYMUTIL=$DSYMUTIL
8221 # Extract the first word of "dsymutil", so it can be a program name with args.
8222 set dummy dsymutil; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8226 $as_echo_n "(cached) " >&6
8228 if test -n "$ac_ct_DSYMUTIL"; then
8229 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 test -z "$as_dir" && as_dir=.
8236 for ac_exec_ext in '' $ac_executable_extensions; do
8237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8238 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8249 if test -n "$ac_ct_DSYMUTIL"; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8251 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8257 if test "x$ac_ct_DSYMUTIL" = x; then
8260 case $cross_compiling:$ac_tool_warned in
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8264 ac_tool_warned=yes ;;
8266 DSYMUTIL=$ac_ct_DSYMUTIL
8269 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8272 if test -n "$ac_tool_prefix"; then
8273 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8274 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if ${ac_cv_prog_NMEDIT+:} false; then :
8278 $as_echo_n "(cached) " >&6
8280 if test -n "$NMEDIT"; then
8281 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8300 NMEDIT=$ac_cv_prog_NMEDIT
8301 if test -n "$NMEDIT"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8303 $as_echo "$NMEDIT" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8311 if test -z "$ac_cv_prog_NMEDIT"; then
8312 ac_ct_NMEDIT=$NMEDIT
8313 # Extract the first word of "nmedit", so it can be a program name with args.
8314 set dummy nmedit; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8318 $as_echo_n "(cached) " >&6
8320 if test -n "$ac_ct_NMEDIT"; then
8321 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8340 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8341 if test -n "$ac_ct_NMEDIT"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8343 $as_echo "$ac_ct_NMEDIT" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8349 if test "x$ac_ct_NMEDIT" = x; then
8352 case $cross_compiling:$ac_tool_warned in
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8356 ac_tool_warned=yes ;;
8358 NMEDIT=$ac_ct_NMEDIT
8361 NMEDIT="$ac_cv_prog_NMEDIT"
8364 if test -n "$ac_tool_prefix"; then
8365 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8366 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if ${ac_cv_prog_LIPO+:} false; then :
8370 $as_echo_n "(cached) " >&6
8372 if test -n "$LIPO"; then
8373 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 LIPO=$ac_cv_prog_LIPO
8393 if test -n "$LIPO"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8395 $as_echo "$LIPO" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8403 if test -z "$ac_cv_prog_LIPO"; then
8405 # Extract the first word of "lipo", so it can be a program name with args.
8406 set dummy lipo; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 $as_echo_n "checking for $ac_word... " >&6; }
8409 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8410 $as_echo_n "(cached) " >&6
8412 if test -n "$ac_ct_LIPO"; then
8413 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir=.
8420 for ac_exec_ext in '' $ac_executable_extensions; do
8421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8422 ac_cv_prog_ac_ct_LIPO="lipo"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8433 if test -n "$ac_ct_LIPO"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8435 $as_echo "$ac_ct_LIPO" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8441 if test "x$ac_ct_LIPO" = x; then
8444 case $cross_compiling:$ac_tool_warned in
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8448 ac_tool_warned=yes ;;
8453 LIPO="$ac_cv_prog_LIPO"
8456 if test -n "$ac_tool_prefix"; then
8457 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8458 set dummy ${ac_tool_prefix}otool; ac_word=$2
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8460 $as_echo_n "checking for $ac_word... " >&6; }
8461 if ${ac_cv_prog_OTOOL+:} false; then :
8462 $as_echo_n "(cached) " >&6
8464 if test -n "$OTOOL"; then
8465 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8471 test -z "$as_dir" && as_dir=.
8472 for ac_exec_ext in '' $ac_executable_extensions; do
8473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8474 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8484 OTOOL=$ac_cv_prog_OTOOL
8485 if test -n "$OTOOL"; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8487 $as_echo "$OTOOL" >&6; }
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8490 $as_echo "no" >&6; }
8495 if test -z "$ac_cv_prog_OTOOL"; then
8497 # Extract the first word of "otool", so it can be a program name with args.
8498 set dummy otool; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8500 $as_echo_n "checking for $ac_word... " >&6; }
8501 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8502 $as_echo_n "(cached) " >&6
8504 if test -n "$ac_ct_OTOOL"; then
8505 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8514 ac_cv_prog_ac_ct_OTOOL="otool"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8525 if test -n "$ac_ct_OTOOL"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8527 $as_echo "$ac_ct_OTOOL" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8533 if test "x$ac_ct_OTOOL" = x; then
8536 case $cross_compiling:$ac_tool_warned in
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8540 ac_tool_warned=yes ;;
8545 OTOOL="$ac_cv_prog_OTOOL"
8548 if test -n "$ac_tool_prefix"; then
8549 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8550 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8552 $as_echo_n "checking for $ac_word... " >&6; }
8553 if ${ac_cv_prog_OTOOL64+:} false; then :
8554 $as_echo_n "(cached) " >&6
8556 if test -n "$OTOOL64"; then
8557 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563 test -z "$as_dir" && as_dir=.
8564 for ac_exec_ext in '' $ac_executable_extensions; do
8565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8566 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8576 OTOOL64=$ac_cv_prog_OTOOL64
8577 if test -n "$OTOOL64"; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8579 $as_echo "$OTOOL64" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8582 $as_echo "no" >&6; }
8587 if test -z "$ac_cv_prog_OTOOL64"; then
8588 ac_ct_OTOOL64=$OTOOL64
8589 # Extract the first word of "otool64", so it can be a program name with args.
8590 set dummy otool64; ac_word=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8592 $as_echo_n "checking for $ac_word... " >&6; }
8593 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8594 $as_echo_n "(cached) " >&6
8596 if test -n "$ac_ct_OTOOL64"; then
8597 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603 test -z "$as_dir" && as_dir=.
8604 for ac_exec_ext in '' $ac_executable_extensions; do
8605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8606 ac_cv_prog_ac_ct_OTOOL64="otool64"
8607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8616 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8617 if test -n "$ac_ct_OTOOL64"; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8619 $as_echo "$ac_ct_OTOOL64" >&6; }
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622 $as_echo "no" >&6; }
8625 if test "x$ac_ct_OTOOL64" = x; then
8628 case $cross_compiling:$ac_tool_warned in
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8632 ac_tool_warned=yes ;;
8634 OTOOL64=$ac_ct_OTOOL64
8637 OTOOL64="$ac_cv_prog_OTOOL64"
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8667 $as_echo_n "checking for -single_module linker flag... " >&6; }
8668 if ${lt_cv_apple_cc_single_mod+:} false; then :
8669 $as_echo_n "(cached) " >&6
8671 lt_cv_apple_cc_single_mod=no
8672 if test -z "${LT_MULTI_MODULE}"; then
8673 # By default we will add the -single_module flag. You can override
8674 # by either setting the environment variable LT_MULTI_MODULE
8675 # non-empty at configure time, or by adding -multi_module to the
8677 rm -rf libconftest.dylib*
8678 echo "int foo(void){return 1;}" > conftest.c
8679 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8680 -dynamiclib -Wl,-single_module conftest.c" >&5
8681 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8682 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8684 # If there is a non-empty error log, and "single_module"
8685 # appears in it, assume the flag caused a linker warning
8686 if test -s conftest.err && $GREP single_module conftest.err; then
8687 cat conftest.err >&5
8688 # Otherwise, if the output was created with a 0 exit code from
8689 # the compiler, it worked.
8690 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8691 lt_cv_apple_cc_single_mod=yes
8693 cat conftest.err >&5
8695 rm -rf libconftest.dylib*
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8700 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8703 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8704 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8705 $as_echo_n "(cached) " >&6
8707 lt_cv_ld_exported_symbols_list=no
8708 save_LDFLAGS=$LDFLAGS
8709 echo "_main" > conftest.sym
8710 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 lt_cv_ld_exported_symbols_list=yes
8725 lt_cv_ld_exported_symbols_list=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 LDFLAGS="$save_LDFLAGS"
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8733 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8736 $as_echo_n "checking for -force_load linker flag... " >&6; }
8737 if ${lt_cv_ld_force_load+:} false; then :
8738 $as_echo_n "(cached) " >&6
8740 lt_cv_ld_force_load=no
8741 cat > conftest.c << _LT_EOF
8742 int forced_loaded() { return 2;}
8744 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8745 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8746 echo "$AR cru libconftest.a conftest.o" >&5
8747 $AR cru libconftest.a conftest.o 2>&5
8748 echo "$RANLIB libconftest.a" >&5
8749 $RANLIB libconftest.a 2>&5
8750 cat > conftest.c << _LT_EOF
8751 int main() { return 0;}
8753 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8754 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8756 if test -s conftest.err && $GREP force_load conftest.err; then
8757 cat conftest.err >&5
8758 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8759 lt_cv_ld_force_load=yes
8761 cat conftest.err >&5
8763 rm -f conftest.err libconftest.a conftest conftest.c
8764 rm -rf conftest.dSYM
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8768 $as_echo "$lt_cv_ld_force_load" >&6; }
8770 rhapsody* | darwin1.[012])
8771 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8773 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8774 darwin*) # darwin 5.x on
8775 # if running on 10.5 or later, the deployment target defaults
8776 # to the OS version, if on x86, and 10.4, the deployment
8777 # target defaults to 10.4. Don't you love it?
8778 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8779 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8780 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8782 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8784 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8788 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8789 _lt_dar_single_mod='$single_module'
8791 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8792 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8794 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8796 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8797 _lt_dsymutil='~$DSYMUTIL $lib || :'
8804 for ac_header in dlfcn.h
8806 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8808 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8809 cat >>confdefs.h <<_ACEOF
8810 #define HAVE_DLFCN_H 1
8831 # Check whether --enable-shared was given.
8832 if test "${enable_shared+set}" = set; then :
8833 enableval=$enable_shared; p=${PACKAGE-default}
8835 yes) enable_shared=yes ;;
8836 no) enable_shared=no ;;
8839 # Look at the argument we got. We use all the common list separators.
8840 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8841 for pkg in $enableval; do
8843 if test "X$pkg" = "X$p"; then
8864 # Check whether --with-pic was given.
8865 if test "${with_pic+set}" = set; then :
8866 withval=$with_pic; lt_p=${PACKAGE-default}
8868 yes|no) pic_mode=$withval ;;
8871 # Look at the argument we got. We use all the common list separators.
8872 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8873 for lt_pkg in $withval; do
8875 if test "X$lt_pkg" = "X$lt_p"; then
8887 test -z "$pic_mode" && pic_mode=default
8895 # Check whether --enable-fast-install was given.
8896 if test "${enable_fast_install+set}" = set; then :
8897 enableval=$enable_fast_install; p=${PACKAGE-default}
8899 yes) enable_fast_install=yes ;;
8900 no) enable_fast_install=no ;;
8902 enable_fast_install=no
8903 # Look at the argument we got. We use all the common list separators.
8904 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8905 for pkg in $enableval; do
8907 if test "X$pkg" = "X$p"; then
8908 enable_fast_install=yes
8915 enable_fast_install=yes
8928 # This can be used to rebuild libtool when needed
8929 LIBTOOL_DEPS="$ltmain"
8931 # Always use our own libtool.
8932 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8963 test -z "$LN_S" && LN_S="ln -s"
8978 if test -n "${ZSH_VERSION+set}" ; then
8979 setopt NO_GLOB_SUBST
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8983 $as_echo_n "checking for objdir... " >&6; }
8984 if ${lt_cv_objdir+:} false; then :
8985 $as_echo_n "(cached) " >&6
8987 rm -f .libs 2>/dev/null
8988 mkdir .libs 2>/dev/null
8989 if test -d .libs; then
8992 # MS-DOS does not allow filenames that begin with a dot.
8995 rmdir .libs 2>/dev/null
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8998 $as_echo "$lt_cv_objdir" >&6; }
8999 objdir=$lt_cv_objdir
9005 cat >>confdefs.h <<_ACEOF
9006 #define LT_OBJDIR "$lt_cv_objdir/"
9014 # AIX sometimes has problems with the GCC collect2 program. For some
9015 # reason, if we set the COLLECT_NAMES environment variable, the problems
9016 # vanish in a puff of smoke.
9017 if test "X${COLLECT_NAMES+set}" != Xset; then
9019 export COLLECT_NAMES
9026 can_build_shared=yes
9028 # All known linkers require a `.a' archive for static linking (except MSVC,
9029 # which needs '.lib').
9032 with_gnu_ld="$lt_cv_prog_gnu_ld"
9035 old_CFLAGS="$CFLAGS"
9037 # Set sane defaults for various variables
9038 test -z "$CC" && CC=cc
9039 test -z "$LTCC" && LTCC=$CC
9040 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9041 test -z "$LD" && LD=ld
9042 test -z "$ac_objext" && ac_objext=o
9044 for cc_temp in $compiler""; do
9046 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9047 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9052 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9055 # Only perform the check for file, if the check method requires it
9056 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9057 case $deplibs_check_method in
9059 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9061 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9062 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9063 $as_echo_n "(cached) " >&6
9067 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9070 lt_save_MAGIC_CMD="$MAGIC_CMD"
9071 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9072 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9073 for ac_dir in $ac_dummy; do
9075 test -z "$ac_dir" && ac_dir=.
9076 if test -f $ac_dir/${ac_tool_prefix}file; then
9077 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9078 if test -n "$file_magic_test_file"; then
9079 case $deplibs_check_method in
9081 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9082 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9083 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9084 $EGREP "$file_magic_regex" > /dev/null; then
9089 *** Warning: the command libtool uses to detect shared libraries,
9090 *** $file_magic_cmd, produces output that libtool cannot recognize.
9091 *** The result is that libtool may fail to recognize shared libraries
9092 *** as such. This will affect the creation of libtool libraries that
9093 *** depend on shared libraries, but programs linked with such libtool
9094 *** libraries will work regardless of this problem. Nevertheless, you
9095 *** may want to report the problem to your system manager and/or to
9096 *** bug-libtool@gnu.org
9106 MAGIC_CMD="$lt_save_MAGIC_CMD"
9111 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9112 if test -n "$MAGIC_CMD"; then
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9114 $as_echo "$MAGIC_CMD" >&6; }
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9124 if test -z "$lt_cv_path_MAGIC_CMD"; then
9125 if test -n "$ac_tool_prefix"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9127 $as_echo_n "checking for file... " >&6; }
9128 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9129 $as_echo_n "(cached) " >&6
9133 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9136 lt_save_MAGIC_CMD="$MAGIC_CMD"
9137 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9138 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9139 for ac_dir in $ac_dummy; do
9141 test -z "$ac_dir" && ac_dir=.
9142 if test -f $ac_dir/file; then
9143 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9144 if test -n "$file_magic_test_file"; then
9145 case $deplibs_check_method in
9147 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9148 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9149 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9150 $EGREP "$file_magic_regex" > /dev/null; then
9155 *** Warning: the command libtool uses to detect shared libraries,
9156 *** $file_magic_cmd, produces output that libtool cannot recognize.
9157 *** The result is that libtool may fail to recognize shared libraries
9158 *** as such. This will affect the creation of libtool libraries that
9159 *** depend on shared libraries, but programs linked with such libtool
9160 *** libraries will work regardless of this problem. Nevertheless, you
9161 *** may want to report the problem to your system manager and/or to
9162 *** bug-libtool@gnu.org
9172 MAGIC_CMD="$lt_save_MAGIC_CMD"
9177 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9178 if test -n "$MAGIC_CMD"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9180 $as_echo "$MAGIC_CMD" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 $as_echo "no" >&6; }
9196 # Use C for the default configuration in the libtool script
9200 ac_cpp='$CPP $CPPFLAGS'
9201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9206 # Source file extension for C test sources.
9209 # Object file extension for compiled C test sources.
9213 # Code to be used in simple compile tests
9214 lt_simple_compile_test_code="int some_variable = 0;"
9216 # Code to be used in simple link tests
9217 lt_simple_link_test_code='int main(){return(0);}'
9225 # If no C compiler was specified, use CC.
9228 # If no C compiler flags were specified, use CFLAGS.
9229 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9231 # Allow CC to be a program name with arguments.
9234 # Save the default compiler, since it gets overwritten when the other
9235 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9236 compiler_DEFAULT=$CC
9238 # save warnings/boilerplate of simple test code
9239 ac_outfile=conftest.$ac_objext
9240 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9241 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9242 _lt_compiler_boilerplate=`cat conftest.err`
9245 ac_outfile=conftest.$ac_objext
9246 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9247 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9248 _lt_linker_boilerplate=`cat conftest.err`
9253 ## There is no encapsulation within the following macros, do not change
9254 ## the running order or otherwise move them around unless you know exactly
9255 ## what you are doing...
9256 if test -n "$compiler"; then
9258 lt_prog_compiler_no_builtin_flag=
9260 if test "$GCC" = yes; then
9261 case $cc_basename in
9263 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9265 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9269 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9270 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9271 $as_echo_n "(cached) " >&6
9273 lt_cv_prog_compiler_rtti_exceptions=no
9274 ac_outfile=conftest.$ac_objext
9275 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9276 lt_compiler_flag="-fno-rtti -fno-exceptions"
9277 # Insert the option either (1) after the last *FLAGS variable, or
9278 # (2) before a word containing "conftest.", or (3) at the end.
9279 # Note that $ac_compile itself does not contain backslashes and begins
9280 # with a dollar sign (not a hyphen), so the echo should work correctly.
9281 # The option is referenced via a variable to avoid confusing sed.
9282 lt_compile=`echo "$ac_compile" | $SED \
9283 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9284 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9285 -e 's:$: $lt_compiler_flag:'`
9286 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9287 (eval "$lt_compile" 2>conftest.err)
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 if (exit $ac_status) && test -s "$ac_outfile"; then
9292 # The compiler can only warn and ignore the option if not recognized
9293 # So say no if there are warnings other than the usual output.
9294 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9295 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9296 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9297 lt_cv_prog_compiler_rtti_exceptions=yes
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9304 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9306 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9307 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9319 lt_prog_compiler_wl=
9320 lt_prog_compiler_pic=
9321 lt_prog_compiler_static=
9324 if test "$GCC" = yes; then
9325 lt_prog_compiler_wl='-Wl,'
9326 lt_prog_compiler_static='-static'
9330 # All AIX code is PIC.
9331 if test "$host_cpu" = ia64; then
9332 # AIX 5 now supports IA64 processor
9333 lt_prog_compiler_static='-Bstatic'
9340 # see comment about AmigaOS4 .so support
9341 lt_prog_compiler_pic='-fPIC'
9344 # FIXME: we need at least 68020 code to build shared libraries, but
9345 # adding the `-m68020' flag to GCC prevents building anything better,
9347 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9352 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9353 # PIC is the default for these OSes.
9356 mingw* | cygwin* | pw32* | os2* | cegcc*)
9357 # This hack is so that the source file can tell whether it is being
9358 # built for inclusion in a dll (and should export symbols for example).
9359 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9360 # (--disable-auto-import) libraries
9361 lt_prog_compiler_pic='-DDLL_EXPORT'
9364 darwin* | rhapsody*)
9365 # PIC is the default on this platform
9366 # Common symbols not allowed in MH_DYLIB files
9367 lt_prog_compiler_pic='-fno-common'
9371 # PIC is the default for Haiku.
9372 # The "-static" flag exists, but is broken.
9373 lt_prog_compiler_static=
9377 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9378 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9379 # sets the default TLS model and affects inlining.
9385 lt_prog_compiler_pic='-fPIC'
9391 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9392 # Instead, we relocate shared libraries at runtime.
9396 # Just because we use GCC doesn't mean we suddenly get shared libraries
9397 # on systems that don't support them.
9398 lt_prog_compiler_can_build_shared=no
9403 # QNX uses GNU C++, but need to define -shared option too, otherwise
9405 lt_prog_compiler_pic='-fPIC -shared'
9409 if test -d /usr/nec; then
9410 lt_prog_compiler_pic=-Kconform_pic
9415 lt_prog_compiler_pic='-fPIC'
9419 case $cc_basename in
9420 nvcc*) # Cuda Compiler Driver 2.2
9421 lt_prog_compiler_wl='-Xlinker '
9422 if test -n "$lt_prog_compiler_pic"; then
9423 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9428 # PORTME Check for flag to pass linker flags through the system compiler.
9431 lt_prog_compiler_wl='-Wl,'
9432 if test "$host_cpu" = ia64; then
9433 # AIX 5 now supports IA64 processor
9434 lt_prog_compiler_static='-Bstatic'
9436 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9440 mingw* | cygwin* | pw32* | os2* | cegcc*)
9441 # This hack is so that the source file can tell whether it is being
9442 # built for inclusion in a dll (and should export symbols for example).
9443 lt_prog_compiler_pic='-DDLL_EXPORT'
9446 hpux9* | hpux10* | hpux11*)
9447 lt_prog_compiler_wl='-Wl,'
9448 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9455 lt_prog_compiler_pic='+Z'
9458 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9459 lt_prog_compiler_static='${wl}-a ${wl}archive'
9462 irix5* | irix6* | nonstopux*)
9463 lt_prog_compiler_wl='-Wl,'
9464 # PIC (with -KPIC) is the default.
9465 lt_prog_compiler_static='-non_shared'
9468 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9469 case $cc_basename in
9470 # old Intel for x86_64 which still supported -KPIC.
9472 lt_prog_compiler_wl='-Wl,'
9473 lt_prog_compiler_pic='-KPIC'
9474 lt_prog_compiler_static='-static'
9476 # icc used to be incompatible with GCC.
9477 # ICC 10 doesn't accept -KPIC any more.
9479 lt_prog_compiler_wl='-Wl,'
9480 lt_prog_compiler_pic='-fPIC'
9481 lt_prog_compiler_static='-static'
9483 # Lahey Fortran 8.1.
9485 lt_prog_compiler_wl='-Wl,'
9486 lt_prog_compiler_pic='--shared'
9487 lt_prog_compiler_static='--static'
9490 # NAG Fortran compiler
9491 lt_prog_compiler_wl='-Wl,-Wl,,'
9492 lt_prog_compiler_pic='-PIC'
9493 lt_prog_compiler_static='-Bstatic'
9495 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9496 # Portland Group compilers (*not* the Pentium gcc compiler,
9497 # which looks to be a dead project)
9498 lt_prog_compiler_wl='-Wl,'
9499 lt_prog_compiler_pic='-fpic'
9500 lt_prog_compiler_static='-Bstatic'
9503 lt_prog_compiler_wl='-Wl,'
9504 # All Alpha code is PIC.
9505 lt_prog_compiler_static='-non_shared'
9507 xl* | bgxl* | bgf* | mpixl*)
9508 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9509 lt_prog_compiler_wl='-Wl,'
9510 lt_prog_compiler_pic='-qpic'
9511 lt_prog_compiler_static='-qstaticlink'
9514 case `$CC -V 2>&1 | sed 5q` in
9515 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9516 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9517 lt_prog_compiler_pic='-KPIC'
9518 lt_prog_compiler_static='-Bstatic'
9519 lt_prog_compiler_wl=''
9521 *Sun\ F* | *Sun*Fortran*)
9522 lt_prog_compiler_pic='-KPIC'
9523 lt_prog_compiler_static='-Bstatic'
9524 lt_prog_compiler_wl='-Qoption ld '
9528 lt_prog_compiler_pic='-KPIC'
9529 lt_prog_compiler_static='-Bstatic'
9530 lt_prog_compiler_wl='-Wl,'
9532 *Intel*\ [CF]*Compiler*)
9533 lt_prog_compiler_wl='-Wl,'
9534 lt_prog_compiler_pic='-fPIC'
9535 lt_prog_compiler_static='-static'
9538 lt_prog_compiler_wl='-Wl,'
9539 lt_prog_compiler_pic='-fpic'
9540 lt_prog_compiler_static='-Bstatic'
9548 lt_prog_compiler_pic='-KPIC'
9549 lt_prog_compiler_static='-Bstatic'
9553 # QNX uses GNU C++, but need to define -shared option too, otherwise
9555 lt_prog_compiler_pic='-fPIC -shared'
9558 osf3* | osf4* | osf5*)
9559 lt_prog_compiler_wl='-Wl,'
9560 # All OSF/1 code is PIC.
9561 lt_prog_compiler_static='-non_shared'
9565 lt_prog_compiler_static='-non_shared'
9569 lt_prog_compiler_pic='-KPIC'
9570 lt_prog_compiler_static='-Bstatic'
9571 case $cc_basename in
9572 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9573 lt_prog_compiler_wl='-Qoption ld ';;
9575 lt_prog_compiler_wl='-Wl,';;
9580 lt_prog_compiler_wl='-Qoption ld '
9581 lt_prog_compiler_pic='-PIC'
9582 lt_prog_compiler_static='-Bstatic'
9585 sysv4 | sysv4.2uw2* | sysv4.3*)
9586 lt_prog_compiler_wl='-Wl,'
9587 lt_prog_compiler_pic='-KPIC'
9588 lt_prog_compiler_static='-Bstatic'
9592 if test -d /usr/nec ;then
9593 lt_prog_compiler_pic='-Kconform_pic'
9594 lt_prog_compiler_static='-Bstatic'
9598 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9599 lt_prog_compiler_wl='-Wl,'
9600 lt_prog_compiler_pic='-KPIC'
9601 lt_prog_compiler_static='-Bstatic'
9605 lt_prog_compiler_wl='-Wl,'
9606 lt_prog_compiler_can_build_shared=no
9610 lt_prog_compiler_pic='-pic'
9611 lt_prog_compiler_static='-Bstatic'
9615 lt_prog_compiler_can_build_shared=no
9621 # For platforms which do not support PIC, -DPIC is meaningless:
9623 lt_prog_compiler_pic=
9626 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9631 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9632 if ${lt_cv_prog_compiler_pic+:} false; then :
9633 $as_echo_n "(cached) " >&6
9635 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9638 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9639 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9642 # Check to make sure the PIC flag actually works.
9644 if test -n "$lt_prog_compiler_pic"; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9646 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9647 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9648 $as_echo_n "(cached) " >&6
9650 lt_cv_prog_compiler_pic_works=no
9651 ac_outfile=conftest.$ac_objext
9652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9653 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9654 # Insert the option either (1) after the last *FLAGS variable, or
9655 # (2) before a word containing "conftest.", or (3) at the end.
9656 # Note that $ac_compile itself does not contain backslashes and begins
9657 # with a dollar sign (not a hyphen), so the echo should work correctly.
9658 # The option is referenced via a variable to avoid confusing sed.
9659 lt_compile=`echo "$ac_compile" | $SED \
9660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9662 -e 's:$: $lt_compiler_flag:'`
9663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9664 (eval "$lt_compile" 2>conftest.err)
9666 cat conftest.err >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 if (exit $ac_status) && test -s "$ac_outfile"; then
9669 # The compiler can only warn and ignore the option if not recognized
9670 # So say no if there are warnings other than the usual output.
9671 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9672 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9673 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9674 lt_cv_prog_compiler_pic_works=yes
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9681 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9683 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9684 case $lt_prog_compiler_pic in
9686 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9689 lt_prog_compiler_pic=
9690 lt_prog_compiler_can_build_shared=no
9706 # Check to make sure the static flag actually works.
9708 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9711 if ${lt_cv_prog_compiler_static_works+:} false; then :
9712 $as_echo_n "(cached) " >&6
9714 lt_cv_prog_compiler_static_works=no
9715 save_LDFLAGS="$LDFLAGS"
9716 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9717 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9718 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9719 # The linker can only warn and ignore the option if not recognized
9720 # So say no if there are warnings
9721 if test -s conftest.err; then
9722 # Append any errors to the config.log.
9723 cat conftest.err 1>&5
9724 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9725 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9726 if diff conftest.exp conftest.er2 >/dev/null; then
9727 lt_cv_prog_compiler_static_works=yes
9730 lt_cv_prog_compiler_static_works=yes
9734 LDFLAGS="$save_LDFLAGS"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9738 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9740 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9743 lt_prog_compiler_static=
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9753 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9754 if ${lt_cv_prog_compiler_c_o+:} false; then :
9755 $as_echo_n "(cached) " >&6
9757 lt_cv_prog_compiler_c_o=no
9758 $RM -r conftest 2>/dev/null
9762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9764 lt_compiler_flag="-o out/conftest2.$ac_objext"
9765 # Insert the option either (1) after the last *FLAGS variable, or
9766 # (2) before a word containing "conftest.", or (3) at the end.
9767 # Note that $ac_compile itself does not contain backslashes and begins
9768 # with a dollar sign (not a hyphen), so the echo should work correctly.
9769 lt_compile=`echo "$ac_compile" | $SED \
9770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9772 -e 's:$: $lt_compiler_flag:'`
9773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9774 (eval "$lt_compile" 2>out/conftest.err)
9776 cat out/conftest.err >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9780 # The compiler can only warn and ignore the option if not recognized
9781 # So say no if there are warnings
9782 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9783 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9784 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9785 lt_cv_prog_compiler_c_o=yes
9790 # SGI C++ compiler will create directory out/ii_files/ for
9791 # template instantiation
9792 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9793 $RM out/* && rmdir out
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9800 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9809 if ${lt_cv_prog_compiler_c_o+:} false; then :
9810 $as_echo_n "(cached) " >&6
9812 lt_cv_prog_compiler_c_o=no
9813 $RM -r conftest 2>/dev/null
9817 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9819 lt_compiler_flag="-o out/conftest2.$ac_objext"
9820 # Insert the option either (1) after the last *FLAGS variable, or
9821 # (2) before a word containing "conftest.", or (3) at the end.
9822 # Note that $ac_compile itself does not contain backslashes and begins
9823 # with a dollar sign (not a hyphen), so the echo should work correctly.
9824 lt_compile=`echo "$ac_compile" | $SED \
9825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9827 -e 's:$: $lt_compiler_flag:'`
9828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9829 (eval "$lt_compile" 2>out/conftest.err)
9831 cat out/conftest.err >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9835 # The compiler can only warn and ignore the option if not recognized
9836 # So say no if there are warnings
9837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9838 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9839 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9840 lt_cv_prog_compiler_c_o=yes
9845 # SGI C++ compiler will create directory out/ii_files/ for
9846 # template instantiation
9847 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9848 $RM out/* && rmdir out
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9855 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9860 hard_links="nottested"
9861 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9862 # do not overwrite the value of need_locks provided by the user
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9864 $as_echo_n "checking if we can lock with hard links... " >&6; }
9867 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9869 ln conftest.a conftest.b 2>&5 || hard_links=no
9870 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9872 $as_echo "$hard_links" >&6; }
9873 if test "$hard_links" = no; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9875 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9888 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9891 allow_undefined_flag=
9892 always_export_symbols=no
9894 archive_expsym_cmds=
9895 compiler_needs_object=no
9896 enable_shared_with_static_runtimes=no
9897 export_dynamic_flag_spec=
9898 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9899 hardcode_automatic=no
9901 hardcode_direct_absolute=no
9902 hardcode_libdir_flag_spec=
9903 hardcode_libdir_separator=
9905 hardcode_shlibpath_var=unsupported
9907 link_all_deplibs=unknown
9910 old_archive_from_new_cmds=
9911 old_archive_from_expsyms_cmds=
9912 thread_safe_flag_spec=
9913 whole_archive_flag_spec=
9914 # include_expsyms should be a list of space-separated symbols to be *always*
9915 # included in the symbol list
9917 # exclude_expsyms can be an extended regexp of symbols to exclude
9918 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9919 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9920 # as well as any symbol that contains `d'.
9921 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9922 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9923 # platforms (ab)use it in PIC code, but their linkers get confused if
9924 # the symbol is explicitly referenced. Since portable code cannot
9925 # rely on this symbol name, it's probably fine to never include it in
9926 # preloaded symbol tables.
9927 # Exclude shared library initialization/finalization symbols.
9928 extract_expsyms_cmds=
9931 cygwin* | mingw* | pw32* | cegcc*)
9932 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9933 # When not using gcc, we currently assume that we are using
9934 # Microsoft Visual C++.
9935 if test "$GCC" != yes; then
9940 # we just hope/assume this is gcc and not c89 (= MSVC++)
9946 linux* | k*bsd*-gnu | gnu*)
9953 # On some targets, GNU ld is compatible enough with the native linker
9954 # that we're better off using the native interface for both.
9955 lt_use_gnu_ld_interface=no
9956 if test "$with_gnu_ld" = yes; then
9959 # The AIX port of GNU ld has always aspired to compatibility
9960 # with the native linker. However, as the warning in the GNU ld
9961 # block says, versions before 2.19.5* couldn't really create working
9962 # shared libraries, regardless of the interface used.
9963 case `$LD -v 2>&1` in
9964 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9965 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9966 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9968 lt_use_gnu_ld_interface=yes
9973 lt_use_gnu_ld_interface=yes
9978 if test "$lt_use_gnu_ld_interface" = yes; then
9979 # If archive_cmds runs LD, not CC, wlarc should be empty
9982 # Set some defaults for GNU ld with shared library support. These
9983 # are reset later if shared libraries are not supported. Putting them
9984 # here allows them to be overridden if necessary.
9985 runpath_var=LD_RUN_PATH
9986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987 export_dynamic_flag_spec='${wl}--export-dynamic'
9988 # ancient GNU ld didn't support --whole-archive et. al.
9989 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9990 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9992 whole_archive_flag_spec=
9994 supports_anon_versioning=no
9995 case `$LD -v 2>&1` in
9996 *GNU\ gold*) supports_anon_versioning=yes ;;
9997 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9998 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9999 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10000 *\ 2.11.*) ;; # other 2.11 versions
10001 *) supports_anon_versioning=yes ;;
10004 # See if GNU ld supports shared libraries.
10007 # On AIX/PPC, the GNU linker is very broken
10008 if test "$host_cpu" != ia64; then
10012 *** Warning: the GNU linker, at least up to release 2.19, is reported
10013 *** to be unable to reliably create shared libraries on AIX.
10014 *** Therefore, libtool is disabling shared libraries support. If you
10015 *** really care for shared libraries, you may want to install binutils
10016 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10017 *** You will then need to restart the configuration process.
10026 # see comment about AmigaOS4 .so support
10027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028 archive_expsym_cmds=''
10031 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)'
10032 hardcode_libdir_flag_spec='-L$libdir'
10033 hardcode_minus_L=yes
10039 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10040 allow_undefined_flag=unsupported
10041 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10042 # support --undefined. This deserves some investigation. FIXME
10043 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10049 cygwin* | mingw* | pw32* | cegcc*)
10050 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10051 # as there is no search path for DLLs.
10052 hardcode_libdir_flag_spec='-L$libdir'
10053 export_dynamic_flag_spec='${wl}--export-all-symbols'
10054 allow_undefined_flag=unsupported
10055 always_export_symbols=no
10056 enable_shared_with_static_runtimes=yes
10057 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'
10058 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10060 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10061 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10062 # If the export-symbols file already is a .def file (1st line
10063 # is EXPORTS), use it as is; otherwise, prepend...
10064 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10065 cp $export_symbols $output_objdir/$soname.def;
10067 echo EXPORTS > $output_objdir/$soname.def;
10068 cat $export_symbols >> $output_objdir/$soname.def;
10070 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10077 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078 link_all_deplibs=yes
10083 hardcode_shlibpath_var=no
10084 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10085 export_dynamic_flag_spec='${wl}-E'
10086 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10087 # Instead, shared libraries are loaded at an image base (0x10000000 by
10088 # default) and relocated if they conflict, which is a slow very memory
10089 # consuming and fragmenting process. To avoid this, we pick a random,
10090 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10091 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10092 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10093 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'
10096 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10098 if test "$host_os" = linux-dietlibc; then
10099 case $cc_basename in
10100 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10103 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10104 && test "$tmp_diet" = no
10106 tmp_addflag=' $pic_flag'
10107 tmp_sharedflag='-shared'
10108 case $cc_basename,$host_cpu in
10109 pgcc*) # Portland Group C compiler
10110 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'
10111 tmp_addflag=' $pic_flag'
10113 pgf77* | pgf90* | pgf95* | pgfortran*)
10114 # Portland Group f77 and f90 compilers
10115 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'
10116 tmp_addflag=' $pic_flag -Mnomain' ;;
10117 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10118 tmp_addflag=' -i_dynamic' ;;
10119 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10120 tmp_addflag=' -i_dynamic -nofor_main' ;;
10121 ifc* | ifort*) # Intel Fortran compiler
10122 tmp_addflag=' -nofor_main' ;;
10123 lf95*) # Lahey Fortran 8.1
10124 whole_archive_flag_spec=
10125 tmp_sharedflag='--shared' ;;
10126 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10127 tmp_sharedflag='-qmkshrobj'
10129 nvcc*) # Cuda Compiler Driver 2.2
10130 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'
10131 compiler_needs_object=yes
10134 case `$CC -V 2>&1 | sed 5q` in
10135 *Sun\ C*) # Sun C 5.9
10136 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'
10137 compiler_needs_object=yes
10138 tmp_sharedflag='-G' ;;
10139 *Sun\ F*) # Sun Fortran 8.3
10140 tmp_sharedflag='-G' ;;
10142 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10144 if test "x$supports_anon_versioning" = xyes; then
10145 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10146 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10147 echo "local: *; };" >> $output_objdir/$libname.ver~
10148 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10151 case $cc_basename in
10152 xlf* | bgf* | bgxlf* | mpixlf*)
10153 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10154 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10155 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10156 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10157 if test "x$supports_anon_versioning" = xyes; then
10158 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10159 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10160 echo "local: *; };" >> $output_objdir/$libname.ver~
10161 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10170 netbsd* | netbsdelf*-gnu)
10171 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10172 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10175 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10176 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10181 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10185 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10186 *** create shared libraries on Solaris systems. Therefore, libtool
10187 *** is disabling shared libraries support. We urge you to upgrade GNU
10188 *** binutils to release 2.9.1 or newer. Another option is to modify
10189 *** your PATH or compiler configuration so that the native linker is
10190 *** used, and then restart.
10193 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10194 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10195 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10201 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10202 case `$LD -v 2>&1` in
10203 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10207 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10208 *** reliably create shared libraries on SCO systems. Therefore, libtool
10209 *** is disabling shared libraries support. We urge you to upgrade GNU
10210 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10211 *** your PATH or compiler configuration so that the native linker is
10212 *** used, and then restart.
10217 # For security reasons, it is highly recommended that you always
10218 # use absolute paths for naming shared libraries, and exclude the
10219 # DT_RUNPATH tag from executables and libraries. But doing so
10220 # requires that you compile everything twice, which is a pain.
10221 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10222 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10223 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10224 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10233 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10235 hardcode_direct=yes
10236 hardcode_shlibpath_var=no
10240 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10241 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10242 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10249 if test "$ld_shlibs" = no; then
10251 hardcode_libdir_flag_spec=
10252 export_dynamic_flag_spec=
10253 whole_archive_flag_spec=
10256 # PORTME fill in a description of your system's linker (not GNU ld)
10259 allow_undefined_flag=unsupported
10260 always_export_symbols=yes
10261 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'
10262 # Note: this linker hardcodes the directories in LIBPATH if there
10263 # are no directories specified by -L.
10264 hardcode_minus_L=yes
10265 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10266 # Neither direct hardcoding nor static linking is supported with a
10268 hardcode_direct=unsupported
10273 if test "$host_cpu" = ia64; then
10274 # On IA64, the linker does run time linking by default, so we don't
10275 # have to do anything special.
10276 aix_use_runtimelinking=no
10277 exp_sym_flag='-Bexport'
10280 # If we're using GNU nm, then we don't want the "-C" option.
10281 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10282 # Also, AIX nm treats weak defined symbols like other global
10283 # defined symbols, whereas GNU nm marks them as "W".
10284 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10285 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'
10287 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'
10289 aix_use_runtimelinking=no
10291 # Test if we are trying to use run time linking or normal
10292 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10293 # need to do runtime linking.
10294 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10295 for ld_flag in $LDFLAGS; do
10296 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10297 aix_use_runtimelinking=yes
10304 exp_sym_flag='-bexport'
10305 no_entry_flag='-bnoentry'
10308 # When large executables or shared objects are built, AIX ld can
10309 # have problems creating the table of contents. If linking a library
10310 # or program results in "error TOC overflow" add -mminimal-toc to
10311 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10312 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10315 hardcode_direct=yes
10316 hardcode_direct_absolute=yes
10317 hardcode_libdir_separator=':'
10318 link_all_deplibs=yes
10319 file_list_spec='${wl}-f,'
10321 if test "$GCC" = yes; then
10322 case $host_os in aix4.[012]|aix4.[012].*)
10323 # We only want to do this on AIX 4.2 and lower, the check
10324 # below for broken collect2 doesn't work under 4.3+
10325 collect2name=`${CC} -print-prog-name=collect2`
10326 if test -f "$collect2name" &&
10327 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10329 # We have reworked collect2
10332 # We have old collect2
10333 hardcode_direct=unsupported
10334 # It fails to find uninstalled libraries when the uninstalled
10335 # path is not listed in the libpath. Setting hardcode_minus_L
10336 # to unsupported forces relinking
10337 hardcode_minus_L=yes
10338 hardcode_libdir_flag_spec='-L$libdir'
10339 hardcode_libdir_separator=
10343 shared_flag='-shared'
10344 if test "$aix_use_runtimelinking" = yes; then
10345 shared_flag="$shared_flag "'${wl}-G'
10347 link_all_deplibs=no
10350 if test "$host_cpu" = ia64; then
10351 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10352 # chokes on -Wl,-G. The following line is correct:
10355 if test "$aix_use_runtimelinking" = yes; then
10356 shared_flag='${wl}-G'
10358 shared_flag='${wl}-bM:SRE'
10363 export_dynamic_flag_spec='${wl}-bexpall'
10364 # It seems that -bexpall does not export symbols beginning with
10365 # underscore (_), so it is better to generate a list of symbols to export.
10366 always_export_symbols=yes
10367 if test "$aix_use_runtimelinking" = yes; then
10368 # Warning - without using the other runtime loading flags (-brtl),
10369 # -berok will link without error, but may produce a broken library.
10370 allow_undefined_flag='-berok'
10371 # Determine the default libpath from the value encoded in an
10372 # empty executable.
10373 if test "${lt_cv_aix_libpath+set}" = set; then
10374 aix_libpath=$lt_cv_aix_libpath
10376 if ${lt_cv_aix_libpath_+:} false; then :
10377 $as_echo_n "(cached) " >&6
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10390 if ac_fn_c_try_link "$LINENO"; then :
10392 lt_aix_libpath_sed='
10393 /Import File Strings/,/^$/ {
10395 s/^0 *\([^ ]*\) *$/\1/
10399 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10400 # Check for a 64-bit object if we didn't find anything.
10401 if test -z "$lt_cv_aix_libpath_"; then
10402 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 if test -z "$lt_cv_aix_libpath_"; then
10408 lt_cv_aix_libpath_="/usr/lib:/lib"
10413 aix_libpath=$lt_cv_aix_libpath_
10416 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10417 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"
10419 if test "$host_cpu" = ia64; then
10420 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10421 allow_undefined_flag="-z nodefs"
10422 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"
10424 # Determine the default libpath from the value encoded in an
10425 # empty executable.
10426 if test "${lt_cv_aix_libpath+set}" = set; then
10427 aix_libpath=$lt_cv_aix_libpath
10429 if ${lt_cv_aix_libpath_+:} false; then :
10430 $as_echo_n "(cached) " >&6
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10443 if ac_fn_c_try_link "$LINENO"; then :
10445 lt_aix_libpath_sed='
10446 /Import File Strings/,/^$/ {
10448 s/^0 *\([^ ]*\) *$/\1/
10452 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10453 # Check for a 64-bit object if we didn't find anything.
10454 if test -z "$lt_cv_aix_libpath_"; then
10455 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10458 rm -f core conftest.err conftest.$ac_objext \
10459 conftest$ac_exeext conftest.$ac_ext
10460 if test -z "$lt_cv_aix_libpath_"; then
10461 lt_cv_aix_libpath_="/usr/lib:/lib"
10466 aix_libpath=$lt_cv_aix_libpath_
10469 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10470 # Warning - without using the other run time loading flags,
10471 # -berok will link without error, but may produce a broken library.
10472 no_undefined_flag=' ${wl}-bernotok'
10473 allow_undefined_flag=' ${wl}-berok'
10474 if test "$with_gnu_ld" = yes; then
10475 # We only use this code for GNU lds that support --whole-archive.
10476 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10478 # Exported symbols can be pulled into shared objects from archives
10479 whole_archive_flag_spec='$convenience'
10481 archive_cmds_need_lc=yes
10482 # This is similar to how AIX traditionally builds its shared libraries.
10483 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'
10491 # see comment about AmigaOS4 .so support
10492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10493 archive_expsym_cmds=''
10496 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)'
10497 hardcode_libdir_flag_spec='-L$libdir'
10498 hardcode_minus_L=yes
10504 export_dynamic_flag_spec=-rdynamic
10507 cygwin* | mingw* | pw32* | cegcc*)
10508 # When not using gcc, we currently assume that we are using
10509 # Microsoft Visual C++.
10510 # hardcode_libdir_flag_spec is actually meaningless, as there is
10511 # no search path for DLLs.
10512 case $cc_basename in
10515 hardcode_libdir_flag_spec=' '
10516 allow_undefined_flag=unsupported
10517 always_export_symbols=yes
10519 # Tell ltmain to make .lib files, not .a files.
10521 # Tell ltmain to make .dll files, not .so files.
10523 # FIXME: Setting linknames here is a bad hack.
10524 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10525 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10526 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10528 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10530 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10532 # The linker will not automatically build a static lib if we build a DLL.
10533 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10534 enable_shared_with_static_runtimes=yes
10535 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10536 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10538 old_postinstall_cmds='chmod 644 $oldlib'
10539 postlink_cmds='lt_outputfile="@OUTPUT@"~
10540 lt_tool_outputfile="@TOOL_OUTPUT@"~
10541 case $lt_outputfile in
10544 lt_outputfile="$lt_outputfile.exe"
10545 lt_tool_outputfile="$lt_tool_outputfile.exe"
10548 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10549 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10550 $RM "$lt_outputfile.manifest";
10554 # Assume MSVC wrapper
10555 hardcode_libdir_flag_spec=' '
10556 allow_undefined_flag=unsupported
10557 # Tell ltmain to make .lib files, not .a files.
10559 # Tell ltmain to make .dll files, not .so files.
10561 # FIXME: Setting linknames here is a bad hack.
10562 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10563 # The linker will automatically build a .lib file if we build a DLL.
10564 old_archive_from_new_cmds='true'
10565 # FIXME: Should let the user specify the lib program.
10566 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10567 enable_shared_with_static_runtimes=yes
10572 darwin* | rhapsody*)
10575 archive_cmds_need_lc=no
10577 hardcode_automatic=yes
10578 hardcode_shlibpath_var=unsupported
10579 if test "$lt_cv_ld_force_load" = "yes"; then
10580 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\"`'
10583 whole_archive_flag_spec=''
10585 link_all_deplibs=yes
10586 allow_undefined_flag="$_lt_dar_allow_undefined"
10587 case $cc_basename in
10588 ifort*) _lt_dar_can_shared=yes ;;
10589 *) _lt_dar_can_shared=$GCC ;;
10591 if test "$_lt_dar_can_shared" = "yes"; then
10592 output_verbose_link_cmd=func_echo_all
10593 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10594 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10595 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}"
10596 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}"
10605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606 hardcode_libdir_flag_spec='-L$libdir'
10607 hardcode_shlibpath_var=no
10610 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10611 # support. Future versions do this automatically, but an explicit c++rt0.o
10612 # does not break anything, and helps significantly (at the cost of a little
10615 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10616 hardcode_libdir_flag_spec='-R$libdir'
10617 hardcode_direct=yes
10618 hardcode_shlibpath_var=no
10621 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10623 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10624 hardcode_direct=yes
10625 hardcode_minus_L=yes
10626 hardcode_shlibpath_var=no
10629 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10630 freebsd* | dragonfly*)
10631 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10632 hardcode_libdir_flag_spec='-R$libdir'
10633 hardcode_direct=yes
10634 hardcode_shlibpath_var=no
10638 if test "$GCC" = yes; then
10639 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'
10641 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'
10643 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10644 hardcode_libdir_separator=:
10645 hardcode_direct=yes
10647 # hardcode_minus_L: Not really in the search PATH,
10648 # but as the default location of the library.
10649 hardcode_minus_L=yes
10650 export_dynamic_flag_spec='${wl}-E'
10654 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10655 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10659 if test "$with_gnu_ld" = no; then
10660 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10661 hardcode_libdir_separator=:
10662 hardcode_direct=yes
10663 hardcode_direct_absolute=yes
10664 export_dynamic_flag_spec='${wl}-E'
10665 # hardcode_minus_L: Not really in the search PATH,
10666 # but as the default location of the library.
10667 hardcode_minus_L=yes
10672 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10675 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10678 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10681 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10687 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10690 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10694 # Older versions of the 11.00 compiler do not understand -b yet
10695 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10697 $as_echo_n "checking if $CC understands -b... " >&6; }
10698 if ${lt_cv_prog_compiler__b+:} false; then :
10699 $as_echo_n "(cached) " >&6
10701 lt_cv_prog_compiler__b=no
10702 save_LDFLAGS="$LDFLAGS"
10703 LDFLAGS="$LDFLAGS -b"
10704 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10705 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10706 # The linker can only warn and ignore the option if not recognized
10707 # So say no if there are warnings
10708 if test -s conftest.err; then
10709 # Append any errors to the config.log.
10710 cat conftest.err 1>&5
10711 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10712 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10713 if diff conftest.exp conftest.er2 >/dev/null; then
10714 lt_cv_prog_compiler__b=yes
10717 lt_cv_prog_compiler__b=yes
10721 LDFLAGS="$save_LDFLAGS"
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10725 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10727 if test x"$lt_cv_prog_compiler__b" = xyes; then
10728 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10730 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10736 if test "$with_gnu_ld" = no; then
10737 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10738 hardcode_libdir_separator=:
10743 hardcode_shlibpath_var=no
10746 hardcode_direct=yes
10747 hardcode_direct_absolute=yes
10748 export_dynamic_flag_spec='${wl}-E'
10750 # hardcode_minus_L: Not really in the search PATH,
10751 # but as the default location of the library.
10752 hardcode_minus_L=yes
10758 irix5* | irix6* | nonstopux*)
10759 if test "$GCC" = yes; then
10760 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'
10761 # Try to use the -exported_symbol ld option, if it does not
10762 # work, assume that -exports_file does not work either and
10763 # implicitly export all symbols.
10764 # This should be the same for all languages, so no per-tag cache variable.
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10766 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10767 if ${lt_cv_irix_exported_symbol+:} false; then :
10768 $as_echo_n "(cached) " >&6
10770 save_LDFLAGS="$LDFLAGS"
10771 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774 int foo (void) { return 0; }
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 lt_cv_irix_exported_symbol=yes
10779 lt_cv_irix_exported_symbol=no
10781 rm -f core conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LDFLAGS="$save_LDFLAGS"
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10786 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10787 if test "$lt_cv_irix_exported_symbol" = yes; then
10788 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'
10791 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'
10792 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'
10794 archive_cmds_need_lc='no'
10795 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10796 hardcode_libdir_separator=:
10798 link_all_deplibs=yes
10801 netbsd* | netbsdelf*-gnu)
10802 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10803 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10805 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10807 hardcode_libdir_flag_spec='-R$libdir'
10808 hardcode_direct=yes
10809 hardcode_shlibpath_var=no
10813 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10814 hardcode_direct=yes
10815 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10816 hardcode_libdir_separator=:
10817 hardcode_shlibpath_var=no
10824 if test -f /usr/libexec/ld.so; then
10825 hardcode_direct=yes
10826 hardcode_shlibpath_var=no
10827 hardcode_direct_absolute=yes
10828 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10829 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10831 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10832 export_dynamic_flag_spec='${wl}-E'
10835 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10836 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_libdir_flag_spec='-R$libdir'
10840 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10841 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10851 hardcode_libdir_flag_spec='-L$libdir'
10852 hardcode_minus_L=yes
10853 allow_undefined_flag=unsupported
10854 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'
10855 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10859 if test "$GCC" = yes; then
10860 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10861 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'
10863 allow_undefined_flag=' -expect_unresolved \*'
10864 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'
10866 archive_cmds_need_lc='no'
10867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10868 hardcode_libdir_separator=:
10871 osf4* | osf5*) # as osf3* with the addition of -msym flag
10872 if test "$GCC" = yes; then
10873 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10874 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'
10875 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10877 allow_undefined_flag=' -expect_unresolved \*'
10878 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'
10879 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~
10880 $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'
10882 # Both c and cxx compiler support -rpath directly
10883 hardcode_libdir_flag_spec='-rpath $libdir'
10885 archive_cmds_need_lc='no'
10886 hardcode_libdir_separator=:
10890 no_undefined_flag=' -z defs'
10891 if test "$GCC" = yes; then
10893 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10895 $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'
10897 case `$CC -V 2>&1` in
10900 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10902 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10906 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10907 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10908 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10912 hardcode_libdir_flag_spec='-R$libdir'
10913 hardcode_shlibpath_var=no
10915 solaris2.[0-5] | solaris2.[0-5].*) ;;
10917 # The compiler driver will combine and reorder linker options,
10918 # but understands `-z linker_flag'. GCC discards it without `$wl',
10919 # but is careful enough not to reorder.
10920 # Supported since Solaris 2.6 (maybe 2.5.1?)
10921 if test "$GCC" = yes; then
10922 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10924 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10928 link_all_deplibs=yes
10932 if test "x$host_vendor" = xsequent; then
10933 # Use $CC to link under sequent, because it throws in some extra .o
10934 # files that make .init and .fini sections work.
10935 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10937 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10939 hardcode_libdir_flag_spec='-L$libdir'
10940 hardcode_direct=yes
10941 hardcode_minus_L=yes
10942 hardcode_shlibpath_var=no
10946 case $host_vendor in
10948 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10949 hardcode_direct=yes # is this really true???
10952 ## LD is ld it makes a PLAMLIB
10953 ## CC just makes a GrossModule.
10954 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10955 reload_cmds='$CC -r -o $output$reload_objs'
10959 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10960 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10963 runpath_var='LD_RUN_PATH'
10964 hardcode_shlibpath_var=no
10968 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10969 hardcode_shlibpath_var=no
10970 export_dynamic_flag_spec='-Bexport'
10974 if test -d /usr/nec; then
10975 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10976 hardcode_shlibpath_var=no
10977 runpath_var=LD_RUN_PATH
10978 hardcode_runpath_var=yes
10983 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10984 no_undefined_flag='${wl}-z,text'
10985 archive_cmds_need_lc=no
10986 hardcode_shlibpath_var=no
10987 runpath_var='LD_RUN_PATH'
10989 if test "$GCC" = yes; then
10990 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10991 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10993 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10994 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10998 sysv5* | sco3.2v5* | sco5v6*)
10999 # Note: We can NOT use -z defs as we might desire, because we do not
11000 # link with -lc, and that would cause any symbols used from libc to
11001 # always be unresolved, which means just about no library would
11002 # ever link correctly. If we're not using GNU ld we use -z text
11003 # though, which does catch some bad symbols but isn't as heavy-handed
11005 no_undefined_flag='${wl}-z,text'
11006 allow_undefined_flag='${wl}-z,nodefs'
11007 archive_cmds_need_lc=no
11008 hardcode_shlibpath_var=no
11009 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11010 hardcode_libdir_separator=':'
11011 link_all_deplibs=yes
11012 export_dynamic_flag_spec='${wl}-Bexport'
11013 runpath_var='LD_RUN_PATH'
11015 if test "$GCC" = yes; then
11016 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11017 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11019 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11020 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11025 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11026 hardcode_libdir_flag_spec='-L$libdir'
11027 hardcode_shlibpath_var=no
11035 if test x$host_vendor = xsni; then
11037 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11038 export_dynamic_flag_spec='${wl}-Blargedynsym'
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11045 $as_echo "$ld_shlibs" >&6; }
11046 test "$ld_shlibs" = no && can_build_shared=no
11048 with_gnu_ld=$with_gnu_ld
11065 # Do we need to explicitly link libc?
11067 case "x$archive_cmds_need_lc" in
11069 # Assume -lc should be added
11070 archive_cmds_need_lc=yes
11072 if test "$enable_shared" = yes && test "$GCC" = yes; then
11073 case $archive_cmds in
11075 # FIXME: we may have to deal with multi-command sequences.
11078 # Test whether the compiler implicitly links with -lc since on some
11079 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11080 # to ld, don't add -lc before -lgcc.
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11082 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11083 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11084 $as_echo_n "(cached) " >&6
11087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11090 (eval $ac_compile) 2>&5
11092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11093 test $ac_status = 0; } 2>conftest.err; then
11096 libobjs=conftest.$ac_objext
11098 wl=$lt_prog_compiler_wl
11099 pic_flag=$lt_prog_compiler_pic
11105 lt_save_allow_undefined_flag=$allow_undefined_flag
11106 allow_undefined_flag=
11107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11108 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11111 test $ac_status = 0; }
11113 lt_cv_archive_cmds_need_lc=no
11115 lt_cv_archive_cmds_need_lc=yes
11117 allow_undefined_flag=$lt_save_allow_undefined_flag
11119 cat conftest.err 1>&5
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11125 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11126 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11285 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11287 if test "$GCC" = yes; then
11289 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11290 *) lt_awk_arg="/^libraries:/" ;;
11293 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11294 *) lt_sed_strip_eq="s,=/,/,g" ;;
11296 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11297 case $lt_search_path_spec in
11299 # if the path contains ";" then we assume it to be the separator
11300 # otherwise default to the standard path separator (i.e. ":") - it is
11301 # assumed that no part of a normal pathname contains ";" but that should
11302 # okay in the real world where ";" in dirpaths is itself problematic.
11303 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11306 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11309 # Ok, now we have the path, separated by spaces, we can step through it
11310 # and add multilib dir if necessary.
11311 lt_tmp_lt_search_path_spec=
11312 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11313 for lt_sys_path in $lt_search_path_spec; do
11314 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11315 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11317 test -d "$lt_sys_path" && \
11318 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11321 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11322 BEGIN {RS=" "; FS="/|\n";} {
11325 for (lt_i = NF; lt_i > 0; lt_i--) {
11326 if ($lt_i != "" && $lt_i != ".") {
11327 if ($lt_i == "..") {
11330 if (lt_count == 0) {
11331 lt_foo="/" $lt_i lt_foo;
11338 if (lt_foo != "") { lt_freq[lt_foo]++; }
11339 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11341 # AWK program above erroneously prepends '/' to C:/dos/paths
11344 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11345 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11347 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11349 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11351 library_names_spec=
11352 libname_spec='lib$name'
11356 postuninstall_cmds=
11360 shlibpath_overrides_runpath=unknown
11362 dynamic_linker="$host_os ld.so"
11363 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11364 need_lib_prefix=unknown
11365 hardcode_into_libs=no
11367 # when you set need_version to no, make sure it does not cause -set_version
11368 # flags to be left without arguments
11369 need_version=unknown
11373 version_type=linux # correct to gnu/linux during the next big refactor
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11375 shlibpath_var=LIBPATH
11377 # AIX 3 has no versioning support, so we append a major version to the name.
11378 soname_spec='${libname}${release}${shared_ext}$major'
11382 version_type=linux # correct to gnu/linux during the next big refactor
11385 hardcode_into_libs=yes
11386 if test "$host_cpu" = ia64; then
11387 # AIX 5 supports IA64
11388 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11389 shlibpath_var=LD_LIBRARY_PATH
11391 # With GCC up to 2.95.x, collect2 would create an import file
11392 # for dependence libraries. The import file would start with
11393 # the line `#! .'. This would cause the generated library to
11394 # depend on `.', always an invalid library. This was fixed in
11395 # development snapshots of GCC prior to 3.0.
11397 aix4 | aix4.[01] | aix4.[01].*)
11398 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11400 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11403 can_build_shared=no
11407 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11408 # soname into executable. Probably we can add versioning support to
11409 # collect2, so additional links can be useful in future.
11410 if test "$aix_use_runtimelinking" = yes; then
11411 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11412 # instead of lib<name>.a to let people know that these are not
11413 # typical AIX shared libraries.
11414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416 # We preserve .a as extension for shared libraries through AIX4.2
11417 # and later when we are not doing run time linking.
11418 library_names_spec='${libname}${release}.a $libname.a'
11419 soname_spec='${libname}${release}${shared_ext}$major'
11421 shlibpath_var=LIBPATH
11428 # Since July 2007 AmigaOS4 officially supports .so libraries.
11429 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11433 library_names_spec='$libname.ixlibrary $libname.a'
11434 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11435 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'
11441 library_names_spec='${libname}${shared_ext}'
11442 dynamic_linker="$host_os ld.so"
11443 shlibpath_var=LIBRARY_PATH
11447 version_type=linux # correct to gnu/linux during the next big refactor
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450 soname_spec='${libname}${release}${shared_ext}$major'
11451 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11452 shlibpath_var=LD_LIBRARY_PATH
11453 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11454 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11455 # the default ld.so.conf also contains /usr/contrib/lib and
11456 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11457 # libtool to hard-code these into programs
11460 cygwin* | mingw* | pw32* | cegcc*)
11461 version_type=windows
11466 case $GCC,$cc_basename in
11469 library_names_spec='$libname.dll.a'
11470 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11471 postinstall_cmds='base_file=`basename \${file}`~
11472 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11473 dldir=$destdir/`dirname \$dlpath`~
11474 test -d \$dldir || mkdir -p \$dldir~
11475 $install_prog $dir/$dlname \$dldir/$dlname~
11476 chmod a+x \$dldir/$dlname~
11477 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11478 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11480 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11481 dlpath=$dir/\$dldll~
11483 shlibpath_overrides_runpath=yes
11487 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11488 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11490 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11493 # MinGW DLLs use traditional 'lib' prefix
11494 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11497 # pw32 DLLs use 'pw' prefix rather than 'lib'
11498 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11501 dynamic_linker='Win32 ld.exe'
11506 libname_spec='$name'
11507 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11508 library_names_spec='${libname}.dll.lib'
11512 sys_lib_search_path_spec=
11515 for lt_path in $LIB
11518 # Let DOS variable expansion print the short 8.3 style file name.
11519 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11520 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11523 # Convert to MSYS style.
11524 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11527 # Convert to unix form, then to dos form, then back to unix form
11528 # but this time dos style (no spaces!) so that the unix form looks
11529 # like /cygdrive/c/PROGRA~1:/cygdr...
11530 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11531 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11532 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11535 sys_lib_search_path_spec="$LIB"
11536 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11537 # It is most probably a Windows format PATH.
11538 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11540 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11542 # FIXME: find the short name or the path components, as spaces are
11543 # common. (e.g. "Program Files" -> "PROGRA~1")
11547 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11548 postinstall_cmds='base_file=`basename \${file}`~
11549 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11550 dldir=$destdir/`dirname \$dlpath`~
11551 test -d \$dldir || mkdir -p \$dldir~
11552 $install_prog $dir/$dlname \$dldir/$dlname'
11553 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11554 dlpath=$dir/\$dldll~
11556 shlibpath_overrides_runpath=yes
11557 dynamic_linker='Win32 link.exe'
11561 # Assume MSVC wrapper
11562 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11563 dynamic_linker='Win32 ld.exe'
11566 # FIXME: first we should search . and the directory the executable is in
11570 darwin* | rhapsody*)
11571 dynamic_linker="$host_os dyld"
11572 version_type=darwin
11575 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11576 soname_spec='${libname}${release}${major}$shared_ext'
11577 shlibpath_overrides_runpath=yes
11578 shlibpath_var=DYLD_LIBRARY_PATH
11579 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11581 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11582 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11586 version_type=linux # correct to gnu/linux during the next big refactor
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 shlibpath_var=LD_LIBRARY_PATH
11594 freebsd* | dragonfly*)
11595 # DragonFly does not have aout. When/if they implement a new
11596 # versioning mechanism, adjust this.
11597 if test -x /usr/bin/objformat; then
11598 objformat=`/usr/bin/objformat`
11601 freebsd[23].*) objformat=aout ;;
11602 *) objformat=elf ;;
11605 version_type=freebsd-$objformat
11606 case $version_type in
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11613 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11617 shlibpath_var=LD_LIBRARY_PATH
11620 shlibpath_overrides_runpath=yes
11622 freebsd3.[01]* | freebsdelf3.[01]*)
11623 shlibpath_overrides_runpath=yes
11624 hardcode_into_libs=yes
11626 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11627 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11628 shlibpath_overrides_runpath=no
11629 hardcode_into_libs=yes
11631 *) # from 4.6 on, and DragonFly
11632 shlibpath_overrides_runpath=yes
11633 hardcode_into_libs=yes
11639 version_type=linux # correct to gnu/linux during the next big refactor
11642 dynamic_linker="$host_os runtime_loader"
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11644 soname_spec='${libname}${release}${shared_ext}$major'
11645 shlibpath_var=LIBRARY_PATH
11646 shlibpath_overrides_runpath=yes
11647 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11648 hardcode_into_libs=yes
11651 hpux9* | hpux10* | hpux11*)
11652 # Give a soname corresponding to the major version so that dld.sl refuses to
11653 # link against other versions.
11660 hardcode_into_libs=yes
11661 dynamic_linker="$host_os dld.so"
11662 shlibpath_var=LD_LIBRARY_PATH
11663 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665 soname_spec='${libname}${release}${shared_ext}$major'
11666 if test "X$HPUX_IA64_MODE" = X32; then
11667 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11669 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11671 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11675 hardcode_into_libs=yes
11676 dynamic_linker="$host_os dld.sl"
11677 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11678 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680 soname_spec='${libname}${release}${shared_ext}$major'
11681 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11682 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11686 dynamic_linker="$host_os dld.sl"
11687 shlibpath_var=SHLIB_PATH
11688 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11690 soname_spec='${libname}${release}${shared_ext}$major'
11693 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11694 postinstall_cmds='chmod 555 $lib'
11695 # or fails outright, so override atomically:
11696 install_override_mode=555
11700 version_type=linux # correct to gnu/linux during the next big refactor
11703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11704 soname_spec='${libname}${release}${shared_ext}$major'
11705 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11706 shlibpath_var=LD_LIBRARY_PATH
11707 shlibpath_overrides_runpath=no
11708 hardcode_into_libs=yes
11711 irix5* | irix6* | nonstopux*)
11713 nonstopux*) version_type=nonstopux ;;
11715 if test "$lt_cv_prog_gnu_ld" = yes; then
11716 version_type=linux # correct to gnu/linux during the next big refactor
11723 soname_spec='${libname}${release}${shared_ext}$major'
11724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11726 irix5* | nonstopux*)
11727 libsuff= shlibsuff=
11730 case $LD in # libtool.m4 will add one of these switches to LD
11731 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11732 libsuff= shlibsuff= libmagic=32-bit;;
11733 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11734 libsuff=32 shlibsuff=N32 libmagic=N32;;
11735 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11736 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11737 *) libsuff= shlibsuff= libmagic=never-match;;
11741 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11742 shlibpath_overrides_runpath=no
11743 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11744 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11745 hardcode_into_libs=yes
11748 # No shared lib support for Linux oldld, aout, or coff.
11749 linux*oldld* | linux*aout* | linux*coff*)
11753 # This must be glibc/ELF.
11754 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11755 version_type=linux # correct to gnu/linux during the next big refactor
11758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759 soname_spec='${libname}${release}${shared_ext}$major'
11760 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11761 shlibpath_var=LD_LIBRARY_PATH
11762 shlibpath_overrides_runpath=no
11764 # Some binutils ld are patched to set DT_RUNPATH
11765 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11766 $as_echo_n "(cached) " >&6
11768 lt_cv_shlibpath_overrides_runpath=no
11769 save_LDFLAGS=$LDFLAGS
11770 save_libdir=$libdir
11771 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11772 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11784 if ac_fn_c_try_link "$LINENO"; then :
11785 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11786 lt_cv_shlibpath_overrides_runpath=yes
11789 rm -f core conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LDFLAGS=$save_LDFLAGS
11792 libdir=$save_libdir
11796 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11798 # This implies no fast_install, which is unacceptable.
11799 # Some rework will be needed to allow for fast_install
11800 # before this can be enabled.
11801 hardcode_into_libs=yes
11803 # Append ld.so.conf contents to the search path
11804 if test -f /etc/ld.so.conf; then
11805 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' ' '`
11806 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11809 # We used to test for /lib/ld.so.1 and disable shared libraries on
11810 # powerpc, because MkLinux only supported shared libraries with the
11811 # GNU dynamic linker. Since this was broken with cross compilers,
11812 # most powerpc-linux boxes support dynamic linking these days and
11813 # people can always --disable-shared, the test was removed, and we
11814 # assume the GNU/Linux dynamic linker is in use.
11815 dynamic_linker='GNU/Linux ld.so'
11822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11823 soname_spec='${libname}${release}${shared_ext}$major'
11824 shlibpath_var=LD_LIBRARY_PATH
11825 shlibpath_overrides_runpath=no
11826 hardcode_into_libs=yes
11827 dynamic_linker='NetBSD ld.elf_so'
11834 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11836 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11837 dynamic_linker='NetBSD (a.out) ld.so'
11839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11840 soname_spec='${libname}${release}${shared_ext}$major'
11841 dynamic_linker='NetBSD ld.elf_so'
11843 shlibpath_var=LD_LIBRARY_PATH
11844 shlibpath_overrides_runpath=yes
11845 hardcode_into_libs=yes
11849 version_type=linux # correct to gnu/linux during the next big refactor
11850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851 shlibpath_var=LD_LIBRARY_PATH
11852 shlibpath_overrides_runpath=yes
11859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11860 soname_spec='${libname}${release}${shared_ext}$major'
11861 shlibpath_var=LD_LIBRARY_PATH
11862 shlibpath_overrides_runpath=no
11863 hardcode_into_libs=yes
11864 dynamic_linker='ldqnx.so'
11869 sys_lib_dlsearch_path_spec="/usr/lib"
11871 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11873 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11874 *) need_version=no ;;
11876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11877 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11878 shlibpath_var=LD_LIBRARY_PATH
11879 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11881 openbsd2.[89] | openbsd2.[89].*)
11882 shlibpath_overrides_runpath=no
11885 shlibpath_overrides_runpath=yes
11889 shlibpath_overrides_runpath=yes
11894 libname_spec='$name'
11897 library_names_spec='$libname${shared_ext} $libname.a'
11898 dynamic_linker='OS/2 ld.exe'
11899 shlibpath_var=LIBPATH
11902 osf3* | osf4* | osf5*)
11906 soname_spec='${libname}${release}${shared_ext}$major'
11907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11908 shlibpath_var=LD_LIBRARY_PATH
11909 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11910 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11918 version_type=linux # correct to gnu/linux during the next big refactor
11921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11922 soname_spec='${libname}${release}${shared_ext}$major'
11923 shlibpath_var=LD_LIBRARY_PATH
11924 shlibpath_overrides_runpath=yes
11925 hardcode_into_libs=yes
11926 # ldd complains unless libraries are executable
11927 postinstall_cmds='chmod +x $lib'
11932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11933 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11934 shlibpath_var=LD_LIBRARY_PATH
11935 shlibpath_overrides_runpath=yes
11936 if test "$with_gnu_ld" = yes; then
11943 version_type=linux # correct to gnu/linux during the next big refactor
11944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11945 soname_spec='${libname}${release}${shared_ext}$major'
11946 shlibpath_var=LD_LIBRARY_PATH
11947 case $host_vendor in
11949 shlibpath_overrides_runpath=no
11951 runpath_var=LD_RUN_PATH
11959 shlibpath_overrides_runpath=no
11960 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11966 if test -d /usr/nec ;then
11967 version_type=linux # correct to gnu/linux during the next big refactor
11968 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11969 soname_spec='$libname${shared_ext}.$major'
11970 shlibpath_var=LD_LIBRARY_PATH
11974 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11975 version_type=freebsd-elf
11978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11979 soname_spec='${libname}${release}${shared_ext}$major'
11980 shlibpath_var=LD_LIBRARY_PATH
11981 shlibpath_overrides_runpath=yes
11982 hardcode_into_libs=yes
11983 if test "$with_gnu_ld" = yes; then
11984 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11986 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11989 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11993 sys_lib_dlsearch_path_spec='/usr/lib'
11997 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11998 version_type=linux # correct to gnu/linux during the next big refactor
12001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12002 shlibpath_var=LD_LIBRARY_PATH
12003 shlibpath_overrides_runpath=no
12004 hardcode_into_libs=yes
12008 version_type=linux # correct to gnu/linux during the next big refactor
12009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12010 soname_spec='${libname}${release}${shared_ext}$major'
12011 shlibpath_var=LD_LIBRARY_PATH
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12019 $as_echo "$dynamic_linker" >&6; }
12020 test "$dynamic_linker" = no && can_build_shared=no
12022 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12023 if test "$GCC" = yes; then
12024 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12027 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12028 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12030 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12031 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12126 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12128 if test -n "$hardcode_libdir_flag_spec" ||
12129 test -n "$runpath_var" ||
12130 test "X$hardcode_automatic" = "Xyes" ; then
12132 # We can hardcode non-existent directories.
12133 if test "$hardcode_direct" != no &&
12134 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12135 # have to relink, otherwise we might link with an installed library
12136 # when we should be linking with a yet-to-be-installed one
12137 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12138 test "$hardcode_minus_L" != no; then
12139 # Linking always hardcodes the temporary library directory.
12140 hardcode_action=relink
12142 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12143 hardcode_action=immediate
12146 # We cannot hardcode anything, or else we can only hardcode existing
12148 hardcode_action=unsupported
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12151 $as_echo "$hardcode_action" >&6; }
12153 if test "$hardcode_action" = relink ||
12154 test "$inherit_rpath" = yes; then
12155 # Fast installation is not supported
12156 enable_fast_install=no
12157 elif test "$shlibpath_overrides_runpath" = yes ||
12158 test "$enable_shared" = no; then
12159 # Fast installation is not necessary
12160 enable_fast_install=needless
12168 if test "x$enable_dlopen" != xyes; then
12169 enable_dlopen=unknown
12170 enable_dlopen_self=unknown
12171 enable_dlopen_self_static=unknown
12178 lt_cv_dlopen="load_add_on"
12180 lt_cv_dlopen_self=yes
12183 mingw* | pw32* | cegcc*)
12184 lt_cv_dlopen="LoadLibrary"
12189 lt_cv_dlopen="dlopen"
12194 # if libdl is installed we need to link against it
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12196 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12197 if ${ac_cv_lib_dl_dlopen+:} false; then :
12198 $as_echo_n "(cached) " >&6
12200 ac_check_lib_save_LIBS=$LIBS
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 ac_cv_lib_dl_dlopen=yes
12223 ac_cv_lib_dl_dlopen=no
12225 rm -f core conftest.err conftest.$ac_objext \
12226 conftest$ac_exeext conftest.$ac_ext
12227 LIBS=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12230 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12231 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12232 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12235 lt_cv_dlopen="dyld"
12237 lt_cv_dlopen_self=yes
12244 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12245 if test "x$ac_cv_func_shl_load" = xyes; then :
12246 lt_cv_dlopen="shl_load"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12249 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12250 if ${ac_cv_lib_dld_shl_load+:} false; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_check_lib_save_LIBS=$LIBS
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12268 return shl_load ();
12273 if ac_fn_c_try_link "$LINENO"; then :
12274 ac_cv_lib_dld_shl_load=yes
12276 ac_cv_lib_dld_shl_load=no
12278 rm -f core conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12283 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12284 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12285 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12287 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12288 if test "x$ac_cv_func_dlopen" = xyes; then :
12289 lt_cv_dlopen="dlopen"
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12292 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12293 if ${ac_cv_lib_dl_dlopen+:} false; then :
12294 $as_echo_n "(cached) " >&6
12296 ac_check_lib_save_LIBS=$LIBS
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12316 if ac_fn_c_try_link "$LINENO"; then :
12317 ac_cv_lib_dl_dlopen=yes
12319 ac_cv_lib_dl_dlopen=no
12321 rm -f core conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12323 LIBS=$ac_check_lib_save_LIBS
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12326 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12327 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12328 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12331 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12332 if ${ac_cv_lib_svld_dlopen+:} false; then :
12333 $as_echo_n "(cached) " >&6
12335 ac_check_lib_save_LIBS=$LIBS
12336 LIBS="-lsvld $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12355 if ac_fn_c_try_link "$LINENO"; then :
12356 ac_cv_lib_svld_dlopen=yes
12358 ac_cv_lib_svld_dlopen=no
12360 rm -f core conftest.err conftest.$ac_objext \
12361 conftest$ac_exeext conftest.$ac_ext
12362 LIBS=$ac_check_lib_save_LIBS
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12365 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12366 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12367 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12370 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12371 if ${ac_cv_lib_dld_dld_link+:} false; then :
12372 $as_echo_n "(cached) " >&6
12374 ac_check_lib_save_LIBS=$LIBS
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12379 /* Override any GCC internal prototype to avoid an error.
12380 Use char because int might match the return type of a GCC
12381 builtin and then its argument prototype would still apply. */
12389 return dld_link ();
12394 if ac_fn_c_try_link "$LINENO"; then :
12395 ac_cv_lib_dld_dld_link=yes
12397 ac_cv_lib_dld_dld_link=no
12399 rm -f core conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 LIBS=$ac_check_lib_save_LIBS
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12404 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12405 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12406 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12427 if test "x$lt_cv_dlopen" != xno; then
12433 case $lt_cv_dlopen in
12435 save_CPPFLAGS="$CPPFLAGS"
12436 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12438 save_LDFLAGS="$LDFLAGS"
12439 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12442 LIBS="$lt_cv_dlopen_libs $LIBS"
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12445 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12446 if ${lt_cv_dlopen_self+:} false; then :
12447 $as_echo_n "(cached) " >&6
12449 if test "$cross_compiling" = yes; then :
12450 lt_cv_dlopen_self=cross
12452 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12453 lt_status=$lt_dlunknown
12454 cat > conftest.$ac_ext <<_LT_EOF
12455 #line $LINENO "configure"
12456 #include "confdefs.h"
12465 # define LT_DLGLOBAL RTLD_GLOBAL
12468 # define LT_DLGLOBAL DL_GLOBAL
12470 # define LT_DLGLOBAL 0
12474 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12475 find out it does not work in some platform. */
12476 #ifndef LT_DLLAZY_OR_NOW
12478 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12481 # define LT_DLLAZY_OR_NOW DL_LAZY
12484 # define LT_DLLAZY_OR_NOW RTLD_NOW
12487 # define LT_DLLAZY_OR_NOW DL_NOW
12489 # define LT_DLLAZY_OR_NOW 0
12496 /* When -fvisbility=hidden is used, assume the code has been annotated
12497 correspondingly for the symbols needed. */
12498 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12499 int fnord () __attribute__((visibility("default")));
12502 int fnord () { return 42; }
12505 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12506 int status = $lt_dlunknown;
12510 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12513 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12514 else puts (dlerror ());
12516 /* dlclose (self); */
12524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12525 (eval $ac_link) 2>&5
12527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12529 (./conftest; exit; ) >&5 2>/dev/null
12531 case x$lt_status in
12532 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12533 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12534 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12537 # compilation failed
12538 lt_cv_dlopen_self=no
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12546 $as_echo "$lt_cv_dlopen_self" >&6; }
12548 if test "x$lt_cv_dlopen_self" = xyes; then
12549 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12551 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12552 if ${lt_cv_dlopen_self_static+:} false; then :
12553 $as_echo_n "(cached) " >&6
12555 if test "$cross_compiling" = yes; then :
12556 lt_cv_dlopen_self_static=cross
12558 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12559 lt_status=$lt_dlunknown
12560 cat > conftest.$ac_ext <<_LT_EOF
12561 #line $LINENO "configure"
12562 #include "confdefs.h"
12571 # define LT_DLGLOBAL RTLD_GLOBAL
12574 # define LT_DLGLOBAL DL_GLOBAL
12576 # define LT_DLGLOBAL 0
12580 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12581 find out it does not work in some platform. */
12582 #ifndef LT_DLLAZY_OR_NOW
12584 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12587 # define LT_DLLAZY_OR_NOW DL_LAZY
12590 # define LT_DLLAZY_OR_NOW RTLD_NOW
12593 # define LT_DLLAZY_OR_NOW DL_NOW
12595 # define LT_DLLAZY_OR_NOW 0
12602 /* When -fvisbility=hidden is used, assume the code has been annotated
12603 correspondingly for the symbols needed. */
12604 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12605 int fnord () __attribute__((visibility("default")));
12608 int fnord () { return 42; }
12611 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12612 int status = $lt_dlunknown;
12616 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12619 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12620 else puts (dlerror ());
12622 /* dlclose (self); */
12630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12631 (eval $ac_link) 2>&5
12633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12635 (./conftest; exit; ) >&5 2>/dev/null
12637 case x$lt_status in
12638 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12639 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12640 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12643 # compilation failed
12644 lt_cv_dlopen_self_static=no
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12652 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12655 CPPFLAGS="$save_CPPFLAGS"
12656 LDFLAGS="$save_LDFLAGS"
12661 case $lt_cv_dlopen_self in
12662 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12663 *) enable_dlopen_self=unknown ;;
12666 case $lt_cv_dlopen_self_static in
12667 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12668 *) enable_dlopen_self_static=unknown ;;
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12691 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12692 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12693 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12694 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696 $as_echo "yes" >&6; }
12698 # FIXME - insert some real tests, host_os isn't really good enough
12701 if test -n "$STRIP" ; then
12702 striplib="$STRIP -x"
12703 old_striplib="$STRIP -S"
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705 $as_echo "yes" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12713 $as_echo "no" >&6; }
12729 # Report which library types will actually be built
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12731 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12733 $as_echo "$can_build_shared" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12736 $as_echo_n "checking whether to build shared libraries... " >&6; }
12737 test "$can_build_shared" = "no" && enable_shared=no
12739 # On AIX, shared libraries and static libraries use the same namespace, and
12740 # are all built from PIC.
12743 test "$enable_shared" = yes && enable_static=no
12744 if test -n "$RANLIB"; then
12745 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12746 postinstall_cmds='$RANLIB $lib'
12751 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12752 test "$enable_shared" = yes && enable_static=no
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12757 $as_echo "$enable_shared" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12760 $as_echo_n "checking whether to build static libraries... " >&6; }
12761 # Make sure either enable_shared or enable_static is yes.
12762 test "$enable_shared" = yes || enable_static=yes
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12764 $as_echo "$enable_static" >&6; }
12771 ac_cpp='$CPP $CPPFLAGS'
12772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12792 ac_config_commands="$ac_config_commands libtool"
12797 # Only expand once:
12801 # Check whether --enable-largefile was given.
12802 if test "${enable_largefile+set}" = set; then :
12803 enableval=$enable_largefile;
12806 if test "$enable_largefile" != no; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12809 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12810 if ${ac_cv_sys_largefile_CC+:} false; then :
12811 $as_echo_n "(cached) " >&6
12813 ac_cv_sys_largefile_CC=no
12814 if test "$GCC" != yes; then
12817 # IRIX 6.2 and later do not support large files by default,
12818 # so use the C compiler's -n32 option if that helps.
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12821 #include <sys/types.h>
12822 /* Check that off_t can represent 2**63 - 1 correctly.
12823 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12824 since some C++ compilers masquerading as C compilers
12825 incorrectly reject 9223372036854775807. */
12826 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12827 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12828 && LARGE_OFF_T % 2147483647 == 1)
12838 if ac_fn_c_try_compile "$LINENO"; then :
12841 rm -f core conftest.err conftest.$ac_objext
12843 if ac_fn_c_try_compile "$LINENO"; then :
12844 ac_cv_sys_largefile_CC=' -n32'; break
12846 rm -f core conftest.err conftest.$ac_objext
12850 rm -f conftest.$ac_ext
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12854 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12855 if test "$ac_cv_sys_largefile_CC" != no; then
12856 CC=$CC$ac_cv_sys_largefile_CC
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12860 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12861 if ${ac_cv_sys_file_offset_bits+:} false; then :
12862 $as_echo_n "(cached) " >&6
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12867 #include <sys/types.h>
12868 /* Check that off_t can represent 2**63 - 1 correctly.
12869 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12870 since some C++ compilers masquerading as C compilers
12871 incorrectly reject 9223372036854775807. */
12872 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12873 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12874 && LARGE_OFF_T % 2147483647 == 1)
12884 if ac_fn_c_try_compile "$LINENO"; then :
12885 ac_cv_sys_file_offset_bits=no; break
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12890 #define _FILE_OFFSET_BITS 64
12891 #include <sys/types.h>
12892 /* Check that off_t can represent 2**63 - 1 correctly.
12893 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12894 since some C++ compilers masquerading as C compilers
12895 incorrectly reject 9223372036854775807. */
12896 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12897 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12898 && LARGE_OFF_T % 2147483647 == 1)
12908 if ac_fn_c_try_compile "$LINENO"; then :
12909 ac_cv_sys_file_offset_bits=64; break
12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912 ac_cv_sys_file_offset_bits=unknown
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12917 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12918 case $ac_cv_sys_file_offset_bits in #(
12921 cat >>confdefs.h <<_ACEOF
12922 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12927 if test $ac_cv_sys_file_offset_bits = unknown; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12929 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12930 if ${ac_cv_sys_large_files+:} false; then :
12931 $as_echo_n "(cached) " >&6
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12936 #include <sys/types.h>
12937 /* Check that off_t can represent 2**63 - 1 correctly.
12938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12939 since some C++ compilers masquerading as C compilers
12940 incorrectly reject 9223372036854775807. */
12941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12943 && LARGE_OFF_T % 2147483647 == 1)
12953 if ac_fn_c_try_compile "$LINENO"; then :
12954 ac_cv_sys_large_files=no; break
12956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12959 #define _LARGE_FILES 1
12960 #include <sys/types.h>
12961 /* Check that off_t can represent 2**63 - 1 correctly.
12962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12963 since some C++ compilers masquerading as C compilers
12964 incorrectly reject 9223372036854775807. */
12965 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12967 && LARGE_OFF_T % 2147483647 == 1)
12977 if ac_fn_c_try_compile "$LINENO"; then :
12978 ac_cv_sys_large_files=1; break
12980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12981 ac_cv_sys_large_files=unknown
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12986 $as_echo "$ac_cv_sys_large_files" >&6; }
12987 case $ac_cv_sys_large_files in #(
12990 cat >>confdefs.h <<_ACEOF
12991 #define _LARGE_FILES $ac_cv_sys_large_files
13002 for ac_prog in pod2man
13004 # Extract the first word of "$ac_prog", so it can be a program name with args.
13005 set dummy $ac_prog; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13007 $as_echo_n "checking for $ac_word... " >&6; }
13008 if ${ac_cv_path_POD2MAN+:} false; then :
13009 $as_echo_n "(cached) " >&6
13013 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
13016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13017 for as_dir in $PATH
13020 test -z "$as_dir" && as_dir=.
13021 for ac_exec_ext in '' $ac_executable_extensions; do
13022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13023 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
13024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13034 POD2MAN=$ac_cv_path_POD2MAN
13035 if test -n "$POD2MAN"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
13037 $as_echo "$POD2MAN" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13044 test -n "$POD2MAN" && break
13047 test -z "${POD2MAN}" && as_fn_error $? "I couldn't find pod2man; make sure it's installed and in your path" "$LINENO" 5
13051 # Extract the first word of "$ac_prog", so it can be a program name with args.
13052 set dummy $ac_prog; ac_word=$2
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13054 $as_echo_n "checking for $ac_word... " >&6; }
13055 if ${ac_cv_path_TAR+:} false; then :
13056 $as_echo_n "(cached) " >&6
13060 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
13063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $PATH
13067 test -z "$as_dir" && as_dir=.
13068 for ac_exec_ext in '' $ac_executable_extensions; do
13069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
13071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13081 TAR=$ac_cv_path_TAR
13082 if test -n "$TAR"; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
13084 $as_echo "$TAR" >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13087 $as_echo "no" >&6; }
13091 test -n "$TAR" && break
13094 for ac_prog in ps2pdf
13096 # Extract the first word of "$ac_prog", so it can be a program name with args.
13097 set dummy $ac_prog; ac_word=$2
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13099 $as_echo_n "checking for $ac_word... " >&6; }
13100 if ${ac_cv_path_PS2PDF+:} false; then :
13101 $as_echo_n "(cached) " >&6
13105 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
13108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13109 for as_dir in $PATH
13112 test -z "$as_dir" && as_dir=.
13113 for ac_exec_ext in '' $ac_executable_extensions; do
13114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13115 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
13116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13126 PS2PDF=$ac_cv_path_PS2PDF
13127 if test -n "$PS2PDF"; then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
13129 $as_echo "$PS2PDF" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13132 $as_echo "no" >&6; }
13136 test -n "$PS2PDF" && break
13139 for ac_prog in dvips
13141 # Extract the first word of "$ac_prog", so it can be a program name with args.
13142 set dummy $ac_prog; ac_word=$2
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13144 $as_echo_n "checking for $ac_word... " >&6; }
13145 if ${ac_cv_path_DVIPS+:} false; then :
13146 $as_echo_n "(cached) " >&6
13150 ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
13153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13154 for as_dir in $PATH
13157 test -z "$as_dir" && as_dir=.
13158 for ac_exec_ext in '' $ac_executable_extensions; do
13159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13160 ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13171 DVIPS=$ac_cv_path_DVIPS
13172 if test -n "$DVIPS"; then
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
13174 $as_echo "$DVIPS" >&6; }
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13177 $as_echo "no" >&6; }
13181 test -n "$DVIPS" && break
13184 for ac_prog in latex2html
13186 # Extract the first word of "$ac_prog", so it can be a program name with args.
13187 set dummy $ac_prog; ac_word=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13189 $as_echo_n "checking for $ac_word... " >&6; }
13190 if ${ac_cv_path_LATEX2HTML+:} false; then :
13191 $as_echo_n "(cached) " >&6
13193 case $LATEX2HTML in
13195 ac_cv_path_LATEX2HTML="$LATEX2HTML" # Let the user override the test with a path.
13198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13199 for as_dir in $PATH
13202 test -z "$as_dir" && as_dir=.
13203 for ac_exec_ext in '' $ac_executable_extensions; do
13204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13205 ac_cv_path_LATEX2HTML="$as_dir/$ac_word$ac_exec_ext"
13206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13216 LATEX2HTML=$ac_cv_path_LATEX2HTML
13217 if test -n "$LATEX2HTML"; then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX2HTML" >&5
13219 $as_echo "$LATEX2HTML" >&6; }
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13222 $as_echo "no" >&6; }
13226 test -n "$LATEX2HTML" && break
13229 for ac_prog in latex
13231 # Extract the first word of "$ac_prog", so it can be a program name with args.
13232 set dummy $ac_prog; ac_word=$2
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13234 $as_echo_n "checking for $ac_word... " >&6; }
13235 if ${ac_cv_path_LATEX+:} false; then :
13236 $as_echo_n "(cached) " >&6
13240 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
13243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13247 test -z "$as_dir" && as_dir=.
13248 for ac_exec_ext in '' $ac_executable_extensions; do
13249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13250 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
13251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13261 LATEX=$ac_cv_path_LATEX
13262 if test -n "$LATEX"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
13264 $as_echo "$LATEX" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13267 $as_echo "no" >&6; }
13271 test -n "$LATEX" && break
13274 if test "${enable_docs_gen}" = "yes"; then
13275 test -z "${TAR}" && as_fn_error $? "Couldn't find tar" "$LINENO" 5
13276 test -z "${PS2PDF}" && as_fn_error $? "Couldn't find ps2pdf" "$LINENO" 5
13277 test -z "${DVIPS}" && as_fn_error $? "Couldn't find dvips" "$LINENO" 5
13278 test -z "${LATEX2HTML}" && as_fn_error $? "Couldn't find latex2html" "$LINENO" 5
13279 test -z "${LATEX}" && as_fn_error $? "Couldn't find latex" "$LINENO" 5
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13283 $as_echo_n "checking for library containing strerror... " >&6; }
13284 if ${ac_cv_search_strerror+:} false; then :
13285 $as_echo_n "(cached) " >&6
13287 ac_func_search_save_LIBS=$LIBS
13288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13291 /* Override any GCC internal prototype to avoid an error.
13292 Use char because int might match the return type of a GCC
13293 builtin and then its argument prototype would still apply. */
13301 return strerror ();
13306 for ac_lib in '' cposix; do
13307 if test -z "$ac_lib"; then
13308 ac_res="none required"
13311 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_search_strerror=$ac_res
13316 rm -f core conftest.err conftest.$ac_objext \
13318 if ${ac_cv_search_strerror+:} false; then :
13322 if ${ac_cv_search_strerror+:} false; then :
13325 ac_cv_search_strerror=no
13327 rm conftest.$ac_ext
13328 LIBS=$ac_func_search_save_LIBS
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13331 $as_echo "$ac_cv_search_strerror" >&6; }
13332 ac_res=$ac_cv_search_strerror
13333 if test "$ac_res" != no; then :
13334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13339 $as_echo_n "checking for ANSI C header files... " >&6; }
13340 if ${ac_cv_header_stdc+:} false; then :
13341 $as_echo_n "(cached) " >&6
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13345 #include <stdlib.h>
13346 #include <stdarg.h>
13347 #include <string.h>
13358 if ac_fn_c_try_compile "$LINENO"; then :
13359 ac_cv_header_stdc=yes
13361 ac_cv_header_stdc=no
13363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13365 if test $ac_cv_header_stdc = yes; then
13366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13369 #include <string.h>
13372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13373 $EGREP "memchr" >/dev/null 2>&1; then :
13376 ac_cv_header_stdc=no
13382 if test $ac_cv_header_stdc = yes; then
13383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13386 #include <stdlib.h>
13389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13390 $EGREP "free" >/dev/null 2>&1; then :
13393 ac_cv_header_stdc=no
13399 if test $ac_cv_header_stdc = yes; then
13400 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13401 if test "$cross_compiling" = yes; then :
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13407 #include <stdlib.h>
13408 #if ((' ' & 0x0FF) == 0x020)
13409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13412 # define ISLOWER(c) \
13413 (('a' <= (c) && (c) <= 'i') \
13414 || ('j' <= (c) && (c) <= 'r') \
13415 || ('s' <= (c) && (c) <= 'z'))
13416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13424 for (i = 0; i < 256; i++)
13425 if (XOR (islower (i), ISLOWER (i))
13426 || toupper (i) != TOUPPER (i))
13431 if ac_fn_c_try_run "$LINENO"; then :
13434 ac_cv_header_stdc=no
13436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13437 conftest.$ac_objext conftest.beam conftest.$ac_ext
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13443 $as_echo "$ac_cv_header_stdc" >&6; }
13444 if test $ac_cv_header_stdc = yes; then
13446 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13451 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13452 if ${ac_cv_lib_dl_dlopen+:} false; then :
13453 $as_echo_n "(cached) " >&6
13455 ac_check_lib_save_LIBS=$LIBS
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13460 /* Override any GCC internal prototype to avoid an error.
13461 Use char because int might match the return type of a GCC
13462 builtin and then its argument prototype would still apply. */
13475 if ac_fn_c_try_link "$LINENO"; then :
13476 ac_cv_lib_dl_dlopen=yes
13478 ac_cv_lib_dl_dlopen=no
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_lib_save_LIBS
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13485 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13486 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13487 cat >>confdefs.h <<_ACEOF
13488 #define HAVE_LIBDL 1
13496 # Verify keyutils version 1.0 or higher
13497 if test -z "${KEYUTILS_LIBS}"; then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for keyctl_search in -lkeyutils" >&5
13501 $as_echo_n "checking for keyctl_search in -lkeyutils... " >&6; }
13502 if ${ac_cv_lib_keyutils_keyctl_search+:} false; then :
13503 $as_echo_n "(cached) " >&6
13505 ac_check_lib_save_LIBS=$LIBS
13506 LIBS="-lkeyutils $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13516 char keyctl_search ();
13520 return keyctl_search ();
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 ac_cv_lib_keyutils_keyctl_search=yes
13528 ac_cv_lib_keyutils_keyctl_search=no
13530 rm -f core conftest.err conftest.$ac_objext \
13531 conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_lib_save_LIBS
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_keyutils_keyctl_search" >&5
13535 $as_echo "$ac_cv_lib_keyutils_keyctl_search" >&6; }
13536 if test "x$ac_cv_lib_keyutils_keyctl_search" = xyes; then :
13537 KEYUTILS_LIBS="-lkeyutils"
13539 as_fn_error $? "eCryptfs userspace tools require Keyutils version 1.0 or higher.
13540 You might find the package at:
13541 http://people.redhat.com/~dhowells/keyutils/
13549 if test -z "${OPENSSL_LIBS}"; then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13553 $as_echo_n "checking for OPENSSL... " >&6; }
13555 if test -n "$OPENSSL_CFLAGS"; then
13556 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
13557 elif test -n "$PKG_CONFIG"; then
13558 if test -n "$PKG_CONFIG" && \
13559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\""; } >&5
13560 ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.7") 2>&5
13562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13563 test $ac_status = 0; }; then
13564 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 0.9.7" 2>/dev/null`
13565 test "x$?" != "x0" && pkg_failed=yes
13572 if test -n "$OPENSSL_LIBS"; then
13573 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
13574 elif test -n "$PKG_CONFIG"; then
13575 if test -n "$PKG_CONFIG" && \
13576 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\""; } >&5
13577 ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.7") 2>&5
13579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13580 test $ac_status = 0; }; then
13581 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "libcrypto >= 0.9.7" 2>/dev/null`
13582 test "x$?" != "x0" && pkg_failed=yes
13592 if test $pkg_failed = yes; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13594 $as_echo "no" >&6; }
13596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13597 _pkg_short_errors_supported=yes
13599 _pkg_short_errors_supported=no
13601 if test $_pkg_short_errors_supported = yes; then
13602 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 0.9.7" 2>&1`
13604 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 0.9.7" 2>&1`
13606 # Put the nasty error message in config.log where it belongs
13607 echo "$OPENSSL_PKG_ERRORS" >&5
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13612 $as_echo_n "checking for OPENSSL... " >&6; }
13614 if test -n "$OPENSSL_CFLAGS"; then
13615 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
13616 elif test -n "$PKG_CONFIG"; then
13617 if test -n "$PKG_CONFIG" && \
13618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13619 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13622 test $ac_status = 0; }; then
13623 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
13624 test "x$?" != "x0" && pkg_failed=yes
13631 if test -n "$OPENSSL_LIBS"; then
13632 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
13633 elif test -n "$PKG_CONFIG"; then
13634 if test -n "$PKG_CONFIG" && \
13635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13636 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639 test $ac_status = 0; }; then
13640 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
13641 test "x$?" != "x0" && pkg_failed=yes
13651 if test $pkg_failed = yes; then
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13653 $as_echo "no" >&6; }
13655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13656 _pkg_short_errors_supported=yes
13658 _pkg_short_errors_supported=no
13660 if test $_pkg_short_errors_supported = yes; then
13661 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13663 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13665 # Put the nasty error message in config.log where it belongs
13666 echo "$OPENSSL_PKG_ERRORS" >&5
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13669 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13670 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13671 $as_echo_n "(cached) " >&6
13673 ac_check_lib_save_LIBS=$LIBS
13674 LIBS="-lcrypto $LIBS"
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13678 /* Override any GCC internal prototype to avoid an error.
13679 Use char because int might match the return type of a GCC
13680 builtin and then its argument prototype would still apply. */
13684 char RSA_version ();
13688 return RSA_version ();
13693 if ac_fn_c_try_link "$LINENO"; then :
13694 ac_cv_lib_crypto_RSA_version=yes
13696 ac_cv_lib_crypto_RSA_version=no
13698 rm -f core conftest.err conftest.$ac_objext \
13699 conftest$ac_exeext conftest.$ac_ext
13700 LIBS=$ac_check_lib_save_LIBS
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13703 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13704 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13707 OPENSSL_LIBS="-lcrypto"
13715 elif test $pkg_failed = untried; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13717 $as_echo "no" >&6; }
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13719 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13720 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13721 $as_echo_n "(cached) " >&6
13723 ac_check_lib_save_LIBS=$LIBS
13724 LIBS="-lcrypto $LIBS"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13728 /* Override any GCC internal prototype to avoid an error.
13729 Use char because int might match the return type of a GCC
13730 builtin and then its argument prototype would still apply. */
13734 char RSA_version ();
13738 return RSA_version ();
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 ac_cv_lib_crypto_RSA_version=yes
13746 ac_cv_lib_crypto_RSA_version=no
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_lib_save_LIBS
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13753 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13754 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13757 OPENSSL_LIBS="-lcrypto"
13766 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
13767 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13769 $as_echo "yes" >&6; }
13773 elif test $pkg_failed = untried; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13775 $as_echo "no" >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13779 $as_echo_n "checking for OPENSSL... " >&6; }
13781 if test -n "$OPENSSL_CFLAGS"; then
13782 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
13783 elif test -n "$PKG_CONFIG"; then
13784 if test -n "$PKG_CONFIG" && \
13785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13786 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13789 test $ac_status = 0; }; then
13790 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
13791 test "x$?" != "x0" && pkg_failed=yes
13798 if test -n "$OPENSSL_LIBS"; then
13799 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
13800 elif test -n "$PKG_CONFIG"; then
13801 if test -n "$PKG_CONFIG" && \
13802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13803 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13806 test $ac_status = 0; }; then
13807 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
13808 test "x$?" != "x0" && pkg_failed=yes
13818 if test $pkg_failed = yes; then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13820 $as_echo "no" >&6; }
13822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13823 _pkg_short_errors_supported=yes
13825 _pkg_short_errors_supported=no
13827 if test $_pkg_short_errors_supported = yes; then
13828 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13830 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13832 # Put the nasty error message in config.log where it belongs
13833 echo "$OPENSSL_PKG_ERRORS" >&5
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13836 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13837 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13838 $as_echo_n "(cached) " >&6
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-lcrypto $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13851 char RSA_version ();
13855 return RSA_version ();
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 ac_cv_lib_crypto_RSA_version=yes
13863 ac_cv_lib_crypto_RSA_version=no
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_lib_save_LIBS
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13870 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13871 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13874 OPENSSL_LIBS="-lcrypto"
13882 elif test $pkg_failed = untried; then
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13884 $as_echo "no" >&6; }
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13886 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13887 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13888 $as_echo_n "(cached) " >&6
13890 ac_check_lib_save_LIBS=$LIBS
13891 LIBS="-lcrypto $LIBS"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13901 char RSA_version ();
13905 return RSA_version ();
13910 if ac_fn_c_try_link "$LINENO"; then :
13911 ac_cv_lib_crypto_RSA_version=yes
13913 ac_cv_lib_crypto_RSA_version=no
13915 rm -f core conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_lib_save_LIBS
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13920 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13921 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13924 OPENSSL_LIBS="-lcrypto"
13933 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
13934 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13936 $as_echo "yes" >&6; }
13941 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
13942 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13944 $as_echo "yes" >&6; }
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
13955 $as_echo_n "checking for NSS... " >&6; }
13957 if test -n "$NSS_CFLAGS"; then
13958 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
13959 elif test -n "$PKG_CONFIG"; then
13960 if test -n "$PKG_CONFIG" && \
13961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5
13962 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
13964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13965 test $ac_status = 0; }; then
13966 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null`
13967 test "x$?" != "x0" && pkg_failed=yes
13974 if test -n "$NSS_LIBS"; then
13975 pkg_cv_NSS_LIBS="$NSS_LIBS"
13976 elif test -n "$PKG_CONFIG"; then
13977 if test -n "$PKG_CONFIG" && \
13978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5
13979 ($PKG_CONFIG --exists --print-errors "nss") 2>&5
13981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13982 test $ac_status = 0; }; then
13983 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null`
13984 test "x$?" != "x0" && pkg_failed=yes
13994 if test $pkg_failed = yes; then
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13999 _pkg_short_errors_supported=yes
14001 _pkg_short_errors_supported=no
14003 if test $_pkg_short_errors_supported = yes; then
14004 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss" 2>&1`
14006 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss" 2>&1`
14008 # Put the nasty error message in config.log where it belongs
14009 echo "$NSS_PKG_ERRORS" >&5
14012 elif test $pkg_failed = untried; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14017 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
14018 NSS_LIBS=$pkg_cv_NSS_LIBS
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14020 $as_echo "yes" >&6; }
14022 NSS_CFLAGS="${NSS_CFLAGS} -DENABLE_NSS"
14025 if test "${enable_nss}" = "detect" ; then
14026 if test "$have_nss" == "yes" ; then
14033 OLD_CFLAGS="${CFLAGS}"
14034 CFLAGS="${CFLAGS} ${OPENSSL_CFLAGS}"
14035 ac_fn_c_check_header_mongrel "$LINENO" "openssl/rsa.h" "ac_cv_header_openssl_rsa_h" "$ac_includes_default"
14036 if test "x$ac_cv_header_openssl_rsa_h" = xyes; then :
14043 CFLAGS="${OLD_CFLAGS}"
14045 if test "${enable_pywrap}" != "no" ; then
14052 if test -n "$PYTHON"; then
14053 # If the user set $PYTHON, use it and don't search something else.
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
14055 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
14057 # split strings by '.' and convert to numeric. Append some zeros
14058 # because we need at least 4 digits for the hex conversion.
14059 # map returns an iterator in Python 3.0 and a list in 2.x
14060 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14062 # xrange is not present in Python 3.0 and range returns an iterator
14063 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14064 sys.exit(sys.hexversion < minverhex)"
14065 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14066 ($PYTHON -c "$prog") >&5 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; then :
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14071 $as_echo "yes" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 $as_echo "no" >&6; }
14075 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14077 am_display_PYTHON=$PYTHON
14079 # Otherwise, try each interpreter until we find one that satisfies
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14082 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14083 if ${am_cv_pathless_PYTHON+:} false; then :
14084 $as_echo_n "(cached) " >&6
14087 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14088 test "$am_cv_pathless_PYTHON" = none && break
14090 # split strings by '.' and convert to numeric. Append some zeros
14091 # because we need at least 4 digits for the hex conversion.
14092 # map returns an iterator in Python 3.0 and a list in 2.x
14093 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14095 # xrange is not present in Python 3.0 and range returns an iterator
14096 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14097 sys.exit(sys.hexversion < minverhex)"
14098 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14099 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; then :
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14108 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14109 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14110 if test "$am_cv_pathless_PYTHON" = none; then
14113 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14114 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14116 $as_echo_n "checking for $ac_word... " >&6; }
14117 if ${ac_cv_path_PYTHON+:} false; then :
14118 $as_echo_n "(cached) " >&6
14122 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14126 for as_dir in $PATH
14129 test -z "$as_dir" && as_dir=.
14130 for ac_exec_ext in '' $ac_executable_extensions; do
14131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14132 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14143 PYTHON=$ac_cv_path_PYTHON
14144 if test -n "$PYTHON"; then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14146 $as_echo "$PYTHON" >&6; }
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14149 $as_echo "no" >&6; }
14154 am_display_PYTHON=$am_cv_pathless_PYTHON
14158 if test "$PYTHON" = :; then
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14164 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14165 if ${am_cv_python_version+:} false; then :
14166 $as_echo_n "(cached) " >&6
14168 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14171 $as_echo "$am_cv_python_version" >&6; }
14172 PYTHON_VERSION=$am_cv_python_version
14176 PYTHON_PREFIX='${prefix}'
14178 PYTHON_EXEC_PREFIX='${exec_prefix}'
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14183 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14184 if ${am_cv_python_platform+:} false; then :
14185 $as_echo_n "(cached) " >&6
14187 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14190 $as_echo "$am_cv_python_platform" >&6; }
14191 PYTHON_PLATFORM=$am_cv_python_platform
14194 # Just factor out some code duplication.
14195 am_python_setup_sysconfig="\
14197 # Prefer sysconfig over distutils.sysconfig, for better compatibility
14198 # with python 3.x. See automake bug#10227.
14201 except ImportError:
14202 can_use_sysconfig = 0
14204 can_use_sysconfig = 1
14205 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
14206 # <https://github.com/pypa/virtualenv/issues/118>
14208 from platform import python_implementation
14209 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
14210 can_use_sysconfig = 0
14211 except ImportError:
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14216 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14217 if ${am_cv_python_pythondir+:} false; then :
14218 $as_echo_n "(cached) " >&6
14220 if test "x$prefix" = xNONE
14222 am_py_prefix=$ac_default_prefix
14224 am_py_prefix=$prefix
14226 am_cv_python_pythondir=`$PYTHON -c "
14227 $am_python_setup_sysconfig
14228 if can_use_sysconfig:
14229 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
14231 from distutils import sysconfig
14232 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
14233 sys.stdout.write(sitedir)"`
14234 case $am_cv_python_pythondir in
14236 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14237 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14240 case $am_py_prefix in
14243 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14251 $as_echo "$am_cv_python_pythondir" >&6; }
14252 pythondir=$am_cv_python_pythondir
14256 pkgpythondir=\${pythondir}/$PACKAGE
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14260 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14261 if ${am_cv_python_pyexecdir+:} false; then :
14262 $as_echo_n "(cached) " >&6
14264 if test "x$exec_prefix" = xNONE
14266 am_py_exec_prefix=$am_py_prefix
14268 am_py_exec_prefix=$exec_prefix
14270 am_cv_python_pyexecdir=`$PYTHON -c "
14271 $am_python_setup_sysconfig
14272 if can_use_sysconfig:
14273 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
14275 from distutils import sysconfig
14276 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
14277 sys.stdout.write(sitedir)"`
14278 case $am_cv_python_pyexecdir in
14279 $am_py_exec_prefix*)
14280 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14281 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14284 case $am_py_exec_prefix in
14287 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14295 $as_echo "$am_cv_python_pyexecdir" >&6; }
14296 pyexecdir=$am_cv_python_pyexecdir
14300 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14308 # Extract the first word of "swig", so it can be a program name with args.
14309 set dummy swig; ac_word=$2
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311 $as_echo_n "checking for $ac_word... " >&6; }
14312 if ${ac_cv_path_SWIG+:} false; then :
14313 $as_echo_n "(cached) " >&6
14317 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
14320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321 for as_dir in $PATH
14324 test -z "$as_dir" && as_dir=.
14325 for ac_exec_ext in '' $ac_executable_extensions; do
14326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14327 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
14328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14338 SWIG=$ac_cv_path_SWIG
14339 if test -n "$SWIG"; then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
14341 $as_echo "$SWIG" >&6; }
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344 $as_echo "no" >&6; }
14348 if test -z "$SWIG" ; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
14350 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
14351 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
14352 elif test -n "1.3.31" ; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
14354 $as_echo_n "checking for SWIG version... " >&6; }
14355 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
14357 $as_echo "$swig_version" >&6; }
14358 if test -n "$swig_version" ; then
14359 # Calculate the required version number components
14361 required_major=`echo $required | sed 's/[^0-9].*//'`
14362 if test -z "$required_major" ; then
14365 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
14366 required_minor=`echo $required | sed 's/[^0-9].*//'`
14367 if test -z "$required_minor" ; then
14370 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
14371 required_patch=`echo $required | sed 's/[^0-9].*//'`
14372 if test -z "$required_patch" ; then
14375 # Calculate the available version number components
14376 available=$swig_version
14377 available_major=`echo $available | sed 's/[^0-9].*//'`
14378 if test -z "$available_major" ; then
14381 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
14382 available_minor=`echo $available | sed 's/[^0-9].*//'`
14383 if test -z "$available_minor" ; then
14386 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
14387 available_patch=`echo $available | sed 's/[^0-9].*//'`
14388 if test -z "$available_patch" ; then
14391 if test $available_major -ne $required_major \
14392 -o $available_minor -ne $required_minor \
14393 -o $available_patch -lt $required_patch ; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.31 is required. You have $swig_version. You should look at http://www.swig.org" >&5
14395 $as_echo "$as_me: WARNING: SWIG version >= 1.3.31 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
14396 SWIG='echo "Error: SWIG version >= 1.3.31 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: SWIG executable is '$SWIG'" >&5
14399 $as_echo "$as_me: SWIG executable is '$SWIG'" >&6;}
14400 SWIG_LIB=`$SWIG -swiglib`
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: SWIG library directory is '$SWIG_LIB'" >&5
14402 $as_echo "$as_me: SWIG library directory is '$SWIG_LIB'" >&6;}
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
14406 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
14407 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
14414 # Allow the use of a (user set) custom python version
14418 # Extract the first word of "python[$PYTHON_VERSION]", so it can be a program name with args.
14419 set dummy python$PYTHON_VERSION; ac_word=$2
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14421 $as_echo_n "checking for $ac_word... " >&6; }
14422 if ${ac_cv_path_PYTHON+:} false; then :
14423 $as_echo_n "(cached) " >&6
14427 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14431 for as_dir in $PATH
14434 test -z "$as_dir" && as_dir=.
14435 for ac_exec_ext in '' $ac_executable_extensions; do
14436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14437 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14448 PYTHON=$ac_cv_path_PYTHON
14449 if test -n "$PYTHON"; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14451 $as_echo "$PYTHON" >&6; }
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14458 if test -z "$PYTHON"; then
14459 as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5
14464 # Check for a version of Python >= 2.1.0
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.1.0'" >&5
14467 $as_echo_n "checking for a version of Python >= '2.1.0'... " >&6; }
14468 ac_supports_python_ver=`$PYTHON -c "import sys, string; \
14469 ver = string.split(sys.version)[0]; \
14470 print ver >= '2.1.0'"`
14471 if test "$ac_supports_python_ver" != "True"; then
14472 if test -z "$PYTHON_NOVERSIONCHECK"; then
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14474 $as_echo "no" >&6; }
14475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14478 This version of the AC_PYTHON_DEVEL macro
14479 doesn't work properly with versions of Python before
14480 2.1.0. You may need to re-run configure, setting the
14481 variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG,
14482 PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
14483 Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
14484 to something else than an empty string.
14486 See \`config.log' for more details" "$LINENO" 5; }
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5
14489 $as_echo "skip at user request" >&6; }
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14497 # if the macro parameter ``version'' is set, honour it
14499 if test -n ""; then
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python " >&5
14501 $as_echo_n "checking for a version of Python ... " >&6; }
14502 ac_supports_python_ver=`$PYTHON -c "import sys, string; \
14503 ver = string.split(sys.version)[0]; \
14505 if test "$ac_supports_python_ver" = "True"; then
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14507 $as_echo "yes" >&6; }
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14510 $as_echo "no" >&6; }
14511 as_fn_error $? "this package requires Python .
14512 If you have it installed, but it isn't the default Python
14513 interpreter in your system path, please pass the PYTHON_VERSION
14514 variable to configure. See \`\`configure --help'' for reference.
14521 # Check if you have distutils, else fail
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
14524 $as_echo_n "checking for the distutils Python package... " >&6; }
14525 ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
14526 if test -z "$ac_distutils_result"; then
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14528 $as_echo "yes" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14531 $as_echo "no" >&6; }
14532 as_fn_error $? "cannot import Python module \"distutils\".
14533 Please check your Python installation. The error was:
14534 $ac_distutils_result" "$LINENO" 5
14539 # Check for Python include path
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
14542 $as_echo_n "checking for Python include path... " >&6; }
14543 if test -z "$PYTHON_CPPFLAGS"; then
14544 python_path=`$PYTHON -c "import distutils.sysconfig; \
14545 print distutils.sysconfig.get_python_inc();"`
14546 if test -n "${python_path}"; then
14547 python_path="-I$python_path"
14549 python_plat_path=`$PYTHON -c "import distutils.sysconfig; \
14550 print distutils.sysconfig.get_python_inc(plat_specific=True);"`
14551 if test -n "${python_plat_path}"; then
14552 python_plat_path="-I$python_plat_path"
14554 PYTHON_CPPFLAGS="$python_path $python_plat_path"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
14557 $as_echo "$PYTHON_CPPFLAGS" >&6; }
14561 # Check for Python library path
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
14564 $as_echo_n "checking for Python library path... " >&6; }
14565 if test -z "$PYTHON_LDFLAGS"; then
14566 # (makes two attempts to ensure we've got a version number
14567 # from the interpreter)
14568 py_version=`$PYTHON -c "from distutils.sysconfig import *; \
14569 from string import join; \
14570 print join(get_config_vars('VERSION'))"`
14571 if test "$py_version" == "None"; then
14572 if test -n "$PYTHON_VERSION"; then
14573 py_version=$PYTHON_VERSION
14575 py_version=`$PYTHON -c "import sys; \
14576 print sys.version[:3]"`
14580 PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
14581 from string import join; \
14582 print '-L' + get_python_lib(0,1), \
14583 '-lpython';"`$py_version
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
14586 $as_echo "$PYTHON_LDFLAGS" >&6; }
14590 # Check for site packages
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
14593 $as_echo_n "checking for Python site-packages path... " >&6; }
14594 if test -z "$PYTHON_SITE_PKG"; then
14595 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
14596 print distutils.sysconfig.get_python_lib(0,0);"`
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
14599 $as_echo "$PYTHON_SITE_PKG" >&6; }
14603 # libraries which must be linked in when embedding
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5
14606 $as_echo_n "checking python extra libraries... " >&6; }
14607 if test -z "$PYTHON_EXTRA_LIBS"; then
14608 PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
14609 conf = distutils.sysconfig.get_config_var; \
14610 print conf('LOCALMODLIBS'), conf('LIBS')"`
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5
14613 $as_echo "$PYTHON_EXTRA_LIBS" >&6; }
14617 # linking flags needed when embedding
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5
14620 $as_echo_n "checking python extra linking flags... " >&6; }
14621 if test -z "$PYTHON_EXTRA_LDFLAGS"; then
14622 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
14623 conf = distutils.sysconfig.get_config_var; \
14624 print conf('LINKFORSHARED')"`
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5
14627 $as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; }
14631 # final check to see if everything compiles alright
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5
14634 $as_echo_n "checking consistency of all components of python development environment... " >&6; }
14636 ac_cpp='$CPP $CPPFLAGS'
14637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14641 # save current global flags
14642 ac_save_LIBS="$LIBS"
14643 ac_save_CPPFLAGS="$CPPFLAGS"
14644 LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
14645 CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 #include <Python.h>
14661 if ac_fn_c_try_link "$LINENO"; then :
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
14670 $as_echo "$pythonexists" >&6; }
14672 if test ! "$pythonexists" = "yes"; then
14676 ac_cpp='$CPP $CPPFLAGS'
14677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14681 # turn back to default flags
14682 CPPFLAGS="$ac_save_CPPFLAGS"
14683 LIBS="$ac_save_LIBS"
14692 test "x" != "xno" || swig_shadow=" -noproxy"
14693 SWIG_PYTHON_OPT=-python$swig_shadow
14695 SWIG_PYTHON_CPPFLAGS=$PYTHON_CPPFLAGS
14700 if test "x${SWIG}" != "x" ; then
14706 if test "${enable_pywrap}" = "detect" ; then
14707 if test "${have_python}" = "yes" ; then
14708 if test "${have_swig}" = "yes" ; then
14709 enable_pywrap="yes"
14714 if test "${enable_pywrap}" = "yes" ; then
14715 test "${have_python}" != "yes" && as_fn_error $? "Python not found" "$LINENO" 5
14716 test "${have_swig}" != "yes" && as_fn_error $? "SWIG not found" "$LINENO" 5
14719 test "${enable_openssl}" = "detect" && enable_openssl="${have_openssl}"
14721 if test "${enable_openssl}" = "yes" ; then
14722 test "${have_openssl}" != "yes" && as_fn_error $? "OpenSSL not found" "$LINENO" 5
14725 if test "${enable_pkcs11_helper}" = "yes" ; then
14726 test "${have_openssl}" != "yes" && as_fn_error $? "OpenSSL not found" "$LINENO" 5
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKCS11_HELPER" >&5
14730 $as_echo_n "checking for PKCS11_HELPER... " >&6; }
14732 if test -n "$PKCS11_HELPER_CFLAGS"; then
14733 pkg_cv_PKCS11_HELPER_CFLAGS="$PKCS11_HELPER_CFLAGS"
14734 elif test -n "$PKG_CONFIG"; then
14735 if test -n "$PKG_CONFIG" && \
14736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpkcs11-helper-1 >= 1.04\""; } >&5
14737 ($PKG_CONFIG --exists --print-errors "libpkcs11-helper-1 >= 1.04") 2>&5
14739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14740 test $ac_status = 0; }; then
14741 pkg_cv_PKCS11_HELPER_CFLAGS=`$PKG_CONFIG --cflags "libpkcs11-helper-1 >= 1.04" 2>/dev/null`
14742 test "x$?" != "x0" && pkg_failed=yes
14749 if test -n "$PKCS11_HELPER_LIBS"; then
14750 pkg_cv_PKCS11_HELPER_LIBS="$PKCS11_HELPER_LIBS"
14751 elif test -n "$PKG_CONFIG"; then
14752 if test -n "$PKG_CONFIG" && \
14753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpkcs11-helper-1 >= 1.04\""; } >&5
14754 ($PKG_CONFIG --exists --print-errors "libpkcs11-helper-1 >= 1.04") 2>&5
14756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14757 test $ac_status = 0; }; then
14758 pkg_cv_PKCS11_HELPER_LIBS=`$PKG_CONFIG --libs "libpkcs11-helper-1 >= 1.04" 2>/dev/null`
14759 test "x$?" != "x0" && pkg_failed=yes
14769 if test $pkg_failed = yes; then
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14771 $as_echo "no" >&6; }
14773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14774 _pkg_short_errors_supported=yes
14776 _pkg_short_errors_supported=no
14778 if test $_pkg_short_errors_supported = yes; then
14779 PKCS11_HELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpkcs11-helper-1 >= 1.04" 2>&1`
14781 PKCS11_HELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpkcs11-helper-1 >= 1.04" 2>&1`
14783 # Put the nasty error message in config.log where it belongs
14784 echo "$PKCS11_HELPER_PKG_ERRORS" >&5
14786 as_fn_error $? "Cannot locate pkcs11-helper" "$LINENO" 5
14787 elif test $pkg_failed = untried; then
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14789 $as_echo "no" >&6; }
14790 as_fn_error $? "Cannot locate pkcs11-helper" "$LINENO" 5
14792 PKCS11_HELPER_CFLAGS=$pkg_cv_PKCS11_HELPER_CFLAGS
14793 PKCS11_HELPER_LIBS=$pkg_cv_PKCS11_HELPER_LIBS
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14800 if test "${enable_tspi}" = "yes" ; then
14801 if test -z "${TSPI_LIBS}"; then
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
14805 $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
14806 if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
14807 $as_echo_n "(cached) " >&6
14809 ac_check_lib_save_LIBS=$LIBS
14810 LIBS="-ltspi $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14820 char Tspi_Context_Create ();
14824 return Tspi_Context_Create ();
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 ac_cv_lib_tspi_Tspi_Context_Create=yes
14832 ac_cv_lib_tspi_Tspi_Context_Create=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_check_lib_save_LIBS
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
14839 $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
14840 if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
14843 as_fn_error $? "Cannot find tspi" "$LINENO" 5
14850 if test "${enable_gpg}" = "yes" ; then
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpgme" >&5
14852 $as_echo_n "checking for gpgme... " >&6; }
14853 if ! test -x "${with_gpgme_prefix}/bin/gpgme-config"; then
14854 as_fn_error $? "Cannot locate gpgme" "$LINENO" 5
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14857 $as_echo "found" >&6; }
14858 GPGME_CFLAGS="`\"${with_gpgme_prefix}/bin/gpgme-config\" --cflags`"
14859 GPGME_LIBS="`\"${with_gpgme_prefix}/bin/gpgme-config\" --libs`"
14863 if test "${enable_pam}" = "yes" ; then
14864 if test -z "${PAM_LIBS}"; then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_authenticate in -lpam" >&5
14868 $as_echo_n "checking for pam_authenticate in -lpam... " >&6; }
14869 if ${ac_cv_lib_pam_pam_authenticate+:} false; then :
14870 $as_echo_n "(cached) " >&6
14872 ac_check_lib_save_LIBS=$LIBS
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14883 char pam_authenticate ();
14887 return pam_authenticate ();
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_lib_pam_pam_authenticate=yes
14895 ac_cv_lib_pam_pam_authenticate=no
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14899 LIBS=$ac_check_lib_save_LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_authenticate" >&5
14902 $as_echo "$ac_cv_lib_pam_pam_authenticate" >&6; }
14903 if test "x$ac_cv_lib_pam_pam_authenticate" = xyes; then :
14906 as_fn_error $? "Cannot find pam" "$LINENO" 5
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_misc_setenv in -lpam_misc" >&5
14911 $as_echo_n "checking for pam_misc_setenv in -lpam_misc... " >&6; }
14912 if ${ac_cv_lib_pam_misc_pam_misc_setenv+:} false; then :
14913 $as_echo_n "(cached) " >&6
14915 ac_check_lib_save_LIBS=$LIBS
14916 LIBS="-lpam_misc $LIBS"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14926 char pam_misc_setenv ();
14930 return pam_misc_setenv ();
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_lib_pam_misc_pam_misc_setenv=yes
14938 ac_cv_lib_pam_misc_pam_misc_setenv=no
14940 rm -f core conftest.err conftest.$ac_objext \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_misc_pam_misc_setenv" >&5
14945 $as_echo "$ac_cv_lib_pam_misc_pam_misc_setenv" >&6; }
14946 if test "x$ac_cv_lib_pam_misc_pam_misc_setenv" = xyes; then :
14947 PAM_LIBS="${PAM_LIBS} ${TSPI_LIBS} -lpam_misc"
14949 as_fn_error $? "Cannot find pam_misc" "$LINENO" 5
14956 if test "${enable_gui}" = "yes"; then
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14960 $as_echo_n "checking for GTK... " >&6; }
14962 if test -n "$GTK_CFLAGS"; then
14963 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14964 elif test -n "$PKG_CONFIG"; then
14965 if test -n "$PKG_CONFIG" && \
14966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0\""; } >&5
14967 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0") 2>&5
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0" 2>/dev/null`
14972 test "x$?" != "x0" && pkg_failed=yes
14979 if test -n "$GTK_LIBS"; then
14980 pkg_cv_GTK_LIBS="$GTK_LIBS"
14981 elif test -n "$PKG_CONFIG"; then
14982 if test -n "$PKG_CONFIG" && \
14983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0\""; } >&5
14984 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0") 2>&5
14986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14987 test $ac_status = 0; }; then
14988 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0" 2>/dev/null`
14989 test "x$?" != "x0" && pkg_failed=yes
14999 if test $pkg_failed = yes; then
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15004 _pkg_short_errors_supported=yes
15006 _pkg_short_errors_supported=no
15008 if test $_pkg_short_errors_supported = yes; then
15009 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.0" 2>&1`
15011 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.0" 2>&1`
15013 # Put the nasty error message in config.log where it belongs
15014 echo "$GTK_PKG_ERRORS" >&5
15016 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
15017 GTK_LIBS linker flags for GTK, overriding pkg-config
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15021 $as_echo_n "checking for GTK... " >&6; }
15023 if test -n "$GTK_CFLAGS"; then
15024 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15025 elif test -n "$PKG_CONFIG"; then
15026 if test -n "$PKG_CONFIG" && \
15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15028 ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031 test $ac_status = 0; }; then
15032 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 1.0" 2>/dev/null`
15033 test "x$?" != "x0" && pkg_failed=yes
15040 if test -n "$GTK_LIBS"; then
15041 pkg_cv_GTK_LIBS="$GTK_LIBS"
15042 elif test -n "$PKG_CONFIG"; then
15043 if test -n "$PKG_CONFIG" && \
15044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15045 ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048 test $ac_status = 0; }; then
15049 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+ >= 1.0" 2>/dev/null`
15050 test "x$?" != "x0" && pkg_failed=yes
15060 if test $pkg_failed = yes; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15062 $as_echo "no" >&6; }
15064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15065 _pkg_short_errors_supported=yes
15067 _pkg_short_errors_supported=no
15069 if test $_pkg_short_errors_supported = yes; then
15070 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15072 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15074 # Put the nasty error message in config.log where it belongs
15075 echo "$GTK_PKG_ERRORS" >&5
15077 as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15079 elif test $pkg_failed = untried; then
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15081 $as_echo "no" >&6; }
15082 as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15085 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15086 GTK_LIBS=$pkg_cv_GTK_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15088 $as_echo "yes" >&6; }
15092 elif test $pkg_failed = untried; then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094 $as_echo "no" >&6; }
15095 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
15096 GTK_LIBS linker flags for GTK, overriding pkg-config
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15100 $as_echo_n "checking for GTK... " >&6; }
15102 if test -n "$GTK_CFLAGS"; then
15103 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15104 elif test -n "$PKG_CONFIG"; then
15105 if test -n "$PKG_CONFIG" && \
15106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15107 ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15110 test $ac_status = 0; }; then
15111 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 1.0" 2>/dev/null`
15112 test "x$?" != "x0" && pkg_failed=yes
15119 if test -n "$GTK_LIBS"; then
15120 pkg_cv_GTK_LIBS="$GTK_LIBS"
15121 elif test -n "$PKG_CONFIG"; then
15122 if test -n "$PKG_CONFIG" && \
15123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15124 ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127 test $ac_status = 0; }; then
15128 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+ >= 1.0" 2>/dev/null`
15129 test "x$?" != "x0" && pkg_failed=yes
15139 if test $pkg_failed = yes; then
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15141 $as_echo "no" >&6; }
15143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15144 _pkg_short_errors_supported=yes
15146 _pkg_short_errors_supported=no
15148 if test $_pkg_short_errors_supported = yes; then
15149 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15151 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15153 # Put the nasty error message in config.log where it belongs
15154 echo "$GTK_PKG_ERRORS" >&5
15156 as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15158 elif test $pkg_failed = untried; then
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15160 $as_echo "no" >&6; }
15161 as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15164 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15165 GTK_LIBS=$pkg_cv_GTK_LIBS
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15167 $as_echo "yes" >&6; }
15172 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15173 GTK_LIBS=$pkg_cv_GTK_LIBS
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15175 $as_echo "yes" >&6; }
15180 pkgconfigdir="\$(libdir)/pkgconfig"
15181 if test "${prefix}" = "/usr"; then
15182 rootsbindir="/sbin"
15184 rootsbindir="\$(sbindir)"
15187 GETTEXT_PACKAGE=ecryptfs-utils
15190 cat >>confdefs.h <<_ACEOF
15191 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15196 for ac_header in locale.h
15198 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15199 if test "x$ac_cv_header_locale_h" = xyes; then :
15200 cat >>confdefs.h <<_ACEOF
15201 #define HAVE_LOCALE_H 1
15208 if test $ac_cv_header_locale_h = yes; then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15210 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15211 if ${am_cv_val_LC_MESSAGES+:} false; then :
15212 $as_echo_n "(cached) " >&6
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216 #include <locale.h>
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 am_cv_val_LC_MESSAGES=yes
15228 am_cv_val_LC_MESSAGES=no
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15234 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15235 if test $am_cv_val_LC_MESSAGES = yes; then
15237 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15244 gt_cv_have_gettext=no
15250 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15251 if test "x$ac_cv_header_libintl_h" = xyes; then :
15252 gt_cv_func_dgettext_libintl="no"
15253 libintl_extra_libs=""
15256 # First check in libc
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15259 $as_echo_n "checking for ngettext in libc... " >&6; }
15260 if ${gt_cv_func_ngettext_libc+:} false; then :
15261 $as_echo_n "(cached) " >&6
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 #include <libintl.h>
15271 return !ngettext ("","", 1)
15276 if ac_fn_c_try_link "$LINENO"; then :
15277 gt_cv_func_ngettext_libc=yes
15279 gt_cv_func_ngettext_libc=no
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15286 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15288 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15290 $as_echo_n "checking for dgettext in libc... " >&6; }
15291 if ${gt_cv_func_dgettext_libc+:} false; then :
15292 $as_echo_n "(cached) " >&6
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 #include <libintl.h>
15302 return !dgettext ("","")
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 gt_cv_func_dgettext_libc=yes
15310 gt_cv_func_dgettext_libc=no
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15317 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15320 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15321 for ac_func in bind_textdomain_codeset
15323 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15324 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15325 cat >>confdefs.h <<_ACEOF
15326 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15335 # If we don't have everything we want, check in libintl
15337 if test "$gt_cv_func_dgettext_libc" != "yes" \
15338 || test "$gt_cv_func_ngettext_libc" != "yes" \
15339 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15342 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15343 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15344 $as_echo_n "(cached) " >&6
15346 ac_check_lib_save_LIBS=$LIBS
15347 LIBS="-lintl $LIBS"
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15351 /* Override any GCC internal prototype to avoid an error.
15352 Use char because int might match the return type of a GCC
15353 builtin and then its argument prototype would still apply. */
15357 char bindtextdomain ();
15361 return bindtextdomain ();
15366 if ac_fn_c_try_link "$LINENO"; then :
15367 ac_cv_lib_intl_bindtextdomain=yes
15369 ac_cv_lib_intl_bindtextdomain=no
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15373 LIBS=$ac_check_lib_save_LIBS
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15376 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15377 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15379 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15380 if ${ac_cv_lib_intl_ngettext+:} false; then :
15381 $as_echo_n "(cached) " >&6
15383 ac_check_lib_save_LIBS=$LIBS
15384 LIBS="-lintl $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15398 return ngettext ();
15403 if ac_fn_c_try_link "$LINENO"; then :
15404 ac_cv_lib_intl_ngettext=yes
15406 ac_cv_lib_intl_ngettext=no
15408 rm -f core conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_lib_save_LIBS
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15413 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15414 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15416 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15417 if ${ac_cv_lib_intl_dgettext+:} false; then :
15418 $as_echo_n "(cached) " >&6
15420 ac_check_lib_save_LIBS=$LIBS
15421 LIBS="-lintl $LIBS"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15435 return dgettext ();
15440 if ac_fn_c_try_link "$LINENO"; then :
15441 ac_cv_lib_intl_dgettext=yes
15443 ac_cv_lib_intl_dgettext=no
15445 rm -f core conftest.err conftest.$ac_objext \
15446 conftest$ac_exeext conftest.$ac_ext
15447 LIBS=$ac_check_lib_save_LIBS
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15450 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15451 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15452 gt_cv_func_dgettext_libintl=yes
15460 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15462 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15466 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15467 if ${ac_cv_lib_intl_ngettext+:} false; then :
15468 $as_echo_n "(cached) " >&6
15470 ac_check_lib_save_LIBS=$LIBS
15471 LIBS="-lintl -liconv $LIBS"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15485 return ngettext ();
15490 if ac_fn_c_try_link "$LINENO"; then :
15491 ac_cv_lib_intl_ngettext=yes
15493 ac_cv_lib_intl_ngettext=no
15495 rm -f core conftest.err conftest.$ac_objext \
15496 conftest$ac_exeext conftest.$ac_ext
15497 LIBS=$ac_check_lib_save_LIBS
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15500 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15501 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15503 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15504 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15505 $as_echo_n "(cached) " >&6
15507 ac_check_lib_save_LIBS=$LIBS
15508 LIBS="-lintl -liconv $LIBS"
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 /* Override any GCC internal prototype to avoid an error.
15513 Use char because int might match the return type of a GCC
15514 builtin and then its argument prototype would still apply. */
15522 return dcgettext ();
15527 if ac_fn_c_try_link "$LINENO"; then :
15528 ac_cv_lib_intl_dcgettext=yes
15530 ac_cv_lib_intl_dcgettext=no
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_lib_save_LIBS
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15537 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15538 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15539 gt_cv_func_dgettext_libintl=yes
15540 libintl_extra_libs=-liconv
15552 # If we found libintl, then check in it for bind_textdomain_codeset();
15553 # we'll prefer libc if neither have bind_textdomain_codeset(),
15554 # and both have dgettext and ngettext
15556 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15557 glib_save_LIBS="$LIBS"
15558 LIBS="$LIBS -lintl $libintl_extra_libs"
15559 unset ac_cv_func_bind_textdomain_codeset
15560 for ac_func in bind_textdomain_codeset
15562 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15563 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15564 cat >>confdefs.h <<_ACEOF
15565 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15571 LIBS="$glib_save_LIBS"
15573 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15574 gt_cv_func_dgettext_libc=no
15576 if test "$gt_cv_func_dgettext_libc" = "yes" \
15577 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15578 gt_cv_func_dgettext_libintl=no
15584 if test "$gt_cv_func_dgettext_libc" = "yes" \
15585 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15586 gt_cv_have_gettext=yes
15589 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15590 INTLLIBS="-lintl $libintl_extra_libs"
15593 if test "$gt_cv_have_gettext" = "yes"; then
15595 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15597 # Extract the first word of "msgfmt", so it can be a program name with args.
15598 set dummy msgfmt; ac_word=$2
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15600 $as_echo_n "checking for $ac_word... " >&6; }
15601 if ${ac_cv_path_MSGFMT+:} false; then :
15602 $as_echo_n "(cached) " >&6
15606 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15610 for ac_dir in $PATH; do
15611 test -z "$ac_dir" && ac_dir=.
15612 if test -f $ac_dir/$ac_word; then
15613 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15614 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15620 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15624 MSGFMT="$ac_cv_path_MSGFMT"
15625 if test "$MSGFMT" != "no"; then
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15627 $as_echo "$MSGFMT" >&6; }
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15630 $as_echo "no" >&6; }
15632 if test "$MSGFMT" != "no"; then
15633 glib_save_LIBS="$LIBS"
15634 LIBS="$LIBS $INTLLIBS"
15635 for ac_func in dcgettext
15637 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15638 if test "x$ac_cv_func_dcgettext" = xyes; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define HAVE_DCGETTEXT 1
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15648 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15649 cat >conftest.foo <<_ACEOF
15653 "Content-Type: text/plain; charset=UTF-8\n"
15654 "Project-Id-Version: test 1.0\n"
15655 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15656 "Last-Translator: test <foo@bar.xx>\n"
15657 "Language-Team: C <LL@li.org>\n"
15658 "MIME-Version: 1.0\n"
15659 "Content-Transfer-Encoding: 8bit\n"
15662 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15663 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666 test $ac_status = 0; }; then
15667 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15668 $as_echo "yes" >&6; }
15669 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15670 $as_echo "no" >&6; }
15671 echo "$as_me: failed input was:" >&5
15672 sed 's/^/| /' conftest.foo >&5
15675 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15676 set dummy gmsgfmt; ac_word=$2
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15678 $as_echo_n "checking for $ac_word... " >&6; }
15679 if ${ac_cv_path_GMSGFMT+:} false; then :
15680 $as_echo_n "(cached) " >&6
15684 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15688 for as_dir in $PATH
15691 test -z "$as_dir" && as_dir=.
15692 for ac_exec_ext in '' $ac_executable_extensions; do
15693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15694 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15702 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15706 GMSGFMT=$ac_cv_path_GMSGFMT
15707 if test -n "$GMSGFMT"; then
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15709 $as_echo "$GMSGFMT" >&6; }
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15712 $as_echo "no" >&6; }
15716 # Extract the first word of "xgettext", so it can be a program name with args.
15717 set dummy xgettext; ac_word=$2
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15719 $as_echo_n "checking for $ac_word... " >&6; }
15720 if ${ac_cv_path_XGETTEXT+:} false; then :
15721 $as_echo_n "(cached) " >&6
15723 case "$XGETTEXT" in
15725 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15729 for ac_dir in $PATH; do
15730 test -z "$ac_dir" && ac_dir=.
15731 if test -f $ac_dir/$ac_word; then
15732 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15733 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15739 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15743 XGETTEXT="$ac_cv_path_XGETTEXT"
15744 if test "$XGETTEXT" != ":"; then
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15746 $as_echo "$XGETTEXT" >&6; }
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15749 $as_echo "no" >&6; }
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15758 extern int _nl_msg_cat_cntr;
15759 return _nl_msg_cat_cntr
15764 if ac_fn_c_try_link "$LINENO"; then :
15770 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15771 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS="$glib_save_LIBS"
15795 gt_cv_have_gettext=no
15803 if test "$gt_cv_have_gettext" = "yes" ; then
15805 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15809 if test "$XGETTEXT" != ":"; then
15810 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15814 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15819 # We need to process the po/ directory.
15822 ac_config_commands="$ac_config_commands default-1"
15825 for lang in $ALL_LINGUAS; do
15826 GMOFILES="$GMOFILES $lang.gmo"
15827 POFILES="$POFILES $lang.po"
15842 if test "$gt_cv_have_gettext" = "yes"; then
15843 if test "x$ALL_LINGUAS" = "x"; then
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15847 $as_echo_n "checking for catalogs to be installed... " >&6; }
15849 for presentlang in $ALL_LINGUAS; do
15851 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15852 desiredlanguages="$LINGUAS"
15854 desiredlanguages="$ALL_LINGUAS"
15856 for desiredlang in $desiredlanguages; do
15857 # Use the presentlang catalog if desiredlang is
15858 # a. equal to presentlang, or
15859 # b. a variant of presentlang (because in this case,
15860 # presentlang can be used as a fallback for messages
15861 # which are not translated in the desiredlang catalog).
15862 case "$desiredlang" in
15863 "$presentlang"*) useit=yes;;
15866 if test $useit = yes; then
15867 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15870 LINGUAS=$NEW_LINGUAS
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15872 $as_echo "$LINGUAS" >&6; }
15875 if test -n "$LINGUAS"; then
15876 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15881 if test -n "$ac_aux_dir"; then
15882 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15884 if test -z "$MKINSTALLDIRS"; then
15885 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15889 test -d po || mkdir po
15890 if test "x$srcdir" != "x."; then
15891 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15892 posrcprefix="$srcdir/"
15894 posrcprefix="../$srcdir/"
15900 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15901 < $srcdir/po/POTFILES.in > po/POTFILES
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15906 $as_echo_n "checking whether NLS is requested... " >&6; }
15907 # Check whether --enable-nls was given.
15908 if test "${enable_nls+set}" = set; then :
15909 enableval=$enable_nls; USE_NLS=$enableval
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15915 $as_echo "$USE_NLS" >&6; }
15920 case "$am__api_version" in
15922 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
15928 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.41.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
15929 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
15930 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
15931 if test -n "0.41.0"; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.41.0" >&5
15933 $as_echo_n "checking for intltool >= 0.41.0... " >&6; }
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
15935 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
15936 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
15937 as_fn_error $? "Your intltool is too old. You need intltool 0.41.0 or later." "$LINENO" 5
15940 # Extract the first word of "intltool-update", so it can be a program name with args.
15941 set dummy intltool-update; ac_word=$2
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15943 $as_echo_n "checking for $ac_word... " >&6; }
15944 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
15945 $as_echo_n "(cached) " >&6
15947 case $INTLTOOL_UPDATE in
15949 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
15952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15953 for as_dir in $PATH
15956 test -z "$as_dir" && as_dir=.
15957 for ac_exec_ext in '' $ac_executable_extensions; do
15958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15959 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
15960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15970 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
15971 if test -n "$INTLTOOL_UPDATE"; then
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
15973 $as_echo "$INTLTOOL_UPDATE" >&6; }
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15976 $as_echo "no" >&6; }
15980 # Extract the first word of "intltool-merge", so it can be a program name with args.
15981 set dummy intltool-merge; ac_word=$2
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15983 $as_echo_n "checking for $ac_word... " >&6; }
15984 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
15985 $as_echo_n "(cached) " >&6
15987 case $INTLTOOL_MERGE in
15989 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
15992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15993 for as_dir in $PATH
15996 test -z "$as_dir" && as_dir=.
15997 for ac_exec_ext in '' $ac_executable_extensions; do
15998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15999 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
16000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16010 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
16011 if test -n "$INTLTOOL_MERGE"; then
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
16013 $as_echo "$INTLTOOL_MERGE" >&6; }
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16016 $as_echo "no" >&6; }
16020 # Extract the first word of "intltool-extract", so it can be a program name with args.
16021 set dummy intltool-extract; ac_word=$2
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16023 $as_echo_n "checking for $ac_word... " >&6; }
16024 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
16025 $as_echo_n "(cached) " >&6
16027 case $INTLTOOL_EXTRACT in
16029 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
16032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16033 for as_dir in $PATH
16036 test -z "$as_dir" && as_dir=.
16037 for ac_exec_ext in '' $ac_executable_extensions; do
16038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16039 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
16040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16050 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
16051 if test -n "$INTLTOOL_EXTRACT"; then
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
16053 $as_echo "$INTLTOOL_EXTRACT" >&6; }
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16056 $as_echo "no" >&6; }
16060 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
16061 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
16064 if test -z "$AM_DEFAULT_VERBOSITY"; then
16065 AM_DEFAULT_VERBOSITY=1
16069 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
16070 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
16071 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
16076 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
16077 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
16078 intltool__v_merge_options_0='-q'
16083 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16084 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16085 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16086 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16087 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
16088 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16089 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16090 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16091 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16092 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16093 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16094 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
16095 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
16097 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
16099 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16100 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16101 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16102 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16103 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16104 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16105 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16203 # Check the gettext tools to make sure they are GNU
16204 # Extract the first word of "xgettext", so it can be a program name with args.
16205 set dummy xgettext; ac_word=$2
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16207 $as_echo_n "checking for $ac_word... " >&6; }
16208 if ${ac_cv_path_XGETTEXT+:} false; then :
16209 $as_echo_n "(cached) " >&6
16213 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16217 for as_dir in $PATH
16220 test -z "$as_dir" && as_dir=.
16221 for ac_exec_ext in '' $ac_executable_extensions; do
16222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16223 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
16224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16234 XGETTEXT=$ac_cv_path_XGETTEXT
16235 if test -n "$XGETTEXT"; then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16237 $as_echo "$XGETTEXT" >&6; }
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16240 $as_echo "no" >&6; }
16244 # Extract the first word of "msgmerge", so it can be a program name with args.
16245 set dummy msgmerge; ac_word=$2
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16247 $as_echo_n "checking for $ac_word... " >&6; }
16248 if ${ac_cv_path_MSGMERGE+:} false; then :
16249 $as_echo_n "(cached) " >&6
16253 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16257 for as_dir in $PATH
16260 test -z "$as_dir" && as_dir=.
16261 for ac_exec_ext in '' $ac_executable_extensions; do
16262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16263 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
16264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16274 MSGMERGE=$ac_cv_path_MSGMERGE
16275 if test -n "$MSGMERGE"; then
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16277 $as_echo "$MSGMERGE" >&6; }
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16280 $as_echo "no" >&6; }
16284 # Extract the first word of "msgfmt", so it can be a program name with args.
16285 set dummy msgfmt; ac_word=$2
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16287 $as_echo_n "checking for $ac_word... " >&6; }
16288 if ${ac_cv_path_MSGFMT+:} false; then :
16289 $as_echo_n "(cached) " >&6
16293 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16297 for as_dir in $PATH
16300 test -z "$as_dir" && as_dir=.
16301 for ac_exec_ext in '' $ac_executable_extensions; do
16302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16303 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
16304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16314 MSGFMT=$ac_cv_path_MSGFMT
16315 if test -n "$MSGFMT"; then
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16317 $as_echo "$MSGFMT" >&6; }
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16320 $as_echo "no" >&6; }
16324 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16325 set dummy gmsgfmt; ac_word=$2
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 $as_echo_n "checking for $ac_word... " >&6; }
16328 if ${ac_cv_path_GMSGFMT+:} false; then :
16329 $as_echo_n "(cached) " >&6
16333 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16343 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16355 GMSGFMT=$ac_cv_path_GMSGFMT
16356 if test -n "$GMSGFMT"; then
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16358 $as_echo "$GMSGFMT" >&6; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16361 $as_echo "no" >&6; }
16365 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
16366 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
16368 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
16369 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
16370 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
16371 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
16372 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
16375 # Extract the first word of "perl", so it can be a program name with args.
16376 set dummy perl; ac_word=$2
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16378 $as_echo_n "checking for $ac_word... " >&6; }
16379 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
16380 $as_echo_n "(cached) " >&6
16382 case $INTLTOOL_PERL in
16384 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
16387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16388 for as_dir in $PATH
16391 test -z "$as_dir" && as_dir=.
16392 for ac_exec_ext in '' $ac_executable_extensions; do
16393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16394 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16405 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
16406 if test -n "$INTLTOOL_PERL"; then
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
16408 $as_echo "$INTLTOOL_PERL" >&6; }
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16411 $as_echo "no" >&6; }
16415 if test -z "$INTLTOOL_PERL"; then
16416 as_fn_error $? "perl not found" "$LINENO" 5
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
16419 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
16420 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
16421 if test $? -ne 0; then
16422 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
16424 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
16426 $as_echo "$IT_PERL_VERSION" >&6; }
16428 if test "x" != "xno-xml"; then
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
16430 $as_echo_n "checking for XML::Parser... " >&6; }
16431 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16433 $as_echo "ok" >&6; }
16435 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
16439 # Substitute ALL_LINGUAS so we can use it in po/Makefile
16442 # Set DATADIRNAME correctly if it is not set yet
16443 # (copied from glib-gettext.m4)
16444 if test -z "$DATADIRNAME"; then
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16451 extern int _nl_msg_cat_cntr;
16452 return _nl_msg_cat_cntr
16457 if ac_fn_c_try_link "$LINENO"; then :
16462 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16463 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16475 rm -f core conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16484 LOCALEDIR='${prefix}/${datadir}/locale'
16488 CRYPTO_CFLAGS=${NSS_CFLAGS}
16489 CRYPTO_LIBS=${NSS_LIBS}
16500 if test "${enable_openssl}" = "yes"; then
16501 BUILD_OPENSSL_TRUE=
16502 BUILD_OPENSSL_FALSE='#'
16504 BUILD_OPENSSL_TRUE='#'
16505 BUILD_OPENSSL_FALSE=
16508 if test "${enable_pkcs11_helper}" = "yes"; then
16509 BUILD_PKCS11_HELPER_TRUE=
16510 BUILD_PKCS11_HELPER_FALSE='#'
16512 BUILD_PKCS11_HELPER_TRUE='#'
16513 BUILD_PKCS11_HELPER_FALSE=
16516 if test "${enable_tspi}" = "yes"; then
16518 BUILD_TSPI_FALSE='#'
16520 BUILD_TSPI_TRUE='#'
16524 if test "${enable_gpg}" = "yes"; then
16526 BUILD_GPG_FALSE='#'
16532 if test "${enable_pam}" = "yes"; then
16534 BUILD_PAM_FALSE='#'
16540 if test "${enable_pywrap}" = "yes"; then
16542 BUILD_PYWRAP_FALSE='#'
16544 BUILD_PYWRAP_TRUE='#'
16545 BUILD_PYWRAP_FALSE=
16548 if test "${enable_nss}" = "yes"; then
16550 BUILD_NSS_FALSE='#'
16556 if test "${enable_gui}" = "yes"; then
16558 BUILD_GUI_FALSE='#'
16564 if test "${enable_docs}" = "yes"; then
16566 BUILD_DOCS_FALSE='#'
16568 BUILD_DOCS_TRUE='#'
16572 if test "${enable_docs_gen}" = "yes"; then
16573 BUILD_DOCS_GEN_TRUE=
16574 BUILD_DOCS_GEN_FALSE='#'
16576 BUILD_DOCS_GEN_TRUE='#'
16577 BUILD_DOCS_GEN_FALSE=
16580 if test "${enable_tests}" = "yes"; then
16582 ENABLE_TESTS_FALSE='#'
16584 ENABLE_TESTS_TRUE='#'
16585 ENABLE_TESTS_FALSE=
16589 # workaround for <autoconf-2.60
16590 if test -z "${docdir}"; then
16591 docdir="\$(datarootdir)/doc/\$(PACKAGE_NAME)"
16594 if test -z "${htmldir}"; then
16595 htmldir="\$(docdir)"
16599 # workaround for <automake-1.10
16600 if test -z "${MKDIR_P}"; then
16601 MKDIR_P="\$(mkdir_p)"
16606 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libecryptfs/Makefile src/utils/Makefile src/key_mod/Makefile src/daemon/Makefile src/desktop/Makefile src/desktop/ecryptfs-mount-private.desktop src/desktop/ecryptfs-setup-private.desktop src/include/Makefile doc/manpage/Makefile src/pam_ecryptfs/Makefile src/libecryptfs/libecryptfs.pc src/libecryptfs-swig/Makefile tests/Makefile tests/lib/Makefile tests/kernel/Makefile tests/userspace/Makefile po/Makefile.in"
16608 cat >confcache <<\_ACEOF
16609 # This file is a shell script that caches the results of configure
16610 # tests run on this system so they can be shared between configure
16611 # scripts and configure runs, see configure's option --config-cache.
16612 # It is not useful on other systems. If it contains results you don't
16613 # want to keep, you may remove or edit it.
16615 # config.status only pays attention to the cache file if you give it
16616 # the --recheck option to rerun configure.
16618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16620 # following values.
16624 # The following way of writing the cache mishandles newlines in values,
16625 # but we know of no workaround that is simple, portable, and efficient.
16626 # So, we kill variables containing newlines.
16627 # Ultrix sh set writes to stderr and can't be redirected directly,
16628 # and sets the high bit in the cache file unless we assign to the vars.
16630 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16631 eval ac_val=\$$ac_var
16635 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16639 _ | IFS | as_nl) ;; #(
16640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16641 *) { eval $ac_var=; unset $ac_var;} ;;
16647 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16648 *${as_nl}ac_space=\ *)
16649 # `set' does not quote correctly, so add quotes: double-quote
16650 # substitution turns \\\\ into \\, and sed turns \\ into \.
16653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16656 # `set' quotes correctly as required by POSIX, so do not add quotes.
16657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16668 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16670 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16671 if test -w "$cache_file"; then
16672 if test "x$cache_file" != "x/dev/null"; then
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16674 $as_echo "$as_me: updating cache $cache_file" >&6;}
16675 if test ! -f "$cache_file" || test -h "$cache_file"; then
16676 cat confcache >"$cache_file"
16678 case $cache_file in #(
16680 mv -f confcache "$cache_file"$$ &&
16681 mv -f "$cache_file"$$ "$cache_file" ;; #(
16683 mv -f confcache "$cache_file" ;;
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16689 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16694 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16695 # Let make expand exec_prefix.
16696 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16698 DEFS=-DHAVE_CONFIG_H
16703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16704 # 1. Remove the extension, and $U if already installed.
16705 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16706 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16707 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16708 # will be set to the directory where LIBOBJS objects are built.
16709 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16710 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16712 LIBOBJS=$ac_libobjs
16714 LTLIBOBJS=$ac_ltlibobjs
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16718 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16719 if test -n "$am_sleep_pid"; then
16720 # Hide warnings about reused PIDs.
16721 wait $am_sleep_pid 2>/dev/null
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16724 $as_echo "done" >&6; }
16725 if test -n "$EXEEXT"; then
16727 am__EXEEXT_FALSE='#'
16729 am__EXEEXT_TRUE='#'
16733 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16734 as_fn_error $? "conditional \"AMDEP\" was never defined.
16735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16737 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16738 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16741 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16742 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16746 ac_config_commands="$ac_config_commands po/stamp-it"
16749 if test -z "${BUILD_OPENSSL_TRUE}" && test -z "${BUILD_OPENSSL_FALSE}"; then
16750 as_fn_error $? "conditional \"BUILD_OPENSSL\" was never defined.
16751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16753 if test -z "${BUILD_PKCS11_HELPER_TRUE}" && test -z "${BUILD_PKCS11_HELPER_FALSE}"; then
16754 as_fn_error $? "conditional \"BUILD_PKCS11_HELPER\" was never defined.
16755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16757 if test -z "${BUILD_TSPI_TRUE}" && test -z "${BUILD_TSPI_FALSE}"; then
16758 as_fn_error $? "conditional \"BUILD_TSPI\" was never defined.
16759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16761 if test -z "${BUILD_GPG_TRUE}" && test -z "${BUILD_GPG_FALSE}"; then
16762 as_fn_error $? "conditional \"BUILD_GPG\" was never defined.
16763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16765 if test -z "${BUILD_PAM_TRUE}" && test -z "${BUILD_PAM_FALSE}"; then
16766 as_fn_error $? "conditional \"BUILD_PAM\" was never defined.
16767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16769 if test -z "${BUILD_PYWRAP_TRUE}" && test -z "${BUILD_PYWRAP_FALSE}"; then
16770 as_fn_error $? "conditional \"BUILD_PYWRAP\" was never defined.
16771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16773 if test -z "${BUILD_NSS_TRUE}" && test -z "${BUILD_NSS_FALSE}"; then
16774 as_fn_error $? "conditional \"BUILD_NSS\" was never defined.
16775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16777 if test -z "${BUILD_GUI_TRUE}" && test -z "${BUILD_GUI_FALSE}"; then
16778 as_fn_error $? "conditional \"BUILD_GUI\" was never defined.
16779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16781 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
16782 as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
16783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16785 if test -z "${BUILD_DOCS_GEN_TRUE}" && test -z "${BUILD_DOCS_GEN_FALSE}"; then
16786 as_fn_error $? "conditional \"BUILD_DOCS_GEN\" was never defined.
16787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16789 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
16790 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
16791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16794 : "${CONFIG_STATUS=./config.status}"
16796 ac_clean_files_save=$ac_clean_files
16797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16803 # Generated by $as_me.
16804 # Run this file to recreate the current configuration.
16805 # Compiler output produced by configure, useful for debugging
16806 # configure, is in config.log if it exists.
16809 ac_cs_recheck=false
16812 SHELL=\${CONFIG_SHELL-$SHELL}
16815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16816 ## -------------------- ##
16817 ## M4sh Initialization. ##
16818 ## -------------------- ##
16820 # Be more Bourne compatible
16821 DUALCASE=1; export DUALCASE # for MKS sh
16822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16826 # is contrary to our usage. Disable this feature.
16827 alias -g '${1+"$@"}'='"$@"'
16828 setopt NO_GLOB_SUBST
16830 case `(set -o) 2>/dev/null` in #(
16842 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16843 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16846 # Prefer a ksh shell builtin over an external printf program on Solaris,
16847 # but without wasting forks for bash or zsh.
16848 if test -z "$BASH_VERSION$ZSH_VERSION" \
16849 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16850 as_echo='print -r --'
16851 as_echo_n='print -rn --'
16852 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16853 as_echo='printf %s\n'
16854 as_echo_n='printf %s'
16856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16858 as_echo_n='/usr/ucb/echo -n'
16860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16861 as_echo_n_body='eval
16865 expr "X$arg" : "X\\(.*\\)$as_nl";
16866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16870 export as_echo_n_body
16871 as_echo_n='sh -c $as_echo_n_body as_echo'
16873 export as_echo_body
16874 as_echo='sh -c $as_echo_body as_echo'
16877 # The user is always right.
16878 if test "${PATH_SEPARATOR+set}" != set; then
16880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16888 # We need space, tab and new line, in precisely that order. Quoting is
16889 # there to prevent editors from complaining about space-tab.
16890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16891 # splitting by setting IFS to empty value.)
16894 # Find who we are. Look in the path if we contain no directory separator.
16897 *[\\/]* ) as_myself=$0 ;;
16898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16899 for as_dir in $PATH
16902 test -z "$as_dir" && as_dir=.
16903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16909 # We did not find ourselves, most probably we were run as `sh COMMAND'
16910 # in which case we are not to be found in the path.
16911 if test "x$as_myself" = x; then
16914 if test ! -f "$as_myself"; then
16915 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16919 # Unset variables that we do not need and which cause bugs (e.g. in
16920 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16921 # suppresses any "Segmentation fault" message there. '((' could
16922 # trigger a bug in pdksh 5.2.14.
16923 for as_var in BASH_ENV ENV MAIL MAILPATH
16924 do eval test x\${$as_var+set} = xset \
16925 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16941 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16942 # ----------------------------------------
16943 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16944 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16945 # script with STATUS, using 1 if that was 0.
16948 as_status=$1; test $as_status -eq 0 && as_status=1
16950 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16951 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16953 $as_echo "$as_me: error: $2" >&2
16954 as_fn_exit $as_status
16958 # as_fn_set_status STATUS
16959 # -----------------------
16960 # Set $? to STATUS, without forking.
16961 as_fn_set_status ()
16964 } # as_fn_set_status
16966 # as_fn_exit STATUS
16967 # -----------------
16968 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16972 as_fn_set_status $1
16978 # Portably unset VAR.
16981 { eval $1=; unset $1;}
16983 as_unset=as_fn_unset
16984 # as_fn_append VAR VALUE
16985 # ----------------------
16986 # Append the text in VALUE to the end of the definition contained in VAR. Take
16987 # advantage of any shell optimizations that allow amortized linear growth over
16988 # repeated appends, instead of the typical quadratic growth present in naive
16990 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16991 eval 'as_fn_append ()
17002 # as_fn_arith ARG...
17003 # ------------------
17004 # Perform arithmetic evaluation on the ARGs, and store the result in the
17005 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17006 # must be portable across $(()) and expr.
17007 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17008 eval 'as_fn_arith ()
17015 as_val=`expr "$@" || test $? -eq 1`
17020 if expr a : '\(a\)' >/dev/null 2>&1 &&
17021 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17027 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17028 as_basename=basename
17033 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17039 as_me=`$as_basename -- "$0" ||
17040 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17041 X"$0" : 'X\(//\)$' \| \
17042 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17044 sed '/^.*\/\([^/][^/]*\)\/*$/{
17058 # Avoid depending upon Character Ranges.
17059 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17060 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17061 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17062 as_cr_digits='0123456789'
17063 as_cr_alnum=$as_cr_Letters$as_cr_digits
17065 ECHO_C= ECHO_N= ECHO_T=
17066 case `echo -n x` in #(((((
17068 case `echo 'xy\c'` in
17069 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17071 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17078 rm -f conf$$ conf$$.exe conf$$.file
17079 if test -d conf$$.dir; then
17080 rm -f conf$$.dir/conf$$.file
17083 mkdir conf$$.dir 2>/dev/null
17085 if (echo >conf$$.file) 2>/dev/null; then
17086 if ln -s conf$$.file conf$$ 2>/dev/null; then
17088 # ... but there are two gotchas:
17089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17091 # In both cases, we have to default to `cp -pR'.
17092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17094 elif ln conf$$.file conf$$ 2>/dev/null; then
17102 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17103 rmdir conf$$.dir 2>/dev/null
17108 # Create "$as_dir" as a directory, including parents if necessary.
17113 -*) as_dir=./$as_dir;;
17115 test -d "$as_dir" || eval $as_mkdir_p || {
17119 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17120 *) as_qdir=$as_dir;;
17122 as_dirs="'$as_qdir' $as_dirs"
17123 as_dir=`$as_dirname -- "$as_dir" ||
17124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17125 X"$as_dir" : 'X\(//\)[^/]' \| \
17126 X"$as_dir" : 'X\(//\)$' \| \
17127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17128 $as_echo X"$as_dir" |
17129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17133 /^X\(\/\/\)[^/].*/{
17146 test -d "$as_dir" && break
17148 test -z "$as_dirs" || eval "mkdir $as_dirs"
17149 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17153 if mkdir -p . 2>/dev/null; then
17154 as_mkdir_p='mkdir -p "$as_dir"'
17156 test -d ./-p && rmdir ./-p
17161 # as_fn_executable_p FILE
17162 # -----------------------
17163 # Test if FILE is an executable regular file.
17164 as_fn_executable_p ()
17166 test -f "$1" && test -x "$1"
17167 } # as_fn_executable_p
17168 as_test_x='test -x'
17169 as_executable_p=as_fn_executable_p
17171 # Sed expression to map a string onto a valid CPP name.
17172 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17174 # Sed expression to map a string onto a valid variable name.
17175 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17179 ## ----------------------------------- ##
17180 ## Main body of $CONFIG_STATUS script. ##
17181 ## ----------------------------------- ##
17183 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17186 # Save the log message, to keep $0 and so on meaningful, and to
17187 # report actual input values of CONFIG_FILES etc. instead of their
17188 # values after options handling.
17190 This file was extended by ecryptfs-utils $as_me 106, which was
17191 generated by GNU Autoconf 2.69. Invocation command line was
17193 CONFIG_FILES = $CONFIG_FILES
17194 CONFIG_HEADERS = $CONFIG_HEADERS
17195 CONFIG_LINKS = $CONFIG_LINKS
17196 CONFIG_COMMANDS = $CONFIG_COMMANDS
17199 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17204 case $ac_config_files in *"
17205 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17208 case $ac_config_headers in *"
17209 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17214 # Files that config.status was made for.
17215 config_files="$ac_config_files"
17216 config_headers="$ac_config_headers"
17217 config_commands="$ac_config_commands"
17221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17223 \`$as_me' instantiates files and other configuration actions
17224 from templates according to the current configuration. Unless the files
17225 and actions are specified as TAGs, all are instantiated by default.
17227 Usage: $0 [OPTION]... [TAG]...
17229 -h, --help print this help, then exit
17230 -V, --version print version number and configuration settings, then exit
17231 --config print configuration, then exit
17232 -q, --quiet, --silent
17233 do not print progress messages
17234 -d, --debug don't remove temporary files
17235 --recheck update $as_me by reconfiguring in the same conditions
17236 --file=FILE[:TEMPLATE]
17237 instantiate the configuration file FILE
17238 --header=FILE[:TEMPLATE]
17239 instantiate the configuration header FILE
17241 Configuration files:
17244 Configuration headers:
17247 Configuration commands:
17250 Report bugs to the package provider."
17253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17254 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17256 ecryptfs-utils config.status 106
17257 configured by $0, generated by GNU Autoconf 2.69,
17258 with options \\"\$ac_cs_config\\"
17260 Copyright (C) 2012 Free Software Foundation, Inc.
17261 This config.status script is free software; the Free Software Foundation
17262 gives unlimited permission to copy, distribute and modify it."
17269 test -n "\$AWK" || AWK=awk
17272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17273 # The default lists apply if the user does not specify any file.
17279 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17280 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17284 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17296 # Handling of the options.
17297 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17299 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17300 $as_echo "$ac_cs_version"; exit ;;
17301 --config | --confi | --conf | --con | --co | --c )
17302 $as_echo "$ac_cs_config"; exit ;;
17303 --debug | --debu | --deb | --de | --d | -d )
17305 --file | --fil | --fi | --f )
17308 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17309 '') as_fn_error $? "missing file argument" ;;
17311 as_fn_append CONFIG_FILES " '$ac_optarg'"
17312 ac_need_defaults=false;;
17313 --header | --heade | --head | --hea )
17316 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17318 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17319 ac_need_defaults=false;;
17321 # Conflict between --help and --header
17322 as_fn_error $? "ambiguous option: \`$1'
17323 Try \`$0 --help' for more information.";;
17324 --help | --hel | -h )
17325 $as_echo "$ac_cs_usage"; exit ;;
17326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17327 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17330 # This is an error.
17331 -*) as_fn_error $? "unrecognized option: \`$1'
17332 Try \`$0 --help' for more information." ;;
17334 *) as_fn_append ac_config_targets " $1"
17335 ac_need_defaults=false ;;
17341 ac_configure_extra_args=
17343 if $ac_cs_silent; then
17345 ac_configure_extra_args="$ac_configure_extra_args --silent"
17349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17350 if \$ac_cs_recheck; then
17351 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17353 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17354 CONFIG_SHELL='$SHELL'
17355 export CONFIG_SHELL
17360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17364 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17365 ## Running $as_me. ##
17371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17375 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17378 # The HP-UX ksh and POSIX shell print the target directory to stdout
17379 # if CDPATH is set.
17380 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17382 sed_quote_subst='$sed_quote_subst'
17383 double_quote_subst='$double_quote_subst'
17384 delay_variable_subst='$delay_variable_subst'
17385 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17386 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17387 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17388 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17389 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17390 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17391 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17392 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17393 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17394 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17395 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17396 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17397 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17398 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17399 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17400 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17401 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17402 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17403 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17404 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17405 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17406 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17407 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17408 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17409 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17410 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17411 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17412 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17413 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17414 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17415 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17416 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17417 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17418 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17419 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17420 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17421 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17422 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17423 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17424 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17425 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17426 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17427 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17428 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17429 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17430 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17431 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17432 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17433 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17434 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17435 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17436 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17437 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17438 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17439 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17440 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17441 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"`'
17442 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17443 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17444 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17445 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17446 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17447 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17448 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17449 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17450 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17451 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17452 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17453 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17454 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17455 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17456 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17457 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17458 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17459 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17460 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17461 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17462 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17463 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17464 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17465 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17466 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17467 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17468 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17469 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17470 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17471 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17472 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17473 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17474 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17475 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17476 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17477 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17478 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17479 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17480 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17481 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17482 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17483 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17484 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17485 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17486 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17487 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17488 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17489 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17490 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17491 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17492 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17493 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17494 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17495 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17496 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17497 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17498 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17499 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17500 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17501 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17502 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17503 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17504 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17505 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17506 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17507 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17508 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17509 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17510 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17511 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17512 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17513 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17514 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17517 LTCFLAGS='$LTCFLAGS'
17518 compiler='$compiler_DEFAULT'
17520 # A function that is used when there is no print builtin or printf.
17521 func_fallback_echo ()
17523 eval 'cat <<_LTECHO_EOF
17528 # Quote evaled strings.
17543 deplibs_check_method \
17548 sharedlib_from_linklib_cmd \
17551 archiver_list_spec \
17557 lt_cv_sys_global_symbol_pipe \
17558 lt_cv_sys_global_symbol_to_cdecl \
17559 lt_cv_sys_global_symbol_to_c_name_address \
17560 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17561 nm_file_list_spec \
17562 lt_prog_compiler_no_builtin_flag \
17563 lt_prog_compiler_pic \
17564 lt_prog_compiler_wl \
17565 lt_prog_compiler_static \
17566 lt_cv_prog_compiler_c_o \
17575 export_dynamic_flag_spec \
17576 whole_archive_flag_spec \
17577 compiler_needs_object \
17579 allow_undefined_flag \
17580 no_undefined_flag \
17581 hardcode_libdir_flag_spec \
17582 hardcode_libdir_separator \
17586 variables_saved_for_relink \
17588 library_names_spec \
17590 install_override_mode \
17594 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17595 *[\\\\\\\`\\"\\\$]*)
17596 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17599 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17604 # Double-quote double-evaled strings.
17605 for var in reload_cmds \
17606 old_postinstall_cmds \
17607 old_postuninstall_cmds \
17609 extract_expsyms_cmds \
17610 old_archive_from_new_cmds \
17611 old_archive_from_expsyms_cmds \
17613 archive_expsym_cmds \
17615 module_expsym_cmds \
17616 export_symbols_cmds \
17620 postuninstall_cmds \
17622 sys_lib_search_path_spec \
17623 sys_lib_dlsearch_path_spec; do
17624 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17625 *[\\\\\\\`\\"\\\$]*)
17626 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17629 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17634 ac_aux_dir='$ac_aux_dir'
17635 xsi_shell='$xsi_shell'
17636 lt_shell_append='$lt_shell_append'
17638 # See if we are running on zsh, and set the options which allow our
17639 # commands through without removal of \ escapes INIT.
17640 if test -n "\${ZSH_VERSION+set}" ; then
17641 setopt NO_GLOB_SUBST
17647 TIMESTAMP='$TIMESTAMP'
17657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17659 # Handling of arguments.
17660 for ac_config_target in $ac_config_targets
17662 case $ac_config_target in
17663 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17664 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17665 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17666 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17667 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17668 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17669 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17670 "src/libecryptfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libecryptfs/Makefile" ;;
17671 "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
17672 "src/key_mod/Makefile") CONFIG_FILES="$CONFIG_FILES src/key_mod/Makefile" ;;
17673 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
17674 "src/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES src/desktop/Makefile" ;;
17675 "src/desktop/ecryptfs-mount-private.desktop") CONFIG_FILES="$CONFIG_FILES src/desktop/ecryptfs-mount-private.desktop" ;;
17676 "src/desktop/ecryptfs-setup-private.desktop") CONFIG_FILES="$CONFIG_FILES src/desktop/ecryptfs-setup-private.desktop" ;;
17677 "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
17678 "doc/manpage/Makefile") CONFIG_FILES="$CONFIG_FILES doc/manpage/Makefile" ;;
17679 "src/pam_ecryptfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/pam_ecryptfs/Makefile" ;;
17680 "src/libecryptfs/libecryptfs.pc") CONFIG_FILES="$CONFIG_FILES src/libecryptfs/libecryptfs.pc" ;;
17681 "src/libecryptfs-swig/Makefile") CONFIG_FILES="$CONFIG_FILES src/libecryptfs-swig/Makefile" ;;
17682 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17683 "tests/lib/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/Makefile" ;;
17684 "tests/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES tests/kernel/Makefile" ;;
17685 "tests/userspace/Makefile") CONFIG_FILES="$CONFIG_FILES tests/userspace/Makefile" ;;
17686 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17687 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17689 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17694 # If the user did not use the arguments to specify the items to instantiate,
17695 # then the envvar interface is used. Set only those that are not.
17696 # We use the long form for the default assignment because of an extremely
17697 # bizarre bug on SunOS 4.1.3.
17698 if $ac_need_defaults; then
17699 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17700 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17701 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17704 # Have a temporary directory for convenience. Make it in the build tree
17705 # simply because there is no reason against having it here, and in addition,
17706 # creating and moving files from /tmp can sometimes cause problems.
17707 # Hook for its removal unless debugging.
17708 # Note that there is a small window in which the directory will not be cleaned:
17709 # after its creation but before its name has been assigned to `$tmp'.
17713 trap 'exit_status=$?
17714 : "${ac_tmp:=$tmp}"
17715 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17717 trap 'as_fn_exit 1' 1 2 13 15
17719 # Create a (secure) tmp directory for tmp files.
17722 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17726 tmp=./conf$$-$RANDOM
17727 (umask 077 && mkdir "$tmp")
17728 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17731 # Set up the scripts for CONFIG_FILES section.
17732 # No need to generate them if there are no CONFIG_FILES.
17733 # This happens for instance with `./config.status config.h'.
17734 if test -n "$CONFIG_FILES"; then
17737 ac_cr=`echo X | tr X '\015'`
17738 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17739 # But we know of no other shell where ac_cr would be empty at this
17740 # point, so we can use a bashism as a fallback.
17741 if test "x$ac_cr" = x; then
17742 eval ac_cr=\$\'\\r\'
17744 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17745 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17748 ac_cs_awk_cr=$ac_cr
17751 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17756 echo "cat >conf$$subs.awk <<_ACEOF" &&
17757 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17759 } >conf$$subs.sh ||
17760 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17761 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17763 for ac_last_try in false false false false false :; do
17764 . ./conf$$subs.sh ||
17765 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17767 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17768 if test $ac_delim_n = $ac_delim_num; then
17770 elif $ac_last_try; then
17771 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17776 rm -f conf$$subs.sh
17778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17779 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17783 s/^/S["/; s/!.*/"]=/
17793 s/\(.\{148\}\)..*/\1/
17795 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17800 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17807 s/\(.\{148\}\)..*/\1/
17809 s/["\\]/\\&/g; s/^/"/; s/$/"/
17813 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17818 ' <conf$$subs.awk | sed '
17823 ' >>$CONFIG_STATUS || ac_write_fail=1
17824 rm -f conf$$subs.awk
17825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17827 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17828 for (key in S) S_is_set[key] = 1
17834 nfields = split(line, field, "@")
17836 len = length(field[1])
17837 for (i = 2; i < nfields; i++) {
17839 keylen = length(key)
17840 if (S_is_set[key]) {
17842 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17843 len += length(value) + length(field[++i])
17854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17855 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17856 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17859 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17860 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17863 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17864 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17865 # trailing colons and then remove the whole line if VPATH becomes empty
17866 # (actually we leave an empty line to preserve line numbers).
17867 if test "x$srcdir" = x.; then
17868 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17887 fi # test -n "$CONFIG_FILES"
17889 # Set up the scripts for CONFIG_HEADERS section.
17890 # No need to generate them if there are no CONFIG_HEADERS.
17891 # This happens for instance with `./config.status Makefile'.
17892 if test -n "$CONFIG_HEADERS"; then
17893 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17897 # Transform confdefs.h into an awk script `defines.awk', embedded as
17898 # here-document in config.status, that substitutes the proper values into
17899 # config.h.in to produce config.h.
17901 # Create a delimiter string that does not exist in confdefs.h, to ease
17902 # handling of long lines.
17904 for ac_last_try in false false :; do
17905 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17906 if test -z "$ac_tt"; then
17908 elif $ac_last_try; then
17909 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17911 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17915 # For the awk script, D is an array of macro values keyed by name,
17916 # likewise P contains macro parameters if any. Preserve backslash
17917 # newline sequences.
17919 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17921 s/.\{148\}/&'"$ac_delim"'/g
17924 s/^[ ]*#[ ]*define[ ][ ]*/ /
17931 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17933 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17937 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17938 D["\1"]=" \3\\\\\\n"\\/p
17940 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17945 s/.\{148\}/&'"$ac_delim"'/g
17950 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17953 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17955 ' <confdefs.h | sed '
17956 s/'"$ac_delim"'/"\\\
17957 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17960 for (key in D) D_is_set[key] = 1
17963 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17965 split(line, arg, " ")
17966 if (arg[1] == "#") {
17970 defundef = substr(arg[1], 2)
17973 split(mac1, mac2, "(") #)
17975 prefix = substr(line, 1, index(line, defundef) - 1)
17976 if (D_is_set[macro]) {
17977 # Preserve the white space surrounding the "#".
17978 print prefix "define", macro P[macro] D[macro]
17981 # Replace #undef with comments. This is necessary, for example,
17982 # in the case of _POSIX_SOURCE, which is predefined and required
17983 # on some systems where configure will not decide to define it.
17984 if (defundef == "undef") {
17985 print "/*", prefix defundef, macro, "*/"
17993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17994 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17995 fi # test -n "$CONFIG_HEADERS"
17998 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18003 :[FHLC]) ac_mode=$ac_tag; continue;;
18005 case $ac_mode$ac_tag in
18007 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18008 :[FH]-) ac_tag=-:-;;
18009 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18026 -) ac_f="$ac_tmp/stdin";;
18027 *) # Look for the file first in the build tree, then in the source tree
18028 # (if the path is not absolute). The absolute path cannot be DOS-style,
18029 # because $ac_f cannot contain `:'.
18033 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18035 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18037 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18038 as_fn_append ac_file_inputs " '$ac_f'"
18041 # Let's still pretend it is `configure' which instantiates (i.e., don't
18042 # use $as_me), people would be surprised to read:
18043 # /* config.h. Generated by config.status. */
18044 configure_input='Generated from '`
18045 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18047 if test x"$ac_file" != x-; then
18048 configure_input="$ac_file. $configure_input"
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18050 $as_echo "$as_me: creating $ac_file" >&6;}
18052 # Neutralize special characters interpreted by sed in replacement strings.
18053 case $configure_input in #(
18054 *\&* | *\|* | *\\* )
18055 ac_sed_conf_input=`$as_echo "$configure_input" |
18056 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18057 *) ac_sed_conf_input=$configure_input;;
18061 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18067 ac_dir=`$as_dirname -- "$ac_file" ||
18068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18069 X"$ac_file" : 'X\(//\)[^/]' \| \
18070 X"$ac_file" : 'X\(//\)$' \| \
18071 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18072 $as_echo X"$ac_file" |
18073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18077 /^X\(\/\/\)[^/].*/{
18090 as_dir="$ac_dir"; as_fn_mkdir_p
18094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18096 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18097 # A ".." for each directory in $ac_dir_suffix.
18098 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18099 case $ac_top_builddir_sub in
18100 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18101 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18104 ac_abs_top_builddir=$ac_pwd
18105 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18106 # for backward compatibility:
18107 ac_top_builddir=$ac_top_build_prefix
18110 .) # We are building in place.
18112 ac_top_srcdir=$ac_top_builddir_sub
18113 ac_abs_top_srcdir=$ac_pwd ;;
18114 [\\/]* | ?:[\\/]* ) # Absolute name.
18115 ac_srcdir=$srcdir$ac_dir_suffix;
18116 ac_top_srcdir=$srcdir
18117 ac_abs_top_srcdir=$srcdir ;;
18118 *) # Relative name.
18119 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18120 ac_top_srcdir=$ac_top_build_prefix$srcdir
18121 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18134 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18136 ac_MKDIR_P=$MKDIR_P
18138 [\\/$]* | ?:[\\/]* ) ;;
18139 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18144 # If the template does not know about datarootdir, expand it.
18145 # FIXME: This hack should be removed a few years after 2.60.
18146 ac_datarootdir_hack=; ac_datarootdir_seen=
18157 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18158 *datarootdir*) ac_datarootdir_seen=yes;;
18159 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18161 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18164 ac_datarootdir_hack='
18165 s&@datadir@&$datadir&g
18166 s&@docdir@&$docdir&g
18167 s&@infodir@&$infodir&g
18168 s&@localedir@&$localedir&g
18169 s&@mandir@&$mandir&g
18170 s&\\\${datarootdir}&$datarootdir&g' ;;
18174 # Neutralize VPATH when `$srcdir' = `.'.
18175 # Shell code in configure.ac might set extrasub.
18176 # FIXME: do we really want to maintain this feature?
18177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18178 ac_sed_extra="$ac_vpsub
18181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18184 s|@configure_input@|$ac_sed_conf_input|;t t
18185 s&@top_builddir@&$ac_top_builddir_sub&;t t
18186 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18187 s&@srcdir@&$ac_srcdir&;t t
18188 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18189 s&@top_srcdir@&$ac_top_srcdir&;t t
18190 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18191 s&@builddir@&$ac_builddir&;t t
18192 s&@abs_builddir@&$ac_abs_builddir&;t t
18193 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18194 s&@INSTALL@&$ac_INSTALL&;t t
18195 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18196 $ac_datarootdir_hack
18198 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18199 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18201 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18202 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18203 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18204 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18206 which seems to be undefined. Please make sure it is defined" >&5
18207 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18208 which seems to be undefined. Please make sure it is defined" >&2;}
18210 rm -f "$ac_tmp/stdin"
18212 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18213 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18221 if test x"$ac_file" != x-; then
18223 $as_echo "/* $configure_input */" \
18224 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18225 } >"$ac_tmp/config.h" \
18226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18227 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18229 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18232 mv "$ac_tmp/config.h" "$ac_file" \
18233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18236 $as_echo "/* $configure_input */" \
18237 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18238 || as_fn_error $? "could not create -" "$LINENO" 5
18240 # Compute "$ac_file"'s index in $config_headers.
18243 for _am_header in $config_headers :; do
18244 case $_am_header in
18245 $_am_arg | $_am_arg:* )
18248 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18251 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18252 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18253 X"$_am_arg" : 'X\(//\)[^/]' \| \
18254 X"$_am_arg" : 'X\(//\)$' \| \
18255 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18256 $as_echo X"$_am_arg" |
18257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18261 /^X\(\/\/\)[^/].*/{
18273 s/.*/./; q'`/stamp-h$_am_stamp_count
18276 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18277 $as_echo "$as_me: executing $ac_file commands" >&6;}
18282 case $ac_file$ac_mode in
18283 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18284 # Older Autoconf quotes --file arguments for eval, but not when files
18285 # are listed without --file. Let's play safe and only enable the eval
18286 # if we detect the quoting.
18287 case $CONFIG_FILES in
18288 *\'*) eval set x "$CONFIG_FILES" ;;
18289 *) set x $CONFIG_FILES ;;
18294 # Strip MF so we end up with the name of the file.
18295 mf=`echo "$mf" | sed -e 's/:.*$//'`
18296 # Check whether this is an Automake generated Makefile or not.
18297 # We used to match only the files named 'Makefile.in', but
18298 # some people rename them; so instead we look at the file content.
18299 # Grep'ing the first line is not enough: some people post-process
18300 # each Makefile.in and add a new line on top of each file to say so.
18301 # Grep'ing the whole file is not good either: AIX grep has a line
18302 # limit of 2048, but all sed's we know have understand at least 4000.
18303 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18304 dirpart=`$as_dirname -- "$mf" ||
18305 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18306 X"$mf" : 'X\(//\)[^/]' \| \
18307 X"$mf" : 'X\(//\)$' \| \
18308 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18314 /^X\(\/\/\)[^/].*/{
18330 # Extract the definition of DEPDIR, am__include, and am__quote
18331 # from the Makefile without running 'make'.
18332 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18333 test -z "$DEPDIR" && continue
18334 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18335 test -z "$am__include" && continue
18336 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18337 # Find all dependency output files, they are included files with
18338 # $(DEPDIR) in their names. We invoke sed twice because it is the
18339 # simplest approach to changing $(DEPDIR) to its actual value in the
18341 for file in `sed -n "
18342 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18343 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18344 # Make sure the directory exists.
18345 test -f "$dirpart/$file" && continue
18346 fdir=`$as_dirname -- "$file" ||
18347 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18348 X"$file" : 'X\(//\)[^/]' \| \
18349 X"$file" : 'X\(//\)$' \| \
18350 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18351 $as_echo X"$file" |
18352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18356 /^X\(\/\/\)[^/].*/{
18369 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18370 # echo "creating $dirpart/$file"
18371 echo '# dummy' > "$dirpart/$file"
18378 # See if we are running on zsh, and set the options which allow our
18379 # commands through without removal of \ escapes.
18380 if test -n "${ZSH_VERSION+set}" ; then
18381 setopt NO_GLOB_SUBST
18384 cfgfile="${ofile}T"
18385 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18388 cat <<_LT_EOF >> "$cfgfile"
18391 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18392 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18393 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18394 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18396 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18397 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18399 # Written by Gordon Matzigkeit, 1996
18401 # This file is part of GNU Libtool.
18403 # GNU Libtool is free software; you can redistribute it and/or
18404 # modify it under the terms of the GNU General Public License as
18405 # published by the Free Software Foundation; either version 2 of
18406 # the License, or (at your option) any later version.
18408 # As a special exception to the GNU General Public License,
18409 # if you distribute this file as part of a program or library that
18410 # is built using GNU Libtool, you may include this file under the
18411 # same distribution terms that you use for the rest of that program.
18413 # GNU Libtool is distributed in the hope that it will be useful,
18414 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18415 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18416 # GNU General Public License for more details.
18418 # You should have received a copy of the GNU General Public License
18419 # along with GNU Libtool; see the file COPYING. If not, a copy
18420 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18421 # obtained by writing to the Free Software Foundation, Inc.,
18422 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18425 # The names of the tagged configurations supported by this script.
18428 # ### BEGIN LIBTOOL CONFIG
18430 # Whether or not to build static libraries.
18431 build_old_libs=$enable_static
18433 # Which release of libtool.m4 was used?
18434 macro_version=$macro_version
18435 macro_revision=$macro_revision
18437 # Whether or not to build shared libraries.
18438 build_libtool_libs=$enable_shared
18440 # What type of objects to build.
18443 # Whether or not to optimize for fast installation.
18444 fast_install=$enable_fast_install
18446 # Shell to use when invoking shell scripts.
18449 # An echo program that protects backslashes.
18452 # The PATH separator for the build system.
18453 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18456 host_alias=$host_alias
18460 # The build system.
18461 build_alias=$build_alias
18465 # A sed program that does not truncate output.
18468 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18469 Xsed="\$SED -e 1s/^X//"
18471 # A grep program that handles long lines.
18477 # A literal string matcher.
18480 # A BSD- or MS-compatible name lister.
18483 # Whether we need soft or hard links.
18486 # What is the maximum length of a command?
18487 max_cmd_len=$max_cmd_len
18489 # Object file suffix (normally "o").
18492 # Executable file suffix (normally "").
18495 # whether the shell understands "unset".
18498 # turn spaces into newlines.
18501 # turn newlines into spaces.
18504 # convert \$build file names to \$host format.
18505 to_host_file_cmd=$lt_cv_to_host_file_cmd
18507 # convert \$build files to toolchain format.
18508 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18510 # An object symbol dumper.
18511 OBJDUMP=$lt_OBJDUMP
18513 # Method to check whether dependent libraries are shared objects.
18514 deplibs_check_method=$lt_deplibs_check_method
18516 # Command to use when deplibs_check_method = "file_magic".
18517 file_magic_cmd=$lt_file_magic_cmd
18519 # How to find potential files when deplibs_check_method = "file_magic".
18520 file_magic_glob=$lt_file_magic_glob
18522 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18523 want_nocaseglob=$lt_want_nocaseglob
18525 # DLL creation program.
18526 DLLTOOL=$lt_DLLTOOL
18528 # Command to associate shared and link libraries.
18529 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18534 # Flags to create an archive.
18535 AR_FLAGS=$lt_AR_FLAGS
18537 # How to feed a file listing to the archiver.
18538 archiver_list_spec=$lt_archiver_list_spec
18540 # A symbol stripping program.
18543 # Commands used to install an old-style archive.
18545 old_postinstall_cmds=$lt_old_postinstall_cmds
18546 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18548 # Whether to use a lock for old archive extraction.
18549 lock_old_archive_extraction=$lock_old_archive_extraction
18554 # LTCC compiler flags.
18555 LTCFLAGS=$lt_CFLAGS
18557 # Take the output of nm and produce a listing of raw symbols and C names.
18558 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18560 # Transform the output of nm in a proper C declaration.
18561 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18563 # Transform the output of nm in a C name address pair.
18564 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18566 # Transform the output of nm in a C name address pair when lib prefix is needed.
18567 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18569 # Specify filename containing input files for \$NM.
18570 nm_file_list_spec=$lt_nm_file_list_spec
18572 # The root where to search for dependent libraries,and in which our libraries should be installed.
18573 lt_sysroot=$lt_sysroot
18575 # The name of the directory that contains temporary libtool files.
18578 # Used to examine libraries when file_magic_cmd begins with "file".
18579 MAGIC_CMD=$MAGIC_CMD
18581 # Must we lock files when doing compilation?
18582 need_locks=$lt_need_locks
18585 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18587 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18588 DSYMUTIL=$lt_DSYMUTIL
18590 # Tool to change global to local symbols on Mac OS X.
18593 # Tool to manipulate fat objects and archives on Mac OS X.
18596 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18599 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18600 OTOOL64=$lt_OTOOL64
18602 # Old archive suffix (normally "a").
18605 # Shared library suffix (normally ".so").
18606 shrext_cmds=$lt_shrext_cmds
18608 # The commands to extract the exported symbol list from a shared archive.
18609 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18611 # Variables whose values should be saved in libtool wrapper scripts and
18612 # restored at link time.
18613 variables_saved_for_relink=$lt_variables_saved_for_relink
18615 # Do we need the "lib" prefix for modules?
18616 need_lib_prefix=$need_lib_prefix
18618 # Do we need a version for libraries?
18619 need_version=$need_version
18621 # Library versioning type.
18622 version_type=$version_type
18624 # Shared library runtime path variable.
18625 runpath_var=$runpath_var
18627 # Shared library path variable.
18628 shlibpath_var=$shlibpath_var
18630 # Is shlibpath searched before the hard-coded library search path?
18631 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18633 # Format of library name prefix.
18634 libname_spec=$lt_libname_spec
18636 # List of archive names. First name is the real one, the rest are links.
18637 # The last name is the one that the linker finds with -lNAME
18638 library_names_spec=$lt_library_names_spec
18640 # The coded name of the library, if different from the real name.
18641 soname_spec=$lt_soname_spec
18643 # Permission mode override for installation of shared libraries.
18644 install_override_mode=$lt_install_override_mode
18646 # Command to use after installation of a shared archive.
18647 postinstall_cmds=$lt_postinstall_cmds
18649 # Command to use after uninstallation of a shared archive.
18650 postuninstall_cmds=$lt_postuninstall_cmds
18652 # Commands used to finish a libtool library installation in a directory.
18653 finish_cmds=$lt_finish_cmds
18655 # As "finish_cmds", except a single script fragment to be evaled but
18657 finish_eval=$lt_finish_eval
18659 # Whether we should hardcode library paths into libraries.
18660 hardcode_into_libs=$hardcode_into_libs
18662 # Compile-time system search path for libraries.
18663 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18665 # Run-time system search path for libraries.
18666 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18668 # Whether dlopen is supported.
18669 dlopen_support=$enable_dlopen
18671 # Whether dlopen of programs is supported.
18672 dlopen_self=$enable_dlopen_self
18674 # Whether dlopen of statically linked programs is supported.
18675 dlopen_self_static=$enable_dlopen_self_static
18677 # Commands to strip libraries.
18678 old_striplib=$lt_old_striplib
18679 striplib=$lt_striplib
18682 # The linker used to build libraries.
18685 # How to create reloadable object files.
18686 reload_flag=$lt_reload_flag
18687 reload_cmds=$lt_reload_cmds
18689 # Commands used to build an old-style archive.
18690 old_archive_cmds=$lt_old_archive_cmds
18692 # A language specific compiler.
18695 # Is the compiler the GNU compiler?
18698 # Compiler flag to turn off builtin functions.
18699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18701 # Additional compiler flags for building library objects.
18702 pic_flag=$lt_lt_prog_compiler_pic
18704 # How to pass a linker flag through the compiler.
18705 wl=$lt_lt_prog_compiler_wl
18707 # Compiler flag to prevent dynamic linking.
18708 link_static_flag=$lt_lt_prog_compiler_static
18710 # Does compiler simultaneously support -c and -o options?
18711 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18713 # Whether or not to add -lc for building shared libraries.
18714 build_libtool_need_lc=$archive_cmds_need_lc
18716 # Whether or not to disallow shared libs when runtime libs are static.
18717 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18719 # Compiler flag to allow reflexive dlopens.
18720 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18722 # Compiler flag to generate shared objects directly from archives.
18723 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18725 # Whether the compiler copes with passing no objects directly.
18726 compiler_needs_object=$lt_compiler_needs_object
18728 # Create an old-style archive from a shared archive.
18729 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18731 # Create a temporary old-style archive to link instead of a shared archive.
18732 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18734 # Commands used to build a shared archive.
18735 archive_cmds=$lt_archive_cmds
18736 archive_expsym_cmds=$lt_archive_expsym_cmds
18738 # Commands used to build a loadable module if different from building
18739 # a shared archive.
18740 module_cmds=$lt_module_cmds
18741 module_expsym_cmds=$lt_module_expsym_cmds
18743 # Whether we are building with GNU ld or not.
18744 with_gnu_ld=$lt_with_gnu_ld
18746 # Flag that allows shared libraries with undefined symbols to be built.
18747 allow_undefined_flag=$lt_allow_undefined_flag
18749 # Flag that enforces no undefined symbols.
18750 no_undefined_flag=$lt_no_undefined_flag
18752 # Flag to hardcode \$libdir into a binary during linking.
18753 # This must work even if \$libdir does not exist
18754 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18756 # Whether we need a single "-rpath" flag with a separated argument.
18757 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18759 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18760 # DIR into the resulting binary.
18761 hardcode_direct=$hardcode_direct
18763 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18764 # DIR into the resulting binary and the resulting library dependency is
18765 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18766 # library is relocated.
18767 hardcode_direct_absolute=$hardcode_direct_absolute
18769 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18770 # into the resulting binary.
18771 hardcode_minus_L=$hardcode_minus_L
18773 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18774 # into the resulting binary.
18775 hardcode_shlibpath_var=$hardcode_shlibpath_var
18777 # Set to "yes" if building a shared library automatically hardcodes DIR
18778 # into the library and all subsequent libraries and executables linked
18780 hardcode_automatic=$hardcode_automatic
18782 # Set to yes if linker adds runtime paths of dependent libraries
18783 # to runtime path list.
18784 inherit_rpath=$inherit_rpath
18786 # Whether libtool must link a program against all its dependency libraries.
18787 link_all_deplibs=$link_all_deplibs
18789 # Set to "yes" if exported symbols are required.
18790 always_export_symbols=$always_export_symbols
18792 # The commands to list exported symbols.
18793 export_symbols_cmds=$lt_export_symbols_cmds
18795 # Symbols that should not be listed in the preloaded symbols.
18796 exclude_expsyms=$lt_exclude_expsyms
18798 # Symbols that must always be exported.
18799 include_expsyms=$lt_include_expsyms
18801 # Commands necessary for linking programs (against libraries) with templates.
18802 prelink_cmds=$lt_prelink_cmds
18804 # Commands necessary for finishing linking programs.
18805 postlink_cmds=$lt_postlink_cmds
18807 # Specify filename containing input files.
18808 file_list_spec=$lt_file_list_spec
18810 # How to hardcode a shared library path into an executable.
18811 hardcode_action=$hardcode_action
18813 # ### END LIBTOOL CONFIG
18819 cat <<\_LT_EOF >> "$cfgfile"
18820 # AIX sometimes has problems with the GCC collect2 program. For some
18821 # reason, if we set the COLLECT_NAMES environment variable, the problems
18822 # vanish in a puff of smoke.
18823 if test "X${COLLECT_NAMES+set}" != Xset; then
18825 export COLLECT_NAMES
18832 ltmain="$ac_aux_dir/ltmain.sh"
18835 # We use sed instead of cat because bash on DJGPP gets confused if
18836 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18837 # text mode, it properly converts lines to CR/LF. This bash problem
18838 # is reportedly fixed, but why not run on old versions too?
18839 sed '$q' "$ltmain" >> "$cfgfile" \
18840 || (rm -f "$cfgfile"; exit 1)
18842 if test x"$xsi_shell" = xyes; then
18843 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18847 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18848 \ * ) func_dirname_result="${3}" ;;\
18850 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18851 && mv -f "$cfgfile.tmp" "$cfgfile" \
18852 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18853 test 0 -eq $? || _lt_function_replace_fail=:
18856 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18859 \ func_basename_result="${1##*/}"\
18860 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18861 && mv -f "$cfgfile.tmp" "$cfgfile" \
18862 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18863 test 0 -eq $? || _lt_function_replace_fail=:
18866 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18867 func_dirname_and_basename ()\
18870 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18871 \ * ) func_dirname_result="${3}" ;;\
18873 \ func_basename_result="${1##*/}"\
18874 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18875 && mv -f "$cfgfile.tmp" "$cfgfile" \
18876 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18877 test 0 -eq $? || _lt_function_replace_fail=:
18880 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18883 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18884 \ # positional parameters, so assign one to ordinary parameter first.\
18885 \ func_stripname_result=${3}\
18886 \ func_stripname_result=${func_stripname_result#"${1}"}\
18887 \ func_stripname_result=${func_stripname_result%"${2}"}\
18888 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18889 && mv -f "$cfgfile.tmp" "$cfgfile" \
18890 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18891 test 0 -eq $? || _lt_function_replace_fail=:
18894 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18895 func_split_long_opt ()\
18897 \ func_split_long_opt_name=${1%%=*}\
18898 \ func_split_long_opt_arg=${1#*=}\
18899 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18900 && mv -f "$cfgfile.tmp" "$cfgfile" \
18901 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18902 test 0 -eq $? || _lt_function_replace_fail=:
18905 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18906 func_split_short_opt ()\
18908 \ func_split_short_opt_arg=${1#??}\
18909 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18910 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18911 && mv -f "$cfgfile.tmp" "$cfgfile" \
18912 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18913 test 0 -eq $? || _lt_function_replace_fail=:
18916 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18920 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18921 \ *) func_lo2o_result=${1} ;;\
18923 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18924 && mv -f "$cfgfile.tmp" "$cfgfile" \
18925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18926 test 0 -eq $? || _lt_function_replace_fail=:
18929 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18932 func_xform_result=${1%.*}.lo\
18933 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18934 && mv -f "$cfgfile.tmp" "$cfgfile" \
18935 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18936 test 0 -eq $? || _lt_function_replace_fail=:
18939 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18942 func_arith_result=$(( $* ))\
18943 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18944 && mv -f "$cfgfile.tmp" "$cfgfile" \
18945 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18946 test 0 -eq $? || _lt_function_replace_fail=:
18949 sed -e '/^func_len ()$/,/^} # func_len /c\
18952 func_len_result=${#1}\
18953 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18954 && mv -f "$cfgfile.tmp" "$cfgfile" \
18955 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18956 test 0 -eq $? || _lt_function_replace_fail=:
18960 if test x"$lt_shell_append" = xyes; then
18961 sed -e '/^func_append ()$/,/^} # func_append /c\
18964 eval "${1}+=\\${2}"\
18965 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18966 && mv -f "$cfgfile.tmp" "$cfgfile" \
18967 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18968 test 0 -eq $? || _lt_function_replace_fail=:
18971 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18972 func_append_quoted ()\
18974 \ func_quote_for_eval "${2}"\
18975 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18976 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18977 && mv -f "$cfgfile.tmp" "$cfgfile" \
18978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18979 test 0 -eq $? || _lt_function_replace_fail=:
18982 # Save a `func_append' function call where possible by direct use of '+='
18983 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18984 && mv -f "$cfgfile.tmp" "$cfgfile" \
18985 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18986 test 0 -eq $? || _lt_function_replace_fail=:
18988 # Save a `func_append' function call even when '+=' is not available
18989 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18990 && mv -f "$cfgfile.tmp" "$cfgfile" \
18991 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18992 test 0 -eq $? || _lt_function_replace_fail=:
18995 if test x"$_lt_function_replace_fail" = x":"; then
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18997 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19001 mv -f "$cfgfile" "$ofile" ||
19002 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19006 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19007 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19010 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19011 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
19013 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19018 '"s|^| $ac_top_srcdir/|" \
19019 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19021 sed '/^POTFILES =/,/[^\\]$/ {
19025 ' "po/Makefile.in" >"po/Makefile"
19026 rm -f "po/Makefile.tmp"
19027 mv "po/stamp-it.tmp" "po/stamp-it"
19036 ac_clean_files=$ac_clean_files_save
19038 test $ac_write_fail = 0 ||
19039 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19042 # configure is writing to config.log, and then calls config.status.
19043 # config.status does its own redirection, appending to config.log.
19044 # Unfortunately, on DOS this fails, as config.log is still kept open
19045 # by configure, so config.status won't be able to write to it; its
19046 # output is simply discarded. So we exec the FD to /dev/null,
19047 # effectively closing config.log, so it can be properly (re)opened and
19048 # appended to by config.status. When coming back to configure, we
19049 # need to make the FD available again.
19050 if test "$no_create" != yes; then
19052 ac_config_status_args=
19053 test "$silent" = yes &&
19054 ac_config_status_args="$ac_config_status_args --quiet"
19056 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19058 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19059 # would make configure fail if this is the last instruction.
19060 $ac_cs_success || as_fn_exit 1
19062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19064 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19068 if test "${prefix}" != "/usr"; then
19070 echo "Warning: install prefix is $prefix"
19072 echo "Most mount applications expect the mount helper to install to"
19073 echo "/sbin. You can install the mount helper to that location by "
19074 echo "running the configure script again with --prefix=/usr:"
19076 echo "./configure --prefix=/usr"