2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gumd 1.0.8.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
589 PACKAGE_TARNAME='gumd'
590 PACKAGE_VERSION='1.0.8'
591 PACKAGE_STRING='gumd 1.0.8'
593 PACKAGE_URL='https://github.com/01org/gumd'
595 ac_unique_file="src/daemon/main.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
650 GTK_DOC_USE_REBASE_FALSE
651 GTK_DOC_USE_REBASE_TRUE
652 GTK_DOC_USE_LIBTOOL_FALSE
653 GTK_DOC_USE_LIBTOOL_TRUE
654 GTK_DOC_BUILD_PDF_FALSE
655 GTK_DOC_BUILD_PDF_TRUE
656 GTK_DOC_BUILD_HTML_FALSE
657 GTK_DOC_BUILD_HTML_TRUE
673 USE_DBUS_SERVICE_FALSE
674 USE_DBUS_SERVICE_TRUE
675 HAVE_SYSTEM_BUS_FALSE
684 SET_PERMISSIONS_FALSE
691 HAVE_LIBTLM_NFC_FALSE
761 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_dependency_tracking
838 enable_defadmingroups
846 ac_precious_vars='build_alias
870 # Initialize some variables set by options.
872 ac_init_version=false
873 ac_unrecognized_opts=
875 # The variables have the same names as the options, with
876 # dashes changed to underlines.
884 program_transform_name=s,x,x,
892 # Installation directory options.
893 # These are left unexpanded so users can "make install exec_prefix=/foo"
894 # and all the variables that are supposed to be based on exec_prefix
895 # by default will actually change.
896 # Use braces instead of parens because sh, perl, etc. also accept them.
897 # (The list follows the same order as the GNU Coding Standards.)
898 bindir='${exec_prefix}/bin'
899 sbindir='${exec_prefix}/sbin'
900 libexecdir='${exec_prefix}/libexec'
901 datarootdir='${prefix}/share'
902 datadir='${datarootdir}'
903 sysconfdir='${prefix}/etc'
904 sharedstatedir='${prefix}/com'
905 localstatedir='${prefix}/var'
906 includedir='${prefix}/include'
907 oldincludedir='/usr/include'
908 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
909 infodir='${datarootdir}/info'
914 libdir='${exec_prefix}/lib'
915 localedir='${datarootdir}/locale'
916 mandir='${datarootdir}/man'
922 # If the previous option needs an argument, assign it.
923 if test -n "$ac_prev"; then
924 eval $ac_prev=\$ac_option
930 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
935 # Accept the important Cygnus configure options, so we can diagnose typos.
937 case $ac_dashdash$ac_option in
941 -bindir | --bindir | --bindi | --bind | --bin | --bi)
943 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
946 -build | --build | --buil | --bui | --bu)
947 ac_prev=build_alias ;;
948 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
949 build_alias=$ac_optarg ;;
951 -cache-file | --cache-file | --cache-fil | --cache-fi \
952 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
953 ac_prev=cache_file ;;
954 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
955 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
956 cache_file=$ac_optarg ;;
959 cache_file=config.cache ;;
961 -datadir | --datadir | --datadi | --datad)
963 -datadir=* | --datadir=* | --datadi=* | --datad=*)
964 datadir=$ac_optarg ;;
966 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
967 | --dataroo | --dataro | --datar)
968 ac_prev=datarootdir ;;
969 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
970 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
971 datarootdir=$ac_optarg ;;
973 -disable-* | --disable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
987 eval enable_$ac_useropt=no ;;
989 -docdir | --docdir | --docdi | --doc | --do)
991 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
994 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
996 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
999 -enable-* | --enable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error $? "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1013 eval enable_$ac_useropt=\$ac_optarg ;;
1015 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1016 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1017 | --exec | --exe | --ex)
1018 ac_prev=exec_prefix ;;
1019 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1020 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1021 | --exec=* | --exe=* | --ex=*)
1022 exec_prefix=$ac_optarg ;;
1024 -gas | --gas | --ga | --g)
1025 # Obsolete; use --with-gas.
1028 -help | --help | --hel | --he | -h)
1029 ac_init_help=long ;;
1030 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1031 ac_init_help=recursive ;;
1032 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1033 ac_init_help=short ;;
1035 -host | --host | --hos | --ho)
1036 ac_prev=host_alias ;;
1037 -host=* | --host=* | --hos=* | --ho=*)
1038 host_alias=$ac_optarg ;;
1040 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1042 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1044 htmldir=$ac_optarg ;;
1046 -includedir | --includedir | --includedi | --included | --include \
1047 | --includ | --inclu | --incl | --inc)
1048 ac_prev=includedir ;;
1049 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1050 | --includ=* | --inclu=* | --incl=* | --inc=*)
1051 includedir=$ac_optarg ;;
1053 -infodir | --infodir | --infodi | --infod | --info | --inf)
1055 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1056 infodir=$ac_optarg ;;
1058 -libdir | --libdir | --libdi | --libd)
1060 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1061 libdir=$ac_optarg ;;
1063 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1064 | --libexe | --libex | --libe)
1065 ac_prev=libexecdir ;;
1066 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1067 | --libexe=* | --libex=* | --libe=*)
1068 libexecdir=$ac_optarg ;;
1070 -localedir | --localedir | --localedi | --localed | --locale)
1071 ac_prev=localedir ;;
1072 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1073 localedir=$ac_optarg ;;
1075 -localstatedir | --localstatedir | --localstatedi | --localstated \
1076 | --localstate | --localstat | --localsta | --localst | --locals)
1077 ac_prev=localstatedir ;;
1078 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1079 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1080 localstatedir=$ac_optarg ;;
1082 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1084 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1085 mandir=$ac_optarg ;;
1087 -nfp | --nfp | --nf)
1088 # Obsolete; use --without-fp.
1091 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1092 | --no-cr | --no-c | -n)
1095 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1096 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1099 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1100 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1101 | --oldin | --oldi | --old | --ol | --o)
1102 ac_prev=oldincludedir ;;
1103 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1104 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1105 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1106 oldincludedir=$ac_optarg ;;
1108 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1110 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1111 prefix=$ac_optarg ;;
1113 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1114 | --program-pre | --program-pr | --program-p)
1115 ac_prev=program_prefix ;;
1116 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1117 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1118 program_prefix=$ac_optarg ;;
1120 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1121 | --program-suf | --program-su | --program-s)
1122 ac_prev=program_suffix ;;
1123 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1124 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1125 program_suffix=$ac_optarg ;;
1127 -program-transform-name | --program-transform-name \
1128 | --program-transform-nam | --program-transform-na \
1129 | --program-transform-n | --program-transform- \
1130 | --program-transform | --program-transfor \
1131 | --program-transfo | --program-transf \
1132 | --program-trans | --program-tran \
1133 | --progr-tra | --program-tr | --program-t)
1134 ac_prev=program_transform_name ;;
1135 -program-transform-name=* | --program-transform-name=* \
1136 | --program-transform-nam=* | --program-transform-na=* \
1137 | --program-transform-n=* | --program-transform-=* \
1138 | --program-transform=* | --program-transfor=* \
1139 | --program-transfo=* | --program-transf=* \
1140 | --program-trans=* | --program-tran=* \
1141 | --progr-tra=* | --program-tr=* | --program-t=*)
1142 program_transform_name=$ac_optarg ;;
1144 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1146 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1147 pdfdir=$ac_optarg ;;
1149 -psdir | --psdir | --psdi | --psd | --ps)
1151 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1155 | -silent | --silent | --silen | --sile | --sil)
1158 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1160 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1162 sbindir=$ac_optarg ;;
1164 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1165 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1166 | --sharedst | --shareds | --shared | --share | --shar \
1168 ac_prev=sharedstatedir ;;
1169 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1170 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1171 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1173 sharedstatedir=$ac_optarg ;;
1175 -site | --site | --sit)
1177 -site=* | --site=* | --sit=*)
1180 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1182 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1183 srcdir=$ac_optarg ;;
1185 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1186 | --syscon | --sysco | --sysc | --sys | --sy)
1187 ac_prev=sysconfdir ;;
1188 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1189 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1190 sysconfdir=$ac_optarg ;;
1192 -target | --target | --targe | --targ | --tar | --ta | --t)
1193 ac_prev=target_alias ;;
1194 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1195 target_alias=$ac_optarg ;;
1197 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1200 -version | --version | --versio | --versi | --vers | -V)
1201 ac_init_version=: ;;
1204 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 as_fn_error $? "invalid package name: $ac_useropt"
1208 ac_useropt_orig=$ac_useropt
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1215 ac_unrecognized_sep=', ';;
1217 eval with_$ac_useropt=\$ac_optarg ;;
1219 -without-* | --without-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error $? "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1233 eval with_$ac_useropt=no ;;
1236 # Obsolete; use --with-x.
1239 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1240 | --x-incl | --x-inc | --x-in | --x-i)
1241 ac_prev=x_includes ;;
1242 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1243 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1244 x_includes=$ac_optarg ;;
1246 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1247 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1248 ac_prev=x_libraries ;;
1249 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1250 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1251 x_libraries=$ac_optarg ;;
1253 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1254 Try \`$0 --help' for more information"
1258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1259 # Reject names that are not valid shell variable names.
1260 case $ac_envvar in #(
1261 '' | [0-9]* | *[!_$as_cr_alnum]* )
1262 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1264 eval $ac_envvar=\$ac_optarg
1265 export $ac_envvar ;;
1268 # FIXME: should be removed in autoconf 3.0.
1269 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1278 if test -n "$ac_prev"; then
1279 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1280 as_fn_error $? "missing argument to $ac_option"
1283 if test -n "$ac_unrecognized_opts"; then
1284 case $enable_option_checking in
1286 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1287 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1291 # Check all directory arguments for consistency.
1292 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir
1297 eval ac_val=\$$ac_var
1298 # Remove trailing slashes.
1301 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1302 eval $ac_var=\$ac_val;;
1304 # Be sure to have absolute directory names.
1306 [\\/$]* | ?:[\\/]* ) continue;;
1307 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1309 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1312 # There might be people who depend on the old broken behavior: `$host'
1313 # used to hold the argument of --host etc.
1314 # FIXME: To remove some day.
1317 target=$target_alias
1319 # FIXME: To remove some day.
1320 if test "x$host_alias" != x; then
1321 if test "x$build_alias" = x; then
1322 cross_compiling=maybe
1323 elif test "x$build_alias" != "x$host_alias"; then
1329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1331 test "$silent" = yes && exec 6>/dev/null
1334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335 ac_ls_di=`ls -di .` &&
1336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337 as_fn_error $? "working directory cannot be determined"
1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339 as_fn_error $? "pwd does not report name of working directory"
1342 # Find the source files, if location was not specified.
1343 if test -z "$srcdir"; then
1344 ac_srcdir_defaulted=yes
1345 # Try the directory containing this script, then the parent directory.
1346 ac_confdir=`$as_dirname -- "$as_myself" ||
1347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1348 X"$as_myself" : 'X\(//\)[^/]' \| \
1349 X"$as_myself" : 'X\(//\)$' \| \
1350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1351 $as_echo X"$as_myself" |
1352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1374 ac_srcdir_defaulted=no
1376 if test ! -r "$srcdir/$ac_unique_file"; then
1377 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1382 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1384 # When building in place, set srcdir=.
1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
1388 # Remove unnecessary trailing slashes from srcdir.
1389 # Double slashes in file names in object file debugging info
1390 # mess up M-x gdb in Emacs.
1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1394 for ac_var in $ac_precious_vars; do
1395 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1396 eval ac_env_${ac_var}_value=\$${ac_var}
1397 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1402 # Report the --help message.
1404 if test "$ac_init_help" = "long"; then
1405 # Omit some internal or obsolete options to make the list less imposing.
1406 # This message is too long to be a string in the A/UX 3.1 sh.
1408 \`configure' configures gumd 1.0.8 to adapt to many kinds of systems.
1410 Usage: $0 [OPTION]... [VAR=VALUE]...
1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413 VAR=VALUE. See below for descriptions of some of the useful variables.
1415 Defaults for the options are specified in brackets.
1418 -h, --help display this help and exit
1419 --help=short display options specific to this package
1420 --help=recursive display the short help of all the included packages
1421 -V, --version display version information and exit
1422 -q, --quiet, --silent do not print \`checking ...' messages
1423 --cache-file=FILE cache test results in FILE [disabled]
1424 -C, --config-cache alias for \`--cache-file=config.cache'
1425 -n, --no-create do not create output files
1426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1428 Installation directories:
1429 --prefix=PREFIX install architecture-independent files in PREFIX
1430 [$ac_default_prefix]
1431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1434 By default, \`make install' will install all the files in
1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437 for instance \`--prefix=\$HOME'.
1439 For better control, use the options below.
1441 Fine tuning of the installation directories:
1442 --bindir=DIR user executables [EPREFIX/bin]
1443 --sbindir=DIR system admin executables [EPREFIX/sbin]
1444 --libexecdir=DIR program executables [EPREFIX/libexec]
1445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1448 --libdir=DIR object code libraries [EPREFIX/lib]
1449 --includedir=DIR C header files [PREFIX/include]
1450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1453 --infodir=DIR info documentation [DATAROOTDIR/info]
1454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1455 --mandir=DIR man documentation [DATAROOTDIR/man]
1456 --docdir=DIR documentation root [DATAROOTDIR/doc/gumd]
1457 --htmldir=DIR html documentation [DOCDIR]
1458 --dvidir=DIR dvi documentation [DOCDIR]
1459 --pdfdir=DIR pdf documentation [DOCDIR]
1460 --psdir=DIR ps documentation [DOCDIR]
1466 --program-prefix=PREFIX prepend PREFIX to installed program names
1467 --program-suffix=SUFFIX append SUFFIX to installed program names
1468 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1471 --build=BUILD configure for building on BUILD [guessed]
1472 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1476 if test -n "$ac_init_help"; then
1477 case $ac_init_help in
1478 short | recursive ) echo "Configuration of gumd 1.0.8:";;
1483 --disable-option-checking ignore unrecognized --enable/--with options
1484 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1485 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1486 --enable-silent-rules less verbose build output (undo: "make V=1")
1487 --disable-silent-rules verbose build output (undo: "make V=0")
1488 --enable-dependency-tracking
1489 do not reject slow dependency extractors
1490 --disable-dependency-tracking
1491 speeds up one-time build
1492 --enable-static[=PKGS] build static libraries [default=no]
1493 --enable-shared[=PKGS] build shared libraries [default=yes]
1494 --enable-fast-install[=PKGS]
1495 optimize for fast installation [default=yes]
1496 --disable-libtool-lock avoid locking (might break parallel builds)
1497 --enable-cov build to be used for coverage analysis
1498 --enable-distcheck build for distcheck target
1499 --enable-dbus-type=dbus-type specify daemon dbus type:
1500 p2p: uses peer to peer dbus
1501 session: uses session message bus
1502 system(default): uses system message bus
1503 --enable-tests enable tests features
1504 --enable-debug enable debug features
1505 --enable-passwdfile=path enable passwd file at location "path"
1506 instead of default "/etc/passwd"
1507 --enable-shadowfile=path enable shadow file at location "path"
1508 instead of default "/etc/shadow"
1509 --enable-groupfile=path enable group file at location "path"
1510 instead of default "/etc/group"
1511 --enable-gshadowfile=path enable gshadow file at location "path"
1512 instead of default "/etc/gshadow"
1513 --enable-homedirpref=path enable home directory prefix at "path"
1514 instead of default "/home"
1515 --enable-shell=path enable shell at location "path"
1516 instead of default "/bin/bash"
1517 --enable-defusergroups=groups enable default user groups by
1518 "groups" instead of default ""
1519 --enable-defadmingroups=groups enable default groups for admin
1520 user by "groups" instead of default ""
1521 --enable-skeldir=path enable skel dir at location "path" instead
1522 of default "/etc/skel"
1523 --enable-encryptalgo=algo enable encrypt algorithm as specified
1524 by "algo" instead of default "SHA512". Other supported algorithms are
1525 'MD5', 'SHA256', 'DES'
1526 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1527 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1528 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1531 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1532 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1533 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1535 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1536 --with-sysroot=DIR Search for dependent libraries within DIR
1537 (or the compiler's sysroot if not specified).
1538 --with-html-dir=PATH path to installed docs
1540 Some influential environment variables:
1541 CC C compiler command
1542 CFLAGS C compiler flags
1543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1544 nonstandard directory <lib dir>
1545 LIBS libraries to pass to the linker, e.g. -l<library>
1546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1547 you have headers in a nonstandard directory <include dir>
1549 PKG_CONFIG path to pkg-config utility
1551 directories to add to pkg-config's search path
1553 path overriding pkg-config's built-in search path
1554 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1555 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1557 C compiler flags for LIBTLM_NFC, overriding pkg-config
1559 linker flags for LIBTLM_NFC, overriding pkg-config
1561 C compiler flags for CHECK, overriding pkg-config
1562 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1563 DBus_CFLAGS C compiler flags for DBus, overriding pkg-config
1564 DBus_LIBS linker flags for DBus, overriding pkg-config
1566 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1568 linker flags for GTKDOC_DEPS, overriding pkg-config
1570 Use these variables to override the choices made by `configure' or to help
1571 it to find libraries and programs with nonstandard names/locations.
1573 Report bugs to the package provider.
1574 gumd home page: <https://github.com/01org/gumd>.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir=$ac_pwd
1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir=$ac_top_build_prefix
1604 .) # We are building in place.
1606 ac_top_srcdir=$ac_top_builddir_sub
1607 ac_abs_top_srcdir=$ac_pwd ;;
1608 [\\/]* | ?:[\\/]* ) # Absolute name.
1609 ac_srcdir=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir=$srcdir
1611 ac_abs_top_srcdir=$srcdir ;;
1613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status=$?; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status=$?; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1637 gumd configure 1.0.8
1638 generated by GNU Autoconf 2.69
1640 Copyright (C) 2012 Free Software Foundation, Inc.
1641 This configure script is free software; the Free Software Foundation
1642 gives unlimited permission to copy, distribute and modify it.
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext conftest$ac_exeext
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 test -x conftest$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status $ac_retval
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } > conftest.i && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status $ac_retval
1803 # ac_fn_c_try_run LINENO
1804 # ----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1806 # that executables *can* be run.
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 if { { ac_try="$ac_link"
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1821 { { case "(($ac_try" in
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_try") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; }; }; then :
1833 $as_echo "$as_me: program exited with status $ac_status" >&5
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=$ac_status
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext \
1903 conftest$ac_exeext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_func
1912 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1913 # -------------------------------------------------------
1914 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1915 # the include files in INCLUDES and setting the cache variable VAR
1917 ac_fn_c_check_header_mongrel ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if eval \${$3+:} false; then :
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if eval \${$3+:} false; then :
1924 $as_echo_n "(cached) " >&6
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1930 # Is the header compilable?
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1932 $as_echo_n "checking $2 usability... " >&6; }
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1938 if ac_fn_c_try_compile "$LINENO"; then :
1939 ac_header_compiler=yes
1941 ac_header_compiler=no
1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1945 $as_echo "$ac_header_compiler" >&6; }
1947 # Is the header present?
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1949 $as_echo_n "checking $2 presence... " >&6; }
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1954 if ac_fn_c_try_cpp "$LINENO"; then :
1955 ac_header_preproc=yes
1957 ac_header_preproc=no
1959 rm -f conftest.err conftest.i conftest.$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1961 $as_echo "$ac_header_preproc" >&6; }
1963 # So? What about this header?
1964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1967 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1973 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1975 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1977 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1979 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1981 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1989 eval "$3=\$ac_header_compiler"
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997 } # ac_fn_c_check_header_mongrel
1998 cat >config.log <<_ACEOF
1999 This file contains any messages produced by compilers while
2000 running configure, to aid debugging if configure makes a mistake.
2002 It was created by gumd $as_me 1.0.8, which was
2003 generated by GNU Autoconf 2.69. Invocation command line was
2015 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2016 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2017 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2018 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2019 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2021 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2022 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2024 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2025 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2026 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2027 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2028 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2029 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2030 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir=.
2039 $as_echo "PATH: $as_dir"
2055 # Keep a trace of the command line.
2056 # Strip out --no-create and --no-recursion so they do not pile up.
2057 # Strip out --silent because we don't want to record it for future runs.
2058 # Also quote any args containing shell meta-characters.
2059 # Make two passes to allow for proper duplicate-argument suppression.
2063 ac_must_keep_next=false
2069 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2074 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2077 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2079 as_fn_append ac_configure_args1 " '$ac_arg'"
2080 if test $ac_must_keep_next = true; then
2081 ac_must_keep_next=false # Got value, back to normal.
2084 *=* | --config-cache | -C | -disable-* | --disable-* \
2085 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2086 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2087 | -with-* | --with-* | -without-* | --without-* | --x)
2088 case "$ac_configure_args0 " in
2089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2092 -* ) ac_must_keep_next=true ;;
2095 as_fn_append ac_configure_args " '$ac_arg'"
2100 { ac_configure_args0=; unset ac_configure_args0;}
2101 { ac_configure_args1=; unset ac_configure_args1;}
2103 # When interrupted or exit'd, cleanup temporary files, and complete
2104 # config.log. We remove comments because anyway the quotes in there
2105 # would cause problems or look ugly.
2106 # WARNING: Use '\'' to represent an apostrophe within the trap.
2107 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2108 trap 'exit_status=$?
2109 # Save into config.log some information that might help in debugging.
2113 $as_echo "## ---------------- ##
2114 ## Cache variables. ##
2115 ## ---------------- ##"
2117 # The following way of writing the cache mishandles newlines in values,
2119 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2120 eval ac_val=\$$ac_var
2124 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2125 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2128 _ | IFS | as_nl) ;; #(
2129 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2130 *) { eval $ac_var=; unset $ac_var;} ;;
2135 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2136 *${as_nl}ac_space=\ *)
2138 "s/'\''/'\''\\\\'\'''\''/g;
2139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2149 $as_echo "## ----------------- ##
2150 ## Output variables. ##
2151 ## ----------------- ##"
2153 for ac_var in $ac_subst_vars
2155 eval ac_val=\$$ac_var
2157 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2159 $as_echo "$ac_var='\''$ac_val'\''"
2163 if test -n "$ac_subst_files"; then
2164 $as_echo "## ------------------- ##
2165 ## File substitutions. ##
2166 ## ------------------- ##"
2168 for ac_var in $ac_subst_files
2170 eval ac_val=\$$ac_var
2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2174 $as_echo "$ac_var='\''$ac_val'\''"
2179 if test -s confdefs.h; then
2180 $as_echo "## ----------- ##
2187 test "$ac_signal" != 0 &&
2188 $as_echo "$as_me: caught signal $ac_signal"
2189 $as_echo "$as_me: exit $exit_status"
2191 rm -f core *.core core.conftest.* &&
2192 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2195 for ac_signal in 1 2 13 15; do
2196 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2201 rm -f -r conftest* confdefs.h
2203 $as_echo "/* confdefs.h */" > confdefs.h
2205 # Predefined preprocessor variables.
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_NAME "$PACKAGE_NAME"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_STRING "$PACKAGE_STRING"
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_URL "$PACKAGE_URL"
2232 # Let the site file select an alternate cache file if it wants to.
2233 # Prefer an explicitly selected file to automatically selected ones.
2236 if test -n "$CONFIG_SITE"; then
2237 # We do not want a PATH search for config.site.
2238 case $CONFIG_SITE in #((
2239 -*) ac_site_file1=./$CONFIG_SITE;;
2240 */*) ac_site_file1=$CONFIG_SITE;;
2241 *) ac_site_file1=./$CONFIG_SITE;;
2243 elif test "x$prefix" != xNONE; then
2244 ac_site_file1=$prefix/share/config.site
2245 ac_site_file2=$prefix/etc/config.site
2247 ac_site_file1=$ac_default_prefix/share/config.site
2248 ac_site_file2=$ac_default_prefix/etc/config.site
2250 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2252 test "x$ac_site_file" = xNONE && continue
2253 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2255 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2256 sed 's/^/| /' "$ac_site_file" >&5
2258 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2260 as_fn_error $? "failed to load site script $ac_site_file
2261 See \`config.log' for more details" "$LINENO" 5; }
2265 if test -r "$cache_file"; then
2266 # Some versions of bash will fail to source /dev/null (special files
2267 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2268 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2270 $as_echo "$as_me: loading cache $cache_file" >&6;}
2272 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2273 *) . "./$cache_file";;
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2278 $as_echo "$as_me: creating cache $cache_file" >&6;}
2282 # Check that the precious variables saved in the cache have kept the same
2284 ac_cache_corrupted=false
2285 for ac_var in $ac_precious_vars; do
2286 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2287 eval ac_new_set=\$ac_env_${ac_var}_set
2288 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2289 eval ac_new_val=\$ac_env_${ac_var}_value
2290 case $ac_old_set,$ac_new_set in
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2293 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2294 ac_cache_corrupted=: ;;
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2297 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2298 ac_cache_corrupted=: ;;
2301 if test "x$ac_old_val" != "x$ac_new_val"; then
2302 # differences in whitespace do not lead to failure.
2303 ac_old_val_w=`echo x $ac_old_val`
2304 ac_new_val_w=`echo x $ac_new_val`
2305 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2307 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2308 ac_cache_corrupted=:
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2311 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2312 eval $ac_var=\$ac_old_val
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2315 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2317 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2320 # Pass precious variables to config.status.
2321 if test "$ac_new_set" = set; then
2323 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2324 *) ac_arg=$ac_var=$ac_new_val ;;
2326 case " $ac_configure_args " in
2327 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2328 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2332 if $ac_cache_corrupted; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2336 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2339 ## -------------------- ##
2340 ## Main body of script. ##
2341 ## -------------------- ##
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 ac_config_headers="$ac_config_headers config.h"
2354 for ac_dir in build-aux "$srcdir"/build-aux; do
2355 if test -f "$ac_dir/install-sh"; then
2357 ac_install_sh="$ac_aux_dir/install-sh -c"
2359 elif test -f "$ac_dir/install.sh"; then
2361 ac_install_sh="$ac_aux_dir/install.sh -c"
2363 elif test -f "$ac_dir/shtool"; then
2365 ac_install_sh="$ac_aux_dir/shtool install -c"
2369 if test -z "$ac_aux_dir"; then
2370 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2373 # These three variables are undocumented and unsupported,
2374 # and are intended to be withdrawn in a future Autoconf release.
2375 # They can cause serious problems if a builder's source tree is in a directory
2376 # whose full name contains unusual characters.
2377 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2378 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2379 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2384 am__api_version='1.14'
2386 # Find a good install program. We prefer a C program (faster),
2387 # so one script is as good as another. But avoid the broken or
2388 # incompatible versions:
2389 # SysV /etc/install, /usr/sbin/install
2390 # SunOS /usr/etc/install
2391 # IRIX /sbin/install
2393 # AmigaOS /C/install, which installs bootblocks on floppy discs
2394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2397 # OS/2's system install, which has a completely different semantic
2398 # ./install, which can be erroneously created by make from ./install.sh.
2399 # Reject install programs that cannot install multiple files.
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2401 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2402 if test -z "$INSTALL"; then
2403 if ${ac_cv_path_install+:} false; then :
2404 $as_echo_n "(cached) " >&6
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 # Account for people who put trailing slashes in PATH elements.
2412 case $as_dir/ in #((
2413 ./ | .// | /[cC]/* | \
2414 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2415 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2418 # OSF1 and SCO ODT 3.0 have their own names for install.
2419 # Don't use installbsd from OSF since it installs stuff as root
2421 for ac_prog in ginstall scoinst install; do
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2424 if test $ac_prog = install &&
2425 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2426 # AIX install. It has an incompatible calling convention.
2428 elif test $ac_prog = install &&
2429 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2430 # program-specific install script used by HP pwplus--don't use.
2433 rm -rf conftest.one conftest.two conftest.dir
2434 echo one > conftest.one
2435 echo two > conftest.two
2437 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2438 test -s conftest.one && test -s conftest.two &&
2439 test -s conftest.dir/conftest.one &&
2440 test -s conftest.dir/conftest.two
2442 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2455 rm -rf conftest.one conftest.two conftest.dir
2458 if test "${ac_cv_path_install+set}" = set; then
2459 INSTALL=$ac_cv_path_install
2461 # As a last resort, use the slow shell script. Don't cache a
2462 # value for INSTALL within a source directory, because that will
2463 # break other packages using the cache if that directory is
2464 # removed, or if the value is a relative name.
2465 INSTALL=$ac_install_sh
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2469 $as_echo "$INSTALL" >&6; }
2471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2472 # It thinks the first close brace ends the variable substitution.
2473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2480 $as_echo_n "checking whether build environment is sane... " >&6; }
2481 # Reject unsafe characters in $srcdir or the absolute working directory
2482 # name. Accept space and tab only in the latter.
2486 *[\\\"\#\$\&\'\`$am_lf]*)
2487 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2490 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2491 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2494 # Do 'set' in a subshell so we don't clobber the current shell's
2495 # arguments. Must try -L first in case configure is actually a
2496 # symlink; some systems play weird games with the mod time of symlinks
2497 # (eg FreeBSD returns the mod time of the symlink's containing
2501 for am_try in 1 2; do
2502 echo "timestamp, slept: $am_has_slept" > conftest.file
2503 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2504 if test "$*" = "X"; then
2506 set X `ls -t "$srcdir/configure" conftest.file`
2508 if test "$*" != "X $srcdir/configure conftest.file" \
2509 && test "$*" != "X conftest.file $srcdir/configure"; then
2511 # If neither matched, then we have a broken ls. This can happen
2512 # if, for instance, CONFIG_SHELL is bash and it inherits a
2513 # broken ls alias from the environment. This has actually
2514 # happened. Such a system could not be considered "sane".
2515 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2516 alias in your environment" "$LINENO" 5
2518 if test "$2" = conftest.file || test $am_try -eq 2; then
2525 test "$2" = conftest.file
2531 as_fn_error $? "newly created file is older than distributed files!
2532 Check your system clock" "$LINENO" 5
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2535 $as_echo "yes" >&6; }
2536 # If we didn't sleep, we still need to ensure time stamps of config.status and
2537 # generated files are strictly newer.
2539 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2546 test "$program_prefix" != NONE &&
2547 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2548 # Use a double $ so make ignores it.
2549 test "$program_suffix" != NONE &&
2550 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2551 # Double any \ or $.
2552 # By default was `s,x,x', remove it if useless.
2553 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2554 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2556 # expand $ac_aux_dir to an absolute path
2557 am_aux_dir=`cd $ac_aux_dir && pwd`
2559 if test x"${MISSING+set}" != xset; then
2562 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2564 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2567 # Use eval to expand $SHELL
2568 if eval "$MISSING --is-lightweight"; then
2569 am_missing_run="$MISSING "
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2573 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2576 if test x"${install_sh}" != xset; then
2579 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2581 install_sh="\${SHELL} $am_aux_dir/install-sh"
2585 # Installed binaries are usually stripped using 'strip' when the user
2586 # run "make install-strip". However 'strip' might not be the right
2587 # tool to use in cross-compilation environments, therefore Automake
2588 # will honor the 'STRIP' environment variable to overrule this program.
2589 if test "$cross_compiling" != no; then
2590 if test -n "$ac_tool_prefix"; then
2591 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2592 set dummy ${ac_tool_prefix}strip; ac_word=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if ${ac_cv_prog_STRIP+:} false; then :
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$STRIP"; then
2599 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 STRIP=$ac_cv_prog_STRIP
2619 if test -n "$STRIP"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2621 $as_echo "$STRIP" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624 $as_echo "no" >&6; }
2629 if test -z "$ac_cv_prog_STRIP"; then
2631 # Extract the first word of "strip", so it can be a program name with args.
2632 set dummy strip; ac_word=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$ac_ct_STRIP"; then
2639 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648 ac_cv_prog_ac_ct_STRIP="strip"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2659 if test -n "$ac_ct_STRIP"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2661 $as_echo "$ac_ct_STRIP" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2667 if test "x$ac_ct_STRIP" = x; then
2670 case $cross_compiling:$ac_tool_warned in
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2674 ac_tool_warned=yes ;;
2679 STRIP="$ac_cv_prog_STRIP"
2683 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2686 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2687 if test -z "$MKDIR_P"; then
2688 if ${ac_cv_path_mkdir+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2695 test -z "$as_dir" && as_dir=.
2696 for ac_prog in mkdir gmkdir; do
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2699 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2700 'mkdir (GNU coreutils) '* | \
2701 'mkdir (coreutils) '* | \
2702 'mkdir (fileutils) '4.1*)
2703 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2713 test -d ./--version && rmdir ./--version
2714 if test "${ac_cv_path_mkdir+set}" = set; then
2715 MKDIR_P="$ac_cv_path_mkdir -p"
2717 # As a last resort, use the slow shell script. Don't cache a
2718 # value for MKDIR_P within a source directory, because that will
2719 # break other packages using the cache if that directory is
2720 # removed, or if the value is a relative name.
2721 MKDIR_P="$ac_install_sh -d"
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2725 $as_echo "$MKDIR_P" >&6; }
2727 for ac_prog in gawk mawk nawk awk
2729 # Extract the first word of "$ac_prog", so it can be a program name with args.
2730 set dummy $ac_prog; ac_word=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if ${ac_cv_prog_AWK+:} false; then :
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$AWK"; then
2737 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2746 ac_cv_prog_AWK="$ac_prog"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test -n "$AWK"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2759 $as_echo "$AWK" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2766 test -n "$AWK" && break
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2770 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2772 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2773 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2774 $as_echo_n "(cached) " >&6
2776 cat >conftest.make <<\_ACEOF
2779 @echo '@@@%%%=$(MAKE)=@@@%%%'
2781 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2782 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2784 eval ac_cv_prog_make_${ac_make}_set=yes;;
2786 eval ac_cv_prog_make_${ac_make}_set=no;;
2790 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2792 $as_echo "yes" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2797 SET_MAKE="MAKE=${MAKE-make}"
2800 rm -rf .tst 2>/dev/null
2801 mkdir .tst 2>/dev/null
2802 if test -d .tst; then
2807 rmdir .tst 2>/dev/null
2809 # Check whether --enable-silent-rules was given.
2810 if test "${enable_silent_rules+set}" = set; then :
2811 enableval=$enable_silent_rules;
2814 case $enable_silent_rules in # (((
2815 yes) AM_DEFAULT_VERBOSITY=0;;
2816 no) AM_DEFAULT_VERBOSITY=1;;
2817 *) AM_DEFAULT_VERBOSITY=1;;
2819 am_make=${MAKE-make}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2821 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2822 if ${am_cv_make_support_nested_variables+:} false; then :
2823 $as_echo_n "(cached) " >&6
2825 if $as_echo 'TRUE=$(BAR$(V))
2831 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2832 am_cv_make_support_nested_variables=yes
2834 am_cv_make_support_nested_variables=no
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2838 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2839 if test $am_cv_make_support_nested_variables = yes; then
2841 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2843 AM_V=$AM_DEFAULT_VERBOSITY
2844 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2848 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2849 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2850 # is not polluted with repeated "-I."
2851 am__isrc=' -I$(srcdir)'
2852 # test to see if srcdir already configured
2853 if test -f $srcdir/config.status; then
2854 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2858 # test whether we have cygpath
2859 if test -z "$CYGPATH_W"; then
2860 if (cygpath --version) >/dev/null 2>/dev/null; then
2861 CYGPATH_W='cygpath -w'
2868 # Define the identity of the package.
2873 cat >>confdefs.h <<_ACEOF
2874 #define PACKAGE "$PACKAGE"
2878 cat >>confdefs.h <<_ACEOF
2879 #define VERSION "$VERSION"
2882 # Some tools Automake needs.
2884 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2887 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2890 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2893 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2896 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2898 # For better backward compatibility. To be removed once Automake 1.9.x
2899 # dies out for good. For more background, see:
2900 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2901 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2902 mkdir_p='$(MKDIR_P)'
2904 # We need awk for the "check" target. The system "awk" is bad on
2906 # Always define AMTAR for backward compatibility. Yes, it's still used
2907 # in the wild :-( We should find a proper way to deprecate it ...
2911 # We'll loop over all known methods to create a tar archive until one works.
2912 _am_tools='gnutar pax cpio none'
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2917 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2919 # Go ahead even if we have the value already cached. We do so because we
2920 # need to set the values for the 'am__tar' and 'am__untar' variables.
2921 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2923 for _am_tool in $_am_tools; do
2926 for _am_tar in tar gnutar gtar; do
2927 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2928 ($_am_tar --version) >&5 2>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } && break
2933 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2934 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2935 am__untar="$_am_tar -xf -"
2938 # Must skip GNU tar: if it does not support --format= it doesn't create
2939 # ustar tarball either.
2940 (tar --version) >/dev/null 2>&1 && continue
2941 am__tar='tar chf - "$$tardir"'
2942 am__tar_='tar chf - "$tardir"'
2943 am__untar='tar xf -'
2946 am__tar='pax -L -x pax -w "$$tardir"'
2947 am__tar_='pax -L -x pax -w "$tardir"'
2951 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2952 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2953 am__untar='cpio -i -H pax -d'
2962 # If the value was cached, stop now. We just wanted to have am__tar
2963 # and am__untar set.
2964 test -n "${am_cv_prog_tar_pax}" && break
2966 # tar/untar a dummy directory, and stop if the command works.
2969 echo GrepMe > conftest.dir/file
2970 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2971 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }
2976 if test -s conftest.tar; then
2977 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2978 ($am__untar <conftest.tar) >&5 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }
2982 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2983 (cat conftest.dir/file) >&5 2>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }
2987 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2992 if ${am_cv_prog_tar_pax+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 am_cv_prog_tar_pax=$_am_tool
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2999 $as_echo "$am_cv_prog_tar_pax" >&6; }
3006 # POSIX will say in a future version that running "rm -f" with no argument
3007 # is OK; and we want to be able to make that assumption in our Makefile
3008 # recipes. So use an aggressive probe to check that the usage we want is
3009 # actually supported "in the wild" to an acceptable degree.
3010 # See automake bug#10828.
3011 # To make any issue more visible, cause the running configure to be aborted
3012 # by default if the 'rm' program in use doesn't match our expectations; the
3013 # user can still override this though.
3014 if rm -f && rm -fr && rm -rf; then : OK; else
3018 Your 'rm' program seems unable to run without file operands specified
3019 on the command line, even when the '-f' option is present. This is contrary
3020 to the behaviour of most rm programs out there, and not conforming with
3021 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3023 Please tell bug-automake@gnu.org about your system, including the value
3024 of your $PATH and any error possibly output before this message. This
3025 can help us improve future automake versions.
3028 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3029 echo 'Configuration will proceed anyway, since you have set the' >&2
3030 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3034 Aborting the configuration process, to ensure you take notice of the issue.
3036 You can download and install GNU coreutils to get an 'rm' implementation
3037 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3039 If you want to complete the configuration process using your problematic
3040 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3041 to "yes", and re-run configure.
3044 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3048 # Checks for programs.
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3056 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_CC+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC="$CC" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085 $as_echo "$CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3093 if test -z "$ac_cv_prog_CC"; then
3095 # Extract the first word of "gcc", so it can be a program name with args.
3096 set dummy gcc; ac_word=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$ac_ct_CC"; then
3103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3112 ac_cv_prog_ac_ct_CC="gcc"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3123 if test -n "$ac_ct_CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3125 $as_echo "$ac_ct_CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3131 if test "x$ac_ct_CC" = x; then
3134 case $cross_compiling:$ac_tool_warned in
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138 ac_tool_warned=yes ;;
3146 if test -z "$CC"; then
3147 if test -n "$ac_tool_prefix"; then
3148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3149 set dummy ${ac_tool_prefix}cc; ac_word=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if ${ac_cv_prog_CC+:} false; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$CC"; then
3156 ac_cv_prog_CC="$CC" # Let the user override the test.
3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 test -z "$as_dir" && as_dir=.
3163 for ac_exec_ext in '' $ac_executable_extensions; do
3164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3165 ac_cv_prog_CC="${ac_tool_prefix}cc"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 if test -n "$CC"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3178 $as_echo "$CC" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3187 if test -z "$CC"; then
3188 # Extract the first word of "cc", so it can be a program name with args.
3189 set dummy cc; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_CC+:} false; then :
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$CC"; then
3196 ac_cv_prog_CC="$CC" # Let the user override the test.
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3207 ac_prog_rejected=yes
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 if test $ac_prog_rejected = yes; then
3219 # We found a bogon in the path, so make sure we never use it.
3220 set dummy $ac_cv_prog_CC
3222 if test $# != 0; then
3223 # We chose a different compiler from the bogus one.
3224 # However, it has the same basename, so the bogon will be chosen
3225 # first if we set CC to just the basename; use the full file name.
3227 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3233 if test -n "$CC"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3235 $as_echo "$CC" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3243 if test -z "$CC"; then
3244 if test -n "$ac_tool_prefix"; then
3245 for ac_prog in cl.exe
3247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250 $as_echo_n "checking for $ac_word... " >&6; }
3251 if ${ac_cv_prog_CC+:} false; then :
3252 $as_echo_n "(cached) " >&6
3254 if test -n "$CC"; then
3255 ac_cv_prog_CC="$CC" # Let the user override the test.
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 if test -n "$CC"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3277 $as_echo "$CC" >&6; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3284 test -n "$CC" && break
3287 if test -z "$CC"; then
3289 for ac_prog in cl.exe
3291 # Extract the first word of "$ac_prog", so it can be a program name with args.
3292 set dummy $ac_prog; ac_word=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3296 $as_echo_n "(cached) " >&6
3298 if test -n "$ac_ct_CC"; then
3299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 test -z "$as_dir" && as_dir=.
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308 ac_cv_prog_ac_ct_CC="$ac_prog"
3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3319 if test -n "$ac_ct_CC"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3321 $as_echo "$ac_ct_CC" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3328 test -n "$ac_ct_CC" && break
3331 if test "x$ac_ct_CC" = x; then
3334 case $cross_compiling:$ac_tool_warned in
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3338 ac_tool_warned=yes ;;
3347 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error $? "no acceptable C compiler found in \$PATH
3350 See \`config.log' for more details" "$LINENO" 5; }
3352 # Provide some information about the compiler.
3353 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3356 for ac_option in --version -v -V -qversion; do
3357 { { ac_try="$ac_compiler $ac_option >&5"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 $as_echo "$ac_try_echo"; } >&5
3364 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3366 if test -s conftest.err; then
3368 ... rest of stderr output deleted ...
3369 10q' conftest.err >conftest.er1
3370 cat conftest.er1 >&5
3372 rm -f conftest.er1 conftest.err
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3388 ac_clean_files_save=$ac_clean_files
3389 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3390 # Try to create an executable without -o first, disregard a.out.
3391 # It will help us diagnose broken compilers, and finding out an intuition
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3394 $as_echo_n "checking whether the C compiler works... " >&6; }
3395 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3397 # The possible output files:
3398 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3401 for ac_file in $ac_files
3404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3410 if { { ac_try="$ac_link_default"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_link_default") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; then :
3421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3424 # so that the user can short-circuit this test for compilers unknown to
3426 for ac_file in $ac_files ''
3428 test -f "$ac_file" || continue
3430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3433 # We found the default executable, but exeext='' is most
3437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3441 # We set ac_cv_exeext here because the later test for it is not
3442 # safe: cross compilers may not add the suffix if given an `-o'
3443 # argument, so we may need to know it at that point already.
3444 # Even if this section looks crufty: it has the advantage of
3451 test "$ac_cv_exeext" = no && ac_cv_exeext=
3456 if test -z "$ac_file"; then :
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error 77 "C compiler cannot create executables
3465 See \`config.log' for more details" "$LINENO" 5; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3468 $as_echo "yes" >&6; }
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3471 $as_echo_n "checking for C compiler default output file name... " >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3473 $as_echo "$ac_file" >&6; }
3474 ac_exeext=$ac_cv_exeext
3476 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3477 ac_clean_files=$ac_clean_files_save
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3479 $as_echo_n "checking for suffix of executables... " >&6; }
3480 if { { ac_try="$ac_link"
3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_link") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }; then :
3491 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3492 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3493 # work properly (i.e., refer to `conftest.exe'), while it won't with
3495 for ac_file in conftest.exe conftest conftest.*; do
3496 test -f "$ac_file" || continue
3498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3499 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3508 See \`config.log' for more details" "$LINENO" 5; }
3510 rm -f conftest conftest$ac_cv_exeext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3512 $as_echo "$ac_cv_exeext" >&6; }
3514 rm -f conftest.$ac_ext
3515 EXEEXT=$ac_cv_exeext
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3523 FILE *f = fopen ("conftest.out", "w");
3524 return ferror (f) || fclose (f) != 0;
3530 ac_clean_files="$ac_clean_files conftest.out"
3531 # Check that the compiler produces executables we can run. If not, either
3532 # the compiler is broken, or we cross compile.
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3534 $as_echo_n "checking whether we are cross compiling... " >&6; }
3535 if test "$cross_compiling" != yes; then
3536 { { ac_try="$ac_link"
3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3542 $as_echo "$ac_try_echo"; } >&5
3543 (eval "$ac_link") 2>&5
3545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3546 test $ac_status = 0; }
3547 if { ac_try='./conftest$ac_cv_exeext'
3548 { { case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554 (eval "$ac_try") 2>&5
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }; }; then
3560 if test "$cross_compiling" = maybe; then
3563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 as_fn_error $? "cannot run C compiled programs.
3566 If you meant to cross compile, use \`--host'.
3567 See \`config.log' for more details" "$LINENO" 5; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3572 $as_echo "$cross_compiling" >&6; }
3574 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3575 ac_clean_files=$ac_clean_files_save
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3577 $as_echo_n "checking for suffix of object files... " >&6; }
3578 if ${ac_cv_objext+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 rm -f conftest.o conftest.obj
3593 if { { ac_try="$ac_compile"
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3599 $as_echo "$ac_try_echo"; } >&5
3600 (eval "$ac_compile") 2>&5
3602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603 test $ac_status = 0; }; then :
3604 for ac_file in conftest.o conftest.obj conftest.*; do
3605 test -f "$ac_file" || continue;
3607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3613 $as_echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 as_fn_error $? "cannot compute suffix of object files: cannot compile
3619 See \`config.log' for more details" "$LINENO" 5; }
3621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3624 $as_echo "$ac_cv_objext" >&6; }
3625 OBJEXT=$ac_cv_objext
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3628 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3629 if ${ac_cv_c_compiler_gnu+:} false; then :
3630 $as_echo_n "(cached) " >&6
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3646 if ac_fn_c_try_compile "$LINENO"; then :
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3656 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3657 if test $ac_compiler_gnu = yes; then
3662 ac_test_CFLAGS=${CFLAGS+set}
3663 ac_save_CFLAGS=$CFLAGS
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3665 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3666 if ${ac_cv_prog_cc_g+:} false; then :
3667 $as_echo_n "(cached) " >&6
3669 ac_save_c_werror_flag=$ac_c_werror_flag
3670 ac_c_werror_flag=yes
3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3684 if ac_fn_c_try_compile "$LINENO"; then :
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3699 if ac_fn_c_try_compile "$LINENO"; then :
3702 ac_c_werror_flag=$ac_save_c_werror_flag
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3715 if ac_fn_c_try_compile "$LINENO"; then :
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 ac_c_werror_flag=$ac_save_c_werror_flag
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3726 $as_echo "$ac_cv_prog_cc_g" >&6; }
3727 if test "$ac_test_CFLAGS" = set; then
3728 CFLAGS=$ac_save_CFLAGS
3729 elif test $ac_cv_prog_cc_g = yes; then
3730 if test "$GCC" = yes; then
3736 if test "$GCC" = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3743 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3744 if ${ac_cv_prog_cc_c89+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 ac_cv_prog_cc_c89=no
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3755 struct buf { int x; };
3756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3757 static char *e (p, i)
3763 static char *f (char * (*g) (char **, int), char **p, ...)
3768 s = g (p, va_arg (v,int));
3773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3774 function prototypes and stuff, but not '\xHH' hex character constants.
3775 These don't provoke an error unfortunately, instead are silently treated
3776 as 'x'. The following induces an error, until -std is added to get
3777 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3778 array size at least. It's necessary to write '\x00'==0 to get something
3779 that's true only with -std. */
3780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3782 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3783 inside strings and character constants. */
3785 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3787 int test (int i, double x);
3788 struct s1 {int (*f) (int a);};
3789 struct s2 {int (*f) (double a);};
3790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3801 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3802 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3804 CC="$ac_save_CC $ac_arg"
3805 if ac_fn_c_try_compile "$LINENO"; then :
3806 ac_cv_prog_cc_c89=$ac_arg
3808 rm -f core conftest.err conftest.$ac_objext
3809 test "x$ac_cv_prog_cc_c89" != "xno" && break
3811 rm -f conftest.$ac_ext
3816 case "x$ac_cv_prog_cc_c89" in
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3819 $as_echo "none needed" >&6; } ;;
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3822 $as_echo "unsupported" >&6; } ;;
3824 CC="$CC $ac_cv_prog_cc_c89"
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3826 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3828 if test "x$ac_cv_prog_cc_c89" != xno; then :
3833 ac_cpp='$CPP $CPPFLAGS'
3834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3844 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3845 if ${am_cv_prog_cc_c_o+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3859 # Make sure it works both with $CC and with simple cc.
3860 # Following AC_PROG_CC_C_O, we do the test twice because some
3861 # compilers refuse to overwrite an existing .o file with -o,
3862 # though they will create one.
3863 am_cv_prog_cc_c_o=yes
3865 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3866 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } \
3870 && test -f conftest2.$ac_objext; then
3873 am_cv_prog_cc_c_o=no
3877 rm -f core conftest*
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3881 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3882 if test "$am_cv_prog_cc_c_o" != yes; then
3883 # Losing compiler, so override with the script.
3884 # FIXME: It is wrong to rewrite CC.
3885 # But if we don't then we get into trouble of one sort or another.
3886 # A longer-term fix would be to have automake use am__CC in this case,
3887 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3888 CC="$am_aux_dir/compile $CC"
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 DEPDIR="${am__leading_dot}deps"
3898 ac_config_commands="$ac_config_commands depfiles"
3901 am_make=${MAKE-make}
3902 cat > confinc << 'END'
3904 @echo this is the am__doit target
3907 # If we don't find an include directive, just comment out the code.
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3909 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3913 # First try GNU make style include.
3914 echo "include confinc" > confmf
3915 # Ignore all kinds of additional output from 'make'.
3916 case `$am_make -s -f confmf 2> /dev/null` in #(
3917 *the\ am__doit\ target*)
3923 # Now try BSD make style include.
3924 if test "$am__include" = "#"; then
3925 echo '.include "confinc"' > confmf
3926 case `$am_make -s -f confmf 2> /dev/null` in #(
3927 *the\ am__doit\ target*)
3928 am__include=.include
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3937 $as_echo "$_am_result" >&6; }
3938 rm -f confinc confmf
3940 # Check whether --enable-dependency-tracking was given.
3941 if test "${enable_dependency_tracking+set}" = set; then :
3942 enableval=$enable_dependency_tracking;
3945 if test "x$enable_dependency_tracking" != xno; then
3946 am_depcomp="$ac_aux_dir/depcomp"
3950 if test "x$enable_dependency_tracking" != xno; then
3960 depcc="$CC" am_compiler_list=
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3963 $as_echo_n "checking dependency style of $depcc... " >&6; }
3964 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3965 $as_echo_n "(cached) " >&6
3967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3968 # We make a subdir and do the tests there. Otherwise we can end up
3969 # making bogus files that we don't know about and never remove. For
3970 # instance it was reported that on HP-UX the gcc test will end up
3971 # making a dummy file named 'D' -- because '-MD' means "put the output
3975 # Copy depcomp to subdir because otherwise we won't find it if we're
3976 # using a relative directory.
3977 cp "$am_depcomp" conftest.dir
3979 # We will build objects and dependencies in a subdirectory because
3980 # it helps to detect inapplicable dependency modes. For instance
3981 # both Tru64's cc and ICC support -MD to output dependencies as a
3982 # side effect of compilation, but ICC will put the dependencies in
3983 # the current directory while Tru64 will put them in the object
3987 am_cv_CC_dependencies_compiler_type=none
3988 if test "$am_compiler_list" = ""; then
3989 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3992 case " $depcc " in #(
3993 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3996 for depmode in $am_compiler_list; do
3997 # Setup a source with many dependencies, because some compilers
3998 # like to wrap large dependency lists on column 80 (with \), and
3999 # we should not choose a depcomp mode which is confused by this.
4001 # We need to recreate these files for each test, as the compiler may
4002 # overwrite some of them when testing with obscure command lines.
4003 # This happens at least with the AIX C compiler.
4005 for i in 1 2 3 4 5 6; do
4006 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4007 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4008 # Solaris 10 /bin/sh.
4009 echo '/* dummy */' > sub/conftst$i.h
4011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4013 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4014 # mode. It turns out that the SunPro C++ compiler does not properly
4015 # handle '-M -o', and we need to detect this. Also, some Intel
4016 # versions had trouble with output in subdirs.
4017 am__obj=sub/conftest.${OBJEXT-o}
4018 am__minus_obj="-o $am__obj"
4021 # This depmode causes a compiler race in universal mode.
4022 test "$am__universal" = false || continue
4025 # After this tag, mechanisms are not by side-effect, so they'll
4026 # only be used when explicitly requested.
4027 if test "x$enable_dependency_tracking" = xyes; then
4033 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4034 # This compiler won't grok '-c -o', but also, the minuso test has
4035 # not run yet. These depmodes are late enough in the game, and
4036 # so weak that their functioning should not be impacted.
4037 am__obj=conftest.${OBJEXT-o}
4042 if depmode=$depmode \
4043 source=sub/conftest.c object=$am__obj \
4044 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4045 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4046 >/dev/null 2>conftest.err &&
4047 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4048 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4049 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4050 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4051 # icc doesn't choke on unknown options, it will just issue warnings
4052 # or remarks (even with -Werror). So we grep stderr for any message
4053 # that says an option was ignored or not supported.
4054 # When given -MP, icc 7.0 and 7.1 complain thusly:
4055 # icc: Command line warning: ignoring option '-M'; no argument required
4056 # The diagnosis changed in icc 8.0:
4057 # icc: Command line remark: option '-MP' not supported
4058 if (grep 'ignoring option' conftest.err ||
4059 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4060 am_cv_CC_dependencies_compiler_type=$depmode
4069 am_cv_CC_dependencies_compiler_type=none
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4078 test "x$enable_dependency_tracking" != xno \
4079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4081 am__fastdepCC_FALSE='#'
4083 am__fastdepCC_TRUE='#'
4084 am__fastdepCC_FALSE=
4089 if test -n "$ac_tool_prefix"; then
4090 for ac_prog in ar lib "link -lib"
4092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_prog_AR+:} false; then :
4097 $as_echo_n "(cached) " >&6
4099 if test -n "$AR"; then
4100 ac_cv_prog_AR="$AR" # Let the user override the test.
4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106 test -z "$as_dir" && as_dir=.
4107 for ac_exec_ext in '' $ac_executable_extensions; do
4108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4109 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 if test -n "$AR"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4122 $as_echo "$AR" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4129 test -n "$AR" && break
4132 if test -z "$AR"; then
4134 for ac_prog in ar lib "link -lib"
4136 # Extract the first word of "$ac_prog", so it can be a program name with args.
4137 set dummy $ac_prog; ac_word=$2
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4139 $as_echo_n "checking for $ac_word... " >&6; }
4140 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4141 $as_echo_n "(cached) " >&6
4143 if test -n "$ac_ct_AR"; then
4144 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 test -z "$as_dir" && as_dir=.
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4153 ac_cv_prog_ac_ct_AR="$ac_prog"
4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4164 if test -n "$ac_ct_AR"; then
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4166 $as_echo "$ac_ct_AR" >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4173 test -n "$ac_ct_AR" && break
4176 if test "x$ac_ct_AR" = x; then
4179 case $cross_compiling:$ac_tool_warned in
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4183 ac_tool_warned=yes ;;
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4192 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4193 if ${am_cv_ar_interface+:} false; then :
4194 $as_echo_n "(cached) " >&6
4197 ac_cpp='$CPP $CPPFLAGS'
4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4202 am_cv_ar_interface=ar
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205 int some_variable = 0;
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4209 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4210 (eval $am_ar_try) 2>&5
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }
4214 if test "$ac_status" -eq 0; then
4215 am_cv_ar_interface=ar
4217 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4218 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4219 (eval $am_ar_try) 2>&5
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }
4223 if test "$ac_status" -eq 0; then
4224 am_cv_ar_interface=lib
4226 am_cv_ar_interface=unknown
4229 rm -f conftest.lib libconftest.a
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4241 $as_echo "$am_cv_ar_interface" >&6; }
4243 case $am_cv_ar_interface in
4247 # Microsoft lib, so override with the ar-lib wrapper script.
4248 # FIXME: It is wrong to rewrite AR.
4249 # But if we don't then we get into trouble of one sort or another.
4250 # A longer-term fix would be to have automake use am__AR in this case,
4251 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4253 AR="$am_aux_dir/ar-lib $AR"
4256 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4261 $as_echo_n "checking for GNU make... " >&6; }
4262 if ${_cv_gnu_make_command+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 _cv_gnu_make_command='' ;
4266 for a in "$MAKE" make gmake gnumake ; do
4267 if test -z "$a" ; then continue ; fi ;
4268 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4269 _cv_gnu_make_command=$a ;
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4276 $as_echo "$_cv_gnu_make_command" >&6; } ;
4277 if test "x$_cv_gnu_make_command" != "x" ; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4282 $as_echo "\"Not found\"" >&6; };
4286 if test "x$ifGNUmake" = "x#" ; then
4287 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4295 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4300 macro_version='2.4.2'
4301 macro_revision='1.3337'
4315 ltmain="$ac_aux_dir/ltmain.sh"
4317 # Make sure we can run config.sub.
4318 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4319 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4322 $as_echo_n "checking build system type... " >&6; }
4323 if ${ac_cv_build+:} false; then :
4324 $as_echo_n "(cached) " >&6
4326 ac_build_alias=$build_alias
4327 test "x$ac_build_alias" = x &&
4328 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4329 test "x$ac_build_alias" = x &&
4330 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4331 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4332 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4336 $as_echo "$ac_cv_build" >&6; }
4337 case $ac_cv_build in
4339 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4342 ac_save_IFS=$IFS; IFS='-'
4348 # Remember, the first character of IFS is used to create $*,
4349 # except with old shells:
4352 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4356 $as_echo_n "checking host system type... " >&6; }
4357 if ${ac_cv_host+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test "x$host_alias" = x; then
4361 ac_cv_host=$ac_cv_build
4363 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4364 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4369 $as_echo "$ac_cv_host" >&6; }
4372 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4375 ac_save_IFS=$IFS; IFS='-'
4381 # Remember, the first character of IFS is used to create $*,
4382 # except with old shells:
4385 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4388 # Backslashify metacharacters that are still active within
4389 # double-quoted strings.
4390 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4392 # Same as above, but do not quote variable references.
4393 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4395 # Sed substitution to delay expansion of an escaped shell variable in a
4396 # double_quote_subst'ed string.
4397 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4399 # Sed substitution to delay expansion of an escaped single quote.
4400 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4402 # Sed substitution to avoid accidental globbing in evaled expressions
4403 no_glob_subst='s/\*/\\\*/g'
4405 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4406 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4407 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4410 $as_echo_n "checking how to print strings... " >&6; }
4411 # Test print first, because it will be a builtin if present.
4412 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4413 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4415 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4418 # Use this function as a fallback that always works.
4419 func_fallback_echo ()
4421 eval 'cat <<_LTECHO_EOF
4425 ECHO='func_fallback_echo'
4428 # func_echo_all arg...
4429 # Invoke $ECHO with all args, space-separated.
4436 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4437 $as_echo "printf" >&6; } ;;
4438 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4439 $as_echo "print -r" >&6; } ;;
4440 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4441 $as_echo "cat" >&6; } ;;
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4458 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4459 if ${ac_cv_path_SED+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4463 for ac_i in 1 2 3 4 5 6 7; do
4464 ac_script="$ac_script$as_nl$ac_script"
4466 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4467 { ac_script=; unset ac_script;}
4468 if test -z "$SED"; then
4469 ac_path_SED_found=false
4470 # Loop through the user's path and test for each of PROGNAME-LIST
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir=.
4476 for ac_prog in sed gsed; do
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4479 as_fn_executable_p "$ac_path_SED" || continue
4480 # Check for GNU ac_path_SED and select it if it is found.
4481 # Check for GNU $ac_path_SED
4482 case `"$ac_path_SED" --version 2>&1` in
4484 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4487 $as_echo_n 0123456789 >"conftest.in"
4490 cat "conftest.in" "conftest.in" >"conftest.tmp"
4491 mv "conftest.tmp" "conftest.in"
4492 cp "conftest.in" "conftest.nl"
4493 $as_echo '' >> "conftest.nl"
4494 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496 as_fn_arith $ac_count + 1 && ac_count=$as_val
4497 if test $ac_count -gt ${ac_path_SED_max-0}; then
4498 # Best one so far, save it but keep looking for a better one
4499 ac_cv_path_SED="$ac_path_SED"
4500 ac_path_SED_max=$ac_count
4502 # 10*(2^10) chars as input seems more than enough
4503 test $ac_count -gt 10 && break
4505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4508 $ac_path_SED_found && break 3
4513 if test -z "$ac_cv_path_SED"; then
4514 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4522 $as_echo "$ac_cv_path_SED" >&6; }
4523 SED="$ac_cv_path_SED"
4526 test -z "$SED" && SED=sed
4527 Xsed="$SED -e 1s/^X//"
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4541 if ${ac_cv_path_GREP+:} false; then :
4542 $as_echo_n "(cached) " >&6
4544 if test -z "$GREP"; then
4545 ac_path_GREP_found=false
4546 # Loop through the user's path and test for each of PROGNAME-LIST
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4551 test -z "$as_dir" && as_dir=.
4552 for ac_prog in grep ggrep; do
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4555 as_fn_executable_p "$ac_path_GREP" || continue
4556 # Check for GNU ac_path_GREP and select it if it is found.
4557 # Check for GNU $ac_path_GREP
4558 case `"$ac_path_GREP" --version 2>&1` in
4560 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4563 $as_echo_n 0123456789 >"conftest.in"
4566 cat "conftest.in" "conftest.in" >"conftest.tmp"
4567 mv "conftest.tmp" "conftest.in"
4568 cp "conftest.in" "conftest.nl"
4569 $as_echo 'GREP' >> "conftest.nl"
4570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4572 as_fn_arith $ac_count + 1 && ac_count=$as_val
4573 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4574 # Best one so far, save it but keep looking for a better one
4575 ac_cv_path_GREP="$ac_path_GREP"
4576 ac_path_GREP_max=$ac_count
4578 # 10*(2^10) chars as input seems more than enough
4579 test $ac_count -gt 10 && break
4581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4584 $ac_path_GREP_found && break 3
4589 if test -z "$ac_cv_path_GREP"; then
4590 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4593 ac_cv_path_GREP=$GREP
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4598 $as_echo "$ac_cv_path_GREP" >&6; }
4599 GREP="$ac_cv_path_GREP"
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4603 $as_echo_n "checking for egrep... " >&6; }
4604 if ${ac_cv_path_EGREP+:} false; then :
4605 $as_echo_n "(cached) " >&6
4607 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4608 then ac_cv_path_EGREP="$GREP -E"
4610 if test -z "$EGREP"; then
4611 ac_path_EGREP_found=false
4612 # Loop through the user's path and test for each of PROGNAME-LIST
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4617 test -z "$as_dir" && as_dir=.
4618 for ac_prog in egrep; do
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4621 as_fn_executable_p "$ac_path_EGREP" || continue
4622 # Check for GNU ac_path_EGREP and select it if it is found.
4623 # Check for GNU $ac_path_EGREP
4624 case `"$ac_path_EGREP" --version 2>&1` in
4626 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4629 $as_echo_n 0123456789 >"conftest.in"
4632 cat "conftest.in" "conftest.in" >"conftest.tmp"
4633 mv "conftest.tmp" "conftest.in"
4634 cp "conftest.in" "conftest.nl"
4635 $as_echo 'EGREP' >> "conftest.nl"
4636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4638 as_fn_arith $ac_count + 1 && ac_count=$as_val
4639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4640 # Best one so far, save it but keep looking for a better one
4641 ac_cv_path_EGREP="$ac_path_EGREP"
4642 ac_path_EGREP_max=$ac_count
4644 # 10*(2^10) chars as input seems more than enough
4645 test $ac_count -gt 10 && break
4647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4650 $ac_path_EGREP_found && break 3
4655 if test -z "$ac_cv_path_EGREP"; then
4656 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4659 ac_cv_path_EGREP=$EGREP
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4665 $as_echo "$ac_cv_path_EGREP" >&6; }
4666 EGREP="$ac_cv_path_EGREP"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4670 $as_echo_n "checking for fgrep... " >&6; }
4671 if ${ac_cv_path_FGREP+:} false; then :
4672 $as_echo_n "(cached) " >&6
4674 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4675 then ac_cv_path_FGREP="$GREP -F"
4677 if test -z "$FGREP"; then
4678 ac_path_FGREP_found=false
4679 # Loop through the user's path and test for each of PROGNAME-LIST
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4684 test -z "$as_dir" && as_dir=.
4685 for ac_prog in fgrep; do
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4688 as_fn_executable_p "$ac_path_FGREP" || continue
4689 # Check for GNU ac_path_FGREP and select it if it is found.
4690 # Check for GNU $ac_path_FGREP
4691 case `"$ac_path_FGREP" --version 2>&1` in
4693 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4696 $as_echo_n 0123456789 >"conftest.in"
4699 cat "conftest.in" "conftest.in" >"conftest.tmp"
4700 mv "conftest.tmp" "conftest.in"
4701 cp "conftest.in" "conftest.nl"
4702 $as_echo 'FGREP' >> "conftest.nl"
4703 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4705 as_fn_arith $ac_count + 1 && ac_count=$as_val
4706 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4707 # Best one so far, save it but keep looking for a better one
4708 ac_cv_path_FGREP="$ac_path_FGREP"
4709 ac_path_FGREP_max=$ac_count
4711 # 10*(2^10) chars as input seems more than enough
4712 test $ac_count -gt 10 && break
4714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4717 $ac_path_FGREP_found && break 3
4722 if test -z "$ac_cv_path_FGREP"; then
4723 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 ac_cv_path_FGREP=$FGREP
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4732 $as_echo "$ac_cv_path_FGREP" >&6; }
4733 FGREP="$ac_cv_path_FGREP"
4736 test -z "$GREP" && GREP=grep
4756 # Check whether --with-gnu-ld was given.
4757 if test "${with_gnu_ld+set}" = set; then :
4758 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4764 if test "$GCC" = yes; then
4765 # Check if gcc -print-prog-name=ld gives a path.
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4767 $as_echo_n "checking for ld used by $CC... " >&6; }
4770 # gcc leaves a trailing carriage return which upsets mingw
4771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4776 # Accept absolute paths.
4778 re_direlt='/[^/][^/]*/\.\./'
4779 # Canonicalize the pathname of ld
4780 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4781 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4782 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4784 test -z "$LD" && LD="$ac_prog"
4787 # If it fails, then pretend we aren't using GCC.
4791 # If it is relative, then search for the first ld in PATH.
4795 elif test "$with_gnu_ld" = yes; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4797 $as_echo_n "checking for GNU ld... " >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4800 $as_echo_n "checking for non-GNU ld... " >&6; }
4802 if ${lt_cv_path_LD+:} false; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -z "$LD"; then
4806 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4807 for ac_dir in $PATH; do
4809 test -z "$ac_dir" && ac_dir=.
4810 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4811 lt_cv_path_LD="$ac_dir/$ac_prog"
4812 # Check to see if the program is GNU ld. I'd rather use --version,
4813 # but apparently some variants of GNU ld only accept -v.
4814 # Break only if it was the GNU/non-GNU ld that we prefer.
4815 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4816 *GNU* | *'with BFD'*)
4817 test "$with_gnu_ld" != no && break
4820 test "$with_gnu_ld" != yes && break
4827 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4832 if test -n "$LD"; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4834 $as_echo "$LD" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4839 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4841 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4842 if ${lt_cv_prog_gnu_ld+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4846 case `$LD -v 2>&1 </dev/null` in
4847 *GNU* | *'with BFD'*)
4848 lt_cv_prog_gnu_ld=yes
4851 lt_cv_prog_gnu_ld=no
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4856 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4857 with_gnu_ld=$lt_cv_prog_gnu_ld
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4868 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4869 if ${lt_cv_path_NM+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$NM"; then
4873 # Let the user override the test.
4876 lt_nm_to_check="${ac_tool_prefix}nm"
4877 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4878 lt_nm_to_check="$lt_nm_to_check nm"
4880 for lt_tmp_nm in $lt_nm_to_check; do
4881 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4882 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4884 test -z "$ac_dir" && ac_dir=.
4885 tmp_nm="$ac_dir/$lt_tmp_nm"
4886 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4887 # Check to see if the nm accepts a BSD-compat flag.
4888 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4889 # nm: unknown option "B" ignored
4890 # Tru64's nm complains that /dev/null is an invalid object file
4891 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4892 */dev/null* | *'Invalid file or object type'*)
4893 lt_cv_path_NM="$tmp_nm -B"
4897 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4899 lt_cv_path_NM="$tmp_nm -p"
4903 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4904 continue # so that we can try to find one that supports BSD flags
4913 : ${lt_cv_path_NM=no}
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4917 $as_echo "$lt_cv_path_NM" >&6; }
4918 if test "$lt_cv_path_NM" != "no"; then
4921 # Didn't find any BSD compatible name lister, look for dumpbin.
4922 if test -n "$DUMPBIN"; then :
4923 # Let the user override the test.
4925 if test -n "$ac_tool_prefix"; then
4926 for ac_prog in dumpbin "link -dump"
4928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_DUMPBIN+:} false; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$DUMPBIN"; then
4936 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 DUMPBIN=$ac_cv_prog_DUMPBIN
4956 if test -n "$DUMPBIN"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4958 $as_echo "$DUMPBIN" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4965 test -n "$DUMPBIN" && break
4968 if test -z "$DUMPBIN"; then
4969 ac_ct_DUMPBIN=$DUMPBIN
4970 for ac_prog in dumpbin "link -dump"
4972 # Extract the first word of "$ac_prog", so it can be a program name with args.
4973 set dummy $ac_prog; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4977 $as_echo_n "(cached) " >&6
4979 if test -n "$ac_ct_DUMPBIN"; then
4980 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5000 if test -n "$ac_ct_DUMPBIN"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5002 $as_echo "$ac_ct_DUMPBIN" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5009 test -n "$ac_ct_DUMPBIN" && break
5012 if test "x$ac_ct_DUMPBIN" = x; then
5015 case $cross_compiling:$ac_tool_warned in
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5021 DUMPBIN=$ac_ct_DUMPBIN
5025 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5027 DUMPBIN="$DUMPBIN -symbols"
5035 if test "$DUMPBIN" != ":"; then
5039 test -z "$NM" && NM=nm
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5047 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5048 if ${lt_cv_nm_interface+:} false; then :
5049 $as_echo_n "(cached) " >&6
5051 lt_cv_nm_interface="BSD nm"
5052 echo "int some_variable = 0;" > conftest.$ac_ext
5053 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5054 (eval "$ac_compile" 2>conftest.err)
5055 cat conftest.err >&5
5056 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5057 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5058 cat conftest.err >&5
5059 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5060 cat conftest.out >&5
5061 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5062 lt_cv_nm_interface="MS dumpbin"
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5067 $as_echo "$lt_cv_nm_interface" >&6; }
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5070 $as_echo_n "checking whether ln -s works... " >&6; }
5072 if test "$LN_S" = "ln -s"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074 $as_echo "yes" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5077 $as_echo "no, using $LN_S" >&6; }
5080 # find the maximum length of command line arguments
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5082 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5083 if ${lt_cv_sys_max_cmd_len+:} false; then :
5084 $as_echo_n "(cached) " >&6
5091 # On DJGPP, this test can blow up pretty badly due to problems in libc
5092 # (any single argument exceeding 2000 bytes causes a buffer overrun
5093 # during glob expansion). Even if it were fixed, the result of this
5094 # check would be larger than it should be.
5095 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5099 # Under GNU Hurd, this test is not required because there is
5100 # no limit to the length of command line arguments.
5101 # Libtool will interpret -1 as no limit whatsoever
5102 lt_cv_sys_max_cmd_len=-1;
5105 cygwin* | mingw* | cegcc*)
5106 # On Win9x/ME, this test blows up -- it succeeds, but takes
5107 # about 5 minutes as the teststring grows exponentially.
5108 # Worse, since 9x/ME are not pre-emptively multitasking,
5109 # you end up with a "frozen" computer, even though with patience
5110 # the test eventually succeeds (with a max line length of 256k).
5111 # Instead, let's just punt: use the minimum linelength reported by
5112 # all of the supported platforms: 8192 (on NT/2K/XP).
5113 lt_cv_sys_max_cmd_len=8192;
5117 # On MiNT this can take a long time and run out of memory.
5118 lt_cv_sys_max_cmd_len=8192;
5122 # On AmigaOS with pdksh, this test takes hours, literally.
5123 # So we just punt and use a minimum line length of 8192.
5124 lt_cv_sys_max_cmd_len=8192;
5127 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5128 # This has been around since 386BSD, at least. Likely further.
5129 if test -x /sbin/sysctl; then
5130 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5131 elif test -x /usr/sbin/sysctl; then
5132 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5134 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5136 # And add a safety zone
5137 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5138 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5142 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5143 lt_cv_sys_max_cmd_len=196608
5147 # The test takes a long time on OS/2.
5148 lt_cv_sys_max_cmd_len=8192
5152 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5153 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5154 # nice to cause kernel panics so lets avoid the loop below.
5155 # First set a reasonable default.
5156 lt_cv_sys_max_cmd_len=16384
5158 if test -x /sbin/sysconfig; then
5159 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5160 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5165 lt_cv_sys_max_cmd_len=102400
5167 sysv5* | sco5v6* | sysv4.2uw2*)
5168 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5169 if test -n "$kargmax"; then
5170 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5172 lt_cv_sys_max_cmd_len=32768
5176 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5177 if test -n "$lt_cv_sys_max_cmd_len" && \
5178 test undefined != "$lt_cv_sys_max_cmd_len"; then
5179 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5180 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5182 # Make teststring a little bigger before we do anything with it.
5183 # a 1K string should be a reasonable start.
5184 for i in 1 2 3 4 5 6 7 8 ; do
5185 teststring=$teststring$teststring
5187 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5188 # If test is not a shell built-in, we'll probably end up computing a
5189 # maximum length that is only half of the actual maximum length, but
5191 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5192 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5193 test $i != 17 # 1/2 MB should be enough
5196 teststring=$teststring$teststring
5198 # Only check the string length outside the loop.
5199 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5201 # Add a significant safety factor because C++ compilers can tack on
5202 # massive amounts of additional arguments before passing them to the
5203 # linker. It appears as though 1/2 is a usable value.
5204 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5211 if test -n $lt_cv_sys_max_cmd_len ; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5213 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5216 $as_echo "none" >&6; }
5218 max_cmd_len=$lt_cv_sys_max_cmd_len
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5230 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5231 # Try some XSI features
5234 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5236 && eval 'test $(( 1 + 1 )) -eq 2 \
5237 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5240 $as_echo "$xsi_shell" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5244 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5246 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5248 && lt_shell_append=yes
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5250 $as_echo "$lt_shell_append" >&6; }
5253 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5263 # test EBCDIC or ASCII
5264 case `echo X|tr X '\101'` in
5265 A) # ASCII based system
5266 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5267 lt_SP2NL='tr \040 \012'
5268 lt_NL2SP='tr \015\012 \040\040'
5270 *) # EBCDIC based system
5271 lt_SP2NL='tr \100 \n'
5272 lt_NL2SP='tr \r\n \100\100'
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5285 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5286 if ${lt_cv_to_host_file_cmd+:} false; then :
5287 $as_echo_n "(cached) " >&6
5292 *-*-mingw* ) # actually msys
5293 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5296 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5298 * ) # otherwise, assume *nix
5299 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5305 *-*-mingw* ) # actually msys
5306 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5309 lt_cv_to_host_file_cmd=func_convert_file_noop
5311 * ) # otherwise, assume *nix
5312 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5316 * ) # unhandled hosts (and "normal" native builds)
5317 lt_cv_to_host_file_cmd=func_convert_file_noop
5323 to_host_file_cmd=$lt_cv_to_host_file_cmd
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5325 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5332 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5333 if ${lt_cv_to_tool_file_cmd+:} false; then :
5334 $as_echo_n "(cached) " >&6
5336 #assume ordinary cross tools, or native build.
5337 lt_cv_to_tool_file_cmd=func_convert_file_noop
5341 *-*-mingw* ) # actually msys
5342 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5350 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5352 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5359 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5360 if ${lt_cv_ld_reload_flag+:} false; then :
5361 $as_echo_n "(cached) " >&6
5363 lt_cv_ld_reload_flag='-r'
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5366 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5367 reload_flag=$lt_cv_ld_reload_flag
5368 case $reload_flag in
5370 *) reload_flag=" $reload_flag" ;;
5372 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5374 cygwin* | mingw* | pw32* | cegcc*)
5375 if test "$GCC" != yes; then
5380 if test "$GCC" = yes; then
5381 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5383 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5398 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_OBJDUMP+:} false; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$OBJDUMP"; then
5405 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 OBJDUMP=$ac_cv_prog_OBJDUMP
5425 if test -n "$OBJDUMP"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5427 $as_echo "$OBJDUMP" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5435 if test -z "$ac_cv_prog_OBJDUMP"; then
5436 ac_ct_OBJDUMP=$OBJDUMP
5437 # Extract the first word of "objdump", so it can be a program name with args.
5438 set dummy objdump; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -n "$ac_ct_OBJDUMP"; then
5445 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5465 if test -n "$ac_ct_OBJDUMP"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5467 $as_echo "$ac_ct_OBJDUMP" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5473 if test "x$ac_ct_OBJDUMP" = x; then
5476 case $cross_compiling:$ac_tool_warned in
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned=yes ;;
5482 OBJDUMP=$ac_ct_OBJDUMP
5485 OBJDUMP="$ac_cv_prog_OBJDUMP"
5488 test -z "$OBJDUMP" && OBJDUMP=objdump
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5499 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5500 if ${lt_cv_deplibs_check_method+:} false; then :
5501 $as_echo_n "(cached) " >&6
5503 lt_cv_file_magic_cmd='$MAGIC_CMD'
5504 lt_cv_file_magic_test_file=
5505 lt_cv_deplibs_check_method='unknown'
5506 # Need to set the preceding variable on all platforms that support
5507 # interlibrary dependencies.
5508 # 'none' -- dependencies not supported.
5509 # `unknown' -- same as none, but documents that we really don't know.
5510 # 'pass_all' -- all dependencies passed with no checks.
5511 # 'test_compile' -- check by making test program.
5512 # 'file_magic [[regex]]' -- check by looking for files in library path
5513 # which responds to the $file_magic_cmd with a given extended regex.
5514 # If you have `file' or equivalent on your system and you're not sure
5515 # whether `pass_all' will *always* work, you probably want this one.
5519 lt_cv_deplibs_check_method=pass_all
5523 lt_cv_deplibs_check_method=pass_all
5527 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5528 lt_cv_file_magic_cmd='/usr/bin/file -L'
5529 lt_cv_file_magic_test_file=/shlib/libc.so
5533 # func_win32_libid is a shell function defined in ltmain.sh
5534 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5535 lt_cv_file_magic_cmd='func_win32_libid'
5539 # Base MSYS/MinGW do not provide the 'file' command needed by
5540 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5541 # unless we find 'file', for example because we are cross-compiling.
5542 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5543 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5544 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5545 lt_cv_file_magic_cmd='func_win32_libid'
5547 # Keep this pattern in sync with the one in func_win32_libid.
5548 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5549 lt_cv_file_magic_cmd='$OBJDUMP -f'
5554 # use the weaker test based on 'objdump'. See mingw*.
5555 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5556 lt_cv_file_magic_cmd='$OBJDUMP -f'
5559 darwin* | rhapsody*)
5560 lt_cv_deplibs_check_method=pass_all
5563 freebsd* | dragonfly*)
5564 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5567 # Not sure whether the presence of OpenBSD here was a mistake.
5568 # Let's accept both of them until this is cleared up.
5569 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5570 lt_cv_file_magic_cmd=/usr/bin/file
5571 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5575 lt_cv_deplibs_check_method=pass_all
5580 lt_cv_deplibs_check_method=pass_all
5583 hpux10.20* | hpux11*)
5584 lt_cv_file_magic_cmd=/usr/bin/file
5587 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5588 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5591 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5592 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5595 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5596 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5602 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5603 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5606 irix5* | irix6* | nonstopux*)
5608 *-32|*"-32 ") libmagic=32-bit;;
5609 *-n32|*"-n32 ") libmagic=N32;;
5610 *-64|*"-64 ") libmagic=64-bit;;
5611 *) libmagic=never-match;;
5613 lt_cv_deplibs_check_method=pass_all
5616 # This must be glibc/ELF.
5617 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5618 lt_cv_deplibs_check_method=pass_all
5621 netbsd* | netbsdelf*-gnu)
5622 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5630 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5631 lt_cv_file_magic_cmd=/usr/bin/file
5632 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5636 lt_cv_deplibs_check_method=pass_all
5640 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5647 osf3* | osf4* | osf5*)
5648 lt_cv_deplibs_check_method=pass_all
5652 lt_cv_deplibs_check_method=pass_all
5656 lt_cv_deplibs_check_method=pass_all
5659 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5660 lt_cv_deplibs_check_method=pass_all
5664 case $host_vendor in
5666 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]'
5667 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5670 lt_cv_deplibs_check_method=pass_all
5673 lt_cv_file_magic_cmd='/bin/file'
5674 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5677 lt_cv_file_magic_cmd='/bin/file'
5678 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5679 lt_cv_file_magic_test_file=/lib/libc.so
5682 lt_cv_deplibs_check_method=pass_all
5685 lt_cv_deplibs_check_method=pass_all
5691 lt_cv_deplibs_check_method=pass_all
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5697 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5701 if test "$build" = "$host"; then
5704 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5707 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5713 file_magic_cmd=$lt_cv_file_magic_cmd
5714 deplibs_check_method=$lt_cv_deplibs_check_method
5715 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5738 if test -n "$ac_tool_prefix"; then
5739 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5740 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_DLLTOOL+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$DLLTOOL"; then
5747 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 DLLTOOL=$ac_cv_prog_DLLTOOL
5767 if test -n "$DLLTOOL"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5769 $as_echo "$DLLTOOL" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5777 if test -z "$ac_cv_prog_DLLTOOL"; then
5778 ac_ct_DLLTOOL=$DLLTOOL
5779 # Extract the first word of "dlltool", so it can be a program name with args.
5780 set dummy dlltool; ac_word=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5784 $as_echo_n "(cached) " >&6
5786 if test -n "$ac_ct_DLLTOOL"; then
5787 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5807 if test -n "$ac_ct_DLLTOOL"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5809 $as_echo "$ac_ct_DLLTOOL" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5815 if test "x$ac_ct_DLLTOOL" = x; then
5818 case $cross_compiling:$ac_tool_warned in
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5822 ac_tool_warned=yes ;;
5824 DLLTOOL=$ac_ct_DLLTOOL
5827 DLLTOOL="$ac_cv_prog_DLLTOOL"
5830 test -z "$DLLTOOL" && DLLTOOL=dlltool
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5842 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5843 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5844 $as_echo_n "(cached) " >&6
5846 lt_cv_sharedlib_from_linklib_cmd='unknown'
5849 cygwin* | mingw* | pw32* | cegcc*)
5850 # two different shell functions defined in ltmain.sh
5851 # decide which to use based on capabilities of $DLLTOOL
5852 case `$DLLTOOL --help 2>&1` in
5853 *--identify-strict*)
5854 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5857 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5862 # fallback: assume linklib IS sharedlib
5863 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5869 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5870 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5871 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5879 if test -n "$ac_tool_prefix"; then
5882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_AR+:} false; then :
5887 $as_echo_n "(cached) " >&6
5889 if test -n "$AR"; then
5890 ac_cv_prog_AR="$AR" # Let the user override the test.
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 if test -n "$AR"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5912 $as_echo "$AR" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5919 test -n "$AR" && break
5922 if test -z "$AR"; then
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy $ac_prog; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -n "$ac_ct_AR"; then
5934 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_ac_ct_AR="$ac_prog"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5954 if test -n "$ac_ct_AR"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5956 $as_echo "$ac_ct_AR" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 test -n "$ac_ct_AR" && break
5966 if test "x$ac_ct_AR" = x; then
5969 case $cross_compiling:$ac_tool_warned in
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5973 ac_tool_warned=yes ;;
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5993 $as_echo_n "checking for archiver @FILE support... " >&6; }
5994 if ${lt_cv_ar_at_file+:} false; then :
5995 $as_echo_n "(cached) " >&6
5998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5999 /* end confdefs.h. */
6009 if ac_fn_c_try_compile "$LINENO"; then :
6010 echo conftest.$ac_objext > conftest.lst
6011 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6012 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6013 (eval $lt_ar_try) 2>&5
6015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6016 test $ac_status = 0; }
6017 if test "$ac_status" -eq 0; then
6018 # Ensure the archiver fails upon bogus file names.
6019 rm -f conftest.$ac_objext libconftest.a
6020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6021 (eval $lt_ar_try) 2>&5
6023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6024 test $ac_status = 0; }
6025 if test "$ac_status" -ne 0; then
6029 rm -f conftest.* libconftest.a
6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6036 $as_echo "$lt_cv_ar_at_file" >&6; }
6038 if test "x$lt_cv_ar_at_file" = xno; then
6041 archiver_list_spec=$lt_cv_ar_at_file
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}strip; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_STRIP+:} false; then :
6056 $as_echo_n "(cached) " >&6
6058 if test -n "$STRIP"; then
6059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 STRIP=$ac_cv_prog_STRIP
6079 if test -n "$STRIP"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6081 $as_echo "$STRIP" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6089 if test -z "$ac_cv_prog_STRIP"; then
6091 # Extract the first word of "strip", so it can be a program name with args.
6092 set dummy strip; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -n "$ac_ct_STRIP"; then
6099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_STRIP="strip"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6119 if test -n "$ac_ct_STRIP"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6121 $as_echo "$ac_ct_STRIP" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6127 if test "x$ac_ct_STRIP" = x; then
6130 case $cross_compiling:$ac_tool_warned in
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6139 STRIP="$ac_cv_prog_STRIP"
6142 test -z "$STRIP" && STRIP=:
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_RANLIB+:} false; then :
6155 $as_echo_n "(cached) " >&6
6157 if test -n "$RANLIB"; then
6158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 RANLIB=$ac_cv_prog_RANLIB
6178 if test -n "$RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6180 $as_echo "$RANLIB" >&6; }
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6195 $as_echo_n "(cached) " >&6
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB="ranlib"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6220 $as_echo "$ac_ct_RANLIB" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_RANLIB" = x; then
6229 case $cross_compiling:$ac_tool_warned in
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6235 RANLIB=$ac_ct_RANLIB
6238 RANLIB="$ac_cv_prog_RANLIB"
6241 test -z "$RANLIB" && RANLIB=:
6248 # Determine commands to create old-style static archives.
6249 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6250 old_postinstall_cmds='chmod 644 $oldlib'
6251 old_postuninstall_cmds=
6253 if test -n "$RANLIB"; then
6256 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6259 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6262 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6267 lock_old_archive_extraction=yes ;;
6269 lock_old_archive_extraction=no ;;
6310 # If no C compiler was specified, use CC.
6313 # If no C compiler flags were specified, use CFLAGS.
6314 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6316 # Allow CC to be a program name with arguments.
6320 # Check for command to grab the raw symbol name followed by C symbol from nm.
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6322 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6323 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6324 $as_echo_n "(cached) " >&6
6327 # These are sane defaults that work on at least a few old systems.
6328 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6330 # Character class describing NM global symbol codes.
6331 symcode='[BCDEGRST]'
6333 # Regexp to match symbols that can be accessed directly from C.
6334 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6336 # Define system-specific variables.
6341 cygwin* | mingw* | pw32* | cegcc*)
6342 symcode='[ABCDGISTW]'
6345 if test "$host_cpu" = ia64; then
6346 symcode='[ABCDEGRST]'
6350 symcode='[BCDEGRST]'
6353 symcode='[BCDEGQRST]'
6364 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6372 # If we're using GNU nm, then use its standard symbol codes.
6373 case `$NM -V 2>&1` in
6374 *GNU* | *'with BFD'*)
6375 symcode='[ABCDGIRSTW]' ;;
6378 # Transform an extracted symbol line into a proper C declaration.
6379 # Some systems (esp. on ia64) link data and code symbols differently,
6380 # so use this general approach.
6381 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6383 # Transform an extracted symbol line into symbol name and symbol address
6384 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6385 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'"
6387 # Handle CRLF in mingw tool chain
6391 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6395 # Try without a prefix underscore, then with it.
6396 for ac_symprfx in "" "_"; do
6398 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6399 symxfrm="\\1 $ac_symprfx\\2 \\2"
6401 # Write the raw and C identifiers.
6402 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6403 # Fake it for dumpbin and say T for any non-static function
6404 # and D for any global variable.
6405 # Also find C++ and __fastcall symbols from MSVC++,
6406 # which start with @ or ?.
6407 lt_cv_sys_global_symbol_pipe="$AWK '"\
6408 " {last_section=section; section=\$ 3};"\
6409 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6410 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6411 " \$ 0!~/External *\|/{next};"\
6412 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6413 " {if(hide[section]) next};"\
6414 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6415 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6416 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6417 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6418 " ' prfx=^$ac_symprfx"
6420 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6422 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6424 # Check to see that the pipe works correctly.
6428 cat > conftest.$ac_ext <<_LT_EOF
6433 void nm_test_func(void);
6434 void nm_test_func(void){}
6438 int main(){nm_test_var='a';nm_test_func();return(0);}
6441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6442 (eval $ac_compile) 2>&5
6444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6445 test $ac_status = 0; }; then
6446 # Now try to grab the symbols.
6448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6449 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; } && test -s "$nlist"; then
6453 # Try sorting and uniquifying the output.
6454 if sort "$nlist" | uniq > "$nlist"T; then
6455 mv -f "$nlist"T "$nlist"
6460 # Make sure that we snagged all the symbols we need.
6461 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6462 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6463 cat <<_LT_EOF > conftest.$ac_ext
6464 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6465 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6466 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6467 relocations are performed -- see ld's documentation on pseudo-relocs. */
6468 # define LT_DLSYM_CONST
6469 #elif defined(__osf__)
6470 /* This system does not cope well with relocations in const data. */
6471 # define LT_DLSYM_CONST
6473 # define LT_DLSYM_CONST const
6481 # Now generate the symbol file.
6482 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6484 cat <<_LT_EOF >> conftest.$ac_ext
6486 /* The mapping between symbol names and symbols. */
6487 LT_DLSYM_CONST struct {
6491 lt__PROGRAM__LTX_preloaded_symbols[] =
6493 { "@PROGRAM@", (void *) 0 },
6495 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6496 cat <<\_LT_EOF >> conftest.$ac_ext
6500 /* This works around a problem in FreeBSD linker */
6501 #ifdef FREEBSD_WORKAROUND
6502 static const void *lt_preloaded_setup() {
6503 return lt__PROGRAM__LTX_preloaded_symbols;
6511 # Now try linking the two files.
6512 mv conftest.$ac_objext conftstm.$ac_objext
6513 lt_globsym_save_LIBS=$LIBS
6514 lt_globsym_save_CFLAGS=$CFLAGS
6515 LIBS="conftstm.$ac_objext"
6516 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6518 (eval $ac_link) 2>&5
6520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6521 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6524 LIBS=$lt_globsym_save_LIBS
6525 CFLAGS=$lt_globsym_save_CFLAGS
6527 echo "cannot find nm_test_func in $nlist" >&5
6530 echo "cannot find nm_test_var in $nlist" >&5
6533 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6536 echo "$progname: failed program was:" >&5
6537 cat conftest.$ac_ext >&5
6539 rm -rf conftest* conftst*
6541 # Do not use the global_symbol_pipe unless it works.
6542 if test "$pipe_works" = yes; then
6545 lt_cv_sys_global_symbol_pipe=
6551 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6552 lt_cv_sys_global_symbol_to_cdecl=
6554 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6556 $as_echo "failed" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6559 $as_echo "ok" >&6; }
6562 # Response file support.
6563 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6564 nm_file_list_spec='@'
6565 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6566 nm_file_list_spec='@'
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6596 $as_echo_n "checking for sysroot... " >&6; }
6598 # Check whether --with-sysroot was given.
6599 if test "${with_sysroot+set}" = set; then :
6600 withval=$with_sysroot;
6607 case ${with_sysroot} in #(
6609 if test "$GCC" = yes; then
6610 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6614 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6620 $as_echo "${with_sysroot}" >&6; }
6621 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6626 $as_echo "${lt_sysroot:-no}" >&6; }
6632 # Check whether --enable-libtool-lock was given.
6633 if test "${enable_libtool_lock+set}" = set; then :
6634 enableval=$enable_libtool_lock;
6637 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6639 # Some flags need to be propagated to the compiler or linker for good
6643 # Find out which ABI we are using.
6644 echo 'int i;' > conftest.$ac_ext
6645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6646 (eval $ac_compile) 2>&5
6648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6649 test $ac_status = 0; }; then
6650 case `/usr/bin/file conftest.$ac_objext` in
6662 # Find out which ABI we are using.
6663 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6665 (eval $ac_compile) 2>&5
6667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6668 test $ac_status = 0; }; then
6669 if test "$lt_cv_prog_gnu_ld" = yes; then
6670 case `/usr/bin/file conftest.$ac_objext` in
6672 LD="${LD-ld} -melf32bsmip"
6675 LD="${LD-ld} -melf32bmipn32"
6678 LD="${LD-ld} -melf64bmip"
6682 case `/usr/bin/file conftest.$ac_objext` in
6698 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6699 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6700 # Find out which ABI we are using.
6701 echo 'int i;' > conftest.$ac_ext
6702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6703 (eval $ac_compile) 2>&5
6705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6706 test $ac_status = 0; }; then
6707 case `/usr/bin/file conftest.o` in
6710 x86_64-*kfreebsd*-gnu)
6711 LD="${LD-ld} -m elf_i386_fbsd"
6714 case `/usr/bin/file conftest.o` in
6716 LD="${LD-ld} -m elf32_x86_64"
6719 LD="${LD-ld} -m elf_i386"
6724 LD="${LD-ld} -m elf32lppclinux"
6727 LD="${LD-ld} -m elf32ppclinux"
6730 LD="${LD-ld} -m elf_s390"
6733 LD="${LD-ld} -m elf32_sparc"
6739 x86_64-*kfreebsd*-gnu)
6740 LD="${LD-ld} -m elf_x86_64_fbsd"
6743 LD="${LD-ld} -m elf_x86_64"
6746 LD="${LD-ld} -m elf64lppc"
6749 LD="${LD-ld} -m elf64ppc"
6751 s390*-*linux*|s390*-*tpf*)
6752 LD="${LD-ld} -m elf64_s390"
6755 LD="${LD-ld} -m elf64_sparc"
6765 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6766 SAVE_CFLAGS="$CFLAGS"
6767 CFLAGS="$CFLAGS -belf"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6769 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6770 if ${lt_cv_cc_needs_belf+:} false; then :
6771 $as_echo_n "(cached) " >&6
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6790 if ac_fn_c_try_link "$LINENO"; then :
6791 lt_cv_cc_needs_belf=yes
6793 lt_cv_cc_needs_belf=no
6795 rm -f core conftest.err conftest.$ac_objext \
6796 conftest$ac_exeext conftest.$ac_ext
6798 ac_cpp='$CPP $CPPFLAGS'
6799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6805 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6806 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6807 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6808 CFLAGS="$SAVE_CFLAGS"
6812 # Find out which ABI we are using.
6813 echo 'int i;' > conftest.$ac_ext
6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815 (eval $ac_compile) 2>&5
6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818 test $ac_status = 0; }; then
6819 case `/usr/bin/file conftest.o` in
6821 case $lt_cv_prog_gnu_ld in
6825 LD="${LD-ld} -m elf_x86_64"
6828 LD="${LD-ld} -m elf64_sparc"
6831 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6832 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6837 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6849 need_locks="$enable_libtool_lock"
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}mt; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6857 $as_echo_n "(cached) " >&6
6859 if test -n "$MANIFEST_TOOL"; then
6860 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6880 if test -n "$MANIFEST_TOOL"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6882 $as_echo "$MANIFEST_TOOL" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6891 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6892 # Extract the first word of "mt", so it can be a program name with args.
6893 set dummy mt; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6897 $as_echo_n "(cached) " >&6
6899 if test -n "$ac_ct_MANIFEST_TOOL"; then
6900 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6920 if test -n "$ac_ct_MANIFEST_TOOL"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6922 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6931 case $cross_compiling:$ac_tool_warned in
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6937 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6940 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6943 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6945 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6946 if ${lt_cv_path_mainfest_tool+:} false; then :
6947 $as_echo_n "(cached) " >&6
6949 lt_cv_path_mainfest_tool=no
6950 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6951 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6952 cat conftest.err >&5
6953 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6954 lt_cv_path_mainfest_tool=yes
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6959 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6960 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6970 rhapsody* | darwin*)
6971 if test -n "$ac_tool_prefix"; then
6972 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6973 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 $as_echo_n "checking for $ac_word... " >&6; }
6976 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6977 $as_echo_n "(cached) " >&6
6979 if test -n "$DSYMUTIL"; then
6980 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 test -z "$as_dir" && as_dir=.
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7000 if test -n "$DSYMUTIL"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7002 $as_echo "$DSYMUTIL" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 $as_echo "no" >&6; }
7010 if test -z "$ac_cv_prog_DSYMUTIL"; then
7011 ac_ct_DSYMUTIL=$DSYMUTIL
7012 # Extract the first word of "dsymutil", so it can be a program name with args.
7013 set dummy dsymutil; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 if test -n "$ac_ct_DSYMUTIL"; then
7020 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7042 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7048 if test "x$ac_ct_DSYMUTIL" = x; then
7051 case $cross_compiling:$ac_tool_warned in
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055 ac_tool_warned=yes ;;
7057 DSYMUTIL=$ac_ct_DSYMUTIL
7060 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_NMEDIT+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$NMEDIT"; then
7072 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 NMEDIT=$ac_cv_prog_NMEDIT
7092 if test -n "$NMEDIT"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7094 $as_echo "$NMEDIT" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7102 if test -z "$ac_cv_prog_NMEDIT"; then
7103 ac_ct_NMEDIT=$NMEDIT
7104 # Extract the first word of "nmedit", so it can be a program name with args.
7105 set dummy nmedit; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$ac_ct_NMEDIT"; then
7112 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7132 if test -n "$ac_ct_NMEDIT"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7134 $as_echo "$ac_ct_NMEDIT" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7140 if test "x$ac_ct_NMEDIT" = x; then
7143 case $cross_compiling:$ac_tool_warned in
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7149 NMEDIT=$ac_ct_NMEDIT
7152 NMEDIT="$ac_cv_prog_NMEDIT"
7155 if test -n "$ac_tool_prefix"; then
7156 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_LIPO+:} false; then :
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$LIPO"; then
7164 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir=.
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 LIPO=$ac_cv_prog_LIPO
7184 if test -n "$LIPO"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7186 $as_echo "$LIPO" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7194 if test -z "$ac_cv_prog_LIPO"; then
7196 # Extract the first word of "lipo", so it can be a program name with args.
7197 set dummy lipo; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$ac_ct_LIPO"; then
7204 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_ac_ct_LIPO="lipo"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7224 if test -n "$ac_ct_LIPO"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7226 $as_echo "$ac_ct_LIPO" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7232 if test "x$ac_ct_LIPO" = x; then
7235 case $cross_compiling:$ac_tool_warned in
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239 ac_tool_warned=yes ;;
7244 LIPO="$ac_cv_prog_LIPO"
7247 if test -n "$ac_tool_prefix"; then
7248 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}otool; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_OTOOL+:} false; then :
7253 $as_echo_n "(cached) " >&6
7255 if test -n "$OTOOL"; then
7256 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 OTOOL=$ac_cv_prog_OTOOL
7276 if test -n "$OTOOL"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7278 $as_echo "$OTOOL" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7286 if test -z "$ac_cv_prog_OTOOL"; then
7288 # Extract the first word of "otool", so it can be a program name with args.
7289 set dummy otool; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7293 $as_echo_n "(cached) " >&6
7295 if test -n "$ac_ct_OTOOL"; then
7296 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_ac_ct_OTOOL="otool"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7316 if test -n "$ac_ct_OTOOL"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7318 $as_echo "$ac_ct_OTOOL" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7324 if test "x$ac_ct_OTOOL" = x; then
7327 case $cross_compiling:$ac_tool_warned in
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7331 ac_tool_warned=yes ;;
7336 OTOOL="$ac_cv_prog_OTOOL"
7339 if test -n "$ac_tool_prefix"; then
7340 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7341 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_OTOOL64+:} false; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$OTOOL64"; then
7348 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 OTOOL64=$ac_cv_prog_OTOOL64
7368 if test -n "$OTOOL64"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7370 $as_echo "$OTOOL64" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7378 if test -z "$ac_cv_prog_OTOOL64"; then
7379 ac_ct_OTOOL64=$OTOOL64
7380 # Extract the first word of "otool64", so it can be a program name with args.
7381 set dummy otool64; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$ac_ct_OTOOL64"; then
7388 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_ac_ct_OTOOL64="otool64"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7408 if test -n "$ac_ct_OTOOL64"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7410 $as_echo "$ac_ct_OTOOL64" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7416 if test "x$ac_ct_OTOOL64" = x; then
7419 case $cross_compiling:$ac_tool_warned in
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423 ac_tool_warned=yes ;;
7425 OTOOL64=$ac_ct_OTOOL64
7428 OTOOL64="$ac_cv_prog_OTOOL64"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7458 $as_echo_n "checking for -single_module linker flag... " >&6; }
7459 if ${lt_cv_apple_cc_single_mod+:} false; then :
7460 $as_echo_n "(cached) " >&6
7462 lt_cv_apple_cc_single_mod=no
7463 if test -z "${LT_MULTI_MODULE}"; then
7464 # By default we will add the -single_module flag. You can override
7465 # by either setting the environment variable LT_MULTI_MODULE
7466 # non-empty at configure time, or by adding -multi_module to the
7468 rm -rf libconftest.dylib*
7469 echo "int foo(void){return 1;}" > conftest.c
7470 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7471 -dynamiclib -Wl,-single_module conftest.c" >&5
7472 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7473 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7475 # If there is a non-empty error log, and "single_module"
7476 # appears in it, assume the flag caused a linker warning
7477 if test -s conftest.err && $GREP single_module conftest.err; then
7478 cat conftest.err >&5
7479 # Otherwise, if the output was created with a 0 exit code from
7480 # the compiler, it worked.
7481 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7482 lt_cv_apple_cc_single_mod=yes
7484 cat conftest.err >&5
7486 rm -rf libconftest.dylib*
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7495 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7496 $as_echo_n "(cached) " >&6
7498 lt_cv_ld_exported_symbols_list=no
7499 save_LDFLAGS=$LDFLAGS
7500 echo "_main" > conftest.sym
7501 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_ld_exported_symbols_list=yes
7516 lt_cv_ld_exported_symbols_list=no
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7520 LDFLAGS="$save_LDFLAGS"
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7527 $as_echo_n "checking for -force_load linker flag... " >&6; }
7528 if ${lt_cv_ld_force_load+:} false; then :
7529 $as_echo_n "(cached) " >&6
7531 lt_cv_ld_force_load=no
7532 cat > conftest.c << _LT_EOF
7533 int forced_loaded() { return 2;}
7535 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7536 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7537 echo "$AR cru libconftest.a conftest.o" >&5
7538 $AR cru libconftest.a conftest.o 2>&5
7539 echo "$RANLIB libconftest.a" >&5
7540 $RANLIB libconftest.a 2>&5
7541 cat > conftest.c << _LT_EOF
7542 int main() { return 0;}
7544 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7545 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7547 if test -s conftest.err && $GREP force_load conftest.err; then
7548 cat conftest.err >&5
7549 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7550 lt_cv_ld_force_load=yes
7552 cat conftest.err >&5
7554 rm -f conftest.err libconftest.a conftest conftest.c
7555 rm -rf conftest.dSYM
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7559 $as_echo "$lt_cv_ld_force_load" >&6; }
7561 rhapsody* | darwin1.[012])
7562 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7564 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7565 darwin*) # darwin 5.x on
7566 # if running on 10.5 or later, the deployment target defaults
7567 # to the OS version, if on x86, and 10.4, the deployment
7568 # target defaults to 10.4. Don't you love it?
7569 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7570 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7571 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7573 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7575 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7579 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7580 _lt_dar_single_mod='$single_module'
7582 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7583 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7585 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7587 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7588 _lt_dsymutil='~$DSYMUTIL $lib || :'
7596 ac_cpp='$CPP $CPPFLAGS'
7597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7602 # On Suns, sometimes $CPP names a directory.
7603 if test -n "$CPP" && test -d "$CPP"; then
7606 if test -z "$CPP"; then
7607 if ${ac_cv_prog_CPP+:} false; then :
7608 $as_echo_n "(cached) " >&6
7610 # Double quotes because CPP needs to be expanded
7611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7614 for ac_c_preproc_warn_flag in '' yes
7616 # Use a header file that comes with gcc, so configuring glibc
7617 # with a fresh cross-compiler works.
7618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7619 # <limits.h> exists even on freestanding compilers.
7620 # On the NeXT, cc -E runs the code through the compiler's parser,
7621 # not just through cpp. "Syntax error" is here to catch this case.
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7625 # include <limits.h>
7627 # include <assert.h>
7631 if ac_fn_c_try_cpp "$LINENO"; then :
7634 # Broken: fails on valid input.
7637 rm -f conftest.err conftest.i conftest.$ac_ext
7639 # OK, works on sane cases. Now check whether nonexistent headers
7640 # can be detected and how.
7641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h. */
7643 #include <ac_nonexistent.h>
7645 if ac_fn_c_try_cpp "$LINENO"; then :
7646 # Broken: success on invalid input.
7649 # Passes both tests.
7653 rm -f conftest.err conftest.i conftest.$ac_ext
7656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7657 rm -f conftest.i conftest.err conftest.$ac_ext
7658 if $ac_preproc_ok; then :
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7671 $as_echo "$CPP" >&6; }
7673 for ac_c_preproc_warn_flag in '' yes
7675 # Use a header file that comes with gcc, so configuring glibc
7676 # with a fresh cross-compiler works.
7677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7678 # <limits.h> exists even on freestanding compilers.
7679 # On the NeXT, cc -E runs the code through the compiler's parser,
7680 # not just through cpp. "Syntax error" is here to catch this case.
7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7684 # include <limits.h>
7686 # include <assert.h>
7690 if ac_fn_c_try_cpp "$LINENO"; then :
7693 # Broken: fails on valid input.
7696 rm -f conftest.err conftest.i conftest.$ac_ext
7698 # OK, works on sane cases. Now check whether nonexistent headers
7699 # can be detected and how.
7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #include <ac_nonexistent.h>
7704 if ac_fn_c_try_cpp "$LINENO"; then :
7705 # Broken: success on invalid input.
7708 # Passes both tests.
7712 rm -f conftest.err conftest.i conftest.$ac_ext
7715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7716 rm -f conftest.i conftest.err conftest.$ac_ext
7717 if $ac_preproc_ok; then :
7720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7722 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7723 See \`config.log' for more details" "$LINENO" 5; }
7727 ac_cpp='$CPP $CPPFLAGS'
7728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7734 $as_echo_n "checking for ANSI C header files... " >&6; }
7735 if ${ac_cv_header_stdc+:} false; then :
7736 $as_echo_n "(cached) " >&6
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7753 if ac_fn_c_try_compile "$LINENO"; then :
7754 ac_cv_header_stdc=yes
7756 ac_cv_header_stdc=no
7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7760 if test $ac_cv_header_stdc = yes; then
7761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7768 $EGREP "memchr" >/dev/null 2>&1; then :
7771 ac_cv_header_stdc=no
7777 if test $ac_cv_header_stdc = yes; then
7778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7785 $EGREP "free" >/dev/null 2>&1; then :
7788 ac_cv_header_stdc=no
7794 if test $ac_cv_header_stdc = yes; then
7795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7796 if test "$cross_compiling" = yes; then :
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7803 #if ((' ' & 0x0FF) == 0x020)
7804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7807 # define ISLOWER(c) \
7808 (('a' <= (c) && (c) <= 'i') \
7809 || ('j' <= (c) && (c) <= 'r') \
7810 || ('s' <= (c) && (c) <= 'z'))
7811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7819 for (i = 0; i < 256; i++)
7820 if (XOR (islower (i), ISLOWER (i))
7821 || toupper (i) != TOUPPER (i))
7826 if ac_fn_c_try_run "$LINENO"; then :
7829 ac_cv_header_stdc=no
7831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7832 conftest.$ac_objext conftest.beam conftest.$ac_ext
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7838 $as_echo "$ac_cv_header_stdc" >&6; }
7839 if test $ac_cv_header_stdc = yes; then
7841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7847 inttypes.h stdint.h unistd.h
7849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7862 for ac_header in dlfcn.h
7864 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7866 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_DLFCN_H 1
7880 # Check whether --enable-static was given.
7881 if test "${enable_static+set}" = set; then :
7882 enableval=$enable_static; p=${PACKAGE-default}
7884 yes) enable_static=yes ;;
7885 no) enable_static=no ;;
7888 # Look at the argument we got. We use all the common list separators.
7889 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7890 for pkg in $enableval; do
7892 if test "X$pkg" = "X$p"; then
7918 # Check whether --enable-shared was given.
7919 if test "${enable_shared+set}" = set; then :
7920 enableval=$enable_shared; p=${PACKAGE-default}
7922 yes) enable_shared=yes ;;
7923 no) enable_shared=no ;;
7926 # Look at the argument we got. We use all the common list separators.
7927 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7928 for pkg in $enableval; do
7930 if test "X$pkg" = "X$p"; then
7951 # Check whether --with-pic was given.
7952 if test "${with_pic+set}" = set; then :
7953 withval=$with_pic; lt_p=${PACKAGE-default}
7955 yes|no) pic_mode=$withval ;;
7958 # Look at the argument we got. We use all the common list separators.
7959 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7960 for lt_pkg in $withval; do
7962 if test "X$lt_pkg" = "X$lt_p"; then
7974 test -z "$pic_mode" && pic_mode=default
7982 # Check whether --enable-fast-install was given.
7983 if test "${enable_fast_install+set}" = set; then :
7984 enableval=$enable_fast_install; p=${PACKAGE-default}
7986 yes) enable_fast_install=yes ;;
7987 no) enable_fast_install=no ;;
7989 enable_fast_install=no
7990 # Look at the argument we got. We use all the common list separators.
7991 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7992 for pkg in $enableval; do
7994 if test "X$pkg" = "X$p"; then
7995 enable_fast_install=yes
8002 enable_fast_install=yes
8015 # This can be used to rebuild libtool when needed
8016 LIBTOOL_DEPS="$ltmain"
8018 # Always use our own libtool.
8019 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8050 test -z "$LN_S" && LN_S="ln -s"
8065 if test -n "${ZSH_VERSION+set}" ; then
8066 setopt NO_GLOB_SUBST
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8070 $as_echo_n "checking for objdir... " >&6; }
8071 if ${lt_cv_objdir+:} false; then :
8072 $as_echo_n "(cached) " >&6
8074 rm -f .libs 2>/dev/null
8075 mkdir .libs 2>/dev/null
8076 if test -d .libs; then
8079 # MS-DOS does not allow filenames that begin with a dot.
8082 rmdir .libs 2>/dev/null
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8085 $as_echo "$lt_cv_objdir" >&6; }
8086 objdir=$lt_cv_objdir
8092 cat >>confdefs.h <<_ACEOF
8093 #define LT_OBJDIR "$lt_cv_objdir/"
8101 # AIX sometimes has problems with the GCC collect2 program. For some
8102 # reason, if we set the COLLECT_NAMES environment variable, the problems
8103 # vanish in a puff of smoke.
8104 if test "X${COLLECT_NAMES+set}" != Xset; then
8106 export COLLECT_NAMES
8113 can_build_shared=yes
8115 # All known linkers require a `.a' archive for static linking (except MSVC,
8116 # which needs '.lib').
8119 with_gnu_ld="$lt_cv_prog_gnu_ld"
8122 old_CFLAGS="$CFLAGS"
8124 # Set sane defaults for various variables
8125 test -z "$CC" && CC=cc
8126 test -z "$LTCC" && LTCC=$CC
8127 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8128 test -z "$LD" && LD=ld
8129 test -z "$ac_objext" && ac_objext=o
8131 for cc_temp in $compiler""; do
8133 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8134 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8139 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8142 # Only perform the check for file, if the check method requires it
8143 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8144 case $deplibs_check_method in
8146 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8148 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8149 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8150 $as_echo_n "(cached) " >&6
8154 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8157 lt_save_MAGIC_CMD="$MAGIC_CMD"
8158 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8159 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8160 for ac_dir in $ac_dummy; do
8162 test -z "$ac_dir" && ac_dir=.
8163 if test -f $ac_dir/${ac_tool_prefix}file; then
8164 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8165 if test -n "$file_magic_test_file"; then
8166 case $deplibs_check_method in
8168 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8169 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8170 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8171 $EGREP "$file_magic_regex" > /dev/null; then
8176 *** Warning: the command libtool uses to detect shared libraries,
8177 *** $file_magic_cmd, produces output that libtool cannot recognize.
8178 *** The result is that libtool may fail to recognize shared libraries
8179 *** as such. This will affect the creation of libtool libraries that
8180 *** depend on shared libraries, but programs linked with such libtool
8181 *** libraries will work regardless of this problem. Nevertheless, you
8182 *** may want to report the problem to your system manager and/or to
8183 *** bug-libtool@gnu.org
8193 MAGIC_CMD="$lt_save_MAGIC_CMD"
8198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8199 if test -n "$MAGIC_CMD"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8201 $as_echo "$MAGIC_CMD" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8211 if test -z "$lt_cv_path_MAGIC_CMD"; then
8212 if test -n "$ac_tool_prefix"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8214 $as_echo_n "checking for file... " >&6; }
8215 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8216 $as_echo_n "(cached) " >&6
8220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8223 lt_save_MAGIC_CMD="$MAGIC_CMD"
8224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8225 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8226 for ac_dir in $ac_dummy; do
8228 test -z "$ac_dir" && ac_dir=.
8229 if test -f $ac_dir/file; then
8230 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8231 if test -n "$file_magic_test_file"; then
8232 case $deplibs_check_method in
8234 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8236 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8237 $EGREP "$file_magic_regex" > /dev/null; then
8242 *** Warning: the command libtool uses to detect shared libraries,
8243 *** $file_magic_cmd, produces output that libtool cannot recognize.
8244 *** The result is that libtool may fail to recognize shared libraries
8245 *** as such. This will affect the creation of libtool libraries that
8246 *** depend on shared libraries, but programs linked with such libtool
8247 *** libraries will work regardless of this problem. Nevertheless, you
8248 *** may want to report the problem to your system manager and/or to
8249 *** bug-libtool@gnu.org
8259 MAGIC_CMD="$lt_save_MAGIC_CMD"
8264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8265 if test -n "$MAGIC_CMD"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8267 $as_echo "$MAGIC_CMD" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8283 # Use C for the default configuration in the libtool script
8287 ac_cpp='$CPP $CPPFLAGS'
8288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8293 # Source file extension for C test sources.
8296 # Object file extension for compiled C test sources.
8300 # Code to be used in simple compile tests
8301 lt_simple_compile_test_code="int some_variable = 0;"
8303 # Code to be used in simple link tests
8304 lt_simple_link_test_code='int main(){return(0);}'
8312 # If no C compiler was specified, use CC.
8315 # If no C compiler flags were specified, use CFLAGS.
8316 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8318 # Allow CC to be a program name with arguments.
8321 # Save the default compiler, since it gets overwritten when the other
8322 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8323 compiler_DEFAULT=$CC
8325 # save warnings/boilerplate of simple test code
8326 ac_outfile=conftest.$ac_objext
8327 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8328 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8329 _lt_compiler_boilerplate=`cat conftest.err`
8332 ac_outfile=conftest.$ac_objext
8333 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8334 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8335 _lt_linker_boilerplate=`cat conftest.err`
8340 ## There is no encapsulation within the following macros, do not change
8341 ## the running order or otherwise move them around unless you know exactly
8342 ## what you are doing...
8343 if test -n "$compiler"; then
8345 lt_prog_compiler_no_builtin_flag=
8347 if test "$GCC" = yes; then
8348 case $cc_basename in
8350 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8352 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8356 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8357 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8358 $as_echo_n "(cached) " >&6
8360 lt_cv_prog_compiler_rtti_exceptions=no
8361 ac_outfile=conftest.$ac_objext
8362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8363 lt_compiler_flag="-fno-rtti -fno-exceptions"
8364 # Insert the option either (1) after the last *FLAGS variable, or
8365 # (2) before a word containing "conftest.", or (3) at the end.
8366 # Note that $ac_compile itself does not contain backslashes and begins
8367 # with a dollar sign (not a hyphen), so the echo should work correctly.
8368 # The option is referenced via a variable to avoid confusing sed.
8369 lt_compile=`echo "$ac_compile" | $SED \
8370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8372 -e 's:$: $lt_compiler_flag:'`
8373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8374 (eval "$lt_compile" 2>conftest.err)
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 if (exit $ac_status) && test -s "$ac_outfile"; then
8379 # The compiler can only warn and ignore the option if not recognized
8380 # So say no if there are warnings other than the usual output.
8381 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8382 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8383 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8384 lt_cv_prog_compiler_rtti_exceptions=yes
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8391 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8393 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8394 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8406 lt_prog_compiler_wl=
8407 lt_prog_compiler_pic=
8408 lt_prog_compiler_static=
8411 if test "$GCC" = yes; then
8412 lt_prog_compiler_wl='-Wl,'
8413 lt_prog_compiler_static='-static'
8417 # All AIX code is PIC.
8418 if test "$host_cpu" = ia64; then
8419 # AIX 5 now supports IA64 processor
8420 lt_prog_compiler_static='-Bstatic'
8427 # see comment about AmigaOS4 .so support
8428 lt_prog_compiler_pic='-fPIC'
8431 # FIXME: we need at least 68020 code to build shared libraries, but
8432 # adding the `-m68020' flag to GCC prevents building anything better,
8434 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8439 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8440 # PIC is the default for these OSes.
8443 mingw* | cygwin* | pw32* | os2* | cegcc*)
8444 # This hack is so that the source file can tell whether it is being
8445 # built for inclusion in a dll (and should export symbols for example).
8446 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8447 # (--disable-auto-import) libraries
8448 lt_prog_compiler_pic='-DDLL_EXPORT'
8451 darwin* | rhapsody*)
8452 # PIC is the default on this platform
8453 # Common symbols not allowed in MH_DYLIB files
8454 lt_prog_compiler_pic='-fno-common'
8458 # PIC is the default for Haiku.
8459 # The "-static" flag exists, but is broken.
8460 lt_prog_compiler_static=
8464 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8465 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8466 # sets the default TLS model and affects inlining.
8472 lt_prog_compiler_pic='-fPIC'
8478 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8479 # Instead, we relocate shared libraries at runtime.
8483 # Just because we use GCC doesn't mean we suddenly get shared libraries
8484 # on systems that don't support them.
8485 lt_prog_compiler_can_build_shared=no
8490 # QNX uses GNU C++, but need to define -shared option too, otherwise
8492 lt_prog_compiler_pic='-fPIC -shared'
8496 if test -d /usr/nec; then
8497 lt_prog_compiler_pic=-Kconform_pic
8502 lt_prog_compiler_pic='-fPIC'
8506 case $cc_basename in
8507 nvcc*) # Cuda Compiler Driver 2.2
8508 lt_prog_compiler_wl='-Xlinker '
8509 if test -n "$lt_prog_compiler_pic"; then
8510 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8515 # PORTME Check for flag to pass linker flags through the system compiler.
8518 lt_prog_compiler_wl='-Wl,'
8519 if test "$host_cpu" = ia64; then
8520 # AIX 5 now supports IA64 processor
8521 lt_prog_compiler_static='-Bstatic'
8523 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8527 mingw* | cygwin* | pw32* | os2* | cegcc*)
8528 # This hack is so that the source file can tell whether it is being
8529 # built for inclusion in a dll (and should export symbols for example).
8530 lt_prog_compiler_pic='-DDLL_EXPORT'
8533 hpux9* | hpux10* | hpux11*)
8534 lt_prog_compiler_wl='-Wl,'
8535 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8542 lt_prog_compiler_pic='+Z'
8545 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8546 lt_prog_compiler_static='${wl}-a ${wl}archive'
8549 irix5* | irix6* | nonstopux*)
8550 lt_prog_compiler_wl='-Wl,'
8551 # PIC (with -KPIC) is the default.
8552 lt_prog_compiler_static='-non_shared'
8555 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8556 case $cc_basename in
8557 # old Intel for x86_64 which still supported -KPIC.
8559 lt_prog_compiler_wl='-Wl,'
8560 lt_prog_compiler_pic='-KPIC'
8561 lt_prog_compiler_static='-static'
8563 # icc used to be incompatible with GCC.
8564 # ICC 10 doesn't accept -KPIC any more.
8566 lt_prog_compiler_wl='-Wl,'
8567 lt_prog_compiler_pic='-fPIC'
8568 lt_prog_compiler_static='-static'
8570 # Lahey Fortran 8.1.
8572 lt_prog_compiler_wl='-Wl,'
8573 lt_prog_compiler_pic='--shared'
8574 lt_prog_compiler_static='--static'
8577 # NAG Fortran compiler
8578 lt_prog_compiler_wl='-Wl,-Wl,,'
8579 lt_prog_compiler_pic='-PIC'
8580 lt_prog_compiler_static='-Bstatic'
8582 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8583 # Portland Group compilers (*not* the Pentium gcc compiler,
8584 # which looks to be a dead project)
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-fpic'
8587 lt_prog_compiler_static='-Bstatic'
8590 lt_prog_compiler_wl='-Wl,'
8591 # All Alpha code is PIC.
8592 lt_prog_compiler_static='-non_shared'
8594 xl* | bgxl* | bgf* | mpixl*)
8595 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8596 lt_prog_compiler_wl='-Wl,'
8597 lt_prog_compiler_pic='-qpic'
8598 lt_prog_compiler_static='-qstaticlink'
8601 case `$CC -V 2>&1 | sed 5q` in
8602 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8603 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8604 lt_prog_compiler_pic='-KPIC'
8605 lt_prog_compiler_static='-Bstatic'
8606 lt_prog_compiler_wl=''
8608 *Sun\ F* | *Sun*Fortran*)
8609 lt_prog_compiler_pic='-KPIC'
8610 lt_prog_compiler_static='-Bstatic'
8611 lt_prog_compiler_wl='-Qoption ld '
8615 lt_prog_compiler_pic='-KPIC'
8616 lt_prog_compiler_static='-Bstatic'
8617 lt_prog_compiler_wl='-Wl,'
8619 *Intel*\ [CF]*Compiler*)
8620 lt_prog_compiler_wl='-Wl,'
8621 lt_prog_compiler_pic='-fPIC'
8622 lt_prog_compiler_static='-static'
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='-fpic'
8627 lt_prog_compiler_static='-Bstatic'
8635 lt_prog_compiler_pic='-KPIC'
8636 lt_prog_compiler_static='-Bstatic'
8640 # QNX uses GNU C++, but need to define -shared option too, otherwise
8642 lt_prog_compiler_pic='-fPIC -shared'
8645 osf3* | osf4* | osf5*)
8646 lt_prog_compiler_wl='-Wl,'
8647 # All OSF/1 code is PIC.
8648 lt_prog_compiler_static='-non_shared'
8652 lt_prog_compiler_static='-non_shared'
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 case $cc_basename in
8659 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8660 lt_prog_compiler_wl='-Qoption ld ';;
8662 lt_prog_compiler_wl='-Wl,';;
8667 lt_prog_compiler_wl='-Qoption ld '
8668 lt_prog_compiler_pic='-PIC'
8669 lt_prog_compiler_static='-Bstatic'
8672 sysv4 | sysv4.2uw2* | sysv4.3*)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-KPIC'
8675 lt_prog_compiler_static='-Bstatic'
8679 if test -d /usr/nec ;then
8680 lt_prog_compiler_pic='-Kconform_pic'
8681 lt_prog_compiler_static='-Bstatic'
8685 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8686 lt_prog_compiler_wl='-Wl,'
8687 lt_prog_compiler_pic='-KPIC'
8688 lt_prog_compiler_static='-Bstatic'
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_can_build_shared=no
8697 lt_prog_compiler_pic='-pic'
8698 lt_prog_compiler_static='-Bstatic'
8702 lt_prog_compiler_can_build_shared=no
8708 # For platforms which do not support PIC, -DPIC is meaningless:
8710 lt_prog_compiler_pic=
8713 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8718 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8719 if ${lt_cv_prog_compiler_pic+:} false; then :
8720 $as_echo_n "(cached) " >&6
8722 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8725 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8726 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8729 # Check to make sure the PIC flag actually works.
8731 if test -n "$lt_prog_compiler_pic"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8733 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8734 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8735 $as_echo_n "(cached) " >&6
8737 lt_cv_prog_compiler_pic_works=no
8738 ac_outfile=conftest.$ac_objext
8739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8740 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8741 # Insert the option either (1) after the last *FLAGS variable, or
8742 # (2) before a word containing "conftest.", or (3) at the end.
8743 # Note that $ac_compile itself does not contain backslashes and begins
8744 # with a dollar sign (not a hyphen), so the echo should work correctly.
8745 # The option is referenced via a variable to avoid confusing sed.
8746 lt_compile=`echo "$ac_compile" | $SED \
8747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8749 -e 's:$: $lt_compiler_flag:'`
8750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8751 (eval "$lt_compile" 2>conftest.err)
8753 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 if (exit $ac_status) && test -s "$ac_outfile"; then
8756 # The compiler can only warn and ignore the option if not recognized
8757 # So say no if there are warnings other than the usual output.
8758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8760 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8761 lt_cv_prog_compiler_pic_works=yes
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8768 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8770 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8771 case $lt_prog_compiler_pic in
8773 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8776 lt_prog_compiler_pic=
8777 lt_prog_compiler_can_build_shared=no
8793 # Check to make sure the static flag actually works.
8795 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8797 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8798 if ${lt_cv_prog_compiler_static_works+:} false; then :
8799 $as_echo_n "(cached) " >&6
8801 lt_cv_prog_compiler_static_works=no
8802 save_LDFLAGS="$LDFLAGS"
8803 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8804 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8805 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8806 # The linker can only warn and ignore the option if not recognized
8807 # So say no if there are warnings
8808 if test -s conftest.err; then
8809 # Append any errors to the config.log.
8810 cat conftest.err 1>&5
8811 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8812 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8813 if diff conftest.exp conftest.er2 >/dev/null; then
8814 lt_cv_prog_compiler_static_works=yes
8817 lt_cv_prog_compiler_static_works=yes
8821 LDFLAGS="$save_LDFLAGS"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8825 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8827 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8830 lt_prog_compiler_static=
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8840 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8841 if ${lt_cv_prog_compiler_c_o+:} false; then :
8842 $as_echo_n "(cached) " >&6
8844 lt_cv_prog_compiler_c_o=no
8845 $RM -r conftest 2>/dev/null
8849 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8851 lt_compiler_flag="-o out/conftest2.$ac_objext"
8852 # Insert the option either (1) after the last *FLAGS variable, or
8853 # (2) before a word containing "conftest.", or (3) at the end.
8854 # Note that $ac_compile itself does not contain backslashes and begins
8855 # with a dollar sign (not a hyphen), so the echo should work correctly.
8856 lt_compile=`echo "$ac_compile" | $SED \
8857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8859 -e 's:$: $lt_compiler_flag:'`
8860 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8861 (eval "$lt_compile" 2>out/conftest.err)
8863 cat out/conftest.err >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8867 # The compiler can only warn and ignore the option if not recognized
8868 # So say no if there are warnings
8869 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8870 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8871 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8872 lt_cv_prog_compiler_c_o=yes
8877 # SGI C++ compiler will create directory out/ii_files/ for
8878 # template instantiation
8879 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8880 $RM out/* && rmdir out
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8887 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8895 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8896 if ${lt_cv_prog_compiler_c_o+:} false; then :
8897 $as_echo_n "(cached) " >&6
8899 lt_cv_prog_compiler_c_o=no
8900 $RM -r conftest 2>/dev/null
8904 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8906 lt_compiler_flag="-o out/conftest2.$ac_objext"
8907 # Insert the option either (1) after the last *FLAGS variable, or
8908 # (2) before a word containing "conftest.", or (3) at the end.
8909 # Note that $ac_compile itself does not contain backslashes and begins
8910 # with a dollar sign (not a hyphen), so the echo should work correctly.
8911 lt_compile=`echo "$ac_compile" | $SED \
8912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8914 -e 's:$: $lt_compiler_flag:'`
8915 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8916 (eval "$lt_compile" 2>out/conftest.err)
8918 cat out/conftest.err >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8922 # The compiler can only warn and ignore the option if not recognized
8923 # So say no if there are warnings
8924 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8925 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8926 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8927 lt_cv_prog_compiler_c_o=yes
8932 # SGI C++ compiler will create directory out/ii_files/ for
8933 # template instantiation
8934 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8935 $RM out/* && rmdir out
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8942 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8947 hard_links="nottested"
8948 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8949 # do not overwrite the value of need_locks provided by the user
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8951 $as_echo_n "checking if we can lock with hard links... " >&6; }
8954 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8956 ln conftest.a conftest.b 2>&5 || hard_links=no
8957 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8959 $as_echo "$hard_links" >&6; }
8960 if test "$hard_links" = no; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8962 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8975 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8978 allow_undefined_flag=
8979 always_export_symbols=no
8981 archive_expsym_cmds=
8982 compiler_needs_object=no
8983 enable_shared_with_static_runtimes=no
8984 export_dynamic_flag_spec=
8985 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8986 hardcode_automatic=no
8988 hardcode_direct_absolute=no
8989 hardcode_libdir_flag_spec=
8990 hardcode_libdir_separator=
8992 hardcode_shlibpath_var=unsupported
8994 link_all_deplibs=unknown
8997 old_archive_from_new_cmds=
8998 old_archive_from_expsyms_cmds=
8999 thread_safe_flag_spec=
9000 whole_archive_flag_spec=
9001 # include_expsyms should be a list of space-separated symbols to be *always*
9002 # included in the symbol list
9004 # exclude_expsyms can be an extended regexp of symbols to exclude
9005 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9006 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9007 # as well as any symbol that contains `d'.
9008 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9009 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9010 # platforms (ab)use it in PIC code, but their linkers get confused if
9011 # the symbol is explicitly referenced. Since portable code cannot
9012 # rely on this symbol name, it's probably fine to never include it in
9013 # preloaded symbol tables.
9014 # Exclude shared library initialization/finalization symbols.
9015 extract_expsyms_cmds=
9018 cygwin* | mingw* | pw32* | cegcc*)
9019 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9020 # When not using gcc, we currently assume that we are using
9021 # Microsoft Visual C++.
9022 if test "$GCC" != yes; then
9027 # we just hope/assume this is gcc and not c89 (= MSVC++)
9033 linux* | k*bsd*-gnu | gnu*)
9040 # On some targets, GNU ld is compatible enough with the native linker
9041 # that we're better off using the native interface for both.
9042 lt_use_gnu_ld_interface=no
9043 if test "$with_gnu_ld" = yes; then
9046 # The AIX port of GNU ld has always aspired to compatibility
9047 # with the native linker. However, as the warning in the GNU ld
9048 # block says, versions before 2.19.5* couldn't really create working
9049 # shared libraries, regardless of the interface used.
9050 case `$LD -v 2>&1` in
9051 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9052 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9053 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9055 lt_use_gnu_ld_interface=yes
9060 lt_use_gnu_ld_interface=yes
9065 if test "$lt_use_gnu_ld_interface" = yes; then
9066 # If archive_cmds runs LD, not CC, wlarc should be empty
9069 # Set some defaults for GNU ld with shared library support. These
9070 # are reset later if shared libraries are not supported. Putting them
9071 # here allows them to be overridden if necessary.
9072 runpath_var=LD_RUN_PATH
9073 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9074 export_dynamic_flag_spec='${wl}--export-dynamic'
9075 # ancient GNU ld didn't support --whole-archive et. al.
9076 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9077 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9079 whole_archive_flag_spec=
9081 supports_anon_versioning=no
9082 case `$LD -v 2>&1` in
9083 *GNU\ gold*) supports_anon_versioning=yes ;;
9084 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9085 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9086 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9087 *\ 2.11.*) ;; # other 2.11 versions
9088 *) supports_anon_versioning=yes ;;
9091 # See if GNU ld supports shared libraries.
9094 # On AIX/PPC, the GNU linker is very broken
9095 if test "$host_cpu" != ia64; then
9099 *** Warning: the GNU linker, at least up to release 2.19, is reported
9100 *** to be unable to reliably create shared libraries on AIX.
9101 *** Therefore, libtool is disabling shared libraries support. If you
9102 *** really care for shared libraries, you may want to install binutils
9103 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9104 *** You will then need to restart the configuration process.
9113 # see comment about AmigaOS4 .so support
9114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9115 archive_expsym_cmds=''
9118 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)'
9119 hardcode_libdir_flag_spec='-L$libdir'
9120 hardcode_minus_L=yes
9126 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9127 allow_undefined_flag=unsupported
9128 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9129 # support --undefined. This deserves some investigation. FIXME
9130 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136 cygwin* | mingw* | pw32* | cegcc*)
9137 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9138 # as there is no search path for DLLs.
9139 hardcode_libdir_flag_spec='-L$libdir'
9140 export_dynamic_flag_spec='${wl}--export-all-symbols'
9141 allow_undefined_flag=unsupported
9142 always_export_symbols=no
9143 enable_shared_with_static_runtimes=yes
9144 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9145 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9147 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9148 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9149 # If the export-symbols file already is a .def file (1st line
9150 # is EXPORTS), use it as is; otherwise, prepend...
9151 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9152 cp $export_symbols $output_objdir/$soname.def;
9154 echo EXPORTS > $output_objdir/$soname.def;
9155 cat $export_symbols >> $output_objdir/$soname.def;
9157 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9164 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9165 link_all_deplibs=yes
9170 hardcode_shlibpath_var=no
9171 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9172 export_dynamic_flag_spec='${wl}-E'
9173 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9174 # Instead, shared libraries are loaded at an image base (0x10000000 by
9175 # default) and relocated if they conflict, which is a slow very memory
9176 # consuming and fragmenting process. To avoid this, we pick a random,
9177 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9178 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9179 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9180 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'
9183 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9185 if test "$host_os" = linux-dietlibc; then
9186 case $cc_basename in
9187 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9190 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9191 && test "$tmp_diet" = no
9193 tmp_addflag=' $pic_flag'
9194 tmp_sharedflag='-shared'
9195 case $cc_basename,$host_cpu in
9196 pgcc*) # Portland Group C compiler
9197 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9198 tmp_addflag=' $pic_flag'
9200 pgf77* | pgf90* | pgf95* | pgfortran*)
9201 # Portland Group f77 and f90 compilers
9202 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9203 tmp_addflag=' $pic_flag -Mnomain' ;;
9204 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9205 tmp_addflag=' -i_dynamic' ;;
9206 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9207 tmp_addflag=' -i_dynamic -nofor_main' ;;
9208 ifc* | ifort*) # Intel Fortran compiler
9209 tmp_addflag=' -nofor_main' ;;
9210 lf95*) # Lahey Fortran 8.1
9211 whole_archive_flag_spec=
9212 tmp_sharedflag='--shared' ;;
9213 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9214 tmp_sharedflag='-qmkshrobj'
9216 nvcc*) # Cuda Compiler Driver 2.2
9217 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9218 compiler_needs_object=yes
9221 case `$CC -V 2>&1 | sed 5q` in
9222 *Sun\ C*) # Sun C 5.9
9223 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9224 compiler_needs_object=yes
9225 tmp_sharedflag='-G' ;;
9226 *Sun\ F*) # Sun Fortran 8.3
9227 tmp_sharedflag='-G' ;;
9229 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 if test "x$supports_anon_versioning" = xyes; then
9232 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9233 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9234 echo "local: *; };" >> $output_objdir/$libname.ver~
9235 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9238 case $cc_basename in
9239 xlf* | bgf* | bgxlf* | mpixlf*)
9240 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9241 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9243 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9244 if test "x$supports_anon_versioning" = xyes; then
9245 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9247 echo "local: *; };" >> $output_objdir/$libname.ver~
9248 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9257 netbsd* | netbsdelf*-gnu)
9258 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9259 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9262 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9268 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9272 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9273 *** create shared libraries on Solaris systems. Therefore, libtool
9274 *** is disabling shared libraries support. We urge you to upgrade GNU
9275 *** binutils to release 2.9.1 or newer. Another option is to modify
9276 *** your PATH or compiler configuration so that the native linker is
9277 *** used, and then restart.
9280 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9281 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9288 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9289 case `$LD -v 2>&1` in
9290 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9294 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9295 *** reliably create shared libraries on SCO systems. Therefore, libtool
9296 *** is disabling shared libraries support. We urge you to upgrade GNU
9297 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9298 *** your PATH or compiler configuration so that the native linker is
9299 *** used, and then restart.
9304 # For security reasons, it is highly recommended that you always
9305 # use absolute paths for naming shared libraries, and exclude the
9306 # DT_RUNPATH tag from executables and libraries. But doing so
9307 # requires that you compile everything twice, which is a pain.
9308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9309 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9323 hardcode_shlibpath_var=no
9327 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9328 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9336 if test "$ld_shlibs" = no; then
9338 hardcode_libdir_flag_spec=
9339 export_dynamic_flag_spec=
9340 whole_archive_flag_spec=
9343 # PORTME fill in a description of your system's linker (not GNU ld)
9346 allow_undefined_flag=unsupported
9347 always_export_symbols=yes
9348 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'
9349 # Note: this linker hardcodes the directories in LIBPATH if there
9350 # are no directories specified by -L.
9351 hardcode_minus_L=yes
9352 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9353 # Neither direct hardcoding nor static linking is supported with a
9355 hardcode_direct=unsupported
9360 if test "$host_cpu" = ia64; then
9361 # On IA64, the linker does run time linking by default, so we don't
9362 # have to do anything special.
9363 aix_use_runtimelinking=no
9364 exp_sym_flag='-Bexport'
9367 # If we're using GNU nm, then we don't want the "-C" option.
9368 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9369 # Also, AIX nm treats weak defined symbols like other global
9370 # defined symbols, whereas GNU nm marks them as "W".
9371 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9372 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9374 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'
9376 aix_use_runtimelinking=no
9378 # Test if we are trying to use run time linking or normal
9379 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9380 # need to do runtime linking.
9381 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9382 for ld_flag in $LDFLAGS; do
9383 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9384 aix_use_runtimelinking=yes
9391 exp_sym_flag='-bexport'
9392 no_entry_flag='-bnoentry'
9395 # When large executables or shared objects are built, AIX ld can
9396 # have problems creating the table of contents. If linking a library
9397 # or program results in "error TOC overflow" add -mminimal-toc to
9398 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9399 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9403 hardcode_direct_absolute=yes
9404 hardcode_libdir_separator=':'
9405 link_all_deplibs=yes
9406 file_list_spec='${wl}-f,'
9408 if test "$GCC" = yes; then
9409 case $host_os in aix4.[012]|aix4.[012].*)
9410 # We only want to do this on AIX 4.2 and lower, the check
9411 # below for broken collect2 doesn't work under 4.3+
9412 collect2name=`${CC} -print-prog-name=collect2`
9413 if test -f "$collect2name" &&
9414 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9416 # We have reworked collect2
9419 # We have old collect2
9420 hardcode_direct=unsupported
9421 # It fails to find uninstalled libraries when the uninstalled
9422 # path is not listed in the libpath. Setting hardcode_minus_L
9423 # to unsupported forces relinking
9424 hardcode_minus_L=yes
9425 hardcode_libdir_flag_spec='-L$libdir'
9426 hardcode_libdir_separator=
9430 shared_flag='-shared'
9431 if test "$aix_use_runtimelinking" = yes; then
9432 shared_flag="$shared_flag "'${wl}-G'
9437 if test "$host_cpu" = ia64; then
9438 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9439 # chokes on -Wl,-G. The following line is correct:
9442 if test "$aix_use_runtimelinking" = yes; then
9443 shared_flag='${wl}-G'
9445 shared_flag='${wl}-bM:SRE'
9450 export_dynamic_flag_spec='${wl}-bexpall'
9451 # It seems that -bexpall does not export symbols beginning with
9452 # underscore (_), so it is better to generate a list of symbols to export.
9453 always_export_symbols=yes
9454 if test "$aix_use_runtimelinking" = yes; then
9455 # Warning - without using the other runtime loading flags (-brtl),
9456 # -berok will link without error, but may produce a broken library.
9457 allow_undefined_flag='-berok'
9458 # Determine the default libpath from the value encoded in an
9460 if test "${lt_cv_aix_libpath+set}" = set; then
9461 aix_libpath=$lt_cv_aix_libpath
9463 if ${lt_cv_aix_libpath_+:} false; then :
9464 $as_echo_n "(cached) " >&6
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9477 if ac_fn_c_try_link "$LINENO"; then :
9479 lt_aix_libpath_sed='
9480 /Import File Strings/,/^$/ {
9482 s/^0 *\([^ ]*\) *$/\1/
9486 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9487 # Check for a 64-bit object if we didn't find anything.
9488 if test -z "$lt_cv_aix_libpath_"; then
9489 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 if test -z "$lt_cv_aix_libpath_"; then
9495 lt_cv_aix_libpath_="/usr/lib:/lib"
9500 aix_libpath=$lt_cv_aix_libpath_
9503 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9504 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9506 if test "$host_cpu" = ia64; then
9507 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9508 allow_undefined_flag="-z nodefs"
9509 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"
9511 # Determine the default libpath from the value encoded in an
9513 if test "${lt_cv_aix_libpath+set}" = set; then
9514 aix_libpath=$lt_cv_aix_libpath
9516 if ${lt_cv_aix_libpath_+:} false; then :
9517 $as_echo_n "(cached) " >&6
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9530 if ac_fn_c_try_link "$LINENO"; then :
9532 lt_aix_libpath_sed='
9533 /Import File Strings/,/^$/ {
9535 s/^0 *\([^ ]*\) *$/\1/
9539 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540 # Check for a 64-bit object if we didn't find anything.
9541 if test -z "$lt_cv_aix_libpath_"; then
9542 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 if test -z "$lt_cv_aix_libpath_"; then
9548 lt_cv_aix_libpath_="/usr/lib:/lib"
9553 aix_libpath=$lt_cv_aix_libpath_
9556 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9557 # Warning - without using the other run time loading flags,
9558 # -berok will link without error, but may produce a broken library.
9559 no_undefined_flag=' ${wl}-bernotok'
9560 allow_undefined_flag=' ${wl}-berok'
9561 if test "$with_gnu_ld" = yes; then
9562 # We only use this code for GNU lds that support --whole-archive.
9563 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9565 # Exported symbols can be pulled into shared objects from archives
9566 whole_archive_flag_spec='$convenience'
9568 archive_cmds_need_lc=yes
9569 # This is similar to how AIX traditionally builds its shared libraries.
9570 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'
9578 # see comment about AmigaOS4 .so support
9579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9580 archive_expsym_cmds=''
9583 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)'
9584 hardcode_libdir_flag_spec='-L$libdir'
9585 hardcode_minus_L=yes
9591 export_dynamic_flag_spec=-rdynamic
9594 cygwin* | mingw* | pw32* | cegcc*)
9595 # When not using gcc, we currently assume that we are using
9596 # Microsoft Visual C++.
9597 # hardcode_libdir_flag_spec is actually meaningless, as there is
9598 # no search path for DLLs.
9599 case $cc_basename in
9602 hardcode_libdir_flag_spec=' '
9603 allow_undefined_flag=unsupported
9604 always_export_symbols=yes
9606 # Tell ltmain to make .lib files, not .a files.
9608 # Tell ltmain to make .dll files, not .so files.
9610 # FIXME: Setting linknames here is a bad hack.
9611 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9612 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9613 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9615 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9617 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9619 # The linker will not automatically build a static lib if we build a DLL.
9620 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9621 enable_shared_with_static_runtimes=yes
9622 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9623 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9625 old_postinstall_cmds='chmod 644 $oldlib'
9626 postlink_cmds='lt_outputfile="@OUTPUT@"~
9627 lt_tool_outputfile="@TOOL_OUTPUT@"~
9628 case $lt_outputfile in
9631 lt_outputfile="$lt_outputfile.exe"
9632 lt_tool_outputfile="$lt_tool_outputfile.exe"
9635 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9636 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9637 $RM "$lt_outputfile.manifest";
9641 # Assume MSVC wrapper
9642 hardcode_libdir_flag_spec=' '
9643 allow_undefined_flag=unsupported
9644 # Tell ltmain to make .lib files, not .a files.
9646 # Tell ltmain to make .dll files, not .so files.
9648 # FIXME: Setting linknames here is a bad hack.
9649 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9650 # The linker will automatically build a .lib file if we build a DLL.
9651 old_archive_from_new_cmds='true'
9652 # FIXME: Should let the user specify the lib program.
9653 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9654 enable_shared_with_static_runtimes=yes
9659 darwin* | rhapsody*)
9662 archive_cmds_need_lc=no
9664 hardcode_automatic=yes
9665 hardcode_shlibpath_var=unsupported
9666 if test "$lt_cv_ld_force_load" = "yes"; then
9667 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9670 whole_archive_flag_spec=''
9672 link_all_deplibs=yes
9673 allow_undefined_flag="$_lt_dar_allow_undefined"
9674 case $cc_basename in
9675 ifort*) _lt_dar_can_shared=yes ;;
9676 *) _lt_dar_can_shared=$GCC ;;
9678 if test "$_lt_dar_can_shared" = "yes"; then
9679 output_verbose_link_cmd=func_echo_all
9680 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9681 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9682 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}"
9683 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}"
9692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9693 hardcode_libdir_flag_spec='-L$libdir'
9694 hardcode_shlibpath_var=no
9697 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9698 # support. Future versions do this automatically, but an explicit c++rt0.o
9699 # does not break anything, and helps significantly (at the cost of a little
9702 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9703 hardcode_libdir_flag_spec='-R$libdir'
9705 hardcode_shlibpath_var=no
9708 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9710 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9712 hardcode_minus_L=yes
9713 hardcode_shlibpath_var=no
9716 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9717 freebsd* | dragonfly*)
9718 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9719 hardcode_libdir_flag_spec='-R$libdir'
9721 hardcode_shlibpath_var=no
9725 if test "$GCC" = yes; then
9726 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9728 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'
9730 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731 hardcode_libdir_separator=:
9734 # hardcode_minus_L: Not really in the search PATH,
9735 # but as the default location of the library.
9736 hardcode_minus_L=yes
9737 export_dynamic_flag_spec='${wl}-E'
9741 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9742 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9746 if test "$with_gnu_ld" = no; then
9747 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9748 hardcode_libdir_separator=:
9750 hardcode_direct_absolute=yes
9751 export_dynamic_flag_spec='${wl}-E'
9752 # hardcode_minus_L: Not really in the search PATH,
9753 # but as the default location of the library.
9754 hardcode_minus_L=yes
9759 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9762 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9777 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9781 # Older versions of the 11.00 compiler do not understand -b yet
9782 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9784 $as_echo_n "checking if $CC understands -b... " >&6; }
9785 if ${lt_cv_prog_compiler__b+:} false; then :
9786 $as_echo_n "(cached) " >&6
9788 lt_cv_prog_compiler__b=no
9789 save_LDFLAGS="$LDFLAGS"
9790 LDFLAGS="$LDFLAGS -b"
9791 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9792 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9793 # The linker can only warn and ignore the option if not recognized
9794 # So say no if there are warnings
9795 if test -s conftest.err; then
9796 # Append any errors to the config.log.
9797 cat conftest.err 1>&5
9798 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9799 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9800 if diff conftest.exp conftest.er2 >/dev/null; then
9801 lt_cv_prog_compiler__b=yes
9804 lt_cv_prog_compiler__b=yes
9808 LDFLAGS="$save_LDFLAGS"
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9812 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9814 if test x"$lt_cv_prog_compiler__b" = xyes; then
9815 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9823 if test "$with_gnu_ld" = no; then
9824 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9825 hardcode_libdir_separator=:
9830 hardcode_shlibpath_var=no
9834 hardcode_direct_absolute=yes
9835 export_dynamic_flag_spec='${wl}-E'
9837 # hardcode_minus_L: Not really in the search PATH,
9838 # but as the default location of the library.
9839 hardcode_minus_L=yes
9845 irix5* | irix6* | nonstopux*)
9846 if test "$GCC" = yes; then
9847 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9848 # Try to use the -exported_symbol ld option, if it does not
9849 # work, assume that -exports_file does not work either and
9850 # implicitly export all symbols.
9851 # This should be the same for all languages, so no per-tag cache variable.
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9853 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9854 if ${lt_cv_irix_exported_symbol+:} false; then :
9855 $as_echo_n "(cached) " >&6
9857 save_LDFLAGS="$LDFLAGS"
9858 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9861 int foo (void) { return 0; }
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 lt_cv_irix_exported_symbol=yes
9866 lt_cv_irix_exported_symbol=no
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 LDFLAGS="$save_LDFLAGS"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9873 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9874 if test "$lt_cv_irix_exported_symbol" = yes; then
9875 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9878 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9879 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9881 archive_cmds_need_lc='no'
9882 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9883 hardcode_libdir_separator=:
9885 link_all_deplibs=yes
9888 netbsd* | netbsdelf*-gnu)
9889 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9890 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9892 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9894 hardcode_libdir_flag_spec='-R$libdir'
9896 hardcode_shlibpath_var=no
9900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9903 hardcode_libdir_separator=:
9904 hardcode_shlibpath_var=no
9911 if test -f /usr/libexec/ld.so; then
9913 hardcode_shlibpath_var=no
9914 hardcode_direct_absolute=yes
9915 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9916 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9918 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9919 export_dynamic_flag_spec='${wl}-E'
9922 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9923 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9924 hardcode_libdir_flag_spec='-R$libdir'
9927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9928 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9938 hardcode_libdir_flag_spec='-L$libdir'
9939 hardcode_minus_L=yes
9940 allow_undefined_flag=unsupported
9941 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'
9942 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9950 allow_undefined_flag=' -expect_unresolved \*'
9951 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9953 archive_cmds_need_lc='no'
9954 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9955 hardcode_libdir_separator=:
9958 osf4* | osf5*) # as osf3* with the addition of -msym flag
9959 if test "$GCC" = yes; then
9960 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9961 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9962 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9964 allow_undefined_flag=' -expect_unresolved \*'
9965 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9966 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~
9967 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9969 # Both c and cxx compiler support -rpath directly
9970 hardcode_libdir_flag_spec='-rpath $libdir'
9972 archive_cmds_need_lc='no'
9973 hardcode_libdir_separator=:
9977 no_undefined_flag=' -z defs'
9978 if test "$GCC" = yes; then
9980 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 case `$CC -V 2>&1` in
9987 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9988 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9989 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9993 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9994 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9995 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9999 hardcode_libdir_flag_spec='-R$libdir'
10000 hardcode_shlibpath_var=no
10002 solaris2.[0-5] | solaris2.[0-5].*) ;;
10004 # The compiler driver will combine and reorder linker options,
10005 # but understands `-z linker_flag'. GCC discards it without `$wl',
10006 # but is careful enough not to reorder.
10007 # Supported since Solaris 2.6 (maybe 2.5.1?)
10008 if test "$GCC" = yes; then
10009 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10011 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10015 link_all_deplibs=yes
10019 if test "x$host_vendor" = xsequent; then
10020 # Use $CC to link under sequent, because it throws in some extra .o
10021 # files that make .init and .fini sections work.
10022 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_libdir_flag_spec='-L$libdir'
10027 hardcode_direct=yes
10028 hardcode_minus_L=yes
10029 hardcode_shlibpath_var=no
10033 case $host_vendor in
10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_direct=yes # is this really true???
10039 ## LD is ld it makes a PLAMLIB
10040 ## CC just makes a GrossModule.
10041 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10042 reload_cmds='$CC -r -o $output$reload_objs'
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10050 runpath_var='LD_RUN_PATH'
10051 hardcode_shlibpath_var=no
10055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10056 hardcode_shlibpath_var=no
10057 export_dynamic_flag_spec='-Bexport'
10061 if test -d /usr/nec; then
10062 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10063 hardcode_shlibpath_var=no
10064 runpath_var=LD_RUN_PATH
10065 hardcode_runpath_var=yes
10070 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10071 no_undefined_flag='${wl}-z,text'
10072 archive_cmds_need_lc=no
10073 hardcode_shlibpath_var=no
10074 runpath_var='LD_RUN_PATH'
10076 if test "$GCC" = yes; then
10077 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 sysv5* | sco3.2v5* | sco5v6*)
10086 # Note: We can NOT use -z defs as we might desire, because we do not
10087 # link with -lc, and that would cause any symbols used from libc to
10088 # always be unresolved, which means just about no library would
10089 # ever link correctly. If we're not using GNU ld we use -z text
10090 # though, which does catch some bad symbols but isn't as heavy-handed
10092 no_undefined_flag='${wl}-z,text'
10093 allow_undefined_flag='${wl}-z,nodefs'
10094 archive_cmds_need_lc=no
10095 hardcode_shlibpath_var=no
10096 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10097 hardcode_libdir_separator=':'
10098 link_all_deplibs=yes
10099 export_dynamic_flag_spec='${wl}-Bexport'
10100 runpath_var='LD_RUN_PATH'
10102 if test "$GCC" = yes; then
10103 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10113 hardcode_libdir_flag_spec='-L$libdir'
10114 hardcode_shlibpath_var=no
10122 if test x$host_vendor = xsni; then
10124 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10125 export_dynamic_flag_spec='${wl}-Blargedynsym'
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10132 $as_echo "$ld_shlibs" >&6; }
10133 test "$ld_shlibs" = no && can_build_shared=no
10135 with_gnu_ld=$with_gnu_ld
10152 # Do we need to explicitly link libc?
10154 case "x$archive_cmds_need_lc" in
10156 # Assume -lc should be added
10157 archive_cmds_need_lc=yes
10159 if test "$enable_shared" = yes && test "$GCC" = yes; then
10160 case $archive_cmds in
10162 # FIXME: we may have to deal with multi-command sequences.
10165 # Test whether the compiler implicitly links with -lc since on some
10166 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10167 # to ld, don't add -lc before -lgcc.
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10169 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10170 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10171 $as_echo_n "(cached) " >&6
10174 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10177 (eval $ac_compile) 2>&5
10179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10180 test $ac_status = 0; } 2>conftest.err; then
10183 libobjs=conftest.$ac_objext
10185 wl=$lt_prog_compiler_wl
10186 pic_flag=$lt_prog_compiler_pic
10192 lt_save_allow_undefined_flag=$allow_undefined_flag
10193 allow_undefined_flag=
10194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10195 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10198 test $ac_status = 0; }
10200 lt_cv_archive_cmds_need_lc=no
10202 lt_cv_archive_cmds_need_lc=yes
10204 allow_undefined_flag=$lt_save_allow_undefined_flag
10206 cat conftest.err 1>&5
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10212 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10213 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10372 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10374 if test "$GCC" = yes; then
10376 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10377 *) lt_awk_arg="/^libraries:/" ;;
10380 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10381 *) lt_sed_strip_eq="s,=/,/,g" ;;
10383 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10384 case $lt_search_path_spec in
10386 # if the path contains ";" then we assume it to be the separator
10387 # otherwise default to the standard path separator (i.e. ":") - it is
10388 # assumed that no part of a normal pathname contains ";" but that should
10389 # okay in the real world where ";" in dirpaths is itself problematic.
10390 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10393 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10396 # Ok, now we have the path, separated by spaces, we can step through it
10397 # and add multilib dir if necessary.
10398 lt_tmp_lt_search_path_spec=
10399 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10400 for lt_sys_path in $lt_search_path_spec; do
10401 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10402 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10404 test -d "$lt_sys_path" && \
10405 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10408 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10409 BEGIN {RS=" "; FS="/|\n";} {
10412 for (lt_i = NF; lt_i > 0; lt_i--) {
10413 if ($lt_i != "" && $lt_i != ".") {
10414 if ($lt_i == "..") {
10417 if (lt_count == 0) {
10418 lt_foo="/" $lt_i lt_foo;
10425 if (lt_foo != "") { lt_freq[lt_foo]++; }
10426 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10428 # AWK program above erroneously prepends '/' to C:/dos/paths
10431 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10432 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10434 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10436 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10438 library_names_spec=
10439 libname_spec='lib$name'
10443 postuninstall_cmds=
10447 shlibpath_overrides_runpath=unknown
10449 dynamic_linker="$host_os ld.so"
10450 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10451 need_lib_prefix=unknown
10452 hardcode_into_libs=no
10454 # when you set need_version to no, make sure it does not cause -set_version
10455 # flags to be left without arguments
10456 need_version=unknown
10460 version_type=linux # correct to gnu/linux during the next big refactor
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10462 shlibpath_var=LIBPATH
10464 # AIX 3 has no versioning support, so we append a major version to the name.
10465 soname_spec='${libname}${release}${shared_ext}$major'
10469 version_type=linux # correct to gnu/linux during the next big refactor
10472 hardcode_into_libs=yes
10473 if test "$host_cpu" = ia64; then
10474 # AIX 5 supports IA64
10475 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10476 shlibpath_var=LD_LIBRARY_PATH
10478 # With GCC up to 2.95.x, collect2 would create an import file
10479 # for dependence libraries. The import file would start with
10480 # the line `#! .'. This would cause the generated library to
10481 # depend on `.', always an invalid library. This was fixed in
10482 # development snapshots of GCC prior to 3.0.
10484 aix4 | aix4.[01] | aix4.[01].*)
10485 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10487 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10490 can_build_shared=no
10494 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10495 # soname into executable. Probably we can add versioning support to
10496 # collect2, so additional links can be useful in future.
10497 if test "$aix_use_runtimelinking" = yes; then
10498 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10499 # instead of lib<name>.a to let people know that these are not
10500 # typical AIX shared libraries.
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 # We preserve .a as extension for shared libraries through AIX4.2
10504 # and later when we are not doing run time linking.
10505 library_names_spec='${libname}${release}.a $libname.a'
10506 soname_spec='${libname}${release}${shared_ext}$major'
10508 shlibpath_var=LIBPATH
10515 # Since July 2007 AmigaOS4 officially supports .so libraries.
10516 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 library_names_spec='$libname.ixlibrary $libname.a'
10521 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10522 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10528 library_names_spec='${libname}${shared_ext}'
10529 dynamic_linker="$host_os ld.so"
10530 shlibpath_var=LIBRARY_PATH
10534 version_type=linux # correct to gnu/linux during the next big refactor
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 soname_spec='${libname}${release}${shared_ext}$major'
10538 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10539 shlibpath_var=LD_LIBRARY_PATH
10540 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10541 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10542 # the default ld.so.conf also contains /usr/contrib/lib and
10543 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10544 # libtool to hard-code these into programs
10547 cygwin* | mingw* | pw32* | cegcc*)
10548 version_type=windows
10553 case $GCC,$cc_basename in
10556 library_names_spec='$libname.dll.a'
10557 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10558 postinstall_cmds='base_file=`basename \${file}`~
10559 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10560 dldir=$destdir/`dirname \$dlpath`~
10561 test -d \$dldir || mkdir -p \$dldir~
10562 $install_prog $dir/$dlname \$dldir/$dlname~
10563 chmod a+x \$dldir/$dlname~
10564 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10565 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10567 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10568 dlpath=$dir/\$dldll~
10570 shlibpath_overrides_runpath=yes
10574 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10575 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10580 # MinGW DLLs use traditional 'lib' prefix
10581 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584 # pw32 DLLs use 'pw' prefix rather than 'lib'
10585 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10588 dynamic_linker='Win32 ld.exe'
10593 libname_spec='$name'
10594 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10595 library_names_spec='${libname}.dll.lib'
10599 sys_lib_search_path_spec=
10602 for lt_path in $LIB
10605 # Let DOS variable expansion print the short 8.3 style file name.
10606 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10607 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10610 # Convert to MSYS style.
10611 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10614 # Convert to unix form, then to dos form, then back to unix form
10615 # but this time dos style (no spaces!) so that the unix form looks
10616 # like /cygdrive/c/PROGRA~1:/cygdr...
10617 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10618 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10619 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10622 sys_lib_search_path_spec="$LIB"
10623 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10624 # It is most probably a Windows format PATH.
10625 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10627 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10629 # FIXME: find the short name or the path components, as spaces are
10630 # common. (e.g. "Program Files" -> "PROGRA~1")
10634 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10635 postinstall_cmds='base_file=`basename \${file}`~
10636 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10637 dldir=$destdir/`dirname \$dlpath`~
10638 test -d \$dldir || mkdir -p \$dldir~
10639 $install_prog $dir/$dlname \$dldir/$dlname'
10640 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10641 dlpath=$dir/\$dldll~
10643 shlibpath_overrides_runpath=yes
10644 dynamic_linker='Win32 link.exe'
10648 # Assume MSVC wrapper
10649 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10650 dynamic_linker='Win32 ld.exe'
10653 # FIXME: first we should search . and the directory the executable is in
10657 darwin* | rhapsody*)
10658 dynamic_linker="$host_os dyld"
10659 version_type=darwin
10662 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10663 soname_spec='${libname}${release}${major}$shared_ext'
10664 shlibpath_overrides_runpath=yes
10665 shlibpath_var=DYLD_LIBRARY_PATH
10666 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10668 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10669 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10673 version_type=linux # correct to gnu/linux during the next big refactor
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10677 soname_spec='${libname}${release}${shared_ext}$major'
10678 shlibpath_var=LD_LIBRARY_PATH
10681 freebsd* | dragonfly*)
10682 # DragonFly does not have aout. When/if they implement a new
10683 # versioning mechanism, adjust this.
10684 if test -x /usr/bin/objformat; then
10685 objformat=`/usr/bin/objformat`
10688 freebsd[23].*) objformat=aout ;;
10689 *) objformat=elf ;;
10692 version_type=freebsd-$objformat
10693 case $version_type in
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10704 shlibpath_var=LD_LIBRARY_PATH
10707 shlibpath_overrides_runpath=yes
10709 freebsd3.[01]* | freebsdelf3.[01]*)
10710 shlibpath_overrides_runpath=yes
10711 hardcode_into_libs=yes
10713 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10714 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10715 shlibpath_overrides_runpath=no
10716 hardcode_into_libs=yes
10718 *) # from 4.6 on, and DragonFly
10719 shlibpath_overrides_runpath=yes
10720 hardcode_into_libs=yes
10726 version_type=linux # correct to gnu/linux during the next big refactor
10729 dynamic_linker="$host_os runtime_loader"
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 shlibpath_var=LIBRARY_PATH
10733 shlibpath_overrides_runpath=yes
10734 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10735 hardcode_into_libs=yes
10738 hpux9* | hpux10* | hpux11*)
10739 # Give a soname corresponding to the major version so that dld.sl refuses to
10740 # link against other versions.
10747 hardcode_into_libs=yes
10748 dynamic_linker="$host_os dld.so"
10749 shlibpath_var=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 if test "X$HPUX_IA64_MODE" = X32; then
10754 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10756 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10758 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10762 hardcode_into_libs=yes
10763 dynamic_linker="$host_os dld.sl"
10764 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10765 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10767 soname_spec='${libname}${release}${shared_ext}$major'
10768 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10769 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10773 dynamic_linker="$host_os dld.sl"
10774 shlibpath_var=SHLIB_PATH
10775 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10780 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10781 postinstall_cmds='chmod 555 $lib'
10782 # or fails outright, so override atomically:
10783 install_override_mode=555
10787 version_type=linux # correct to gnu/linux during the next big refactor
10790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10793 shlibpath_var=LD_LIBRARY_PATH
10794 shlibpath_overrides_runpath=no
10795 hardcode_into_libs=yes
10798 irix5* | irix6* | nonstopux*)
10800 nonstopux*) version_type=nonstopux ;;
10802 if test "$lt_cv_prog_gnu_ld" = yes; then
10803 version_type=linux # correct to gnu/linux during the next big refactor
10810 soname_spec='${libname}${release}${shared_ext}$major'
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10813 irix5* | nonstopux*)
10814 libsuff= shlibsuff=
10817 case $LD in # libtool.m4 will add one of these switches to LD
10818 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10819 libsuff= shlibsuff= libmagic=32-bit;;
10820 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10821 libsuff=32 shlibsuff=N32 libmagic=N32;;
10822 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10823 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10824 *) libsuff= shlibsuff= libmagic=never-match;;
10828 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10829 shlibpath_overrides_runpath=no
10830 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10831 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10832 hardcode_into_libs=yes
10835 # No shared lib support for Linux oldld, aout, or coff.
10836 linux*oldld* | linux*aout* | linux*coff*)
10840 # This must be glibc/ELF.
10841 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10842 version_type=linux # correct to gnu/linux during the next big refactor
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846 soname_spec='${libname}${release}${shared_ext}$major'
10847 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 shlibpath_overrides_runpath=no
10851 # Some binutils ld are patched to set DT_RUNPATH
10852 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10853 $as_echo_n "(cached) " >&6
10855 lt_cv_shlibpath_overrides_runpath=no
10856 save_LDFLAGS=$LDFLAGS
10857 save_libdir=$libdir
10858 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10859 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10871 if ac_fn_c_try_link "$LINENO"; then :
10872 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10873 lt_cv_shlibpath_overrides_runpath=yes
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LDFLAGS=$save_LDFLAGS
10879 libdir=$save_libdir
10883 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10885 # This implies no fast_install, which is unacceptable.
10886 # Some rework will be needed to allow for fast_install
10887 # before this can be enabled.
10888 hardcode_into_libs=yes
10890 # Append ld.so.conf contents to the search path
10891 if test -f /etc/ld.so.conf; then
10892 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10893 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10896 # We used to test for /lib/ld.so.1 and disable shared libraries on
10897 # powerpc, because MkLinux only supported shared libraries with the
10898 # GNU dynamic linker. Since this was broken with cross compilers,
10899 # most powerpc-linux boxes support dynamic linking these days and
10900 # people can always --disable-shared, the test was removed, and we
10901 # assume the GNU/Linux dynamic linker is in use.
10902 dynamic_linker='GNU/Linux ld.so'
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=no
10913 hardcode_into_libs=yes
10914 dynamic_linker='NetBSD ld.elf_so'
10921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 dynamic_linker='NetBSD (a.out) ld.so'
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 dynamic_linker='NetBSD ld.elf_so'
10930 shlibpath_var=LD_LIBRARY_PATH
10931 shlibpath_overrides_runpath=yes
10932 hardcode_into_libs=yes
10936 version_type=linux # correct to gnu/linux during the next big refactor
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 shlibpath_var=LD_LIBRARY_PATH
10939 shlibpath_overrides_runpath=yes
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947 soname_spec='${libname}${release}${shared_ext}$major'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=no
10950 hardcode_into_libs=yes
10951 dynamic_linker='ldqnx.so'
10956 sys_lib_dlsearch_path_spec="/usr/lib"
10958 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10960 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10961 *) need_version=no ;;
10963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10964 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10965 shlibpath_var=LD_LIBRARY_PATH
10966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10968 openbsd2.[89] | openbsd2.[89].*)
10969 shlibpath_overrides_runpath=no
10972 shlibpath_overrides_runpath=yes
10976 shlibpath_overrides_runpath=yes
10981 libname_spec='$name'
10984 library_names_spec='$libname${shared_ext} $libname.a'
10985 dynamic_linker='OS/2 ld.exe'
10986 shlibpath_var=LIBPATH
10989 osf3* | osf4* | osf5*)
10993 soname_spec='${libname}${release}${shared_ext}$major'
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10997 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11005 version_type=linux # correct to gnu/linux during the next big refactor
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=yes
11012 hardcode_into_libs=yes
11013 # ldd complains unless libraries are executable
11014 postinstall_cmds='chmod +x $lib'
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11020 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath=yes
11023 if test "$with_gnu_ld" = yes; then
11030 version_type=linux # correct to gnu/linux during the next big refactor
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11034 case $host_vendor in
11036 shlibpath_overrides_runpath=no
11038 runpath_var=LD_RUN_PATH
11046 shlibpath_overrides_runpath=no
11047 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11053 if test -d /usr/nec ;then
11054 version_type=linux # correct to gnu/linux during the next big refactor
11055 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11056 soname_spec='$libname${shared_ext}.$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11061 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11062 version_type=freebsd-elf
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11066 soname_spec='${libname}${release}${shared_ext}$major'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath=yes
11069 hardcode_into_libs=yes
11070 if test "$with_gnu_ld" = yes; then
11071 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11073 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11076 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11080 sys_lib_dlsearch_path_spec='/usr/lib'
11084 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11085 version_type=linux # correct to gnu/linux during the next big refactor
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 shlibpath_var=LD_LIBRARY_PATH
11090 shlibpath_overrides_runpath=no
11091 hardcode_into_libs=yes
11095 version_type=linux # correct to gnu/linux during the next big refactor
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 soname_spec='${libname}${release}${shared_ext}$major'
11098 shlibpath_var=LD_LIBRARY_PATH
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11106 $as_echo "$dynamic_linker" >&6; }
11107 test "$dynamic_linker" = no && can_build_shared=no
11109 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11110 if test "$GCC" = yes; then
11111 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11114 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11115 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11117 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11118 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11213 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11215 if test -n "$hardcode_libdir_flag_spec" ||
11216 test -n "$runpath_var" ||
11217 test "X$hardcode_automatic" = "Xyes" ; then
11219 # We can hardcode non-existent directories.
11220 if test "$hardcode_direct" != no &&
11221 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11222 # have to relink, otherwise we might link with an installed library
11223 # when we should be linking with a yet-to-be-installed one
11224 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11225 test "$hardcode_minus_L" != no; then
11226 # Linking always hardcodes the temporary library directory.
11227 hardcode_action=relink
11229 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11230 hardcode_action=immediate
11233 # We cannot hardcode anything, or else we can only hardcode existing
11235 hardcode_action=unsupported
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11238 $as_echo "$hardcode_action" >&6; }
11240 if test "$hardcode_action" = relink ||
11241 test "$inherit_rpath" = yes; then
11242 # Fast installation is not supported
11243 enable_fast_install=no
11244 elif test "$shlibpath_overrides_runpath" = yes ||
11245 test "$enable_shared" = no; then
11246 # Fast installation is not necessary
11247 enable_fast_install=needless
11255 if test "x$enable_dlopen" != xyes; then
11256 enable_dlopen=unknown
11257 enable_dlopen_self=unknown
11258 enable_dlopen_self_static=unknown
11265 lt_cv_dlopen="load_add_on"
11267 lt_cv_dlopen_self=yes
11270 mingw* | pw32* | cegcc*)
11271 lt_cv_dlopen="LoadLibrary"
11276 lt_cv_dlopen="dlopen"
11281 # if libdl is installed we need to link against it
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11283 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11284 if ${ac_cv_lib_dl_dlopen+:} false; then :
11285 $as_echo_n "(cached) " >&6
11287 ac_check_lib_save_LIBS=$LIBS
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 ac_cv_lib_dl_dlopen=yes
11310 ac_cv_lib_dl_dlopen=no
11312 rm -f core conftest.err conftest.$ac_objext \
11313 conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11317 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11318 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11319 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11322 lt_cv_dlopen="dyld"
11324 lt_cv_dlopen_self=yes
11331 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11332 if test "x$ac_cv_func_shl_load" = xyes; then :
11333 lt_cv_dlopen="shl_load"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11336 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11337 if ${ac_cv_lib_dld_shl_load+:} false; then :
11338 $as_echo_n "(cached) " >&6
11340 ac_check_lib_save_LIBS=$LIBS
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11355 return shl_load ();
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_dld_shl_load=yes
11363 ac_cv_lib_dld_shl_load=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11370 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11371 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11372 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11374 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11375 if test "x$ac_cv_func_dlopen" = xyes; then :
11376 lt_cv_dlopen="dlopen"
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11379 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11380 if ${ac_cv_lib_dl_dlopen+:} false; then :
11381 $as_echo_n "(cached) " >&6
11383 ac_check_lib_save_LIBS=$LIBS
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 ac_cv_lib_dl_dlopen=yes
11406 ac_cv_lib_dl_dlopen=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11413 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11414 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11415 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11418 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11419 if ${ac_cv_lib_svld_dlopen+:} false; then :
11420 $as_echo_n "(cached) " >&6
11422 ac_check_lib_save_LIBS=$LIBS
11423 LIBS="-lsvld $LIBS"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 ac_cv_lib_svld_dlopen=yes
11445 ac_cv_lib_svld_dlopen=no
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_lib_save_LIBS
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11452 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11453 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11454 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11457 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11458 if ${ac_cv_lib_dld_dld_link+:} false; then :
11459 $as_echo_n "(cached) " >&6
11461 ac_check_lib_save_LIBS=$LIBS
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11476 return dld_link ();
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 ac_cv_lib_dld_dld_link=yes
11484 ac_cv_lib_dld_dld_link=no
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_lib_save_LIBS
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11491 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11492 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11493 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11514 if test "x$lt_cv_dlopen" != xno; then
11520 case $lt_cv_dlopen in
11522 save_CPPFLAGS="$CPPFLAGS"
11523 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11525 save_LDFLAGS="$LDFLAGS"
11526 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11529 LIBS="$lt_cv_dlopen_libs $LIBS"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11532 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11533 if ${lt_cv_dlopen_self+:} false; then :
11534 $as_echo_n "(cached) " >&6
11536 if test "$cross_compiling" = yes; then :
11537 lt_cv_dlopen_self=cross
11539 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11540 lt_status=$lt_dlunknown
11541 cat > conftest.$ac_ext <<_LT_EOF
11542 #line $LINENO "configure"
11543 #include "confdefs.h"
11552 # define LT_DLGLOBAL RTLD_GLOBAL
11555 # define LT_DLGLOBAL DL_GLOBAL
11557 # define LT_DLGLOBAL 0
11561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11562 find out it does not work in some platform. */
11563 #ifndef LT_DLLAZY_OR_NOW
11565 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11568 # define LT_DLLAZY_OR_NOW DL_LAZY
11571 # define LT_DLLAZY_OR_NOW RTLD_NOW
11574 # define LT_DLLAZY_OR_NOW DL_NOW
11576 # define LT_DLLAZY_OR_NOW 0
11583 /* When -fvisbility=hidden is used, assume the code has been annotated
11584 correspondingly for the symbols needed. */
11585 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11586 int fnord () __attribute__((visibility("default")));
11589 int fnord () { return 42; }
11592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593 int status = $lt_dlunknown;
11597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11600 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11601 else puts (dlerror ());
11603 /* dlclose (self); */
11611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11612 (eval $ac_link) 2>&5
11614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11616 (./conftest; exit; ) >&5 2>/dev/null
11618 case x$lt_status in
11619 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11620 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11621 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11624 # compilation failed
11625 lt_cv_dlopen_self=no
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11633 $as_echo "$lt_cv_dlopen_self" >&6; }
11635 if test "x$lt_cv_dlopen_self" = xyes; then
11636 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11638 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11639 if ${lt_cv_dlopen_self_static+:} false; then :
11640 $as_echo_n "(cached) " >&6
11642 if test "$cross_compiling" = yes; then :
11643 lt_cv_dlopen_self_static=cross
11645 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11646 lt_status=$lt_dlunknown
11647 cat > conftest.$ac_ext <<_LT_EOF
11648 #line $LINENO "configure"
11649 #include "confdefs.h"
11658 # define LT_DLGLOBAL RTLD_GLOBAL
11661 # define LT_DLGLOBAL DL_GLOBAL
11663 # define LT_DLGLOBAL 0
11667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11668 find out it does not work in some platform. */
11669 #ifndef LT_DLLAZY_OR_NOW
11671 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11674 # define LT_DLLAZY_OR_NOW DL_LAZY
11677 # define LT_DLLAZY_OR_NOW RTLD_NOW
11680 # define LT_DLLAZY_OR_NOW DL_NOW
11682 # define LT_DLLAZY_OR_NOW 0
11689 /* When -fvisbility=hidden is used, assume the code has been annotated
11690 correspondingly for the symbols needed. */
11691 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11692 int fnord () __attribute__((visibility("default")));
11695 int fnord () { return 42; }
11698 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11699 int status = $lt_dlunknown;
11703 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11706 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11707 else puts (dlerror ());
11709 /* dlclose (self); */
11717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11718 (eval $ac_link) 2>&5
11720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11721 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11722 (./conftest; exit; ) >&5 2>/dev/null
11724 case x$lt_status in
11725 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11726 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11727 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11730 # compilation failed
11731 lt_cv_dlopen_self_static=no
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11739 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11742 CPPFLAGS="$save_CPPFLAGS"
11743 LDFLAGS="$save_LDFLAGS"
11748 case $lt_cv_dlopen_self in
11749 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11750 *) enable_dlopen_self=unknown ;;
11753 case $lt_cv_dlopen_self_static in
11754 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11755 *) enable_dlopen_self_static=unknown ;;
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11778 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11779 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11780 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11781 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11783 $as_echo "yes" >&6; }
11785 # FIXME - insert some real tests, host_os isn't really good enough
11788 if test -n "$STRIP" ; then
11789 striplib="$STRIP -x"
11790 old_striplib="$STRIP -S"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11792 $as_echo "yes" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11816 # Report which library types will actually be built
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11818 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11820 $as_echo "$can_build_shared" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11823 $as_echo_n "checking whether to build shared libraries... " >&6; }
11824 test "$can_build_shared" = "no" && enable_shared=no
11826 # On AIX, shared libraries and static libraries use the same namespace, and
11827 # are all built from PIC.
11830 test "$enable_shared" = yes && enable_static=no
11831 if test -n "$RANLIB"; then
11832 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11833 postinstall_cmds='$RANLIB $lib'
11838 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11839 test "$enable_shared" = yes && enable_static=no
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11844 $as_echo "$enable_shared" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11847 $as_echo_n "checking whether to build static libraries... " >&6; }
11848 # Make sure either enable_shared or enable_static is yes.
11849 test "$enable_shared" = yes || enable_static=yes
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11851 $as_echo "$enable_static" >&6; }
11858 ac_cpp='$CPP $CPPFLAGS'
11859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11879 ac_config_commands="$ac_config_commands libtool"
11884 # Only expand once:
11888 # Checks for libraries.
11896 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11897 if test -n "$ac_tool_prefix"; then
11898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11901 $as_echo_n "checking for $ac_word... " >&6; }
11902 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11903 $as_echo_n "(cached) " >&6
11905 case $PKG_CONFIG in
11907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11911 for as_dir in $PATH
11914 test -z "$as_dir" && as_dir=.
11915 for ac_exec_ext in '' $ac_executable_extensions; do
11916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11929 if test -n "$PKG_CONFIG"; then
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11931 $as_echo "$PKG_CONFIG" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 $as_echo "no" >&6; }
11939 if test -z "$ac_cv_path_PKG_CONFIG"; then
11940 ac_pt_PKG_CONFIG=$PKG_CONFIG
11941 # Extract the first word of "pkg-config", so it can be a program name with args.
11942 set dummy pkg-config; ac_word=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11944 $as_echo_n "checking for $ac_word... " >&6; }
11945 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11946 $as_echo_n "(cached) " >&6
11948 case $ac_pt_PKG_CONFIG in
11950 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11954 for as_dir in $PATH
11957 test -z "$as_dir" && as_dir=.
11958 for ac_exec_ext in '' $ac_executable_extensions; do
11959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11960 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11971 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11972 if test -n "$ac_pt_PKG_CONFIG"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11974 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11980 if test "x$ac_pt_PKG_CONFIG" = x; then
11983 case $cross_compiling:$ac_tool_warned in
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11987 ac_tool_warned=yes ;;
11989 PKG_CONFIG=$ac_pt_PKG_CONFIG
11992 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11996 if test -n "$PKG_CONFIG"; then
11997 _pkg_min_version=0.9.0
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11999 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12000 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12002 $as_echo "yes" >&6; }
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12005 $as_echo "no" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12012 $as_echo_n "checking for GLIB... " >&6; }
12014 if test -n "$GLIB_CFLAGS"; then
12015 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12016 elif test -n "$PKG_CONFIG"; then
12017 if test -n "$PKG_CONFIG" && \
12018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12021 gmodule-2.0\""; } >&5
12022 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12028 test $ac_status = 0; }; then
12029 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12032 gmodule-2.0" 2>/dev/null`
12033 test "x$?" != "x0" && pkg_failed=yes
12040 if test -n "$GLIB_LIBS"; then
12041 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12042 elif test -n "$PKG_CONFIG"; then
12043 if test -n "$PKG_CONFIG" && \
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12047 gmodule-2.0\""; } >&5
12048 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12054 test $ac_status = 0; }; then
12055 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12058 gmodule-2.0" 2>/dev/null`
12059 test "x$?" != "x0" && pkg_failed=yes
12069 if test $pkg_failed = yes; then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12071 $as_echo "no" >&6; }
12073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12074 _pkg_short_errors_supported=yes
12076 _pkg_short_errors_supported=no
12078 if test $_pkg_short_errors_supported = yes; then
12079 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12084 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12089 # Put the nasty error message in config.log where it belongs
12090 echo "$GLIB_PKG_ERRORS" >&5
12092 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12095 gmodule-2.0) were not met:
12099 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12100 installed software in a non-standard prefix.
12102 Alternatively, you may set the environment variables GLIB_CFLAGS
12103 and GLIB_LIBS to avoid the need to call pkg-config.
12104 See the pkg-config man page for more details." "$LINENO" 5
12105 elif test $pkg_failed = untried; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12107 $as_echo "no" >&6; }
12108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12110 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12111 is in your PATH or set the PKG_CONFIG environment variable to the full
12112 path to pkg-config.
12114 Alternatively, you may set the environment variables GLIB_CFLAGS
12115 and GLIB_LIBS to avoid the need to call pkg-config.
12116 See the pkg-config man page for more details.
12118 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12119 See \`config.log' for more details" "$LINENO" 5; }
12121 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12122 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12124 $as_echo "yes" >&6; }
12129 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12130 set dummy glib-mkenums; ac_word=$2
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12132 $as_echo_n "checking for $ac_word... " >&6; }
12133 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12134 $as_echo_n "(cached) " >&6
12136 case $GLIB_MKENUMS in
12138 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12159 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12160 if test -n "$GLIB_MKENUMS"; then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12162 $as_echo "$GLIB_MKENUMS" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12165 $as_echo "no" >&6; }
12170 # Checks for libtlm-nfc
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
12174 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
12176 if test -n "$LIBTLM_NFC_CFLAGS"; then
12177 pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
12178 elif test -n "$PKG_CONFIG"; then
12179 if test -n "$PKG_CONFIG" && \
12180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12181 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12184 test $ac_status = 0; }; then
12185 pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
12186 test "x$?" != "x0" && pkg_failed=yes
12193 if test -n "$LIBTLM_NFC_LIBS"; then
12194 pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
12195 elif test -n "$PKG_CONFIG"; then
12196 if test -n "$PKG_CONFIG" && \
12197 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12198 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12201 test $ac_status = 0; }; then
12202 pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
12203 test "x$?" != "x0" && pkg_failed=yes
12213 if test $pkg_failed = yes; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12217 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12218 _pkg_short_errors_supported=yes
12220 _pkg_short_errors_supported=no
12222 if test $_pkg_short_errors_supported = yes; then
12223 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12225 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12227 # Put the nasty error message in config.log where it belongs
12228 echo "$LIBTLM_NFC_PKG_ERRORS" >&5
12231 elif test $pkg_failed = untried; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12236 LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
12237 LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12239 $as_echo "yes" >&6; }
12240 have_libtlm_nfc=yes
12242 if test x$have_libtlm_nfc = xyes; then
12243 HAVE_LIBTLM_NFC_TRUE=
12244 HAVE_LIBTLM_NFC_FALSE='#'
12246 HAVE_LIBTLM_NFC_TRUE='#'
12247 HAVE_LIBTLM_NFC_FALSE=
12250 if test "x$have_libtlm_nfc" = xyes; then
12252 $as_echo "#define HAVE_LIBTLM_NFC 1" >>confdefs.h
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12260 $as_echo_n "checking for CHECK... " >&6; }
12262 if test -n "$CHECK_CFLAGS"; then
12263 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12264 elif test -n "$PKG_CONFIG"; then
12265 if test -n "$PKG_CONFIG" && \
12266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12267 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12270 test $ac_status = 0; }; then
12271 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12272 test "x$?" != "x0" && pkg_failed=yes
12279 if test -n "$CHECK_LIBS"; then
12280 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12281 elif test -n "$PKG_CONFIG"; then
12282 if test -n "$PKG_CONFIG" && \
12283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12284 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12287 test $ac_status = 0; }; then
12288 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12289 test "x$?" != "x0" && pkg_failed=yes
12299 if test $pkg_failed = yes; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12301 $as_echo "no" >&6; }
12303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12304 _pkg_short_errors_supported=yes
12306 _pkg_short_errors_supported=no
12308 if test $_pkg_short_errors_supported = yes; then
12309 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12311 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12313 # Put the nasty error message in config.log where it belongs
12314 echo "$CHECK_PKG_ERRORS" >&5
12317 elif test $pkg_failed = untried; then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12322 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12323 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12325 $as_echo "yes" >&6; }
12331 for ac_header in string.h
12333 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12334 if test "x$ac_cv_header_string_h" = xyes; then :
12335 cat >>confdefs.h <<_ACEOF
12336 #define HAVE_STRING_H 1
12343 for ac_header in sys/xattr.h attr/xattr.h
12345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12346 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12348 cat >>confdefs.h <<_ACEOF
12349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12356 for ac_func in llistxattr lgetxattr lsetxattr
12358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12361 cat >>confdefs.h <<_ACEOF
12362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12371 $as_echo_n "checking for library containing crypt... " >&6; }
12372 if ${ac_cv_search_crypt+:} false; then :
12373 $as_echo_n "(cached) " >&6
12375 ac_func_search_save_LIBS=$LIBS
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12379 /* Override any GCC internal prototype to avoid an error.
12380 Use char because int might match the return type of a GCC
12381 builtin and then its argument prototype would still apply. */
12394 for ac_lib in '' crypt; do
12395 if test -z "$ac_lib"; then
12396 ac_res="none required"
12399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 ac_cv_search_crypt=$ac_res
12404 rm -f core conftest.err conftest.$ac_objext \
12406 if ${ac_cv_search_crypt+:} false; then :
12410 if ${ac_cv_search_crypt+:} false; then :
12413 ac_cv_search_crypt=no
12415 rm conftest.$ac_ext
12416 LIBS=$ac_func_search_save_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12419 $as_echo "$ac_cv_search_crypt" >&6; }
12420 ac_res=$ac_cv_search_crypt
12421 if test "$ac_res" != no; then :
12422 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12423 CRYPT_LIB="-l$ac_lib"
12429 if test "x$CRYPT_LIB" = "x" ; then
12430 as_fn_error $? "\"CRYPT Library is required\"" "$LINENO" 5
12434 # Check whether --enable-cov was given.
12435 if test "${enable_cov+set}" = set; then :
12436 enableval=$enable_cov; enable_cov=yes
12441 if test "x$enable_cov" = "xyes" ; then
12442 GCOV_CFLAGS="-ftest-coverage -fprofile-arcs"
12449 # Check whether --enable-distcheck was given.
12450 if test "${enable_distcheck+set}" = set; then :
12451 enableval=$enable_distcheck; enable_distcheck=yes
12453 enable_distcheck=no
12456 echo "--------------------------------"
12457 echo "Distcheck : '$enable_distcheck'"
12458 if test x$enable_distcheck != xyes; then
12459 SET_PERMISSIONS_TRUE=
12460 SET_PERMISSIONS_FALSE='#'
12462 SET_PERMISSIONS_TRUE='#'
12463 SET_PERMISSIONS_FALSE=
12468 # Check whether --enable-dbus-type was given.
12469 if test "${enable_dbus_type+set}" = set; then :
12470 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12472 enable_dbus_type=system
12476 echo "--------------------------------"
12477 echo "Dbus Type : '$enable_dbus_type'"
12478 echo "--------------------------------"
12479 if test "x$enable_dbus_type" = "xp2p" ; then
12481 $as_echo "#define GUM_BUS_TYPE_P2P 1" >>confdefs.h
12483 elif test "x$enable_dbus_type" = "xsession" ; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBus" >&5
12487 $as_echo_n "checking for DBus... " >&6; }
12489 if test -n "$DBus_CFLAGS"; then
12490 pkg_cv_DBus_CFLAGS="$DBus_CFLAGS"
12491 elif test -n "$PKG_CONFIG"; then
12492 if test -n "$PKG_CONFIG" && \
12493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12494 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12497 test $ac_status = 0; }; then
12498 pkg_cv_DBus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
12499 test "x$?" != "x0" && pkg_failed=yes
12506 if test -n "$DBus_LIBS"; then
12507 pkg_cv_DBus_LIBS="$DBus_LIBS"
12508 elif test -n "$PKG_CONFIG"; then
12509 if test -n "$PKG_CONFIG" && \
12510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12511 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12514 test $ac_status = 0; }; then
12515 pkg_cv_DBus_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
12516 test "x$?" != "x0" && pkg_failed=yes
12526 if test $pkg_failed = yes; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12528 $as_echo "no" >&6; }
12530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12531 _pkg_short_errors_supported=yes
12533 _pkg_short_errors_supported=no
12535 if test $_pkg_short_errors_supported = yes; then
12536 DBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
12538 DBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
12540 # Put the nasty error message in config.log where it belongs
12541 echo "$DBus_PKG_ERRORS" >&5
12543 as_fn_error $? "Package requirements (dbus-1) were not met:
12547 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12548 installed software in a non-standard prefix.
12550 Alternatively, you may set the environment variables DBus_CFLAGS
12551 and DBus_LIBS to avoid the need to call pkg-config.
12552 See the pkg-config man page for more details." "$LINENO" 5
12553 elif test $pkg_failed = untried; then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12555 $as_echo "no" >&6; }
12556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12558 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12559 is in your PATH or set the PKG_CONFIG environment variable to the full
12560 path to pkg-config.
12562 Alternatively, you may set the environment variables DBus_CFLAGS
12563 and DBus_LIBS to avoid the need to call pkg-config.
12564 See the pkg-config man page for more details.
12566 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12567 See \`config.log' for more details" "$LINENO" 5; }
12569 DBus_CFLAGS=$pkg_cv_DBus_CFLAGS
12570 DBus_LIBS=$pkg_cv_DBus_LIBS
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12572 $as_echo "yes" >&6; }
12576 $as_echo "#define GUM_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12578 if test "x$enable_distcheck" = "xyes" ; then
12579 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12580 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12581 DBUS_CONF_DIR="${datadir}/dbus-1/session.d"
12583 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12584 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12585 DBUS_CONF_DIR="`pkg-config --variable sysconfdir dbus-1`/dbus-1/session.d"
12587 elif test "x$enable_dbus_type" = "xsystem" ; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBus" >&5
12591 $as_echo_n "checking for DBus... " >&6; }
12593 if test -n "$DBus_CFLAGS"; then
12594 pkg_cv_DBus_CFLAGS="$DBus_CFLAGS"
12595 elif test -n "$PKG_CONFIG"; then
12596 if test -n "$PKG_CONFIG" && \
12597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12598 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12601 test $ac_status = 0; }; then
12602 pkg_cv_DBus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
12603 test "x$?" != "x0" && pkg_failed=yes
12610 if test -n "$DBus_LIBS"; then
12611 pkg_cv_DBus_LIBS="$DBus_LIBS"
12612 elif test -n "$PKG_CONFIG"; then
12613 if test -n "$PKG_CONFIG" && \
12614 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12615 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12618 test $ac_status = 0; }; then
12619 pkg_cv_DBus_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
12620 test "x$?" != "x0" && pkg_failed=yes
12630 if test $pkg_failed = yes; then
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632 $as_echo "no" >&6; }
12634 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12635 _pkg_short_errors_supported=yes
12637 _pkg_short_errors_supported=no
12639 if test $_pkg_short_errors_supported = yes; then
12640 DBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
12642 DBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
12644 # Put the nasty error message in config.log where it belongs
12645 echo "$DBus_PKG_ERRORS" >&5
12647 as_fn_error $? "Package requirements (dbus-1) were not met:
12651 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12652 installed software in a non-standard prefix.
12654 Alternatively, you may set the environment variables DBus_CFLAGS
12655 and DBus_LIBS to avoid the need to call pkg-config.
12656 See the pkg-config man page for more details." "$LINENO" 5
12657 elif test $pkg_failed = untried; then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659 $as_echo "no" >&6; }
12660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12662 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12663 is in your PATH or set the PKG_CONFIG environment variable to the full
12664 path to pkg-config.
12666 Alternatively, you may set the environment variables DBus_CFLAGS
12667 and DBus_LIBS to avoid the need to call pkg-config.
12668 See the pkg-config man page for more details.
12670 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12671 See \`config.log' for more details" "$LINENO" 5; }
12673 DBus_CFLAGS=$pkg_cv_DBus_CFLAGS
12674 DBus_LIBS=$pkg_cv_DBus_LIBS
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12676 $as_echo "yes" >&6; }
12680 $as_echo "#define GUM_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12682 if test "x$enable_distcheck" = "xyes" ; then
12683 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12684 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12685 DBUS_CONF_DIR="${datadir}/dbus-1/system.d"
12687 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12688 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12689 DBUS_CONF_DIR="`pkg-config --variable sysconfdir dbus-1`/dbus-1/system.d"
12691 MESSAGE_BUS_USER="User=root"
12698 MESSAGE_BUS_TYPE=$enable_dbus_type
12700 if test x$enable_dbus_type = xsystem; then
12701 HAVE_SYSTEM_BUS_TRUE=
12702 HAVE_SYSTEM_BUS_FALSE='#'
12704 HAVE_SYSTEM_BUS_TRUE='#'
12705 HAVE_SYSTEM_BUS_FALSE=
12708 if test x$enable_dbus_type != xp2p; then
12709 USE_DBUS_SERVICE_TRUE=
12710 USE_DBUS_SERVICE_FALSE='#'
12712 USE_DBUS_SERVICE_TRUE='#'
12713 USE_DBUS_SERVICE_FALSE=
12717 # Check for systemd
12718 VAR_SYSTEMD="`pkg-config --variable systemdsystemunitdir systemd`"
12719 if test "x$VAR_SYSTEMD" != "x" ; then
12721 $as_echo "#define USE_SYSTEMD 1" >>confdefs.h
12723 elif test "x$VAR_SYSTEMD" = "x" ; then
12725 $as_echo "#define USE_SYSTEMD 0" >>confdefs.h
12730 # Check whether --enable-tests was given.
12731 if test "${enable_tests+set}" = set; then :
12732 enableval=$enable_tests; enable_tests=yes
12737 if test "x$enable_cov" = "xyes" ; then
12738 # Enable tests automatically when code coverage is enabled
12741 echo "--------------------------------"
12742 echo "Enable tests features: '$enable_tests'"
12743 if test "x$enable_tests" = "xyes" ; then
12745 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
12748 if test x$enable_tests = xyes; then
12750 HAVE_TESTS_FALSE='#'
12752 HAVE_TESTS_TRUE='#'
12758 # Check whether --enable-debug was given.
12759 if test "${enable_debug+set}" = set; then :
12760 enableval=$enable_debug; enable_debug=yes
12765 if test "x$enable_tests" = "xyes" ; then
12766 # Enable debug automatically when tests are enabled
12769 echo "--------------------------------"
12770 echo "Enable Debug Feature: '$enable_debug'"
12771 echo "--------------------------------"
12772 if test "x$enable_debug" = "xyes" ; then
12774 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12777 if test x$enable_debug = xyes; then
12779 HAVE_DEBUG_FALSE='#'
12781 HAVE_DEBUG_TRUE='#'
12787 # Check whether --enable-passwdfile was given.
12788 if test "${enable_passwdfile+set}" = set; then :
12789 enableval=$enable_passwdfile; enable_passwdfile=$enableval
12791 enable_passwdfile="/etc/passwd"
12795 cat >>confdefs.h <<_ACEOF
12796 #define GUM_PASSWD_FILE "$enable_passwdfile"
12801 # Check whether --enable-shadowfile was given.
12802 if test "${enable_shadowfile+set}" = set; then :
12803 enableval=$enable_shadowfile; enable_shadowfile=$enableval
12805 enable_shadowfile="/etc/shadow"
12809 cat >>confdefs.h <<_ACEOF
12810 #define GUM_SHADOW_FILE "$enable_shadowfile"
12815 # Check whether --enable-groupfile was given.
12816 if test "${enable_groupfile+set}" = set; then :
12817 enableval=$enable_groupfile; enable_groupfile=$enableval
12819 enable_groupfile="/etc/group"
12823 cat >>confdefs.h <<_ACEOF
12824 #define GUM_GROUP_FILE "$enable_groupfile"
12829 # Check whether --enable-gshadowfile was given.
12830 if test "${enable_gshadowfile+set}" = set; then :
12831 enableval=$enable_gshadowfile; enable_gshadowfile=$enableval
12833 enable_gshadowfile="/etc/gshadow"
12837 cat >>confdefs.h <<_ACEOF
12838 #define GUM_GSHADOW_FILE "$enable_gshadowfile"
12843 # Check whether --enable-homedirpref was given.
12844 if test "${enable_homedirpref+set}" = set; then :
12845 enableval=$enable_homedirpref; enable_homedirpref=$enableval
12847 enable_homedirpref="/home"
12851 cat >>confdefs.h <<_ACEOF
12852 #define GUM_HOME_DIR_PREFIX "$enable_homedirpref"
12857 # Check whether --enable-shell was given.
12858 if test "${enable_shell+set}" = set; then :
12859 enableval=$enable_shell; enable_shell=$enableval
12861 enable_shell="/bin/bash"
12865 cat >>confdefs.h <<_ACEOF
12866 #define GUM_SHELL "$enable_shell"
12870 # defult user groups
12871 # Check whether --enable-defusergroups was given.
12872 if test "${enable_defusergroups+set}" = set; then :
12873 enableval=$enable_defusergroups; enable_defusergroups=$enableval
12875 enable_defusergroups=""
12879 cat >>confdefs.h <<_ACEOF
12880 #define GUM_DEF_GROUPS "$enable_defusergroups"
12884 # defult admin groups
12885 # Check whether --enable-defadmingroups was given.
12886 if test "${enable_defadmingroups+set}" = set; then :
12887 enableval=$enable_defadmingroups; enable_defadmingroups=$enableval
12889 enable_defadmingroups=""
12893 cat >>confdefs.h <<_ACEOF
12894 #define GUM_DEF_ADMIN_GROUPS "$enable_defadmingroups"
12899 # Check whether --enable-skeldir was given.
12900 if test "${enable_skeldir+set}" = set; then :
12901 enableval=$enable_skeldir; enable_skeldir=$enableval
12903 enable_skeldir="/etc/skel"
12907 cat >>confdefs.h <<_ACEOF
12908 #define GUM_SKEL_DIR "$enable_skeldir"
12912 # encryption algorithm
12913 # Check whether --enable-encryptalgo was given.
12914 if test "${enable_encryptalgo+set}" = set; then :
12915 enableval=$enable_encryptalgo; enable_encryptalgo=$enableval
12917 enable_encryptalgo="SHA512"
12921 cat >>confdefs.h <<_ACEOF
12922 #define GUM_ENCRYPT_METHOD "$enable_encryptalgo"
12930 gtk_doc_requires="gtk-doc >= 1.18"
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12932 $as_echo_n "checking for gtk-doc... " >&6; }
12933 if test -n "$PKG_CONFIG" && \
12934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12935 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12938 test $ac_status = 0; }; then
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12944 $as_echo "$have_gtk_doc" >&6; }
12946 if test "$have_gtk_doc" = "no"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12948 You will not be able to create source packages with 'make dist'
12949 because $gtk_doc_requires is not found." >&5
12950 $as_echo "$as_me: WARNING:
12951 You will not be able to create source packages with 'make dist'
12952 because $gtk_doc_requires is not found." >&2;}
12955 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12956 set dummy gtkdoc-check; ac_word=$2
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12958 $as_echo_n "checking for $ac_word... " >&6; }
12959 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12960 $as_echo_n "(cached) " >&6
12962 if test -n "$GTKDOC_CHECK"; then
12963 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12966 for as_dir in $PATH
12969 test -z "$as_dir" && as_dir=.
12970 for ac_exec_ext in '' $ac_executable_extensions; do
12971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12972 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12982 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12983 if test -n "$GTKDOC_CHECK"; then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12985 $as_echo "$GTKDOC_CHECK" >&6; }
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12988 $as_echo "no" >&6; }
12992 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12993 set dummy gtkdoc-check; ac_word=$2
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12995 $as_echo_n "checking for $ac_word... " >&6; }
12996 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12997 $as_echo_n "(cached) " >&6
12999 case $GTKDOC_CHECK_PATH in
13001 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $PATH
13008 test -z "$as_dir" && as_dir=.
13009 for ac_exec_ext in '' $ac_executable_extensions; do
13010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13011 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
13012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13022 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
13023 if test -n "$GTKDOC_CHECK_PATH"; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
13025 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13032 for ac_prog in gtkdoc-rebase
13034 # Extract the first word of "$ac_prog", so it can be a program name with args.
13035 set dummy $ac_prog; ac_word=$2
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13037 $as_echo_n "checking for $ac_word... " >&6; }
13038 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13039 $as_echo_n "(cached) " >&6
13041 case $GTKDOC_REBASE in
13043 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13047 for as_dir in $PATH
13050 test -z "$as_dir" && as_dir=.
13051 for ac_exec_ext in '' $ac_executable_extensions; do
13052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13053 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13064 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13065 if test -n "$GTKDOC_REBASE"; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13067 $as_echo "$GTKDOC_REBASE" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13070 $as_echo "no" >&6; }
13074 test -n "$GTKDOC_REBASE" && break
13076 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13078 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13079 set dummy gtkdoc-mkpdf; ac_word=$2
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13081 $as_echo_n "checking for $ac_word... " >&6; }
13082 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13083 $as_echo_n "(cached) " >&6
13085 case $GTKDOC_MKPDF in
13087 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13091 for as_dir in $PATH
13094 test -z "$as_dir" && as_dir=.
13095 for ac_exec_ext in '' $ac_executable_extensions; do
13096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13097 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13108 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13109 if test -n "$GTKDOC_MKPDF"; then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13111 $as_echo "$GTKDOC_MKPDF" >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13114 $as_echo "no" >&6; }
13120 # Check whether --with-html-dir was given.
13121 if test "${with_html_dir+set}" = set; then :
13122 withval=$with_html_dir;
13124 with_html_dir='${datadir}/gtk-doc/html'
13127 HTML_DIR="$with_html_dir"
13130 # Check whether --enable-gtk-doc was given.
13131 if test "${enable_gtk_doc+set}" = set; then :
13132 enableval=$enable_gtk_doc;
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13139 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13141 $as_echo "$enable_gtk_doc" >&6; }
13143 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
13145 You must have $gtk_doc_requires installed to build documentation for
13146 $PACKAGE_NAME. Please install gtk-doc or disable building the
13147 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
13150 if test "x$PACKAGE_NAME" != "xglib"; then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13154 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13156 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13157 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13158 elif test -n "$PKG_CONFIG"; then
13159 if test -n "$PKG_CONFIG" && \
13160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
13161 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13164 test $ac_status = 0; }; then
13165 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13166 test "x$?" != "x0" && pkg_failed=yes
13173 if test -n "$GTKDOC_DEPS_LIBS"; then
13174 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13175 elif test -n "$PKG_CONFIG"; then
13176 if test -n "$PKG_CONFIG" && \
13177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
13178 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13181 test $ac_status = 0; }; then
13182 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13183 test "x$?" != "x0" && pkg_failed=yes
13193 if test $pkg_failed = yes; then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13195 $as_echo "no" >&6; }
13197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13198 _pkg_short_errors_supported=yes
13200 _pkg_short_errors_supported=no
13202 if test $_pkg_short_errors_supported = yes; then
13203 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13205 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13207 # Put the nasty error message in config.log where it belongs
13208 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13211 elif test $pkg_failed = untried; then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13216 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13217 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13219 $as_echo "yes" >&6; }
13224 # Check whether --enable-gtk-doc-html was given.
13225 if test "${enable_gtk_doc_html+set}" = set; then :
13226 enableval=$enable_gtk_doc_html;
13228 enable_gtk_doc_html=yes
13231 # Check whether --enable-gtk-doc-pdf was given.
13232 if test "${enable_gtk_doc_pdf+set}" = set; then :
13233 enableval=$enable_gtk_doc_pdf;
13235 enable_gtk_doc_pdf=no
13239 if test -z "$GTKDOC_MKPDF"; then
13240 enable_gtk_doc_pdf=no
13243 if test -z "$AM_DEFAULT_VERBOSITY"; then
13244 AM_DEFAULT_VERBOSITY=1
13248 if test x$have_gtk_doc = xyes; then
13250 HAVE_GTK_DOC_FALSE='#'
13252 HAVE_GTK_DOC_TRUE='#'
13253 HAVE_GTK_DOC_FALSE=
13256 if test x$enable_gtk_doc = xyes; then
13257 ENABLE_GTK_DOC_TRUE=
13258 ENABLE_GTK_DOC_FALSE='#'
13260 ENABLE_GTK_DOC_TRUE='#'
13261 ENABLE_GTK_DOC_FALSE=
13264 if test x$enable_gtk_doc_html = xyes; then
13265 GTK_DOC_BUILD_HTML_TRUE=
13266 GTK_DOC_BUILD_HTML_FALSE='#'
13268 GTK_DOC_BUILD_HTML_TRUE='#'
13269 GTK_DOC_BUILD_HTML_FALSE=
13272 if test x$enable_gtk_doc_pdf = xyes; then
13273 GTK_DOC_BUILD_PDF_TRUE=
13274 GTK_DOC_BUILD_PDF_FALSE='#'
13276 GTK_DOC_BUILD_PDF_TRUE='#'
13277 GTK_DOC_BUILD_PDF_FALSE=
13280 if test -n "$LIBTOOL"; then
13281 GTK_DOC_USE_LIBTOOL_TRUE=
13282 GTK_DOC_USE_LIBTOOL_FALSE='#'
13284 GTK_DOC_USE_LIBTOOL_TRUE='#'
13285 GTK_DOC_USE_LIBTOOL_FALSE=
13288 if test -n "$GTKDOC_REBASE"; then
13289 GTK_DOC_USE_REBASE_TRUE=
13290 GTK_DOC_USE_REBASE_FALSE='#'
13292 GTK_DOC_USE_REBASE_TRUE='#'
13293 GTK_DOC_USE_REBASE_FALSE=
13298 # Checks for typedefs, structures, and compiler characteristics.
13299 GUM_CFLAGS='$(GLIB_CFLAGS) -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE'
13300 GUM_CFLAGS="$GUM_CFLAGS -Wall $GCOV_CFLAGS"
13301 if test "x$enable_debug" = "xno" ; then
13302 GUM_CFLAGS="$GUM_CFLAGS -Werror"
13304 GUM_CFLAGS="$GUM_CFLAGS -DENABLE_DEBUG"
13309 GUM_INCLUDES='-I$(top_builddir) -I$(top_srcdir)'
13312 # Gum common library cflags, libs, includes
13313 GUM_COMMON_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gum-common\"'
13315 GUM_COMMON_LIBS='$(GLIB_LIBS) $(CRYPT_LIB) $(GCOV_LIBS)'
13317 GUM_COMMON_INCLUDES='$(GUM_INCLUDES) -I$(top_srcdir)/include/gum'
13320 # Gumd core lib cflags, libs, includes
13321 GUMD_CORE_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gumd-core\"'
13323 GUMD_CORE_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13325 GUMD_CORE_INCLUDES='$(GUM_COMMON_INCLUDES)'
13328 # Gum daemon cflags, libs, includes
13329 GUMD_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gumd\"'
13331 GUMD_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13333 GUMD_INCLUDES='$(GUM_COMMON_INCLUDES)'
13336 # Gum client library cflags, libs, includes
13337 LIBGUM_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gum\"'
13339 LIBGUM_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13341 LIBGUM_INCLUDES='$(GUM_COMMON_INCLUDES)'
13344 ac_config_files="$ac_config_files Makefile src/Makefile src/common/Makefile src/common/dbus/Makefile src/daemon/Makefile src/daemon/core/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/org.O1.SecurityAccounts.gUserManagement.service src/daemon/dbus/gumd-dbus.conf src/lib/Makefile src/lib/libgum.pc src/lib/libgum-uninstalled.pc src/utils/Makefile data/Makefile data/gumd.conf docs/Makefile docs/version.xml test/Makefile test/common/Makefile test/daemon/Makefile test/lib/Makefile"
13347 if test "x$enable_tests" = "xyes" ; then
13348 ac_config_files="$ac_config_files test/data/test-gumd-dbus.conf"
13351 if test x$enable_dbus_type != xp2p; then
13352 ac_config_files="$ac_config_files test/data/services/org.O1.SecurityAccounts.gUserManagement.service"
13357 cat >confcache <<\_ACEOF
13358 # This file is a shell script that caches the results of configure
13359 # tests run on this system so they can be shared between configure
13360 # scripts and configure runs, see configure's option --config-cache.
13361 # It is not useful on other systems. If it contains results you don't
13362 # want to keep, you may remove or edit it.
13364 # config.status only pays attention to the cache file if you give it
13365 # the --recheck option to rerun configure.
13367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13369 # following values.
13373 # The following way of writing the cache mishandles newlines in values,
13374 # but we know of no workaround that is simple, portable, and efficient.
13375 # So, we kill variables containing newlines.
13376 # Ultrix sh set writes to stderr and can't be redirected directly,
13377 # and sets the high bit in the cache file unless we assign to the vars.
13379 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13380 eval ac_val=\$$ac_var
13384 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13385 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13388 _ | IFS | as_nl) ;; #(
13389 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13390 *) { eval $ac_var=; unset $ac_var;} ;;
13396 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13397 *${as_nl}ac_space=\ *)
13398 # `set' does not quote correctly, so add quotes: double-quote
13399 # substitution turns \\\\ into \\, and sed turns \\ into \.
13402 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13405 # `set' quotes correctly as required by POSIX, so do not add quotes.
13406 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13415 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13417 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13419 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13420 if test -w "$cache_file"; then
13421 if test "x$cache_file" != "x/dev/null"; then
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13423 $as_echo "$as_me: updating cache $cache_file" >&6;}
13424 if test ! -f "$cache_file" || test -h "$cache_file"; then
13425 cat confcache >"$cache_file"
13427 case $cache_file in #(
13429 mv -f confcache "$cache_file"$$ &&
13430 mv -f "$cache_file"$$ "$cache_file" ;; #(
13432 mv -f confcache "$cache_file" ;;
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13438 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13443 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13444 # Let make expand exec_prefix.
13445 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13447 DEFS=-DHAVE_CONFIG_H
13452 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13453 # 1. Remove the extension, and $U if already installed.
13454 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13455 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13456 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13457 # will be set to the directory where LIBOBJS objects are built.
13458 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13459 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13461 LIBOBJS=$ac_libobjs
13463 LTLIBOBJS=$ac_ltlibobjs
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13467 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13468 if test -n "$am_sleep_pid"; then
13469 # Hide warnings about reused PIDs.
13470 wait $am_sleep_pid 2>/dev/null
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13473 $as_echo "done" >&6; }
13474 if test -n "$EXEEXT"; then
13476 am__EXEEXT_FALSE='#'
13478 am__EXEEXT_TRUE='#'
13482 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13483 as_fn_error $? "conditional \"AMDEP\" was never defined.
13484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13486 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13487 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13490 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13491 as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13494 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13495 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13498 if test -z "${HAVE_SYSTEM_BUS_TRUE}" && test -z "${HAVE_SYSTEM_BUS_FALSE}"; then
13499 as_fn_error $? "conditional \"HAVE_SYSTEM_BUS\" was never defined.
13500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13502 if test -z "${USE_DBUS_SERVICE_TRUE}" && test -z "${USE_DBUS_SERVICE_FALSE}"; then
13503 as_fn_error $? "conditional \"USE_DBUS_SERVICE\" was never defined.
13504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13506 if test -z "${HAVE_TESTS_TRUE}" && test -z "${HAVE_TESTS_FALSE}"; then
13507 as_fn_error $? "conditional \"HAVE_TESTS\" was never defined.
13508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13510 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13511 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13514 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13515 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13518 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13519 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13522 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13523 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13526 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13527 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13530 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13531 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13534 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13535 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13539 : "${CONFIG_STATUS=./config.status}"
13541 ac_clean_files_save=$ac_clean_files
13542 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13546 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13548 # Generated by $as_me.
13549 # Run this file to recreate the current configuration.
13550 # Compiler output produced by configure, useful for debugging
13551 # configure, is in config.log if it exists.
13554 ac_cs_recheck=false
13557 SHELL=\${CONFIG_SHELL-$SHELL}
13560 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13561 ## -------------------- ##
13562 ## M4sh Initialization. ##
13563 ## -------------------- ##
13565 # Be more Bourne compatible
13566 DUALCASE=1; export DUALCASE # for MKS sh
13567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13570 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13571 # is contrary to our usage. Disable this feature.
13572 alias -g '${1+"$@"}'='"$@"'
13573 setopt NO_GLOB_SUBST
13575 case `(set -o) 2>/dev/null` in #(
13587 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13588 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13591 # Prefer a ksh shell builtin over an external printf program on Solaris,
13592 # but without wasting forks for bash or zsh.
13593 if test -z "$BASH_VERSION$ZSH_VERSION" \
13594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13595 as_echo='print -r --'
13596 as_echo_n='print -rn --'
13597 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13598 as_echo='printf %s\n'
13599 as_echo_n='printf %s'
13601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13602 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13603 as_echo_n='/usr/ucb/echo -n'
13605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13606 as_echo_n_body='eval
13610 expr "X$arg" : "X\\(.*\\)$as_nl";
13611 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13613 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13615 export as_echo_n_body
13616 as_echo_n='sh -c $as_echo_n_body as_echo'
13618 export as_echo_body
13619 as_echo='sh -c $as_echo_body as_echo'
13622 # The user is always right.
13623 if test "${PATH_SEPARATOR+set}" != set; then
13625 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13626 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13633 # We need space, tab and new line, in precisely that order. Quoting is
13634 # there to prevent editors from complaining about space-tab.
13635 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13636 # splitting by setting IFS to empty value.)
13639 # Find who we are. Look in the path if we contain no directory separator.
13642 *[\\/]* ) as_myself=$0 ;;
13643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13644 for as_dir in $PATH
13647 test -z "$as_dir" && as_dir=.
13648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13654 # We did not find ourselves, most probably we were run as `sh COMMAND'
13655 # in which case we are not to be found in the path.
13656 if test "x$as_myself" = x; then
13659 if test ! -f "$as_myself"; then
13660 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13664 # Unset variables that we do not need and which cause bugs (e.g. in
13665 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13666 # suppresses any "Segmentation fault" message there. '((' could
13667 # trigger a bug in pdksh 5.2.14.
13668 for as_var in BASH_ENV ENV MAIL MAILPATH
13669 do eval test x\${$as_var+set} = xset \
13670 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13686 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13687 # ----------------------------------------
13688 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13689 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13690 # script with STATUS, using 1 if that was 0.
13693 as_status=$1; test $as_status -eq 0 && as_status=1
13695 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13696 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13698 $as_echo "$as_me: error: $2" >&2
13699 as_fn_exit $as_status
13703 # as_fn_set_status STATUS
13704 # -----------------------
13705 # Set $? to STATUS, without forking.
13706 as_fn_set_status ()
13709 } # as_fn_set_status
13711 # as_fn_exit STATUS
13712 # -----------------
13713 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13717 as_fn_set_status $1
13723 # Portably unset VAR.
13726 { eval $1=; unset $1;}
13728 as_unset=as_fn_unset
13729 # as_fn_append VAR VALUE
13730 # ----------------------
13731 # Append the text in VALUE to the end of the definition contained in VAR. Take
13732 # advantage of any shell optimizations that allow amortized linear growth over
13733 # repeated appends, instead of the typical quadratic growth present in naive
13735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13736 eval 'as_fn_append ()
13747 # as_fn_arith ARG...
13748 # ------------------
13749 # Perform arithmetic evaluation on the ARGs, and store the result in the
13750 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13751 # must be portable across $(()) and expr.
13752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13753 eval 'as_fn_arith ()
13760 as_val=`expr "$@" || test $? -eq 1`
13765 if expr a : '\(a\)' >/dev/null 2>&1 &&
13766 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13772 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13773 as_basename=basename
13778 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13784 as_me=`$as_basename -- "$0" ||
13785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13786 X"$0" : 'X\(//\)$' \| \
13787 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13789 sed '/^.*\/\([^/][^/]*\)\/*$/{
13803 # Avoid depending upon Character Ranges.
13804 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13807 as_cr_digits='0123456789'
13808 as_cr_alnum=$as_cr_Letters$as_cr_digits
13810 ECHO_C= ECHO_N= ECHO_T=
13811 case `echo -n x` in #(((((
13813 case `echo 'xy\c'` in
13814 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13816 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13823 rm -f conf$$ conf$$.exe conf$$.file
13824 if test -d conf$$.dir; then
13825 rm -f conf$$.dir/conf$$.file
13828 mkdir conf$$.dir 2>/dev/null
13830 if (echo >conf$$.file) 2>/dev/null; then
13831 if ln -s conf$$.file conf$$ 2>/dev/null; then
13833 # ... but there are two gotchas:
13834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13836 # In both cases, we have to default to `cp -pR'.
13837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13839 elif ln conf$$.file conf$$ 2>/dev/null; then
13847 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13848 rmdir conf$$.dir 2>/dev/null
13853 # Create "$as_dir" as a directory, including parents if necessary.
13858 -*) as_dir=./$as_dir;;
13860 test -d "$as_dir" || eval $as_mkdir_p || {
13864 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13865 *) as_qdir=$as_dir;;
13867 as_dirs="'$as_qdir' $as_dirs"
13868 as_dir=`$as_dirname -- "$as_dir" ||
13869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13870 X"$as_dir" : 'X\(//\)[^/]' \| \
13871 X"$as_dir" : 'X\(//\)$' \| \
13872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13873 $as_echo X"$as_dir" |
13874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13878 /^X\(\/\/\)[^/].*/{
13891 test -d "$as_dir" && break
13893 test -z "$as_dirs" || eval "mkdir $as_dirs"
13894 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13898 if mkdir -p . 2>/dev/null; then
13899 as_mkdir_p='mkdir -p "$as_dir"'
13901 test -d ./-p && rmdir ./-p
13906 # as_fn_executable_p FILE
13907 # -----------------------
13908 # Test if FILE is an executable regular file.
13909 as_fn_executable_p ()
13911 test -f "$1" && test -x "$1"
13912 } # as_fn_executable_p
13913 as_test_x='test -x'
13914 as_executable_p=as_fn_executable_p
13916 # Sed expression to map a string onto a valid CPP name.
13917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13919 # Sed expression to map a string onto a valid variable name.
13920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13924 ## ----------------------------------- ##
13925 ## Main body of $CONFIG_STATUS script. ##
13926 ## ----------------------------------- ##
13928 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13931 # Save the log message, to keep $0 and so on meaningful, and to
13932 # report actual input values of CONFIG_FILES etc. instead of their
13933 # values after options handling.
13935 This file was extended by gumd $as_me 1.0.8, which was
13936 generated by GNU Autoconf 2.69. Invocation command line was
13938 CONFIG_FILES = $CONFIG_FILES
13939 CONFIG_HEADERS = $CONFIG_HEADERS
13940 CONFIG_LINKS = $CONFIG_LINKS
13941 CONFIG_COMMANDS = $CONFIG_COMMANDS
13944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13949 case $ac_config_files in *"
13950 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13953 case $ac_config_headers in *"
13954 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13959 # Files that config.status was made for.
13960 config_files="$ac_config_files"
13961 config_headers="$ac_config_headers"
13962 config_commands="$ac_config_commands"
13966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13968 \`$as_me' instantiates files and other configuration actions
13969 from templates according to the current configuration. Unless the files
13970 and actions are specified as TAGs, all are instantiated by default.
13972 Usage: $0 [OPTION]... [TAG]...
13974 -h, --help print this help, then exit
13975 -V, --version print version number and configuration settings, then exit
13976 --config print configuration, then exit
13977 -q, --quiet, --silent
13978 do not print progress messages
13979 -d, --debug don't remove temporary files
13980 --recheck update $as_me by reconfiguring in the same conditions
13981 --file=FILE[:TEMPLATE]
13982 instantiate the configuration file FILE
13983 --header=FILE[:TEMPLATE]
13984 instantiate the configuration header FILE
13986 Configuration files:
13989 Configuration headers:
13992 Configuration commands:
13995 Report bugs to the package provider.
13996 gumd home page: <https://github.com/01org/gumd>."
13999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14000 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14002 gumd config.status 1.0.8
14003 configured by $0, generated by GNU Autoconf 2.69,
14004 with options \\"\$ac_cs_config\\"
14006 Copyright (C) 2012 Free Software Foundation, Inc.
14007 This config.status script is free software; the Free Software Foundation
14008 gives unlimited permission to copy, distribute and modify it."
14015 test -n "\$AWK" || AWK=awk
14018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14019 # The default lists apply if the user does not specify any file.
14025 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14026 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14042 # Handling of the options.
14043 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14045 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14046 $as_echo "$ac_cs_version"; exit ;;
14047 --config | --confi | --conf | --con | --co | --c )
14048 $as_echo "$ac_cs_config"; exit ;;
14049 --debug | --debu | --deb | --de | --d | -d )
14051 --file | --fil | --fi | --f )
14054 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14055 '') as_fn_error $? "missing file argument" ;;
14057 as_fn_append CONFIG_FILES " '$ac_optarg'"
14058 ac_need_defaults=false;;
14059 --header | --heade | --head | --hea )
14062 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14064 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14065 ac_need_defaults=false;;
14067 # Conflict between --help and --header
14068 as_fn_error $? "ambiguous option: \`$1'
14069 Try \`$0 --help' for more information.";;
14070 --help | --hel | -h )
14071 $as_echo "$ac_cs_usage"; exit ;;
14072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14076 # This is an error.
14077 -*) as_fn_error $? "unrecognized option: \`$1'
14078 Try \`$0 --help' for more information." ;;
14080 *) as_fn_append ac_config_targets " $1"
14081 ac_need_defaults=false ;;
14087 ac_configure_extra_args=
14089 if $ac_cs_silent; then
14091 ac_configure_extra_args="$ac_configure_extra_args --silent"
14095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14096 if \$ac_cs_recheck; then
14097 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14100 CONFIG_SHELL='$SHELL'
14101 export CONFIG_SHELL
14106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14111 ## Running $as_me. ##
14117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14121 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14124 # The HP-UX ksh and POSIX shell print the target directory to stdout
14125 # if CDPATH is set.
14126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14128 sed_quote_subst='$sed_quote_subst'
14129 double_quote_subst='$double_quote_subst'
14130 delay_variable_subst='$delay_variable_subst'
14131 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14132 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14133 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14134 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14135 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14136 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14137 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14138 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14139 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14140 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14141 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14142 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14143 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14144 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14145 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14146 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14147 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14148 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14149 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14150 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14151 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14152 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14153 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14154 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14155 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14156 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14157 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14158 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14159 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14160 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14161 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14162 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14163 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14164 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14165 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14166 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14167 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14168 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14169 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14170 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14171 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14172 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14173 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14174 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14175 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14176 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14177 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14178 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14179 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14180 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14181 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14182 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14183 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14184 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14185 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14186 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14187 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14188 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14189 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14190 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14191 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14192 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14193 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14194 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14195 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14196 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14197 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14198 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14199 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14200 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14201 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14202 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14203 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14204 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14205 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14206 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14207 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14208 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14209 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14210 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14211 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14212 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14213 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14214 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14215 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14216 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14217 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14218 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14219 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14220 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14221 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14222 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14223 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14224 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14225 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14226 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14227 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14228 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14229 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14230 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14231 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14232 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14233 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14234 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14235 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14236 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14237 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14238 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14239 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14240 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14241 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14242 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14243 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14244 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14245 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14246 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14247 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14248 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14249 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14250 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14251 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14252 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14253 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14254 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14255 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14256 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14257 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14258 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14259 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14260 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14263 LTCFLAGS='$LTCFLAGS'
14264 compiler='$compiler_DEFAULT'
14266 # A function that is used when there is no print builtin or printf.
14267 func_fallback_echo ()
14269 eval 'cat <<_LTECHO_EOF
14274 # Quote evaled strings.
14289 deplibs_check_method \
14294 sharedlib_from_linklib_cmd \
14297 archiver_list_spec \
14303 lt_cv_sys_global_symbol_pipe \
14304 lt_cv_sys_global_symbol_to_cdecl \
14305 lt_cv_sys_global_symbol_to_c_name_address \
14306 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14307 nm_file_list_spec \
14308 lt_prog_compiler_no_builtin_flag \
14309 lt_prog_compiler_pic \
14310 lt_prog_compiler_wl \
14311 lt_prog_compiler_static \
14312 lt_cv_prog_compiler_c_o \
14321 export_dynamic_flag_spec \
14322 whole_archive_flag_spec \
14323 compiler_needs_object \
14325 allow_undefined_flag \
14326 no_undefined_flag \
14327 hardcode_libdir_flag_spec \
14328 hardcode_libdir_separator \
14332 variables_saved_for_relink \
14334 library_names_spec \
14336 install_override_mode \
14340 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14341 *[\\\\\\\`\\"\\\$]*)
14342 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14345 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14350 # Double-quote double-evaled strings.
14351 for var in reload_cmds \
14352 old_postinstall_cmds \
14353 old_postuninstall_cmds \
14355 extract_expsyms_cmds \
14356 old_archive_from_new_cmds \
14357 old_archive_from_expsyms_cmds \
14359 archive_expsym_cmds \
14361 module_expsym_cmds \
14362 export_symbols_cmds \
14366 postuninstall_cmds \
14368 sys_lib_search_path_spec \
14369 sys_lib_dlsearch_path_spec; do
14370 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14371 *[\\\\\\\`\\"\\\$]*)
14372 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14375 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14380 ac_aux_dir='$ac_aux_dir'
14381 xsi_shell='$xsi_shell'
14382 lt_shell_append='$lt_shell_append'
14384 # See if we are running on zsh, and set the options which allow our
14385 # commands through without removal of \ escapes INIT.
14386 if test -n "\${ZSH_VERSION+set}" ; then
14387 setopt NO_GLOB_SUBST
14393 TIMESTAMP='$TIMESTAMP'
14402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14404 # Handling of arguments.
14405 for ac_config_target in $ac_config_targets
14407 case $ac_config_target in
14408 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14409 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14410 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14411 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14412 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14413 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14414 "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14415 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14416 "src/daemon/core/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/core/Makefile" ;;
14417 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14418 "src/daemon/dbus/services/org.O1.SecurityAccounts.gUserManagement.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/org.O1.SecurityAccounts.gUserManagement.service" ;;
14419 "src/daemon/dbus/gumd-dbus.conf") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/gumd-dbus.conf" ;;
14420 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14421 "src/lib/libgum.pc") CONFIG_FILES="$CONFIG_FILES src/lib/libgum.pc" ;;
14422 "src/lib/libgum-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/lib/libgum-uninstalled.pc" ;;
14423 "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
14424 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14425 "data/gumd.conf") CONFIG_FILES="$CONFIG_FILES data/gumd.conf" ;;
14426 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14427 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
14428 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14429 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14430 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14431 "test/lib/Makefile") CONFIG_FILES="$CONFIG_FILES test/lib/Makefile" ;;
14432 "test/data/test-gumd-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/data/test-gumd-dbus.conf" ;;
14433 "test/data/services/org.O1.SecurityAccounts.gUserManagement.service") CONFIG_FILES="$CONFIG_FILES test/data/services/org.O1.SecurityAccounts.gUserManagement.service" ;;
14435 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14440 # If the user did not use the arguments to specify the items to instantiate,
14441 # then the envvar interface is used. Set only those that are not.
14442 # We use the long form for the default assignment because of an extremely
14443 # bizarre bug on SunOS 4.1.3.
14444 if $ac_need_defaults; then
14445 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14446 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14447 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14450 # Have a temporary directory for convenience. Make it in the build tree
14451 # simply because there is no reason against having it here, and in addition,
14452 # creating and moving files from /tmp can sometimes cause problems.
14453 # Hook for its removal unless debugging.
14454 # Note that there is a small window in which the directory will not be cleaned:
14455 # after its creation but before its name has been assigned to `$tmp'.
14459 trap 'exit_status=$?
14460 : "${ac_tmp:=$tmp}"
14461 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14463 trap 'as_fn_exit 1' 1 2 13 15
14465 # Create a (secure) tmp directory for tmp files.
14468 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14472 tmp=./conf$$-$RANDOM
14473 (umask 077 && mkdir "$tmp")
14474 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14477 # Set up the scripts for CONFIG_FILES section.
14478 # No need to generate them if there are no CONFIG_FILES.
14479 # This happens for instance with `./config.status config.h'.
14480 if test -n "$CONFIG_FILES"; then
14483 ac_cr=`echo X | tr X '\015'`
14484 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14485 # But we know of no other shell where ac_cr would be empty at this
14486 # point, so we can use a bashism as a fallback.
14487 if test "x$ac_cr" = x; then
14488 eval ac_cr=\$\'\\r\'
14490 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14491 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14494 ac_cs_awk_cr=$ac_cr
14497 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14502 echo "cat >conf$$subs.awk <<_ACEOF" &&
14503 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14505 } >conf$$subs.sh ||
14506 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14507 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14509 for ac_last_try in false false false false false :; do
14510 . ./conf$$subs.sh ||
14511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14513 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14514 if test $ac_delim_n = $ac_delim_num; then
14516 elif $ac_last_try; then
14517 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14522 rm -f conf$$subs.sh
14524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14525 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14529 s/^/S["/; s/!.*/"]=/
14539 s/\(.\{148\}\)..*/\1/
14541 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14546 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14553 s/\(.\{148\}\)..*/\1/
14555 s/["\\]/\\&/g; s/^/"/; s/$/"/
14559 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14564 ' <conf$$subs.awk | sed '
14569 ' >>$CONFIG_STATUS || ac_write_fail=1
14570 rm -f conf$$subs.awk
14571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14573 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14574 for (key in S) S_is_set[key] = 1
14580 nfields = split(line, field, "@")
14582 len = length(field[1])
14583 for (i = 2; i < nfields; i++) {
14585 keylen = length(key)
14586 if (S_is_set[key]) {
14588 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14589 len += length(value) + length(field[++i])
14600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14601 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14602 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14605 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14606 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14609 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14610 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14611 # trailing colons and then remove the whole line if VPATH becomes empty
14612 # (actually we leave an empty line to preserve line numbers).
14613 if test "x$srcdir" = x.; then
14614 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14633 fi # test -n "$CONFIG_FILES"
14635 # Set up the scripts for CONFIG_HEADERS section.
14636 # No need to generate them if there are no CONFIG_HEADERS.
14637 # This happens for instance with `./config.status Makefile'.
14638 if test -n "$CONFIG_HEADERS"; then
14639 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14643 # Transform confdefs.h into an awk script `defines.awk', embedded as
14644 # here-document in config.status, that substitutes the proper values into
14645 # config.h.in to produce config.h.
14647 # Create a delimiter string that does not exist in confdefs.h, to ease
14648 # handling of long lines.
14650 for ac_last_try in false false :; do
14651 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14652 if test -z "$ac_tt"; then
14654 elif $ac_last_try; then
14655 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14661 # For the awk script, D is an array of macro values keyed by name,
14662 # likewise P contains macro parameters if any. Preserve backslash
14663 # newline sequences.
14665 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14667 s/.\{148\}/&'"$ac_delim"'/g
14670 s/^[ ]*#[ ]*define[ ][ ]*/ /
14677 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14679 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14684 D["\1"]=" \3\\\\\\n"\\/p
14686 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14691 s/.\{148\}/&'"$ac_delim"'/g
14696 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14699 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14701 ' <confdefs.h | sed '
14702 s/'"$ac_delim"'/"\\\
14703 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14706 for (key in D) D_is_set[key] = 1
14709 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14711 split(line, arg, " ")
14712 if (arg[1] == "#") {
14716 defundef = substr(arg[1], 2)
14719 split(mac1, mac2, "(") #)
14721 prefix = substr(line, 1, index(line, defundef) - 1)
14722 if (D_is_set[macro]) {
14723 # Preserve the white space surrounding the "#".
14724 print prefix "define", macro P[macro] D[macro]
14727 # Replace #undef with comments. This is necessary, for example,
14728 # in the case of _POSIX_SOURCE, which is predefined and required
14729 # on some systems where configure will not decide to define it.
14730 if (defundef == "undef") {
14731 print "/*", prefix defundef, macro, "*/"
14739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14740 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14741 fi # test -n "$CONFIG_HEADERS"
14744 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14749 :[FHLC]) ac_mode=$ac_tag; continue;;
14751 case $ac_mode$ac_tag in
14753 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14754 :[FH]-) ac_tag=-:-;;
14755 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14772 -) ac_f="$ac_tmp/stdin";;
14773 *) # Look for the file first in the build tree, then in the source tree
14774 # (if the path is not absolute). The absolute path cannot be DOS-style,
14775 # because $ac_f cannot contain `:'.
14779 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14781 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14783 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14784 as_fn_append ac_file_inputs " '$ac_f'"
14787 # Let's still pretend it is `configure' which instantiates (i.e., don't
14788 # use $as_me), people would be surprised to read:
14789 # /* config.h. Generated by config.status. */
14790 configure_input='Generated from '`
14791 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14793 if test x"$ac_file" != x-; then
14794 configure_input="$ac_file. $configure_input"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14796 $as_echo "$as_me: creating $ac_file" >&6;}
14798 # Neutralize special characters interpreted by sed in replacement strings.
14799 case $configure_input in #(
14800 *\&* | *\|* | *\\* )
14801 ac_sed_conf_input=`$as_echo "$configure_input" |
14802 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14803 *) ac_sed_conf_input=$configure_input;;
14807 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14813 ac_dir=`$as_dirname -- "$ac_file" ||
14814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14815 X"$ac_file" : 'X\(//\)[^/]' \| \
14816 X"$ac_file" : 'X\(//\)$' \| \
14817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14818 $as_echo X"$ac_file" |
14819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14823 /^X\(\/\/\)[^/].*/{
14836 as_dir="$ac_dir"; as_fn_mkdir_p
14840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14843 # A ".." for each directory in $ac_dir_suffix.
14844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14845 case $ac_top_builddir_sub in
14846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14850 ac_abs_top_builddir=$ac_pwd
14851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14852 # for backward compatibility:
14853 ac_top_builddir=$ac_top_build_prefix
14856 .) # We are building in place.
14858 ac_top_srcdir=$ac_top_builddir_sub
14859 ac_abs_top_srcdir=$ac_pwd ;;
14860 [\\/]* | ?:[\\/]* ) # Absolute name.
14861 ac_srcdir=$srcdir$ac_dir_suffix;
14862 ac_top_srcdir=$srcdir
14863 ac_abs_top_srcdir=$srcdir ;;
14864 *) # Relative name.
14865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14866 ac_top_srcdir=$ac_top_build_prefix$srcdir
14867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14879 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14880 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14882 ac_MKDIR_P=$MKDIR_P
14884 [\\/$]* | ?:[\\/]* ) ;;
14885 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14890 # If the template does not know about datarootdir, expand it.
14891 # FIXME: This hack should be removed a few years after 2.60.
14892 ac_datarootdir_hack=; ac_datarootdir_seen=
14903 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14904 *datarootdir*) ac_datarootdir_seen=yes;;
14905 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14907 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14910 ac_datarootdir_hack='
14911 s&@datadir@&$datadir&g
14912 s&@docdir@&$docdir&g
14913 s&@infodir@&$infodir&g
14914 s&@localedir@&$localedir&g
14915 s&@mandir@&$mandir&g
14916 s&\\\${datarootdir}&$datarootdir&g' ;;
14920 # Neutralize VPATH when `$srcdir' = `.'.
14921 # Shell code in configure.ac might set extrasub.
14922 # FIXME: do we really want to maintain this feature?
14923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14924 ac_sed_extra="$ac_vpsub
14927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14930 s|@configure_input@|$ac_sed_conf_input|;t t
14931 s&@top_builddir@&$ac_top_builddir_sub&;t t
14932 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14933 s&@srcdir@&$ac_srcdir&;t t
14934 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14935 s&@top_srcdir@&$ac_top_srcdir&;t t
14936 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14937 s&@builddir@&$ac_builddir&;t t
14938 s&@abs_builddir@&$ac_abs_builddir&;t t
14939 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14940 s&@INSTALL@&$ac_INSTALL&;t t
14941 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14942 $ac_datarootdir_hack
14944 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14945 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14948 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14949 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14950 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14952 which seems to be undefined. Please make sure it is defined" >&5
14953 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14954 which seems to be undefined. Please make sure it is defined" >&2;}
14956 rm -f "$ac_tmp/stdin"
14958 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14959 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14961 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14967 if test x"$ac_file" != x-; then
14969 $as_echo "/* $configure_input */" \
14970 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14971 } >"$ac_tmp/config.h" \
14972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14973 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14975 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14978 mv "$ac_tmp/config.h" "$ac_file" \
14979 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14982 $as_echo "/* $configure_input */" \
14983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14984 || as_fn_error $? "could not create -" "$LINENO" 5
14986 # Compute "$ac_file"'s index in $config_headers.
14989 for _am_header in $config_headers :; do
14990 case $_am_header in
14991 $_am_arg | $_am_arg:* )
14994 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14997 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14998 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14999 X"$_am_arg" : 'X\(//\)[^/]' \| \
15000 X"$_am_arg" : 'X\(//\)$' \| \
15001 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15002 $as_echo X"$_am_arg" |
15003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15007 /^X\(\/\/\)[^/].*/{
15019 s/.*/./; q'`/stamp-h$_am_stamp_count
15022 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15023 $as_echo "$as_me: executing $ac_file commands" >&6;}
15028 case $ac_file$ac_mode in
15029 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15030 # Older Autoconf quotes --file arguments for eval, but not when files
15031 # are listed without --file. Let's play safe and only enable the eval
15032 # if we detect the quoting.
15033 case $CONFIG_FILES in
15034 *\'*) eval set x "$CONFIG_FILES" ;;
15035 *) set x $CONFIG_FILES ;;
15040 # Strip MF so we end up with the name of the file.
15041 mf=`echo "$mf" | sed -e 's/:.*$//'`
15042 # Check whether this is an Automake generated Makefile or not.
15043 # We used to match only the files named 'Makefile.in', but
15044 # some people rename them; so instead we look at the file content.
15045 # Grep'ing the first line is not enough: some people post-process
15046 # each Makefile.in and add a new line on top of each file to say so.
15047 # Grep'ing the whole file is not good either: AIX grep has a line
15048 # limit of 2048, but all sed's we know have understand at least 4000.
15049 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15050 dirpart=`$as_dirname -- "$mf" ||
15051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15052 X"$mf" : 'X\(//\)[^/]' \| \
15053 X"$mf" : 'X\(//\)$' \| \
15054 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15060 /^X\(\/\/\)[^/].*/{
15076 # Extract the definition of DEPDIR, am__include, and am__quote
15077 # from the Makefile without running 'make'.
15078 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15079 test -z "$DEPDIR" && continue
15080 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15081 test -z "$am__include" && continue
15082 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15083 # Find all dependency output files, they are included files with
15084 # $(DEPDIR) in their names. We invoke sed twice because it is the
15085 # simplest approach to changing $(DEPDIR) to its actual value in the
15087 for file in `sed -n "
15088 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15089 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15090 # Make sure the directory exists.
15091 test -f "$dirpart/$file" && continue
15092 fdir=`$as_dirname -- "$file" ||
15093 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15094 X"$file" : 'X\(//\)[^/]' \| \
15095 X"$file" : 'X\(//\)$' \| \
15096 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15097 $as_echo X"$file" |
15098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15102 /^X\(\/\/\)[^/].*/{
15115 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15116 # echo "creating $dirpart/$file"
15117 echo '# dummy' > "$dirpart/$file"
15124 # See if we are running on zsh, and set the options which allow our
15125 # commands through without removal of \ escapes.
15126 if test -n "${ZSH_VERSION+set}" ; then
15127 setopt NO_GLOB_SUBST
15130 cfgfile="${ofile}T"
15131 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15134 cat <<_LT_EOF >> "$cfgfile"
15137 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15138 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15139 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15140 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15142 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15143 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15145 # Written by Gordon Matzigkeit, 1996
15147 # This file is part of GNU Libtool.
15149 # GNU Libtool is free software; you can redistribute it and/or
15150 # modify it under the terms of the GNU General Public License as
15151 # published by the Free Software Foundation; either version 2 of
15152 # the License, or (at your option) any later version.
15154 # As a special exception to the GNU General Public License,
15155 # if you distribute this file as part of a program or library that
15156 # is built using GNU Libtool, you may include this file under the
15157 # same distribution terms that you use for the rest of that program.
15159 # GNU Libtool is distributed in the hope that it will be useful,
15160 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15161 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15162 # GNU General Public License for more details.
15164 # You should have received a copy of the GNU General Public License
15165 # along with GNU Libtool; see the file COPYING. If not, a copy
15166 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15167 # obtained by writing to the Free Software Foundation, Inc.,
15168 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15171 # The names of the tagged configurations supported by this script.
15174 # ### BEGIN LIBTOOL CONFIG
15176 # Which release of libtool.m4 was used?
15177 macro_version=$macro_version
15178 macro_revision=$macro_revision
15180 # Whether or not to build static libraries.
15181 build_old_libs=$enable_static
15183 # Whether or not to build shared libraries.
15184 build_libtool_libs=$enable_shared
15186 # What type of objects to build.
15189 # Whether or not to optimize for fast installation.
15190 fast_install=$enable_fast_install
15192 # Shell to use when invoking shell scripts.
15195 # An echo program that protects backslashes.
15198 # The PATH separator for the build system.
15199 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15202 host_alias=$host_alias
15206 # The build system.
15207 build_alias=$build_alias
15211 # A sed program that does not truncate output.
15214 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15215 Xsed="\$SED -e 1s/^X//"
15217 # A grep program that handles long lines.
15223 # A literal string matcher.
15226 # A BSD- or MS-compatible name lister.
15229 # Whether we need soft or hard links.
15232 # What is the maximum length of a command?
15233 max_cmd_len=$max_cmd_len
15235 # Object file suffix (normally "o").
15238 # Executable file suffix (normally "").
15241 # whether the shell understands "unset".
15244 # turn spaces into newlines.
15247 # turn newlines into spaces.
15250 # convert \$build file names to \$host format.
15251 to_host_file_cmd=$lt_cv_to_host_file_cmd
15253 # convert \$build files to toolchain format.
15254 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15256 # An object symbol dumper.
15257 OBJDUMP=$lt_OBJDUMP
15259 # Method to check whether dependent libraries are shared objects.
15260 deplibs_check_method=$lt_deplibs_check_method
15262 # Command to use when deplibs_check_method = "file_magic".
15263 file_magic_cmd=$lt_file_magic_cmd
15265 # How to find potential files when deplibs_check_method = "file_magic".
15266 file_magic_glob=$lt_file_magic_glob
15268 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15269 want_nocaseglob=$lt_want_nocaseglob
15271 # DLL creation program.
15272 DLLTOOL=$lt_DLLTOOL
15274 # Command to associate shared and link libraries.
15275 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15280 # Flags to create an archive.
15281 AR_FLAGS=$lt_AR_FLAGS
15283 # How to feed a file listing to the archiver.
15284 archiver_list_spec=$lt_archiver_list_spec
15286 # A symbol stripping program.
15289 # Commands used to install an old-style archive.
15291 old_postinstall_cmds=$lt_old_postinstall_cmds
15292 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15294 # Whether to use a lock for old archive extraction.
15295 lock_old_archive_extraction=$lock_old_archive_extraction
15300 # LTCC compiler flags.
15301 LTCFLAGS=$lt_CFLAGS
15303 # Take the output of nm and produce a listing of raw symbols and C names.
15304 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15306 # Transform the output of nm in a proper C declaration.
15307 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15309 # Transform the output of nm in a C name address pair.
15310 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15312 # Transform the output of nm in a C name address pair when lib prefix is needed.
15313 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15315 # Specify filename containing input files for \$NM.
15316 nm_file_list_spec=$lt_nm_file_list_spec
15318 # The root where to search for dependent libraries,and in which our libraries should be installed.
15319 lt_sysroot=$lt_sysroot
15321 # The name of the directory that contains temporary libtool files.
15324 # Used to examine libraries when file_magic_cmd begins with "file".
15325 MAGIC_CMD=$MAGIC_CMD
15327 # Must we lock files when doing compilation?
15328 need_locks=$lt_need_locks
15331 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15333 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15334 DSYMUTIL=$lt_DSYMUTIL
15336 # Tool to change global to local symbols on Mac OS X.
15339 # Tool to manipulate fat objects and archives on Mac OS X.
15342 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15345 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15346 OTOOL64=$lt_OTOOL64
15348 # Old archive suffix (normally "a").
15351 # Shared library suffix (normally ".so").
15352 shrext_cmds=$lt_shrext_cmds
15354 # The commands to extract the exported symbol list from a shared archive.
15355 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15357 # Variables whose values should be saved in libtool wrapper scripts and
15358 # restored at link time.
15359 variables_saved_for_relink=$lt_variables_saved_for_relink
15361 # Do we need the "lib" prefix for modules?
15362 need_lib_prefix=$need_lib_prefix
15364 # Do we need a version for libraries?
15365 need_version=$need_version
15367 # Library versioning type.
15368 version_type=$version_type
15370 # Shared library runtime path variable.
15371 runpath_var=$runpath_var
15373 # Shared library path variable.
15374 shlibpath_var=$shlibpath_var
15376 # Is shlibpath searched before the hard-coded library search path?
15377 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15379 # Format of library name prefix.
15380 libname_spec=$lt_libname_spec
15382 # List of archive names. First name is the real one, the rest are links.
15383 # The last name is the one that the linker finds with -lNAME
15384 library_names_spec=$lt_library_names_spec
15386 # The coded name of the library, if different from the real name.
15387 soname_spec=$lt_soname_spec
15389 # Permission mode override for installation of shared libraries.
15390 install_override_mode=$lt_install_override_mode
15392 # Command to use after installation of a shared archive.
15393 postinstall_cmds=$lt_postinstall_cmds
15395 # Command to use after uninstallation of a shared archive.
15396 postuninstall_cmds=$lt_postuninstall_cmds
15398 # Commands used to finish a libtool library installation in a directory.
15399 finish_cmds=$lt_finish_cmds
15401 # As "finish_cmds", except a single script fragment to be evaled but
15403 finish_eval=$lt_finish_eval
15405 # Whether we should hardcode library paths into libraries.
15406 hardcode_into_libs=$hardcode_into_libs
15408 # Compile-time system search path for libraries.
15409 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15411 # Run-time system search path for libraries.
15412 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15414 # Whether dlopen is supported.
15415 dlopen_support=$enable_dlopen
15417 # Whether dlopen of programs is supported.
15418 dlopen_self=$enable_dlopen_self
15420 # Whether dlopen of statically linked programs is supported.
15421 dlopen_self_static=$enable_dlopen_self_static
15423 # Commands to strip libraries.
15424 old_striplib=$lt_old_striplib
15425 striplib=$lt_striplib
15428 # The linker used to build libraries.
15431 # How to create reloadable object files.
15432 reload_flag=$lt_reload_flag
15433 reload_cmds=$lt_reload_cmds
15435 # Commands used to build an old-style archive.
15436 old_archive_cmds=$lt_old_archive_cmds
15438 # A language specific compiler.
15441 # Is the compiler the GNU compiler?
15444 # Compiler flag to turn off builtin functions.
15445 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15447 # Additional compiler flags for building library objects.
15448 pic_flag=$lt_lt_prog_compiler_pic
15450 # How to pass a linker flag through the compiler.
15451 wl=$lt_lt_prog_compiler_wl
15453 # Compiler flag to prevent dynamic linking.
15454 link_static_flag=$lt_lt_prog_compiler_static
15456 # Does compiler simultaneously support -c and -o options?
15457 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15459 # Whether or not to add -lc for building shared libraries.
15460 build_libtool_need_lc=$archive_cmds_need_lc
15462 # Whether or not to disallow shared libs when runtime libs are static.
15463 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15465 # Compiler flag to allow reflexive dlopens.
15466 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15468 # Compiler flag to generate shared objects directly from archives.
15469 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15471 # Whether the compiler copes with passing no objects directly.
15472 compiler_needs_object=$lt_compiler_needs_object
15474 # Create an old-style archive from a shared archive.
15475 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15477 # Create a temporary old-style archive to link instead of a shared archive.
15478 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15480 # Commands used to build a shared archive.
15481 archive_cmds=$lt_archive_cmds
15482 archive_expsym_cmds=$lt_archive_expsym_cmds
15484 # Commands used to build a loadable module if different from building
15485 # a shared archive.
15486 module_cmds=$lt_module_cmds
15487 module_expsym_cmds=$lt_module_expsym_cmds
15489 # Whether we are building with GNU ld or not.
15490 with_gnu_ld=$lt_with_gnu_ld
15492 # Flag that allows shared libraries with undefined symbols to be built.
15493 allow_undefined_flag=$lt_allow_undefined_flag
15495 # Flag that enforces no undefined symbols.
15496 no_undefined_flag=$lt_no_undefined_flag
15498 # Flag to hardcode \$libdir into a binary during linking.
15499 # This must work even if \$libdir does not exist
15500 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15502 # Whether we need a single "-rpath" flag with a separated argument.
15503 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15505 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15506 # DIR into the resulting binary.
15507 hardcode_direct=$hardcode_direct
15509 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15510 # DIR into the resulting binary and the resulting library dependency is
15511 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15512 # library is relocated.
15513 hardcode_direct_absolute=$hardcode_direct_absolute
15515 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15516 # into the resulting binary.
15517 hardcode_minus_L=$hardcode_minus_L
15519 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15520 # into the resulting binary.
15521 hardcode_shlibpath_var=$hardcode_shlibpath_var
15523 # Set to "yes" if building a shared library automatically hardcodes DIR
15524 # into the library and all subsequent libraries and executables linked
15526 hardcode_automatic=$hardcode_automatic
15528 # Set to yes if linker adds runtime paths of dependent libraries
15529 # to runtime path list.
15530 inherit_rpath=$inherit_rpath
15532 # Whether libtool must link a program against all its dependency libraries.
15533 link_all_deplibs=$link_all_deplibs
15535 # Set to "yes" if exported symbols are required.
15536 always_export_symbols=$always_export_symbols
15538 # The commands to list exported symbols.
15539 export_symbols_cmds=$lt_export_symbols_cmds
15541 # Symbols that should not be listed in the preloaded symbols.
15542 exclude_expsyms=$lt_exclude_expsyms
15544 # Symbols that must always be exported.
15545 include_expsyms=$lt_include_expsyms
15547 # Commands necessary for linking programs (against libraries) with templates.
15548 prelink_cmds=$lt_prelink_cmds
15550 # Commands necessary for finishing linking programs.
15551 postlink_cmds=$lt_postlink_cmds
15553 # Specify filename containing input files.
15554 file_list_spec=$lt_file_list_spec
15556 # How to hardcode a shared library path into an executable.
15557 hardcode_action=$hardcode_action
15559 # ### END LIBTOOL CONFIG
15565 cat <<\_LT_EOF >> "$cfgfile"
15566 # AIX sometimes has problems with the GCC collect2 program. For some
15567 # reason, if we set the COLLECT_NAMES environment variable, the problems
15568 # vanish in a puff of smoke.
15569 if test "X${COLLECT_NAMES+set}" != Xset; then
15571 export COLLECT_NAMES
15578 ltmain="$ac_aux_dir/ltmain.sh"
15581 # We use sed instead of cat because bash on DJGPP gets confused if
15582 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15583 # text mode, it properly converts lines to CR/LF. This bash problem
15584 # is reportedly fixed, but why not run on old versions too?
15585 sed '$q' "$ltmain" >> "$cfgfile" \
15586 || (rm -f "$cfgfile"; exit 1)
15588 if test x"$xsi_shell" = xyes; then
15589 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15593 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15594 \ * ) func_dirname_result="${3}" ;;\
15596 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15597 && mv -f "$cfgfile.tmp" "$cfgfile" \
15598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15599 test 0 -eq $? || _lt_function_replace_fail=:
15602 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15605 \ func_basename_result="${1##*/}"\
15606 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15607 && mv -f "$cfgfile.tmp" "$cfgfile" \
15608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15609 test 0 -eq $? || _lt_function_replace_fail=:
15612 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15613 func_dirname_and_basename ()\
15616 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15617 \ * ) func_dirname_result="${3}" ;;\
15619 \ func_basename_result="${1##*/}"\
15620 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15621 && mv -f "$cfgfile.tmp" "$cfgfile" \
15622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15623 test 0 -eq $? || _lt_function_replace_fail=:
15626 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15629 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15630 \ # positional parameters, so assign one to ordinary parameter first.\
15631 \ func_stripname_result=${3}\
15632 \ func_stripname_result=${func_stripname_result#"${1}"}\
15633 \ func_stripname_result=${func_stripname_result%"${2}"}\
15634 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15635 && mv -f "$cfgfile.tmp" "$cfgfile" \
15636 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15637 test 0 -eq $? || _lt_function_replace_fail=:
15640 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15641 func_split_long_opt ()\
15643 \ func_split_long_opt_name=${1%%=*}\
15644 \ func_split_long_opt_arg=${1#*=}\
15645 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15646 && mv -f "$cfgfile.tmp" "$cfgfile" \
15647 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15648 test 0 -eq $? || _lt_function_replace_fail=:
15651 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15652 func_split_short_opt ()\
15654 \ func_split_short_opt_arg=${1#??}\
15655 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15656 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15657 && mv -f "$cfgfile.tmp" "$cfgfile" \
15658 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15659 test 0 -eq $? || _lt_function_replace_fail=:
15662 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15666 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15667 \ *) func_lo2o_result=${1} ;;\
15669 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15670 && mv -f "$cfgfile.tmp" "$cfgfile" \
15671 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15672 test 0 -eq $? || _lt_function_replace_fail=:
15675 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15678 func_xform_result=${1%.*}.lo\
15679 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15680 && mv -f "$cfgfile.tmp" "$cfgfile" \
15681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15682 test 0 -eq $? || _lt_function_replace_fail=:
15685 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15688 func_arith_result=$(( $* ))\
15689 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15690 && mv -f "$cfgfile.tmp" "$cfgfile" \
15691 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15692 test 0 -eq $? || _lt_function_replace_fail=:
15695 sed -e '/^func_len ()$/,/^} # func_len /c\
15698 func_len_result=${#1}\
15699 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15700 && mv -f "$cfgfile.tmp" "$cfgfile" \
15701 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15702 test 0 -eq $? || _lt_function_replace_fail=:
15706 if test x"$lt_shell_append" = xyes; then
15707 sed -e '/^func_append ()$/,/^} # func_append /c\
15710 eval "${1}+=\\${2}"\
15711 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15712 && mv -f "$cfgfile.tmp" "$cfgfile" \
15713 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15714 test 0 -eq $? || _lt_function_replace_fail=:
15717 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15718 func_append_quoted ()\
15720 \ func_quote_for_eval "${2}"\
15721 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15722 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15723 && mv -f "$cfgfile.tmp" "$cfgfile" \
15724 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15725 test 0 -eq $? || _lt_function_replace_fail=:
15728 # Save a `func_append' function call where possible by direct use of '+='
15729 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15730 && mv -f "$cfgfile.tmp" "$cfgfile" \
15731 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15732 test 0 -eq $? || _lt_function_replace_fail=:
15734 # Save a `func_append' function call even when '+=' is not available
15735 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15736 && mv -f "$cfgfile.tmp" "$cfgfile" \
15737 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15738 test 0 -eq $? || _lt_function_replace_fail=:
15741 if test x"$_lt_function_replace_fail" = x":"; then
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15743 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15747 mv -f "$cfgfile" "$ofile" ||
15748 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15759 ac_clean_files=$ac_clean_files_save
15761 test $ac_write_fail = 0 ||
15762 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15765 # configure is writing to config.log, and then calls config.status.
15766 # config.status does its own redirection, appending to config.log.
15767 # Unfortunately, on DOS this fails, as config.log is still kept open
15768 # by configure, so config.status won't be able to write to it; its
15769 # output is simply discarded. So we exec the FD to /dev/null,
15770 # effectively closing config.log, so it can be properly (re)opened and
15771 # appended to by config.status. When coming back to configure, we
15772 # need to make the FD available again.
15773 if test "$no_create" != yes; then
15775 ac_config_status_args=
15776 test "$silent" = yes &&
15777 ac_config_status_args="$ac_config_status_args --quiet"
15779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15782 # would make configure fail if this is the last instruction.
15783 $ac_cs_success || as_fn_exit 1
15785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15787 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}