2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
706 ac_unique_file="conf/pam_conv1/pam_conv_y.y"
707 ac_default_prefix=/usr
708 # Factoring default headers for most tests.
709 ac_includes_default="\
711 #ifdef HAVE_SYS_TYPES_H
712 # include <sys/types.h>
714 #ifdef HAVE_SYS_STAT_H
715 # include <sys/stat.h>
721 # ifdef HAVE_STDLIB_H
726 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
731 #ifdef HAVE_STRINGS_H
732 # include <strings.h>
734 #ifdef HAVE_INTTYPES_H
735 # include <inttypes.h>
744 ac_subst_vars='am__EXEEXT_FALSE
747 HAVE_KEY_MANAGEMENT_FALSE
748 HAVE_KEY_MANAGEMENT_TRUE
765 ENABLE_GENERATE_PDF_FALSE
766 ENABLE_GENERATE_PDF_TRUE
767 ENABLE_REGENERATE_MAN_FALSE
768 ENABLE_REGENERATE_MAN_TRUE
778 HAVE_LIBSELINUX_FALSE
790 HAVE_AUDIT_TTY_STATUS_FALSE
791 HAVE_AUDIT_TTY_STATUS_TRUE
800 LIBPRELUDE_CONFIG_PREFIX
804 LIBPRELUDE_PTHREAD_CFLAGS
810 HAVE_VERSIONING_FALSE
816 pam_cv_ld_no_undefined
877 INSTALL_STRIP_PROGRAM
919 program_transform_name
932 enable_option_checking
933 enable_static_modules
936 enable_dependency_tracking
944 with_libprelude_prefix
950 enable_read_both_confs
961 enable_regenerate_docu
968 ac_precious_vars='build_alias
984 # Initialize some variables set by options.
986 ac_init_version=false
987 ac_unrecognized_opts=
989 # The variables have the same names as the options, with
990 # dashes changed to underlines.
998 program_transform_name=s,x,x,
1006 # Installation directory options.
1007 # These are left unexpanded so users can "make install exec_prefix=/foo"
1008 # and all the variables that are supposed to be based on exec_prefix
1009 # by default will actually change.
1010 # Use braces instead of parens because sh, perl, etc. also accept them.
1011 # (The list follows the same order as the GNU Coding Standards.)
1012 bindir='${exec_prefix}/bin'
1013 sbindir='${exec_prefix}/sbin'
1014 libexecdir='${exec_prefix}/libexec'
1015 datarootdir='${prefix}/share'
1016 datadir='${datarootdir}'
1017 sysconfdir='${prefix}/etc'
1018 sharedstatedir='${prefix}/com'
1019 localstatedir='${prefix}/var'
1020 includedir='${prefix}/include'
1021 oldincludedir='/usr/include'
1022 docdir='${datarootdir}/doc/${PACKAGE}'
1023 infodir='${datarootdir}/info'
1028 libdir='${exec_prefix}/lib'
1029 localedir='${datarootdir}/locale'
1030 mandir='${datarootdir}/man'
1036 # If the previous option needs an argument, assign it.
1037 if test -n "$ac_prev"; then
1038 eval $ac_prev=\$ac_option
1044 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1048 # Accept the important Cygnus configure options, so we can diagnose typos.
1050 case $ac_dashdash$ac_option in
1054 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1056 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1057 bindir=$ac_optarg ;;
1059 -build | --build | --buil | --bui | --bu)
1060 ac_prev=build_alias ;;
1061 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1062 build_alias=$ac_optarg ;;
1064 -cache-file | --cache-file | --cache-fil | --cache-fi \
1065 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1066 ac_prev=cache_file ;;
1067 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1068 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1069 cache_file=$ac_optarg ;;
1071 --config-cache | -C)
1072 cache_file=config.cache ;;
1074 -datadir | --datadir | --datadi | --datad)
1076 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1077 datadir=$ac_optarg ;;
1079 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1080 | --dataroo | --dataro | --datar)
1081 ac_prev=datarootdir ;;
1082 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1083 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1084 datarootdir=$ac_optarg ;;
1086 -disable-* | --disable-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 as_fn_error "invalid feature name: $ac_useropt"
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1095 "enable_$ac_useropt"
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1100 eval enable_$ac_useropt=no ;;
1102 -docdir | --docdir | --docdi | --doc | --do)
1104 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1105 docdir=$ac_optarg ;;
1107 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1109 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1110 dvidir=$ac_optarg ;;
1112 -enable-* | --enable-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error "invalid feature name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1121 "enable_$ac_useropt"
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval enable_$ac_useropt=\$ac_optarg ;;
1128 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1129 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1130 | --exec | --exe | --ex)
1131 ac_prev=exec_prefix ;;
1132 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1133 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1134 | --exec=* | --exe=* | --ex=*)
1135 exec_prefix=$ac_optarg ;;
1137 -gas | --gas | --ga | --g)
1138 # Obsolete; use --with-gas.
1141 -help | --help | --hel | --he | -h)
1142 ac_init_help=long ;;
1143 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1144 ac_init_help=recursive ;;
1145 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1146 ac_init_help=short ;;
1148 -host | --host | --hos | --ho)
1149 ac_prev=host_alias ;;
1150 -host=* | --host=* | --hos=* | --ho=*)
1151 host_alias=$ac_optarg ;;
1153 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1155 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1157 htmldir=$ac_optarg ;;
1159 -includedir | --includedir | --includedi | --included | --include \
1160 | --includ | --inclu | --incl | --inc)
1161 ac_prev=includedir ;;
1162 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1163 | --includ=* | --inclu=* | --incl=* | --inc=*)
1164 includedir=$ac_optarg ;;
1166 -infodir | --infodir | --infodi | --infod | --info | --inf)
1168 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1169 infodir=$ac_optarg ;;
1171 -libdir | --libdir | --libdi | --libd)
1173 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1174 libdir=$ac_optarg ;;
1176 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1177 | --libexe | --libex | --libe)
1178 ac_prev=libexecdir ;;
1179 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1180 | --libexe=* | --libex=* | --libe=*)
1181 libexecdir=$ac_optarg ;;
1183 -localedir | --localedir | --localedi | --localed | --locale)
1184 ac_prev=localedir ;;
1185 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1186 localedir=$ac_optarg ;;
1188 -localstatedir | --localstatedir | --localstatedi | --localstated \
1189 | --localstate | --localstat | --localsta | --localst | --locals)
1190 ac_prev=localstatedir ;;
1191 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1192 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1193 localstatedir=$ac_optarg ;;
1195 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1197 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1198 mandir=$ac_optarg ;;
1200 -nfp | --nfp | --nf)
1201 # Obsolete; use --without-fp.
1204 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1205 | --no-cr | --no-c | -n)
1208 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1209 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1212 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1213 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1214 | --oldin | --oldi | --old | --ol | --o)
1215 ac_prev=oldincludedir ;;
1216 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1217 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1218 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1219 oldincludedir=$ac_optarg ;;
1221 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1223 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1224 prefix=$ac_optarg ;;
1226 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1227 | --program-pre | --program-pr | --program-p)
1228 ac_prev=program_prefix ;;
1229 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1230 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1231 program_prefix=$ac_optarg ;;
1233 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1234 | --program-suf | --program-su | --program-s)
1235 ac_prev=program_suffix ;;
1236 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1237 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1238 program_suffix=$ac_optarg ;;
1240 -program-transform-name | --program-transform-name \
1241 | --program-transform-nam | --program-transform-na \
1242 | --program-transform-n | --program-transform- \
1243 | --program-transform | --program-transfor \
1244 | --program-transfo | --program-transf \
1245 | --program-trans | --program-tran \
1246 | --progr-tra | --program-tr | --program-t)
1247 ac_prev=program_transform_name ;;
1248 -program-transform-name=* | --program-transform-name=* \
1249 | --program-transform-nam=* | --program-transform-na=* \
1250 | --program-transform-n=* | --program-transform-=* \
1251 | --program-transform=* | --program-transfor=* \
1252 | --program-transfo=* | --program-transf=* \
1253 | --program-trans=* | --program-tran=* \
1254 | --progr-tra=* | --program-tr=* | --program-t=*)
1255 program_transform_name=$ac_optarg ;;
1257 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1259 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1260 pdfdir=$ac_optarg ;;
1262 -psdir | --psdir | --psdi | --psd | --ps)
1264 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1271 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1273 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1275 sbindir=$ac_optarg ;;
1277 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1278 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1279 | --sharedst | --shareds | --shared | --share | --shar \
1281 ac_prev=sharedstatedir ;;
1282 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1283 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1284 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1286 sharedstatedir=$ac_optarg ;;
1288 -site | --site | --sit)
1290 -site=* | --site=* | --sit=*)
1293 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1295 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1296 srcdir=$ac_optarg ;;
1298 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1299 | --syscon | --sysco | --sysc | --sys | --sy)
1300 ac_prev=sysconfdir ;;
1301 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1302 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1303 sysconfdir=$ac_optarg ;;
1305 -target | --target | --targe | --targ | --tar | --ta | --t)
1306 ac_prev=target_alias ;;
1307 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1308 target_alias=$ac_optarg ;;
1310 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1313 -version | --version | --versio | --versi | --vers | -V)
1314 ac_init_version=: ;;
1317 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320 as_fn_error "invalid package name: $ac_useropt"
1321 ac_useropt_orig=$ac_useropt
1322 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323 case $ac_user_opts in
1327 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1328 ac_unrecognized_sep=', ';;
1330 eval with_$ac_useropt=\$ac_optarg ;;
1332 -without-* | --without-*)
1333 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1334 # Reject names that are not valid shell variable names.
1335 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336 as_fn_error "invalid package name: $ac_useropt"
1337 ac_useropt_orig=$ac_useropt
1338 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339 case $ac_user_opts in
1343 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1344 ac_unrecognized_sep=', ';;
1346 eval with_$ac_useropt=no ;;
1349 # Obsolete; use --with-x.
1352 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1353 | --x-incl | --x-inc | --x-in | --x-i)
1354 ac_prev=x_includes ;;
1355 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1356 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1357 x_includes=$ac_optarg ;;
1359 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1360 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1361 ac_prev=x_libraries ;;
1362 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1363 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1364 x_libraries=$ac_optarg ;;
1366 -*) as_fn_error "unrecognized option: \`$ac_option'
1367 Try \`$0 --help' for more information."
1371 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1372 # Reject names that are not valid shell variable names.
1373 case $ac_envvar in #(
1374 '' | [0-9]* | *[!_$as_cr_alnum]* )
1375 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1377 eval $ac_envvar=\$ac_optarg
1378 export $ac_envvar ;;
1381 # FIXME: should be removed in autoconf 3.0.
1382 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1383 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1385 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1391 if test -n "$ac_prev"; then
1392 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1393 as_fn_error "missing argument to $ac_option"
1396 if test -n "$ac_unrecognized_opts"; then
1397 case $enable_option_checking in
1399 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1400 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1404 # Check all directory arguments for consistency.
1405 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1406 datadir sysconfdir sharedstatedir localstatedir includedir \
1407 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1408 libdir localedir mandir
1410 eval ac_val=\$$ac_var
1411 # Remove trailing slashes.
1414 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1415 eval $ac_var=\$ac_val;;
1417 # Be sure to have absolute directory names.
1419 [\\/$]* | ?:[\\/]* ) continue;;
1420 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1422 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1425 # There might be people who depend on the old broken behavior: `$host'
1426 # used to hold the argument of --host etc.
1427 # FIXME: To remove some day.
1430 target=$target_alias
1432 # FIXME: To remove some day.
1433 if test "x$host_alias" != x; then
1434 if test "x$build_alias" = x; then
1435 cross_compiling=maybe
1436 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1437 If a cross compiler is detected then cross compile mode will be used." >&2
1438 elif test "x$build_alias" != "x$host_alias"; then
1444 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1446 test "$silent" = yes && exec 6>/dev/null
1449 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1450 ac_ls_di=`ls -di .` &&
1451 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1452 as_fn_error "working directory cannot be determined"
1453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1454 as_fn_error "pwd does not report name of working directory"
1457 # Find the source files, if location was not specified.
1458 if test -z "$srcdir"; then
1459 ac_srcdir_defaulted=yes
1460 # Try the directory containing this script, then the parent directory.
1461 ac_confdir=`$as_dirname -- "$as_myself" ||
1462 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1463 X"$as_myself" : 'X\(//\)[^/]' \| \
1464 X"$as_myself" : 'X\(//\)$' \| \
1465 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1466 $as_echo X"$as_myself" |
1467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1485 if test ! -r "$srcdir/$ac_unique_file"; then
1489 ac_srcdir_defaulted=no
1491 if test ! -r "$srcdir/$ac_unique_file"; then
1492 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1493 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1497 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1499 # When building in place, set srcdir=.
1500 if test "$ac_abs_confdir" = "$ac_pwd"; then
1503 # Remove unnecessary trailing slashes from srcdir.
1504 # Double slashes in file names in object file debugging info
1505 # mess up M-x gdb in Emacs.
1507 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1509 for ac_var in $ac_precious_vars; do
1510 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1511 eval ac_env_${ac_var}_value=\$${ac_var}
1512 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1513 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1517 # Report the --help message.
1519 if test "$ac_init_help" = "long"; then
1520 # Omit some internal or obsolete options to make the list less imposing.
1521 # This message is too long to be a string in the A/UX 3.1 sh.
1523 \`configure' configures this package to adapt to many kinds of systems.
1525 Usage: $0 [OPTION]... [VAR=VALUE]...
1527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1528 VAR=VALUE. See below for descriptions of some of the useful variables.
1530 Defaults for the options are specified in brackets.
1533 -h, --help display this help and exit
1534 --help=short display options specific to this package
1535 --help=recursive display the short help of all the included packages
1536 -V, --version display version information and exit
1537 -q, --quiet, --silent do not print \`checking...' messages
1538 --cache-file=FILE cache test results in FILE [disabled]
1539 -C, --config-cache alias for \`--cache-file=config.cache'
1540 -n, --no-create do not create output files
1541 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1543 Installation directories:
1544 --prefix=PREFIX install architecture-independent files in PREFIX
1545 [$ac_default_prefix]
1546 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1549 By default, \`make install' will install all the files in
1550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1552 for instance \`--prefix=\$HOME'.
1554 For better control, use the options below.
1556 Fine tuning of the installation directories:
1557 --bindir=DIR user executables [EPREFIX/bin]
1558 --sbindir=DIR system admin executables [EPREFIX/sbin]
1559 --libexecdir=DIR program executables [EPREFIX/libexec]
1560 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1561 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1562 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1563 --libdir=DIR object code libraries [EPREFIX/lib]
1564 --includedir=DIR C header files [PREFIX/include]
1565 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1566 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1567 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1568 --infodir=DIR info documentation [DATAROOTDIR/info]
1569 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1570 --mandir=DIR man documentation [DATAROOTDIR/man]
1571 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1572 --htmldir=DIR html documentation [DOCDIR]
1573 --dvidir=DIR dvi documentation [DOCDIR]
1574 --pdfdir=DIR pdf documentation [DOCDIR]
1575 --psdir=DIR ps documentation [DOCDIR]
1581 --program-prefix=PREFIX prepend PREFIX to installed program names
1582 --program-suffix=SUFFIX append SUFFIX to installed program names
1583 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1586 --build=BUILD configure for building on BUILD [guessed]
1587 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1591 if test -n "$ac_init_help"; then
1596 --disable-option-checking ignore unrecognized --enable/--with options
1597 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1598 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1599 --enable-static-modules do not make the modules dynamically loadable
1600 --enable-static[=PKGS] build static libraries [default=yes]
1601 --enable-shared[=PKGS] build shared libraries [default=no]
1602 --disable-dependency-tracking speeds up one-time build
1603 --enable-dependency-tracking do not reject slow dependency extractors
1604 --enable-fast-install[=PKGS]
1605 optimize for fast installation [default=yes]
1606 --disable-libtool-lock avoid locking (might break parallel builds)
1607 --disable-largefile omit support for large files
1608 --disable-pie disable position-independent executeables (PIE)
1609 --disable-prelude do not use prelude
1610 --enable-debug specify you are building with debugging on
1611 --enable-securedir=DIR path to location of PAMs [default=$libdir/security]
1612 --enable-isadir=DIR path to arch-specific module files
1613 [default=../../(basename of $libdir)/security]
1614 --enable-sconfigdir=DIR path to module conf files
1615 [default=$sysconfdir/security]
1616 --enable-pamlocking configure libpam to observe a global authentication
1618 --enable-read-both-confs
1619 read both /etc/pam.d and /etc/pam.conf files
1620 --disable-lckpwdf do not use the lckpwdf function
1621 --disable-cracklib do not use cracklib
1622 --disable-audit do not enable audit support
1623 --enable-db=(db|ndbm|yes|no)
1624 Default behavior 'yes', which is to check for libdb
1625 first, followed by ndbm. Use 'no' to disable db
1627 --disable-nis Disable building NIS/YP support in pam_unix and
1629 --disable-selinux do not use SELinux
1630 --disable-regenerate-docu
1631 Don't re-build documentation from XML souces
1632 --disable-nls do not use Native Language Support
1633 --disable-rpath do not hardcode runtime library paths
1636 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1637 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1638 --with-pic try to use only PIC/non-PIC objects [default=use
1640 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1641 --with-libprelude-prefix=PFX
1642 Prefix where libprelude is installed (optional)
1643 --with-mailspool path to mail spool directory
1644 default _PATH_MAILDIR if defined in paths.h, otherwise /var/spool/mail
1645 --with-xauth additional path to check for xauth when it is called from pam_xauth
1646 added to the default of /usr/X11R6/bin/xauth, /usr/bin/xauth, /usr/bin/X11/xauth
1647 --with-randomdev=(<path>|yes|no)
1648 use specified random device instead of /dev/urandom
1650 --with-db-uniquename=extension
1651 Unique name for db libraries and functions.
1652 --with-xml-catalog=CATALOG
1653 path to xml catalog to use
1654 --with-gnu-ld assume the C compiler uses GNU ld default=no
1655 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1656 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1657 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1658 --without-libintl-prefix don't search for libintl in includedir and libdir
1660 Some influential environment variables:
1661 CC C compiler command
1662 CFLAGS C compiler flags
1663 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1664 nonstandard directory <lib dir>
1665 LIBS libraries to pass to the linker, e.g. -l<library>
1666 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1667 you have headers in a nonstandard directory <include dir>
1669 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1670 the first program found out of: `bison -y', `byacc', `yacc'.
1671 YFLAGS The list of arguments that will be passed by default to $YACC.
1672 This script will default YFLAGS to the empty string to avoid a
1673 default value of `-d' given by some make applications.
1674 PKG_CONFIG path to pkg-config utility
1676 C compiler flags for libtirpc, overriding pkg-config
1678 linker flags for libtirpc, overriding pkg-config
1680 Use these variables to override the choices made by `configure' or to help
1681 it to find libraries and programs with nonstandard names/locations.
1683 Report bugs to the package provider.
1688 if test "$ac_init_help" = "recursive"; then
1689 # If there are subdirs, report their specific --help.
1690 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1691 test -d "$ac_dir" ||
1692 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1700 # A ".." for each directory in $ac_dir_suffix.
1701 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1702 case $ac_top_builddir_sub in
1703 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1704 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1707 ac_abs_top_builddir=$ac_pwd
1708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1709 # for backward compatibility:
1710 ac_top_builddir=$ac_top_build_prefix
1713 .) # We are building in place.
1715 ac_top_srcdir=$ac_top_builddir_sub
1716 ac_abs_top_srcdir=$ac_pwd ;;
1717 [\\/]* | ?:[\\/]* ) # Absolute name.
1718 ac_srcdir=$srcdir$ac_dir_suffix;
1719 ac_top_srcdir=$srcdir
1720 ac_abs_top_srcdir=$srcdir ;;
1722 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1723 ac_top_srcdir=$ac_top_build_prefix$srcdir
1724 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1728 cd "$ac_dir" || { ac_status=$?; continue; }
1729 # Check for guested configure.
1730 if test -f "$ac_srcdir/configure.gnu"; then
1732 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1733 elif test -f "$ac_srcdir/configure"; then
1735 $SHELL "$ac_srcdir/configure" --help=recursive
1737 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1739 cd "$ac_pwd" || { ac_status=$?; break; }
1743 test -n "$ac_init_help" && exit $ac_status
1744 if $ac_init_version; then
1747 generated by GNU Autoconf 2.65
1749 Copyright (C) 2009 Free Software Foundation, Inc.
1750 This configure script is free software; the Free Software Foundation
1751 gives unlimited permission to copy, distribute and modify it.
1756 ## ------------------------ ##
1757 ## Autoconf initialization. ##
1758 ## ------------------------ ##
1760 # ac_fn_c_try_compile LINENO
1761 # --------------------------
1762 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext
1767 if { { ac_try="$ac_compile"
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_compile") 2>conftest.err
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.$ac_objext; then :
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 as_fn_set_status $ac_retval
1796 } # ac_fn_c_try_compile
1798 # ac_fn_c_try_cpp LINENO
1799 # ----------------------
1800 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 if { { ac_try="$ac_cpp conftest.$ac_ext"
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } >/dev/null && {
1820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 as_fn_set_status $ac_retval
1835 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1836 # -------------------------------------------------------
1837 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1838 # the include files in INCLUDES and setting the cache variable VAR
1840 ac_fn_c_check_header_mongrel ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 $as_echo_n "(cached) " >&6
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1853 # Is the header compilable?
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1855 $as_echo_n "checking $2 usability... " >&6; }
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1861 if ac_fn_c_try_compile "$LINENO"; then :
1862 ac_header_compiler=yes
1864 ac_header_compiler=no
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1868 $as_echo "$ac_header_compiler" >&6; }
1870 # Is the header present?
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1872 $as_echo_n "checking $2 presence... " >&6; }
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1877 if ac_fn_c_try_cpp "$LINENO"; then :
1878 ac_header_preproc=yes
1880 ac_header_preproc=no
1882 rm -f conftest.err conftest.$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1884 $as_echo "$ac_header_preproc" >&6; }
1886 # So? What about this header?
1887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1890 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1892 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1896 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1898 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1900 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1902 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1904 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908 $as_echo_n "checking for $2... " >&6; }
1909 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1910 $as_echo_n "(cached) " >&6
1912 eval "$3=\$ac_header_compiler"
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920 } # ac_fn_c_check_header_mongrel
1922 # ac_fn_c_try_run LINENO
1923 # ----------------------
1924 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1925 # that executables *can* be run.
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 if { { ac_try="$ac_link"
1931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1932 *) ac_try_echo=$ac_try;;
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_link") 2>&5
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1940 { { case "(($ac_try" in
1941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1942 *) ac_try_echo=$ac_try;;
1944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1945 $as_echo "$ac_try_echo"; } >&5
1946 (eval "$ac_try") 2>&5
1948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1949 test $ac_status = 0; }; }; then :
1952 $as_echo "$as_me: program exited with status $ac_status" >&5
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1956 ac_retval=$ac_status
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 as_fn_set_status $ac_retval
1964 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1965 # -------------------------------------------------------
1966 # Tests whether HEADER exists and can be compiled using the include files in
1967 # INCLUDES, setting the cache variable VAR accordingly.
1968 ac_fn_c_check_header_compile ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1981 if ac_fn_c_try_compile "$LINENO"; then :
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993 } # ac_fn_c_check_header_compile
1995 # ac_fn_c_try_link LINENO
1996 # -----------------------
1997 # Try to link conftest.$ac_ext, and return whether this succeeded.
2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001 rm -f conftest.$ac_objext conftest$ac_exeext
2002 if { { ac_try="$ac_link"
2004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2005 *) ac_try_echo=$ac_try;;
2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2008 $as_echo "$ac_try_echo"; } >&5
2009 (eval "$ac_link") 2>conftest.err
2011 if test -s conftest.err; then
2012 grep -v '^ *+' conftest.err >conftest.er1
2013 cat conftest.er1 >&5
2014 mv -f conftest.er1 conftest.err
2016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2017 test $ac_status = 0; } && {
2018 test -z "$ac_c_werror_flag" ||
2019 test ! -s conftest.err
2020 } && test -s conftest$ac_exeext && {
2021 test "$cross_compiling" = yes ||
2022 $as_test_x conftest$ac_exeext
2026 $as_echo "$as_me: failed program was:" >&5
2027 sed 's/^/| /' conftest.$ac_ext >&5
2031 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2032 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2033 # interfere with the next link command; also delete a directory that is
2034 # left behind by Apple's compiler. We do this before executing the actions.
2035 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2036 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2037 as_fn_set_status $ac_retval
2039 } # ac_fn_c_try_link
2041 # ac_fn_c_check_func LINENO FUNC VAR
2042 # ----------------------------------
2043 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2044 ac_fn_c_check_func ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2054 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2056 #define $2 innocuous_$2
2058 /* System header to define __stub macros and hopefully few prototypes,
2059 which can conflict with char $2 (); below.
2060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2061 <limits.h> exists even on freestanding compilers. */
2064 # include <limits.h>
2066 # include <assert.h>
2071 /* Override any GCC internal prototype to avoid an error.
2072 Use char because int might match the return type of a GCC
2073 builtin and then its argument prototype would still apply. */
2078 /* The GNU C library defines this for functions which it implements
2079 to always fail with ENOSYS. Some functions are actually named
2080 something starting with __ and the normal name is an alias. */
2081 #if defined __stub_$2 || defined __stub___$2
2093 if ac_fn_c_try_link "$LINENO"; then :
2098 rm -f core conftest.err conftest.$ac_objext \
2099 conftest$ac_exeext conftest.$ac_ext
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 } # ac_fn_c_check_func
2108 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2109 # -------------------------------------------
2110 # Tests whether TYPE exists after having included INCLUDES, setting cache
2111 # variable VAR accordingly.
2112 ac_fn_c_check_type ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 $as_echo_n "(cached) " >&6
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2146 if ac_fn_c_try_compile "$LINENO"; then :
2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160 } # ac_fn_c_check_type
2162 # ac_fn_c_check_decl LINENO SYMBOL VAR
2163 # ------------------------------------
2164 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2165 ac_fn_c_check_decl ()
2167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2169 $as_echo_n "checking whether $2 is declared... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 $as_echo_n "(cached) " >&6
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2187 if ac_fn_c_try_compile "$LINENO"; then :
2192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2197 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2199 } # ac_fn_c_check_decl
2200 cat >config.log <<_ACEOF
2201 This file contains any messages produced by compilers while
2202 running configure, to aid debugging if configure makes a mistake.
2204 It was created by $as_me, which was
2205 generated by GNU Autoconf 2.65. Invocation command line was
2217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2229 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 $as_echo "PATH: $as_dir"
2257 # Keep a trace of the command line.
2258 # Strip out --no-create and --no-recursion so they do not pile up.
2259 # Strip out --silent because we don't want to record it for future runs.
2260 # Also quote any args containing shell meta-characters.
2261 # Make two passes to allow for proper duplicate-argument suppression.
2265 ac_must_keep_next=false
2271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2273 | -silent | --silent | --silen | --sile | --sil)
2276 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2279 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2281 as_fn_append ac_configure_args1 " '$ac_arg'"
2282 if test $ac_must_keep_next = true; then
2283 ac_must_keep_next=false # Got value, back to normal.
2286 *=* | --config-cache | -C | -disable-* | --disable-* \
2287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2289 | -with-* | --with-* | -without-* | --without-* | --x)
2290 case "$ac_configure_args0 " in
2291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2294 -* ) ac_must_keep_next=true ;;
2297 as_fn_append ac_configure_args " '$ac_arg'"
2302 { ac_configure_args0=; unset ac_configure_args0;}
2303 { ac_configure_args1=; unset ac_configure_args1;}
2305 # When interrupted or exit'd, cleanup temporary files, and complete
2306 # config.log. We remove comments because anyway the quotes in there
2307 # would cause problems or look ugly.
2308 # WARNING: Use '\'' to represent an apostrophe within the trap.
2309 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2310 trap 'exit_status=$?
2311 # Save into config.log some information that might help in debugging.
2316 ## ---------------- ##
2317 ## Cache variables. ##
2318 ## ---------------- ##
2321 # The following way of writing the cache mishandles newlines in values,
2323 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2324 eval ac_val=\$$ac_var
2328 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2332 _ | IFS | as_nl) ;; #(
2333 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2334 *) { eval $ac_var=; unset $ac_var;} ;;
2339 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2340 *${as_nl}ac_space=\ *)
2342 "s/'\''/'\''\\\\'\'''\''/g;
2343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2346 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2354 ## ----------------- ##
2355 ## Output variables. ##
2356 ## ----------------- ##
2359 for ac_var in $ac_subst_vars
2361 eval ac_val=\$$ac_var
2363 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2365 $as_echo "$ac_var='\''$ac_val'\''"
2369 if test -n "$ac_subst_files"; then
2371 ## ------------------- ##
2372 ## File substitutions. ##
2373 ## ------------------- ##
2376 for ac_var in $ac_subst_files
2378 eval ac_val=\$$ac_var
2380 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2382 $as_echo "$ac_var='\''$ac_val'\''"
2387 if test -s confdefs.h; then
2397 test "$ac_signal" != 0 &&
2398 $as_echo "$as_me: caught signal $ac_signal"
2399 $as_echo "$as_me: exit $exit_status"
2401 rm -f core *.core core.conftest.* &&
2402 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2405 for ac_signal in 1 2 13 15; do
2406 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2410 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2411 rm -f -r conftest* confdefs.h
2413 $as_echo "/* confdefs.h */" > confdefs.h
2415 # Predefined preprocessor variables.
2417 cat >>confdefs.h <<_ACEOF
2418 #define PACKAGE_NAME "$PACKAGE_NAME"
2421 cat >>confdefs.h <<_ACEOF
2422 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2425 cat >>confdefs.h <<_ACEOF
2426 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_STRING "$PACKAGE_STRING"
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_URL "$PACKAGE_URL"
2442 # Let the site file select an alternate cache file if it wants to.
2443 # Prefer an explicitly selected file to automatically selected ones.
2446 if test -n "$CONFIG_SITE"; then
2447 ac_site_file1=$CONFIG_SITE
2448 elif test "x$prefix" != xNONE; then
2449 ac_site_file1=$prefix/share/config.site
2450 ac_site_file2=$prefix/etc/config.site
2452 ac_site_file1=$ac_default_prefix/share/config.site
2453 ac_site_file2=$ac_default_prefix/etc/config.site
2455 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2457 test "x$ac_site_file" = xNONE && continue
2458 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2460 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2461 sed 's/^/| /' "$ac_site_file" >&5
2466 if test -r "$cache_file"; then
2467 # Some versions of bash will fail to source /dev/null (special files
2468 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2469 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2471 $as_echo "$as_me: loading cache $cache_file" >&6;}
2473 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2474 *) . "./$cache_file";;
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2479 $as_echo "$as_me: creating cache $cache_file" >&6;}
2483 # Check that the precious variables saved in the cache have kept the same
2485 ac_cache_corrupted=false
2486 for ac_var in $ac_precious_vars; do
2487 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2488 eval ac_new_set=\$ac_env_${ac_var}_set
2489 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2490 eval ac_new_val=\$ac_env_${ac_var}_value
2491 case $ac_old_set,$ac_new_set in
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2494 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2495 ac_cache_corrupted=: ;;
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2498 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2499 ac_cache_corrupted=: ;;
2502 if test "x$ac_old_val" != "x$ac_new_val"; then
2503 # differences in whitespace do not lead to failure.
2504 ac_old_val_w=`echo x $ac_old_val`
2505 ac_new_val_w=`echo x $ac_new_val`
2506 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2508 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2509 ac_cache_corrupted=:
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2512 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2513 eval $ac_var=\$ac_old_val
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2516 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2518 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2521 # Pass precious variables to config.status.
2522 if test "$ac_new_set" = set; then
2524 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2525 *) ac_arg=$ac_var=$ac_new_val ;;
2527 case " $ac_configure_args " in
2528 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2529 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2533 if $ac_cache_corrupted; then
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2537 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2538 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2540 ## -------------------- ##
2541 ## Main body of script. ##
2542 ## -------------------- ##
2545 ac_cpp='$CPP $CPPFLAGS'
2546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2553 for ac_dir in build-aux "$srcdir"/build-aux; do
2554 for ac_t in install-sh install.sh shtool; do
2555 if test -f "$ac_dir/$ac_t"; then
2557 ac_install_sh="$ac_aux_dir/$ac_t -c"
2562 if test -z "$ac_aux_dir"; then
2563 as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2566 # These three variables are undocumented and unsupported,
2567 # and are intended to be withdrawn in a future Autoconf release.
2568 # They can cause serious problems if a builder's source tree is in a directory
2569 # whose full name contains unusual characters.
2570 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2571 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2572 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2575 am__api_version='1.11'
2577 # Find a good install program. We prefer a C program (faster),
2578 # so one script is as good as another. But avoid the broken or
2579 # incompatible versions:
2580 # SysV /etc/install, /usr/sbin/install
2581 # SunOS /usr/etc/install
2582 # IRIX /sbin/install
2584 # AmigaOS /C/install, which installs bootblocks on floppy discs
2585 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2586 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2587 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2588 # OS/2's system install, which has a completely different semantic
2589 # ./install, which can be erroneously created by make from ./install.sh.
2590 # Reject install programs that cannot install multiple files.
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2592 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2593 if test -z "$INSTALL"; then
2594 if test "${ac_cv_path_install+set}" = set; then :
2595 $as_echo_n "(cached) " >&6
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 # Account for people who put trailing slashes in PATH elements.
2603 case $as_dir/ in #((
2604 ./ | .// | /[cC]/* | \
2605 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2606 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2609 # OSF1 and SCO ODT 3.0 have their own names for install.
2610 # Don't use installbsd from OSF since it installs stuff as root
2612 for ac_prog in ginstall scoinst install; do
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2615 if test $ac_prog = install &&
2616 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2617 # AIX install. It has an incompatible calling convention.
2619 elif test $ac_prog = install &&
2620 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2621 # program-specific install script used by HP pwplus--don't use.
2624 rm -rf conftest.one conftest.two conftest.dir
2625 echo one > conftest.one
2626 echo two > conftest.two
2628 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2629 test -s conftest.one && test -s conftest.two &&
2630 test -s conftest.dir/conftest.one &&
2631 test -s conftest.dir/conftest.two
2633 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2646 rm -rf conftest.one conftest.two conftest.dir
2649 if test "${ac_cv_path_install+set}" = set; then
2650 INSTALL=$ac_cv_path_install
2652 # As a last resort, use the slow shell script. Don't cache a
2653 # value for INSTALL within a source directory, because that will
2654 # break other packages using the cache if that directory is
2655 # removed, or if the value is a relative name.
2656 INSTALL=$ac_install_sh
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2660 $as_echo "$INSTALL" >&6; }
2662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2663 # It thinks the first close brace ends the variable substitution.
2664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2671 $as_echo_n "checking whether build environment is sane... " >&6; }
2674 echo timestamp > conftest.file
2675 # Reject unsafe characters in $srcdir or the absolute working directory
2676 # name. Accept space and tab only in the latter.
2680 *[\\\"\#\$\&\'\`$am_lf]*)
2681 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2684 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2685 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2688 # Do `set' in a subshell so we don't clobber the current shell's
2689 # arguments. Must try -L first in case configure is actually a
2690 # symlink; some systems play weird games with the mod time of symlinks
2691 # (eg FreeBSD returns the mod time of the symlink's containing
2694 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2695 if test "$*" = "X"; then
2697 set X `ls -t "$srcdir/configure" conftest.file`
2700 if test "$*" != "X $srcdir/configure conftest.file" \
2701 && test "$*" != "X conftest.file $srcdir/configure"; then
2703 # If neither matched, then we have a broken ls. This can happen
2704 # if, for instance, CONFIG_SHELL is bash and it inherits a
2705 # broken ls alias from the environment. This has actually
2706 # happened. Such a system could not be considered "sane".
2707 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2708 alias in your environment" "$LINENO" 5
2711 test "$2" = conftest.file
2717 as_fn_error "newly created file is older than distributed files!
2718 Check your system clock" "$LINENO" 5
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2722 test "$program_prefix" != NONE &&
2723 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2724 # Use a double $ so make ignores it.
2725 test "$program_suffix" != NONE &&
2726 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2727 # Double any \ or $.
2728 # By default was `s,x,x', remove it if useless.
2729 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2730 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2732 # expand $ac_aux_dir to an absolute path
2733 am_aux_dir=`cd $ac_aux_dir && pwd`
2735 if test x"${MISSING+set}" != xset; then
2738 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2740 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2743 # Use eval to expand $SHELL
2744 if eval "$MISSING --run true"; then
2745 am_missing_run="$MISSING --run "
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2749 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2752 if test x"${install_sh}" != xset; then
2755 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2757 install_sh="\${SHELL} $am_aux_dir/install-sh"
2761 # Installed binaries are usually stripped using `strip' when the user
2762 # run `make install-strip'. However `strip' might not be the right
2763 # tool to use in cross-compilation environments, therefore Automake
2764 # will honor the `STRIP' environment variable to overrule this program.
2765 if test "$cross_compiling" != no; then
2766 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2768 set dummy ${ac_tool_prefix}strip; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if test "${ac_cv_prog_STRIP+set}" = set; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$STRIP"; then
2775 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 STRIP=$ac_cv_prog_STRIP
2795 if test -n "$STRIP"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2797 $as_echo "$STRIP" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2805 if test -z "$ac_cv_prog_STRIP"; then
2807 # Extract the first word of "strip", so it can be a program name with args.
2808 set dummy strip; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$ac_ct_STRIP"; then
2815 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824 ac_cv_prog_ac_ct_STRIP="strip"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2835 if test -n "$ac_ct_STRIP"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2837 $as_echo "$ac_ct_STRIP" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2843 if test "x$ac_ct_STRIP" = x; then
2846 case $cross_compiling:$ac_tool_warned in
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2850 ac_tool_warned=yes ;;
2855 STRIP="$ac_cv_prog_STRIP"
2859 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2862 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2863 if test -z "$MKDIR_P"; then
2864 if test "${ac_cv_path_mkdir+set}" = set; then :
2865 $as_echo_n "(cached) " >&6
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2871 test -z "$as_dir" && as_dir=.
2872 for ac_prog in mkdir gmkdir; do
2873 for ac_exec_ext in '' $ac_executable_extensions; do
2874 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2875 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2876 'mkdir (GNU coreutils) '* | \
2877 'mkdir (coreutils) '* | \
2878 'mkdir (fileutils) '4.1*)
2879 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2889 test -d ./--version && rmdir ./--version
2890 if test "${ac_cv_path_mkdir+set}" = set; then
2891 MKDIR_P="$ac_cv_path_mkdir -p"
2893 # As a last resort, use the slow shell script. Don't cache a
2894 # value for MKDIR_P within a source directory, because that will
2895 # break other packages using the cache if that directory is
2896 # removed, or if the value is a relative name.
2897 MKDIR_P="$ac_install_sh -d"
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2901 $as_echo "$MKDIR_P" >&6; }
2905 [\\/$]* | ?:[\\/]*) ;;
2906 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2909 for ac_prog in gawk mawk nawk awk
2911 # Extract the first word of "$ac_prog", so it can be a program name with args.
2912 set dummy $ac_prog; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if test "${ac_cv_prog_AWK+set}" = set; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$AWK"; then
2919 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2928 ac_cv_prog_AWK="$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test -n "$AWK"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2941 $as_echo "$AWK" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2948 test -n "$AWK" && break
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2952 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2954 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2955 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2956 $as_echo_n "(cached) " >&6
2958 cat >conftest.make <<\_ACEOF
2961 @echo '@@@%%%=$(MAKE)=@@@%%%'
2963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2964 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2966 eval ac_cv_prog_make_${ac_make}_set=yes;;
2968 eval ac_cv_prog_make_${ac_make}_set=no;;
2972 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2974 $as_echo "yes" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2979 SET_MAKE="MAKE=${MAKE-make}"
2982 rm -rf .tst 2>/dev/null
2983 mkdir .tst 2>/dev/null
2984 if test -d .tst; then
2989 rmdir .tst 2>/dev/null
2991 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2992 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2993 # is not polluted with repeated "-I."
2994 am__isrc=' -I$(srcdir)'
2995 # test to see if srcdir already configured
2996 if test -f $srcdir/config.status; then
2997 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3001 # test whether we have cygpath
3002 if test -z "$CYGPATH_W"; then
3003 if (cygpath --version) >/dev/null 2>/dev/null; then
3004 CYGPATH_W='cygpath -w'
3011 # Define the identity of the package.
3016 cat >>confdefs.h <<_ACEOF
3017 #define PACKAGE "$PACKAGE"
3021 cat >>confdefs.h <<_ACEOF
3022 #define VERSION "$VERSION"
3025 # Some tools Automake needs.
3027 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3030 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3033 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3036 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3039 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3041 # We need awk for the "check" target. The system "awk" is bad on
3043 # Always define AMTAR for backward compatibility.
3045 AMTAR=${AMTAR-"${am_missing_run}tar"}
3047 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3054 ac_config_headers="$ac_config_headers config.h"
3057 # Make sure we can run config.sub.
3058 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3059 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3062 $as_echo_n "checking build system type... " >&6; }
3063 if test "${ac_cv_build+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3066 ac_build_alias=$build_alias
3067 test "x$ac_build_alias" = x &&
3068 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3069 test "x$ac_build_alias" = x &&
3070 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3071 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3072 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3076 $as_echo "$ac_cv_build" >&6; }
3077 case $ac_cv_build in
3079 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3082 ac_save_IFS=$IFS; IFS='-'
3088 # Remember, the first character of IFS is used to create $*,
3089 # except with old shells:
3092 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3096 $as_echo_n "checking host system type... " >&6; }
3097 if test "${ac_cv_host+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 if test "x$host_alias" = x; then
3101 ac_cv_host=$ac_cv_build
3103 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3104 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3109 $as_echo "$ac_cv_host" >&6; }
3112 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3115 ac_save_IFS=$IFS; IFS='-'
3121 # Remember, the first character of IFS is used to create $*,
3122 # except with old shells:
3125 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3134 test "${prefix}" = "NONE" && prefix="/usr"
3135 if test ${prefix} = '/usr'
3137 if test ${sysconfdir} = '${prefix}/etc'
3141 if test ${libdir} = '${exec_prefix}/lib'
3143 case "`uname -m`" in
3144 x86_64|ppc64|s390x|sparc64)
3150 if test ${sbindir} = '${exec_prefix}/sbin'
3154 if test ${mandir} = '${prefix}/man'
3156 mandir='${prefix}/share/man'
3158 if test ${includedir} = '${prefix}/include'
3160 includedir="${prefix}/include/security"
3163 if test ${localstatedir} = '${prefix}/var'
3165 localstatedir="/var"
3170 # Check whether --enable-static-modules was given.
3171 if test "${enable_static_modules+set}" = set; then :
3172 enableval=$enable_static_modules; STATIC_MODULES=$enableval
3177 if test "$STATIC_MODULES" != "no" ; then
3178 CFLAGS="$CFLAGS -DPAM_STATIC"
3179 # Check whether --enable-static was given.
3180 if test "${enable_static+set}" = set; then :
3181 enableval=$enable_static; p=${PACKAGE-default}
3183 yes) enable_static=yes ;;
3184 no) enable_static=no ;;
3187 # Look at the argument we got. We use all the common list separators.
3188 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3189 for pkg in $enableval; do
3191 if test "X$pkg" = "X$p"; then
3210 # Check whether --enable-shared was given.
3211 if test "${enable_shared+set}" = set; then :
3212 enableval=$enable_shared; p=${PACKAGE-default}
3214 yes) enable_shared=yes ;;
3215 no) enable_shared=no ;;
3218 # Look at the argument we got. We use all the common list separators.
3219 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3220 for pkg in $enableval; do
3222 if test "X$pkg" = "X$p"; then
3242 # per default don't build static libraries
3243 # Check whether --enable-static was given.
3244 if test "${enable_static+set}" = set; then :
3245 enableval=$enable_static; p=${PACKAGE-default}
3247 yes) enable_static=yes ;;
3248 no) enable_static=no ;;
3251 # Look at the argument we got. We use all the common list separators.
3252 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3253 for pkg in $enableval; do
3255 if test "X$pkg" = "X$p"; then
3271 # Check whether --enable-shared was given.
3272 if test "${enable_shared+set}" = set; then :
3273 enableval=$enable_shared; p=${PACKAGE-default}
3275 yes) enable_shared=yes ;;
3276 no) enable_shared=no ;;
3279 # Look at the argument we got. We use all the common list separators.
3280 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3281 for pkg in $enableval; do
3283 if test "X$pkg" = "X$p"; then
3300 if test "$STATIC_MODULES" != "no"; then
3301 STATIC_MODULES_TRUE=
3302 STATIC_MODULES_FALSE='#'
3304 STATIC_MODULES_TRUE='#'
3305 STATIC_MODULES_FALSE=
3309 DEPDIR="${am__leading_dot}deps"
3311 ac_config_commands="$ac_config_commands depfiles"
3314 am_make=${MAKE-make}
3315 cat > confinc << 'END'
3317 @echo this is the am__doit target
3320 # If we don't find an include directive, just comment out the code.
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3322 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3326 # First try GNU make style include.
3327 echo "include confinc" > confmf
3328 # Ignore all kinds of additional output from `make'.
3329 case `$am_make -s -f confmf 2> /dev/null` in #(
3330 *the\ am__doit\ target*)
3336 # Now try BSD make style include.
3337 if test "$am__include" = "#"; then
3338 echo '.include "confinc"' > confmf
3339 case `$am_make -s -f confmf 2> /dev/null` in #(
3340 *the\ am__doit\ target*)
3341 am__include=.include
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3350 $as_echo "$_am_result" >&6; }
3351 rm -f confinc confmf
3353 # Check whether --enable-dependency-tracking was given.
3354 if test "${enable_dependency_tracking+set}" = set; then :
3355 enableval=$enable_dependency_tracking;
3358 if test "x$enable_dependency_tracking" != xno; then
3359 am_depcomp="$ac_aux_dir/depcomp"
3362 if test "x$enable_dependency_tracking" != xno; then
3372 ac_cpp='$CPP $CPPFLAGS'
3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376 if test -n "$ac_tool_prefix"; then
3377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if test "${ac_cv_prog_CC+set}" = set; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$CC"; then
3385 ac_cv_prog_CC="$CC" # Let the user override the test.
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir=.
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 if test -n "$CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3407 $as_echo "$CC" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3415 if test -z "$ac_cv_prog_CC"; then
3417 # Extract the first word of "gcc", so it can be a program name with args.
3418 set dummy gcc; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3424 if test -n "$ac_ct_CC"; then
3425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_ac_ct_CC="gcc"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3445 if test -n "$ac_ct_CC"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3447 $as_echo "$ac_ct_CC" >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3453 if test "x$ac_ct_CC" = x; then
3456 case $cross_compiling:$ac_tool_warned in
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3460 ac_tool_warned=yes ;;
3468 if test -z "$CC"; then
3469 if test -n "$ac_tool_prefix"; then
3470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3471 set dummy ${ac_tool_prefix}cc; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if test "${ac_cv_prog_CC+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 if test -n "$CC"; then
3478 ac_cv_prog_CC="$CC" # Let the user override the test.
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 test -z "$as_dir" && as_dir=.
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3487 ac_cv_prog_CC="${ac_tool_prefix}cc"
3488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3498 if test -n "$CC"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3500 $as_echo "$CC" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3509 if test -z "$CC"; then
3510 # Extract the first word of "cc", so it can be a program name with args.
3511 set dummy cc; ac_word=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if test "${ac_cv_prog_CC+set}" = set; then :
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$CC"; then
3518 ac_cv_prog_CC="$CC" # Let the user override the test.
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3529 ac_prog_rejected=yes
3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test $ac_prog_rejected = yes; then
3541 # We found a bogon in the path, so make sure we never use it.
3542 set dummy $ac_cv_prog_CC
3544 if test $# != 0; then
3545 # We chose a different compiler from the bogus one.
3546 # However, it has the same basename, so the bogon will be chosen
3547 # first if we set CC to just the basename; use the full file name.
3549 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3555 if test -n "$CC"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3557 $as_echo "$CC" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3565 if test -z "$CC"; then
3566 if test -n "$ac_tool_prefix"; then
3567 for ac_prog in cl.exe
3569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3606 test -n "$CC" && break
3609 if test -z "$CC"; then
3611 for ac_prog in cl.exe
3613 # Extract the first word of "$ac_prog", so it can be a program name with args.
3614 set dummy $ac_prog; ac_word=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$ac_ct_CC"; then
3621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir=.
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_prog_ac_ct_CC="$ac_prog"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3641 if test -n "$ac_ct_CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3643 $as_echo "$ac_ct_CC" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3650 test -n "$ac_ct_CC" && break
3653 if test "x$ac_ct_CC" = x; then
3656 case $cross_compiling:$ac_tool_warned in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3669 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error "no acceptable C compiler found in \$PATH
3672 See \`config.log' for more details." "$LINENO" 5; }
3674 # Provide some information about the compiler.
3675 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3678 for ac_option in --version -v -V -qversion; do
3679 { { ac_try="$ac_compiler $ac_option >&5"
3681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3685 $as_echo "$ac_try_echo"; } >&5
3686 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3688 if test -s conftest.err; then
3690 ... rest of stderr output deleted ...
3691 10q' conftest.err >conftest.er1
3692 cat conftest.er1 >&5
3694 rm -f conftest.er1 conftest.err
3695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3696 test $ac_status = 0; }
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 ac_clean_files_save=$ac_clean_files
3711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3712 # Try to create an executable without -o first, disregard a.out.
3713 # It will help us diagnose broken compilers, and finding out an intuition
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3716 $as_echo_n "checking whether the C compiler works... " >&6; }
3717 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3719 # The possible output files:
3720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3723 for ac_file in $ac_files
3726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3727 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3732 if { { ac_try="$ac_link_default"
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3738 $as_echo "$ac_try_echo"; } >&5
3739 (eval "$ac_link_default") 2>&5
3741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3742 test $ac_status = 0; }; then :
3743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3744 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3746 # so that the user can short-circuit this test for compilers unknown to
3748 for ac_file in $ac_files ''
3750 test -f "$ac_file" || continue
3752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3755 # We found the default executable, but exeext='' is most
3759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3761 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3763 # We set ac_cv_exeext here because the later test for it is not
3764 # safe: cross compilers may not add the suffix if given an `-o'
3765 # argument, so we may need to know it at that point already.
3766 # Even if this section looks crufty: it has the advantage of
3773 test "$ac_cv_exeext" = no && ac_cv_exeext=
3778 if test -z "$ac_file"; then :
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3781 $as_echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786 { as_fn_set_status 77
3787 as_fn_error "C compiler cannot create executables
3788 See \`config.log' for more details." "$LINENO" 5; }; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3791 $as_echo "yes" >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3794 $as_echo_n "checking for C compiler default output file name... " >&6; }
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3796 $as_echo "$ac_file" >&6; }
3797 ac_exeext=$ac_cv_exeext
3799 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3800 ac_clean_files=$ac_clean_files_save
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3802 $as_echo_n "checking for suffix of executables... " >&6; }
3803 if { { ac_try="$ac_link"
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_link") 2>&5
3812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813 test $ac_status = 0; }; then :
3814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3816 # work properly (i.e., refer to `conftest.exe'), while it won't with
3818 for ac_file in conftest.exe conftest conftest.*; do
3819 test -f "$ac_file" || continue
3821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error "cannot compute suffix of executables: cannot compile and link
3831 See \`config.log' for more details." "$LINENO" 5; }
3833 rm -f conftest conftest$ac_cv_exeext
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3835 $as_echo "$ac_cv_exeext" >&6; }
3837 rm -f conftest.$ac_ext
3838 EXEEXT=$ac_cv_exeext
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3846 FILE *f = fopen ("conftest.out", "w");
3847 return ferror (f) || fclose (f) != 0;
3853 ac_clean_files="$ac_clean_files conftest.out"
3854 # Check that the compiler produces executables we can run. If not, either
3855 # the compiler is broken, or we cross compile.
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3857 $as_echo_n "checking whether we are cross compiling... " >&6; }
3858 if test "$cross_compiling" != yes; then
3859 { { ac_try="$ac_link"
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_link") 2>&5
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 if { ac_try='./conftest$ac_cv_exeext'
3871 { { case "(($ac_try" in
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877 (eval "$ac_try") 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; }; then
3883 if test "$cross_compiling" = maybe; then
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error "cannot run C compiled programs.
3889 If you meant to cross compile, use \`--host'.
3890 See \`config.log' for more details." "$LINENO" 5; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3895 $as_echo "$cross_compiling" >&6; }
3897 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3898 ac_clean_files=$ac_clean_files_save
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3900 $as_echo_n "checking for suffix of object files... " >&6; }
3901 if test "${ac_cv_objext+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 rm -f conftest.o conftest.obj
3916 if { { ac_try="$ac_compile"
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_compile") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 for ac_file in conftest.o conftest.obj conftest.*; do
3928 test -f "$ac_file" || continue;
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3936 $as_echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3941 as_fn_error "cannot compute suffix of object files: cannot compile
3942 See \`config.log' for more details." "$LINENO" 5; }
3944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3947 $as_echo "$ac_cv_objext" >&6; }
3948 OBJEXT=$ac_cv_objext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3952 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3969 if ac_fn_c_try_compile "$LINENO"; then :
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3980 if test $ac_compiler_gnu = yes; then
3985 ac_test_CFLAGS=${CFLAGS+set}
3986 ac_save_CFLAGS=$CFLAGS
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3989 if test "${ac_cv_prog_cc_g+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 ac_save_c_werror_flag=$ac_c_werror_flag
3993 ac_c_werror_flag=yes
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4007 if ac_fn_c_try_compile "$LINENO"; then :
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4022 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_c_werror_flag=$ac_save_c_werror_flag
4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4038 if ac_fn_c_try_compile "$LINENO"; then :
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 ac_c_werror_flag=$ac_save_c_werror_flag
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4049 $as_echo "$ac_cv_prog_cc_g" >&6; }
4050 if test "$ac_test_CFLAGS" = set; then
4051 CFLAGS=$ac_save_CFLAGS
4052 elif test $ac_cv_prog_cc_g = yes; then
4053 if test "$GCC" = yes; then
4059 if test "$GCC" = yes; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4067 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4070 ac_cv_prog_cc_c89=no
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 #include <sys/types.h>
4077 #include <sys/stat.h>
4078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4079 struct buf { int x; };
4080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4081 static char *e (p, i)
4087 static char *f (char * (*g) (char **, int), char **p, ...)
4092 s = g (p, va_arg (v,int));
4097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4098 function prototypes and stuff, but not '\xHH' hex character constants.
4099 These don't provoke an error unfortunately, instead are silently treated
4100 as 'x'. The following induces an error, until -std is added to get
4101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4102 array size at least. It's necessary to write '\x00'==0 to get something
4103 that's true only with -std. */
4104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4107 inside strings and character constants. */
4109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4111 int test (int i, double x);
4112 struct s1 {int (*f) (int a);};
4113 struct s2 {int (*f) (double a);};
4114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4128 CC="$ac_save_CC $ac_arg"
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 ac_cv_prog_cc_c89=$ac_arg
4132 rm -f core conftest.err conftest.$ac_objext
4133 test "x$ac_cv_prog_cc_c89" != "xno" && break
4135 rm -f conftest.$ac_ext
4140 case "x$ac_cv_prog_cc_c89" in
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4143 $as_echo "none needed" >&6; } ;;
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4146 $as_echo "unsupported" >&6; } ;;
4148 CC="$CC $ac_cv_prog_cc_c89"
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4152 if test "x$ac_cv_prog_cc_c89" != xno; then :
4157 ac_cpp='$CPP $CPPFLAGS'
4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162 depcc="$CC" am_compiler_list=
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4165 $as_echo_n "checking dependency style of $depcc... " >&6; }
4166 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4170 # We make a subdir and do the tests there. Otherwise we can end up
4171 # making bogus files that we don't know about and never remove. For
4172 # instance it was reported that on HP-UX the gcc test will end up
4173 # making a dummy file named `D' -- because `-MD' means `put the output
4176 # Copy depcomp to subdir because otherwise we won't find it if we're
4177 # using a relative directory.
4178 cp "$am_depcomp" conftest.dir
4180 # We will build objects and dependencies in a subdirectory because
4181 # it helps to detect inapplicable dependency modes. For instance
4182 # both Tru64's cc and ICC support -MD to output dependencies as a
4183 # side effect of compilation, but ICC will put the dependencies in
4184 # the current directory while Tru64 will put them in the object
4188 am_cv_CC_dependencies_compiler_type=none
4189 if test "$am_compiler_list" = ""; then
4190 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4193 case " $depcc " in #(
4194 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4197 for depmode in $am_compiler_list; do
4198 # Setup a source with many dependencies, because some compilers
4199 # like to wrap large dependency lists on column 80 (with \), and
4200 # we should not choose a depcomp mode which is confused by this.
4202 # We need to recreate these files for each test, as the compiler may
4203 # overwrite some of them when testing with obscure command lines.
4204 # This happens at least with the AIX C compiler.
4206 for i in 1 2 3 4 5 6; do
4207 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4208 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4209 # Solaris 8's {/usr,}/bin/sh.
4210 touch sub/conftst$i.h
4212 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4214 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4215 # mode. It turns out that the SunPro C++ compiler does not properly
4216 # handle `-M -o', and we need to detect this. Also, some Intel
4217 # versions had trouble with output in subdirs
4218 am__obj=sub/conftest.${OBJEXT-o}
4219 am__minus_obj="-o $am__obj"
4222 # This depmode causes a compiler race in universal mode.
4223 test "$am__universal" = false || continue
4226 # after this tag, mechanisms are not by side-effect, so they'll
4227 # only be used when explicitly requested
4228 if test "x$enable_dependency_tracking" = xyes; then
4234 msvisualcpp | msvcmsys)
4235 # This compiler won't grok `-c -o', but also, the minuso test has
4236 # not run yet. These depmodes are late enough in the game, and
4237 # so weak that their functioning should not be impacted.
4238 am__obj=conftest.${OBJEXT-o}
4243 if depmode=$depmode \
4244 source=sub/conftest.c object=$am__obj \
4245 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4246 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4247 >/dev/null 2>conftest.err &&
4248 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4249 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4250 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4251 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4252 # icc doesn't choke on unknown options, it will just issue warnings
4253 # or remarks (even with -Werror). So we grep stderr for any message
4254 # that says an option was ignored or not supported.
4255 # When given -MP, icc 7.0 and 7.1 complain thusly:
4256 # icc: Command line warning: ignoring option '-M'; no argument required
4257 # The diagnosis changed in icc 8.0:
4258 # icc: Command line remark: option '-MP' not supported
4259 if (grep 'ignoring option' conftest.err ||
4260 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4261 am_cv_CC_dependencies_compiler_type=$depmode
4270 am_cv_CC_dependencies_compiler_type=none
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4275 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4276 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4279 test "x$enable_dependency_tracking" != xno \
4280 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4282 am__fastdepCC_FALSE='#'
4284 am__fastdepCC_TRUE='#'
4285 am__fastdepCC_FALSE=
4291 ac_cpp='$CPP $CPPFLAGS'
4292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4296 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4297 # On Suns, sometimes $CPP names a directory.
4298 if test -n "$CPP" && test -d "$CPP"; then
4301 if test -z "$CPP"; then
4302 if test "${ac_cv_prog_CPP+set}" = set; then :
4303 $as_echo_n "(cached) " >&6
4305 # Double quotes because CPP needs to be expanded
4306 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4309 for ac_c_preproc_warn_flag in '' yes
4311 # Use a header file that comes with gcc, so configuring glibc
4312 # with a fresh cross-compiler works.
4313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4314 # <limits.h> exists even on freestanding compilers.
4315 # On the NeXT, cc -E runs the code through the compiler's parser,
4316 # not just through cpp. "Syntax error" is here to catch this case.
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4320 # include <limits.h>
4322 # include <assert.h>
4326 if ac_fn_c_try_cpp "$LINENO"; then :
4329 # Broken: fails on valid input.
4332 rm -f conftest.err conftest.$ac_ext
4334 # OK, works on sane cases. Now check whether nonexistent headers
4335 # can be detected and how.
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4338 #include <ac_nonexistent.h>
4340 if ac_fn_c_try_cpp "$LINENO"; then :
4341 # Broken: success on invalid input.
4344 # Passes both tests.
4348 rm -f conftest.err conftest.$ac_ext
4351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4352 rm -f conftest.err conftest.$ac_ext
4353 if $ac_preproc_ok; then :
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4366 $as_echo "$CPP" >&6; }
4368 for ac_c_preproc_warn_flag in '' yes
4370 # Use a header file that comes with gcc, so configuring glibc
4371 # with a fresh cross-compiler works.
4372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4373 # <limits.h> exists even on freestanding compilers.
4374 # On the NeXT, cc -E runs the code through the compiler's parser,
4375 # not just through cpp. "Syntax error" is here to catch this case.
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4379 # include <limits.h>
4381 # include <assert.h>
4385 if ac_fn_c_try_cpp "$LINENO"; then :
4388 # Broken: fails on valid input.
4391 rm -f conftest.err conftest.$ac_ext
4393 # OK, works on sane cases. Now check whether nonexistent headers
4394 # can be detected and how.
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4397 #include <ac_nonexistent.h>
4399 if ac_fn_c_try_cpp "$LINENO"; then :
4400 # Broken: success on invalid input.
4403 # Passes both tests.
4407 rm -f conftest.err conftest.$ac_ext
4410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4411 rm -f conftest.err conftest.$ac_ext
4412 if $ac_preproc_ok; then :
4415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4417 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4418 See \`config.log' for more details." "$LINENO" 5; }
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4429 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4430 if test "${ac_cv_path_GREP+set}" = set; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -z "$GREP"; then
4434 ac_path_GREP_found=false
4435 # Loop through the user's path and test for each of PROGNAME-LIST
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4440 test -z "$as_dir" && as_dir=.
4441 for ac_prog in grep ggrep; do
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4444 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4445 # Check for GNU ac_path_GREP and select it if it is found.
4446 # Check for GNU $ac_path_GREP
4447 case `"$ac_path_GREP" --version 2>&1` in
4449 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4452 $as_echo_n 0123456789 >"conftest.in"
4455 cat "conftest.in" "conftest.in" >"conftest.tmp"
4456 mv "conftest.tmp" "conftest.in"
4457 cp "conftest.in" "conftest.nl"
4458 $as_echo 'GREP' >> "conftest.nl"
4459 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4460 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4461 as_fn_arith $ac_count + 1 && ac_count=$as_val
4462 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4463 # Best one so far, save it but keep looking for a better one
4464 ac_cv_path_GREP="$ac_path_GREP"
4465 ac_path_GREP_max=$ac_count
4467 # 10*(2^10) chars as input seems more than enough
4468 test $ac_count -gt 10 && break
4470 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4473 $ac_path_GREP_found && break 3
4478 if test -z "$ac_cv_path_GREP"; then
4479 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4482 ac_cv_path_GREP=$GREP
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4487 $as_echo "$ac_cv_path_GREP" >&6; }
4488 GREP="$ac_cv_path_GREP"
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4492 $as_echo_n "checking for egrep... " >&6; }
4493 if test "${ac_cv_path_EGREP+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4496 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4497 then ac_cv_path_EGREP="$GREP -E"
4499 if test -z "$EGREP"; then
4500 ac_path_EGREP_found=false
4501 # Loop through the user's path and test for each of PROGNAME-LIST
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4506 test -z "$as_dir" && as_dir=.
4507 for ac_prog in egrep; do
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4510 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4511 # Check for GNU ac_path_EGREP and select it if it is found.
4512 # Check for GNU $ac_path_EGREP
4513 case `"$ac_path_EGREP" --version 2>&1` in
4515 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4518 $as_echo_n 0123456789 >"conftest.in"
4521 cat "conftest.in" "conftest.in" >"conftest.tmp"
4522 mv "conftest.tmp" "conftest.in"
4523 cp "conftest.in" "conftest.nl"
4524 $as_echo 'EGREP' >> "conftest.nl"
4525 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4526 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4527 as_fn_arith $ac_count + 1 && ac_count=$as_val
4528 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4529 # Best one so far, save it but keep looking for a better one
4530 ac_cv_path_EGREP="$ac_path_EGREP"
4531 ac_path_EGREP_max=$ac_count
4533 # 10*(2^10) chars as input seems more than enough
4534 test $ac_count -gt 10 && break
4536 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4539 $ac_path_EGREP_found && break 3
4544 if test -z "$ac_cv_path_EGREP"; then
4545 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4548 ac_cv_path_EGREP=$EGREP
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4554 $as_echo "$ac_cv_path_EGREP" >&6; }
4555 EGREP="$ac_cv_path_EGREP"
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4559 $as_echo_n "checking for ANSI C header files... " >&6; }
4560 if test "${ac_cv_header_stdc+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4578 if ac_fn_c_try_compile "$LINENO"; then :
4579 ac_cv_header_stdc=yes
4581 ac_cv_header_stdc=no
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 if test $ac_cv_header_stdc = yes; then
4586 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "memchr" >/dev/null 2>&1; then :
4596 ac_cv_header_stdc=no
4602 if test $ac_cv_header_stdc = yes; then
4603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4610 $EGREP "free" >/dev/null 2>&1; then :
4613 ac_cv_header_stdc=no
4619 if test $ac_cv_header_stdc = yes; then
4620 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4621 if test "$cross_compiling" = yes; then :
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4628 #if ((' ' & 0x0FF) == 0x020)
4629 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4630 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4632 # define ISLOWER(c) \
4633 (('a' <= (c) && (c) <= 'i') \
4634 || ('j' <= (c) && (c) <= 'r') \
4635 || ('s' <= (c) && (c) <= 'z'))
4636 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4639 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4644 for (i = 0; i < 256; i++)
4645 if (XOR (islower (i), ISLOWER (i))
4646 || toupper (i) != TOUPPER (i))
4651 if ac_fn_c_try_run "$LINENO"; then :
4654 ac_cv_header_stdc=no
4656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4657 conftest.$ac_objext conftest.beam conftest.$ac_ext
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4663 $as_echo "$ac_cv_header_stdc" >&6; }
4664 if test $ac_cv_header_stdc = yes; then
4666 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4670 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4671 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4672 inttypes.h stdint.h unistd.h
4674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4677 eval as_val=\$$as_ac_Header
4678 if test "x$as_val" = x""yes; then :
4679 cat >>confdefs.h <<_ACEOF
4680 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4689 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4690 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4697 if test "$MINIX" = yes; then
4699 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4702 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4705 $as_echo "#define _MINIX 1" >>confdefs.h
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4711 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4712 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4713 $as_echo_n "(cached) " >&6
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4718 # define __EXTENSIONS__ 1
4719 $ac_includes_default
4728 if ac_fn_c_try_compile "$LINENO"; then :
4729 ac_cv_safe_to_define___extensions__=yes
4731 ac_cv_safe_to_define___extensions__=no
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4736 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4737 test $ac_cv_safe_to_define___extensions__ = yes &&
4738 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4740 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4742 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4744 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4746 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4750 ac_cpp='$CPP $CPPFLAGS'
4751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 if test -n "$ac_tool_prefix"; then
4755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 $as_echo_n "checking for $ac_word... " >&6; }
4759 if test "${ac_cv_prog_CC+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC="$CC" # Let the user override the test.
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 if test -n "$CC"; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4785 $as_echo "$CC" >&6; }
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4793 if test -z "$ac_cv_prog_CC"; then
4795 # Extract the first word of "gcc", so it can be a program name with args.
4796 set dummy gcc; ac_word=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -n "$ac_ct_CC"; then
4803 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4812 ac_cv_prog_ac_ct_CC="gcc"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4823 if test -n "$ac_ct_CC"; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4825 $as_echo "$ac_ct_CC" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4831 if test "x$ac_ct_CC" = x; then
4834 case $cross_compiling:$ac_tool_warned in
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4838 ac_tool_warned=yes ;;
4846 if test -z "$CC"; then
4847 if test -n "$ac_tool_prefix"; then
4848 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4849 set dummy ${ac_tool_prefix}cc; ac_word=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if test "${ac_cv_prog_CC+set}" = set; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$CC"; then
4856 ac_cv_prog_CC="$CC" # Let the user override the test.
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir=.
4863 for ac_exec_ext in '' $ac_executable_extensions; do
4864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4865 ac_cv_prog_CC="${ac_tool_prefix}cc"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 if test -n "$CC"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4878 $as_echo "$CC" >&6; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4887 if test -z "$CC"; then
4888 # Extract the first word of "cc", so it can be a program name with args.
4889 set dummy cc; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if test "${ac_cv_prog_CC+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$CC"; then
4896 ac_cv_prog_CC="$CC" # Let the user override the test.
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4906 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4907 ac_prog_rejected=yes
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 if test $ac_prog_rejected = yes; then
4919 # We found a bogon in the path, so make sure we never use it.
4920 set dummy $ac_cv_prog_CC
4922 if test $# != 0; then
4923 # We chose a different compiler from the bogus one.
4924 # However, it has the same basename, so the bogon will be chosen
4925 # first if we set CC to just the basename; use the full file name.
4927 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4933 if test -n "$CC"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4935 $as_echo "$CC" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4943 if test -z "$CC"; then
4944 if test -n "$ac_tool_prefix"; then
4945 for ac_prog in cl.exe
4947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if test "${ac_cv_prog_CC+set}" = set; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$CC"; then
4955 ac_cv_prog_CC="$CC" # Let the user override the test.
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 if test -n "$CC"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4977 $as_echo "$CC" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 test -n "$CC" && break
4987 if test -z "$CC"; then
4989 for ac_prog in cl.exe
4991 # Extract the first word of "$ac_prog", so it can be a program name with args.
4992 set dummy $ac_prog; ac_word=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$ac_ct_CC"; then
4999 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir=.
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_prog_ac_ct_CC="$ac_prog"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5019 if test -n "$ac_ct_CC"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5021 $as_echo "$ac_ct_CC" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5028 test -n "$ac_ct_CC" && break
5031 if test "x$ac_ct_CC" = x; then
5034 case $cross_compiling:$ac_tool_warned in
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5038 ac_tool_warned=yes ;;
5047 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5049 as_fn_error "no acceptable C compiler found in \$PATH
5050 See \`config.log' for more details." "$LINENO" 5; }
5052 # Provide some information about the compiler.
5053 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5056 for ac_option in --version -v -V -qversion; do
5057 { { ac_try="$ac_compiler $ac_option >&5"
5059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5060 *) ac_try_echo=$ac_try;;
5062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5063 $as_echo "$ac_try_echo"; } >&5
5064 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5066 if test -s conftest.err; then
5068 ... rest of stderr output deleted ...
5069 10q' conftest.err >conftest.er1
5070 cat conftest.er1 >&5
5072 rm -f conftest.er1 conftest.err
5073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5074 test $ac_status = 0; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5078 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5079 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5096 if ac_fn_c_try_compile "$LINENO"; then :
5101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5102 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5106 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5107 if test $ac_compiler_gnu = yes; then
5112 ac_test_CFLAGS=${CFLAGS+set}
5113 ac_save_CFLAGS=$CFLAGS
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5115 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5116 if test "${ac_cv_prog_cc_g+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5119 ac_save_c_werror_flag=$ac_c_werror_flag
5120 ac_c_werror_flag=yes
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5134 if ac_fn_c_try_compile "$LINENO"; then :
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5149 if ac_fn_c_try_compile "$LINENO"; then :
5152 ac_c_werror_flag=$ac_save_c_werror_flag
5154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5165 if ac_fn_c_try_compile "$LINENO"; then :
5168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5173 ac_c_werror_flag=$ac_save_c_werror_flag
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5176 $as_echo "$ac_cv_prog_cc_g" >&6; }
5177 if test "$ac_test_CFLAGS" = set; then
5178 CFLAGS=$ac_save_CFLAGS
5179 elif test $ac_cv_prog_cc_g = yes; then
5180 if test "$GCC" = yes; then
5186 if test "$GCC" = yes; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5193 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5194 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5195 $as_echo_n "(cached) " >&6
5197 ac_cv_prog_cc_c89=no
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5203 #include <sys/types.h>
5204 #include <sys/stat.h>
5205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5206 struct buf { int x; };
5207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5208 static char *e (p, i)
5214 static char *f (char * (*g) (char **, int), char **p, ...)
5219 s = g (p, va_arg (v,int));
5224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5225 function prototypes and stuff, but not '\xHH' hex character constants.
5226 These don't provoke an error unfortunately, instead are silently treated
5227 as 'x'. The following induces an error, until -std is added to get
5228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5229 array size at least. It's necessary to write '\x00'==0 to get something
5230 that's true only with -std. */
5231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5233 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5234 inside strings and character constants. */
5236 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5238 int test (int i, double x);
5239 struct s1 {int (*f) (int a);};
5240 struct s2 {int (*f) (double a);};
5241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5252 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5253 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5255 CC="$ac_save_CC $ac_arg"
5256 if ac_fn_c_try_compile "$LINENO"; then :
5257 ac_cv_prog_cc_c89=$ac_arg
5259 rm -f core conftest.err conftest.$ac_objext
5260 test "x$ac_cv_prog_cc_c89" != "xno" && break
5262 rm -f conftest.$ac_ext
5267 case "x$ac_cv_prog_cc_c89" in
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5270 $as_echo "none needed" >&6; } ;;
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5273 $as_echo "unsupported" >&6; } ;;
5275 CC="$CC $ac_cv_prog_cc_c89"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5277 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5279 if test "x$ac_cv_prog_cc_c89" != xno; then :
5284 ac_cpp='$CPP $CPPFLAGS'
5285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5289 depcc="$CC" am_compiler_list=
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5292 $as_echo_n "checking dependency style of $depcc... " >&6; }
5293 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5297 # We make a subdir and do the tests there. Otherwise we can end up
5298 # making bogus files that we don't know about and never remove. For
5299 # instance it was reported that on HP-UX the gcc test will end up
5300 # making a dummy file named `D' -- because `-MD' means `put the output
5303 # Copy depcomp to subdir because otherwise we won't find it if we're
5304 # using a relative directory.
5305 cp "$am_depcomp" conftest.dir
5307 # We will build objects and dependencies in a subdirectory because
5308 # it helps to detect inapplicable dependency modes. For instance
5309 # both Tru64's cc and ICC support -MD to output dependencies as a
5310 # side effect of compilation, but ICC will put the dependencies in
5311 # the current directory while Tru64 will put them in the object
5315 am_cv_CC_dependencies_compiler_type=none
5316 if test "$am_compiler_list" = ""; then
5317 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5320 case " $depcc " in #(
5321 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5324 for depmode in $am_compiler_list; do
5325 # Setup a source with many dependencies, because some compilers
5326 # like to wrap large dependency lists on column 80 (with \), and
5327 # we should not choose a depcomp mode which is confused by this.
5329 # We need to recreate these files for each test, as the compiler may
5330 # overwrite some of them when testing with obscure command lines.
5331 # This happens at least with the AIX C compiler.
5333 for i in 1 2 3 4 5 6; do
5334 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5335 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5336 # Solaris 8's {/usr,}/bin/sh.
5337 touch sub/conftst$i.h
5339 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5341 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5342 # mode. It turns out that the SunPro C++ compiler does not properly
5343 # handle `-M -o', and we need to detect this. Also, some Intel
5344 # versions had trouble with output in subdirs
5345 am__obj=sub/conftest.${OBJEXT-o}
5346 am__minus_obj="-o $am__obj"
5349 # This depmode causes a compiler race in universal mode.
5350 test "$am__universal" = false || continue
5353 # after this tag, mechanisms are not by side-effect, so they'll
5354 # only be used when explicitly requested
5355 if test "x$enable_dependency_tracking" = xyes; then
5361 msvisualcpp | msvcmsys)
5362 # This compiler won't grok `-c -o', but also, the minuso test has
5363 # not run yet. These depmodes are late enough in the game, and
5364 # so weak that their functioning should not be impacted.
5365 am__obj=conftest.${OBJEXT-o}
5370 if depmode=$depmode \
5371 source=sub/conftest.c object=$am__obj \
5372 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5373 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5374 >/dev/null 2>conftest.err &&
5375 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5376 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5377 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5378 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5379 # icc doesn't choke on unknown options, it will just issue warnings
5380 # or remarks (even with -Werror). So we grep stderr for any message
5381 # that says an option was ignored or not supported.
5382 # When given -MP, icc 7.0 and 7.1 complain thusly:
5383 # icc: Command line warning: ignoring option '-M'; no argument required
5384 # The diagnosis changed in icc 8.0:
5385 # icc: Command line remark: option '-MP' not supported
5386 if (grep 'ignoring option' conftest.err ||
5387 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5388 am_cv_CC_dependencies_compiler_type=$depmode
5397 am_cv_CC_dependencies_compiler_type=none
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5402 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5403 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5406 test "x$enable_dependency_tracking" != xno \
5407 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5409 am__fastdepCC_FALSE='#'
5411 am__fastdepCC_TRUE='#'
5412 am__fastdepCC_FALSE=
5416 for ac_prog in 'bison -y' byacc
5418 # Extract the first word of "$ac_prog", so it can be a program name with args.
5419 set dummy $ac_prog; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if test "${ac_cv_prog_YACC+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$YACC"; then
5426 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435 ac_cv_prog_YACC="$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 YACC=$ac_cv_prog_YACC
5446 if test -n "$YACC"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5448 $as_echo "$YACC" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 test -n "$YACC" && break
5457 test -n "$YACC" || YACC="yacc"
5459 for ac_prog in flex lex
5461 # Extract the first word of "$ac_prog", so it can be a program name with args.
5462 set dummy $ac_prog; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if test "${ac_cv_prog_LEX+set}" = set; then :
5466 $as_echo_n "(cached) " >&6
5468 if test -n "$LEX"; then
5469 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478 ac_cv_prog_LEX="$ac_prog"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 if test -n "$LEX"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5491 $as_echo "$LEX" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 test -n "$LEX" && break
5500 test -n "$LEX" || LEX=":"
5502 if test "x$LEX" != "x:"; then
5503 cat >conftest.l <<_ACEOF
5509 e { yyless (input () != 0); }
5510 f { unput (yytext[0]); }
5511 . { BEGIN INITIAL; }
5513 #ifdef YYTEXT_POINTER
5514 extern char *yytext;
5519 return ! yylex () + ! yywrap ();
5522 { { ac_try="$LEX conftest.l"
5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525 *) ac_try_echo=$ac_try;;
5527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5528 $as_echo "$ac_try_echo"; } >&5
5529 (eval "$LEX conftest.l") 2>&5
5531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5532 test $ac_status = 0; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5534 $as_echo_n "checking lex output file root... " >&6; }
5535 if test "${ac_cv_prog_lex_root+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5539 if test -f lex.yy.c; then
5540 ac_cv_prog_lex_root=lex.yy
5541 elif test -f lexyy.c; then
5542 ac_cv_prog_lex_root=lexyy
5544 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5548 $as_echo "$ac_cv_prog_lex_root" >&6; }
5549 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5551 if test -z "${LEXLIB+set}"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5553 $as_echo_n "checking lex library... " >&6; }
5554 if test "${ac_cv_lib_lex+set}" = set; then :
5555 $as_echo_n "(cached) " >&6
5559 ac_cv_lib_lex='none needed'
5560 for ac_lib in '' -lfl -ll; do
5561 LIBS="$ac_lib $ac_save_LIBS"
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5564 `cat $LEX_OUTPUT_ROOT.c`
5566 if ac_fn_c_try_link "$LINENO"; then :
5567 ac_cv_lib_lex=$ac_lib
5569 rm -f core conftest.err conftest.$ac_objext \
5570 conftest$ac_exeext conftest.$ac_ext
5571 test "$ac_cv_lib_lex" != 'none needed' && break
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5577 $as_echo "$ac_cv_lib_lex" >&6; }
5578 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5583 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5584 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5585 $as_echo_n "(cached) " >&6
5587 # POSIX says lex can declare yytext either as a pointer or an array; the
5588 # default is implementation-dependent. Figure out which it is, since
5589 # not all implementations provide the %pointer and %array declarations.
5590 ac_cv_prog_lex_yytext_pointer=no
5592 LIBS="$LEXLIB $ac_save_LIBS"
5593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5595 #define YYTEXT_POINTER 1
5596 `cat $LEX_OUTPUT_ROOT.c`
5598 if ac_fn_c_try_link "$LINENO"; then :
5599 ac_cv_prog_lex_yytext_pointer=yes
5601 rm -f core conftest.err conftest.$ac_objext \
5602 conftest$ac_exeext conftest.$ac_ext
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5607 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5608 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5610 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5613 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5616 if test "$LEX" = :; then
5617 LEX=${am_missing_run}flex
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5621 $as_echo_n "checking whether ln -s works... " >&6; }
5623 if test "$LN_S" = "ln -s"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5625 $as_echo "yes" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5628 $as_echo "no, using $LN_S" >&6; }
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5632 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5634 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5635 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5636 $as_echo_n "(cached) " >&6
5638 cat >conftest.make <<\_ACEOF
5641 @echo '@@@%%%=$(MAKE)=@@@%%%'
5643 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5644 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5646 eval ac_cv_prog_make_${ac_make}_set=yes;;
5648 eval ac_cv_prog_make_${ac_make}_set=no;;
5652 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5654 $as_echo "yes" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5659 SET_MAKE="MAKE=${MAKE-make}"
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5665 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5670 macro_version='2.2.6'
5671 macro_revision='1.3012'
5685 ltmain="$ac_aux_dir/ltmain.sh"
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5688 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5689 if test "${ac_cv_path_SED+set}" = set; then :
5690 $as_echo_n "(cached) " >&6
5692 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5693 for ac_i in 1 2 3 4 5 6 7; do
5694 ac_script="$ac_script$as_nl$ac_script"
5696 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5697 { ac_script=; unset ac_script;}
5698 if test -z "$SED"; then
5699 ac_path_SED_found=false
5700 # Loop through the user's path and test for each of PROGNAME-LIST
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir=.
5706 for ac_prog in sed gsed; do
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5709 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5710 # Check for GNU ac_path_SED and select it if it is found.
5711 # Check for GNU $ac_path_SED
5712 case `"$ac_path_SED" --version 2>&1` in
5714 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5717 $as_echo_n 0123456789 >"conftest.in"
5720 cat "conftest.in" "conftest.in" >"conftest.tmp"
5721 mv "conftest.tmp" "conftest.in"
5722 cp "conftest.in" "conftest.nl"
5723 $as_echo '' >> "conftest.nl"
5724 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5725 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5726 as_fn_arith $ac_count + 1 && ac_count=$as_val
5727 if test $ac_count -gt ${ac_path_SED_max-0}; then
5728 # Best one so far, save it but keep looking for a better one
5729 ac_cv_path_SED="$ac_path_SED"
5730 ac_path_SED_max=$ac_count
5732 # 10*(2^10) chars as input seems more than enough
5733 test $ac_count -gt 10 && break
5735 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5738 $ac_path_SED_found && break 3
5743 if test -z "$ac_cv_path_SED"; then
5744 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5752 $as_echo "$ac_cv_path_SED" >&6; }
5753 SED="$ac_cv_path_SED"
5756 test -z "$SED" && SED=sed
5757 Xsed="$SED -e 1s/^X//"
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5770 $as_echo_n "checking for fgrep... " >&6; }
5771 if test "${ac_cv_path_FGREP+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5774 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5775 then ac_cv_path_FGREP="$GREP -F"
5777 if test -z "$FGREP"; then
5778 ac_path_FGREP_found=false
5779 # Loop through the user's path and test for each of PROGNAME-LIST
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5784 test -z "$as_dir" && as_dir=.
5785 for ac_prog in fgrep; do
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5788 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5789 # Check for GNU ac_path_FGREP and select it if it is found.
5790 # Check for GNU $ac_path_FGREP
5791 case `"$ac_path_FGREP" --version 2>&1` in
5793 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5796 $as_echo_n 0123456789 >"conftest.in"
5799 cat "conftest.in" "conftest.in" >"conftest.tmp"
5800 mv "conftest.tmp" "conftest.in"
5801 cp "conftest.in" "conftest.nl"
5802 $as_echo 'FGREP' >> "conftest.nl"
5803 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5804 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5805 as_fn_arith $ac_count + 1 && ac_count=$as_val
5806 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5807 # Best one so far, save it but keep looking for a better one
5808 ac_cv_path_FGREP="$ac_path_FGREP"
5809 ac_path_FGREP_max=$ac_count
5811 # 10*(2^10) chars as input seems more than enough
5812 test $ac_count -gt 10 && break
5814 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5817 $ac_path_FGREP_found && break 3
5822 if test -z "$ac_cv_path_FGREP"; then
5823 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5826 ac_cv_path_FGREP=$FGREP
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5832 $as_echo "$ac_cv_path_FGREP" >&6; }
5833 FGREP="$ac_cv_path_FGREP"
5836 test -z "$GREP" && GREP=grep
5856 # Check whether --with-gnu-ld was given.
5857 if test "${with_gnu_ld+set}" = set; then :
5858 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5864 if test "$GCC" = yes; then
5865 # Check if gcc -print-prog-name=ld gives a path.
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5867 $as_echo_n "checking for ld used by $CC... " >&6; }
5870 # gcc leaves a trailing carriage return which upsets mingw
5871 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5873 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5876 # Accept absolute paths.
5878 re_direlt='/[^/][^/]*/\.\./'
5879 # Canonicalize the pathname of ld
5880 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5881 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5882 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5884 test -z "$LD" && LD="$ac_prog"
5887 # If it fails, then pretend we aren't using GCC.
5891 # If it is relative, then search for the first ld in PATH.
5895 elif test "$with_gnu_ld" = yes; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5897 $as_echo_n "checking for GNU ld... " >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5900 $as_echo_n "checking for non-GNU ld... " >&6; }
5902 if test "${lt_cv_path_LD+set}" = set; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -z "$LD"; then
5906 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5907 for ac_dir in $PATH; do
5909 test -z "$ac_dir" && ac_dir=.
5910 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5911 lt_cv_path_LD="$ac_dir/$ac_prog"
5912 # Check to see if the program is GNU ld. I'd rather use --version,
5913 # but apparently some variants of GNU ld only accept -v.
5914 # Break only if it was the GNU/non-GNU ld that we prefer.
5915 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5916 *GNU* | *'with BFD'*)
5917 test "$with_gnu_ld" != no && break
5920 test "$with_gnu_ld" != yes && break
5927 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5932 if test -n "$LD"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5934 $as_echo "$LD" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5939 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5941 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5942 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5945 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5946 case `$LD -v 2>&1 </dev/null` in
5947 *GNU* | *'with BFD'*)
5948 lt_cv_prog_gnu_ld=yes
5951 lt_cv_prog_gnu_ld=no
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5956 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5957 with_gnu_ld=$lt_cv_prog_gnu_ld
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5968 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5969 if test "${lt_cv_path_NM+set}" = set; then :
5970 $as_echo_n "(cached) " >&6
5972 if test -n "$NM"; then
5973 # Let the user override the test.
5976 lt_nm_to_check="${ac_tool_prefix}nm"
5977 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5978 lt_nm_to_check="$lt_nm_to_check nm"
5980 for lt_tmp_nm in $lt_nm_to_check; do
5981 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5982 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5984 test -z "$ac_dir" && ac_dir=.
5985 tmp_nm="$ac_dir/$lt_tmp_nm"
5986 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5987 # Check to see if the nm accepts a BSD-compat flag.
5988 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5989 # nm: unknown option "B" ignored
5990 # Tru64's nm complains that /dev/null is an invalid object file
5991 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5992 */dev/null* | *'Invalid file or object type'*)
5993 lt_cv_path_NM="$tmp_nm -B"
5997 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5999 lt_cv_path_NM="$tmp_nm -p"
6003 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6004 continue # so that we can try to find one that supports BSD flags
6013 : ${lt_cv_path_NM=no}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6017 $as_echo "$lt_cv_path_NM" >&6; }
6018 if test "$lt_cv_path_NM" != "no"; then
6021 # Didn't find any BSD compatible name lister, look for dumpbin.
6022 if test -n "$ac_tool_prefix"; then
6023 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6030 $as_echo_n "(cached) " >&6
6032 if test -n "$DUMPBIN"; then
6033 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052 DUMPBIN=$ac_cv_prog_DUMPBIN
6053 if test -n "$DUMPBIN"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6055 $as_echo "$DUMPBIN" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6062 test -n "$DUMPBIN" && break
6065 if test -z "$DUMPBIN"; then
6066 ac_ct_DUMPBIN=$DUMPBIN
6067 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6069 # Extract the first word of "$ac_prog", so it can be a program name with args.
6070 set dummy $ac_prog; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6076 if test -n "$ac_ct_DUMPBIN"; then
6077 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6086 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6097 if test -n "$ac_ct_DUMPBIN"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6099 $as_echo "$ac_ct_DUMPBIN" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6106 test -n "$ac_ct_DUMPBIN" && break
6109 if test "x$ac_ct_DUMPBIN" = x; then
6112 case $cross_compiling:$ac_tool_warned in
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6118 DUMPBIN=$ac_ct_DUMPBIN
6123 if test "$DUMPBIN" != ":"; then
6127 test -z "$NM" && NM=nm
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6135 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6136 if test "${lt_cv_nm_interface+set}" = set; then :
6137 $as_echo_n "(cached) " >&6
6139 lt_cv_nm_interface="BSD nm"
6140 echo "int some_variable = 0;" > conftest.$ac_ext
6141 (eval echo "\"\$as_me:6141: $ac_compile\"" >&5)
6142 (eval "$ac_compile" 2>conftest.err)
6143 cat conftest.err >&5
6144 (eval echo "\"\$as_me:6144: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6145 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6146 cat conftest.err >&5
6147 (eval echo "\"\$as_me:6147: output\"" >&5)
6148 cat conftest.out >&5
6149 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6150 lt_cv_nm_interface="MS dumpbin"
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6155 $as_echo "$lt_cv_nm_interface" >&6; }
6157 # find the maximum length of command line arguments
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6159 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6160 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6161 $as_echo_n "(cached) " >&6
6168 # On DJGPP, this test can blow up pretty badly due to problems in libc
6169 # (any single argument exceeding 2000 bytes causes a buffer overrun
6170 # during glob expansion). Even if it were fixed, the result of this
6171 # check would be larger than it should be.
6172 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6176 # Under GNU Hurd, this test is not required because there is
6177 # no limit to the length of command line arguments.
6178 # Libtool will interpret -1 as no limit whatsoever
6179 lt_cv_sys_max_cmd_len=-1;
6182 cygwin* | mingw* | cegcc*)
6183 # On Win9x/ME, this test blows up -- it succeeds, but takes
6184 # about 5 minutes as the teststring grows exponentially.
6185 # Worse, since 9x/ME are not pre-emptively multitasking,
6186 # you end up with a "frozen" computer, even though with patience
6187 # the test eventually succeeds (with a max line length of 256k).
6188 # Instead, let's just punt: use the minimum linelength reported by
6189 # all of the supported platforms: 8192 (on NT/2K/XP).
6190 lt_cv_sys_max_cmd_len=8192;
6194 # On AmigaOS with pdksh, this test takes hours, literally.
6195 # So we just punt and use a minimum line length of 8192.
6196 lt_cv_sys_max_cmd_len=8192;
6199 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6200 # This has been around since 386BSD, at least. Likely further.
6201 if test -x /sbin/sysctl; then
6202 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6203 elif test -x /usr/sbin/sysctl; then
6204 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6206 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6208 # And add a safety zone
6209 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6210 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6214 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6215 lt_cv_sys_max_cmd_len=196608
6219 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6220 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6221 # nice to cause kernel panics so lets avoid the loop below.
6222 # First set a reasonable default.
6223 lt_cv_sys_max_cmd_len=16384
6225 if test -x /sbin/sysconfig; then
6226 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6227 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6232 lt_cv_sys_max_cmd_len=102400
6234 sysv5* | sco5v6* | sysv4.2uw2*)
6235 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6236 if test -n "$kargmax"; then
6237 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6239 lt_cv_sys_max_cmd_len=32768
6243 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6244 if test -n "$lt_cv_sys_max_cmd_len"; then
6245 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6246 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6248 # Make teststring a little bigger before we do anything with it.
6249 # a 1K string should be a reasonable start.
6250 for i in 1 2 3 4 5 6 7 8 ; do
6251 teststring=$teststring$teststring
6253 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6254 # If test is not a shell built-in, we'll probably end up computing a
6255 # maximum length that is only half of the actual maximum length, but
6257 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6258 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6259 test $i != 17 # 1/2 MB should be enough
6262 teststring=$teststring$teststring
6264 # Only check the string length outside the loop.
6265 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6267 # Add a significant safety factor because C++ compilers can tack on
6268 # massive amounts of additional arguments before passing them to the
6269 # linker. It appears as though 1/2 is a usable value.
6270 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6277 if test -n $lt_cv_sys_max_cmd_len ; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6279 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6282 $as_echo "none" >&6; }
6284 max_cmd_len=$lt_cv_sys_max_cmd_len
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6296 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6297 # Try some XSI features
6300 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6302 && eval 'test $(( 1 + 1 )) -eq 2 \
6303 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6306 $as_echo "$xsi_shell" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6310 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6312 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6314 && lt_shell_append=yes
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6316 $as_echo "$lt_shell_append" >&6; }
6319 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6329 # test EBCDIC or ASCII
6330 case `echo X|tr X '\101'` in
6331 A) # ASCII based system
6332 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6333 lt_SP2NL='tr \040 \012'
6334 lt_NL2SP='tr \015\012 \040\040'
6336 *) # EBCDIC based system
6337 lt_SP2NL='tr \100 \n'
6338 lt_NL2SP='tr \r\n \100\100'
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6351 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6352 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6353 $as_echo_n "(cached) " >&6
6355 lt_cv_ld_reload_flag='-r'
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6358 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6359 reload_flag=$lt_cv_ld_reload_flag
6360 case $reload_flag in
6362 *) reload_flag=" $reload_flag" ;;
6364 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6367 if test "$GCC" = yes; then
6368 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6370 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6383 if test -n "$ac_tool_prefix"; then
6384 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6385 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6389 $as_echo_n "(cached) " >&6
6391 if test -n "$OBJDUMP"; then
6392 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 OBJDUMP=$ac_cv_prog_OBJDUMP
6412 if test -n "$OBJDUMP"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6414 $as_echo "$OBJDUMP" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6422 if test -z "$ac_cv_prog_OBJDUMP"; then
6423 ac_ct_OBJDUMP=$OBJDUMP
6424 # Extract the first word of "objdump", so it can be a program name with args.
6425 set dummy objdump; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6429 $as_echo_n "(cached) " >&6
6431 if test -n "$ac_ct_OBJDUMP"; then
6432 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6452 if test -n "$ac_ct_OBJDUMP"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6454 $as_echo "$ac_ct_OBJDUMP" >&6; }
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6460 if test "x$ac_ct_OBJDUMP" = x; then
6463 case $cross_compiling:$ac_tool_warned in
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6467 ac_tool_warned=yes ;;
6469 OBJDUMP=$ac_ct_OBJDUMP
6472 OBJDUMP="$ac_cv_prog_OBJDUMP"
6475 test -z "$OBJDUMP" && OBJDUMP=objdump
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6486 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6487 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6488 $as_echo_n "(cached) " >&6
6490 lt_cv_file_magic_cmd='$MAGIC_CMD'
6491 lt_cv_file_magic_test_file=
6492 lt_cv_deplibs_check_method='unknown'
6493 # Need to set the preceding variable on all platforms that support
6494 # interlibrary dependencies.
6495 # 'none' -- dependencies not supported.
6496 # `unknown' -- same as none, but documents that we really don't know.
6497 # 'pass_all' -- all dependencies passed with no checks.
6498 # 'test_compile' -- check by making test program.
6499 # 'file_magic [[regex]]' -- check by looking for files in library path
6500 # which responds to the $file_magic_cmd with a given extended regex.
6501 # If you have `file' or equivalent on your system and you're not sure
6502 # whether `pass_all' will *always* work, you probably want this one.
6506 lt_cv_deplibs_check_method=pass_all
6510 lt_cv_deplibs_check_method=pass_all
6514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6515 lt_cv_file_magic_cmd='/usr/bin/file -L'
6516 lt_cv_file_magic_test_file=/shlib/libc.so
6520 # func_win32_libid is a shell function defined in ltmain.sh
6521 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6522 lt_cv_file_magic_cmd='func_win32_libid'
6526 # Base MSYS/MinGW do not provide the 'file' command needed by
6527 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6528 # unless we find 'file', for example because we are cross-compiling.
6529 if ( file / ) >/dev/null 2>&1; then
6530 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6531 lt_cv_file_magic_cmd='func_win32_libid'
6533 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6534 lt_cv_file_magic_cmd='$OBJDUMP -f'
6539 # use the weaker test based on 'objdump'. See mingw*.
6540 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6541 lt_cv_file_magic_cmd='$OBJDUMP -f'
6544 darwin* | rhapsody*)
6545 lt_cv_deplibs_check_method=pass_all
6548 freebsd* | dragonfly*)
6549 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6552 # Not sure whether the presence of OpenBSD here was a mistake.
6553 # Let's accept both of them until this is cleared up.
6554 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6555 lt_cv_file_magic_cmd=/usr/bin/file
6556 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6560 lt_cv_deplibs_check_method=pass_all
6565 lt_cv_deplibs_check_method=pass_all
6568 hpux10.20* | hpux11*)
6569 lt_cv_file_magic_cmd=/usr/bin/file
6572 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6573 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6576 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6577 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6580 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6581 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6587 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6588 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6591 irix5* | irix6* | nonstopux*)
6593 *-32|*"-32 ") libmagic=32-bit;;
6594 *-n32|*"-n32 ") libmagic=N32;;
6595 *-64|*"-64 ") libmagic=64-bit;;
6596 *) libmagic=never-match;;
6598 lt_cv_deplibs_check_method=pass_all
6601 # This must be Linux ELF.
6602 linux* | k*bsd*-gnu)
6603 lt_cv_deplibs_check_method=pass_all
6607 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6608 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6615 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6616 lt_cv_file_magic_cmd=/usr/bin/file
6617 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6621 lt_cv_deplibs_check_method=pass_all
6625 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6626 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6628 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6632 osf3* | osf4* | osf5*)
6633 lt_cv_deplibs_check_method=pass_all
6637 lt_cv_deplibs_check_method=pass_all
6641 lt_cv_deplibs_check_method=pass_all
6644 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6645 lt_cv_deplibs_check_method=pass_all
6649 case $host_vendor in
6651 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]'
6652 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6655 lt_cv_deplibs_check_method=pass_all
6658 lt_cv_file_magic_cmd='/bin/file'
6659 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6662 lt_cv_file_magic_cmd='/bin/file'
6663 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6664 lt_cv_file_magic_test_file=/lib/libc.so
6667 lt_cv_deplibs_check_method=pass_all
6670 lt_cv_deplibs_check_method=pass_all
6676 lt_cv_deplibs_check_method=pass_all
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6682 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6683 file_magic_cmd=$lt_cv_file_magic_cmd
6684 deplibs_check_method=$lt_cv_deplibs_check_method
6685 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6698 if test -n "$ac_tool_prefix"; then
6699 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6700 set dummy ${ac_tool_prefix}ar; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if test "${ac_cv_prog_AR+set}" = set; then :
6704 $as_echo_n "(cached) " >&6
6706 if test -n "$AR"; then
6707 ac_cv_prog_AR="$AR" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716 ac_cv_prog_AR="${ac_tool_prefix}ar"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 if test -n "$AR"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6729 $as_echo "$AR" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6737 if test -z "$ac_cv_prog_AR"; then
6739 # Extract the first word of "ar", so it can be a program name with args.
6740 set dummy ar; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$ac_ct_AR"; then
6747 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756 ac_cv_prog_ac_ct_AR="ar"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6767 if test -n "$ac_ct_AR"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6769 $as_echo "$ac_ct_AR" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6775 if test "x$ac_ct_AR" = x; then
6778 case $cross_compiling:$ac_tool_warned in
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6782 ac_tool_warned=yes ;;
6790 test -z "$AR" && AR=ar
6791 test -z "$AR_FLAGS" && AR_FLAGS=cru
6803 if test -n "$ac_tool_prefix"; then
6804 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6805 set dummy ${ac_tool_prefix}strip; ac_word=$2
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6807 $as_echo_n "checking for $ac_word... " >&6; }
6808 if test "${ac_cv_prog_STRIP+set}" = set; then :
6809 $as_echo_n "(cached) " >&6
6811 if test -n "$STRIP"; then
6812 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 test -z "$as_dir" && as_dir=.
6819 for ac_exec_ext in '' $ac_executable_extensions; do
6820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6831 STRIP=$ac_cv_prog_STRIP
6832 if test -n "$STRIP"; then
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6834 $as_echo "$STRIP" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6837 $as_echo "no" >&6; }
6842 if test -z "$ac_cv_prog_STRIP"; then
6844 # Extract the first word of "strip", so it can be a program name with args.
6845 set dummy strip; ac_word=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6849 $as_echo_n "(cached) " >&6
6851 if test -n "$ac_ct_STRIP"; then
6852 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 test -z "$as_dir" && as_dir=.
6859 for ac_exec_ext in '' $ac_executable_extensions; do
6860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6861 ac_cv_prog_ac_ct_STRIP="strip"
6862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6872 if test -n "$ac_ct_STRIP"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6874 $as_echo "$ac_ct_STRIP" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6880 if test "x$ac_ct_STRIP" = x; then
6883 case $cross_compiling:$ac_tool_warned in
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6887 ac_tool_warned=yes ;;
6892 STRIP="$ac_cv_prog_STRIP"
6895 test -z "$STRIP" && STRIP=:
6902 if test -n "$ac_tool_prefix"; then
6903 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6904 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6906 $as_echo_n "checking for $ac_word... " >&6; }
6907 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6908 $as_echo_n "(cached) " >&6
6910 if test -n "$RANLIB"; then
6911 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 test -z "$as_dir" && as_dir=.
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6920 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930 RANLIB=$ac_cv_prog_RANLIB
6931 if test -n "$RANLIB"; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6933 $as_echo "$RANLIB" >&6; }
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6936 $as_echo "no" >&6; }
6941 if test -z "$ac_cv_prog_RANLIB"; then
6942 ac_ct_RANLIB=$RANLIB
6943 # Extract the first word of "ranlib", so it can be a program name with args.
6944 set dummy ranlib; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946 $as_echo_n "checking for $ac_word... " >&6; }
6947 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6948 $as_echo_n "(cached) " >&6
6950 if test -n "$ac_ct_RANLIB"; then
6951 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_ac_ct_RANLIB="ranlib"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6971 if test -n "$ac_ct_RANLIB"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6973 $as_echo "$ac_ct_RANLIB" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6979 if test "x$ac_ct_RANLIB" = x; then
6982 case $cross_compiling:$ac_tool_warned in
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6986 ac_tool_warned=yes ;;
6988 RANLIB=$ac_ct_RANLIB
6991 RANLIB="$ac_cv_prog_RANLIB"
6994 test -z "$RANLIB" && RANLIB=:
7001 # Determine commands to create old-style static archives.
7002 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7003 old_postinstall_cmds='chmod 644 $oldlib'
7004 old_postuninstall_cmds=
7006 if test -n "$RANLIB"; then
7009 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7012 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7015 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7051 # If no C compiler was specified, use CC.
7054 # If no C compiler flags were specified, use CFLAGS.
7055 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7057 # Allow CC to be a program name with arguments.
7061 # Check for command to grab the raw symbol name followed by C symbol from nm.
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7063 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7064 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7065 $as_echo_n "(cached) " >&6
7068 # These are sane defaults that work on at least a few old systems.
7069 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7071 # Character class describing NM global symbol codes.
7072 symcode='[BCDEGRST]'
7074 # Regexp to match symbols that can be accessed directly from C.
7075 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7077 # Define system-specific variables.
7082 cygwin* | mingw* | pw32* | cegcc*)
7083 symcode='[ABCDGISTW]'
7086 if test "$host_cpu" = ia64; then
7087 symcode='[ABCDEGRST]'
7091 symcode='[BCDEGRST]'
7094 symcode='[BCDEGQRST]'
7105 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7113 # If we're using GNU nm, then use its standard symbol codes.
7114 case `$NM -V 2>&1` in
7115 *GNU* | *'with BFD'*)
7116 symcode='[ABCDGIRSTW]' ;;
7119 # Transform an extracted symbol line into a proper C declaration.
7120 # Some systems (esp. on ia64) link data and code symbols differently,
7121 # so use this general approach.
7122 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7124 # Transform an extracted symbol line into symbol name and symbol address
7125 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7126 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'"
7128 # Handle CRLF in mingw tool chain
7132 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7136 # Try without a prefix underscore, then with it.
7137 for ac_symprfx in "" "_"; do
7139 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7140 symxfrm="\\1 $ac_symprfx\\2 \\2"
7142 # Write the raw and C identifiers.
7143 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7144 # Fake it for dumpbin and say T for any non-static function
7145 # and D for any global variable.
7146 # Also find C++ and __fastcall symbols from MSVC++,
7147 # which start with @ or ?.
7148 lt_cv_sys_global_symbol_pipe="$AWK '"\
7149 " {last_section=section; section=\$ 3};"\
7150 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7151 " \$ 0!~/External *\|/{next};"\
7152 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7153 " {if(hide[section]) next};"\
7154 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7155 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7156 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7157 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7158 " ' prfx=^$ac_symprfx"
7160 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7163 # Check to see that the pipe works correctly.
7167 cat > conftest.$ac_ext <<_LT_EOF
7172 void nm_test_func(void);
7173 void nm_test_func(void){}
7177 int main(){nm_test_var='a';nm_test_func();return(0);}
7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7181 (eval $ac_compile) 2>&5
7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184 test $ac_status = 0; }; then
7185 # Now try to grab the symbols.
7187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7188 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7191 test $ac_status = 0; } && test -s "$nlist"; then
7192 # Try sorting and uniquifying the output.
7193 if sort "$nlist" | uniq > "$nlist"T; then
7194 mv -f "$nlist"T "$nlist"
7199 # Make sure that we snagged all the symbols we need.
7200 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7201 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7202 cat <<_LT_EOF > conftest.$ac_ext
7208 # Now generate the symbol file.
7209 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7211 cat <<_LT_EOF >> conftest.$ac_ext
7213 /* The mapping between symbol names and symbols. */
7218 lt__PROGRAM__LTX_preloaded_symbols[] =
7220 { "@PROGRAM@", (void *) 0 },
7222 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7223 cat <<\_LT_EOF >> conftest.$ac_ext
7227 /* This works around a problem in FreeBSD linker */
7228 #ifdef FREEBSD_WORKAROUND
7229 static const void *lt_preloaded_setup() {
7230 return lt__PROGRAM__LTX_preloaded_symbols;
7238 # Now try linking the two files.
7239 mv conftest.$ac_objext conftstm.$ac_objext
7240 lt_save_LIBS="$LIBS"
7241 lt_save_CFLAGS="$CFLAGS"
7242 LIBS="conftstm.$ac_objext"
7243 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7245 (eval $ac_link) 2>&5
7247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7248 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7251 LIBS="$lt_save_LIBS"
7252 CFLAGS="$lt_save_CFLAGS"
7254 echo "cannot find nm_test_func in $nlist" >&5
7257 echo "cannot find nm_test_var in $nlist" >&5
7260 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7263 echo "$progname: failed program was:" >&5
7264 cat conftest.$ac_ext >&5
7266 rm -rf conftest* conftst*
7268 # Do not use the global_symbol_pipe unless it works.
7269 if test "$pipe_works" = yes; then
7272 lt_cv_sys_global_symbol_pipe=
7278 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7279 lt_cv_sys_global_symbol_to_cdecl=
7281 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7283 $as_echo "failed" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7286 $as_echo "ok" >&6; }
7310 # Check whether --enable-libtool-lock was given.
7311 if test "${enable_libtool_lock+set}" = set; then :
7312 enableval=$enable_libtool_lock;
7315 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7317 # Some flags need to be propagated to the compiler or linker for good
7321 # Find out which ABI we are using.
7322 echo 'int i;' > conftest.$ac_ext
7323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7324 (eval $ac_compile) 2>&5
7326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7327 test $ac_status = 0; }; then
7328 case `/usr/bin/file conftest.$ac_objext` in
7340 # Find out which ABI we are using.
7341 echo '#line 7341 "configure"' > conftest.$ac_ext
7342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343 (eval $ac_compile) 2>&5
7345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7346 test $ac_status = 0; }; then
7347 if test "$lt_cv_prog_gnu_ld" = yes; then
7348 case `/usr/bin/file conftest.$ac_objext` in
7350 LD="${LD-ld} -melf32bsmip"
7353 LD="${LD-ld} -melf32bmipn32"
7356 LD="${LD-ld} -melf64bmip"
7360 case `/usr/bin/file conftest.$ac_objext` in
7376 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7377 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7378 # Find out which ABI we are using.
7379 echo 'int i;' > conftest.$ac_ext
7380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7381 (eval $ac_compile) 2>&5
7383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7384 test $ac_status = 0; }; then
7385 case `/usr/bin/file conftest.o` in
7388 x86_64-*kfreebsd*-gnu)
7389 LD="${LD-ld} -m elf_i386_fbsd"
7392 LD="${LD-ld} -m elf_i386"
7394 ppc64-*linux*|powerpc64-*linux*)
7395 LD="${LD-ld} -m elf32ppclinux"
7398 LD="${LD-ld} -m elf_s390"
7401 LD="${LD-ld} -m elf32_sparc"
7407 x86_64-*kfreebsd*-gnu)
7408 LD="${LD-ld} -m elf_x86_64_fbsd"
7411 LD="${LD-ld} -m elf_x86_64"
7413 ppc*-*linux*|powerpc*-*linux*)
7414 LD="${LD-ld} -m elf64ppc"
7416 s390*-*linux*|s390*-*tpf*)
7417 LD="${LD-ld} -m elf64_s390"
7420 LD="${LD-ld} -m elf64_sparc"
7430 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7431 SAVE_CFLAGS="$CFLAGS"
7432 CFLAGS="$CFLAGS -belf"
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7434 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7435 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7439 ac_cpp='$CPP $CPPFLAGS'
7440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7455 if ac_fn_c_try_link "$LINENO"; then :
7456 lt_cv_cc_needs_belf=yes
7458 lt_cv_cc_needs_belf=no
7460 rm -f core conftest.err conftest.$ac_objext \
7461 conftest$ac_exeext conftest.$ac_ext
7463 ac_cpp='$CPP $CPPFLAGS'
7464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7470 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7471 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7472 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7473 CFLAGS="$SAVE_CFLAGS"
7477 # Find out which ABI we are using.
7478 echo 'int i;' > conftest.$ac_ext
7479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7480 (eval $ac_compile) 2>&5
7482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7483 test $ac_status = 0; }; then
7484 case `/usr/bin/file conftest.o` in
7486 case $lt_cv_prog_gnu_ld in
7487 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7489 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7501 need_locks="$enable_libtool_lock"
7505 rhapsody* | darwin*)
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7514 if test -n "$DSYMUTIL"; then
7515 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7535 if test -n "$DSYMUTIL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7537 $as_echo "$DSYMUTIL" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_DSYMUTIL"; then
7546 ac_ct_DSYMUTIL=$DSYMUTIL
7547 # Extract the first word of "dsymutil", so it can be a program name with args.
7548 set dummy dsymutil; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7554 if test -n "$ac_ct_DSYMUTIL"; then
7555 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7575 if test -n "$ac_ct_DSYMUTIL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7577 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_DSYMUTIL" = x; then
7586 case $cross_compiling:$ac_tool_warned in
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7592 DSYMUTIL=$ac_ct_DSYMUTIL
7595 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7606 if test -n "$NMEDIT"; then
7607 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7626 NMEDIT=$ac_cv_prog_NMEDIT
7627 if test -n "$NMEDIT"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7629 $as_echo "$NMEDIT" >&6; }
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_NMEDIT"; then
7638 ac_ct_NMEDIT=$NMEDIT
7639 # Extract the first word of "nmedit", so it can be a program name with args.
7640 set dummy nmedit; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7646 if test -n "$ac_ct_NMEDIT"; then
7647 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7667 if test -n "$ac_ct_NMEDIT"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7669 $as_echo "$ac_ct_NMEDIT" >&6; }
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_NMEDIT" = x; then
7678 case $cross_compiling:$ac_tool_warned in
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7684 NMEDIT=$ac_ct_NMEDIT
7687 NMEDIT="$ac_cv_prog_NMEDIT"
7690 if test -n "$ac_tool_prefix"; then
7691 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7692 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7694 $as_echo_n "checking for $ac_word... " >&6; }
7695 if test "${ac_cv_prog_LIPO+set}" = set; then :
7696 $as_echo_n "(cached) " >&6
7698 if test -n "$LIPO"; then
7699 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7705 test -z "$as_dir" && as_dir=.
7706 for ac_exec_ext in '' $ac_executable_extensions; do
7707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7708 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7718 LIPO=$ac_cv_prog_LIPO
7719 if test -n "$LIPO"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7721 $as_echo "$LIPO" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724 $as_echo "no" >&6; }
7729 if test -z "$ac_cv_prog_LIPO"; then
7731 # Extract the first word of "lipo", so it can be a program name with args.
7732 set dummy lipo; ac_word=$2
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7734 $as_echo_n "checking for $ac_word... " >&6; }
7735 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7736 $as_echo_n "(cached) " >&6
7738 if test -n "$ac_ct_LIPO"; then
7739 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7745 test -z "$as_dir" && as_dir=.
7746 for ac_exec_ext in '' $ac_executable_extensions; do
7747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7748 ac_cv_prog_ac_ct_LIPO="lipo"
7749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7758 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7759 if test -n "$ac_ct_LIPO"; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7761 $as_echo "$ac_ct_LIPO" >&6; }
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7764 $as_echo "no" >&6; }
7767 if test "x$ac_ct_LIPO" = x; then
7770 case $cross_compiling:$ac_tool_warned in
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7774 ac_tool_warned=yes ;;
7779 LIPO="$ac_cv_prog_LIPO"
7782 if test -n "$ac_tool_prefix"; then
7783 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7784 set dummy ${ac_tool_prefix}otool; ac_word=$2
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7786 $as_echo_n "checking for $ac_word... " >&6; }
7787 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7788 $as_echo_n "(cached) " >&6
7790 if test -n "$OTOOL"; then
7791 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir=.
7798 for ac_exec_ext in '' $ac_executable_extensions; do
7799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7800 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810 OTOOL=$ac_cv_prog_OTOOL
7811 if test -n "$OTOOL"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7813 $as_echo "$OTOOL" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7821 if test -z "$ac_cv_prog_OTOOL"; then
7823 # Extract the first word of "otool", so it can be a program name with args.
7824 set dummy otool; ac_word=$2
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7826 $as_echo_n "checking for $ac_word... " >&6; }
7827 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7828 $as_echo_n "(cached) " >&6
7830 if test -n "$ac_ct_OTOOL"; then
7831 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837 test -z "$as_dir" && as_dir=.
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7840 ac_cv_prog_ac_ct_OTOOL="otool"
7841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7850 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7851 if test -n "$ac_ct_OTOOL"; then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7853 $as_echo "$ac_ct_OTOOL" >&6; }
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7856 $as_echo "no" >&6; }
7859 if test "x$ac_ct_OTOOL" = x; then
7862 case $cross_compiling:$ac_tool_warned in
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7866 ac_tool_warned=yes ;;
7871 OTOOL="$ac_cv_prog_OTOOL"
7874 if test -n "$ac_tool_prefix"; then
7875 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7876 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7880 $as_echo_n "(cached) " >&6
7882 if test -n "$OTOOL64"; then
7883 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7892 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 OTOOL64=$ac_cv_prog_OTOOL64
7903 if test -n "$OTOOL64"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7905 $as_echo "$OTOOL64" >&6; }
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7913 if test -z "$ac_cv_prog_OTOOL64"; then
7914 ac_ct_OTOOL64=$OTOOL64
7915 # Extract the first word of "otool64", so it can be a program name with args.
7916 set dummy otool64; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7920 $as_echo_n "(cached) " >&6
7922 if test -n "$ac_ct_OTOOL64"; then
7923 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7932 ac_cv_prog_ac_ct_OTOOL64="otool64"
7933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7943 if test -n "$ac_ct_OTOOL64"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7945 $as_echo "$ac_ct_OTOOL64" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7951 if test "x$ac_ct_OTOOL64" = x; then
7954 case $cross_compiling:$ac_tool_warned in
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7958 ac_tool_warned=yes ;;
7960 OTOOL64=$ac_ct_OTOOL64
7963 OTOOL64="$ac_cv_prog_OTOOL64"
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7993 $as_echo_n "checking for -single_module linker flag... " >&6; }
7994 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7995 $as_echo_n "(cached) " >&6
7997 lt_cv_apple_cc_single_mod=no
7998 if test -z "${LT_MULTI_MODULE}"; then
7999 # By default we will add the -single_module flag. You can override
8000 # by either setting the environment variable LT_MULTI_MODULE
8001 # non-empty at configure time, or by adding -multi_module to the
8003 rm -rf libconftest.dylib*
8004 echo "int foo(void){return 1;}" > conftest.c
8005 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8006 -dynamiclib -Wl,-single_module conftest.c" >&5
8007 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8008 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8010 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8011 lt_cv_apple_cc_single_mod=yes
8013 cat conftest.err >&5
8015 rm -rf libconftest.dylib*
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8020 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8022 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8023 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8024 $as_echo_n "(cached) " >&6
8026 lt_cv_ld_exported_symbols_list=no
8027 save_LDFLAGS=$LDFLAGS
8028 echo "_main" > conftest.sym
8029 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 lt_cv_ld_exported_symbols_list=yes
8044 lt_cv_ld_exported_symbols_list=no
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
8048 LDFLAGS="$save_LDFLAGS"
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8052 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8054 rhapsody* | darwin1.[012])
8055 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8057 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8058 darwin*) # darwin 5.x on
8059 # if running on 10.5 or later, the deployment target defaults
8060 # to the OS version, if on x86, and 10.4, the deployment
8061 # target defaults to 10.4. Don't you love it?
8062 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8063 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8064 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8066 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8068 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8072 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8073 _lt_dar_single_mod='$single_module'
8075 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8076 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8078 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8080 if test "$DSYMUTIL" != ":"; then
8081 _lt_dsymutil='~$DSYMUTIL $lib || :'
8088 for ac_header in dlfcn.h
8090 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8092 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8093 cat >>confdefs.h <<_ACEOF
8094 #define HAVE_DLFCN_H 1
8116 # Check whether --with-pic was given.
8117 if test "${with_pic+set}" = set; then :
8118 withval=$with_pic; pic_mode="$withval"
8124 test -z "$pic_mode" && pic_mode=default
8132 # Check whether --enable-fast-install was given.
8133 if test "${enable_fast_install+set}" = set; then :
8134 enableval=$enable_fast_install; p=${PACKAGE-default}
8136 yes) enable_fast_install=yes ;;
8137 no) enable_fast_install=no ;;
8139 enable_fast_install=no
8140 # Look at the argument we got. We use all the common list separators.
8141 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8142 for pkg in $enableval; do
8144 if test "X$pkg" = "X$p"; then
8145 enable_fast_install=yes
8152 enable_fast_install=yes
8165 # This can be used to rebuild libtool when needed
8166 LIBTOOL_DEPS="$ltmain"
8168 # Always use our own libtool.
8169 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8195 test -z "$LN_S" && LN_S="ln -s"
8210 if test -n "${ZSH_VERSION+set}" ; then
8211 setopt NO_GLOB_SUBST
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8215 $as_echo_n "checking for objdir... " >&6; }
8216 if test "${lt_cv_objdir+set}" = set; then :
8217 $as_echo_n "(cached) " >&6
8219 rm -f .libs 2>/dev/null
8220 mkdir .libs 2>/dev/null
8221 if test -d .libs; then
8224 # MS-DOS does not allow filenames that begin with a dot.
8227 rmdir .libs 2>/dev/null
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8230 $as_echo "$lt_cv_objdir" >&6; }
8231 objdir=$lt_cv_objdir
8237 cat >>confdefs.h <<_ACEOF
8238 #define LT_OBJDIR "$lt_cv_objdir/"
8259 # AIX sometimes has problems with the GCC collect2 program. For some
8260 # reason, if we set the COLLECT_NAMES environment variable, the problems
8261 # vanish in a puff of smoke.
8262 if test "X${COLLECT_NAMES+set}" != Xset; then
8264 export COLLECT_NAMES
8269 # Sed substitution that helps us do robust quoting. It backslashifies
8270 # metacharacters that are still active within double-quoted strings.
8271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8273 # Same as above, but do not quote variable references.
8274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8276 # Sed substitution to delay expansion of an escaped shell variable in a
8277 # double_quote_subst'ed string.
8278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8280 # Sed substitution to delay expansion of an escaped single quote.
8281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8283 # Sed substitution to avoid accidental globbing in evaled expressions
8284 no_glob_subst='s/\*/\\\*/g'
8288 can_build_shared=yes
8290 # All known linkers require a `.a' archive for static linking (except MSVC,
8291 # which needs '.lib').
8294 with_gnu_ld="$lt_cv_prog_gnu_ld"
8297 old_CFLAGS="$CFLAGS"
8299 # Set sane defaults for various variables
8300 test -z "$CC" && CC=cc
8301 test -z "$LTCC" && LTCC=$CC
8302 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8303 test -z "$LD" && LD=ld
8304 test -z "$ac_objext" && ac_objext=o
8306 for cc_temp in $compiler""; do
8308 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8309 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8314 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8317 # Only perform the check for file, if the check method requires it
8318 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8319 case $deplibs_check_method in
8321 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8323 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8324 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8325 $as_echo_n "(cached) " >&6
8329 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8332 lt_save_MAGIC_CMD="$MAGIC_CMD"
8333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8334 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8335 for ac_dir in $ac_dummy; do
8337 test -z "$ac_dir" && ac_dir=.
8338 if test -f $ac_dir/${ac_tool_prefix}file; then
8339 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8340 if test -n "$file_magic_test_file"; then
8341 case $deplibs_check_method in
8343 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8344 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8345 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8346 $EGREP "$file_magic_regex" > /dev/null; then
8351 *** Warning: the command libtool uses to detect shared libraries,
8352 *** $file_magic_cmd, produces output that libtool cannot recognize.
8353 *** The result is that libtool may fail to recognize shared libraries
8354 *** as such. This will affect the creation of libtool libraries that
8355 *** depend on shared libraries, but programs linked with such libtool
8356 *** libraries will work regardless of this problem. Nevertheless, you
8357 *** may want to report the problem to your system manager and/or to
8358 *** bug-libtool@gnu.org
8368 MAGIC_CMD="$lt_save_MAGIC_CMD"
8373 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8374 if test -n "$MAGIC_CMD"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8376 $as_echo "$MAGIC_CMD" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8379 $as_echo "no" >&6; }
8386 if test -z "$lt_cv_path_MAGIC_CMD"; then
8387 if test -n "$ac_tool_prefix"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8389 $as_echo_n "checking for file... " >&6; }
8390 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8391 $as_echo_n "(cached) " >&6
8395 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8398 lt_save_MAGIC_CMD="$MAGIC_CMD"
8399 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8400 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8401 for ac_dir in $ac_dummy; do
8403 test -z "$ac_dir" && ac_dir=.
8404 if test -f $ac_dir/file; then
8405 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8406 if test -n "$file_magic_test_file"; then
8407 case $deplibs_check_method in
8409 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8412 $EGREP "$file_magic_regex" > /dev/null; then
8417 *** Warning: the command libtool uses to detect shared libraries,
8418 *** $file_magic_cmd, produces output that libtool cannot recognize.
8419 *** The result is that libtool may fail to recognize shared libraries
8420 *** as such. This will affect the creation of libtool libraries that
8421 *** depend on shared libraries, but programs linked with such libtool
8422 *** libraries will work regardless of this problem. Nevertheless, you
8423 *** may want to report the problem to your system manager and/or to
8424 *** bug-libtool@gnu.org
8434 MAGIC_CMD="$lt_save_MAGIC_CMD"
8439 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8440 if test -n "$MAGIC_CMD"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8442 $as_echo "$MAGIC_CMD" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8458 # Use C for the default configuration in the libtool script
8462 ac_cpp='$CPP $CPPFLAGS'
8463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8468 # Source file extension for C test sources.
8471 # Object file extension for compiled C test sources.
8475 # Code to be used in simple compile tests
8476 lt_simple_compile_test_code="int some_variable = 0;"
8478 # Code to be used in simple link tests
8479 lt_simple_link_test_code='int main(){return(0);}'
8487 # If no C compiler was specified, use CC.
8490 # If no C compiler flags were specified, use CFLAGS.
8491 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8493 # Allow CC to be a program name with arguments.
8496 # Save the default compiler, since it gets overwritten when the other
8497 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8498 compiler_DEFAULT=$CC
8500 # save warnings/boilerplate of simple test code
8501 ac_outfile=conftest.$ac_objext
8502 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8503 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8504 _lt_compiler_boilerplate=`cat conftest.err`
8507 ac_outfile=conftest.$ac_objext
8508 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8509 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8510 _lt_linker_boilerplate=`cat conftest.err`
8515 ## There is no encapsulation within the following macros, do not change
8516 ## the running order or otherwise move them around unless you know exactly
8517 ## what you are doing...
8518 if test -n "$compiler"; then
8520 lt_prog_compiler_no_builtin_flag=
8522 if test "$GCC" = yes; then
8523 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8526 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8527 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8528 $as_echo_n "(cached) " >&6
8530 lt_cv_prog_compiler_rtti_exceptions=no
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8533 lt_compiler_flag="-fno-rtti -fno-exceptions"
8534 # Insert the option either (1) after the last *FLAGS variable, or
8535 # (2) before a word containing "conftest.", or (3) at the end.
8536 # Note that $ac_compile itself does not contain backslashes and begins
8537 # with a dollar sign (not a hyphen), so the echo should work correctly.
8538 # The option is referenced via a variable to avoid confusing sed.
8539 lt_compile=`echo "$ac_compile" | $SED \
8540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8542 -e 's:$: $lt_compiler_flag:'`
8543 (eval echo "\"\$as_me:8543: $lt_compile\"" >&5)
8544 (eval "$lt_compile" 2>conftest.err)
8546 cat conftest.err >&5
8547 echo "$as_me:8547: \$? = $ac_status" >&5
8548 if (exit $ac_status) && test -s "$ac_outfile"; then
8549 # The compiler can only warn and ignore the option if not recognized
8550 # So say no if there are warnings other than the usual output.
8551 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8552 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8553 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8554 lt_cv_prog_compiler_rtti_exceptions=yes
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8561 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8563 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8564 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8576 lt_prog_compiler_wl=
8577 lt_prog_compiler_pic=
8578 lt_prog_compiler_static=
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8581 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8583 if test "$GCC" = yes; then
8584 lt_prog_compiler_wl='-Wl,'
8585 lt_prog_compiler_static='-static'
8589 # All AIX code is PIC.
8590 if test "$host_cpu" = ia64; then
8591 # AIX 5 now supports IA64 processor
8592 lt_prog_compiler_static='-Bstatic'
8599 # see comment about AmigaOS4 .so support
8600 lt_prog_compiler_pic='-fPIC'
8603 # FIXME: we need at least 68020 code to build shared libraries, but
8604 # adding the `-m68020' flag to GCC prevents building anything better,
8606 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8611 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8612 # PIC is the default for these OSes.
8615 mingw* | cygwin* | pw32* | os2* | cegcc*)
8616 # This hack is so that the source file can tell whether it is being
8617 # built for inclusion in a dll (and should export symbols for example).
8618 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8619 # (--disable-auto-import) libraries
8620 lt_prog_compiler_pic='-DDLL_EXPORT'
8623 darwin* | rhapsody*)
8624 # PIC is the default on this platform
8625 # Common symbols not allowed in MH_DYLIB files
8626 lt_prog_compiler_pic='-fno-common'
8630 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8631 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8632 # sets the default TLS model and affects inlining.
8638 lt_prog_compiler_pic='-fPIC'
8644 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8645 # Instead, we relocate shared libraries at runtime.
8649 # Just because we use GCC doesn't mean we suddenly get shared libraries
8650 # on systems that don't support them.
8651 lt_prog_compiler_can_build_shared=no
8656 # QNX uses GNU C++, but need to define -shared option too, otherwise
8658 lt_prog_compiler_pic='-fPIC -shared'
8662 if test -d /usr/nec; then
8663 lt_prog_compiler_pic=-Kconform_pic
8668 lt_prog_compiler_pic='-fPIC'
8672 # PORTME Check for flag to pass linker flags through the system compiler.
8675 lt_prog_compiler_wl='-Wl,'
8676 if test "$host_cpu" = ia64; then
8677 # AIX 5 now supports IA64 processor
8678 lt_prog_compiler_static='-Bstatic'
8680 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8684 mingw* | cygwin* | pw32* | os2* | cegcc*)
8685 # This hack is so that the source file can tell whether it is being
8686 # built for inclusion in a dll (and should export symbols for example).
8687 lt_prog_compiler_pic='-DDLL_EXPORT'
8690 hpux9* | hpux10* | hpux11*)
8691 lt_prog_compiler_wl='-Wl,'
8692 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8699 lt_prog_compiler_pic='+Z'
8702 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8703 lt_prog_compiler_static='${wl}-a ${wl}archive'
8706 irix5* | irix6* | nonstopux*)
8707 lt_prog_compiler_wl='-Wl,'
8708 # PIC (with -KPIC) is the default.
8709 lt_prog_compiler_static='-non_shared'
8712 linux* | k*bsd*-gnu)
8713 case $cc_basename in
8714 # old Intel for x86_64 which still supported -KPIC.
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-static'
8720 # icc used to be incompatible with GCC.
8721 # ICC 10 doesn't accept -KPIC any more.
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-fPIC'
8725 lt_prog_compiler_static='-static'
8727 # Lahey Fortran 8.1.
8729 lt_prog_compiler_wl='-Wl,'
8730 lt_prog_compiler_pic='--shared'
8731 lt_prog_compiler_static='--static'
8733 pgcc* | pgf77* | pgf90* | pgf95*)
8734 # Portland Group compilers (*not* the Pentium gcc compiler,
8735 # which looks to be a dead project)
8736 lt_prog_compiler_wl='-Wl,'
8737 lt_prog_compiler_pic='-fpic'
8738 lt_prog_compiler_static='-Bstatic'
8741 lt_prog_compiler_wl='-Wl,'
8742 # All Alpha code is PIC.
8743 lt_prog_compiler_static='-non_shared'
8746 # IBM XL C 8.0/Fortran 10.1 on PPC
8747 lt_prog_compiler_wl='-Wl,'
8748 lt_prog_compiler_pic='-qpic'
8749 lt_prog_compiler_static='-qstaticlink'
8752 case `$CC -V 2>&1 | sed 5q` in
8755 lt_prog_compiler_pic='-KPIC'
8756 lt_prog_compiler_static='-Bstatic'
8757 lt_prog_compiler_wl='-Wl,'
8760 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8761 lt_prog_compiler_pic='-KPIC'
8762 lt_prog_compiler_static='-Bstatic'
8763 lt_prog_compiler_wl=''
8771 lt_prog_compiler_pic='-KPIC'
8772 lt_prog_compiler_static='-Bstatic'
8776 # QNX uses GNU C++, but need to define -shared option too, otherwise
8778 lt_prog_compiler_pic='-fPIC -shared'
8781 osf3* | osf4* | osf5*)
8782 lt_prog_compiler_wl='-Wl,'
8783 # All OSF/1 code is PIC.
8784 lt_prog_compiler_static='-non_shared'
8788 lt_prog_compiler_static='-non_shared'
8792 lt_prog_compiler_pic='-KPIC'
8793 lt_prog_compiler_static='-Bstatic'
8794 case $cc_basename in
8796 lt_prog_compiler_wl='-Qoption ld ';;
8798 lt_prog_compiler_wl='-Wl,';;
8803 lt_prog_compiler_wl='-Qoption ld '
8804 lt_prog_compiler_pic='-PIC'
8805 lt_prog_compiler_static='-Bstatic'
8808 sysv4 | sysv4.2uw2* | sysv4.3*)
8809 lt_prog_compiler_wl='-Wl,'
8810 lt_prog_compiler_pic='-KPIC'
8811 lt_prog_compiler_static='-Bstatic'
8815 if test -d /usr/nec ;then
8816 lt_prog_compiler_pic='-Kconform_pic'
8817 lt_prog_compiler_static='-Bstatic'
8821 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8822 lt_prog_compiler_wl='-Wl,'
8823 lt_prog_compiler_pic='-KPIC'
8824 lt_prog_compiler_static='-Bstatic'
8828 lt_prog_compiler_wl='-Wl,'
8829 lt_prog_compiler_can_build_shared=no
8833 lt_prog_compiler_pic='-pic'
8834 lt_prog_compiler_static='-Bstatic'
8838 lt_prog_compiler_can_build_shared=no
8844 # For platforms which do not support PIC, -DPIC is meaningless:
8846 lt_prog_compiler_pic=
8849 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8853 $as_echo "$lt_prog_compiler_pic" >&6; }
8861 # Check to make sure the PIC flag actually works.
8863 if test -n "$lt_prog_compiler_pic"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8865 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8866 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8867 $as_echo_n "(cached) " >&6
8869 lt_cv_prog_compiler_pic_works=no
8870 ac_outfile=conftest.$ac_objext
8871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8872 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8873 # Insert the option either (1) after the last *FLAGS variable, or
8874 # (2) before a word containing "conftest.", or (3) at the end.
8875 # Note that $ac_compile itself does not contain backslashes and begins
8876 # with a dollar sign (not a hyphen), so the echo should work correctly.
8877 # The option is referenced via a variable to avoid confusing sed.
8878 lt_compile=`echo "$ac_compile" | $SED \
8879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881 -e 's:$: $lt_compiler_flag:'`
8882 (eval echo "\"\$as_me:8882: $lt_compile\"" >&5)
8883 (eval "$lt_compile" 2>conftest.err)
8885 cat conftest.err >&5
8886 echo "$as_me:8886: \$? = $ac_status" >&5
8887 if (exit $ac_status) && test -s "$ac_outfile"; then
8888 # The compiler can only warn and ignore the option if not recognized
8889 # So say no if there are warnings other than the usual output.
8890 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8891 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8892 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8893 lt_cv_prog_compiler_pic_works=yes
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8900 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8902 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8903 case $lt_prog_compiler_pic in
8905 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8908 lt_prog_compiler_pic=
8909 lt_prog_compiler_can_build_shared=no
8920 # Check to make sure the static flag actually works.
8922 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8924 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8925 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8926 $as_echo_n "(cached) " >&6
8928 lt_cv_prog_compiler_static_works=no
8929 save_LDFLAGS="$LDFLAGS"
8930 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8931 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8932 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8933 # The linker can only warn and ignore the option if not recognized
8934 # So say no if there are warnings
8935 if test -s conftest.err; then
8936 # Append any errors to the config.log.
8937 cat conftest.err 1>&5
8938 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8940 if diff conftest.exp conftest.er2 >/dev/null; then
8941 lt_cv_prog_compiler_static_works=yes
8944 lt_cv_prog_compiler_static_works=yes
8948 LDFLAGS="$save_LDFLAGS"
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8952 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8954 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8957 lt_prog_compiler_static=
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8967 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8968 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8971 lt_cv_prog_compiler_c_o=no
8972 $RM -r conftest 2>/dev/null
8976 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8978 lt_compiler_flag="-o out/conftest2.$ac_objext"
8979 # Insert the option either (1) after the last *FLAGS variable, or
8980 # (2) before a word containing "conftest.", or (3) at the end.
8981 # Note that $ac_compile itself does not contain backslashes and begins
8982 # with a dollar sign (not a hyphen), so the echo should work correctly.
8983 lt_compile=`echo "$ac_compile" | $SED \
8984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8986 -e 's:$: $lt_compiler_flag:'`
8987 (eval echo "\"\$as_me:8987: $lt_compile\"" >&5)
8988 (eval "$lt_compile" 2>out/conftest.err)
8990 cat out/conftest.err >&5
8991 echo "$as_me:8991: \$? = $ac_status" >&5
8992 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8994 # The compiler can only warn and ignore the option if not recognized
8995 # So say no if there are warnings
8996 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8997 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8998 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8999 lt_cv_prog_compiler_c_o=yes
9004 # SGI C++ compiler will create directory out/ii_files/ for
9005 # template instantiation
9006 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9007 $RM out/* && rmdir out
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9014 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9022 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9023 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9024 $as_echo_n "(cached) " >&6
9026 lt_cv_prog_compiler_c_o=no
9027 $RM -r conftest 2>/dev/null
9031 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9033 lt_compiler_flag="-o out/conftest2.$ac_objext"
9034 # Insert the option either (1) after the last *FLAGS variable, or
9035 # (2) before a word containing "conftest.", or (3) at the end.
9036 # Note that $ac_compile itself does not contain backslashes and begins
9037 # with a dollar sign (not a hyphen), so the echo should work correctly.
9038 lt_compile=`echo "$ac_compile" | $SED \
9039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9041 -e 's:$: $lt_compiler_flag:'`
9042 (eval echo "\"\$as_me:9042: $lt_compile\"" >&5)
9043 (eval "$lt_compile" 2>out/conftest.err)
9045 cat out/conftest.err >&5
9046 echo "$as_me:9046: \$? = $ac_status" >&5
9047 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049 # The compiler can only warn and ignore the option if not recognized
9050 # So say no if there are warnings
9051 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9052 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9053 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9054 lt_cv_prog_compiler_c_o=yes
9059 # SGI C++ compiler will create directory out/ii_files/ for
9060 # template instantiation
9061 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9062 $RM out/* && rmdir out
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9069 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9074 hard_links="nottested"
9075 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9076 # do not overwrite the value of need_locks provided by the user
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9078 $as_echo_n "checking if we can lock with hard links... " >&6; }
9081 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9083 ln conftest.a conftest.b 2>&5 || hard_links=no
9084 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9086 $as_echo "$hard_links" >&6; }
9087 if test "$hard_links" = no; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9089 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9105 allow_undefined_flag=
9106 always_export_symbols=no
9108 archive_expsym_cmds=
9109 compiler_needs_object=no
9110 enable_shared_with_static_runtimes=no
9111 export_dynamic_flag_spec=
9112 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9113 hardcode_automatic=no
9115 hardcode_direct_absolute=no
9116 hardcode_libdir_flag_spec=
9117 hardcode_libdir_flag_spec_ld=
9118 hardcode_libdir_separator=
9120 hardcode_shlibpath_var=unsupported
9122 link_all_deplibs=unknown
9125 old_archive_from_new_cmds=
9126 old_archive_from_expsyms_cmds=
9127 thread_safe_flag_spec=
9128 whole_archive_flag_spec=
9129 # include_expsyms should be a list of space-separated symbols to be *always*
9130 # included in the symbol list
9132 # exclude_expsyms can be an extended regexp of symbols to exclude
9133 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9134 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9135 # as well as any symbol that contains `d'.
9136 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9137 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9138 # platforms (ab)use it in PIC code, but their linkers get confused if
9139 # the symbol is explicitly referenced. Since portable code cannot
9140 # rely on this symbol name, it's probably fine to never include it in
9141 # preloaded symbol tables.
9142 # Exclude shared library initialization/finalization symbols.
9143 extract_expsyms_cmds=
9146 cygwin* | mingw* | pw32* | cegcc*)
9147 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9148 # When not using gcc, we currently assume that we are using
9149 # Microsoft Visual C++.
9150 if test "$GCC" != yes; then
9155 # we just hope/assume this is gcc and not c89 (= MSVC++)
9164 if test "$with_gnu_ld" = yes; then
9165 # If archive_cmds runs LD, not CC, wlarc should be empty
9168 # Set some defaults for GNU ld with shared library support. These
9169 # are reset later if shared libraries are not supported. Putting them
9170 # here allows them to be overridden if necessary.
9171 runpath_var=LD_RUN_PATH
9172 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9173 export_dynamic_flag_spec='${wl}--export-dynamic'
9174 # ancient GNU ld didn't support --whole-archive et. al.
9175 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9176 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 whole_archive_flag_spec=
9180 supports_anon_versioning=no
9181 case `$LD -v 2>&1` in
9182 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9183 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9184 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9185 *\ 2.11.*) ;; # other 2.11 versions
9186 *) supports_anon_versioning=yes ;;
9189 # See if GNU ld supports shared libraries.
9192 # On AIX/PPC, the GNU linker is very broken
9193 if test "$host_cpu" != ia64; then
9197 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9198 *** to be unable to reliably create shared libraries on AIX.
9199 *** Therefore, libtool is disabling shared libraries support. If you
9200 *** really care for shared libraries, you may want to modify your PATH
9201 *** so that a non-GNU linker is found, and then restart.
9210 # see comment about AmigaOS4 .so support
9211 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9212 archive_expsym_cmds=''
9215 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)'
9216 hardcode_libdir_flag_spec='-L$libdir'
9217 hardcode_minus_L=yes
9223 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9224 allow_undefined_flag=unsupported
9225 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9226 # support --undefined. This deserves some investigation. FIXME
9227 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9233 cygwin* | mingw* | pw32* | cegcc*)
9234 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9235 # as there is no search path for DLLs.
9236 hardcode_libdir_flag_spec='-L$libdir'
9237 allow_undefined_flag=unsupported
9238 always_export_symbols=no
9239 enable_shared_with_static_runtimes=yes
9240 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9242 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9243 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 # If the export-symbols file already is a .def file (1st line
9245 # is EXPORTS), use it as is; otherwise, prepend...
9246 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9247 cp $export_symbols $output_objdir/$soname.def;
9249 echo EXPORTS > $output_objdir/$soname.def;
9250 cat $export_symbols >> $output_objdir/$soname.def;
9252 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9260 hardcode_shlibpath_var=no
9261 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9262 export_dynamic_flag_spec='${wl}-E'
9263 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9264 # Instead, shared libraries are loaded at an image base (0x10000000 by
9265 # default) and relocated if they conflict, which is a slow very memory
9266 # consuming and fragmenting process. To avoid this, we pick a random,
9267 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9268 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9269 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9270 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'
9273 gnu* | linux* | tpf* | k*bsd*-gnu)
9275 if test "$host_os" = linux-dietlibc; then
9276 case $cc_basename in
9277 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9280 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9281 && test "$tmp_diet" = no
9284 tmp_sharedflag='-shared'
9285 case $cc_basename,$host_cpu in
9286 pgcc*) # Portland Group C compiler
9287 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9288 tmp_addflag=' $pic_flag'
9290 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9291 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9292 tmp_addflag=' $pic_flag -Mnomain' ;;
9293 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9294 tmp_addflag=' -i_dynamic' ;;
9295 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9296 tmp_addflag=' -i_dynamic -nofor_main' ;;
9297 ifc* | ifort*) # Intel Fortran compiler
9298 tmp_addflag=' -nofor_main' ;;
9299 lf95*) # Lahey Fortran 8.1
9300 whole_archive_flag_spec=
9301 tmp_sharedflag='--shared' ;;
9302 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9303 tmp_sharedflag='-qmkshrobj'
9306 case `$CC -V 2>&1 | sed 5q` in
9307 *Sun\ C*) # Sun C 5.9
9308 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9309 compiler_needs_object=yes
9310 tmp_sharedflag='-G' ;;
9311 *Sun\ F*) # Sun Fortran 8.3
9312 tmp_sharedflag='-G' ;;
9314 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 if test "x$supports_anon_versioning" = xyes; then
9317 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9318 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9319 echo "local: *; };" >> $output_objdir/$libname.ver~
9320 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9323 case $cc_basename in
9325 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9326 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9327 hardcode_libdir_flag_spec=
9328 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9329 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9344 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9345 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9358 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9359 *** create shared libraries on Solaris systems. Therefore, libtool
9360 *** is disabling shared libraries support. We urge you to upgrade GNU
9361 *** binutils to release 2.9.1 or newer. Another option is to modify
9362 *** your PATH or compiler configuration so that the native linker is
9363 *** used, and then restart.
9366 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9367 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9375 case `$LD -v 2>&1` in
9376 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9380 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9381 *** reliably create shared libraries on SCO systems. Therefore, libtool
9382 *** is disabling shared libraries support. We urge you to upgrade GNU
9383 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9384 *** your PATH or compiler configuration so that the native linker is
9385 *** used, and then restart.
9390 # For security reasons, it is highly recommended that you always
9391 # use absolute paths for naming shared libraries, and exclude the
9392 # DT_RUNPATH tag from executables and libraries. But doing so
9393 # requires that you compile everything twice, which is a pain.
9394 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9395 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9396 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9406 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9409 hardcode_shlibpath_var=no
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9415 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9422 if test "$ld_shlibs" = no; then
9424 hardcode_libdir_flag_spec=
9425 export_dynamic_flag_spec=
9426 whole_archive_flag_spec=
9429 # PORTME fill in a description of your system's linker (not GNU ld)
9432 allow_undefined_flag=unsupported
9433 always_export_symbols=yes
9434 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'
9435 # Note: this linker hardcodes the directories in LIBPATH if there
9436 # are no directories specified by -L.
9437 hardcode_minus_L=yes
9438 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9439 # Neither direct hardcoding nor static linking is supported with a
9441 hardcode_direct=unsupported
9446 if test "$host_cpu" = ia64; then
9447 # On IA64, the linker does run time linking by default, so we don't
9448 # have to do anything special.
9449 aix_use_runtimelinking=no
9450 exp_sym_flag='-Bexport'
9453 # If we're using GNU nm, then we don't want the "-C" option.
9454 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9455 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9456 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9458 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'
9460 aix_use_runtimelinking=no
9462 # Test if we are trying to use run time linking or normal
9463 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9464 # need to do runtime linking.
9465 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9466 for ld_flag in $LDFLAGS; do
9467 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9468 aix_use_runtimelinking=yes
9475 exp_sym_flag='-bexport'
9476 no_entry_flag='-bnoentry'
9479 # When large executables or shared objects are built, AIX ld can
9480 # have problems creating the table of contents. If linking a library
9481 # or program results in "error TOC overflow" add -mminimal-toc to
9482 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9483 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487 hardcode_direct_absolute=yes
9488 hardcode_libdir_separator=':'
9489 link_all_deplibs=yes
9490 file_list_spec='${wl}-f,'
9492 if test "$GCC" = yes; then
9493 case $host_os in aix4.[012]|aix4.[012].*)
9494 # We only want to do this on AIX 4.2 and lower, the check
9495 # below for broken collect2 doesn't work under 4.3+
9496 collect2name=`${CC} -print-prog-name=collect2`
9497 if test -f "$collect2name" &&
9498 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9500 # We have reworked collect2
9503 # We have old collect2
9504 hardcode_direct=unsupported
9505 # It fails to find uninstalled libraries when the uninstalled
9506 # path is not listed in the libpath. Setting hardcode_minus_L
9507 # to unsupported forces relinking
9508 hardcode_minus_L=yes
9509 hardcode_libdir_flag_spec='-L$libdir'
9510 hardcode_libdir_separator=
9514 shared_flag='-shared'
9515 if test "$aix_use_runtimelinking" = yes; then
9516 shared_flag="$shared_flag "'${wl}-G'
9520 if test "$host_cpu" = ia64; then
9521 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9522 # chokes on -Wl,-G. The following line is correct:
9525 if test "$aix_use_runtimelinking" = yes; then
9526 shared_flag='${wl}-G'
9528 shared_flag='${wl}-bM:SRE'
9533 export_dynamic_flag_spec='${wl}-bexpall'
9534 # It seems that -bexpall does not export symbols beginning with
9535 # underscore (_), so it is better to generate a list of symbols to export.
9536 always_export_symbols=yes
9537 if test "$aix_use_runtimelinking" = yes; then
9538 # Warning - without using the other runtime loading flags (-brtl),
9539 # -berok will link without error, but may produce a broken library.
9540 allow_undefined_flag='-berok'
9541 # Determine the default libpath from the value encoded in an
9543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9554 if ac_fn_c_try_link "$LINENO"; then :
9556 lt_aix_libpath_sed='
9557 /Import File Strings/,/^$/ {
9563 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9564 # Check for a 64-bit object if we didn't find anything.
9565 if test -z "$aix_libpath"; then
9566 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9569 rm -f core conftest.err conftest.$ac_objext \
9570 conftest$ac_exeext conftest.$ac_ext
9571 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9573 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9574 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9576 if test "$host_cpu" = ia64; then
9577 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9578 allow_undefined_flag="-z nodefs"
9579 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"
9581 # Determine the default libpath from the value encoded in an
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9594 if ac_fn_c_try_link "$LINENO"; then :
9596 lt_aix_libpath_sed='
9597 /Import File Strings/,/^$/ {
9603 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604 # Check for a 64-bit object if we didn't find anything.
9605 if test -z "$aix_libpath"; then
9606 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9613 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9614 # Warning - without using the other run time loading flags,
9615 # -berok will link without error, but may produce a broken library.
9616 no_undefined_flag=' ${wl}-bernotok'
9617 allow_undefined_flag=' ${wl}-berok'
9618 # Exported symbols can be pulled into shared objects from archives
9619 whole_archive_flag_spec='$convenience'
9620 archive_cmds_need_lc=yes
9621 # This is similar to how AIX traditionally builds its shared libraries.
9622 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'
9630 # see comment about AmigaOS4 .so support
9631 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9632 archive_expsym_cmds=''
9635 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)'
9636 hardcode_libdir_flag_spec='-L$libdir'
9637 hardcode_minus_L=yes
9643 export_dynamic_flag_spec=-rdynamic
9646 cygwin* | mingw* | pw32* | cegcc*)
9647 # When not using gcc, we currently assume that we are using
9648 # Microsoft Visual C++.
9649 # hardcode_libdir_flag_spec is actually meaningless, as there is
9650 # no search path for DLLs.
9651 hardcode_libdir_flag_spec=' '
9652 allow_undefined_flag=unsupported
9653 # Tell ltmain to make .lib files, not .a files.
9655 # Tell ltmain to make .dll files, not .so files.
9657 # FIXME: Setting linknames here is a bad hack.
9658 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9659 # The linker will automatically build a .lib file if we build a DLL.
9660 old_archive_from_new_cmds='true'
9661 # FIXME: Should let the user specify the lib program.
9662 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9663 fix_srcfile_path='`cygpath -w "$srcfile"`'
9664 enable_shared_with_static_runtimes=yes
9667 darwin* | rhapsody*)
9670 archive_cmds_need_lc=no
9672 hardcode_automatic=yes
9673 hardcode_shlibpath_var=unsupported
9674 whole_archive_flag_spec=''
9675 link_all_deplibs=yes
9676 allow_undefined_flag="$_lt_dar_allow_undefined"
9677 case $cc_basename in
9678 ifort*) _lt_dar_can_shared=yes ;;
9679 *) _lt_dar_can_shared=$GCC ;;
9681 if test "$_lt_dar_can_shared" = "yes"; then
9682 output_verbose_link_cmd=echo
9683 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9684 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9685 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}"
9686 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}"
9695 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9696 hardcode_libdir_flag_spec='-L$libdir'
9697 hardcode_shlibpath_var=no
9704 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9705 # support. Future versions do this automatically, but an explicit c++rt0.o
9706 # does not break anything, and helps significantly (at the cost of a little
9709 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9710 hardcode_libdir_flag_spec='-R$libdir'
9712 hardcode_shlibpath_var=no
9715 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9717 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_minus_L=yes
9720 hardcode_shlibpath_var=no
9723 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9724 freebsd* | dragonfly*)
9725 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9726 hardcode_libdir_flag_spec='-R$libdir'
9728 hardcode_shlibpath_var=no
9732 if test "$GCC" = yes; then
9733 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9735 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'
9737 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9738 hardcode_libdir_separator=:
9741 # hardcode_minus_L: Not really in the search PATH,
9742 # but as the default location of the library.
9743 hardcode_minus_L=yes
9744 export_dynamic_flag_spec='${wl}-E'
9748 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9749 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9751 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9753 if test "$with_gnu_ld" = no; then
9754 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9755 hardcode_libdir_flag_spec_ld='+b $libdir'
9756 hardcode_libdir_separator=:
9758 hardcode_direct_absolute=yes
9759 export_dynamic_flag_spec='${wl}-E'
9760 # hardcode_minus_L: Not really in the search PATH,
9761 # but as the default location of the library.
9762 hardcode_minus_L=yes
9767 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9770 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9773 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 if test "$with_gnu_ld" = no; then
9793 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9794 hardcode_libdir_separator=:
9799 hardcode_shlibpath_var=no
9803 hardcode_direct_absolute=yes
9804 export_dynamic_flag_spec='${wl}-E'
9806 # hardcode_minus_L: Not really in the search PATH,
9807 # but as the default location of the library.
9808 hardcode_minus_L=yes
9814 irix5* | irix6* | nonstopux*)
9815 if test "$GCC" = yes; then
9816 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9817 # Try to use the -exported_symbol ld option, if it does not
9818 # work, assume that -exports_file does not work either and
9819 # implicitly export all symbols.
9820 save_LDFLAGS="$LDFLAGS"
9821 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9826 if ac_fn_c_try_link "$LINENO"; then :
9827 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LDFLAGS="$save_LDFLAGS"
9834 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9835 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9837 archive_cmds_need_lc='no'
9838 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9839 hardcode_libdir_separator=:
9841 link_all_deplibs=yes
9845 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9846 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9848 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9850 hardcode_libdir_flag_spec='-R$libdir'
9852 hardcode_shlibpath_var=no
9856 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859 hardcode_libdir_separator=:
9860 hardcode_shlibpath_var=no
9867 if test -f /usr/libexec/ld.so; then
9869 hardcode_shlibpath_var=no
9870 hardcode_direct_absolute=yes
9871 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9872 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9874 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9875 export_dynamic_flag_spec='${wl}-E'
9878 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9879 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_libdir_flag_spec='-R$libdir'
9883 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9884 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9894 hardcode_libdir_flag_spec='-L$libdir'
9895 hardcode_minus_L=yes
9896 allow_undefined_flag=unsupported
9897 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'
9898 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9902 if test "$GCC" = yes; then
9903 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9904 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9906 allow_undefined_flag=' -expect_unresolved \*'
9907 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9909 archive_cmds_need_lc='no'
9910 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9911 hardcode_libdir_separator=:
9914 osf4* | osf5*) # as osf3* with the addition of -msym flag
9915 if test "$GCC" = yes; then
9916 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9917 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9918 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920 allow_undefined_flag=' -expect_unresolved \*'
9921 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9922 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~
9923 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9925 # Both c and cxx compiler support -rpath directly
9926 hardcode_libdir_flag_spec='-rpath $libdir'
9928 archive_cmds_need_lc='no'
9929 hardcode_libdir_separator=:
9933 no_undefined_flag=' -z defs'
9934 if test "$GCC" = yes; then
9936 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9938 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9940 case `$CC -V 2>&1` in
9943 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9944 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9945 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9949 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9951 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9955 hardcode_libdir_flag_spec='-R$libdir'
9956 hardcode_shlibpath_var=no
9958 solaris2.[0-5] | solaris2.[0-5].*) ;;
9960 # The compiler driver will combine and reorder linker options,
9961 # but understands `-z linker_flag'. GCC discards it without `$wl',
9962 # but is careful enough not to reorder.
9963 # Supported since Solaris 2.6 (maybe 2.5.1?)
9964 if test "$GCC" = yes; then
9965 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9967 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9971 link_all_deplibs=yes
9975 if test "x$host_vendor" = xsequent; then
9976 # Use $CC to link under sequent, because it throws in some extra .o
9977 # files that make .init and .fini sections work.
9978 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9980 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9982 hardcode_libdir_flag_spec='-L$libdir'
9984 hardcode_minus_L=yes
9985 hardcode_shlibpath_var=no
9989 case $host_vendor in
9991 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992 hardcode_direct=yes # is this really true???
9995 ## LD is ld it makes a PLAMLIB
9996 ## CC just makes a GrossModule.
9997 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9998 reload_cmds='$CC -r -o $output$reload_objs'
10002 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10006 runpath_var='LD_RUN_PATH'
10007 hardcode_shlibpath_var=no
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_shlibpath_var=no
10013 export_dynamic_flag_spec='-Bexport'
10017 if test -d /usr/nec; then
10018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_shlibpath_var=no
10020 runpath_var=LD_RUN_PATH
10021 hardcode_runpath_var=yes
10026 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10027 no_undefined_flag='${wl}-z,text'
10028 archive_cmds_need_lc=no
10029 hardcode_shlibpath_var=no
10030 runpath_var='LD_RUN_PATH'
10032 if test "$GCC" = yes; then
10033 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 sysv5* | sco3.2v5* | sco5v6*)
10042 # Note: We can NOT use -z defs as we might desire, because we do not
10043 # link with -lc, and that would cause any symbols used from libc to
10044 # always be unresolved, which means just about no library would
10045 # ever link correctly. If we're not using GNU ld we use -z text
10046 # though, which does catch some bad symbols but isn't as heavy-handed
10048 no_undefined_flag='${wl}-z,text'
10049 allow_undefined_flag='${wl}-z,nodefs'
10050 archive_cmds_need_lc=no
10051 hardcode_shlibpath_var=no
10052 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10053 hardcode_libdir_separator=':'
10054 link_all_deplibs=yes
10055 export_dynamic_flag_spec='${wl}-Bexport'
10056 runpath_var='LD_RUN_PATH'
10058 if test "$GCC" = yes; then
10059 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_libdir_flag_spec='-L$libdir'
10070 hardcode_shlibpath_var=no
10078 if test x$host_vendor = xsni; then
10080 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10081 export_dynamic_flag_spec='${wl}-Blargedynsym'
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10088 $as_echo "$ld_shlibs" >&6; }
10089 test "$ld_shlibs" = no && can_build_shared=no
10091 with_gnu_ld=$with_gnu_ld
10108 # Do we need to explicitly link libc?
10110 case "x$archive_cmds_need_lc" in
10112 # Assume -lc should be added
10113 archive_cmds_need_lc=yes
10115 if test "$enable_shared" = yes && test "$GCC" = yes; then
10116 case $archive_cmds in
10118 # FIXME: we may have to deal with multi-command sequences.
10121 # Test whether the compiler implicitly links with -lc since on some
10122 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10123 # to ld, don't add -lc before -lgcc.
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10125 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10127 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10130 (eval $ac_compile) 2>&5
10132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10133 test $ac_status = 0; } 2>conftest.err; then
10136 libobjs=conftest.$ac_objext
10138 wl=$lt_prog_compiler_wl
10139 pic_flag=$lt_prog_compiler_pic
10145 lt_save_allow_undefined_flag=$allow_undefined_flag
10146 allow_undefined_flag=
10147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10148 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10151 test $ac_status = 0; }
10153 archive_cmds_need_lc=no
10155 archive_cmds_need_lc=yes
10157 allow_undefined_flag=$lt_save_allow_undefined_flag
10159 cat conftest.err 1>&5
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10163 $as_echo "$archive_cmds_need_lc" >&6; }
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10327 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10329 if test "$GCC" = yes; then
10331 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10332 *) lt_awk_arg="/^libraries:/" ;;
10334 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10335 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10336 # if the path contains ";" then we assume it to be the separator
10337 # otherwise default to the standard path separator (i.e. ":") - it is
10338 # assumed that no part of a normal pathname contains ";" but that should
10339 # okay in the real world where ";" in dirpaths is itself problematic.
10340 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10342 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10344 # Ok, now we have the path, separated by spaces, we can step through it
10345 # and add multilib dir if necessary.
10346 lt_tmp_lt_search_path_spec=
10347 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10348 for lt_sys_path in $lt_search_path_spec; do
10349 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10350 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10352 test -d "$lt_sys_path" && \
10353 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10356 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10357 BEGIN {RS=" "; FS="/|\n";} {
10360 for (lt_i = NF; lt_i > 0; lt_i--) {
10361 if ($lt_i != "" && $lt_i != ".") {
10362 if ($lt_i == "..") {
10365 if (lt_count == 0) {
10366 lt_foo="/" $lt_i lt_foo;
10373 if (lt_foo != "") { lt_freq[lt_foo]++; }
10374 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10376 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10378 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10380 library_names_spec=
10381 libname_spec='lib$name'
10385 postuninstall_cmds=
10389 shlibpath_overrides_runpath=unknown
10391 dynamic_linker="$host_os ld.so"
10392 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10393 need_lib_prefix=unknown
10394 hardcode_into_libs=no
10396 # when you set need_version to no, make sure it does not cause -set_version
10397 # flags to be left without arguments
10398 need_version=unknown
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10404 shlibpath_var=LIBPATH
10406 # AIX 3 has no versioning support, so we append a major version to the name.
10407 soname_spec='${libname}${release}${shared_ext}$major'
10414 hardcode_into_libs=yes
10415 if test "$host_cpu" = ia64; then
10416 # AIX 5 supports IA64
10417 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10418 shlibpath_var=LD_LIBRARY_PATH
10420 # With GCC up to 2.95.x, collect2 would create an import file
10421 # for dependence libraries. The import file would start with
10422 # the line `#! .'. This would cause the generated library to
10423 # depend on `.', always an invalid library. This was fixed in
10424 # development snapshots of GCC prior to 3.0.
10426 aix4 | aix4.[01] | aix4.[01].*)
10427 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10429 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10432 can_build_shared=no
10436 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10437 # soname into executable. Probably we can add versioning support to
10438 # collect2, so additional links can be useful in future.
10439 if test "$aix_use_runtimelinking" = yes; then
10440 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10441 # instead of lib<name>.a to let people know that these are not
10442 # typical AIX shared libraries.
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 # We preserve .a as extension for shared libraries through AIX4.2
10446 # and later when we are not doing run time linking.
10447 library_names_spec='${libname}${release}.a $libname.a'
10448 soname_spec='${libname}${release}${shared_ext}$major'
10450 shlibpath_var=LIBPATH
10457 # Since July 2007 AmigaOS4 officially supports .so libraries.
10458 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 library_names_spec='$libname.ixlibrary $libname.a'
10463 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10464 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10470 library_names_spec='${libname}${shared_ext}'
10471 dynamic_linker="$host_os ld.so"
10472 shlibpath_var=LIBRARY_PATH
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10479 soname_spec='${libname}${release}${shared_ext}$major'
10480 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10481 shlibpath_var=LD_LIBRARY_PATH
10482 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10483 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10484 # the default ld.so.conf also contains /usr/contrib/lib and
10485 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10486 # libtool to hard-code these into programs
10489 cygwin* | mingw* | pw32* | cegcc*)
10490 version_type=windows
10495 case $GCC,$host_os in
10496 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10497 library_names_spec='$libname.dll.a'
10498 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10499 postinstall_cmds='base_file=`basename \${file}`~
10500 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10501 dldir=$destdir/`dirname \$dlpath`~
10502 test -d \$dldir || mkdir -p \$dldir~
10503 $install_prog $dir/$dlname \$dldir/$dlname~
10504 chmod a+x \$dldir/$dlname~
10505 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10506 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10508 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10509 dlpath=$dir/\$dldll~
10511 shlibpath_overrides_runpath=yes
10515 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10516 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10517 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10520 # MinGW DLLs use traditional 'lib' prefix
10521 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10522 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10523 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10524 # It is most probably a Windows format PATH printed by
10525 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10526 # path with ; separators, and with drive letters. We can handle the
10527 # drive letters (cygwin fileutils understands them), so leave them,
10528 # especially as we might pass files found there to a mingw objdump,
10529 # which wouldn't understand a cygwinified path. Ahh.
10530 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10532 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10536 # pw32 DLLs use 'pw' prefix rather than 'lib'
10537 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10543 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10546 dynamic_linker='Win32 ld.exe'
10547 # FIXME: first we should search . and the directory the executable is in
10551 darwin* | rhapsody*)
10552 dynamic_linker="$host_os dyld"
10553 version_type=darwin
10556 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10557 soname_spec='${libname}${release}${major}$shared_ext'
10558 shlibpath_overrides_runpath=yes
10559 shlibpath_var=DYLD_LIBRARY_PATH
10560 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10562 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10563 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10571 soname_spec='${libname}${release}${shared_ext}$major'
10572 shlibpath_var=LD_LIBRARY_PATH
10579 freebsd* | dragonfly*)
10580 # DragonFly does not have aout. When/if they implement a new
10581 # versioning mechanism, adjust this.
10582 if test -x /usr/bin/objformat; then
10583 objformat=`/usr/bin/objformat`
10586 freebsd[123]*) objformat=aout ;;
10587 *) objformat=elf ;;
10590 version_type=freebsd-$objformat
10591 case $version_type in
10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10598 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10602 shlibpath_var=LD_LIBRARY_PATH
10605 shlibpath_overrides_runpath=yes
10607 freebsd3.[01]* | freebsdelf3.[01]*)
10608 shlibpath_overrides_runpath=yes
10609 hardcode_into_libs=yes
10611 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10612 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10613 shlibpath_overrides_runpath=no
10614 hardcode_into_libs=yes
10616 *) # from 4.6 on, and DragonFly
10617 shlibpath_overrides_runpath=yes
10618 hardcode_into_libs=yes
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10628 soname_spec='${libname}${release}${shared_ext}$major'
10629 shlibpath_var=LD_LIBRARY_PATH
10630 hardcode_into_libs=yes
10633 hpux9* | hpux10* | hpux11*)
10634 # Give a soname corresponding to the major version so that dld.sl refuses to
10635 # link against other versions.
10642 hardcode_into_libs=yes
10643 dynamic_linker="$host_os dld.so"
10644 shlibpath_var=LD_LIBRARY_PATH
10645 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 soname_spec='${libname}${release}${shared_ext}$major'
10648 if test "X$HPUX_IA64_MODE" = X32; then
10649 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10651 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10653 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10657 hardcode_into_libs=yes
10658 dynamic_linker="$host_os dld.sl"
10659 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10660 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 soname_spec='${libname}${release}${shared_ext}$major'
10663 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10664 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10668 dynamic_linker="$host_os dld.sl"
10669 shlibpath_var=SHLIB_PATH
10670 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10675 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10676 postinstall_cmds='chmod 555 $lib'
10683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10686 shlibpath_var=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath=no
10688 hardcode_into_libs=yes
10691 irix5* | irix6* | nonstopux*)
10693 nonstopux*) version_type=nonstopux ;;
10695 if test "$lt_cv_prog_gnu_ld" = yes; then
10703 soname_spec='${libname}${release}${shared_ext}$major'
10704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10706 irix5* | nonstopux*)
10707 libsuff= shlibsuff=
10710 case $LD in # libtool.m4 will add one of these switches to LD
10711 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10712 libsuff= shlibsuff= libmagic=32-bit;;
10713 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10714 libsuff=32 shlibsuff=N32 libmagic=N32;;
10715 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10716 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10717 *) libsuff= shlibsuff= libmagic=never-match;;
10721 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10722 shlibpath_overrides_runpath=no
10723 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10724 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10725 hardcode_into_libs=yes
10728 # No shared lib support for Linux oldld, aout, or coff.
10729 linux*oldld* | linux*aout* | linux*coff*)
10733 # This must be Linux ELF.
10734 linux* | k*bsd*-gnu)
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 soname_spec='${libname}${release}${shared_ext}$major'
10740 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10741 shlibpath_var=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath=no
10743 # Some binutils ld are patched to set DT_RUNPATH
10744 save_LDFLAGS=$LDFLAGS
10745 save_libdir=$libdir
10746 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10747 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10761 shlibpath_overrides_runpath=yes
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 LDFLAGS=$save_LDFLAGS
10767 libdir=$save_libdir
10769 # This implies no fast_install, which is unacceptable.
10770 # Some rework will be needed to allow for fast_install
10771 # before this can be enabled.
10772 hardcode_into_libs=yes
10774 # Append ld.so.conf contents to the search path
10775 if test -f /etc/ld.so.conf; then
10776 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;/^$/d' | tr '\n' ' '`
10777 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10780 # We used to test for /lib/ld.so.1 and disable shared libraries on
10781 # powerpc, because MkLinux only supported shared libraries with the
10782 # GNU dynamic linker. Since this was broken with cross compilers,
10783 # most powerpc-linux boxes support dynamic linking these days and
10784 # people can always --disable-shared, the test was removed, and we
10785 # assume the GNU/Linux dynamic linker is in use.
10786 dynamic_linker='GNU/Linux ld.so'
10793 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10796 dynamic_linker='NetBSD (a.out) ld.so'
10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10799 soname_spec='${libname}${release}${shared_ext}$major'
10800 dynamic_linker='NetBSD ld.elf_so'
10802 shlibpath_var=LD_LIBRARY_PATH
10803 shlibpath_overrides_runpath=yes
10804 hardcode_into_libs=yes
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810 shlibpath_var=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath=yes
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=no
10822 hardcode_into_libs=yes
10823 dynamic_linker='ldqnx.so'
10828 sys_lib_dlsearch_path_spec="/usr/lib"
10830 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10832 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10833 *) need_version=no ;;
10835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10836 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10837 shlibpath_var=LD_LIBRARY_PATH
10838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10840 openbsd2.[89] | openbsd2.[89].*)
10841 shlibpath_overrides_runpath=no
10844 shlibpath_overrides_runpath=yes
10848 shlibpath_overrides_runpath=yes
10853 libname_spec='$name'
10856 library_names_spec='$libname${shared_ext} $libname.a'
10857 dynamic_linker='OS/2 ld.exe'
10858 shlibpath_var=LIBPATH
10861 osf3* | osf4* | osf5*)
10865 soname_spec='${libname}${release}${shared_ext}$major'
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 shlibpath_var=LD_LIBRARY_PATH
10868 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10869 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=yes
10884 hardcode_into_libs=yes
10885 # ldd complains unless libraries are executable
10886 postinstall_cmds='chmod +x $lib'
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10892 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath=yes
10895 if test "$with_gnu_ld" = yes; then
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 shlibpath_var=LD_LIBRARY_PATH
10906 case $host_vendor in
10908 shlibpath_overrides_runpath=no
10910 runpath_var=LD_RUN_PATH
10918 shlibpath_overrides_runpath=no
10919 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10925 if test -d /usr/nec ;then
10927 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10928 soname_spec='$libname${shared_ext}.$major'
10929 shlibpath_var=LD_LIBRARY_PATH
10933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10934 version_type=freebsd-elf
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath=yes
10941 hardcode_into_libs=yes
10942 if test "$with_gnu_ld" = yes; then
10943 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10945 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10948 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10952 sys_lib_dlsearch_path_spec='/usr/lib'
10956 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 shlibpath_var=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath=no
10963 hardcode_into_libs=yes
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 shlibpath_var=LD_LIBRARY_PATH
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10978 $as_echo "$dynamic_linker" >&6; }
10979 test "$dynamic_linker" = no && can_build_shared=no
10981 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10982 if test "$GCC" = yes; then
10983 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10986 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10987 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10989 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10990 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11080 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11082 if test -n "$hardcode_libdir_flag_spec" ||
11083 test -n "$runpath_var" ||
11084 test "X$hardcode_automatic" = "Xyes" ; then
11086 # We can hardcode non-existent directories.
11087 if test "$hardcode_direct" != no &&
11088 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11089 # have to relink, otherwise we might link with an installed library
11090 # when we should be linking with a yet-to-be-installed one
11091 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11092 test "$hardcode_minus_L" != no; then
11093 # Linking always hardcodes the temporary library directory.
11094 hardcode_action=relink
11096 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11097 hardcode_action=immediate
11100 # We cannot hardcode anything, or else we can only hardcode existing
11102 hardcode_action=unsupported
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11105 $as_echo "$hardcode_action" >&6; }
11107 if test "$hardcode_action" = relink ||
11108 test "$inherit_rpath" = yes; then
11109 # Fast installation is not supported
11110 enable_fast_install=no
11111 elif test "$shlibpath_overrides_runpath" = yes ||
11112 test "$enable_shared" = no; then
11113 # Fast installation is not necessary
11114 enable_fast_install=needless
11122 if test "x$enable_dlopen" != xyes; then
11123 enable_dlopen=unknown
11124 enable_dlopen_self=unknown
11125 enable_dlopen_self_static=unknown
11132 lt_cv_dlopen="load_add_on"
11134 lt_cv_dlopen_self=yes
11137 mingw* | pw32* | cegcc*)
11138 lt_cv_dlopen="LoadLibrary"
11143 lt_cv_dlopen="dlopen"
11148 # if libdl is installed we need to link against it
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11150 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11151 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_lib_save_LIBS=$LIBS
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_dl_dlopen=yes
11177 ac_cv_lib_dl_dlopen=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11184 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11185 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11186 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11189 lt_cv_dlopen="dyld"
11191 lt_cv_dlopen_self=yes
11198 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11199 if test "x$ac_cv_func_shl_load" = x""yes; then :
11200 lt_cv_dlopen="shl_load"
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11203 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11204 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11205 $as_echo_n "(cached) " >&6
11207 ac_check_lib_save_LIBS=$LIBS
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11212 /* Override any GCC internal prototype to avoid an error.
11213 Use char because int might match the return type of a GCC
11214 builtin and then its argument prototype would still apply. */
11222 return shl_load ();
11227 if ac_fn_c_try_link "$LINENO"; then :
11228 ac_cv_lib_dld_shl_load=yes
11230 ac_cv_lib_dld_shl_load=no
11232 rm -f core conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11234 LIBS=$ac_check_lib_save_LIBS
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11237 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11238 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11239 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11241 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11242 if test "x$ac_cv_func_dlopen" = x""yes; then :
11243 lt_cv_dlopen="dlopen"
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11246 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11247 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11248 $as_echo_n "(cached) " >&6
11250 ac_check_lib_save_LIBS=$LIBS
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_dl_dlopen=yes
11273 ac_cv_lib_dl_dlopen=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11280 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11281 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11282 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11285 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11286 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11287 $as_echo_n "(cached) " >&6
11289 ac_check_lib_save_LIBS=$LIBS
11290 LIBS="-lsvld $LIBS"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_svld_dlopen=yes
11312 ac_cv_lib_svld_dlopen=no
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11319 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11320 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11321 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11324 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11325 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11328 ac_check_lib_save_LIBS=$LIBS
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11343 return dld_link ();
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 ac_cv_lib_dld_dld_link=yes
11351 ac_cv_lib_dld_dld_link=no
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11358 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11359 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11360 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11381 if test "x$lt_cv_dlopen" != xno; then
11387 case $lt_cv_dlopen in
11389 save_CPPFLAGS="$CPPFLAGS"
11390 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11392 save_LDFLAGS="$LDFLAGS"
11393 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11396 LIBS="$lt_cv_dlopen_libs $LIBS"
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11399 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11400 if test "${lt_cv_dlopen_self+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11403 if test "$cross_compiling" = yes; then :
11404 lt_cv_dlopen_self=cross
11406 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11407 lt_status=$lt_dlunknown
11408 cat > conftest.$ac_ext <<_LT_EOF
11409 #line 11409 "configure"
11410 #include "confdefs.h"
11419 # define LT_DLGLOBAL RTLD_GLOBAL
11422 # define LT_DLGLOBAL DL_GLOBAL
11424 # define LT_DLGLOBAL 0
11428 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11429 find out it does not work in some platform. */
11430 #ifndef LT_DLLAZY_OR_NOW
11432 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11435 # define LT_DLLAZY_OR_NOW DL_LAZY
11438 # define LT_DLLAZY_OR_NOW RTLD_NOW
11441 # define LT_DLLAZY_OR_NOW DL_NOW
11443 # define LT_DLLAZY_OR_NOW 0
11450 void fnord() { int i=42;}
11453 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11454 int status = $lt_dlunknown;
11458 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11459 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11460 /* dlclose (self); */
11468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11469 (eval $ac_link) 2>&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11472 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11473 (./conftest; exit; ) >&5 2>/dev/null
11475 case x$lt_status in
11476 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11477 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11478 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11481 # compilation failed
11482 lt_cv_dlopen_self=no
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11490 $as_echo "$lt_cv_dlopen_self" >&6; }
11492 if test "x$lt_cv_dlopen_self" = xyes; then
11493 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11495 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11496 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11497 $as_echo_n "(cached) " >&6
11499 if test "$cross_compiling" = yes; then :
11500 lt_cv_dlopen_self_static=cross
11502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11503 lt_status=$lt_dlunknown
11504 cat > conftest.$ac_ext <<_LT_EOF
11505 #line 11505 "configure"
11506 #include "confdefs.h"
11515 # define LT_DLGLOBAL RTLD_GLOBAL
11518 # define LT_DLGLOBAL DL_GLOBAL
11520 # define LT_DLGLOBAL 0
11524 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11525 find out it does not work in some platform. */
11526 #ifndef LT_DLLAZY_OR_NOW
11528 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11531 # define LT_DLLAZY_OR_NOW DL_LAZY
11534 # define LT_DLLAZY_OR_NOW RTLD_NOW
11537 # define LT_DLLAZY_OR_NOW DL_NOW
11539 # define LT_DLLAZY_OR_NOW 0
11546 void fnord() { int i=42;}
11549 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11550 int status = $lt_dlunknown;
11554 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11555 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11556 /* dlclose (self); */
11564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11565 (eval $ac_link) 2>&5
11567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11568 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11569 (./conftest; exit; ) >&5 2>/dev/null
11571 case x$lt_status in
11572 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11573 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11574 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11577 # compilation failed
11578 lt_cv_dlopen_self_static=no
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11586 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11589 CPPFLAGS="$save_CPPFLAGS"
11590 LDFLAGS="$save_LDFLAGS"
11595 case $lt_cv_dlopen_self in
11596 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11597 *) enable_dlopen_self=unknown ;;
11600 case $lt_cv_dlopen_self_static in
11601 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11602 *) enable_dlopen_self_static=unknown ;;
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11625 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11626 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11627 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11628 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11630 $as_echo "yes" >&6; }
11632 # FIXME - insert some real tests, host_os isn't really good enough
11635 if test -n "$STRIP" ; then
11636 striplib="$STRIP -x"
11637 old_striplib="$STRIP -S"
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11639 $as_echo "yes" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11647 $as_echo "no" >&6; }
11663 # Report which library types will actually be built
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11665 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11667 $as_echo "$can_build_shared" >&6; }
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11670 $as_echo_n "checking whether to build shared libraries... " >&6; }
11671 test "$can_build_shared" = "no" && enable_shared=no
11673 # On AIX, shared libraries and static libraries use the same namespace, and
11674 # are all built from PIC.
11677 test "$enable_shared" = yes && enable_static=no
11678 if test -n "$RANLIB"; then
11679 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11680 postinstall_cmds='$RANLIB $lib'
11685 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11686 test "$enable_shared" = yes && enable_static=no
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11691 $as_echo "$enable_shared" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11694 $as_echo_n "checking whether to build static libraries... " >&6; }
11695 # Make sure either enable_shared or enable_static is yes.
11696 test "$enable_shared" = yes || enable_static=yes
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11698 $as_echo "$enable_static" >&6; }
11705 ac_cpp='$CPP $CPPFLAGS'
11706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11724 ac_config_commands="$ac_config_commands libtool"
11729 # Only expand once:
11732 if test "x$CC" != xcc; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11734 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11737 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11739 set dummy $CC; ac_cc=`$as_echo "$2" |
11740 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11741 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11742 $as_echo_n "(cached) " >&6
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11755 # Make sure it works both with $CC and with simple cc.
11756 # We do the test twice because some compilers refuse to overwrite an
11757 # existing .o file with -o, though they will create one.
11758 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11760 if { { case "(($ac_try" in
11761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11762 *) ac_try_echo=$ac_try;;
11764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11765 $as_echo "$ac_try_echo"; } >&5
11766 (eval "$ac_try") 2>&5
11768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11769 test $ac_status = 0; } &&
11770 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11775 $as_echo "$ac_try_echo"; } >&5
11776 (eval "$ac_try") 2>&5
11778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11779 test $ac_status = 0; };
11781 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11782 if test "x$CC" != xcc; then
11783 # Test first that cc exists at all.
11784 if { ac_try='cc -c conftest.$ac_ext >&5'
11785 { { case "(($ac_try" in
11786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11787 *) ac_try_echo=$ac_try;;
11789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11790 $as_echo "$ac_try_echo"; } >&5
11791 (eval "$ac_try") 2>&5
11793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11794 test $ac_status = 0; }; }; then
11795 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11797 if { { case "(($ac_try" in
11798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799 *) ac_try_echo=$ac_try;;
11801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11802 $as_echo "$ac_try_echo"; } >&5
11803 (eval "$ac_try") 2>&5
11805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11806 test $ac_status = 0; } &&
11807 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11809 *) ac_try_echo=$ac_try;;
11811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11812 $as_echo "$ac_try_echo"; } >&5
11813 (eval "$ac_try") 2>&5
11815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11816 test $ac_status = 0; };
11821 # cc exists but doesn't like -o.
11822 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11827 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11829 rm -f core conftest*
11832 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11834 $as_echo "yes" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11839 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11843 # FIXME: we rely on the cache variable name because
11844 # there is no other way.
11846 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11847 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11848 if test "$am_t" != yes; then
11849 # Losing compiler, so override with the script.
11850 # FIXME: It is wrong to rewrite CC.
11851 # But if we don't then we get into trouble of one sort or another.
11852 # A longer-term fix would be to have automake use am__CC in this case,
11853 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11854 CC="$am_aux_dir/compile $CC"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports --as-needed" >&5
11860 $as_echo_n "checking whether ld supports --as-needed... " >&6; }
11861 if test "${pam_cv_ld_as_needed+set}" = set; then :
11862 $as_echo_n "(cached) " >&6
11864 cat > conftest.c <<EOF
11865 int main (void) { return 0; }
11867 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
11868 -o conftest.o conftest.c
11869 -Wl,--as-needed 1>&5'
11870 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11871 (eval $ac_try) 2>&5
11873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11874 test $ac_status = 0; }; }
11876 pam_cv_ld_as_needed=yes
11877 LDFLAGS="$LDFLAGS -Wl,--as-needed"
11879 pam_cv_ld_as_needed=no
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pam_cv_ld_as_needed" >&5
11884 $as_echo "$pam_cv_ld_as_needed" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports --no-undefined" >&5
11890 $as_echo_n "checking whether ld supports --no-undefined... " >&6; }
11891 if test "${pam_cv_ld_no_undefined+set}" = set; then :
11892 $as_echo_n "(cached) " >&6
11894 cat > conftest.c <<EOF
11895 int main (void) { return 0; }
11897 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
11898 -o conftest.o conftest.c
11899 -Wl,--no-undefined 1>&5'
11900 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11901 (eval $ac_try) 2>&5
11903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11904 test $ac_status = 0; }; }
11906 pam_cv_ld_no_undefined=yes
11907 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
11909 pam_cv_ld_no_undefined=no
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pam_cv_ld_no_undefined" >&5
11914 $as_echo "$pam_cv_ld_no_undefined" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports -O1" >&5
11920 $as_echo_n "checking whether ld supports -O1... " >&6; }
11921 if test "${pam_cv_ld_O1+set}" = set; then :
11922 $as_echo_n "(cached) " >&6
11924 cat > conftest.c <<EOF
11925 int main (void) { return 0; }
11927 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
11928 -o conftest.o conftest.c
11930 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11931 (eval $ac_try) 2>&5
11933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934 test $ac_status = 0; }; }
11937 LDFLAGS="$LDFLAGS -Wl,-O1"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pam_cv_ld_O1" >&5
11944 $as_echo "$pam_cv_ld_O1" >&6; }
11949 # Check whether --enable-largefile was given.
11950 if test "${enable_largefile+set}" = set; then :
11951 enableval=$enable_largefile;
11954 if test "$enable_largefile" != no; then
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11957 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11958 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11959 $as_echo_n "(cached) " >&6
11961 ac_cv_sys_largefile_CC=no
11962 if test "$GCC" != yes; then
11965 # IRIX 6.2 and later do not support large files by default,
11966 # so use the C compiler's -n32 option if that helps.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <sys/types.h>
11970 /* Check that off_t can represent 2**63 - 1 correctly.
11971 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11972 since some C++ compilers masquerading as C compilers
11973 incorrectly reject 9223372036854775807. */
11974 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11975 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11976 && LARGE_OFF_T % 2147483647 == 1)
11986 if ac_fn_c_try_compile "$LINENO"; then :
11989 rm -f core conftest.err conftest.$ac_objext
11991 if ac_fn_c_try_compile "$LINENO"; then :
11992 ac_cv_sys_largefile_CC=' -n32'; break
11994 rm -f core conftest.err conftest.$ac_objext
11998 rm -f conftest.$ac_ext
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12002 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12003 if test "$ac_cv_sys_largefile_CC" != no; then
12004 CC=$CC$ac_cv_sys_largefile_CC
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12008 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12009 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
12010 $as_echo_n "(cached) " >&6
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 #include <sys/types.h>
12016 /* Check that off_t can represent 2**63 - 1 correctly.
12017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12018 since some C++ compilers masquerading as C compilers
12019 incorrectly reject 9223372036854775807. */
12020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12022 && LARGE_OFF_T % 2147483647 == 1)
12032 if ac_fn_c_try_compile "$LINENO"; then :
12033 ac_cv_sys_file_offset_bits=no; break
12035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12038 #define _FILE_OFFSET_BITS 64
12039 #include <sys/types.h>
12040 /* Check that off_t can represent 2**63 - 1 correctly.
12041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12042 since some C++ compilers masquerading as C compilers
12043 incorrectly reject 9223372036854775807. */
12044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12046 && LARGE_OFF_T % 2147483647 == 1)
12056 if ac_fn_c_try_compile "$LINENO"; then :
12057 ac_cv_sys_file_offset_bits=64; break
12059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12060 ac_cv_sys_file_offset_bits=unknown
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12065 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12066 case $ac_cv_sys_file_offset_bits in #(
12069 cat >>confdefs.h <<_ACEOF
12070 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12075 if test $ac_cv_sys_file_offset_bits = unknown; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12077 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12078 if test "${ac_cv_sys_large_files+set}" = set; then :
12079 $as_echo_n "(cached) " >&6
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12084 #include <sys/types.h>
12085 /* Check that off_t can represent 2**63 - 1 correctly.
12086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12087 since some C++ compilers masquerading as C compilers
12088 incorrectly reject 9223372036854775807. */
12089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12091 && LARGE_OFF_T % 2147483647 == 1)
12101 if ac_fn_c_try_compile "$LINENO"; then :
12102 ac_cv_sys_large_files=no; break
12104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12107 #define _LARGE_FILES 1
12108 #include <sys/types.h>
12109 /* Check that off_t can represent 2**63 - 1 correctly.
12110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12111 since some C++ compilers masquerading as C compilers
12112 incorrectly reject 9223372036854775807. */
12113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12115 && LARGE_OFF_T % 2147483647 == 1)
12125 if ac_fn_c_try_compile "$LINENO"; then :
12126 ac_cv_sys_large_files=1; break
12128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12129 ac_cv_sys_large_files=unknown
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12134 $as_echo "$ac_cv_sys_large_files" >&6; }
12135 case $ac_cv_sys_large_files in #(
12138 cat >>confdefs.h <<_ACEOF
12139 #define _LARGE_FILES $ac_cv_sys_large_files
12148 if eval "test x$GCC = xyes -a $CC != icc"; then
12152 -Wbad-function-cast \
12155 -Wmissing-declarations \
12156 -Wmissing-prototypes \
12159 -Wstrict-prototypes \
12165 "$flag" | "$flag "* | *" $flag" | *" $flag "* )
12169 CFLAGS="$CFLAGS $flag"
12175 if eval "test x$CC = xicc"; then
12178 -Wmissing-prototypes \
12181 -Wstrict-prototypes \
12190 "$flag" | "$flag "* | *" $flag" | *" $flag "* )
12194 CFLAGS="$CFLAGS $flag"
12201 if test "x${CC_FOR_BUILD+set}" != "xset" ; then
12202 if test "x$cross_compiling" = "xyes" ; then
12203 for ac_prog in gcc cc
12205 # Extract the first word of "$ac_prog", so it can be a program name with args.
12206 set dummy $ac_prog; ac_word=$2
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12208 $as_echo_n "checking for $ac_word... " >&6; }
12209 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12212 if test -n "$CC_FOR_BUILD"; then
12213 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
12215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12216 for as_dir in $PATH
12219 test -z "$as_dir" && as_dir=.
12220 for ac_exec_ext in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_prog_CC_FOR_BUILD="$ac_prog"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12232 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
12233 if test -n "$CC_FOR_BUILD"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
12235 $as_echo "$CC_FOR_BUILD" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238 $as_echo "no" >&6; }
12242 test -n "$CC_FOR_BUILD" && break
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC_FOR_BUILD" >&5
12250 $as_echo_n "checking for CC_FOR_BUILD... " >&6; }
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
12252 $as_echo "$CC_FOR_BUILD" >&6; }
12255 if test "x${BUILD_CFLAGS+set}" != "xset" ; then
12256 if test "x$cross_compiling" = "xyes" ; then
12259 BUILD_CFLAGS=${CFLAGS}
12264 if test "x${BUILD_LDFLAGS+set}" != "xset" ; then
12265 if test "x$cross_compiling" = "xyes" ; then
12268 BUILD_LDFLAGS=${LDFLAGS}
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12275 $as_echo_n "checking for __attribute__... " >&6; }
12276 if test "${ac_cv___attribute__+set}" = set; then :
12277 $as_echo_n "(cached) " >&6
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 #include <stdlib.h>
12284 static void foo (void) __attribute__ ((unused));
12302 if ac_fn_c_try_compile "$LINENO"; then :
12303 ac_cv___attribute__=yes
12305 ac_cv___attribute__=no
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 if test "$ac_cv___attribute__" = "yes"; then
12312 $as_echo "#define UNUSED __attribute__ ((unused))" >>confdefs.h
12315 $as_echo "#define UNUSED /**/" >>confdefs.h
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
12319 $as_echo "$ac_cv___attribute__" >&6; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .symver assembler directive" >&5
12323 $as_echo_n "checking for .symver assembler directive... " >&6; }
12324 if test "${libc_cv_asm_symver_directive+set}" = set; then :
12325 $as_echo_n "(cached) " >&6
12327 cat > conftest.s <<EOF
12328 ${libc_cv_dot_text}
12330 .symver _sym,sym@VERS
12332 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
12333 libc_cv_asm_symver_directive=yes
12335 libc_cv_asm_symver_directive=no
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_symver_directive" >&5
12340 $as_echo "$libc_cv_asm_symver_directive" >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --version-script" >&5
12342 $as_echo_n "checking for ld --version-script... " >&6; }
12343 if test "${libc_cv_ld_version_script_option+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12346 if test $libc_cv_asm_symver_directive = yes; then
12347 cat > conftest.s <<EOF
12348 ${libc_cv_dot_text}
12350 .symver _sym,sym@VERS
12352 cat > conftest.map <<EOF
12361 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5;
12363 if { ac_try='${CC-cc} $CFLAGS $LDFLAGS -shared
12364 -o conftest.so conftest.o
12365 -nostartfiles -nostdlib
12366 -Wl,--version-script,conftest.map
12368 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12369 (eval $ac_try) 2>&5
12371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12372 test $ac_status = 0; }; };
12374 libc_cv_ld_version_script_option=yes
12376 libc_cv_ld_version_script_option=no
12379 libc_cv_ld_version_script_option=no
12382 libc_cv_ld_version_script_option=no
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_version_script_option" >&5
12387 $as_echo "$libc_cv_ld_version_script_option" >&6; }
12388 if test "$libc_cv_ld_version_script_option" = "yes"; then
12389 HAVE_VERSIONING_TRUE=
12390 HAVE_VERSIONING_FALSE='#'
12392 HAVE_VERSIONING_TRUE='#'
12393 HAVE_VERSIONING_FALSE=
12397 # Check whether --enable-pie was given.
12398 if test "${enable_pie+set}" = set; then :
12399 enableval=$enable_pie; USE_PIE=$enableval
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
12406 $as_echo_n "checking for -fpie... " >&6; }
12407 if test "${libc_cv_fpie+set}" = set; then :
12408 $as_echo_n "(cached) " >&6
12410 cat > conftest.c <<EOF
12412 main () { return 0;}
12414 if test "$USE_PIE" = "yes" -a "$CC" != "icc" &&
12415 { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
12416 -o conftest conftest.c 1>&5'
12417 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12418 (eval $ac_try) 2>&5
12420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12421 test $ac_status = 0; }; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
12434 $as_echo "$libc_cv_fpie" >&6; }
12441 # Check whether --enable-prelude was given.
12442 if test "${enable_prelude+set}" = set; then :
12443 enableval=$enable_prelude; WITH_PRELUDE=$enableval
12448 if test "$WITH_PRELUDE" == "yes" ; then
12450 # Check whether --with-libprelude-prefix was given.
12451 if test "${with_libprelude_prefix+set}" = set; then :
12452 withval=$with_libprelude_prefix; libprelude_config_prefix="$withval"
12454 libprelude_config_prefix=""
12458 if test x$libprelude_config_prefix != x ; then
12459 if test x${LIBPRELUDE_CONFIG+set} != xset ; then
12460 LIBPRELUDE_CONFIG=$libprelude_config_prefix/bin/libprelude-config
12464 # Extract the first word of "libprelude-config", so it can be a program name with args.
12465 set dummy libprelude-config; ac_word=$2
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12467 $as_echo_n "checking for $ac_word... " >&6; }
12468 if test "${ac_cv_path_LIBPRELUDE_CONFIG+set}" = set; then :
12469 $as_echo_n "(cached) " >&6
12471 case $LIBPRELUDE_CONFIG in
12473 ac_cv_path_LIBPRELUDE_CONFIG="$LIBPRELUDE_CONFIG" # Let the user override the test with a path.
12476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12477 for as_dir in $PATH
12480 test -z "$as_dir" && as_dir=.
12481 for ac_exec_ext in '' $ac_executable_extensions; do
12482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12483 ac_cv_path_LIBPRELUDE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12491 test -z "$ac_cv_path_LIBPRELUDE_CONFIG" && ac_cv_path_LIBPRELUDE_CONFIG="no"
12495 LIBPRELUDE_CONFIG=$ac_cv_path_LIBPRELUDE_CONFIG
12496 if test -n "$LIBPRELUDE_CONFIG"; then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPRELUDE_CONFIG" >&5
12498 $as_echo "$LIBPRELUDE_CONFIG" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12505 min_libprelude_version=0.9.0
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libprelude - version >= $min_libprelude_version" >&5
12507 $as_echo_n "checking for libprelude - version >= $min_libprelude_version... " >&6; }
12509 if test "$LIBPRELUDE_CONFIG" = "no" ; then
12512 LIBPRELUDE_CFLAGS=`$LIBPRELUDE_CONFIG $libprelude_config_args --cflags`
12513 LIBPRELUDE_PTHREAD_CFLAGS=`$LIBPRELUDE_CONFIG $libprelude_config_args --pthread-cflags`
12514 LIBPRELUDE_LDFLAGS=`$LIBPRELUDE_CONFIG $libprelude_config_args --ldflags`
12515 LIBPRELUDE_LIBS=`$LIBPRELUDE_CONFIG $libprelude_config_args --libs`
12516 LIBPRELUDE_PREFIX=`$LIBPRELUDE_CONFIG $libprelude_config_args --prefix`
12517 LIBPRELUDE_CONFIG_PREFIX=`$LIBPRELUDE_CONFIG $libprelude_config_args --config-prefix`
12518 libprelude_config_version=`$LIBPRELUDE_CONFIG $libprelude_config_args --version`
12521 ac_save_CFLAGS="$CFLAGS"
12522 ac_save_LDFLAGS="$LDFLAGS"
12523 ac_save_LIBS="$LIBS"
12524 CFLAGS="$CFLAGS $LIBPRELUDE_CFLAGS"
12525 LDFLAGS="$LDFLAGS $LIBPRELUDE_LDFLAGS"
12526 LIBS="$LIBS $LIBPRELUDE_LIBS"
12527 rm -f conf.libpreludetest
12528 if test "$cross_compiling" = yes; then :
12529 echo $ac_n "cross compiling; assumed OK... $ac_c"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12535 #include <stdlib.h>
12536 #include <string.h>
12537 #include <libprelude/prelude.h>
12542 system ("touch conf.libpreludetest");
12544 if( strcmp( prelude_check_version(NULL), "$libprelude_config_version" ) )
12546 printf("\n*** 'libprelude-config --version' returned %s, but LIBPRELUDE (%s)\n",
12547 "$libprelude_config_version", prelude_check_version(NULL) );
12548 printf("*** was found! If libprelude-config was correct, then it is best\n");
12549 printf("*** to remove the old version of LIBPRELUDE. You may also be able to fix the error\n");
12550 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12551 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12552 printf("*** required on your system.\n");
12553 printf("*** If libprelude-config was wrong, set the environment variable LIBPRELUDE_CONFIG\n");
12554 printf("*** to point to the correct copy of libprelude-config, and remove the file config.cache\n");
12555 printf("*** before re-running configure\n");
12557 else if ( strcmp(prelude_check_version(NULL), LIBPRELUDE_VERSION ) )
12559 printf("\n*** LIBPRELUDE header file (version %s) does not match\n", LIBPRELUDE_VERSION);
12560 printf("*** library (version %s)\n", prelude_check_version(NULL) );
12564 if ( prelude_check_version( "$min_libprelude_version" ) )
12570 printf("no\n*** An old version of LIBPRELUDE (%s) was found.\n",
12571 prelude_check_version(NULL) );
12572 printf("*** You need a version of LIBPRELUDE newer than %s. The latest version of\n",
12573 "$min_libprelude_version" );
12574 printf("*** LIBPRELUDE is always available from http://www.prelude-ids.org/download/releases.\n");
12576 printf("*** If you have already installed a sufficiently new version, this error\n");
12577 printf("*** probably means that the wrong copy of the libprelude-config shell script is\n");
12578 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12579 printf("*** of LIBPRELUDE, but you can also set the LIBPRELUDE_CONFIG environment to point to the\n");
12580 printf("*** correct copy of libprelude-config. (In this case, you will have to\n");
12581 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12582 printf("*** so that the correct libraries are found at run-time))\n");
12589 if ac_fn_c_try_run "$LINENO"; then :
12594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12595 conftest.$ac_objext conftest.beam conftest.$ac_ext
12598 CFLAGS="$ac_save_CFLAGS"
12599 LIBS="$ac_save_LIBS"
12600 LDFLAGS="$ac_save_LDFLAGS"
12603 if test "x$no_libprelude" = x ; then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12605 $as_echo "yes" >&6; }
12608 if test -f conf.libpreludetest ; then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12612 $as_echo "no" >&6; }
12614 if test "$LIBPRELUDE_CONFIG" = "no" ; then
12615 echo "*** The libprelude-config script installed by LIBPRELUDE could not be found"
12616 echo "*** If LIBPRELUDE was installed in PREFIX, make sure PREFIX/bin is in"
12617 echo "*** your path, or set the LIBPRELUDE_CONFIG environment variable to the"
12618 echo "*** full path to libprelude-config."
12620 if test -f conf.libpreludetest ; then
12623 echo "*** Could not run libprelude test program, checking why..."
12624 CFLAGS="$CFLAGS $LIBPRELUDE_CFLAGS"
12625 LDFLAGS="$LDFLAGS $LIBPRELUDE_LDFLAGS"
12626 LIBS="$LIBS $LIBPRELUDE_LIBS"
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12631 #include <stdlib.h>
12632 #include <string.h>
12633 #include <libprelude/prelude.h>
12638 return !!prelude_check_version(NULL);
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 echo "*** The test program compiled, but did not run. This usually means"
12645 echo "*** that the run-time linker is not finding LIBPRELUDE or finding the wrong"
12646 echo "*** version of LIBPRELUDE. If it is not finding LIBPRELUDE, you'll need to set your"
12647 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12648 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12649 echo "*** is required on your system"
12651 echo "*** If you have an old version installed, it is best to remove it, although"
12652 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12655 echo "*** The test program failed to compile or link. See the file config.log for the"
12656 echo "*** exact error that occured. This usually means LIBPRELUDE was incorrectly installed"
12657 echo "*** or that you have moved LIBPRELUDE since it was installed. In the latter case, you"
12658 echo "*** may want to edit the libprelude-config script: $LIBPRELUDE_CONFIG"
12660 rm -f core conftest.err conftest.$ac_objext \
12661 conftest$ac_exeext conftest.$ac_ext
12662 CFLAGS="$ac_save_CFLAGS"
12663 LDFLAGS="$ac_save_LDFLAGS"
12664 LIBS="$ac_save_LIBS"
12667 LIBPRELUDE_CFLAGS=""
12668 LIBPRELUDE_LDFLAGS=""
12672 rm -f conf.libpreludetest
12680 if test "$LIBPRELUDE_CONFIG" != "no" ; then
12681 LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1"
12685 # Check whether --enable-debug was given.
12686 if test "${enable_debug+set}" = set; then :
12687 enableval=$enable_debug;
12691 if test x"$enable_debug" = x"yes" ; then
12693 $as_echo "#define PAM_DEBUG /**/" >>confdefs.h
12697 # Check whether --enable-securedir was given.
12698 if test "${enable_securedir+set}" = set; then :
12699 enableval=$enable_securedir; SECUREDIR=$enableval
12701 SECUREDIR=$libdir/security
12706 # Check whether --enable-isadir was given.
12707 if test "${enable_isadir+set}" = set; then :
12708 enableval=$enable_isadir; ISA=$enableval
12710 ISA=../../`basename $libdir`/security
12715 cat >>confdefs.h <<_ACEOF
12716 #define _PAM_ISA "$ISA"
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defining \$ISA to \"$ISA\"" >&5
12720 $as_echo "Defining \$ISA to \"$ISA\"" >&6; }
12722 # Check whether --enable-sconfigdir was given.
12723 if test "${enable_sconfigdir+set}" = set; then :
12724 enableval=$enable_sconfigdir; SCONFIGDIR=$enableval
12726 SCONFIGDIR=$sysconfdir/security
12731 # Check whether --enable-pamlocking was given.
12732 if test "${enable_pamlocking+set}" = set; then :
12733 enableval=$enable_pamlocking;
12737 if test x"$enable_pamlocking" = "xyes"; then
12739 $as_echo "#define PAM_LOCKING /**/" >>confdefs.h
12743 # Check whether --enable-read-both-confs was given.
12744 if test "${enable_read_both_confs+set}" = set; then :
12745 enableval=$enable_read_both_confs;
12749 if test x"$enable_read_both_confs" = "xyes"; then
12751 $as_echo "#define PAM_READ_BOTH_CONFS /**/" >>confdefs.h
12755 # Check whether --enable-lckpwdf was given.
12756 if test "${enable_lckpwdf+set}" = set; then :
12757 enableval=$enable_lckpwdf; WITH_LCKPWDF=$enableval
12762 if test "$WITH_LCKPWDF" == "yes" ; then
12764 $as_echo "#define USE_LCKPWDF 1" >>confdefs.h
12768 for ac_header in paths.h
12770 ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
12771 if test "x$ac_cv_header_paths_h" = x""yes; then :
12772 cat >>confdefs.h <<_ACEOF
12773 #define HAVE_PATHS_H 1
12781 # Check whether --with-mailspool was given.
12782 if test "${with_mailspool+set}" = set; then :
12783 withval=$with_mailspool; with_mailspool=${withval}
12786 if test x$with_mailspool != x ; then
12787 pam_mail_spool="\"$with_mailspool\""
12789 if test "$cross_compiling" = yes; then :
12790 pam_mail_spool="\"/var/spool/mail\""
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12797 #ifdef _PATH_MAILDIR
12804 if ac_fn_c_try_run "$LINENO"; then :
12805 pam_mail_spool="_PATH_MAILDIR"
12807 pam_mail_spool="\"/var/spool/mail\""
12809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12810 conftest.$ac_objext conftest.beam conftest.$ac_ext
12815 cat >>confdefs.h <<_ACEOF
12816 #define PAM_PATH_MAILDIR $pam_mail_spool
12821 # Check whether --with-xauth was given.
12822 if test "${with_xauth+set}" = set; then :
12823 withval=$with_xauth; pam_xauth_path=${withval}
12826 if test x$with_xauth == x ; then
12827 # Extract the first word of "xauth", so it can be a program name with args.
12828 set dummy xauth; ac_word=$2
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12830 $as_echo_n "checking for $ac_word... " >&6; }
12831 if test "${ac_cv_path_pam_xauth_path+set}" = set; then :
12832 $as_echo_n "(cached) " >&6
12834 case $pam_xauth_path in
12836 ac_cv_path_pam_xauth_path="$pam_xauth_path" # Let the user override the test with a path.
12839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12840 for as_dir in $PATH
12843 test -z "$as_dir" && as_dir=.
12844 for ac_exec_ext in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_path_pam_xauth_path="$as_dir/$ac_word$ac_exec_ext"
12847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12857 pam_xauth_path=$ac_cv_path_pam_xauth_path
12858 if test -n "$pam_xauth_path"; then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pam_xauth_path" >&5
12860 $as_echo "$pam_xauth_path" >&6; }
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12863 $as_echo "no" >&6; }
12867 if test x$pam_xauth_path == x/usr/X11R6/bin/xauth ; then
12868 unset pam_xauth_path
12872 if test x$pam_xauth_path != x ; then
12874 cat >>confdefs.h <<_ACEOF
12875 #define PAM_PATH_XAUTH "$pam_xauth_path"
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12881 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12883 $as_echo_n "(cached) " >&6
12885 ac_check_lib_save_LIBS=$LIBS
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 /* Override any GCC internal prototype to avoid an error.
12891 Use char because int might match the return type of a GCC
12892 builtin and then its argument prototype would still apply. */
12905 if ac_fn_c_try_link "$LINENO"; then :
12906 ac_cv_lib_dl_dlopen=yes
12908 ac_cv_lib_dl_dlopen=no
12910 rm -f core conftest.err conftest.$ac_objext \
12911 conftest$ac_exeext conftest.$ac_ext
12912 LIBS=$ac_check_lib_save_LIBS
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12915 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12916 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12924 # Check for cracklib
12925 # Check whether --enable-cracklib was given.
12926 if test "${enable_cracklib+set}" = set; then :
12927 enableval=$enable_cracklib; WITH_CRACKLIB=$enableval
12932 if test x"$WITH_CRACKLIB" != xno ; then
12933 for ac_header in crack.h
12935 ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
12936 if test "x$ac_cv_header_crack_h" = x""yes; then :
12937 cat >>confdefs.h <<_ACEOF
12938 #define HAVE_CRACK_H 1
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FascistCheck in -lcrack" >&5
12941 $as_echo_n "checking for FascistCheck in -lcrack... " >&6; }
12942 if test "${ac_cv_lib_crack_FascistCheck+set}" = set; then :
12943 $as_echo_n "(cached) " >&6
12945 ac_check_lib_save_LIBS=$LIBS
12946 LIBS="-lcrack $LIBS"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 /* Override any GCC internal prototype to avoid an error.
12951 Use char because int might match the return type of a GCC
12952 builtin and then its argument prototype would still apply. */
12956 char FascistCheck ();
12960 return FascistCheck ();
12965 if ac_fn_c_try_link "$LINENO"; then :
12966 ac_cv_lib_crack_FascistCheck=yes
12968 ac_cv_lib_crack_FascistCheck=no
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_lib_save_LIBS
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crack_FascistCheck" >&5
12975 $as_echo "$ac_cv_lib_crack_FascistCheck" >&6; }
12976 if test "x$ac_cv_lib_crack_FascistCheck" = x""yes; then :
12989 if test -n "$LIBCRACK"; then
12991 $as_echo "#define HAVE_LIBCRACK 1" >>confdefs.h
12995 if test -n "$LIBCRACK"; then
12996 HAVE_LIBCRACK_TRUE=
12997 HAVE_LIBCRACK_FALSE='#'
12999 HAVE_LIBCRACK_TRUE='#'
13000 HAVE_LIBCRACK_FALSE=
13004 # Check whether --enable-audit was given.
13005 if test "${enable_audit+set}" = set; then :
13006 enableval=$enable_audit; WITH_LIBAUDIT=$enableval
13011 if test x"$WITH_LIBAUDIT" != xno ; then
13012 ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
13013 if test "x$ac_cv_header_libaudit_h" = x""yes; then :
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_acct_message in -laudit" >&5
13015 $as_echo_n "checking for audit_log_acct_message in -laudit... " >&6; }
13016 if test "${ac_cv_lib_audit_audit_log_acct_message+set}" = set; then :
13017 $as_echo_n "(cached) " >&6
13019 ac_check_lib_save_LIBS=$LIBS
13020 LIBS="-laudit $LIBS"
13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13030 char audit_log_acct_message ();
13034 return audit_log_acct_message ();
13039 if ac_fn_c_try_link "$LINENO"; then :
13040 ac_cv_lib_audit_audit_log_acct_message=yes
13042 ac_cv_lib_audit_audit_log_acct_message=no
13044 rm -f core conftest.err conftest.$ac_objext \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_lib_save_LIBS
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_acct_message" >&5
13049 $as_echo "$ac_cv_lib_audit_audit_log_acct_message" >&6; }
13050 if test "x$ac_cv_lib_audit_audit_log_acct_message" = x""yes; then :
13056 ac_fn_c_check_type "$LINENO" "struct audit_tty_status" "ac_cv_type_struct_audit_tty_status" "#include <libaudit.h>
13058 if test "x$ac_cv_type_struct_audit_tty_status" = x""yes; then :
13059 HAVE_AUDIT_TTY_STATUS=yes
13061 HAVE_AUDIT_TTY_STATUS=""
13068 if test ! -z "$LIBAUDIT" -a "$ac_cv_header_libaudit_h" != "no" ; then
13070 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
13073 if test ! -z "$HAVE_AUDIT_TTY_STATUS" ; then
13075 $as_echo "#define HAVE_AUDIT_TTY_STATUS 1" >>confdefs.h
13082 if test "x$HAVE_AUDIT_TTY_STATUS" = xyes; then
13083 HAVE_AUDIT_TTY_STATUS_TRUE=
13084 HAVE_AUDIT_TTY_STATUS_FALSE='#'
13086 HAVE_AUDIT_TTY_STATUS_TRUE='#'
13087 HAVE_AUDIT_TTY_STATUS_FALSE=
13091 for ac_header in xcrypt.h crypt.h
13093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13094 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13095 eval as_val=\$$as_ac_Header
13096 if test "x$as_val" = x""yes; then :
13097 cat >>confdefs.h <<_ACEOF
13098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105 if test "x$ac_cv_header_xcrypt_h" = "xyes"; then :
13106 crypt_libs="xcrypt crypt"
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13113 $as_echo_n "checking for library containing crypt... " >&6; }
13114 if test "${ac_cv_search_crypt+set}" = set; then :
13115 $as_echo_n "(cached) " >&6
13117 ac_func_search_save_LIBS=$LIBS
13118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13121 /* Override any GCC internal prototype to avoid an error.
13122 Use char because int might match the return type of a GCC
13123 builtin and then its argument prototype would still apply. */
13136 for ac_lib in '' $crypt_libs; do
13137 if test -z "$ac_lib"; then
13138 ac_res="none required"
13141 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 ac_cv_search_crypt=$ac_res
13146 rm -f core conftest.err conftest.$ac_objext \
13148 if test "${ac_cv_search_crypt+set}" = set; then :
13152 if test "${ac_cv_search_crypt+set}" = set; then :
13155 ac_cv_search_crypt=no
13157 rm conftest.$ac_ext
13158 LIBS=$ac_func_search_save_LIBS
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13161 $as_echo "$ac_cv_search_crypt" >&6; }
13162 ac_res=$ac_cv_search_crypt
13163 if test "$ac_res" != no; then :
13164 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13165 LIBCRYPT="-l$ac_lib"
13170 for ac_func in crypt_r crypt_gensalt_r
13172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13174 eval as_val=\$$as_ac_var
13175 if test "x$as_val" = x""yes; then :
13176 cat >>confdefs.h <<_ACEOF
13177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13185 if test "$LIBCRYPT" = "-lxcrypt" -a "$ac_cv_header_xcrypt_h" = "yes" ; then
13187 $as_echo "#define HAVE_LIBXCRYPT 1" >>confdefs.h
13192 # Check whether --with-randomdev was given.
13193 if test "${with_randomdev+set}" = set; then :
13194 withval=$with_randomdev; opt_randomdev=$withval
13197 if test "$opt_randomdev" = yes -o -z "$opt_randomdev"; then
13198 opt_randomdev="/dev/urandom"
13199 elif test "$opt_randomdev" = no; then
13202 if test -n "$opt_randomdev"; then
13204 cat >>confdefs.h <<_ACEOF
13205 #define PAM_PATH_RANDOMDEV "$opt_randomdev"
13210 # Check whether --enable-db was given.
13211 if test "${enable_db+set}" = set; then :
13212 enableval=$enable_db; WITH_DB=$enableval
13218 # Check whether --with-db-uniquename was given.
13219 if test "${with_db_uniquename+set}" = set; then :
13220 withval=$with_db_uniquename;
13223 if test x"$WITH_DB" != xno ; then
13224 if test x"$WITH_DB" = xyes -o x"$WITH_DB" = xdb ; then
13226 LIBS="$LIBS -ldb$with_db_uniquename"
13227 for ac_func in db_create$with_db_uniquename db_create dbm_store$with_db_uniquename dbm_store
13229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13231 eval as_val=\$$as_ac_var
13232 if test "x$as_val" = x""yes; then :
13233 cat >>confdefs.h <<_ACEOF
13234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13236 LIBDB="-ldb$with_db_uniquename"; break
13242 if test -z "$LIBDB" ; then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_store in -lndbm" >&5
13244 $as_echo_n "checking for dbm_store in -lndbm... " >&6; }
13245 if test "${ac_cv_lib_ndbm_dbm_store+set}" = set; then :
13246 $as_echo_n "(cached) " >&6
13248 ac_check_lib_save_LIBS=$LIBS
13249 LIBS="-lndbm $LIBS"
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13263 return dbm_store ();
13268 if ac_fn_c_try_link "$LINENO"; then :
13269 ac_cv_lib_ndbm_dbm_store=yes
13271 ac_cv_lib_ndbm_dbm_store=no
13273 rm -f core conftest.err conftest.$ac_objext \
13274 conftest$ac_exeext conftest.$ac_ext
13275 LIBS=$ac_check_lib_save_LIBS
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ndbm_dbm_store" >&5
13278 $as_echo "$ac_cv_lib_ndbm_dbm_store" >&6; }
13279 if test "x$ac_cv_lib_ndbm_dbm_store" = x""yes; then :
13285 if test ! -z "$LIBDB" ; then
13286 for ac_header in ndbm.h
13288 ac_fn_c_check_header_mongrel "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default"
13289 if test "x$ac_cv_header_ndbm_h" = x""yes; then :
13290 cat >>confdefs.h <<_ACEOF
13291 #define HAVE_NDBM_H 1
13300 for ac_header in db.h
13302 ac_fn_c_check_header_mongrel "$LINENO" "db.h" "ac_cv_header_db_h" "$ac_includes_default"
13303 if test "x$ac_cv_header_db_h" = x""yes; then :
13304 cat >>confdefs.h <<_ACEOF
13305 #define HAVE_DB_H 1
13315 if test ! -z "$LIBDB"; then
13317 HAVE_LIBDB_FALSE='#'
13319 HAVE_LIBDB_TRUE='#'
13324 # Check whether --enable-nis was given.
13325 if test "${enable_nis+set}" = set; then :
13326 enableval=$enable_nis;
13332 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13333 if test -n "$ac_tool_prefix"; then
13334 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13335 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13337 $as_echo_n "checking for $ac_word... " >&6; }
13338 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13339 $as_echo_n "(cached) " >&6
13341 case $PKG_CONFIG in
13343 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13347 for as_dir in $PATH
13350 test -z "$as_dir" && as_dir=.
13351 for ac_exec_ext in '' $ac_executable_extensions; do
13352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13353 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13364 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13365 if test -n "$PKG_CONFIG"; then
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13367 $as_echo "$PKG_CONFIG" >&6; }
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13375 if test -z "$ac_cv_path_PKG_CONFIG"; then
13376 ac_pt_PKG_CONFIG=$PKG_CONFIG
13377 # Extract the first word of "pkg-config", so it can be a program name with args.
13378 set dummy pkg-config; ac_word=$2
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13380 $as_echo_n "checking for $ac_word... " >&6; }
13381 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13382 $as_echo_n "(cached) " >&6
13384 case $ac_pt_PKG_CONFIG in
13386 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13390 for as_dir in $PATH
13393 test -z "$as_dir" && as_dir=.
13394 for ac_exec_ext in '' $ac_executable_extensions; do
13395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13396 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13407 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13408 if test -n "$ac_pt_PKG_CONFIG"; then
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13410 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13413 $as_echo "no" >&6; }
13416 if test "x$ac_pt_PKG_CONFIG" = x; then
13419 case $cross_compiling:$ac_tool_warned in
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13423 ac_tool_warned=yes ;;
13425 PKG_CONFIG=$ac_pt_PKG_CONFIG
13428 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13432 if test -n "$PKG_CONFIG"; then
13433 _pkg_min_version=0.9.0
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13435 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13436 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13438 $as_echo "yes" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13441 $as_echo "no" >&6; }
13446 if test "x$enable_nis" != "xno"; then :
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtirpc" >&5
13454 $as_echo_n "checking for libtirpc... " >&6; }
13456 if test -n "$libtirpc_CFLAGS"; then
13457 pkg_cv_libtirpc_CFLAGS="$libtirpc_CFLAGS"
13458 elif test -n "$PKG_CONFIG"; then
13459 if test -n "$PKG_CONFIG" && \
13460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtirpc\""; } >&5
13461 ($PKG_CONFIG --exists --print-errors "libtirpc") 2>&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13464 test $ac_status = 0; }; then
13465 pkg_cv_libtirpc_CFLAGS=`$PKG_CONFIG --cflags "libtirpc" 2>/dev/null`
13472 if test -n "$libtirpc_LIBS"; then
13473 pkg_cv_libtirpc_LIBS="$libtirpc_LIBS"
13474 elif test -n "$PKG_CONFIG"; then
13475 if test -n "$PKG_CONFIG" && \
13476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtirpc\""; } >&5
13477 ($PKG_CONFIG --exists --print-errors "libtirpc") 2>&5
13479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13480 test $ac_status = 0; }; then
13481 pkg_cv_libtirpc_LIBS=`$PKG_CONFIG --libs "libtirpc" 2>/dev/null`
13491 if test $pkg_failed = yes; then
13493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13494 _pkg_short_errors_supported=yes
13496 _pkg_short_errors_supported=no
13498 if test $_pkg_short_errors_supported = yes; then
13499 libtirpc_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libtirpc" 2>&1`
13501 libtirpc_PKG_ERRORS=`$PKG_CONFIG --print-errors "libtirpc" 2>&1`
13503 # Put the nasty error message in config.log where it belongs
13504 echo "$libtirpc_PKG_ERRORS" >&5
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507 $as_echo "no" >&6; }
13509 elif test $pkg_failed = untried; then
13512 libtirpc_CFLAGS=$pkg_cv_libtirpc_CFLAGS
13513 libtirpc_LIBS=$pkg_cv_libtirpc_LIBS
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13515 $as_echo "yes" >&6; }
13517 CFLAGS="$CFLAGS $libtirpc_CFLAGS"
13518 LIBS="$LIBS $libtirpc_LIBS"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yp_get_default_domain" >&5
13523 $as_echo_n "checking for library containing yp_get_default_domain... " >&6; }
13524 if test "${ac_cv_search_yp_get_default_domain+set}" = set; then :
13525 $as_echo_n "(cached) " >&6
13527 ac_func_search_save_LIBS=$LIBS
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13537 char yp_get_default_domain ();
13541 return yp_get_default_domain ();
13546 for ac_lib in '' nsl; do
13547 if test -z "$ac_lib"; then
13548 ac_res="none required"
13551 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13553 if ac_fn_c_try_link "$LINENO"; then :
13554 ac_cv_search_yp_get_default_domain=$ac_res
13556 rm -f core conftest.err conftest.$ac_objext \
13558 if test "${ac_cv_search_yp_get_default_domain+set}" = set; then :
13562 if test "${ac_cv_search_yp_get_default_domain+set}" = set; then :
13565 ac_cv_search_yp_get_default_domain=no
13567 rm conftest.$ac_ext
13568 LIBS=$ac_func_search_save_LIBS
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_get_default_domain" >&5
13571 $as_echo "$ac_cv_search_yp_get_default_domain" >&6; }
13572 ac_res=$ac_cv_search_yp_get_default_domain
13573 if test "$ac_res" != no; then :
13574 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13579 for ac_func in yp_get_default_domain yperr_string yp_master yp_bind yp_match yp_unbind
13581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13583 eval as_val=\$$as_ac_var
13584 if test "x$as_val" = x""yes; then :
13585 cat >>confdefs.h <<_ACEOF
13586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13592 for ac_header in rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h
13594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13595 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13596 eval as_val=\$$as_ac_Header
13597 if test "x$as_val" = x""yes; then :
13598 cat >>confdefs.h <<_ACEOF
13599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13606 ac_fn_c_check_decl "$LINENO" "getrpcport" "ac_cv_have_decl_getrpcport" "
13608 # include <rpc/rpc.h>
13612 if test "x$ac_cv_have_decl_getrpcport" = x""yes; then :
13618 cat >>confdefs.h <<_ACEOF
13619 #define HAVE_DECL_GETRPCPORT $ac_have_decl
13623 NIS_CFLAGS="${CFLAGS%${old_CFLAGS}}"
13624 NIS_LIBS="${LIBS%${old_LIBS}}"
13626 CFLAGS="$old_CFLAGS"
13634 # Check whether --enable-selinux was given.
13635 if test "${enable_selinux+set}" = set; then :
13636 enableval=$enable_selinux; WITH_SELINUX=$enableval
13641 if test "$WITH_SELINUX" == "yes" ; then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfilecon in -lselinux" >&5
13643 $as_echo_n "checking for getfilecon in -lselinux... " >&6; }
13644 if test "${ac_cv_lib_selinux_getfilecon+set}" = set; then :
13645 $as_echo_n "(cached) " >&6
13647 ac_check_lib_save_LIBS=$LIBS
13648 LIBS="-lselinux $LIBS"
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13652 /* Override any GCC internal prototype to avoid an error.
13653 Use char because int might match the return type of a GCC
13654 builtin and then its argument prototype would still apply. */
13658 char getfilecon ();
13662 return getfilecon ();
13667 if ac_fn_c_try_link "$LINENO"; then :
13668 ac_cv_lib_selinux_getfilecon=yes
13670 ac_cv_lib_selinux_getfilecon=no
13672 rm -f core conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13674 LIBS=$ac_check_lib_save_LIBS
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_getfilecon" >&5
13677 $as_echo "$ac_cv_lib_selinux_getfilecon" >&6; }
13678 if test "x$ac_cv_lib_selinux_getfilecon" = x""yes; then :
13679 LIBSELINUX="-lselinux"
13688 if test ! -z "$LIBSELINUX"; then
13689 HAVE_LIBSELINUX_TRUE=
13690 HAVE_LIBSELINUX_FALSE='#'
13692 HAVE_LIBSELINUX_TRUE='#'
13693 HAVE_LIBSELINUX_FALSE=
13696 if test ! -z "$LIBSELINUX" ; then
13698 $as_echo "#define WITH_SELINUX 1" >>confdefs.h
13701 LIBS="$LIBS $LIBSELINUX"
13702 for ac_func in setkeycreatecon
13704 ac_fn_c_check_func "$LINENO" "setkeycreatecon" "ac_cv_func_setkeycreatecon"
13705 if test "x$ac_cv_func_setkeycreatecon" = x""yes; then :
13706 cat >>confdefs.h <<_ACEOF
13707 #define HAVE_SETKEYCREATECON 1
13713 for ac_func in getseuser
13715 ac_fn_c_check_func "$LINENO" "getseuser" "ac_cv_func_getseuser"
13716 if test "x$ac_cv_func_getseuser" = x""yes; then :
13717 cat >>confdefs.h <<_ACEOF
13718 #define HAVE_GETSEUSER 1
13727 ac_header_dirent=no
13728 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13729 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13731 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
13733 $as_echo_n "(cached) " >&6
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13737 #include <sys/types.h>
13749 if ac_fn_c_try_compile "$LINENO"; then :
13750 eval "$as_ac_Header=yes"
13752 eval "$as_ac_Header=no"
13754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13756 eval ac_res=\$$as_ac_Header
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13758 $as_echo "$ac_res" >&6; }
13759 eval as_val=\$$as_ac_Header
13760 if test "x$as_val" = x""yes; then :
13761 cat >>confdefs.h <<_ACEOF
13762 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13765 ac_header_dirent=$ac_hdr; break
13769 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13770 if test $ac_header_dirent = dirent.h; then
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13772 $as_echo_n "checking for library containing opendir... " >&6; }
13773 if test "${ac_cv_search_opendir+set}" = set; then :
13774 $as_echo_n "(cached) " >&6
13776 ac_func_search_save_LIBS=$LIBS
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13795 for ac_lib in '' dir; do
13796 if test -z "$ac_lib"; then
13797 ac_res="none required"
13800 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13802 if ac_fn_c_try_link "$LINENO"; then :
13803 ac_cv_search_opendir=$ac_res
13805 rm -f core conftest.err conftest.$ac_objext \
13807 if test "${ac_cv_search_opendir+set}" = set; then :
13811 if test "${ac_cv_search_opendir+set}" = set; then :
13814 ac_cv_search_opendir=no
13816 rm conftest.$ac_ext
13817 LIBS=$ac_func_search_save_LIBS
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13820 $as_echo "$ac_cv_search_opendir" >&6; }
13821 ac_res=$ac_cv_search_opendir
13822 if test "$ac_res" != no; then :
13823 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13829 $as_echo_n "checking for library containing opendir... " >&6; }
13830 if test "${ac_cv_search_opendir+set}" = set; then :
13831 $as_echo_n "(cached) " >&6
13833 ac_func_search_save_LIBS=$LIBS
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13837 /* Override any GCC internal prototype to avoid an error.
13838 Use char because int might match the return type of a GCC
13839 builtin and then its argument prototype would still apply. */
13852 for ac_lib in '' x; do
13853 if test -z "$ac_lib"; then
13854 ac_res="none required"
13857 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 ac_cv_search_opendir=$ac_res
13862 rm -f core conftest.err conftest.$ac_objext \
13864 if test "${ac_cv_search_opendir+set}" = set; then :
13868 if test "${ac_cv_search_opendir+set}" = set; then :
13871 ac_cv_search_opendir=no
13873 rm conftest.$ac_ext
13874 LIBS=$ac_func_search_save_LIBS
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13877 $as_echo "$ac_cv_search_opendir" >&6; }
13878 ac_res=$ac_cv_search_opendir
13879 if test "$ac_res" != no; then :
13880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13887 $as_echo_n "checking for ANSI C header files... " >&6; }
13888 if test "${ac_cv_header_stdc+set}" = set; then :
13889 $as_echo_n "(cached) " >&6
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13893 #include <stdlib.h>
13894 #include <stdarg.h>
13895 #include <string.h>
13906 if ac_fn_c_try_compile "$LINENO"; then :
13907 ac_cv_header_stdc=yes
13909 ac_cv_header_stdc=no
13911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13913 if test $ac_cv_header_stdc = yes; then
13914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <string.h>
13920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13921 $EGREP "memchr" >/dev/null 2>&1; then :
13924 ac_cv_header_stdc=no
13930 if test $ac_cv_header_stdc = yes; then
13931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 #include <stdlib.h>
13937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13938 $EGREP "free" >/dev/null 2>&1; then :
13941 ac_cv_header_stdc=no
13947 if test $ac_cv_header_stdc = yes; then
13948 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13949 if test "$cross_compiling" = yes; then :
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 #include <stdlib.h>
13956 #if ((' ' & 0x0FF) == 0x020)
13957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13960 # define ISLOWER(c) \
13961 (('a' <= (c) && (c) <= 'i') \
13962 || ('j' <= (c) && (c) <= 'r') \
13963 || ('s' <= (c) && (c) <= 'z'))
13964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13972 for (i = 0; i < 256; i++)
13973 if (XOR (islower (i), ISLOWER (i))
13974 || toupper (i) != TOUPPER (i))
13979 if ac_fn_c_try_run "$LINENO"; then :
13982 ac_cv_header_stdc=no
13984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13985 conftest.$ac_objext conftest.beam conftest.$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13991 $as_echo "$ac_cv_header_stdc" >&6; }
13992 if test $ac_cv_header_stdc = yes; then
13994 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
13999 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
14000 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
14001 $as_echo_n "(cached) " >&6
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 #include <sys/types.h>
14006 #include <sys/wait.h>
14007 #ifndef WEXITSTATUS
14008 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
14011 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14019 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14024 if ac_fn_c_try_compile "$LINENO"; then :
14025 ac_cv_header_sys_wait_h=yes
14027 ac_cv_header_sys_wait_h=no
14029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
14032 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
14033 if test $ac_cv_header_sys_wait_h = yes; then
14035 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
14039 for ac_header in fcntl.h limits.h malloc.h sys/file.h sys/ioctl.h sys/time.h syslog.h net/if.h termio.h unistd.h sys/fsuid.h inittypes.h
14041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14042 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14043 eval as_val=\$$as_ac_Header
14044 if test "x$as_val" = x""yes; then :
14045 cat >>confdefs.h <<_ACEOF
14046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14054 for ac_header in lastlog.h utmp.h utmpx.h
14056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14057 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14058 eval as_val=\$$as_ac_Header
14059 if test "x$as_val" = x""yes; then :
14060 cat >>confdefs.h <<_ACEOF
14061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14070 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14071 if test "${ac_cv_c_bigendian+set}" = set; then :
14072 $as_echo_n "(cached) " >&6
14074 ac_cv_c_bigendian=unknown
14075 # See if we're dealing with a universal compiler.
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078 #ifndef __APPLE_CC__
14079 not a universal capable compiler
14084 if ac_fn_c_try_compile "$LINENO"; then :
14086 # Check for potential -arch flags. It is not universal unless
14087 # there are at least two -arch flags with different values.
14090 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14091 if test -n "$ac_prev"; then
14093 i?86 | x86_64 | ppc | ppc64)
14094 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14097 ac_cv_c_bigendian=universal
14103 elif test "x$ac_word" = "x-arch"; then
14108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14109 if test $ac_cv_c_bigendian = unknown; then
14110 # See if sys/param.h defines the BYTE_ORDER macro.
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14113 #include <sys/types.h>
14114 #include <sys/param.h>
14119 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14120 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14122 bogus endian macros
14129 if ac_fn_c_try_compile "$LINENO"; then :
14130 # It does; now see whether it defined to BIG_ENDIAN or not.
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 #include <sys/types.h>
14134 #include <sys/param.h>
14139 #if BYTE_ORDER != BIG_ENDIAN
14147 if ac_fn_c_try_compile "$LINENO"; then :
14148 ac_cv_c_bigendian=yes
14150 ac_cv_c_bigendian=no
14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14156 if test $ac_cv_c_bigendian = unknown; then
14157 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 #include <limits.h>
14165 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14166 bogus endian macros
14173 if ac_fn_c_try_compile "$LINENO"; then :
14174 # It does; now see whether it defined to _BIG_ENDIAN or not.
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 #include <limits.h>
14182 #ifndef _BIG_ENDIAN
14190 if ac_fn_c_try_compile "$LINENO"; then :
14191 ac_cv_c_bigendian=yes
14193 ac_cv_c_bigendian=no
14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14199 if test $ac_cv_c_bigendian = unknown; then
14200 # Compile a test program.
14201 if test "$cross_compiling" = yes; then :
14202 # Try to guess by grepping values from an object file.
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 short int ascii_mm[] =
14206 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14207 short int ascii_ii[] =
14208 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14209 int use_ascii (int i) {
14210 return ascii_mm[i] + ascii_ii[i];
14212 short int ebcdic_ii[] =
14213 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14214 short int ebcdic_mm[] =
14215 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14216 int use_ebcdic (int i) {
14217 return ebcdic_mm[i] + ebcdic_ii[i];
14224 return use_ascii (foo) == use_ebcdic (foo);
14229 if ac_fn_c_try_compile "$LINENO"; then :
14230 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14231 ac_cv_c_bigendian=yes
14233 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14234 if test "$ac_cv_c_bigendian" = unknown; then
14235 ac_cv_c_bigendian=no
14237 # finding both strings is unlikely to happen, but who knows?
14238 ac_cv_c_bigendian=unknown
14242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 $ac_includes_default
14251 /* Are we little or big endian? From Harbison&Steele. */
14255 char c[sizeof (long int)];
14258 return u.c[sizeof (long int) - 1] == 1;
14264 if ac_fn_c_try_run "$LINENO"; then :
14265 ac_cv_c_bigendian=no
14267 ac_cv_c_bigendian=yes
14269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14270 conftest.$ac_objext conftest.beam conftest.$ac_ext
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14276 $as_echo "$ac_cv_c_bigendian" >&6; }
14277 case $ac_cv_c_bigendian in #(
14279 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14285 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14289 as_fn_error "unknown endianness
14290 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14294 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14295 if test "${ac_cv_c_const+set}" = set; then :
14296 $as_echo_n "(cached) " >&6
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14304 /* FIXME: Include the comments suggested by Paul. */
14305 #ifndef __cplusplus
14306 /* Ultrix mips cc rejects this. */
14307 typedef int charset[2];
14309 /* SunOS 4.1.1 cc rejects this. */
14310 char const *const *pcpcc;
14312 /* NEC SVR4.0.2 mips cc rejects this. */
14313 struct point {int x, y;};
14314 static struct point const zero = {0,0};
14315 /* AIX XL C 1.02.0.0 rejects this.
14316 It does not let you subtract one const X* pointer from another in
14317 an arm of an if-expression whose if-part is not a constant
14319 const char *g = "string";
14320 pcpcc = &g + (g ? g-g : 0);
14321 /* HPUX 7.0 cc rejects these. */
14323 ppc = (char**) pcpcc;
14324 pcpcc = (char const *const *) ppc;
14325 { /* SCO 3.2v4 cc rejects this. */
14327 char const *s = 0 ? (char *) 0 : (char const *) 0;
14332 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14333 int x[] = {25, 17};
14334 const int *foo = &x[0];
14337 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14338 typedef const int *iptr;
14342 { /* AIX XL C 1.02.0.0 rejects this saying
14343 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14344 struct s { int j; const int *ap[3]; };
14345 struct s *b; b->j = 5;
14347 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14348 const int foo = 10;
14349 if (!foo) return 0;
14351 return !cs[0] && !zero.x;
14358 if ac_fn_c_try_compile "$LINENO"; then :
14363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14366 $as_echo "$ac_cv_c_const" >&6; }
14367 if test $ac_cv_c_const = no; then
14369 $as_echo "#define const /**/" >>confdefs.h
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
14374 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
14375 if test "${ac_cv_type_uid_t+set}" = set; then :
14376 $as_echo_n "(cached) " >&6
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 #include <sys/types.h>
14383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14384 $EGREP "uid_t" >/dev/null 2>&1; then :
14385 ac_cv_type_uid_t=yes
14387 ac_cv_type_uid_t=no
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
14393 $as_echo "$ac_cv_type_uid_t" >&6; }
14394 if test $ac_cv_type_uid_t = no; then
14396 $as_echo "#define uid_t int" >>confdefs.h
14399 $as_echo "#define gid_t int" >>confdefs.h
14403 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14404 if test "x$ac_cv_type_off_t" = x""yes; then :
14408 cat >>confdefs.h <<_ACEOF
14409 #define off_t long int
14414 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14415 if test "x$ac_cv_type_pid_t" = x""yes; then :
14419 cat >>confdefs.h <<_ACEOF
14425 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14426 if test "x$ac_cv_type_size_t" = x""yes; then :
14430 cat >>confdefs.h <<_ACEOF
14431 #define size_t unsigned int
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14437 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14438 if test "${ac_cv_header_time+set}" = set; then :
14439 $as_echo_n "(cached) " >&6
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 #include <sys/types.h>
14444 #include <sys/time.h>
14450 if ((struct tm *) 0)
14456 if ac_fn_c_try_compile "$LINENO"; then :
14457 ac_cv_header_time=yes
14459 ac_cv_header_time=no
14461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14464 $as_echo "$ac_cv_header_time" >&6; }
14465 if test $ac_cv_header_time = yes; then
14467 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
14472 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
14473 if test "${ac_cv_struct_tm+set}" = set; then :
14474 $as_echo_n "(cached) " >&6
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 #include <sys/types.h>
14485 int *p = &tm.tm_sec;
14491 if ac_fn_c_try_compile "$LINENO"; then :
14492 ac_cv_struct_tm=time.h
14494 ac_cv_struct_tm=sys/time.h
14496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
14499 $as_echo "$ac_cv_struct_tm" >&6; }
14500 if test $ac_cv_struct_tm = sys/time.h; then
14502 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
14508 $as_echo_n "checking type of array argument to getgroups... " >&6; }
14509 if test "${ac_cv_type_getgroups+set}" = set; then :
14510 $as_echo_n "(cached) " >&6
14512 if test "$cross_compiling" = yes; then :
14513 ac_cv_type_getgroups=cross
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 /* Thanks to Mike Rendell for this test. */
14518 $ac_includes_default
14521 #define MAX(x, y) ((x) > (y) ? (x) : (y))
14526 gid_t gidset[NGID];
14528 union { gid_t gval; long int lval; } val;
14531 for (i = 0; i < NGID; i++)
14532 gidset[i] = val.gval;
14533 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
14535 /* Exit non-zero if getgroups seems to require an array of ints. This
14536 happens when gid_t is short int but getgroups modifies an array
14538 return n > 0 && gidset[n] != val.gval;
14541 if ac_fn_c_try_run "$LINENO"; then :
14542 ac_cv_type_getgroups=gid_t
14544 ac_cv_type_getgroups=int
14546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14547 conftest.$ac_objext conftest.beam conftest.$ac_ext
14550 if test $ac_cv_type_getgroups = cross; then
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <unistd.h>
14556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14557 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
14558 ac_cv_type_getgroups=gid_t
14560 ac_cv_type_getgroups=int
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
14567 $as_echo "$ac_cv_type_getgroups" >&6; }
14569 cat >>confdefs.h <<_ACEOF
14570 #define GETGROUPS_T $ac_cv_type_getgroups
14574 if test $ac_cv_c_compiler_gnu = yes; then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
14576 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
14577 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
14578 $as_echo_n "(cached) " >&6
14580 ac_pattern="Autoconf.*'x'"
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14587 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
14588 ac_cv_prog_gcc_traditional=yes
14590 ac_cv_prog_gcc_traditional=no
14595 if test $ac_cv_prog_gcc_traditional = no; then
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 #include <termio.h>
14601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14602 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
14603 ac_cv_prog_gcc_traditional=yes
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
14610 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
14611 if test $ac_cv_prog_gcc_traditional = yes; then
14612 CC="$CC -traditional"
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
14617 $as_echo_n "checking for working memcmp... " >&6; }
14618 if test "${ac_cv_func_memcmp_working+set}" = set; then :
14619 $as_echo_n "(cached) " >&6
14621 if test "$cross_compiling" = yes; then :
14622 ac_cv_func_memcmp_working=no
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 $ac_includes_default
14631 /* Some versions of memcmp are not 8-bit clean. */
14632 char c0 = '\100', c1 = '\200', c2 = '\201';
14633 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
14636 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
14637 or more and with at least one buffer not starting on a 4-byte boundary.
14638 William Lewis provided this test program. */
14643 for (i = 0; i < 4; i++)
14647 strcpy (a, "--------01111111");
14648 strcpy (b, "--------10000000");
14649 if (memcmp (a, b, 16) >= 0)
14659 if ac_fn_c_try_run "$LINENO"; then :
14660 ac_cv_func_memcmp_working=yes
14662 ac_cv_func_memcmp_working=no
14664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14665 conftest.$ac_objext conftest.beam conftest.$ac_ext
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
14670 $as_echo "$ac_cv_func_memcmp_working" >&6; }
14671 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
14672 *" memcmp.$ac_objext "* ) ;;
14673 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
14678 for ac_func in vprintf
14680 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
14681 if test "x$ac_cv_func_vprintf" = x""yes; then :
14682 cat >>confdefs.h <<_ACEOF
14683 #define HAVE_VPRINTF 1
14686 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
14687 if test "x$ac_cv_func__doprnt" = x""yes; then :
14689 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14697 for ac_func in fseeko getdomainname gethostname gettimeofday lckpwdf mkdir select
14699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14701 eval as_val=\$$as_ac_var
14702 if test "x$as_val" = x""yes; then :
14703 cat >>confdefs.h <<_ACEOF
14704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14710 for ac_func in strcspn strdup strspn strstr strtol uname
14712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14714 eval as_val=\$$as_ac_var
14715 if test "x$as_val" = x""yes; then :
14716 cat >>confdefs.h <<_ACEOF
14717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14723 for ac_func in getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r
14725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14727 eval as_val=\$$as_ac_var
14728 if test "x$as_val" = x""yes; then :
14729 cat >>confdefs.h <<_ACEOF
14730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14736 for ac_func in getgrouplist getline getdelim
14738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14740 eval as_val=\$$as_ac_var
14741 if test "x$as_val" = x""yes; then :
14742 cat >>confdefs.h <<_ACEOF
14743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14749 for ac_func in inet_ntop inet_pton innetgr ruserok_af
14751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14753 eval as_val=\$$as_ac_var
14754 if test "x$as_val" = x""yes; then :
14755 cat >>confdefs.h <<_ACEOF
14756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14763 for ac_func in unshare
14765 ac_fn_c_check_func "$LINENO" "unshare" "ac_cv_func_unshare"
14766 if test "x$ac_cv_func_unshare" = x""yes; then :
14767 cat >>confdefs.h <<_ACEOF
14768 #define HAVE_UNSHARE 1
14776 if test "$UNSHARE" = yes; then
14778 HAVE_UNSHARE_FALSE='#'
14780 HAVE_UNSHARE_TRUE='#'
14781 HAVE_UNSHARE_FALSE=
14785 # Check whether --enable-regenerate-docu was given.
14786 if test "${enable_regenerate_docu+set}" = set; then :
14787 enableval=$enable_regenerate_docu; enable_docu=$enableval
14792 # Extract the first word of "xsltproc", so it can be a program name with args.
14793 set dummy xsltproc; ac_word=$2
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14795 $as_echo_n "checking for $ac_word... " >&6; }
14796 if test "${ac_cv_path_XSLTPROC+set}" = set; then :
14797 $as_echo_n "(cached) " >&6
14801 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
14804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14805 for as_dir in $PATH
14808 test -z "$as_dir" && as_dir=.
14809 for ac_exec_ext in '' $ac_executable_extensions; do
14810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14811 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
14812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14822 XSLTPROC=$ac_cv_path_XSLTPROC
14823 if test -n "$XSLTPROC"; then
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14825 $as_echo "$XSLTPROC" >&6; }
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14828 $as_echo "no" >&6; }
14832 if test -z "$XSLTPROC"; then
14835 # Extract the first word of "xmllint", so it can be a program name with args.
14836 set dummy xmllint; ac_word=$2
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14838 $as_echo_n "checking for $ac_word... " >&6; }
14839 if test "${ac_cv_path_XMLLINT+set}" = set; then :
14840 $as_echo_n "(cached) " >&6
14844 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
14847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14848 for as_dir in $PATH
14851 test -z "$as_dir" && as_dir=.
14852 for ac_exec_ext in '' $ac_executable_extensions; do
14853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14854 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
14855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14862 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/bin/true"
14866 XMLLINT=$ac_cv_path_XMLLINT
14867 if test -n "$XMLLINT"; then
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
14869 $as_echo "$XMLLINT" >&6; }
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14872 $as_echo "no" >&6; }
14877 # check for the presence of the XML catalog
14879 # Check whether --with-xml-catalog was given.
14880 if test "${with_xml_catalog+set}" = set; then :
14881 withval=$with_xml_catalog;
14883 with_xml_catalog=/etc/xml/catalog
14886 jh_found_xmlcatalog=true
14887 XML_CATALOG_FILE="$with_xml_catalog"
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5
14890 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
14891 if test -f "$XML_CATALOG_FILE"; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14893 $as_echo "found" >&6; }
14895 jh_found_xmlcatalog=false
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14897 $as_echo "not found" >&6; }
14900 # check for the xmlcatalog program
14901 # Extract the first word of "xmlcatalog", so it can be a program name with args.
14902 set dummy xmlcatalog; ac_word=$2
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14904 $as_echo_n "checking for $ac_word... " >&6; }
14905 if test "${ac_cv_path_XMLCATALOG+set}" = set; then :
14906 $as_echo_n "(cached) " >&6
14908 case $XMLCATALOG in
14910 ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
14913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14914 for as_dir in $PATH
14917 test -z "$as_dir" && as_dir=.
14918 for ac_exec_ext in '' $ac_executable_extensions; do
14919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14920 ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
14921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14928 test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
14932 XMLCATALOG=$ac_cv_path_XMLCATALOG
14933 if test -n "$XMLCATALOG"; then
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
14935 $as_echo "$XMLCATALOG" >&6; }
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14938 $as_echo "no" >&6; }
14942 if test "x$XMLCATALOG" = xno; then
14943 jh_found_xmlcatalog=false
14946 if $jh_found_xmlcatalog; then
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.4 in XML catalog" >&5
14954 $as_echo_n "checking for DocBook XML DTD V4.4 in XML catalog... " >&6; }
14955 if $jh_found_xmlcatalog && \
14956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.4//EN\" >&2"; } >&5
14957 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.4//EN" >&2) 2>&5
14959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14960 test $ac_status = 0; }; then
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14962 $as_echo "found" >&6; }
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14965 $as_echo "not found" >&6; }
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5
14971 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
14972 if $jh_found_xmlcatalog && \
14973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2"; } >&5
14974 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
14976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14977 test $ac_status = 0; }; then
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14979 $as_echo "found" >&6; }
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14982 $as_echo "not found" >&6; }
14987 # Extract the first word of "w3m", so it can be a program name with args.
14988 set dummy w3m; ac_word=$2
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14990 $as_echo_n "checking for $ac_word... " >&6; }
14991 if test "${ac_cv_path_BROWSER+set}" = set; then :
14992 $as_echo_n "(cached) " >&6
14996 ac_cv_path_BROWSER="$BROWSER" # Let the user override the test with a path.
14999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15000 for as_dir in $PATH
15003 test -z "$as_dir" && as_dir=.
15004 for ac_exec_ext in '' $ac_executable_extensions; do
15005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15006 ac_cv_path_BROWSER="$as_dir/$ac_word$ac_exec_ext"
15007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15017 BROWSER=$ac_cv_path_BROWSER
15018 if test -n "$BROWSER"; then
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BROWSER" >&5
15020 $as_echo "$BROWSER" >&6; }
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15023 $as_echo "no" >&6; }
15027 if test ! -z "$BROWSER"; then
15028 BROWSER="$BROWSER -T text/html -dump"
15033 # Extract the first word of "fop", so it can be a program name with args.
15034 set dummy fop; ac_word=$2
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15036 $as_echo_n "checking for $ac_word... " >&6; }
15037 if test "${ac_cv_path_FO2PDF+set}" = set; then :
15038 $as_echo_n "(cached) " >&6
15042 ac_cv_path_FO2PDF="$FO2PDF" # Let the user override the test with a path.
15045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15046 for as_dir in $PATH
15049 test -z "$as_dir" && as_dir=.
15050 for ac_exec_ext in '' $ac_executable_extensions; do
15051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15052 ac_cv_path_FO2PDF="$as_dir/$ac_word$ac_exec_ext"
15053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15063 FO2PDF=$ac_cv_path_FO2PDF
15064 if test -n "$FO2PDF"; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FO2PDF" >&5
15066 $as_echo "$FO2PDF" >&6; }
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15069 $as_echo "no" >&6; }
15074 if test x$enable_docu != xno; then
15075 ENABLE_REGENERATE_MAN_TRUE=
15076 ENABLE_REGENERATE_MAN_FALSE='#'
15078 ENABLE_REGENERATE_MAN_TRUE='#'
15079 ENABLE_REGENERATE_MAN_FALSE=
15082 if test ! -z "$FO2PDF"; then
15083 ENABLE_GENERATE_PDF_TRUE=
15084 ENABLE_GENERATE_PDF_FALSE='#'
15086 ENABLE_GENERATE_PDF_TRUE='#'
15087 ENABLE_GENERATE_PDF_FALSE=
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15095 $as_echo_n "checking whether NLS is requested... " >&6; }
15096 # Check whether --enable-nls was given.
15097 if test "${enable_nls+set}" = set; then :
15098 enableval=$enable_nls; USE_NLS=$enableval
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15104 $as_echo "$USE_NLS" >&6; }
15111 # Prepare PATH_SEPARATOR.
15112 # The user is always right.
15113 if test "${PATH_SEPARATOR+set}" != set; then
15114 echo "#! /bin/sh" >conf$$.sh
15115 echo "exit 0" >>conf$$.sh
15117 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15125 # Find out how to test for executable files. Don't use a zero-byte file,
15126 # as systems may use methods other than mode bits to determine executability.
15127 cat >conf$$.file <<_ASEOF
15131 chmod +x conf$$.file
15132 if test -x conf$$.file >/dev/null 2>&1; then
15133 ac_executable_p="test -x"
15135 ac_executable_p="test -f"
15139 # Extract the first word of "msgfmt", so it can be a program name with args.
15140 set dummy msgfmt; ac_word=$2
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15142 $as_echo_n "checking for $ac_word... " >&6; }
15143 if test "${ac_cv_path_MSGFMT+set}" = set; then :
15144 $as_echo_n "(cached) " >&6
15148 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15151 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15152 for ac_dir in $PATH; do
15154 test -z "$ac_dir" && ac_dir=.
15155 for ac_exec_ext in '' $ac_executable_extensions; do
15156 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15157 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15158 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
15159 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15160 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
15167 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
15171 MSGFMT="$ac_cv_path_MSGFMT"
15172 if test "$MSGFMT" != ":"; then
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15174 $as_echo "$MSGFMT" >&6; }
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15177 $as_echo "no" >&6; }
15180 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15181 set dummy gmsgfmt; ac_word=$2
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15183 $as_echo_n "checking for $ac_word... " >&6; }
15184 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15185 $as_echo_n "(cached) " >&6
15189 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15193 for as_dir in $PATH
15196 test -z "$as_dir" && as_dir=.
15197 for ac_exec_ext in '' $ac_executable_extensions; do
15198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15199 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15207 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15211 GMSGFMT=$ac_cv_path_GMSGFMT
15212 if test -n "$GMSGFMT"; then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15214 $as_echo "$GMSGFMT" >&6; }
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15217 $as_echo "no" >&6; }
15222 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15223 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
15224 *) MSGFMT_015=$MSGFMT ;;
15227 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15228 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
15229 *) GMSGFMT_015=$GMSGFMT ;;
15234 # Prepare PATH_SEPARATOR.
15235 # The user is always right.
15236 if test "${PATH_SEPARATOR+set}" != set; then
15237 echo "#! /bin/sh" >conf$$.sh
15238 echo "exit 0" >>conf$$.sh
15240 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15248 # Find out how to test for executable files. Don't use a zero-byte file,
15249 # as systems may use methods other than mode bits to determine executability.
15250 cat >conf$$.file <<_ASEOF
15254 chmod +x conf$$.file
15255 if test -x conf$$.file >/dev/null 2>&1; then
15256 ac_executable_p="test -x"
15258 ac_executable_p="test -f"
15262 # Extract the first word of "xgettext", so it can be a program name with args.
15263 set dummy xgettext; ac_word=$2
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15265 $as_echo_n "checking for $ac_word... " >&6; }
15266 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15269 case "$XGETTEXT" in
15271 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15274 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15275 for ac_dir in $PATH; do
15277 test -z "$ac_dir" && ac_dir=.
15278 for ac_exec_ext in '' $ac_executable_extensions; do
15279 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15280 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15281 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
15282 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15283 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
15290 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15294 XGETTEXT="$ac_cv_path_XGETTEXT"
15295 if test "$XGETTEXT" != ":"; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15297 $as_echo "$XGETTEXT" >&6; }
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15300 $as_echo "no" >&6; }
15305 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
15306 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
15307 *) XGETTEXT_015=$XGETTEXT ;;
15312 # Prepare PATH_SEPARATOR.
15313 # The user is always right.
15314 if test "${PATH_SEPARATOR+set}" != set; then
15315 echo "#! /bin/sh" >conf$$.sh
15316 echo "exit 0" >>conf$$.sh
15318 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15326 # Find out how to test for executable files. Don't use a zero-byte file,
15327 # as systems may use methods other than mode bits to determine executability.
15328 cat >conf$$.file <<_ASEOF
15332 chmod +x conf$$.file
15333 if test -x conf$$.file >/dev/null 2>&1; then
15334 ac_executable_p="test -x"
15336 ac_executable_p="test -f"
15340 # Extract the first word of "msgmerge", so it can be a program name with args.
15341 set dummy msgmerge; ac_word=$2
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15343 $as_echo_n "checking for $ac_word... " >&6; }
15344 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
15345 $as_echo_n "(cached) " >&6
15347 case "$MSGMERGE" in
15349 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15352 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
15353 for ac_dir in $PATH; do
15355 test -z "$ac_dir" && ac_dir=.
15356 for ac_exec_ext in '' $ac_executable_extensions; do
15357 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15358 echo "$as_me: trying $ac_dir/$ac_word..." >&5
15359 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
15360 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
15367 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
15371 MSGMERGE="$ac_cv_path_MSGMERGE"
15372 if test "$MSGMERGE" != ":"; then
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15374 $as_echo "$MSGMERGE" >&6; }
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15377 $as_echo "no" >&6; }
15381 test -n "$localedir" || localedir='${datadir}/locale'
15384 ac_config_commands="$ac_config_commands po-directories"
15388 if test "X$prefix" = "XNONE"; then
15389 acl_final_prefix="$ac_default_prefix"
15391 acl_final_prefix="$prefix"
15393 if test "X$exec_prefix" = "XNONE"; then
15394 acl_final_exec_prefix='${prefix}'
15396 acl_final_exec_prefix="$exec_prefix"
15398 acl_save_prefix="$prefix"
15399 prefix="$acl_final_prefix"
15400 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15401 prefix="$acl_save_prefix"
15404 # Check whether --with-gnu-ld was given.
15405 if test "${with_gnu_ld+set}" = set; then :
15406 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15411 # Prepare PATH_SEPARATOR.
15412 # The user is always right.
15413 if test "${PATH_SEPARATOR+set}" != set; then
15414 echo "#! /bin/sh" >conf$$.sh
15415 echo "exit 0" >>conf$$.sh
15417 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15425 if test "$GCC" = yes; then
15426 # Check if gcc -print-prog-name=ld gives a path.
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15428 $as_echo_n "checking for ld used by GCC... " >&6; }
15431 # gcc leaves a trailing carriage return which upsets mingw
15432 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15434 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15437 # Accept absolute paths.
15438 [\\/]* | [A-Za-z]:[\\/]*)
15439 re_direlt='/[^/][^/]*/\.\./'
15440 # Canonicalize the path of ld
15441 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15442 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15443 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15445 test -z "$LD" && LD="$ac_prog"
15448 # If it fails, then pretend we aren't using GCC.
15452 # If it is relative, then search for the first ld in PATH.
15453 with_gnu_ld=unknown
15456 elif test "$with_gnu_ld" = yes; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15458 $as_echo_n "checking for GNU ld... " >&6; }
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15461 $as_echo_n "checking for non-GNU ld... " >&6; }
15463 if test "${acl_cv_path_LD+set}" = set; then :
15464 $as_echo_n "(cached) " >&6
15466 if test -z "$LD"; then
15467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15468 for ac_dir in $PATH; do
15469 test -z "$ac_dir" && ac_dir=.
15470 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15471 acl_cv_path_LD="$ac_dir/$ac_prog"
15472 # Check to see if the program is GNU ld. I'd rather use --version,
15473 # but apparently some GNU ld's only accept -v.
15474 # Break only if it was the GNU/non-GNU ld that we prefer.
15475 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15476 *GNU* | *'with BFD'*)
15477 test "$with_gnu_ld" != no && break ;;
15479 test "$with_gnu_ld" != yes && break ;;
15485 acl_cv_path_LD="$LD" # Let the user override the test with a path.
15489 LD="$acl_cv_path_LD"
15490 if test -n "$LD"; then
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15492 $as_echo "$LD" >&6; }
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15495 $as_echo "no" >&6; }
15497 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15499 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15500 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
15501 $as_echo_n "(cached) " >&6
15503 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15504 case `$LD -v 2>&1 </dev/null` in
15505 *GNU* | *'with BFD'*)
15506 acl_cv_prog_gnu_ld=yes ;;
15508 acl_cv_prog_gnu_ld=no ;;
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15512 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15513 with_gnu_ld=$acl_cv_prog_gnu_ld
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15519 $as_echo_n "checking for shared library run path origin... " >&6; }
15520 if test "${acl_cv_rpath+set}" = set; then :
15521 $as_echo_n "(cached) " >&6
15524 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
15525 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15527 rm -f ./conftest.sh
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15532 $as_echo "$acl_cv_rpath" >&6; }
15534 libext="$acl_cv_libext"
15535 shlibext="$acl_cv_shlibext"
15536 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
15537 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
15538 hardcode_direct="$acl_cv_hardcode_direct"
15539 hardcode_minus_L="$acl_cv_hardcode_minus_L"
15540 # Check whether --enable-rpath was given.
15541 if test "${enable_rpath+set}" = set; then :
15542 enableval=$enable_rpath; :
15550 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15551 if test -n "$searchpath"; then
15552 acl_save_IFS="${IFS= }"; IFS=":"
15553 for searchdir in $searchpath; do
15554 if test -d "$searchdir"; then
15555 case "$searchdir" in
15556 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
15557 *) searchdir=`cd "$searchdir" && pwd`
15558 case "$searchdir" in
15559 */lib64 ) acl_libdirstem=lib64 ;;
15564 IFS="$acl_save_IFS"
15576 acl_save_prefix="$prefix"
15577 prefix="$acl_final_prefix"
15578 acl_save_exec_prefix="$exec_prefix"
15579 exec_prefix="$acl_final_exec_prefix"
15581 eval additional_includedir=\"$includedir\"
15582 eval additional_libdir=\"$libdir\"
15584 exec_prefix="$acl_save_exec_prefix"
15585 prefix="$acl_save_prefix"
15588 # Check whether --with-libiconv-prefix was given.
15589 if test "${with_libiconv_prefix+set}" = set; then :
15590 withval=$with_libiconv_prefix;
15591 if test "X$withval" = "Xno"; then
15594 if test "X$withval" = "X"; then
15596 acl_save_prefix="$prefix"
15597 prefix="$acl_final_prefix"
15598 acl_save_exec_prefix="$exec_prefix"
15599 exec_prefix="$acl_final_exec_prefix"
15601 eval additional_includedir=\"$includedir\"
15602 eval additional_libdir=\"$libdir\"
15604 exec_prefix="$acl_save_exec_prefix"
15605 prefix="$acl_save_prefix"
15608 additional_includedir="$withval/include"
15609 additional_libdir="$withval/$acl_libdirstem"
15620 names_already_handled=
15621 names_next_round='iconv '
15622 while test -n "$names_next_round"; do
15623 names_this_round="$names_next_round"
15625 for name in $names_this_round; do
15627 for n in $names_already_handled; do
15628 if test "$n" = "$name"; then
15629 already_handled=yes
15633 if test -z "$already_handled"; then
15634 names_already_handled="$names_already_handled $name"
15635 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15636 eval value=\"\$HAVE_LIB$uppername\"
15637 if test -n "$value"; then
15638 if test "$value" = yes; then
15639 eval value=\"\$LIB$uppername\"
15640 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15641 eval value=\"\$LTLIB$uppername\"
15642 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15651 if test $use_additional = yes; then
15652 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
15653 found_dir="$additional_libdir"
15654 found_so="$additional_libdir/lib$name.$shlibext"
15655 if test -f "$additional_libdir/lib$name.la"; then
15656 found_la="$additional_libdir/lib$name.la"
15659 if test -f "$additional_libdir/lib$name.$libext"; then
15660 found_dir="$additional_libdir"
15661 found_a="$additional_libdir/lib$name.$libext"
15662 if test -f "$additional_libdir/lib$name.la"; then
15663 found_la="$additional_libdir/lib$name.la"
15668 if test "X$found_dir" = "X"; then
15669 for x in $LDFLAGS $LTLIBICONV; do
15671 acl_save_prefix="$prefix"
15672 prefix="$acl_final_prefix"
15673 acl_save_exec_prefix="$exec_prefix"
15674 exec_prefix="$acl_final_exec_prefix"
15676 exec_prefix="$acl_save_exec_prefix"
15677 prefix="$acl_save_prefix"
15681 dir=`echo "X$x" | sed -e 's/^X-L//'`
15682 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
15684 found_so="$dir/lib$name.$shlibext"
15685 if test -f "$dir/lib$name.la"; then
15686 found_la="$dir/lib$name.la"
15689 if test -f "$dir/lib$name.$libext"; then
15691 found_a="$dir/lib$name.$libext"
15692 if test -f "$dir/lib$name.la"; then
15693 found_la="$dir/lib$name.la"
15699 if test "X$found_dir" != "X"; then
15704 if test "X$found_dir" != "X"; then
15705 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15706 if test "X$found_so" != "X"; then
15707 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15708 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15711 for x in $ltrpathdirs; do
15712 if test "X$x" = "X$found_dir"; then
15717 if test -z "$haveit"; then
15718 ltrpathdirs="$ltrpathdirs $found_dir"
15720 if test "$hardcode_direct" = yes; then
15721 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15723 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
15724 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15726 for x in $rpathdirs; do
15727 if test "X$x" = "X$found_dir"; then
15732 if test -z "$haveit"; then
15733 rpathdirs="$rpathdirs $found_dir"
15737 for x in $LDFLAGS $LIBICONV; do
15739 acl_save_prefix="$prefix"
15740 prefix="$acl_final_prefix"
15741 acl_save_exec_prefix="$exec_prefix"
15742 exec_prefix="$acl_final_exec_prefix"
15744 exec_prefix="$acl_save_exec_prefix"
15745 prefix="$acl_save_prefix"
15747 if test "X$x" = "X-L$found_dir"; then
15752 if test -z "$haveit"; then
15753 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15755 if test "$hardcode_minus_L" != no; then
15756 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15758 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15764 if test "X$found_a" != "X"; then
15765 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15767 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15770 additional_includedir=
15771 case "$found_dir" in
15772 */$acl_libdirstem | */$acl_libdirstem/)
15773 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15774 additional_includedir="$basedir/include"
15777 if test "X$additional_includedir" != "X"; then
15778 if test "X$additional_includedir" != "X/usr/include"; then
15780 if test "X$additional_includedir" = "X/usr/local/include"; then
15781 if test -n "$GCC"; then
15783 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15787 if test -z "$haveit"; then
15788 for x in $CPPFLAGS $INCICONV; do
15790 acl_save_prefix="$prefix"
15791 prefix="$acl_final_prefix"
15792 acl_save_exec_prefix="$exec_prefix"
15793 exec_prefix="$acl_final_exec_prefix"
15795 exec_prefix="$acl_save_exec_prefix"
15796 prefix="$acl_save_prefix"
15798 if test "X$x" = "X-I$additional_includedir"; then
15803 if test -z "$haveit"; then
15804 if test -d "$additional_includedir"; then
15805 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15811 if test -n "$found_la"; then
15812 save_libdir="$libdir"
15813 case "$found_la" in
15814 */* | *\\*) . "$found_la" ;;
15815 *) . "./$found_la" ;;
15817 libdir="$save_libdir"
15818 for dep in $dependency_libs; do
15821 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15822 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15824 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15825 if test -n "$GCC"; then
15827 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15831 if test -z "$haveit"; then
15833 for x in $LDFLAGS $LIBICONV; do
15835 acl_save_prefix="$prefix"
15836 prefix="$acl_final_prefix"
15837 acl_save_exec_prefix="$exec_prefix"
15838 exec_prefix="$acl_final_exec_prefix"
15840 exec_prefix="$acl_save_exec_prefix"
15841 prefix="$acl_save_prefix"
15843 if test "X$x" = "X-L$additional_libdir"; then
15848 if test -z "$haveit"; then
15849 if test -d "$additional_libdir"; then
15850 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15854 for x in $LDFLAGS $LTLIBICONV; do
15856 acl_save_prefix="$prefix"
15857 prefix="$acl_final_prefix"
15858 acl_save_exec_prefix="$exec_prefix"
15859 exec_prefix="$acl_final_exec_prefix"
15861 exec_prefix="$acl_save_exec_prefix"
15862 prefix="$acl_save_prefix"
15864 if test "X$x" = "X-L$additional_libdir"; then
15869 if test -z "$haveit"; then
15870 if test -d "$additional_libdir"; then
15871 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15878 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15879 if test "$enable_rpath" != no; then
15881 for x in $rpathdirs; do
15882 if test "X$x" = "X$dir"; then
15887 if test -z "$haveit"; then
15888 rpathdirs="$rpathdirs $dir"
15891 for x in $ltrpathdirs; do
15892 if test "X$x" = "X$dir"; then
15897 if test -z "$haveit"; then
15898 ltrpathdirs="$ltrpathdirs $dir"
15903 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15906 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15909 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15910 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15916 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15917 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15923 if test "X$rpathdirs" != "X"; then
15924 if test -n "$hardcode_libdir_separator"; then
15926 for found_dir in $rpathdirs; do
15927 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15929 acl_save_libdir="$libdir"
15931 eval flag=\"$hardcode_libdir_flag_spec\"
15932 libdir="$acl_save_libdir"
15933 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15935 for found_dir in $rpathdirs; do
15936 acl_save_libdir="$libdir"
15937 libdir="$found_dir"
15938 eval flag=\"$hardcode_libdir_flag_spec\"
15939 libdir="$acl_save_libdir"
15940 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15944 if test "X$ltrpathdirs" != "X"; then
15945 for found_dir in $ltrpathdirs; do
15946 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15968 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15969 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
15970 $as_echo_n "(cached) " >&6
15972 gt_save_LIBS="$LIBS"
15973 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 #include <CoreFoundation/CFPreferences.h>
15980 CFPreferencesCopyAppValue(NULL, NULL)
15985 if ac_fn_c_try_link "$LINENO"; then :
15986 gt_cv_func_CFPreferencesCopyAppValue=yes
15988 gt_cv_func_CFPreferencesCopyAppValue=no
15990 rm -f core conftest.err conftest.$ac_objext \
15991 conftest$ac_exeext conftest.$ac_ext
15992 LIBS="$gt_save_LIBS"
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15995 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15996 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15998 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16002 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16003 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
16004 $as_echo_n "(cached) " >&6
16006 gt_save_LIBS="$LIBS"
16007 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009 /* end confdefs.h. */
16010 #include <CoreFoundation/CFLocale.h>
16014 CFLocaleCopyCurrent();
16019 if ac_fn_c_try_link "$LINENO"; then :
16020 gt_cv_func_CFLocaleCopyCurrent=yes
16022 gt_cv_func_CFLocaleCopyCurrent=no
16024 rm -f core conftest.err conftest.$ac_objext \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS="$gt_save_LIBS"
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16029 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16030 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16032 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16036 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16037 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16049 if test "$USE_NLS" = "yes"; then
16050 gt_use_preinstalled_gnugettext=no
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16058 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16059 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
16060 $as_echo_n "(cached) " >&6
16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16064 #include <libintl.h>
16065 extern int _nl_msg_cat_cntr;
16066 extern int *_nl_domain_bindings;
16070 bindtextdomain ("", "");
16071 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
16076 if ac_fn_c_try_link "$LINENO"; then :
16077 gt_cv_func_gnugettext1_libc=yes
16079 gt_cv_func_gnugettext1_libc=no
16081 rm -f core conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext conftest.$ac_ext
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
16085 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
16087 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
16093 am_save_CPPFLAGS="$CPPFLAGS"
16095 for element in $INCICONV; do
16097 for x in $CPPFLAGS; do
16099 acl_save_prefix="$prefix"
16100 prefix="$acl_final_prefix"
16101 acl_save_exec_prefix="$exec_prefix"
16102 exec_prefix="$acl_final_exec_prefix"
16104 exec_prefix="$acl_save_exec_prefix"
16105 prefix="$acl_save_prefix"
16107 if test "X$x" = "X$element"; then
16112 if test -z "$haveit"; then
16113 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16119 $as_echo_n "checking for iconv... " >&6; }
16120 if test "${am_cv_func_iconv+set}" = set; then :
16121 $as_echo_n "(cached) " >&6
16124 am_cv_func_iconv="no, consider installing GNU libiconv"
16126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16128 #include <stdlib.h>
16133 iconv_t cd = iconv_open("","");
16134 iconv(cd,NULL,NULL,NULL,NULL);
16140 if ac_fn_c_try_link "$LINENO"; then :
16141 am_cv_func_iconv=yes
16143 rm -f core conftest.err conftest.$ac_objext \
16144 conftest$ac_exeext conftest.$ac_ext
16145 if test "$am_cv_func_iconv" != yes; then
16146 am_save_LIBS="$LIBS"
16147 LIBS="$LIBS $LIBICONV"
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16150 #include <stdlib.h>
16155 iconv_t cd = iconv_open("","");
16156 iconv(cd,NULL,NULL,NULL,NULL);
16162 if ac_fn_c_try_link "$LINENO"; then :
16163 am_cv_lib_iconv=yes
16164 am_cv_func_iconv=yes
16166 rm -f core conftest.err conftest.$ac_objext \
16167 conftest$ac_exeext conftest.$ac_ext
16168 LIBS="$am_save_LIBS"
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16173 $as_echo "$am_cv_func_iconv" >&6; }
16174 if test "$am_cv_func_iconv" = yes; then
16176 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
16179 if test "$am_cv_lib_iconv" = yes; then
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16181 $as_echo_n "checking how to link with libiconv... " >&6; }
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16183 $as_echo "$LIBICONV" >&6; }
16185 CPPFLAGS="$am_save_CPPFLAGS"
16198 acl_save_prefix="$prefix"
16199 prefix="$acl_final_prefix"
16200 acl_save_exec_prefix="$exec_prefix"
16201 exec_prefix="$acl_final_exec_prefix"
16203 eval additional_includedir=\"$includedir\"
16204 eval additional_libdir=\"$libdir\"
16206 exec_prefix="$acl_save_exec_prefix"
16207 prefix="$acl_save_prefix"
16210 # Check whether --with-libintl-prefix was given.
16211 if test "${with_libintl_prefix+set}" = set; then :
16212 withval=$with_libintl_prefix;
16213 if test "X$withval" = "Xno"; then
16216 if test "X$withval" = "X"; then
16218 acl_save_prefix="$prefix"
16219 prefix="$acl_final_prefix"
16220 acl_save_exec_prefix="$exec_prefix"
16221 exec_prefix="$acl_final_exec_prefix"
16223 eval additional_includedir=\"$includedir\"
16224 eval additional_libdir=\"$libdir\"
16226 exec_prefix="$acl_save_exec_prefix"
16227 prefix="$acl_save_prefix"
16230 additional_includedir="$withval/include"
16231 additional_libdir="$withval/$acl_libdirstem"
16242 names_already_handled=
16243 names_next_round='intl '
16244 while test -n "$names_next_round"; do
16245 names_this_round="$names_next_round"
16247 for name in $names_this_round; do
16249 for n in $names_already_handled; do
16250 if test "$n" = "$name"; then
16251 already_handled=yes
16255 if test -z "$already_handled"; then
16256 names_already_handled="$names_already_handled $name"
16257 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16258 eval value=\"\$HAVE_LIB$uppername\"
16259 if test -n "$value"; then
16260 if test "$value" = yes; then
16261 eval value=\"\$LIB$uppername\"
16262 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16263 eval value=\"\$LTLIB$uppername\"
16264 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16273 if test $use_additional = yes; then
16274 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16275 found_dir="$additional_libdir"
16276 found_so="$additional_libdir/lib$name.$shlibext"
16277 if test -f "$additional_libdir/lib$name.la"; then
16278 found_la="$additional_libdir/lib$name.la"
16281 if test -f "$additional_libdir/lib$name.$libext"; then
16282 found_dir="$additional_libdir"
16283 found_a="$additional_libdir/lib$name.$libext"
16284 if test -f "$additional_libdir/lib$name.la"; then
16285 found_la="$additional_libdir/lib$name.la"
16290 if test "X$found_dir" = "X"; then
16291 for x in $LDFLAGS $LTLIBINTL; do
16293 acl_save_prefix="$prefix"
16294 prefix="$acl_final_prefix"
16295 acl_save_exec_prefix="$exec_prefix"
16296 exec_prefix="$acl_final_exec_prefix"
16298 exec_prefix="$acl_save_exec_prefix"
16299 prefix="$acl_save_prefix"
16303 dir=`echo "X$x" | sed -e 's/^X-L//'`
16304 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16306 found_so="$dir/lib$name.$shlibext"
16307 if test -f "$dir/lib$name.la"; then
16308 found_la="$dir/lib$name.la"
16311 if test -f "$dir/lib$name.$libext"; then
16313 found_a="$dir/lib$name.$libext"
16314 if test -f "$dir/lib$name.la"; then
16315 found_la="$dir/lib$name.la"
16321 if test "X$found_dir" != "X"; then
16326 if test "X$found_dir" != "X"; then
16327 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
16328 if test "X$found_so" != "X"; then
16329 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16330 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16333 for x in $ltrpathdirs; do
16334 if test "X$x" = "X$found_dir"; then
16339 if test -z "$haveit"; then
16340 ltrpathdirs="$ltrpathdirs $found_dir"
16342 if test "$hardcode_direct" = yes; then
16343 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16345 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
16346 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16348 for x in $rpathdirs; do
16349 if test "X$x" = "X$found_dir"; then
16354 if test -z "$haveit"; then
16355 rpathdirs="$rpathdirs $found_dir"
16359 for x in $LDFLAGS $LIBINTL; do
16361 acl_save_prefix="$prefix"
16362 prefix="$acl_final_prefix"
16363 acl_save_exec_prefix="$exec_prefix"
16364 exec_prefix="$acl_final_exec_prefix"
16366 exec_prefix="$acl_save_exec_prefix"
16367 prefix="$acl_save_prefix"
16369 if test "X$x" = "X-L$found_dir"; then
16374 if test -z "$haveit"; then
16375 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
16377 if test "$hardcode_minus_L" != no; then
16378 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16380 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16386 if test "X$found_a" != "X"; then
16387 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16389 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16392 additional_includedir=
16393 case "$found_dir" in
16394 */$acl_libdirstem | */$acl_libdirstem/)
16395 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16396 additional_includedir="$basedir/include"
16399 if test "X$additional_includedir" != "X"; then
16400 if test "X$additional_includedir" != "X/usr/include"; then
16402 if test "X$additional_includedir" = "X/usr/local/include"; then
16403 if test -n "$GCC"; then
16405 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16409 if test -z "$haveit"; then
16410 for x in $CPPFLAGS $INCINTL; do
16412 acl_save_prefix="$prefix"
16413 prefix="$acl_final_prefix"
16414 acl_save_exec_prefix="$exec_prefix"
16415 exec_prefix="$acl_final_exec_prefix"
16417 exec_prefix="$acl_save_exec_prefix"
16418 prefix="$acl_save_prefix"
16420 if test "X$x" = "X-I$additional_includedir"; then
16425 if test -z "$haveit"; then
16426 if test -d "$additional_includedir"; then
16427 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16433 if test -n "$found_la"; then
16434 save_libdir="$libdir"
16435 case "$found_la" in
16436 */* | *\\*) . "$found_la" ;;
16437 *) . "./$found_la" ;;
16439 libdir="$save_libdir"
16440 for dep in $dependency_libs; do
16443 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16444 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16446 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16447 if test -n "$GCC"; then
16449 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16453 if test -z "$haveit"; then
16455 for x in $LDFLAGS $LIBINTL; do
16457 acl_save_prefix="$prefix"
16458 prefix="$acl_final_prefix"
16459 acl_save_exec_prefix="$exec_prefix"
16460 exec_prefix="$acl_final_exec_prefix"
16462 exec_prefix="$acl_save_exec_prefix"
16463 prefix="$acl_save_prefix"
16465 if test "X$x" = "X-L$additional_libdir"; then
16470 if test -z "$haveit"; then
16471 if test -d "$additional_libdir"; then
16472 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
16476 for x in $LDFLAGS $LTLIBINTL; do
16478 acl_save_prefix="$prefix"
16479 prefix="$acl_final_prefix"
16480 acl_save_exec_prefix="$exec_prefix"
16481 exec_prefix="$acl_final_exec_prefix"
16483 exec_prefix="$acl_save_exec_prefix"
16484 prefix="$acl_save_prefix"
16486 if test "X$x" = "X-L$additional_libdir"; then
16491 if test -z "$haveit"; then
16492 if test -d "$additional_libdir"; then
16493 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16500 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16501 if test "$enable_rpath" != no; then
16503 for x in $rpathdirs; do
16504 if test "X$x" = "X$dir"; then
16509 if test -z "$haveit"; then
16510 rpathdirs="$rpathdirs $dir"
16513 for x in $ltrpathdirs; do
16514 if test "X$x" = "X$dir"; then
16519 if test -z "$haveit"; then
16520 ltrpathdirs="$ltrpathdirs $dir"
16525 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16528 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16531 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16532 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16538 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16539 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16545 if test "X$rpathdirs" != "X"; then
16546 if test -n "$hardcode_libdir_separator"; then
16548 for found_dir in $rpathdirs; do
16549 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16551 acl_save_libdir="$libdir"
16553 eval flag=\"$hardcode_libdir_flag_spec\"
16554 libdir="$acl_save_libdir"
16555 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16557 for found_dir in $rpathdirs; do
16558 acl_save_libdir="$libdir"
16559 libdir="$found_dir"
16560 eval flag=\"$hardcode_libdir_flag_spec\"
16561 libdir="$acl_save_libdir"
16562 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16566 if test "X$ltrpathdirs" != "X"; then
16567 for found_dir in $ltrpathdirs; do
16568 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16573 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16574 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
16575 $as_echo_n "(cached) " >&6
16577 gt_save_CPPFLAGS="$CPPFLAGS"
16578 CPPFLAGS="$CPPFLAGS $INCINTL"
16579 gt_save_LIBS="$LIBS"
16580 LIBS="$LIBS $LIBINTL"
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 #include <libintl.h>
16584 extern int _nl_msg_cat_cntr;
16589 const char *_nl_expand_alias (const char *);
16593 bindtextdomain ("", "");
16594 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16599 if ac_fn_c_try_link "$LINENO"; then :
16600 gt_cv_func_gnugettext1_libintl=yes
16602 gt_cv_func_gnugettext1_libintl=no
16604 rm -f core conftest.err conftest.$ac_objext \
16605 conftest$ac_exeext conftest.$ac_ext
16606 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
16607 LIBS="$LIBS $LIBICONV"
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16610 #include <libintl.h>
16611 extern int _nl_msg_cat_cntr;
16616 const char *_nl_expand_alias (const char *);
16620 bindtextdomain ("", "");
16621 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16626 if ac_fn_c_try_link "$LINENO"; then :
16627 LIBINTL="$LIBINTL $LIBICONV"
16628 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16629 gt_cv_func_gnugettext1_libintl=yes
16632 rm -f core conftest.err conftest.$ac_objext \
16633 conftest$ac_exeext conftest.$ac_ext
16635 CPPFLAGS="$gt_save_CPPFLAGS"
16636 LIBS="$gt_save_LIBS"
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
16639 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
16642 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
16643 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
16644 && test "$PACKAGE" != gettext-runtime \
16645 && test "$PACKAGE" != gettext-tools; }; then
16646 gt_use_preinstalled_gnugettext=yes
16655 if test -n "$INTL_MACOSX_LIBS"; then
16656 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16657 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16658 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16659 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16663 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16664 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16666 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16674 $as_echo_n "checking whether to use NLS... " >&6; }
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16676 $as_echo "$USE_NLS" >&6; }
16677 if test "$USE_NLS" = "yes"; then
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16679 $as_echo_n "checking where the gettext function comes from... " >&6; }
16680 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16681 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
16682 gt_source="external libintl"
16687 gt_source="included intl directory"
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16690 $as_echo "$gt_source" >&6; }
16693 if test "$USE_NLS" = "yes"; then
16695 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16696 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16698 $as_echo_n "checking how to link with libintl... " >&6; }
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16700 $as_echo "$LIBINTL" >&6; }
16702 for element in $INCINTL; do
16704 for x in $CPPFLAGS; do
16706 acl_save_prefix="$prefix"
16707 prefix="$acl_final_prefix"
16708 acl_save_exec_prefix="$exec_prefix"
16709 exec_prefix="$acl_final_exec_prefix"
16711 exec_prefix="$acl_save_exec_prefix"
16712 prefix="$acl_save_prefix"
16714 if test "X$x" = "X$element"; then
16719 if test -z "$haveit"; then
16720 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16727 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16730 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16739 INTLLIBS="$LIBINTL"
16746 for ac_func in dngettext
16748 ac_fn_c_check_func "$LINENO" "dngettext" "ac_cv_func_dngettext"
16749 if test "x$ac_cv_func_dngettext" = x""yes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_DNGETTEXT 1
16760 ac_fn_c_check_decl "$LINENO" "__NR_keyctl" "ac_cv_have_decl___NR_keyctl" "#include <sys/syscall.h>
16762 if test "x$ac_cv_have_decl___NR_keyctl" = x""yes; then :
16763 have_key_syscalls=1
16765 have_key_syscalls=0
16768 ac_fn_c_check_decl "$LINENO" "ENOKEY" "ac_cv_have_decl_ENOKEY" "#include <errno.h>
16770 if test "x$ac_cv_have_decl_ENOKEY" = x""yes; then :
16777 HAVE_KEY_MANAGEMENT=0
16778 if test $have_key_syscalls$have_key_errors = 11
16780 HAVE_KEY_MANAGEMENT=1
16783 if test $HAVE_KEY_MANAGEMENT = 1; then
16785 $as_echo "#define HAVE_KEY_MANAGEMENT 1" >>confdefs.h
16788 HAVE_KEY_MANAGEMENT=$HAVE_KEY_MANAGEMENT
16791 if test "$have_key_syscalls" = 1; then
16792 HAVE_KEY_MANAGEMENT_TRUE=
16793 HAVE_KEY_MANAGEMENT_FALSE='#'
16795 HAVE_KEY_MANAGEMENT_TRUE='#'
16796 HAVE_KEY_MANAGEMENT_FALSE=
16800 ac_config_files="$ac_config_files Makefile libpam/Makefile libpamc/Makefile libpamc/test/Makefile libpam_misc/Makefile conf/Makefile conf/pam_conv1/Makefile po/Makefile.in modules/Makefile modules/pam_access/Makefile modules/pam_cracklib/Makefile modules/pam_debug/Makefile modules/pam_deny/Makefile modules/pam_echo/Makefile modules/pam_env/Makefile modules/pam_faildelay/Makefile modules/pam_filter/Makefile modules/pam_filter/upperLOWER/Makefile modules/pam_ftp/Makefile modules/pam_group/Makefile modules/pam_issue/Makefile modules/pam_keyinit/Makefile modules/pam_lastlog/Makefile modules/pam_limits/Makefile modules/pam_listfile/Makefile modules/pam_localuser/Makefile modules/pam_loginuid/Makefile modules/pam_mail/Makefile modules/pam_mkhomedir/Makefile modules/pam_motd/Makefile modules/pam_namespace/Makefile modules/pam_nologin/Makefile modules/pam_permit/Makefile modules/pam_pwhistory/Makefile modules/pam_rhosts/Makefile modules/pam_rootok/Makefile modules/pam_exec/Makefile modules/pam_securetty/Makefile modules/pam_selinux/Makefile modules/pam_sepermit/Makefile modules/pam_shells/Makefile modules/pam_stress/Makefile modules/pam_succeed_if/Makefile modules/pam_tally/Makefile modules/pam_tally2/Makefile modules/pam_time/Makefile modules/pam_timestamp/Makefile modules/pam_tty_audit/Makefile modules/pam_umask/Makefile modules/pam_unix/Makefile modules/pam_userdb/Makefile modules/pam_warn/Makefile modules/pam_wheel/Makefile modules/pam_xauth/Makefile doc/Makefile doc/specs/Makefile doc/man/Makefile doc/sag/Makefile doc/adg/Makefile doc/mwg/Makefile examples/Makefile tests/Makefile xtests/Makefile"
16802 cat >confcache <<\_ACEOF
16803 # This file is a shell script that caches the results of configure
16804 # tests run on this system so they can be shared between configure
16805 # scripts and configure runs, see configure's option --config-cache.
16806 # It is not useful on other systems. If it contains results you don't
16807 # want to keep, you may remove or edit it.
16809 # config.status only pays attention to the cache file if you give it
16810 # the --recheck option to rerun configure.
16812 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16813 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16814 # following values.
16818 # The following way of writing the cache mishandles newlines in values,
16819 # but we know of no workaround that is simple, portable, and efficient.
16820 # So, we kill variables containing newlines.
16821 # Ultrix sh set writes to stderr and can't be redirected directly,
16822 # and sets the high bit in the cache file unless we assign to the vars.
16824 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16825 eval ac_val=\$$ac_var
16829 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16830 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16833 _ | IFS | as_nl) ;; #(
16834 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16835 *) { eval $ac_var=; unset $ac_var;} ;;
16841 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16842 *${as_nl}ac_space=\ *)
16843 # `set' does not quote correctly, so add quotes: double-quote
16844 # substitution turns \\\\ into \\, and sed turns \\ into \.
16847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16850 # `set' quotes correctly as required by POSIX, so do not add quotes.
16851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16862 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16864 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16865 if test -w "$cache_file"; then
16866 test "x$cache_file" != "x/dev/null" &&
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16868 $as_echo "$as_me: updating cache $cache_file" >&6;}
16869 cat confcache >$cache_file
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16872 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16877 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16878 # Let make expand exec_prefix.
16879 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16881 DEFS=-DHAVE_CONFIG_H
16885 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16886 # 1. Remove the extension, and $U if already installed.
16887 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16888 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16889 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16890 # will be set to the directory where LIBOBJS objects are built.
16891 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16892 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16894 LIBOBJS=$ac_libobjs
16896 LTLIBOBJS=$ac_ltlibobjs
16899 if test -n "$EXEEXT"; then
16901 am__EXEEXT_FALSE='#'
16903 am__EXEEXT_TRUE='#'
16907 if test -z "${STATIC_MODULES_TRUE}" && test -z "${STATIC_MODULES_FALSE}"; then
16908 as_fn_error "conditional \"STATIC_MODULES\" was never defined.
16909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16911 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16912 as_fn_error "conditional \"AMDEP\" was never defined.
16913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16915 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16916 as_fn_error "conditional \"am__fastdepCC\" was never defined.
16917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16920 as_fn_error "conditional \"am__fastdepCC\" was never defined.
16921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16923 if test -z "${HAVE_VERSIONING_TRUE}" && test -z "${HAVE_VERSIONING_FALSE}"; then
16924 as_fn_error "conditional \"HAVE_VERSIONING\" was never defined.
16925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16927 if test -z "${HAVE_LIBCRACK_TRUE}" && test -z "${HAVE_LIBCRACK_FALSE}"; then
16928 as_fn_error "conditional \"HAVE_LIBCRACK\" was never defined.
16929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16931 if test -z "${HAVE_AUDIT_TTY_STATUS_TRUE}" && test -z "${HAVE_AUDIT_TTY_STATUS_FALSE}"; then
16932 as_fn_error "conditional \"HAVE_AUDIT_TTY_STATUS\" was never defined.
16933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16935 if test -z "${HAVE_LIBDB_TRUE}" && test -z "${HAVE_LIBDB_FALSE}"; then
16936 as_fn_error "conditional \"HAVE_LIBDB\" was never defined.
16937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16939 if test -z "${HAVE_LIBSELINUX_TRUE}" && test -z "${HAVE_LIBSELINUX_FALSE}"; then
16940 as_fn_error "conditional \"HAVE_LIBSELINUX\" was never defined.
16941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16944 if test -z "${HAVE_UNSHARE_TRUE}" && test -z "${HAVE_UNSHARE_FALSE}"; then
16945 as_fn_error "conditional \"HAVE_UNSHARE\" was never defined.
16946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16948 if test -z "${ENABLE_REGENERATE_MAN_TRUE}" && test -z "${ENABLE_REGENERATE_MAN_FALSE}"; then
16949 as_fn_error "conditional \"ENABLE_REGENERATE_MAN\" was never defined.
16950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16952 if test -z "${ENABLE_GENERATE_PDF_TRUE}" && test -z "${ENABLE_GENERATE_PDF_FALSE}"; then
16953 as_fn_error "conditional \"ENABLE_GENERATE_PDF\" was never defined.
16954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16956 if test -z "${HAVE_KEY_MANAGEMENT_TRUE}" && test -z "${HAVE_KEY_MANAGEMENT_FALSE}"; then
16957 as_fn_error "conditional \"HAVE_KEY_MANAGEMENT\" was never defined.
16958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16961 : ${CONFIG_STATUS=./config.status}
16963 ac_clean_files_save=$ac_clean_files
16964 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16966 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16968 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16970 # Generated by $as_me.
16971 # Run this file to recreate the current configuration.
16972 # Compiler output produced by configure, useful for debugging
16973 # configure, is in config.log if it exists.
16976 ac_cs_recheck=false
16979 SHELL=\${CONFIG_SHELL-$SHELL}
16982 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16983 ## -------------------- ##
16984 ## M4sh Initialization. ##
16985 ## -------------------- ##
16987 # Be more Bourne compatible
16988 DUALCASE=1; export DUALCASE # for MKS sh
16989 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16992 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16993 # is contrary to our usage. Disable this feature.
16994 alias -g '${1+"$@"}'='"$@"'
16995 setopt NO_GLOB_SUBST
16997 case `(set -o) 2>/dev/null` in #(
17009 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17010 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17013 # Prefer a ksh shell builtin over an external printf program on Solaris,
17014 # but without wasting forks for bash or zsh.
17015 if test -z "$BASH_VERSION$ZSH_VERSION" \
17016 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17017 as_echo='print -r --'
17018 as_echo_n='print -rn --'
17019 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17020 as_echo='printf %s\n'
17021 as_echo_n='printf %s'
17023 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17024 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17025 as_echo_n='/usr/ucb/echo -n'
17027 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17028 as_echo_n_body='eval
17032 expr "X$arg" : "X\\(.*\\)$as_nl";
17033 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17035 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17037 export as_echo_n_body
17038 as_echo_n='sh -c $as_echo_n_body as_echo'
17040 export as_echo_body
17041 as_echo='sh -c $as_echo_body as_echo'
17044 # The user is always right.
17045 if test "${PATH_SEPARATOR+set}" != set; then
17047 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17048 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17055 # We need space, tab and new line, in precisely that order. Quoting is
17056 # there to prevent editors from complaining about space-tab.
17057 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17058 # splitting by setting IFS to empty value.)
17061 # Find who we are. Look in the path if we contain no directory separator.
17063 *[\\/]* ) as_myself=$0 ;;
17064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17065 for as_dir in $PATH
17068 test -z "$as_dir" && as_dir=.
17069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17075 # We did not find ourselves, most probably we were run as `sh COMMAND'
17076 # in which case we are not to be found in the path.
17077 if test "x$as_myself" = x; then
17080 if test ! -f "$as_myself"; then
17081 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17085 # Unset variables that we do not need and which cause bugs (e.g. in
17086 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17087 # suppresses any "Segmentation fault" message there. '((' could
17088 # trigger a bug in pdksh 5.2.14.
17089 for as_var in BASH_ENV ENV MAIL MAILPATH
17090 do eval test x\${$as_var+set} = xset \
17091 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17104 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17107 # as_fn_error ERROR [LINENO LOG_FD]
17108 # ---------------------------------
17109 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17110 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17111 # script with status $?, using 1 if that was 0.
17114 as_status=$?; test $as_status -eq 0 && as_status=1
17116 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17117 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17119 $as_echo "$as_me: error: $1" >&2
17120 as_fn_exit $as_status
17124 # as_fn_set_status STATUS
17125 # -----------------------
17126 # Set $? to STATUS, without forking.
17127 as_fn_set_status ()
17130 } # as_fn_set_status
17132 # as_fn_exit STATUS
17133 # -----------------
17134 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17138 as_fn_set_status $1
17144 # Portably unset VAR.
17147 { eval $1=; unset $1;}
17149 as_unset=as_fn_unset
17150 # as_fn_append VAR VALUE
17151 # ----------------------
17152 # Append the text in VALUE to the end of the definition contained in VAR. Take
17153 # advantage of any shell optimizations that allow amortized linear growth over
17154 # repeated appends, instead of the typical quadratic growth present in naive
17156 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17157 eval 'as_fn_append ()
17168 # as_fn_arith ARG...
17169 # ------------------
17170 # Perform arithmetic evaluation on the ARGs, and store the result in the
17171 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17172 # must be portable across $(()) and expr.
17173 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17174 eval 'as_fn_arith ()
17181 as_val=`expr "$@" || test $? -eq 1`
17186 if expr a : '\(a\)' >/dev/null 2>&1 &&
17187 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17193 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17194 as_basename=basename
17199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17205 as_me=`$as_basename -- "$0" ||
17206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17207 X"$0" : 'X\(//\)$' \| \
17208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17210 sed '/^.*\/\([^/][^/]*\)\/*$/{
17224 # Avoid depending upon Character Ranges.
17225 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17226 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17227 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17228 as_cr_digits='0123456789'
17229 as_cr_alnum=$as_cr_Letters$as_cr_digits
17231 ECHO_C= ECHO_N= ECHO_T=
17232 case `echo -n x` in #(((((
17234 case `echo 'xy\c'` in
17235 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17237 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17244 rm -f conf$$ conf$$.exe conf$$.file
17245 if test -d conf$$.dir; then
17246 rm -f conf$$.dir/conf$$.file
17249 mkdir conf$$.dir 2>/dev/null
17251 if (echo >conf$$.file) 2>/dev/null; then
17252 if ln -s conf$$.file conf$$ 2>/dev/null; then
17254 # ... but there are two gotchas:
17255 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17256 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17257 # In both cases, we have to default to `cp -p'.
17258 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17260 elif ln conf$$.file conf$$ 2>/dev/null; then
17268 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17269 rmdir conf$$.dir 2>/dev/null
17274 # Create "$as_dir" as a directory, including parents if necessary.
17279 -*) as_dir=./$as_dir;;
17281 test -d "$as_dir" || eval $as_mkdir_p || {
17285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17286 *) as_qdir=$as_dir;;
17288 as_dirs="'$as_qdir' $as_dirs"
17289 as_dir=`$as_dirname -- "$as_dir" ||
17290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17291 X"$as_dir" : 'X\(//\)[^/]' \| \
17292 X"$as_dir" : 'X\(//\)$' \| \
17293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17294 $as_echo X"$as_dir" |
17295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17299 /^X\(\/\/\)[^/].*/{
17312 test -d "$as_dir" && break
17314 test -z "$as_dirs" || eval "mkdir $as_dirs"
17315 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17319 if mkdir -p . 2>/dev/null; then
17320 as_mkdir_p='mkdir -p "$as_dir"'
17322 test -d ./-p && rmdir ./-p
17326 if test -x / >/dev/null 2>&1; then
17327 as_test_x='test -x'
17329 if ls -dL / >/dev/null 2>&1; then
17336 if test -d "$1"; then
17342 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17343 ???[sx]*):;;*)false;;esac;fi
17347 as_executable_p=$as_test_x
17349 # Sed expression to map a string onto a valid CPP name.
17350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17352 # Sed expression to map a string onto a valid variable name.
17353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17357 ## ----------------------------------- ##
17358 ## Main body of $CONFIG_STATUS script. ##
17359 ## ----------------------------------- ##
17361 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17364 # Save the log message, to keep $0 and so on meaningful, and to
17365 # report actual input values of CONFIG_FILES etc. instead of their
17366 # values after options handling.
17368 This file was extended by $as_me, which was
17369 generated by GNU Autoconf 2.65. Invocation command line was
17371 CONFIG_FILES = $CONFIG_FILES
17372 CONFIG_HEADERS = $CONFIG_HEADERS
17373 CONFIG_LINKS = $CONFIG_LINKS
17374 CONFIG_COMMANDS = $CONFIG_COMMANDS
17377 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17382 case $ac_config_files in *"
17383 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17386 case $ac_config_headers in *"
17387 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17392 # Files that config.status was made for.
17393 config_files="$ac_config_files"
17394 config_headers="$ac_config_headers"
17395 config_commands="$ac_config_commands"
17399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17401 \`$as_me' instantiates files and other configuration actions
17402 from templates according to the current configuration. Unless the files
17403 and actions are specified as TAGs, all are instantiated by default.
17405 Usage: $0 [OPTION]... [TAG]...
17407 -h, --help print this help, then exit
17408 -V, --version print version number and configuration settings, then exit
17409 --config print configuration, then exit
17410 -q, --quiet, --silent
17411 do not print progress messages
17412 -d, --debug don't remove temporary files
17413 --recheck update $as_me by reconfiguring in the same conditions
17414 --file=FILE[:TEMPLATE]
17415 instantiate the configuration file FILE
17416 --header=FILE[:TEMPLATE]
17417 instantiate the configuration header FILE
17419 Configuration files:
17422 Configuration headers:
17425 Configuration commands:
17428 Report bugs to the package provider."
17431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17432 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17435 configured by $0, generated by GNU Autoconf 2.65,
17436 with options \\"\$ac_cs_config\\"
17438 Copyright (C) 2009 Free Software Foundation, Inc.
17439 This config.status script is free software; the Free Software Foundation
17440 gives unlimited permission to copy, distribute and modify it."
17447 test -n "\$AWK" || AWK=awk
17450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17451 # The default lists apply if the user does not specify any file.
17457 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17469 # Handling of the options.
17470 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17472 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17473 $as_echo "$ac_cs_version"; exit ;;
17474 --config | --confi | --conf | --con | --co | --c )
17475 $as_echo "$ac_cs_config"; exit ;;
17476 --debug | --debu | --deb | --de | --d | -d )
17478 --file | --fil | --fi | --f )
17481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17483 as_fn_append CONFIG_FILES " '$ac_optarg'"
17484 ac_need_defaults=false;;
17485 --header | --heade | --head | --hea )
17488 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17490 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17491 ac_need_defaults=false;;
17493 # Conflict between --help and --header
17494 as_fn_error "ambiguous option: \`$1'
17495 Try \`$0 --help' for more information.";;
17496 --help | --hel | -h )
17497 $as_echo "$ac_cs_usage"; exit ;;
17498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17499 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17502 # This is an error.
17503 -*) as_fn_error "unrecognized option: \`$1'
17504 Try \`$0 --help' for more information." ;;
17506 *) as_fn_append ac_config_targets " $1"
17507 ac_need_defaults=false ;;
17513 ac_configure_extra_args=
17515 if $ac_cs_silent; then
17517 ac_configure_extra_args="$ac_configure_extra_args --silent"
17521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17522 if \$ac_cs_recheck; then
17523 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17525 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17526 CONFIG_SHELL='$SHELL'
17527 export CONFIG_SHELL
17532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17537 ## Running $as_me. ##
17543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17547 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17550 # The HP-UX ksh and POSIX shell print the target directory to stdout
17551 # if CDPATH is set.
17552 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17554 sed_quote_subst='$sed_quote_subst'
17555 double_quote_subst='$double_quote_subst'
17556 delay_variable_subst='$delay_variable_subst'
17557 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17558 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17559 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17560 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17561 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17562 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17563 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17564 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17565 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17566 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17567 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17568 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17569 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17570 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17571 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17572 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17573 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17574 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17575 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17576 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17577 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17578 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17579 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17580 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17581 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17582 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17583 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17584 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17585 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17586 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17587 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17588 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17589 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17590 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17591 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17592 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17593 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17594 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17595 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17596 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17597 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17598 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17599 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17600 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17601 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17602 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17603 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17604 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17605 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17606 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17607 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17608 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17609 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17610 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17611 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17612 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17613 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17614 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17615 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17616 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17617 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17618 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17619 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17620 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17621 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17622 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17623 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17624 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17625 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17626 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17627 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17628 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17629 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17630 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17631 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17632 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17633 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17634 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17635 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17636 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17637 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17638 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17639 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17640 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17641 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17642 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17643 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17644 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17645 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17646 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17647 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17648 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17649 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17650 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17651 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17652 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17653 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17654 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17655 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17656 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17657 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17658 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17659 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17660 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17661 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17662 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17663 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17664 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17665 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17666 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17667 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17668 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17669 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17670 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17671 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17672 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17673 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17674 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17677 LTCFLAGS='$LTCFLAGS'
17678 compiler='$compiler_DEFAULT'
17680 # Quote evaled strings.
17692 deplibs_check_method \
17701 lt_cv_sys_global_symbol_pipe \
17702 lt_cv_sys_global_symbol_to_cdecl \
17703 lt_cv_sys_global_symbol_to_c_name_address \
17704 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17707 lt_prog_compiler_no_builtin_flag \
17708 lt_prog_compiler_wl \
17709 lt_prog_compiler_pic \
17710 lt_prog_compiler_static \
17711 lt_cv_prog_compiler_c_o \
17719 export_dynamic_flag_spec \
17720 whole_archive_flag_spec \
17721 compiler_needs_object \
17723 allow_undefined_flag \
17724 no_undefined_flag \
17725 hardcode_libdir_flag_spec \
17726 hardcode_libdir_flag_spec_ld \
17727 hardcode_libdir_separator \
17732 variables_saved_for_relink \
17734 library_names_spec \
17739 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17740 *[\\\\\\\`\\"\\\$]*)
17741 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17744 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17749 # Double-quote double-evaled strings.
17750 for var in reload_cmds \
17751 old_postinstall_cmds \
17752 old_postuninstall_cmds \
17754 extract_expsyms_cmds \
17755 old_archive_from_new_cmds \
17756 old_archive_from_expsyms_cmds \
17758 archive_expsym_cmds \
17760 module_expsym_cmds \
17761 export_symbols_cmds \
17764 postuninstall_cmds \
17766 sys_lib_search_path_spec \
17767 sys_lib_dlsearch_path_spec; do
17768 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17769 *[\\\\\\\`\\"\\\$]*)
17770 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17773 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17778 # Fix-up fallback echo if it was mangled by the above quoting rules.
17780 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17784 ac_aux_dir='$ac_aux_dir'
17785 xsi_shell='$xsi_shell'
17786 lt_shell_append='$lt_shell_append'
17788 # See if we are running on zsh, and set the options which allow our
17789 # commands through without removal of \ escapes INIT.
17790 if test -n "\${ZSH_VERSION+set}" ; then
17791 setopt NO_GLOB_SUBST
17797 TIMESTAMP='$TIMESTAMP'
17803 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17804 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17805 # from automake < 1.5.
17806 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17807 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17808 LINGUAS="${LINGUAS-%UNSET%}"
17813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17815 # Handling of arguments.
17816 for ac_config_target in $ac_config_targets
17818 case $ac_config_target in
17819 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17820 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17821 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17822 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17823 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17824 "libpam/Makefile") CONFIG_FILES="$CONFIG_FILES libpam/Makefile" ;;
17825 "libpamc/Makefile") CONFIG_FILES="$CONFIG_FILES libpamc/Makefile" ;;
17826 "libpamc/test/Makefile") CONFIG_FILES="$CONFIG_FILES libpamc/test/Makefile" ;;
17827 "libpam_misc/Makefile") CONFIG_FILES="$CONFIG_FILES libpam_misc/Makefile" ;;
17828 "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
17829 "conf/pam_conv1/Makefile") CONFIG_FILES="$CONFIG_FILES conf/pam_conv1/Makefile" ;;
17830 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17831 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
17832 "modules/pam_access/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_access/Makefile" ;;
17833 "modules/pam_cracklib/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_cracklib/Makefile" ;;
17834 "modules/pam_debug/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_debug/Makefile" ;;
17835 "modules/pam_deny/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_deny/Makefile" ;;
17836 "modules/pam_echo/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_echo/Makefile" ;;
17837 "modules/pam_env/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_env/Makefile" ;;
17838 "modules/pam_faildelay/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_faildelay/Makefile" ;;
17839 "modules/pam_filter/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_filter/Makefile" ;;
17840 "modules/pam_filter/upperLOWER/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_filter/upperLOWER/Makefile" ;;
17841 "modules/pam_ftp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_ftp/Makefile" ;;
17842 "modules/pam_group/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_group/Makefile" ;;
17843 "modules/pam_issue/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_issue/Makefile" ;;
17844 "modules/pam_keyinit/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_keyinit/Makefile" ;;
17845 "modules/pam_lastlog/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_lastlog/Makefile" ;;
17846 "modules/pam_limits/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_limits/Makefile" ;;
17847 "modules/pam_listfile/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_listfile/Makefile" ;;
17848 "modules/pam_localuser/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_localuser/Makefile" ;;
17849 "modules/pam_loginuid/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_loginuid/Makefile" ;;
17850 "modules/pam_mail/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_mail/Makefile" ;;
17851 "modules/pam_mkhomedir/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_mkhomedir/Makefile" ;;
17852 "modules/pam_motd/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_motd/Makefile" ;;
17853 "modules/pam_namespace/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_namespace/Makefile" ;;
17854 "modules/pam_nologin/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_nologin/Makefile" ;;
17855 "modules/pam_permit/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_permit/Makefile" ;;
17856 "modules/pam_pwhistory/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_pwhistory/Makefile" ;;
17857 "modules/pam_rhosts/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_rhosts/Makefile" ;;
17858 "modules/pam_rootok/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_rootok/Makefile" ;;
17859 "modules/pam_exec/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_exec/Makefile" ;;
17860 "modules/pam_securetty/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_securetty/Makefile" ;;
17861 "modules/pam_selinux/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_selinux/Makefile" ;;
17862 "modules/pam_sepermit/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_sepermit/Makefile" ;;
17863 "modules/pam_shells/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_shells/Makefile" ;;
17864 "modules/pam_stress/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_stress/Makefile" ;;
17865 "modules/pam_succeed_if/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_succeed_if/Makefile" ;;
17866 "modules/pam_tally/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_tally/Makefile" ;;
17867 "modules/pam_tally2/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_tally2/Makefile" ;;
17868 "modules/pam_time/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_time/Makefile" ;;
17869 "modules/pam_timestamp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_timestamp/Makefile" ;;
17870 "modules/pam_tty_audit/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_tty_audit/Makefile" ;;
17871 "modules/pam_umask/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_umask/Makefile" ;;
17872 "modules/pam_unix/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_unix/Makefile" ;;
17873 "modules/pam_userdb/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_userdb/Makefile" ;;
17874 "modules/pam_warn/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_warn/Makefile" ;;
17875 "modules/pam_wheel/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_wheel/Makefile" ;;
17876 "modules/pam_xauth/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_xauth/Makefile" ;;
17877 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17878 "doc/specs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/specs/Makefile" ;;
17879 "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
17880 "doc/sag/Makefile") CONFIG_FILES="$CONFIG_FILES doc/sag/Makefile" ;;
17881 "doc/adg/Makefile") CONFIG_FILES="$CONFIG_FILES doc/adg/Makefile" ;;
17882 "doc/mwg/Makefile") CONFIG_FILES="$CONFIG_FILES doc/mwg/Makefile" ;;
17883 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17884 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17885 "xtests/Makefile") CONFIG_FILES="$CONFIG_FILES xtests/Makefile" ;;
17887 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17892 # If the user did not use the arguments to specify the items to instantiate,
17893 # then the envvar interface is used. Set only those that are not.
17894 # We use the long form for the default assignment because of an extremely
17895 # bizarre bug on SunOS 4.1.3.
17896 if $ac_need_defaults; then
17897 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17898 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17899 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17902 # Have a temporary directory for convenience. Make it in the build tree
17903 # simply because there is no reason against having it here, and in addition,
17904 # creating and moving files from /tmp can sometimes cause problems.
17905 # Hook for its removal unless debugging.
17906 # Note that there is a small window in which the directory will not be cleaned:
17907 # after its creation but before its name has been assigned to `$tmp'.
17911 trap 'exit_status=$?
17912 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17914 trap 'as_fn_exit 1' 1 2 13 15
17916 # Create a (secure) tmp directory for tmp files.
17919 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17920 test -n "$tmp" && test -d "$tmp"
17923 tmp=./conf$$-$RANDOM
17924 (umask 077 && mkdir "$tmp")
17925 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17927 # Set up the scripts for CONFIG_FILES section.
17928 # No need to generate them if there are no CONFIG_FILES.
17929 # This happens for instance with `./config.status config.h'.
17930 if test -n "$CONFIG_FILES"; then
17933 ac_cr=`echo X | tr X '\015'`
17934 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17935 # But we know of no other shell where ac_cr would be empty at this
17936 # point, so we can use a bashism as a fallback.
17937 if test "x$ac_cr" = x; then
17938 eval ac_cr=\$\'\\r\'
17940 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17941 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17944 ac_cs_awk_cr=$ac_cr
17947 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17952 echo "cat >conf$$subs.awk <<_ACEOF" &&
17953 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17955 } >conf$$subs.sh ||
17956 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17957 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17959 for ac_last_try in false false false false false :; do
17960 . ./conf$$subs.sh ||
17961 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17963 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17964 if test $ac_delim_n = $ac_delim_num; then
17966 elif $ac_last_try; then
17967 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17972 rm -f conf$$subs.sh
17974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17975 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17979 s/^/S["/; s/!.*/"]=/
17989 s/\(.\{148\}\)..*/\1/
17991 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18003 s/\(.\{148\}\)..*/\1/
18005 s/["\\]/\\&/g; s/^/"/; s/$/"/
18009 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18014 ' <conf$$subs.awk | sed '
18019 ' >>$CONFIG_STATUS || ac_write_fail=1
18020 rm -f conf$$subs.awk
18021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18023 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18024 for (key in S) S_is_set[key] = 1
18030 nfields = split(line, field, "@")
18032 len = length(field[1])
18033 for (i = 2; i < nfields; i++) {
18035 keylen = length(key)
18036 if (S_is_set[key]) {
18038 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18039 len += length(value) + length(field[++i])
18050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18051 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18052 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18055 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18056 || as_fn_error "could not setup config files machinery" "$LINENO" 5
18059 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18060 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18061 # trailing colons and then remove the whole line if VPATH becomes empty
18062 # (actually we leave an empty line to preserve line numbers).
18063 if test "x$srcdir" = x.; then
18064 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18065 s/:*\$(srcdir):*/:/
18066 s/:*\${srcdir}:*/:/
18068 s/^\([^=]*=[ ]*\):*/\1/
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18075 fi # test -n "$CONFIG_FILES"
18077 # Set up the scripts for CONFIG_HEADERS section.
18078 # No need to generate them if there are no CONFIG_HEADERS.
18079 # This happens for instance with `./config.status Makefile'.
18080 if test -n "$CONFIG_HEADERS"; then
18081 cat >"$tmp/defines.awk" <<\_ACAWK ||
18085 # Transform confdefs.h into an awk script `defines.awk', embedded as
18086 # here-document in config.status, that substitutes the proper values into
18087 # config.h.in to produce config.h.
18089 # Create a delimiter string that does not exist in confdefs.h, to ease
18090 # handling of long lines.
18092 for ac_last_try in false false :; do
18093 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18094 if test -z "$ac_t"; then
18096 elif $ac_last_try; then
18097 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
18099 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18103 # For the awk script, D is an array of macro values keyed by name,
18104 # likewise P contains macro parameters if any. Preserve backslash
18105 # newline sequences.
18107 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18109 s/.\{148\}/&'"$ac_delim"'/g
18112 s/^[ ]*#[ ]*define[ ][ ]*/ /
18119 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18121 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18125 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18126 D["\1"]=" \3\\\\\\n"\\/p
18128 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18133 s/.\{148\}/&'"$ac_delim"'/g
18138 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18141 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18143 ' <confdefs.h | sed '
18144 s/'"$ac_delim"'/"\\\
18145 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18148 for (key in D) D_is_set[key] = 1
18151 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18153 split(line, arg, " ")
18154 if (arg[1] == "#") {
18158 defundef = substr(arg[1], 2)
18161 split(mac1, mac2, "(") #)
18163 prefix = substr(line, 1, index(line, defundef) - 1)
18164 if (D_is_set[macro]) {
18165 # Preserve the white space surrounding the "#".
18166 print prefix "define", macro P[macro] D[macro]
18169 # Replace #undef with comments. This is necessary, for example,
18170 # in the case of _POSIX_SOURCE, which is predefined and required
18171 # on some systems where configure will not decide to define it.
18172 if (defundef == "undef") {
18173 print "/*", prefix defundef, macro, "*/"
18181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18182 as_fn_error "could not setup config headers machinery" "$LINENO" 5
18183 fi # test -n "$CONFIG_HEADERS"
18186 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18191 :[FHLC]) ac_mode=$ac_tag; continue;;
18193 case $ac_mode$ac_tag in
18195 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18196 :[FH]-) ac_tag=-:-;;
18197 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18214 -) ac_f="$tmp/stdin";;
18215 *) # Look for the file first in the build tree, then in the source tree
18216 # (if the path is not absolute). The absolute path cannot be DOS-style,
18217 # because $ac_f cannot contain `:'.
18221 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18223 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18225 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18226 as_fn_append ac_file_inputs " '$ac_f'"
18229 # Let's still pretend it is `configure' which instantiates (i.e., don't
18230 # use $as_me), people would be surprised to read:
18231 # /* config.h. Generated by config.status. */
18232 configure_input='Generated from '`
18233 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18235 if test x"$ac_file" != x-; then
18236 configure_input="$ac_file. $configure_input"
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18238 $as_echo "$as_me: creating $ac_file" >&6;}
18240 # Neutralize special characters interpreted by sed in replacement strings.
18241 case $configure_input in #(
18242 *\&* | *\|* | *\\* )
18243 ac_sed_conf_input=`$as_echo "$configure_input" |
18244 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18245 *) ac_sed_conf_input=$configure_input;;
18249 *:-:* | *:-) cat >"$tmp/stdin" \
18250 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18255 ac_dir=`$as_dirname -- "$ac_file" ||
18256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18257 X"$ac_file" : 'X\(//\)[^/]' \| \
18258 X"$ac_file" : 'X\(//\)$' \| \
18259 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18260 $as_echo X"$ac_file" |
18261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18265 /^X\(\/\/\)[^/].*/{
18278 as_dir="$ac_dir"; as_fn_mkdir_p
18282 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18284 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18285 # A ".." for each directory in $ac_dir_suffix.
18286 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18287 case $ac_top_builddir_sub in
18288 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18289 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18292 ac_abs_top_builddir=$ac_pwd
18293 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18294 # for backward compatibility:
18295 ac_top_builddir=$ac_top_build_prefix
18298 .) # We are building in place.
18300 ac_top_srcdir=$ac_top_builddir_sub
18301 ac_abs_top_srcdir=$ac_pwd ;;
18302 [\\/]* | ?:[\\/]* ) # Absolute name.
18303 ac_srcdir=$srcdir$ac_dir_suffix;
18304 ac_top_srcdir=$srcdir
18305 ac_abs_top_srcdir=$srcdir ;;
18306 *) # Relative name.
18307 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18308 ac_top_srcdir=$ac_top_build_prefix$srcdir
18309 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18311 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18321 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18322 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18324 ac_MKDIR_P=$MKDIR_P
18326 [\\/$]* | ?:[\\/]* ) ;;
18327 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18332 # If the template does not know about datarootdir, expand it.
18333 # FIXME: This hack should be removed a few years after 2.60.
18334 ac_datarootdir_hack=; ac_datarootdir_seen=
18345 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18346 *datarootdir*) ac_datarootdir_seen=yes;;
18347 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18349 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18352 ac_datarootdir_hack='
18353 s&@datadir@&$datadir&g
18354 s&@docdir@&$docdir&g
18355 s&@infodir@&$infodir&g
18356 s&@localedir@&$localedir&g
18357 s&@mandir@&$mandir&g
18358 s&\\\${datarootdir}&$datarootdir&g' ;;
18362 # Neutralize VPATH when `$srcdir' = `.'.
18363 # Shell code in configure.ac might set extrasub.
18364 # FIXME: do we really want to maintain this feature?
18365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18366 ac_sed_extra="$ac_vpsub
18369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18372 s|@configure_input@|$ac_sed_conf_input|;t t
18373 s&@top_builddir@&$ac_top_builddir_sub&;t t
18374 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18375 s&@srcdir@&$ac_srcdir&;t t
18376 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18377 s&@top_srcdir@&$ac_top_srcdir&;t t
18378 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18379 s&@builddir@&$ac_builddir&;t t
18380 s&@abs_builddir@&$ac_abs_builddir&;t t
18381 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18382 s&@INSTALL@&$ac_INSTALL&;t t
18383 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18384 $ac_datarootdir_hack
18386 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18387 || as_fn_error "could not create $ac_file" "$LINENO" 5
18389 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18390 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18391 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18393 which seems to be undefined. Please make sure it is defined." >&5
18394 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18395 which seems to be undefined. Please make sure it is defined." >&2;}
18399 -) cat "$tmp/out" && rm -f "$tmp/out";;
18400 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18402 || as_fn_error "could not create $ac_file" "$LINENO" 5
18408 if test x"$ac_file" != x-; then
18410 $as_echo "/* $configure_input */" \
18411 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18412 } >"$tmp/config.h" \
18413 || as_fn_error "could not create $ac_file" "$LINENO" 5
18414 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18416 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18419 mv "$tmp/config.h" "$ac_file" \
18420 || as_fn_error "could not create $ac_file" "$LINENO" 5
18423 $as_echo "/* $configure_input */" \
18424 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18425 || as_fn_error "could not create -" "$LINENO" 5
18427 # Compute "$ac_file"'s index in $config_headers.
18430 for _am_header in $config_headers :; do
18431 case $_am_header in
18432 $_am_arg | $_am_arg:* )
18435 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18438 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18439 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18440 X"$_am_arg" : 'X\(//\)[^/]' \| \
18441 X"$_am_arg" : 'X\(//\)$' \| \
18442 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18443 $as_echo X"$_am_arg" |
18444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18448 /^X\(\/\/\)[^/].*/{
18460 s/.*/./; q'`/stamp-h$_am_stamp_count
18463 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18464 $as_echo "$as_me: executing $ac_file commands" >&6;}
18469 case $ac_file$ac_mode in
18470 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18471 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18472 # are listed without --file. Let's play safe and only enable the eval
18473 # if we detect the quoting.
18474 case $CONFIG_FILES in
18475 *\'*) eval set x "$CONFIG_FILES" ;;
18476 *) set x $CONFIG_FILES ;;
18481 # Strip MF so we end up with the name of the file.
18482 mf=`echo "$mf" | sed -e 's/:.*$//'`
18483 # Check whether this is an Automake generated Makefile or not.
18484 # We used to match only the files named `Makefile.in', but
18485 # some people rename them; so instead we look at the file content.
18486 # Grep'ing the first line is not enough: some people post-process
18487 # each Makefile.in and add a new line on top of each file to say so.
18488 # Grep'ing the whole file is not good either: AIX grep has a line
18489 # limit of 2048, but all sed's we know have understand at least 4000.
18490 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18491 dirpart=`$as_dirname -- "$mf" ||
18492 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18493 X"$mf" : 'X\(//\)[^/]' \| \
18494 X"$mf" : 'X\(//\)$' \| \
18495 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18501 /^X\(\/\/\)[^/].*/{
18517 # Extract the definition of DEPDIR, am__include, and am__quote
18518 # from the Makefile without running `make'.
18519 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18520 test -z "$DEPDIR" && continue
18521 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18522 test -z "am__include" && continue
18523 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18524 # When using ansi2knr, U may be empty or an underscore; expand it
18525 U=`sed -n 's/^U = //p' < "$mf"`
18526 # Find all dependency output files, they are included files with
18527 # $(DEPDIR) in their names. We invoke sed twice because it is the
18528 # simplest approach to changing $(DEPDIR) to its actual value in the
18530 for file in `sed -n "
18531 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18532 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18533 # Make sure the directory exists.
18534 test -f "$dirpart/$file" && continue
18535 fdir=`$as_dirname -- "$file" ||
18536 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18537 X"$file" : 'X\(//\)[^/]' \| \
18538 X"$file" : 'X\(//\)$' \| \
18539 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18540 $as_echo X"$file" |
18541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18545 /^X\(\/\/\)[^/].*/{
18558 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18559 # echo "creating $dirpart/$file"
18560 echo '# dummy' > "$dirpart/$file"
18567 # See if we are running on zsh, and set the options which allow our
18568 # commands through without removal of \ escapes.
18569 if test -n "${ZSH_VERSION+set}" ; then
18570 setopt NO_GLOB_SUBST
18573 cfgfile="${ofile}T"
18574 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18577 cat <<_LT_EOF >> "$cfgfile"
18580 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18581 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18582 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18583 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18585 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18586 # 2006, 2007, 2008 Free Software Foundation, Inc.
18587 # Written by Gordon Matzigkeit, 1996
18589 # This file is part of GNU Libtool.
18591 # GNU Libtool is free software; you can redistribute it and/or
18592 # modify it under the terms of the GNU General Public License as
18593 # published by the Free Software Foundation; either version 2 of
18594 # the License, or (at your option) any later version.
18596 # As a special exception to the GNU General Public License,
18597 # if you distribute this file as part of a program or library that
18598 # is built using GNU Libtool, you may include this file under the
18599 # same distribution terms that you use for the rest of that program.
18601 # GNU Libtool is distributed in the hope that it will be useful,
18602 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18603 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18604 # GNU General Public License for more details.
18606 # You should have received a copy of the GNU General Public License
18607 # along with GNU Libtool; see the file COPYING. If not, a copy
18608 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18609 # obtained by writing to the Free Software Foundation, Inc.,
18610 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18613 # The names of the tagged configurations supported by this script.
18616 # ### BEGIN LIBTOOL CONFIG
18618 # Whether or not to build static libraries.
18619 build_old_libs=$enable_static
18621 # Whether or not to build shared libraries.
18622 build_libtool_libs=$enable_shared
18624 # Which release of libtool.m4 was used?
18625 macro_version=$macro_version
18626 macro_revision=$macro_revision
18628 # What type of objects to build.
18631 # Whether or not to optimize for fast installation.
18632 fast_install=$enable_fast_install
18635 host_alias=$host_alias
18639 # The build system.
18640 build_alias=$build_alias
18644 # A sed program that does not truncate output.
18647 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18648 Xsed="\$SED -e 1s/^X//"
18650 # A grep program that handles long lines.
18656 # A literal string matcher.
18659 # A BSD- or MS-compatible name lister.
18662 # Whether we need soft or hard links.
18665 # What is the maximum length of a command?
18666 max_cmd_len=$max_cmd_len
18668 # Object file suffix (normally "o").
18671 # Executable file suffix (normally "").
18674 # whether the shell understands "unset".
18677 # turn spaces into newlines.
18680 # turn newlines into spaces.
18683 # How to create reloadable object files.
18684 reload_flag=$lt_reload_flag
18685 reload_cmds=$lt_reload_cmds
18687 # An object symbol dumper.
18688 OBJDUMP=$lt_OBJDUMP
18690 # Method to check whether dependent libraries are shared objects.
18691 deplibs_check_method=$lt_deplibs_check_method
18693 # Command to use when deplibs_check_method == "file_magic".
18694 file_magic_cmd=$lt_file_magic_cmd
18698 AR_FLAGS=$lt_AR_FLAGS
18700 # A symbol stripping program.
18703 # Commands used to install an old-style archive.
18705 old_postinstall_cmds=$lt_old_postinstall_cmds
18706 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18711 # LTCC compiler flags.
18712 LTCFLAGS=$lt_CFLAGS
18714 # Take the output of nm and produce a listing of raw symbols and C names.
18715 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18717 # Transform the output of nm in a proper C declaration.
18718 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18720 # Transform the output of nm in a C name address pair.
18721 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18723 # Transform the output of nm in a C name address pair when lib prefix is needed.
18724 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18726 # The name of the directory that contains temporary libtool files.
18729 # Shell to use when invoking shell scripts.
18732 # An echo program that does not interpret backslashes.
18735 # Used to examine libraries when file_magic_cmd begins with "file".
18736 MAGIC_CMD=$MAGIC_CMD
18738 # Must we lock files when doing compilation?
18739 need_locks=$lt_need_locks
18741 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18742 DSYMUTIL=$lt_DSYMUTIL
18744 # Tool to change global to local symbols on Mac OS X.
18747 # Tool to manipulate fat objects and archives on Mac OS X.
18750 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18753 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18754 OTOOL64=$lt_OTOOL64
18756 # Old archive suffix (normally "a").
18759 # Shared library suffix (normally ".so").
18760 shrext_cmds=$lt_shrext_cmds
18762 # The commands to extract the exported symbol list from a shared archive.
18763 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18765 # Variables whose values should be saved in libtool wrapper scripts and
18766 # restored at link time.
18767 variables_saved_for_relink=$lt_variables_saved_for_relink
18769 # Do we need the "lib" prefix for modules?
18770 need_lib_prefix=$need_lib_prefix
18772 # Do we need a version for libraries?
18773 need_version=$need_version
18775 # Library versioning type.
18776 version_type=$version_type
18778 # Shared library runtime path variable.
18779 runpath_var=$runpath_var
18781 # Shared library path variable.
18782 shlibpath_var=$shlibpath_var
18784 # Is shlibpath searched before the hard-coded library search path?
18785 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18787 # Format of library name prefix.
18788 libname_spec=$lt_libname_spec
18790 # List of archive names. First name is the real one, the rest are links.
18791 # The last name is the one that the linker finds with -lNAME
18792 library_names_spec=$lt_library_names_spec
18794 # The coded name of the library, if different from the real name.
18795 soname_spec=$lt_soname_spec
18797 # Command to use after installation of a shared archive.
18798 postinstall_cmds=$lt_postinstall_cmds
18800 # Command to use after uninstallation of a shared archive.
18801 postuninstall_cmds=$lt_postuninstall_cmds
18803 # Commands used to finish a libtool library installation in a directory.
18804 finish_cmds=$lt_finish_cmds
18806 # As "finish_cmds", except a single script fragment to be evaled but
18808 finish_eval=$lt_finish_eval
18810 # Whether we should hardcode library paths into libraries.
18811 hardcode_into_libs=$hardcode_into_libs
18813 # Compile-time system search path for libraries.
18814 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18816 # Run-time system search path for libraries.
18817 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18819 # Whether dlopen is supported.
18820 dlopen_support=$enable_dlopen
18822 # Whether dlopen of programs is supported.
18823 dlopen_self=$enable_dlopen_self
18825 # Whether dlopen of statically linked programs is supported.
18826 dlopen_self_static=$enable_dlopen_self_static
18828 # Commands to strip libraries.
18829 old_striplib=$lt_old_striplib
18830 striplib=$lt_striplib
18833 # The linker used to build libraries.
18836 # Commands used to build an old-style archive.
18837 old_archive_cmds=$lt_old_archive_cmds
18839 # A language specific compiler.
18842 # Is the compiler the GNU compiler?
18845 # Compiler flag to turn off builtin functions.
18846 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18848 # How to pass a linker flag through the compiler.
18849 wl=$lt_lt_prog_compiler_wl
18851 # Additional compiler flags for building library objects.
18852 pic_flag=$lt_lt_prog_compiler_pic
18854 # Compiler flag to prevent dynamic linking.
18855 link_static_flag=$lt_lt_prog_compiler_static
18857 # Does compiler simultaneously support -c and -o options?
18858 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18860 # Whether or not to add -lc for building shared libraries.
18861 build_libtool_need_lc=$archive_cmds_need_lc
18863 # Whether or not to disallow shared libs when runtime libs are static.
18864 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18866 # Compiler flag to allow reflexive dlopens.
18867 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18869 # Compiler flag to generate shared objects directly from archives.
18870 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18872 # Whether the compiler copes with passing no objects directly.
18873 compiler_needs_object=$lt_compiler_needs_object
18875 # Create an old-style archive from a shared archive.
18876 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18878 # Create a temporary old-style archive to link instead of a shared archive.
18879 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18881 # Commands used to build a shared archive.
18882 archive_cmds=$lt_archive_cmds
18883 archive_expsym_cmds=$lt_archive_expsym_cmds
18885 # Commands used to build a loadable module if different from building
18886 # a shared archive.
18887 module_cmds=$lt_module_cmds
18888 module_expsym_cmds=$lt_module_expsym_cmds
18890 # Whether we are building with GNU ld or not.
18891 with_gnu_ld=$lt_with_gnu_ld
18893 # Flag that allows shared libraries with undefined symbols to be built.
18894 allow_undefined_flag=$lt_allow_undefined_flag
18896 # Flag that enforces no undefined symbols.
18897 no_undefined_flag=$lt_no_undefined_flag
18899 # Flag to hardcode \$libdir into a binary during linking.
18900 # This must work even if \$libdir does not exist
18901 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18903 # If ld is used when linking, flag to hardcode \$libdir into a binary
18904 # during linking. This must work even if \$libdir does not exist.
18905 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18907 # Whether we need a single "-rpath" flag with a separated argument.
18908 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18910 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18911 # DIR into the resulting binary.
18912 hardcode_direct=$hardcode_direct
18914 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18915 # DIR into the resulting binary and the resulting library dependency is
18916 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18917 # library is relocated.
18918 hardcode_direct_absolute=$hardcode_direct_absolute
18920 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18921 # into the resulting binary.
18922 hardcode_minus_L=$hardcode_minus_L
18924 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18925 # into the resulting binary.
18926 hardcode_shlibpath_var=$hardcode_shlibpath_var
18928 # Set to "yes" if building a shared library automatically hardcodes DIR
18929 # into the library and all subsequent libraries and executables linked
18931 hardcode_automatic=$hardcode_automatic
18933 # Set to yes if linker adds runtime paths of dependent libraries
18934 # to runtime path list.
18935 inherit_rpath=$inherit_rpath
18937 # Whether libtool must link a program against all its dependency libraries.
18938 link_all_deplibs=$link_all_deplibs
18940 # Fix the shell variable \$srcfile for the compiler.
18941 fix_srcfile_path=$lt_fix_srcfile_path
18943 # Set to "yes" if exported symbols are required.
18944 always_export_symbols=$always_export_symbols
18946 # The commands to list exported symbols.
18947 export_symbols_cmds=$lt_export_symbols_cmds
18949 # Symbols that should not be listed in the preloaded symbols.
18950 exclude_expsyms=$lt_exclude_expsyms
18952 # Symbols that must always be exported.
18953 include_expsyms=$lt_include_expsyms
18955 # Commands necessary for linking programs (against libraries) with templates.
18956 prelink_cmds=$lt_prelink_cmds
18958 # Specify filename containing input files.
18959 file_list_spec=$lt_file_list_spec
18961 # How to hardcode a shared library path into an executable.
18962 hardcode_action=$hardcode_action
18964 # ### END LIBTOOL CONFIG
18970 cat <<\_LT_EOF >> "$cfgfile"
18971 # AIX sometimes has problems with the GCC collect2 program. For some
18972 # reason, if we set the COLLECT_NAMES environment variable, the problems
18973 # vanish in a puff of smoke.
18974 if test "X${COLLECT_NAMES+set}" != Xset; then
18976 export COLLECT_NAMES
18983 ltmain="$ac_aux_dir/ltmain.sh"
18986 # We use sed instead of cat because bash on DJGPP gets confused if
18987 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18988 # text mode, it properly converts lines to CR/LF. This bash problem
18989 # is reportedly fixed, but why not run on old versions too?
18990 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18991 || (rm -f "$cfgfile"; exit 1)
18995 cat << \_LT_EOF >> "$cfgfile"
18997 # func_dirname file append nondir_replacement
18998 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18999 # otherwise set result to NONDIR_REPLACEMENT.
19003 */*) func_dirname_result="${1%/*}${2}" ;;
19004 * ) func_dirname_result="${3}" ;;
19008 # func_basename file
19011 func_basename_result="${1##*/}"
19014 # func_dirname_and_basename file append nondir_replacement
19015 # perform func_basename and func_dirname in a single function
19017 # dirname: Compute the dirname of FILE. If nonempty,
19018 # add APPEND to the result, otherwise set result
19019 # to NONDIR_REPLACEMENT.
19020 # value returned in "$func_dirname_result"
19021 # basename: Compute filename of FILE.
19022 # value retuned in "$func_basename_result"
19023 # Implementation must be kept synchronized with func_dirname
19024 # and func_basename. For efficiency, we do not delegate to
19025 # those functions but instead duplicate the functionality here.
19026 func_dirname_and_basename ()
19029 */*) func_dirname_result="${1%/*}${2}" ;;
19030 * ) func_dirname_result="${3}" ;;
19032 func_basename_result="${1##*/}"
19035 # func_stripname prefix suffix name
19036 # strip PREFIX and SUFFIX off of NAME.
19037 # PREFIX and SUFFIX must not contain globbing or regex special
19038 # characters, hashes, percent signs, but SUFFIX may contain a leading
19039 # dot (in which case that matches only a dot).
19042 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19043 # positional parameters, so assign one to ordinary parameter first.
19044 func_stripname_result=${3}
19045 func_stripname_result=${func_stripname_result#"${1}"}
19046 func_stripname_result=${func_stripname_result%"${2}"}
19052 func_opt_split_opt=${1%%=*}
19053 func_opt_split_arg=${1#*=}
19060 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19061 *) func_lo2o_result=${1} ;;
19065 # func_xform libobj-or-source
19068 func_xform_result=${1%.*}.lo
19071 # func_arith arithmetic-term...
19074 func_arith_result=$(( $* ))
19078 # STRING may not start with a hyphen.
19081 func_len_result=${#1}
19086 *) # Bourne compatible functions.
19087 cat << \_LT_EOF >> "$cfgfile"
19089 # func_dirname file append nondir_replacement
19090 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19091 # otherwise set result to NONDIR_REPLACEMENT.
19094 # Extract subdirectory from the argument.
19095 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19096 if test "X$func_dirname_result" = "X${1}"; then
19097 func_dirname_result="${3}"
19099 func_dirname_result="$func_dirname_result${2}"
19103 # func_basename file
19106 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19110 # func_stripname prefix suffix name
19111 # strip PREFIX and SUFFIX off of NAME.
19112 # PREFIX and SUFFIX must not contain globbing or regex special
19113 # characters, hashes, percent signs, but SUFFIX may contain a leading
19114 # dot (in which case that matches only a dot).
19115 # func_strip_suffix prefix name
19119 .*) func_stripname_result=`$ECHO "X${3}" \
19120 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19121 *) func_stripname_result=`$ECHO "X${3}" \
19122 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19127 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19128 my_sed_long_arg='1s/^-[^=]*=//'
19133 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19134 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19140 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19143 # func_xform libobj-or-source
19146 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19149 # func_arith arithmetic-term...
19152 func_arith_result=`expr "$@"`
19156 # STRING may not start with a hyphen.
19159 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19165 case $lt_shell_append in
19167 cat << \_LT_EOF >> "$cfgfile"
19169 # func_append var value
19170 # Append VALUE to the end of shell variable VAR.
19178 cat << \_LT_EOF >> "$cfgfile"
19180 # func_append var value
19181 # Append VALUE to the end of shell variable VAR.
19192 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19193 || (rm -f "$cfgfile"; exit 1)
19195 mv -f "$cfgfile" "$ofile" ||
19196 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19200 "po-directories":C)
19201 for ac_file in $CONFIG_FILES; do
19202 # Support "outfile[:infile[:infile...]]"
19204 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19206 # PO directories have a Makefile.in generated from Makefile.in.in.
19207 case "$ac_file" in */Makefile.in)
19208 # Adjust a relative srcdir.
19209 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19210 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
19211 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19212 # In autoconf-2.13 it is called $ac_given_srcdir.
19213 # In autoconf-2.50 it is called $srcdir.
19214 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19215 case "$ac_given_srcdir" in
19216 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19217 /*) top_srcdir="$ac_given_srcdir" ;;
19218 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19220 # Treat a directory as a PO directory if and only if it has a
19221 # POTFILES.in file. This allows packages to have multiple PO
19222 # directories under different names or in different locations.
19223 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19224 rm -f "$ac_dir/POTFILES"
19225 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19226 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19227 POMAKEFILEDEPS="POTFILES.in"
19228 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19229 # on $ac_dir but don't depend on user-specified configuration
19231 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19232 # The LINGUAS file contains the set of available languages.
19233 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19234 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19236 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19237 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19238 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19239 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19241 # The set of available languages was given in configure.in.
19242 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19243 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19246 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19247 # Compute UPDATEPOFILES
19248 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19249 # Compute DUMMYPOFILES
19250 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19252 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19253 case "$ac_given_srcdir" in
19255 *) srcdirpre='$(srcdir)/' ;;
19261 for lang in $ALL_LINGUAS; do
19262 POFILES="$POFILES $srcdirpre$lang.po"
19263 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19264 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19265 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19267 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19268 # environment variable.
19270 if test -n "$ALL_LINGUAS"; then
19271 for presentlang in $ALL_LINGUAS; do
19273 if test "%UNSET%" != "$LINGUAS"; then
19274 desiredlanguages="$LINGUAS"
19276 desiredlanguages="$ALL_LINGUAS"
19278 for desiredlang in $desiredlanguages; do
19279 # Use the presentlang catalog if desiredlang is
19280 # a. equal to presentlang, or
19281 # b. a variant of presentlang (because in this case,
19282 # presentlang can be used as a fallback for messages
19283 # which are not translated in the desiredlang catalog).
19284 case "$desiredlang" in
19285 "$presentlang"*) useit=yes;;
19288 if test $useit = yes; then
19289 INST_LINGUAS="$INST_LINGUAS $presentlang"
19294 if test -n "$INST_LINGUAS"; then
19295 for lang in $INST_LINGUAS; do
19296 CATALOGS="$CATALOGS $lang.gmo"
19299 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19300 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19301 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19302 if test -f "$f"; then
19304 *.orig | *.bak | *~) ;;
19305 *) cat "$f" >> "$ac_dir/Makefile" ;;
19320 ac_clean_files=$ac_clean_files_save
19322 test $ac_write_fail = 0 ||
19323 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19326 # configure is writing to config.log, and then calls config.status.
19327 # config.status does its own redirection, appending to config.log.
19328 # Unfortunately, on DOS this fails, as config.log is still kept open
19329 # by configure, so config.status won't be able to write to it; its
19330 # output is simply discarded. So we exec the FD to /dev/null,
19331 # effectively closing config.log, so it can be properly (re)opened and
19332 # appended to by config.status. When coming back to configure, we
19333 # need to make the FD available again.
19334 if test "$no_create" != yes; then
19336 ac_config_status_args=
19337 test "$silent" = yes &&
19338 ac_config_status_args="$ac_config_status_args --quiet"
19340 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19342 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19343 # would make configure fail if this is the last instruction.
19344 $ac_cs_success || as_fn_exit $?
19346 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19348 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}