2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gumd 0.0.1.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
569 PACKAGE_TARNAME='gumd'
570 PACKAGE_VERSION='0.0.1'
571 PACKAGE_STRING='gumd 0.0.1'
573 PACKAGE_URL='https://github.com/01org/gumd'
575 ac_unique_file="src/daemon/main.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
612 ac_subst_vars='am__EXEEXT_FALSE
627 GTK_DOC_USE_REBASE_FALSE
628 GTK_DOC_USE_REBASE_TRUE
629 GTK_DOC_USE_LIBTOOL_FALSE
630 GTK_DOC_USE_LIBTOOL_TRUE
631 GTK_DOC_BUILD_PDF_FALSE
632 GTK_DOC_BUILD_PDF_TRUE
633 GTK_DOC_BUILD_HTML_FALSE
634 GTK_DOC_BUILD_HTML_TRUE
647 USE_DBUS_SERVICE_FALSE
648 USE_DBUS_SERVICE_TRUE
649 HAVE_SYSTEM_BUS_FALSE
658 SET_PERMISSIONS_FALSE
665 HAVE_LIBTLM_NFC_FALSE
735 INSTALL_STRIP_PROGRAM
777 program_transform_name
790 enable_option_checking
792 enable_dependency_tracking
812 enable_defadmingroups
820 ac_precious_vars='build_alias
844 # Initialize some variables set by options.
846 ac_init_version=false
847 ac_unrecognized_opts=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name=s,x,x,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\$ac_option
904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
920 -build | --build | --buil | --bui | --bu)
921 ac_prev=build_alias ;;
922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923 build_alias=$ac_optarg ;;
925 -cache-file | --cache-file | --cache-fil | --cache-fi \
926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927 ac_prev=cache_file ;;
928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930 cache_file=$ac_optarg ;;
933 cache_file=config.cache ;;
935 -datadir | --datadir | --datadi | --datad)
937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
938 datadir=$ac_optarg ;;
940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941 | --dataroo | --dataro | --datar)
942 ac_prev=datarootdir ;;
943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945 datarootdir=$ac_optarg ;;
947 -disable-* | --disable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error $? "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
961 eval enable_$ac_useropt=no ;;
963 -docdir | --docdir | --docdi | --doc | --do)
965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
973 -enable-* | --enable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
987 eval enable_$ac_useropt=\$ac_optarg ;;
989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991 | --exec | --exe | --ex)
992 ac_prev=exec_prefix ;;
993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995 | --exec=* | --exe=* | --ex=*)
996 exec_prefix=$ac_optarg ;;
998 -gas | --gas | --ga | --g)
999 # Obsolete; use --with-gas.
1002 -help | --help | --hel | --he | -h)
1003 ac_init_help=long ;;
1004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005 ac_init_help=recursive ;;
1006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007 ac_init_help=short ;;
1009 -host | --host | --hos | --ho)
1010 ac_prev=host_alias ;;
1011 -host=* | --host=* | --hos=* | --ho=*)
1012 host_alias=$ac_optarg ;;
1014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1018 htmldir=$ac_optarg ;;
1020 -includedir | --includedir | --includedi | --included | --include \
1021 | --includ | --inclu | --incl | --inc)
1022 ac_prev=includedir ;;
1023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024 | --includ=* | --inclu=* | --incl=* | --inc=*)
1025 includedir=$ac_optarg ;;
1027 -infodir | --infodir | --infodi | --infod | --info | --inf)
1029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030 infodir=$ac_optarg ;;
1032 -libdir | --libdir | --libdi | --libd)
1034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035 libdir=$ac_optarg ;;
1037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038 | --libexe | --libex | --libe)
1039 ac_prev=libexecdir ;;
1040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041 | --libexe=* | --libex=* | --libe=*)
1042 libexecdir=$ac_optarg ;;
1044 -localedir | --localedir | --localedi | --localed | --locale)
1045 ac_prev=localedir ;;
1046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047 localedir=$ac_optarg ;;
1049 -localstatedir | --localstatedir | --localstatedi | --localstated \
1050 | --localstate | --localstat | --localsta | --localst | --locals)
1051 ac_prev=localstatedir ;;
1052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054 localstatedir=$ac_optarg ;;
1056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059 mandir=$ac_optarg ;;
1061 -nfp | --nfp | --nf)
1062 # Obsolete; use --without-fp.
1065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066 | --no-cr | --no-c | -n)
1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075 | --oldin | --oldi | --old | --ol | --o)
1076 ac_prev=oldincludedir ;;
1077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080 oldincludedir=$ac_optarg ;;
1082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085 prefix=$ac_optarg ;;
1087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088 | --program-pre | --program-pr | --program-p)
1089 ac_prev=program_prefix ;;
1090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092 program_prefix=$ac_optarg ;;
1094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095 | --program-suf | --program-su | --program-s)
1096 ac_prev=program_suffix ;;
1097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099 program_suffix=$ac_optarg ;;
1101 -program-transform-name | --program-transform-name \
1102 | --program-transform-nam | --program-transform-na \
1103 | --program-transform-n | --program-transform- \
1104 | --program-transform | --program-transfor \
1105 | --program-transfo | --program-transf \
1106 | --program-trans | --program-tran \
1107 | --progr-tra | --program-tr | --program-t)
1108 ac_prev=program_transform_name ;;
1109 -program-transform-name=* | --program-transform-name=* \
1110 | --program-transform-nam=* | --program-transform-na=* \
1111 | --program-transform-n=* | --program-transform-=* \
1112 | --program-transform=* | --program-transfor=* \
1113 | --program-transfo=* | --program-transf=* \
1114 | --program-trans=* | --program-tran=* \
1115 | --progr-tra=* | --program-tr=* | --program-t=*)
1116 program_transform_name=$ac_optarg ;;
1118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121 pdfdir=$ac_optarg ;;
1123 -psdir | --psdir | --psdi | --psd | --ps)
1125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129 | -silent | --silent | --silen | --sile | --sil)
1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1136 sbindir=$ac_optarg ;;
1138 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140 | --sharedst | --shareds | --shared | --share | --shar \
1142 ac_prev=sharedstatedir ;;
1143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1147 sharedstatedir=$ac_optarg ;;
1149 -site | --site | --sit)
1151 -site=* | --site=* | --sit=*)
1154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157 srcdir=$ac_optarg ;;
1159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160 | --syscon | --sysco | --sysc | --sys | --sy)
1161 ac_prev=sysconfdir ;;
1162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164 sysconfdir=$ac_optarg ;;
1166 -target | --target | --targe | --targ | --tar | --ta | --t)
1167 ac_prev=target_alias ;;
1168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169 target_alias=$ac_optarg ;;
1171 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1174 -version | --version | --versio | --versi | --vers | -V)
1175 ac_init_version=: ;;
1178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=\$ac_optarg ;;
1193 -without-* | --without-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1207 eval with_$ac_useropt=no ;;
1210 # Obsolete; use --with-x.
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' | [0-9]* | *[!_$as_cr_alnum]* )
1236 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error $? "missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265 # Check all directory arguments for consistency.
1266 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val=\$$ac_var
1272 # Remove trailing slashes.
1275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\$ac_val;;
1278 # Be sure to have absolute directory names.
1280 [\\/$]* | ?:[\\/]* ) continue;;
1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1291 target=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295 if test "x$build_alias" = x; then
1296 cross_compiling=maybe
1297 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1298 If a cross compiler is detected then cross compile mode will be used" >&2
1299 elif test "x$build_alias" != "x$host_alias"; then
1305 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1307 test "$silent" = yes && exec 6>/dev/null
1310 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1311 ac_ls_di=`ls -di .` &&
1312 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1313 as_fn_error $? "working directory cannot be determined"
1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315 as_fn_error $? "pwd does not report name of working directory"
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320 ac_srcdir_defaulted=yes
1321 # Try the directory containing this script, then the parent directory.
1322 ac_confdir=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324 X"$as_myself" : 'X\(//\)[^/]' \| \
1325 X"$as_myself" : 'X\(//\)$' \| \
1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1350 ac_srcdir_defaulted=no
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1354 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1356 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1358 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1360 # When building in place, set srcdir=.
1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364 # Remove unnecessary trailing slashes from srcdir.
1365 # Double slashes in file names in object file debugging info
1366 # mess up M-x gdb in Emacs.
1368 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1370 for ac_var in $ac_precious_vars; do
1371 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_env_${ac_var}_value=\$${ac_var}
1373 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1374 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1378 # Report the --help message.
1380 if test "$ac_init_help" = "long"; then
1381 # Omit some internal or obsolete options to make the list less imposing.
1382 # This message is too long to be a string in the A/UX 3.1 sh.
1384 \`configure' configures gumd 0.0.1 to adapt to many kinds of systems.
1386 Usage: $0 [OPTION]... [VAR=VALUE]...
1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1389 VAR=VALUE. See below for descriptions of some of the useful variables.
1391 Defaults for the options are specified in brackets.
1394 -h, --help display this help and exit
1395 --help=short display options specific to this package
1396 --help=recursive display the short help of all the included packages
1397 -V, --version display version information and exit
1398 -q, --quiet, --silent do not print \`checking ...' messages
1399 --cache-file=FILE cache test results in FILE [disabled]
1400 -C, --config-cache alias for \`--cache-file=config.cache'
1401 -n, --no-create do not create output files
1402 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1404 Installation directories:
1405 --prefix=PREFIX install architecture-independent files in PREFIX
1406 [$ac_default_prefix]
1407 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1410 By default, \`make install' will install all the files in
1411 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1412 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1413 for instance \`--prefix=\$HOME'.
1415 For better control, use the options below.
1417 Fine tuning of the installation directories:
1418 --bindir=DIR user executables [EPREFIX/bin]
1419 --sbindir=DIR system admin executables [EPREFIX/sbin]
1420 --libexecdir=DIR program executables [EPREFIX/libexec]
1421 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1422 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1423 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1424 --libdir=DIR object code libraries [EPREFIX/lib]
1425 --includedir=DIR C header files [PREFIX/include]
1426 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1427 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1428 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1429 --infodir=DIR info documentation [DATAROOTDIR/info]
1430 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1431 --mandir=DIR man documentation [DATAROOTDIR/man]
1432 --docdir=DIR documentation root [DATAROOTDIR/doc/gumd]
1433 --htmldir=DIR html documentation [DOCDIR]
1434 --dvidir=DIR dvi documentation [DOCDIR]
1435 --pdfdir=DIR pdf documentation [DOCDIR]
1436 --psdir=DIR ps documentation [DOCDIR]
1442 --program-prefix=PREFIX prepend PREFIX to installed program names
1443 --program-suffix=SUFFIX append SUFFIX to installed program names
1444 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1447 --build=BUILD configure for building on BUILD [guessed]
1448 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1452 if test -n "$ac_init_help"; then
1453 case $ac_init_help in
1454 short | recursive ) echo "Configuration of gumd 0.0.1:";;
1459 --disable-option-checking ignore unrecognized --enable/--with options
1460 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1461 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1462 --enable-silent-rules less verbose build output (undo: `make V=1')
1463 --disable-silent-rules verbose build output (undo: `make V=0')
1464 --disable-dependency-tracking speeds up one-time build
1465 --enable-dependency-tracking do not reject slow dependency extractors
1466 --enable-static[=PKGS] build static libraries [default=no]
1467 --enable-shared[=PKGS] build shared libraries [default=yes]
1468 --enable-fast-install[=PKGS]
1469 optimize for fast installation [default=yes]
1470 --disable-libtool-lock avoid locking (might break parallel builds)
1471 --enable-cov build to be used for coverage analysis
1472 --enable-distcheck build for distcheck target
1473 --enable-dbus-type=dbus-type specify daemon dbus type:
1474 p2p: uses peer to peer dbus
1475 session: uses session message bus
1476 system(default): uses system message bus
1477 --enable-tests enable tests features
1478 --enable-debug enable debug features
1479 --enable-passwdfile=path enable passwd file at location "path"
1480 instead of default "/etc/passwd"
1481 --enable-shadowfile=path enable shadow file at location "path"
1482 instead of default "/etc/shadow"
1483 --enable-groupfile=path enable group file at location "path"
1484 instead of default "/etc/group"
1485 --enable-gshadowfile=path enable gshadow file at location "path"
1486 instead of default "/etc/gshadow"
1487 --enable-homedirpref=path enable home directory prefix at "path"
1488 instead of default "/home"
1489 --enable-shell=path enable shell at location "path"
1490 instead of default "/bin/bash"
1491 --enable-defusergroups=groups enable default user groups by
1492 "groups" instead of default ""
1493 --enable-defadmingroups=groups enable default groups for admin
1494 user by "groups" instead of default ""
1495 --enable-skeldir=path enable skel dir at location "path" instead
1496 of default "/etc/skel"
1497 --enable-encryptalgo=algo enable encrypt algorithm as specified
1498 by "algo" instead of default "SHA512". Other supported algorithms are
1499 'MD5', 'SHA256', 'DES'
1500 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1501 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1502 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1509 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1510 --with-sysroot=DIR Search for dependent libraries within DIR
1511 (or the compiler's sysroot if not specified).
1512 --with-html-dir=PATH path to installed docs
1514 Some influential environment variables:
1515 CC C compiler command
1516 CFLAGS C compiler flags
1517 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1518 nonstandard directory <lib dir>
1519 LIBS libraries to pass to the linker, e.g. -l<library>
1520 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1521 you have headers in a nonstandard directory <include dir>
1523 PKG_CONFIG path to pkg-config utility
1525 directories to add to pkg-config's search path
1527 path overriding pkg-config's built-in search path
1528 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1529 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1531 C compiler flags for LIBTLM_NFC, overriding pkg-config
1533 linker flags for LIBTLM_NFC, overriding pkg-config
1535 C compiler flags for CHECK, overriding pkg-config
1536 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1537 DBus_CFLAGS C compiler flags for DBus, overriding pkg-config
1538 DBus_LIBS linker flags for DBus, overriding pkg-config
1540 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1542 linker flags for GTKDOC_DEPS, overriding pkg-config
1544 Use these variables to override the choices made by `configure' or to help
1545 it to find libraries and programs with nonstandard names/locations.
1547 Report bugs to the package provider.
1548 gumd home page: <https://github.com/01org/gumd>.
1553 if test "$ac_init_help" = "recursive"; then
1554 # If there are subdirs, report their specific --help.
1555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1556 test -d "$ac_dir" ||
1557 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1565 # A ".." for each directory in $ac_dir_suffix.
1566 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1567 case $ac_top_builddir_sub in
1568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1572 ac_abs_top_builddir=$ac_pwd
1573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1574 # for backward compatibility:
1575 ac_top_builddir=$ac_top_build_prefix
1578 .) # We are building in place.
1580 ac_top_srcdir=$ac_top_builddir_sub
1581 ac_abs_top_srcdir=$ac_pwd ;;
1582 [\\/]* | ?:[\\/]* ) # Absolute name.
1583 ac_srcdir=$srcdir$ac_dir_suffix;
1584 ac_top_srcdir=$srcdir
1585 ac_abs_top_srcdir=$srcdir ;;
1587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1588 ac_top_srcdir=$ac_top_build_prefix$srcdir
1589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1593 cd "$ac_dir" || { ac_status=$?; continue; }
1594 # Check for guested configure.
1595 if test -f "$ac_srcdir/configure.gnu"; then
1597 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1598 elif test -f "$ac_srcdir/configure"; then
1600 $SHELL "$ac_srcdir/configure" --help=recursive
1602 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1604 cd "$ac_pwd" || { ac_status=$?; break; }
1608 test -n "$ac_init_help" && exit $ac_status
1609 if $ac_init_version; then
1611 gumd configure 0.0.1
1612 generated by GNU Autoconf 2.68
1614 Copyright (C) 2010 Free Software Foundation, Inc.
1615 This configure script is free software; the Free Software Foundation
1616 gives unlimited permission to copy, distribute and modify it.
1621 ## ------------------------ ##
1622 ## Autoconf initialization. ##
1623 ## ------------------------ ##
1625 # ac_fn_c_try_compile LINENO
1626 # --------------------------
1627 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_compile ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 rm -f conftest.$ac_objext
1632 if { { ac_try="$ac_compile"
1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_compile") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && {
1648 test -z "$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1650 } && test -s conftest.$ac_objext; then :
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1661 } # ac_fn_c_try_compile
1663 # ac_fn_c_try_link LINENO
1664 # -----------------------
1665 # Try to link conftest.$ac_ext, and return whether this succeeded.
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 rm -f conftest.$ac_objext conftest$ac_exeext
1670 if { { ac_try="$ac_link"
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_link") 2>conftest.err
1679 if test -s conftest.err; then
1680 grep -v '^ *+' conftest.err >conftest.er1
1681 cat conftest.er1 >&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && {
1686 test -z "$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1688 } && test -s conftest$ac_exeext && {
1689 test "$cross_compiling" = yes ||
1690 $as_test_x conftest$ac_exeext
1694 $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1699 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1700 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1701 # interfere with the next link command; also delete a directory that is
1702 # left behind by Apple's compiler. We do this before executing the actions.
1703 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1707 } # ac_fn_c_try_link
1709 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1710 # -------------------------------------------------------
1711 # Tests whether HEADER exists and can be compiled using the include files in
1712 # INCLUDES, setting the cache variable VAR accordingly.
1713 ac_fn_c_check_header_compile ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 $as_echo_n "checking for $2... " >&6; }
1718 if eval \${$3+:} false; then :
1719 $as_echo_n "(cached) " >&6
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1726 if ac_fn_c_try_compile "$LINENO"; then :
1731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735 $as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 } # ac_fn_c_check_header_compile
1740 # ac_fn_c_try_cpp LINENO
1741 # ----------------------
1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_cpp conftest.$ac_ext"
1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1755 if test -s conftest.err; then
1756 grep -v '^ *+' conftest.err >conftest.er1
1757 cat conftest.er1 >&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } > conftest.i && {
1762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.$ac_ext >&5
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status $ac_retval
1777 # ac_fn_c_try_run LINENO
1778 # ----------------------
1779 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1780 # that executables *can* be run.
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 if { { ac_try="$ac_link"
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_link") 2>&5
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1795 { { case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_try") 2>&5
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; }; }; then :
1807 $as_echo "$as_me: program exited with status $ac_status" >&5
1808 $as_echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.$ac_ext >&5
1811 ac_retval=$ac_status
1813 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1832 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1834 #define $2 innocuous_$2
1836 /* System header to define __stub macros and hopefully few prototypes,
1837 which can conflict with char $2 (); below.
1838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1839 <limits.h> exists even on freestanding compilers. */
1842 # include <limits.h>
1844 # include <assert.h>
1849 /* Override any GCC internal prototype to avoid an error.
1850 Use char because int might match the return type of a GCC
1851 builtin and then its argument prototype would still apply. */
1856 /* The GNU C library defines this for functions which it implements
1857 to always fail with ENOSYS. Some functions are actually named
1858 something starting with __ and the normal name is an alias. */
1859 #if defined __stub_$2 || defined __stub___$2
1871 if ac_fn_c_try_link "$LINENO"; then :
1876 rm -f core conftest.err conftest.$ac_objext \
1877 conftest$ac_exeext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_func
1886 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1887 # -------------------------------------------------------
1888 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1889 # the include files in INCLUDES and setting the cache variable VAR
1891 ac_fn_c_check_header_mongrel ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 if eval \${$3+:} false; then :
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \${$3+:} false; then :
1898 $as_echo_n "(cached) " >&6
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1904 # Is the header compilable?
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1906 $as_echo_n "checking $2 usability... " >&6; }
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1912 if ac_fn_c_try_compile "$LINENO"; then :
1913 ac_header_compiler=yes
1915 ac_header_compiler=no
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1919 $as_echo "$ac_header_compiler" >&6; }
1921 # Is the header present?
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1923 $as_echo_n "checking $2 presence... " >&6; }
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1928 if ac_fn_c_try_cpp "$LINENO"; then :
1929 ac_header_preproc=yes
1931 ac_header_preproc=no
1933 rm -f conftest.err conftest.i conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1935 $as_echo "$ac_header_preproc" >&6; }
1937 # So? What about this header?
1938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1941 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1943 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1947 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1949 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1951 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1953 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1955 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if eval \${$3+:} false; then :
1961 $as_echo_n "(cached) " >&6
1963 eval "$3=\$ac_header_compiler"
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 } # ac_fn_c_check_header_mongrel
1972 cat >config.log <<_ACEOF
1973 This file contains any messages produced by compilers while
1974 running configure, to aid debugging if configure makes a mistake.
1976 It was created by gumd $as_me 0.0.1, which was
1977 generated by GNU Autoconf 2.68. Invocation command line was
1989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1993 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1996 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1998 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1999 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2001 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2002 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2003 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2004 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir=.
2013 $as_echo "PATH: $as_dir"
2029 # Keep a trace of the command line.
2030 # Strip out --no-create and --no-recursion so they do not pile up.
2031 # Strip out --silent because we don't want to record it for future runs.
2032 # Also quote any args containing shell meta-characters.
2033 # Make two passes to allow for proper duplicate-argument suppression.
2037 ac_must_keep_next=false
2043 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2045 | -silent | --silent | --silen | --sile | --sil)
2048 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2051 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2053 as_fn_append ac_configure_args1 " '$ac_arg'"
2054 if test $ac_must_keep_next = true; then
2055 ac_must_keep_next=false # Got value, back to normal.
2058 *=* | --config-cache | -C | -disable-* | --disable-* \
2059 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2060 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2061 | -with-* | --with-* | -without-* | --without-* | --x)
2062 case "$ac_configure_args0 " in
2063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2066 -* ) ac_must_keep_next=true ;;
2069 as_fn_append ac_configure_args " '$ac_arg'"
2074 { ac_configure_args0=; unset ac_configure_args0;}
2075 { ac_configure_args1=; unset ac_configure_args1;}
2077 # When interrupted or exit'd, cleanup temporary files, and complete
2078 # config.log. We remove comments because anyway the quotes in there
2079 # would cause problems or look ugly.
2080 # WARNING: Use '\'' to represent an apostrophe within the trap.
2081 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2082 trap 'exit_status=$?
2083 # Save into config.log some information that might help in debugging.
2087 $as_echo "## ---------------- ##
2088 ## Cache variables. ##
2089 ## ---------------- ##"
2091 # The following way of writing the cache mishandles newlines in values,
2093 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2094 eval ac_val=\$$ac_var
2098 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2099 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2102 _ | IFS | as_nl) ;; #(
2103 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2104 *) { eval $ac_var=; unset $ac_var;} ;;
2109 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2110 *${as_nl}ac_space=\ *)
2112 "s/'\''/'\''\\\\'\'''\''/g;
2113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2116 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2123 $as_echo "## ----------------- ##
2124 ## Output variables. ##
2125 ## ----------------- ##"
2127 for ac_var in $ac_subst_vars
2129 eval ac_val=\$$ac_var
2131 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2133 $as_echo "$ac_var='\''$ac_val'\''"
2137 if test -n "$ac_subst_files"; then
2138 $as_echo "## ------------------- ##
2139 ## File substitutions. ##
2140 ## ------------------- ##"
2142 for ac_var in $ac_subst_files
2144 eval ac_val=\$$ac_var
2146 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148 $as_echo "$ac_var='\''$ac_val'\''"
2153 if test -s confdefs.h; then
2154 $as_echo "## ----------- ##
2161 test "$ac_signal" != 0 &&
2162 $as_echo "$as_me: caught signal $ac_signal"
2163 $as_echo "$as_me: exit $exit_status"
2165 rm -f core *.core core.conftest.* &&
2166 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2169 for ac_signal in 1 2 13 15; do
2170 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2175 rm -f -r conftest* confdefs.h
2177 $as_echo "/* confdefs.h */" > confdefs.h
2179 # Predefined preprocessor variables.
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_NAME "$PACKAGE_NAME"
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_STRING "$PACKAGE_STRING"
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_URL "$PACKAGE_URL"
2206 # Let the site file select an alternate cache file if it wants to.
2207 # Prefer an explicitly selected file to automatically selected ones.
2210 if test -n "$CONFIG_SITE"; then
2211 # We do not want a PATH search for config.site.
2212 case $CONFIG_SITE in #((
2213 -*) ac_site_file1=./$CONFIG_SITE;;
2214 */*) ac_site_file1=$CONFIG_SITE;;
2215 *) ac_site_file1=./$CONFIG_SITE;;
2217 elif test "x$prefix" != xNONE; then
2218 ac_site_file1=$prefix/share/config.site
2219 ac_site_file2=$prefix/etc/config.site
2221 ac_site_file1=$ac_default_prefix/share/config.site
2222 ac_site_file2=$ac_default_prefix/etc/config.site
2224 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2226 test "x$ac_site_file" = xNONE && continue
2227 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2229 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2230 sed 's/^/| /' "$ac_site_file" >&5
2232 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 as_fn_error $? "failed to load site script $ac_site_file
2235 See \`config.log' for more details" "$LINENO" 5; }
2239 if test -r "$cache_file"; then
2240 # Some versions of bash will fail to source /dev/null (special files
2241 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2242 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2244 $as_echo "$as_me: loading cache $cache_file" >&6;}
2246 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2247 *) . "./$cache_file";;
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2252 $as_echo "$as_me: creating cache $cache_file" >&6;}
2256 # Check that the precious variables saved in the cache have kept the same
2258 ac_cache_corrupted=false
2259 for ac_var in $ac_precious_vars; do
2260 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2261 eval ac_new_set=\$ac_env_${ac_var}_set
2262 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2263 eval ac_new_val=\$ac_env_${ac_var}_value
2264 case $ac_old_set,$ac_new_set in
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2267 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2268 ac_cache_corrupted=: ;;
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2271 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2272 ac_cache_corrupted=: ;;
2275 if test "x$ac_old_val" != "x$ac_new_val"; then
2276 # differences in whitespace do not lead to failure.
2277 ac_old_val_w=`echo x $ac_old_val`
2278 ac_new_val_w=`echo x $ac_new_val`
2279 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2281 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2282 ac_cache_corrupted=:
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2285 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2286 eval $ac_var=\$ac_old_val
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2289 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2291 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2294 # Pass precious variables to config.status.
2295 if test "$ac_new_set" = set; then
2297 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2298 *) ac_arg=$ac_var=$ac_new_val ;;
2300 case " $ac_configure_args " in
2301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2302 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2306 if $ac_cache_corrupted; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2310 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2311 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2313 ## -------------------- ##
2314 ## Main body of script. ##
2315 ## -------------------- ##
2318 ac_cpp='$CPP $CPPFLAGS'
2319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2325 ac_config_headers="$ac_config_headers config.h"
2328 for ac_dir in build-aux "$srcdir"/build-aux; do
2329 if test -f "$ac_dir/install-sh"; then
2331 ac_install_sh="$ac_aux_dir/install-sh -c"
2333 elif test -f "$ac_dir/install.sh"; then
2335 ac_install_sh="$ac_aux_dir/install.sh -c"
2337 elif test -f "$ac_dir/shtool"; then
2339 ac_install_sh="$ac_aux_dir/shtool install -c"
2343 if test -z "$ac_aux_dir"; then
2344 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2347 # These three variables are undocumented and unsupported,
2348 # and are intended to be withdrawn in a future Autoconf release.
2349 # They can cause serious problems if a builder's source tree is in a directory
2350 # whose full name contains unusual characters.
2351 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2352 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2353 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2358 am__api_version='1.11'
2360 # Find a good install program. We prefer a C program (faster),
2361 # so one script is as good as another. But avoid the broken or
2362 # incompatible versions:
2363 # SysV /etc/install, /usr/sbin/install
2364 # SunOS /usr/etc/install
2365 # IRIX /sbin/install
2367 # AmigaOS /C/install, which installs bootblocks on floppy discs
2368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2371 # OS/2's system install, which has a completely different semantic
2372 # ./install, which can be erroneously created by make from ./install.sh.
2373 # Reject install programs that cannot install multiple files.
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2375 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2376 if test -z "$INSTALL"; then
2377 if ${ac_cv_path_install+:} false; then :
2378 $as_echo_n "(cached) " >&6
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir=.
2385 # Account for people who put trailing slashes in PATH elements.
2386 case $as_dir/ in #((
2387 ./ | .// | /[cC]/* | \
2388 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2389 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2392 # OSF1 and SCO ODT 3.0 have their own names for install.
2393 # Don't use installbsd from OSF since it installs stuff as root
2395 for ac_prog in ginstall scoinst install; do
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2398 if test $ac_prog = install &&
2399 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2400 # AIX install. It has an incompatible calling convention.
2402 elif test $ac_prog = install &&
2403 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2404 # program-specific install script used by HP pwplus--don't use.
2407 rm -rf conftest.one conftest.two conftest.dir
2408 echo one > conftest.one
2409 echo two > conftest.two
2411 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2412 test -s conftest.one && test -s conftest.two &&
2413 test -s conftest.dir/conftest.one &&
2414 test -s conftest.dir/conftest.two
2416 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2429 rm -rf conftest.one conftest.two conftest.dir
2432 if test "${ac_cv_path_install+set}" = set; then
2433 INSTALL=$ac_cv_path_install
2435 # As a last resort, use the slow shell script. Don't cache a
2436 # value for INSTALL within a source directory, because that will
2437 # break other packages using the cache if that directory is
2438 # removed, or if the value is a relative name.
2439 INSTALL=$ac_install_sh
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2443 $as_echo "$INSTALL" >&6; }
2445 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2446 # It thinks the first close brace ends the variable substitution.
2447 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2449 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2451 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2454 $as_echo_n "checking whether build environment is sane... " >&6; }
2457 echo timestamp > conftest.file
2458 # Reject unsafe characters in $srcdir or the absolute working directory
2459 # name. Accept space and tab only in the latter.
2463 *[\\\"\#\$\&\'\`$am_lf]*)
2464 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2467 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2468 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2471 # Do `set' in a subshell so we don't clobber the current shell's
2472 # arguments. Must try -L first in case configure is actually a
2473 # symlink; some systems play weird games with the mod time of symlinks
2474 # (eg FreeBSD returns the mod time of the symlink's containing
2477 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2478 if test "$*" = "X"; then
2480 set X `ls -t "$srcdir/configure" conftest.file`
2483 if test "$*" != "X $srcdir/configure conftest.file" \
2484 && test "$*" != "X conftest.file $srcdir/configure"; then
2486 # If neither matched, then we have a broken ls. This can happen
2487 # if, for instance, CONFIG_SHELL is bash and it inherits a
2488 # broken ls alias from the environment. This has actually
2489 # happened. Such a system could not be considered "sane".
2490 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2491 alias in your environment" "$LINENO" 5
2494 test "$2" = conftest.file
2500 as_fn_error $? "newly created file is older than distributed files!
2501 Check your system clock" "$LINENO" 5
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2505 test "$program_prefix" != NONE &&
2506 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2507 # Use a double $ so make ignores it.
2508 test "$program_suffix" != NONE &&
2509 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2510 # Double any \ or $.
2511 # By default was `s,x,x', remove it if useless.
2512 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2513 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2515 # expand $ac_aux_dir to an absolute path
2516 am_aux_dir=`cd $ac_aux_dir && pwd`
2518 if test x"${MISSING+set}" != xset; then
2521 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2523 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2526 # Use eval to expand $SHELL
2527 if eval "$MISSING --run true"; then
2528 am_missing_run="$MISSING --run "
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2532 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2535 if test x"${install_sh}" != xset; then
2538 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2540 install_sh="\${SHELL} $am_aux_dir/install-sh"
2544 # Installed binaries are usually stripped using `strip' when the user
2545 # run `make install-strip'. However `strip' might not be the right
2546 # tool to use in cross-compilation environments, therefore Automake
2547 # will honor the `STRIP' environment variable to overrule this program.
2548 if test "$cross_compiling" != no; then
2549 if test -n "$ac_tool_prefix"; then
2550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2551 set dummy ${ac_tool_prefix}strip; ac_word=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if ${ac_cv_prog_STRIP+:} false; then :
2555 $as_echo_n "(cached) " >&6
2557 if test -n "$STRIP"; then
2558 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 STRIP=$ac_cv_prog_STRIP
2578 if test -n "$STRIP"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2580 $as_echo "$STRIP" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2588 if test -z "$ac_cv_prog_STRIP"; then
2590 # Extract the first word of "strip", so it can be a program name with args.
2591 set dummy strip; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2595 $as_echo_n "(cached) " >&6
2597 if test -n "$ac_ct_STRIP"; then
2598 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607 ac_cv_prog_ac_ct_STRIP="strip"
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2618 if test -n "$ac_ct_STRIP"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2620 $as_echo "$ac_ct_STRIP" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2626 if test "x$ac_ct_STRIP" = x; then
2629 case $cross_compiling:$ac_tool_warned in
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2633 ac_tool_warned=yes ;;
2638 STRIP="$ac_cv_prog_STRIP"
2642 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2645 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2646 if test -z "$MKDIR_P"; then
2647 if ${ac_cv_path_mkdir+:} false; then :
2648 $as_echo_n "(cached) " >&6
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2654 test -z "$as_dir" && as_dir=.
2655 for ac_prog in mkdir gmkdir; do
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2658 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2659 'mkdir (GNU coreutils) '* | \
2660 'mkdir (coreutils) '* | \
2661 'mkdir (fileutils) '4.1*)
2662 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2672 test -d ./--version && rmdir ./--version
2673 if test "${ac_cv_path_mkdir+set}" = set; then
2674 MKDIR_P="$ac_cv_path_mkdir -p"
2676 # As a last resort, use the slow shell script. Don't cache a
2677 # value for MKDIR_P within a source directory, because that will
2678 # break other packages using the cache if that directory is
2679 # removed, or if the value is a relative name.
2680 MKDIR_P="$ac_install_sh -d"
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2684 $as_echo "$MKDIR_P" >&6; }
2688 [\\/$]* | ?:[\\/]*) ;;
2689 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2692 for ac_prog in gawk mawk nawk awk
2694 # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy $ac_prog; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_AWK+:} false; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$AWK"; then
2702 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_AWK="$ac_prog"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test -n "$AWK"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2724 $as_echo "$AWK" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2731 test -n "$AWK" && break
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2735 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2737 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2738 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 cat >conftest.make <<\_ACEOF
2744 @echo '@@@%%%=$(MAKE)=@@@%%%'
2746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2747 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2749 eval ac_cv_prog_make_${ac_make}_set=yes;;
2751 eval ac_cv_prog_make_${ac_make}_set=no;;
2755 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2757 $as_echo "yes" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762 SET_MAKE="MAKE=${MAKE-make}"
2765 rm -rf .tst 2>/dev/null
2766 mkdir .tst 2>/dev/null
2767 if test -d .tst; then
2772 rmdir .tst 2>/dev/null
2774 # Check whether --enable-silent-rules was given.
2775 if test "${enable_silent_rules+set}" = set; then :
2776 enableval=$enable_silent_rules;
2779 case $enable_silent_rules in
2780 yes) AM_DEFAULT_VERBOSITY=0;;
2781 no) AM_DEFAULT_VERBOSITY=1;;
2782 *) AM_DEFAULT_VERBOSITY=1;;
2784 am_make=${MAKE-make}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2787 if ${am_cv_make_support_nested_variables+:} false; then :
2788 $as_echo_n "(cached) " >&6
2790 if $as_echo 'TRUE=$(BAR$(V))
2796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2797 am_cv_make_support_nested_variables=yes
2799 am_cv_make_support_nested_variables=no
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2804 if test $am_cv_make_support_nested_variables = yes; then
2806 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2808 AM_V=$AM_DEFAULT_VERBOSITY
2809 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815 # is not polluted with repeated "-I."
2816 am__isrc=' -I$(srcdir)'
2817 # test to see if srcdir already configured
2818 if test -f $srcdir/config.status; then
2819 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825 if (cygpath --version) >/dev/null 2>/dev/null; then
2826 CYGPATH_W='cygpath -w'
2833 # Define the identity of the package.
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2843 cat >>confdefs.h <<_ACEOF
2844 #define VERSION "$VERSION"
2847 # Some tools Automake needs.
2849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2863 # We need awk for the "check" target. The system "awk" is bad on
2865 # Always define AMTAR for backward compatibility. Yes, it's still used
2866 # in the wild :-( We should find a proper way to deprecate it ...
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2871 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2872 # Loop over all known methods to create a tar archive until one works.
2873 _am_tools='gnutar pax cpio none'
2874 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2875 # Do not fold the above two line into one, because Tru64 sh and
2876 # Solaris sh will not grok spaces in the rhs of `-'.
2877 for _am_tool in $_am_tools
2881 for _am_tar in tar gnutar gtar;
2883 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2884 ($_am_tar --version) >&5 2>&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } && break
2889 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2890 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2891 am__untar="$_am_tar -xf -"
2894 # Must skip GNU tar: if it does not support --format= it doesn't create
2895 # ustar tarball either.
2896 (tar --version) >/dev/null 2>&1 && continue
2897 am__tar='tar chf - "$$tardir"'
2898 am__tar_='tar chf - "$tardir"'
2899 am__untar='tar xf -'
2902 am__tar='pax -L -x pax -w "$$tardir"'
2903 am__tar_='pax -L -x pax -w "$tardir"'
2907 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2908 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2909 am__untar='cpio -i -H pax -d'
2918 # If the value was cached, stop now. We just wanted to have am__tar
2919 # and am__untar set.
2920 test -n "${am_cv_prog_tar_pax}" && break
2922 # tar/untar a dummy directory, and stop if the command works
2925 echo GrepMe > conftest.dir/file
2926 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2927 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }
2932 if test -s conftest.tar; then
2933 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2934 ($am__untar <conftest.tar) >&5 2>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }
2938 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2943 if ${am_cv_prog_tar_pax+:} false; then :
2944 $as_echo_n "(cached) " >&6
2946 am_cv_prog_tar_pax=$_am_tool
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2950 $as_echo "$am_cv_prog_tar_pax" >&6; }
2957 # Checks for programs.
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 if test -n "$ac_tool_prefix"; then
2964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2965 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_CC+:} false; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC="$CC" # Let the user override the test.
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir=.
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 if test -n "$CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994 $as_echo "$CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3002 if test -z "$ac_cv_prog_CC"; then
3004 # Extract the first word of "gcc", so it can be a program name with args.
3005 set dummy gcc; ac_word=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3009 $as_echo_n "(cached) " >&6
3011 if test -n "$ac_ct_CC"; then
3012 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021 ac_cv_prog_ac_ct_CC="gcc"
3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3032 if test -n "$ac_ct_CC"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3034 $as_echo "$ac_ct_CC" >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3040 if test "x$ac_ct_CC" = x; then
3043 case $cross_compiling:$ac_tool_warned in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3055 if test -z "$CC"; then
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}cc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_CC+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC="$CC" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC="${ac_tool_prefix}cc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3096 if test -z "$CC"; then
3097 # Extract the first word of "cc", so it can be a program name with args.
3098 set dummy cc; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_CC+:} false; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$CC"; then
3105 ac_cv_prog_CC="$CC" # Let the user override the test.
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3116 ac_prog_rejected=yes
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 if test $ac_prog_rejected = yes; then
3128 # We found a bogon in the path, so make sure we never use it.
3129 set dummy $ac_cv_prog_CC
3131 if test $# != 0; then
3132 # We chose a different compiler from the bogus one.
3133 # However, it has the same basename, so the bogon will be chosen
3134 # first if we set CC to just the basename; use the full file name.
3136 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3142 if test -n "$CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3152 if test -z "$CC"; then
3153 if test -n "$ac_tool_prefix"; then
3154 for ac_prog in cl.exe
3156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if ${ac_cv_prog_CC+:} false; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC="$CC" # Let the user override the test.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 if test -n "$CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186 $as_echo "$CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3193 test -n "$CC" && break
3196 if test -z "$CC"; then
3198 for ac_prog in cl.exe
3200 # Extract the first word of "$ac_prog", so it can be a program name with args.
3201 set dummy $ac_prog; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC="$ac_prog"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3237 test -n "$ac_ct_CC" && break
3240 if test "x$ac_ct_CC" = x; then
3243 case $cross_compiling:$ac_tool_warned in
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned=yes ;;
3256 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error $? "no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details" "$LINENO" 5; }
3261 # Provide some information about the compiler.
3262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3265 for ac_option in --version -v -V -qversion; do
3266 { { ac_try="$ac_compiler $ac_option >&5"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3275 if test -s conftest.err; then
3277 ... rest of stderr output deleted ...
3278 10q' conftest.err >conftest.er1
3279 cat conftest.er1 >&5
3281 rm -f conftest.er1 conftest.err
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3297 ac_clean_files_save=$ac_clean_files
3298 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3299 # Try to create an executable without -o first, disregard a.out.
3300 # It will help us diagnose broken compilers, and finding out an intuition
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3303 $as_echo_n "checking whether the C compiler works... " >&6; }
3304 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3306 # The possible output files:
3307 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3310 for ac_file in $ac_files
3313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3314 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3319 if { { ac_try="$ac_link_default"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link_default") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3331 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3332 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3333 # so that the user can short-circuit this test for compilers unknown to
3335 for ac_file in $ac_files ''
3337 test -f "$ac_file" || continue
3339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3342 # We found the default executable, but exeext='' is most
3346 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3348 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3350 # We set ac_cv_exeext here because the later test for it is not
3351 # safe: cross compilers may not add the suffix if given an `-o'
3352 # argument, so we may need to know it at that point already.
3353 # Even if this section looks crufty: it has the advantage of
3360 test "$ac_cv_exeext" = no && ac_cv_exeext=
3365 if test -z "$ac_file"; then :
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3368 $as_echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.$ac_ext >&5
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error 77 "C compiler cannot create executables
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3377 $as_echo "yes" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3380 $as_echo_n "checking for C compiler default output file name... " >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3382 $as_echo "$ac_file" >&6; }
3383 ac_exeext=$ac_cv_exeext
3385 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3386 ac_clean_files=$ac_clean_files_save
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3388 $as_echo_n "checking for suffix of executables... " >&6; }
3389 if { { ac_try="$ac_link"
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_link") 2>&5
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }; then :
3400 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3401 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3402 # work properly (i.e., refer to `conftest.exe'), while it won't with
3404 for ac_file in conftest.exe conftest conftest.*; do
3405 test -f "$ac_file" || continue
3407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3408 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3417 See \`config.log' for more details" "$LINENO" 5; }
3419 rm -f conftest conftest$ac_cv_exeext
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3421 $as_echo "$ac_cv_exeext" >&6; }
3423 rm -f conftest.$ac_ext
3424 EXEEXT=$ac_cv_exeext
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3432 FILE *f = fopen ("conftest.out", "w");
3433 return ferror (f) || fclose (f) != 0;
3439 ac_clean_files="$ac_clean_files conftest.out"
3440 # Check that the compiler produces executables we can run. If not, either
3441 # the compiler is broken, or we cross compile.
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3443 $as_echo_n "checking whether we are cross compiling... " >&6; }
3444 if test "$cross_compiling" != yes; then
3445 { { ac_try="$ac_link"
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_link") 2>&5
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }
3456 if { ac_try='./conftest$ac_cv_exeext'
3457 { { case "(($ac_try" in
3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459 *) ac_try_echo=$ac_try;;
3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3462 $as_echo "$ac_try_echo"; } >&5
3463 (eval "$ac_try") 2>&5
3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466 test $ac_status = 0; }; }; then
3469 if test "$cross_compiling" = maybe; then
3472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 as_fn_error $? "cannot run C compiled programs.
3475 If you meant to cross compile, use \`--host'.
3476 See \`config.log' for more details" "$LINENO" 5; }
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3481 $as_echo "$cross_compiling" >&6; }
3483 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3484 ac_clean_files=$ac_clean_files_save
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3486 $as_echo_n "checking for suffix of object files... " >&6; }
3487 if ${ac_cv_objext+:} false; then :
3488 $as_echo_n "(cached) " >&6
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3501 rm -f conftest.o conftest.obj
3502 if { { ac_try="$ac_compile"
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509 (eval "$ac_compile") 2>&5
3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512 test $ac_status = 0; }; then :
3513 for ac_file in conftest.o conftest.obj conftest.*; do
3514 test -f "$ac_file" || continue;
3516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3517 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3522 $as_echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.$ac_ext >&5
3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error $? "cannot compute suffix of object files: cannot compile
3528 See \`config.log' for more details" "$LINENO" 5; }
3530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3533 $as_echo "$ac_cv_objext" >&6; }
3534 OBJEXT=$ac_cv_objext
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3537 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3538 if ${ac_cv_c_compiler_gnu+:} false; then :
3539 $as_echo_n "(cached) " >&6
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3565 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3566 if test $ac_compiler_gnu = yes; then
3571 ac_test_CFLAGS=${CFLAGS+set}
3572 ac_save_CFLAGS=$CFLAGS
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3575 if ${ac_cv_prog_cc_g+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 ac_save_c_werror_flag=$ac_c_werror_flag
3579 ac_c_werror_flag=yes
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3593 if ac_fn_c_try_compile "$LINENO"; then :
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3608 if ac_fn_c_try_compile "$LINENO"; then :
3611 ac_c_werror_flag=$ac_save_c_werror_flag
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3624 if ac_fn_c_try_compile "$LINENO"; then :
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632 ac_c_werror_flag=$ac_save_c_werror_flag
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3635 $as_echo "$ac_cv_prog_cc_g" >&6; }
3636 if test "$ac_test_CFLAGS" = set; then
3637 CFLAGS=$ac_save_CFLAGS
3638 elif test $ac_cv_prog_cc_g = yes; then
3639 if test "$GCC" = yes; then
3645 if test "$GCC" = yes; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3652 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3653 if ${ac_cv_prog_cc_c89+:} false; then :
3654 $as_echo_n "(cached) " >&6
3656 ac_cv_prog_cc_c89=no
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3662 #include <sys/types.h>
3663 #include <sys/stat.h>
3664 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3665 struct buf { int x; };
3666 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3667 static char *e (p, i)
3673 static char *f (char * (*g) (char **, int), char **p, ...)
3678 s = g (p, va_arg (v,int));
3683 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3684 function prototypes and stuff, but not '\xHH' hex character constants.
3685 These don't provoke an error unfortunately, instead are silently treated
3686 as 'x'. The following induces an error, until -std is added to get
3687 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3688 array size at least. It's necessary to write '\x00'==0 to get something
3689 that's true only with -std. */
3690 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3692 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3693 inside strings and character constants. */
3695 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3697 int test (int i, double x);
3698 struct s1 {int (*f) (int a);};
3699 struct s2 {int (*f) (double a);};
3700 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3706 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3711 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3712 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3714 CC="$ac_save_CC $ac_arg"
3715 if ac_fn_c_try_compile "$LINENO"; then :
3716 ac_cv_prog_cc_c89=$ac_arg
3718 rm -f core conftest.err conftest.$ac_objext
3719 test "x$ac_cv_prog_cc_c89" != "xno" && break
3721 rm -f conftest.$ac_ext
3726 case "x$ac_cv_prog_cc_c89" in
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3729 $as_echo "none needed" >&6; } ;;
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3732 $as_echo "unsupported" >&6; } ;;
3734 CC="$CC $ac_cv_prog_cc_c89"
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3736 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3738 if test "x$ac_cv_prog_cc_c89" != xno; then :
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3747 DEPDIR="${am__leading_dot}deps"
3749 ac_config_commands="$ac_config_commands depfiles"
3752 am_make=${MAKE-make}
3753 cat > confinc << 'END'
3755 @echo this is the am__doit target
3758 # If we don't find an include directive, just comment out the code.
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3760 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3764 # First try GNU make style include.
3765 echo "include confinc" > confmf
3766 # Ignore all kinds of additional output from `make'.
3767 case `$am_make -s -f confmf 2> /dev/null` in #(
3768 *the\ am__doit\ target*)
3774 # Now try BSD make style include.
3775 if test "$am__include" = "#"; then
3776 echo '.include "confinc"' > confmf
3777 case `$am_make -s -f confmf 2> /dev/null` in #(
3778 *the\ am__doit\ target*)
3779 am__include=.include
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3788 $as_echo "$_am_result" >&6; }
3789 rm -f confinc confmf
3791 # Check whether --enable-dependency-tracking was given.
3792 if test "${enable_dependency_tracking+set}" = set; then :
3793 enableval=$enable_dependency_tracking;
3796 if test "x$enable_dependency_tracking" != xno; then
3797 am_depcomp="$ac_aux_dir/depcomp"
3801 if test "x$enable_dependency_tracking" != xno; then
3811 depcc="$CC" am_compiler_list=
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3814 $as_echo_n "checking dependency style of $depcc... " >&6; }
3815 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3816 $as_echo_n "(cached) " >&6
3818 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3819 # We make a subdir and do the tests there. Otherwise we can end up
3820 # making bogus files that we don't know about and never remove. For
3821 # instance it was reported that on HP-UX the gcc test will end up
3822 # making a dummy file named `D' -- because `-MD' means `put the output
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3838 am_cv_CC_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3843 case " $depcc " in #(
3844 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3847 for depmode in $am_compiler_list; do
3848 # Setup a source with many dependencies, because some compilers
3849 # like to wrap large dependency lists on column 80 (with \), and
3850 # we should not choose a depcomp mode which is confused by this.
3852 # We need to recreate these files for each test, as the compiler may
3853 # overwrite some of them when testing with obscure command lines.
3854 # This happens at least with the AIX C compiler.
3856 for i in 1 2 3 4 5 6; do
3857 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3858 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3859 # Solaris 8's {/usr,}/bin/sh.
3860 touch sub/conftst$i.h
3862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3865 # mode. It turns out that the SunPro C++ compiler does not properly
3866 # handle `-M -o', and we need to detect this. Also, some Intel
3867 # versions had trouble with output in subdirs
3868 am__obj=sub/conftest.${OBJEXT-o}
3869 am__minus_obj="-o $am__obj"
3872 # This depmode causes a compiler race in universal mode.
3873 test "$am__universal" = false || continue
3876 # after this tag, mechanisms are not by side-effect, so they'll
3877 # only be used when explicitly requested
3878 if test "x$enable_dependency_tracking" = xyes; then
3884 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3885 # This compiler won't grok `-c -o', but also, the minuso test has
3886 # not run yet. These depmodes are late enough in the game, and
3887 # so weak that their functioning should not be impacted.
3888 am__obj=conftest.${OBJEXT-o}
3893 if depmode=$depmode \
3894 source=sub/conftest.c object=$am__obj \
3895 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3896 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3897 >/dev/null 2>conftest.err &&
3898 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3899 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3900 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3901 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3902 # icc doesn't choke on unknown options, it will just issue warnings
3903 # or remarks (even with -Werror). So we grep stderr for any message
3904 # that says an option was ignored or not supported.
3905 # When given -MP, icc 7.0 and 7.1 complain thusly:
3906 # icc: Command line warning: ignoring option '-M'; no argument required
3907 # The diagnosis changed in icc 8.0:
3908 # icc: Command line remark: option '-MP' not supported
3909 if (grep 'ignoring option' conftest.err ||
3910 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3911 am_cv_CC_dependencies_compiler_type=$depmode
3920 am_cv_CC_dependencies_compiler_type=none
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3925 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3926 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3929 test "x$enable_dependency_tracking" != xno \
3930 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3932 am__fastdepCC_FALSE='#'
3934 am__fastdepCC_TRUE='#'
3935 am__fastdepCC_FALSE=
3940 if test -n "$ac_tool_prefix"; then
3941 for ac_prog in ar lib "link -lib"
3943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_AR+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$AR"; then
3951 ac_cv_prog_AR="$AR" # Let the user override the test.
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 if test -n "$AR"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3973 $as_echo "$AR" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3980 test -n "$AR" && break
3983 if test -z "$AR"; then
3985 for ac_prog in ar lib "link -lib"
3987 # Extract the first word of "$ac_prog", so it can be a program name with args.
3988 set dummy $ac_prog; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$ac_ct_AR"; then
3995 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 ac_cv_prog_ac_ct_AR="$ac_prog"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4015 if test -n "$ac_ct_AR"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4017 $as_echo "$ac_ct_AR" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4024 test -n "$ac_ct_AR" && break
4027 if test "x$ac_ct_AR" = x; then
4030 case $cross_compiling:$ac_tool_warned in
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4034 ac_tool_warned=yes ;;
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4043 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4044 if ${am_cv_ar_interface+:} false; then :
4045 $as_echo_n "(cached) " >&6
4047 am_cv_ar_interface=ar
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050 int some_variable = 0;
4052 if ac_fn_c_try_compile "$LINENO"; then :
4053 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4054 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4055 (eval $am_ar_try) 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }
4059 if test "$ac_status" -eq 0; then
4060 am_cv_ar_interface=ar
4062 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4064 (eval $am_ar_try) 2>&5
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }
4068 if test "$ac_status" -eq 0; then
4069 am_cv_ar_interface=lib
4071 am_cv_ar_interface=unknown
4074 rm -f conftest.lib libconftest.a
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4081 $as_echo "$am_cv_ar_interface" >&6; }
4083 case $am_cv_ar_interface in
4087 # Microsoft lib, so override with the ar-lib wrapper script.
4088 # FIXME: It is wrong to rewrite AR.
4089 # But if we don't then we get into trouble of one sort or another.
4090 # A longer-term fix would be to have automake use am__AR in this case,
4091 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4093 AR="$am_aux_dir/ar-lib $AR"
4096 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4101 $as_echo_n "checking for GNU make... " >&6; }
4102 if ${_cv_gnu_make_command+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 _cv_gnu_make_command='' ;
4106 for a in "$MAKE" make gmake gnumake ; do
4107 if test -z "$a" ; then continue ; fi ;
4108 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
4109 _cv_gnu_make_command=$a ;
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4116 $as_echo "$_cv_gnu_make_command" >&6; } ;
4117 if test "x$_cv_gnu_make_command" != "x" ; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4122 $as_echo "\"Not found\"" >&6; };
4126 if test "x$ifGNUmake" = "x#" ; then
4127 as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4135 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4140 macro_version='2.4.2'
4141 macro_revision='1.3337'
4155 ltmain="$ac_aux_dir/ltmain.sh"
4157 # Make sure we can run config.sub.
4158 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4159 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4162 $as_echo_n "checking build system type... " >&6; }
4163 if ${ac_cv_build+:} false; then :
4164 $as_echo_n "(cached) " >&6
4166 ac_build_alias=$build_alias
4167 test "x$ac_build_alias" = x &&
4168 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4169 test "x$ac_build_alias" = x &&
4170 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4171 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4172 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4176 $as_echo "$ac_cv_build" >&6; }
4177 case $ac_cv_build in
4179 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4182 ac_save_IFS=$IFS; IFS='-'
4188 # Remember, the first character of IFS is used to create $*,
4189 # except with old shells:
4192 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4196 $as_echo_n "checking host system type... " >&6; }
4197 if ${ac_cv_host+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 if test "x$host_alias" = x; then
4201 ac_cv_host=$ac_cv_build
4203 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4204 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4209 $as_echo "$ac_cv_host" >&6; }
4212 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4215 ac_save_IFS=$IFS; IFS='-'
4221 # Remember, the first character of IFS is used to create $*,
4222 # except with old shells:
4225 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4228 # Backslashify metacharacters that are still active within
4229 # double-quoted strings.
4230 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4232 # Same as above, but do not quote variable references.
4233 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4235 # Sed substitution to delay expansion of an escaped shell variable in a
4236 # double_quote_subst'ed string.
4237 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4239 # Sed substitution to delay expansion of an escaped single quote.
4240 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4242 # Sed substitution to avoid accidental globbing in evaled expressions
4243 no_glob_subst='s/\*/\\\*/g'
4245 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4246 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4247 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4250 $as_echo_n "checking how to print strings... " >&6; }
4251 # Test print first, because it will be a builtin if present.
4252 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4253 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4255 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4258 # Use this function as a fallback that always works.
4259 func_fallback_echo ()
4261 eval 'cat <<_LTECHO_EOF
4265 ECHO='func_fallback_echo'
4268 # func_echo_all arg...
4269 # Invoke $ECHO with all args, space-separated.
4276 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4277 $as_echo "printf" >&6; } ;;
4278 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4279 $as_echo "print -r" >&6; } ;;
4280 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4281 $as_echo "cat" >&6; } ;;
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4298 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4299 if ${ac_cv_path_SED+:} false; then :
4300 $as_echo_n "(cached) " >&6
4302 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4303 for ac_i in 1 2 3 4 5 6 7; do
4304 ac_script="$ac_script$as_nl$ac_script"
4306 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4307 { ac_script=; unset ac_script;}
4308 if test -z "$SED"; then
4309 ac_path_SED_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_prog in sed gsed; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4319 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4320 # Check for GNU ac_path_SED and select it if it is found.
4321 # Check for GNU $ac_path_SED
4322 case `"$ac_path_SED" --version 2>&1` in
4324 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4327 $as_echo_n 0123456789 >"conftest.in"
4330 cat "conftest.in" "conftest.in" >"conftest.tmp"
4331 mv "conftest.tmp" "conftest.in"
4332 cp "conftest.in" "conftest.nl"
4333 $as_echo '' >> "conftest.nl"
4334 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 as_fn_arith $ac_count + 1 && ac_count=$as_val
4337 if test $ac_count -gt ${ac_path_SED_max-0}; then
4338 # Best one so far, save it but keep looking for a better one
4339 ac_cv_path_SED="$ac_path_SED"
4340 ac_path_SED_max=$ac_count
4342 # 10*(2^10) chars as input seems more than enough
4343 test $ac_count -gt 10 && break
4345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4348 $ac_path_SED_found && break 3
4353 if test -z "$ac_cv_path_SED"; then
4354 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4362 $as_echo "$ac_cv_path_SED" >&6; }
4363 SED="$ac_cv_path_SED"
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4380 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4381 if ${ac_cv_path_GREP+:} false; then :
4382 $as_echo_n "(cached) " >&6
4384 if test -z "$GREP"; then
4385 ac_path_GREP_found=false
4386 # Loop through the user's path and test for each of PROGNAME-LIST
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4391 test -z "$as_dir" && as_dir=.
4392 for ac_prog in grep ggrep; do
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4395 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4396 # Check for GNU ac_path_GREP and select it if it is found.
4397 # Check for GNU $ac_path_GREP
4398 case `"$ac_path_GREP" --version 2>&1` in
4400 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4403 $as_echo_n 0123456789 >"conftest.in"
4406 cat "conftest.in" "conftest.in" >"conftest.tmp"
4407 mv "conftest.tmp" "conftest.in"
4408 cp "conftest.in" "conftest.nl"
4409 $as_echo 'GREP' >> "conftest.nl"
4410 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4412 as_fn_arith $ac_count + 1 && ac_count=$as_val
4413 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4414 # Best one so far, save it but keep looking for a better one
4415 ac_cv_path_GREP="$ac_path_GREP"
4416 ac_path_GREP_max=$ac_count
4418 # 10*(2^10) chars as input seems more than enough
4419 test $ac_count -gt 10 && break
4421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4424 $ac_path_GREP_found && break 3
4429 if test -z "$ac_cv_path_GREP"; then
4430 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4433 ac_cv_path_GREP=$GREP
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4438 $as_echo "$ac_cv_path_GREP" >&6; }
4439 GREP="$ac_cv_path_GREP"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4443 $as_echo_n "checking for egrep... " >&6; }
4444 if ${ac_cv_path_EGREP+:} false; then :
4445 $as_echo_n "(cached) " >&6
4447 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4448 then ac_cv_path_EGREP="$GREP -E"
4450 if test -z "$EGREP"; then
4451 ac_path_EGREP_found=false
4452 # Loop through the user's path and test for each of PROGNAME-LIST
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4457 test -z "$as_dir" && as_dir=.
4458 for ac_prog in egrep; do
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4461 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4462 # Check for GNU ac_path_EGREP and select it if it is found.
4463 # Check for GNU $ac_path_EGREP
4464 case `"$ac_path_EGREP" --version 2>&1` in
4466 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4469 $as_echo_n 0123456789 >"conftest.in"
4472 cat "conftest.in" "conftest.in" >"conftest.tmp"
4473 mv "conftest.tmp" "conftest.in"
4474 cp "conftest.in" "conftest.nl"
4475 $as_echo 'EGREP' >> "conftest.nl"
4476 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4477 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4478 as_fn_arith $ac_count + 1 && ac_count=$as_val
4479 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4480 # Best one so far, save it but keep looking for a better one
4481 ac_cv_path_EGREP="$ac_path_EGREP"
4482 ac_path_EGREP_max=$ac_count
4484 # 10*(2^10) chars as input seems more than enough
4485 test $ac_count -gt 10 && break
4487 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4490 $ac_path_EGREP_found && break 3
4495 if test -z "$ac_cv_path_EGREP"; then
4496 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4499 ac_cv_path_EGREP=$EGREP
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4505 $as_echo "$ac_cv_path_EGREP" >&6; }
4506 EGREP="$ac_cv_path_EGREP"
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4510 $as_echo_n "checking for fgrep... " >&6; }
4511 if ${ac_cv_path_FGREP+:} false; then :
4512 $as_echo_n "(cached) " >&6
4514 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4515 then ac_cv_path_FGREP="$GREP -F"
4517 if test -z "$FGREP"; then
4518 ac_path_FGREP_found=false
4519 # Loop through the user's path and test for each of PROGNAME-LIST
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4524 test -z "$as_dir" && as_dir=.
4525 for ac_prog in fgrep; do
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4528 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4529 # Check for GNU ac_path_FGREP and select it if it is found.
4530 # Check for GNU $ac_path_FGREP
4531 case `"$ac_path_FGREP" --version 2>&1` in
4533 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4536 $as_echo_n 0123456789 >"conftest.in"
4539 cat "conftest.in" "conftest.in" >"conftest.tmp"
4540 mv "conftest.tmp" "conftest.in"
4541 cp "conftest.in" "conftest.nl"
4542 $as_echo 'FGREP' >> "conftest.nl"
4543 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4544 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4545 as_fn_arith $ac_count + 1 && ac_count=$as_val
4546 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4547 # Best one so far, save it but keep looking for a better one
4548 ac_cv_path_FGREP="$ac_path_FGREP"
4549 ac_path_FGREP_max=$ac_count
4551 # 10*(2^10) chars as input seems more than enough
4552 test $ac_count -gt 10 && break
4554 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4557 $ac_path_FGREP_found && break 3
4562 if test -z "$ac_cv_path_FGREP"; then
4563 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4566 ac_cv_path_FGREP=$FGREP
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4572 $as_echo "$ac_cv_path_FGREP" >&6; }
4573 FGREP="$ac_cv_path_FGREP"
4576 test -z "$GREP" && GREP=grep
4596 # Check whether --with-gnu-ld was given.
4597 if test "${with_gnu_ld+set}" = set; then :
4598 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4604 if test "$GCC" = yes; then
4605 # Check if gcc -print-prog-name=ld gives a path.
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4607 $as_echo_n "checking for ld used by $CC... " >&6; }
4610 # gcc leaves a trailing carriage return which upsets mingw
4611 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4613 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4616 # Accept absolute paths.
4618 re_direlt='/[^/][^/]*/\.\./'
4619 # Canonicalize the pathname of ld
4620 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4621 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4622 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4624 test -z "$LD" && LD="$ac_prog"
4627 # If it fails, then pretend we aren't using GCC.
4631 # If it is relative, then search for the first ld in PATH.
4635 elif test "$with_gnu_ld" = yes; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4637 $as_echo_n "checking for GNU ld... " >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4640 $as_echo_n "checking for non-GNU ld... " >&6; }
4642 if ${lt_cv_path_LD+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -z "$LD"; then
4646 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4647 for ac_dir in $PATH; do
4649 test -z "$ac_dir" && ac_dir=.
4650 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4651 lt_cv_path_LD="$ac_dir/$ac_prog"
4652 # Check to see if the program is GNU ld. I'd rather use --version,
4653 # but apparently some variants of GNU ld only accept -v.
4654 # Break only if it was the GNU/non-GNU ld that we prefer.
4655 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4656 *GNU* | *'with BFD'*)
4657 test "$with_gnu_ld" != no && break
4660 test "$with_gnu_ld" != yes && break
4667 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4672 if test -n "$LD"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4674 $as_echo "$LD" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4679 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4681 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4682 if ${lt_cv_prog_gnu_ld+:} false; then :
4683 $as_echo_n "(cached) " >&6
4685 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4686 case `$LD -v 2>&1 </dev/null` in
4687 *GNU* | *'with BFD'*)
4688 lt_cv_prog_gnu_ld=yes
4691 lt_cv_prog_gnu_ld=no
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4696 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4697 with_gnu_ld=$lt_cv_prog_gnu_ld
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4708 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4709 if ${lt_cv_path_NM+:} false; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -n "$NM"; then
4713 # Let the user override the test.
4716 lt_nm_to_check="${ac_tool_prefix}nm"
4717 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4718 lt_nm_to_check="$lt_nm_to_check nm"
4720 for lt_tmp_nm in $lt_nm_to_check; do
4721 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4722 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4724 test -z "$ac_dir" && ac_dir=.
4725 tmp_nm="$ac_dir/$lt_tmp_nm"
4726 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4727 # Check to see if the nm accepts a BSD-compat flag.
4728 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4729 # nm: unknown option "B" ignored
4730 # Tru64's nm complains that /dev/null is an invalid object file
4731 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4732 */dev/null* | *'Invalid file or object type'*)
4733 lt_cv_path_NM="$tmp_nm -B"
4737 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4739 lt_cv_path_NM="$tmp_nm -p"
4743 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4744 continue # so that we can try to find one that supports BSD flags
4753 : ${lt_cv_path_NM=no}
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4757 $as_echo "$lt_cv_path_NM" >&6; }
4758 if test "$lt_cv_path_NM" != "no"; then
4761 # Didn't find any BSD compatible name lister, look for dumpbin.
4762 if test -n "$DUMPBIN"; then :
4763 # Let the user override the test.
4765 if test -n "$ac_tool_prefix"; then
4766 for ac_prog in dumpbin "link -dump"
4768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_DUMPBIN+:} false; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$DUMPBIN"; then
4776 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir=.
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4785 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 DUMPBIN=$ac_cv_prog_DUMPBIN
4796 if test -n "$DUMPBIN"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4798 $as_echo "$DUMPBIN" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4805 test -n "$DUMPBIN" && break
4808 if test -z "$DUMPBIN"; then
4809 ac_ct_DUMPBIN=$DUMPBIN
4810 for ac_prog in dumpbin "link -dump"
4812 # Extract the first word of "$ac_prog", so it can be a program name with args.
4813 set dummy $ac_prog; ac_word=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -n "$ac_ct_DUMPBIN"; then
4820 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4840 if test -n "$ac_ct_DUMPBIN"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4842 $as_echo "$ac_ct_DUMPBIN" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4849 test -n "$ac_ct_DUMPBIN" && break
4852 if test "x$ac_ct_DUMPBIN" = x; then
4855 case $cross_compiling:$ac_tool_warned in
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned=yes ;;
4861 DUMPBIN=$ac_ct_DUMPBIN
4865 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4867 DUMPBIN="$DUMPBIN -symbols"
4875 if test "$DUMPBIN" != ":"; then
4879 test -z "$NM" && NM=nm
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4887 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4888 if ${lt_cv_nm_interface+:} false; then :
4889 $as_echo_n "(cached) " >&6
4891 lt_cv_nm_interface="BSD nm"
4892 echo "int some_variable = 0;" > conftest.$ac_ext
4893 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4894 (eval "$ac_compile" 2>conftest.err)
4895 cat conftest.err >&5
4896 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4897 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4898 cat conftest.err >&5
4899 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4900 cat conftest.out >&5
4901 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4902 lt_cv_nm_interface="MS dumpbin"
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4907 $as_echo "$lt_cv_nm_interface" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4910 $as_echo_n "checking whether ln -s works... " >&6; }
4912 if test "$LN_S" = "ln -s"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4914 $as_echo "yes" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4917 $as_echo "no, using $LN_S" >&6; }
4920 # find the maximum length of command line arguments
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4922 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4923 if ${lt_cv_sys_max_cmd_len+:} false; then :
4924 $as_echo_n "(cached) " >&6
4931 # On DJGPP, this test can blow up pretty badly due to problems in libc
4932 # (any single argument exceeding 2000 bytes causes a buffer overrun
4933 # during glob expansion). Even if it were fixed, the result of this
4934 # check would be larger than it should be.
4935 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4939 # Under GNU Hurd, this test is not required because there is
4940 # no limit to the length of command line arguments.
4941 # Libtool will interpret -1 as no limit whatsoever
4942 lt_cv_sys_max_cmd_len=-1;
4945 cygwin* | mingw* | cegcc*)
4946 # On Win9x/ME, this test blows up -- it succeeds, but takes
4947 # about 5 minutes as the teststring grows exponentially.
4948 # Worse, since 9x/ME are not pre-emptively multitasking,
4949 # you end up with a "frozen" computer, even though with patience
4950 # the test eventually succeeds (with a max line length of 256k).
4951 # Instead, let's just punt: use the minimum linelength reported by
4952 # all of the supported platforms: 8192 (on NT/2K/XP).
4953 lt_cv_sys_max_cmd_len=8192;
4957 # On MiNT this can take a long time and run out of memory.
4958 lt_cv_sys_max_cmd_len=8192;
4962 # On AmigaOS with pdksh, this test takes hours, literally.
4963 # So we just punt and use a minimum line length of 8192.
4964 lt_cv_sys_max_cmd_len=8192;
4967 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4968 # This has been around since 386BSD, at least. Likely further.
4969 if test -x /sbin/sysctl; then
4970 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4971 elif test -x /usr/sbin/sysctl; then
4972 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4974 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4976 # And add a safety zone
4977 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4982 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4983 lt_cv_sys_max_cmd_len=196608
4987 # The test takes a long time on OS/2.
4988 lt_cv_sys_max_cmd_len=8192
4992 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4993 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4994 # nice to cause kernel panics so lets avoid the loop below.
4995 # First set a reasonable default.
4996 lt_cv_sys_max_cmd_len=16384
4998 if test -x /sbin/sysconfig; then
4999 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5000 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5005 lt_cv_sys_max_cmd_len=102400
5007 sysv5* | sco5v6* | sysv4.2uw2*)
5008 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5009 if test -n "$kargmax"; then
5010 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5012 lt_cv_sys_max_cmd_len=32768
5016 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5017 if test -n "$lt_cv_sys_max_cmd_len"; then
5018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5021 # Make teststring a little bigger before we do anything with it.
5022 # a 1K string should be a reasonable start.
5023 for i in 1 2 3 4 5 6 7 8 ; do
5024 teststring=$teststring$teststring
5026 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5027 # If test is not a shell built-in, we'll probably end up computing a
5028 # maximum length that is only half of the actual maximum length, but
5030 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5031 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5032 test $i != 17 # 1/2 MB should be enough
5035 teststring=$teststring$teststring
5037 # Only check the string length outside the loop.
5038 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5040 # Add a significant safety factor because C++ compilers can tack on
5041 # massive amounts of additional arguments before passing them to the
5042 # linker. It appears as though 1/2 is a usable value.
5043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5050 if test -n $lt_cv_sys_max_cmd_len ; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5052 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5055 $as_echo "none" >&6; }
5057 max_cmd_len=$lt_cv_sys_max_cmd_len
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5069 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5070 # Try some XSI features
5073 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5075 && eval 'test $(( 1 + 1 )) -eq 2 \
5076 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5079 $as_echo "$xsi_shell" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5083 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5085 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5087 && lt_shell_append=yes
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5089 $as_echo "$lt_shell_append" >&6; }
5092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5102 # test EBCDIC or ASCII
5103 case `echo X|tr X '\101'` in
5104 A) # ASCII based system
5105 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5106 lt_SP2NL='tr \040 \012'
5107 lt_NL2SP='tr \015\012 \040\040'
5109 *) # EBCDIC based system
5110 lt_SP2NL='tr \100 \n'
5111 lt_NL2SP='tr \r\n \100\100'
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5124 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5125 if ${lt_cv_to_host_file_cmd+:} false; then :
5126 $as_echo_n "(cached) " >&6
5131 *-*-mingw* ) # actually msys
5132 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5135 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5137 * ) # otherwise, assume *nix
5138 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5144 *-*-mingw* ) # actually msys
5145 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5148 lt_cv_to_host_file_cmd=func_convert_file_noop
5150 * ) # otherwise, assume *nix
5151 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5155 * ) # unhandled hosts (and "normal" native builds)
5156 lt_cv_to_host_file_cmd=func_convert_file_noop
5162 to_host_file_cmd=$lt_cv_to_host_file_cmd
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5164 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5171 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5172 if ${lt_cv_to_tool_file_cmd+:} false; then :
5173 $as_echo_n "(cached) " >&6
5175 #assume ordinary cross tools, or native build.
5176 lt_cv_to_tool_file_cmd=func_convert_file_noop
5180 *-*-mingw* ) # actually msys
5181 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5189 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5191 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5198 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5199 if ${lt_cv_ld_reload_flag+:} false; then :
5200 $as_echo_n "(cached) " >&6
5202 lt_cv_ld_reload_flag='-r'
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5205 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5206 reload_flag=$lt_cv_ld_reload_flag
5207 case $reload_flag in
5209 *) reload_flag=" $reload_flag" ;;
5211 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5213 cygwin* | mingw* | pw32* | cegcc*)
5214 if test "$GCC" != yes; then
5219 if test "$GCC" = yes; then
5220 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5222 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5235 if test -n "$ac_tool_prefix"; then
5236 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5237 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_OBJDUMP+:} false; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$OBJDUMP"; then
5244 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 OBJDUMP=$ac_cv_prog_OBJDUMP
5264 if test -n "$OBJDUMP"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5266 $as_echo "$OBJDUMP" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5274 if test -z "$ac_cv_prog_OBJDUMP"; then
5275 ac_ct_OBJDUMP=$OBJDUMP
5276 # Extract the first word of "objdump", so it can be a program name with args.
5277 set dummy objdump; ac_word=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5281 $as_echo_n "(cached) " >&6
5283 if test -n "$ac_ct_OBJDUMP"; then
5284 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5303 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5304 if test -n "$ac_ct_OBJDUMP"; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5306 $as_echo "$ac_ct_OBJDUMP" >&6; }
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5312 if test "x$ac_ct_OBJDUMP" = x; then
5315 case $cross_compiling:$ac_tool_warned in
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5319 ac_tool_warned=yes ;;
5321 OBJDUMP=$ac_ct_OBJDUMP
5324 OBJDUMP="$ac_cv_prog_OBJDUMP"
5327 test -z "$OBJDUMP" && OBJDUMP=objdump
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5338 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5339 if ${lt_cv_deplibs_check_method+:} false; then :
5340 $as_echo_n "(cached) " >&6
5342 lt_cv_file_magic_cmd='$MAGIC_CMD'
5343 lt_cv_file_magic_test_file=
5344 lt_cv_deplibs_check_method='unknown'
5345 # Need to set the preceding variable on all platforms that support
5346 # interlibrary dependencies.
5347 # 'none' -- dependencies not supported.
5348 # `unknown' -- same as none, but documents that we really don't know.
5349 # 'pass_all' -- all dependencies passed with no checks.
5350 # 'test_compile' -- check by making test program.
5351 # 'file_magic [[regex]]' -- check by looking for files in library path
5352 # which responds to the $file_magic_cmd with a given extended regex.
5353 # If you have `file' or equivalent on your system and you're not sure
5354 # whether `pass_all' will *always* work, you probably want this one.
5358 lt_cv_deplibs_check_method=pass_all
5362 lt_cv_deplibs_check_method=pass_all
5366 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5367 lt_cv_file_magic_cmd='/usr/bin/file -L'
5368 lt_cv_file_magic_test_file=/shlib/libc.so
5372 # func_win32_libid is a shell function defined in ltmain.sh
5373 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5374 lt_cv_file_magic_cmd='func_win32_libid'
5378 # Base MSYS/MinGW do not provide the 'file' command needed by
5379 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5380 # unless we find 'file', for example because we are cross-compiling.
5381 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5382 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5383 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5384 lt_cv_file_magic_cmd='func_win32_libid'
5386 # Keep this pattern in sync with the one in func_win32_libid.
5387 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5388 lt_cv_file_magic_cmd='$OBJDUMP -f'
5393 # use the weaker test based on 'objdump'. See mingw*.
5394 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5395 lt_cv_file_magic_cmd='$OBJDUMP -f'
5398 darwin* | rhapsody*)
5399 lt_cv_deplibs_check_method=pass_all
5402 freebsd* | dragonfly*)
5403 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5406 # Not sure whether the presence of OpenBSD here was a mistake.
5407 # Let's accept both of them until this is cleared up.
5408 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5409 lt_cv_file_magic_cmd=/usr/bin/file
5410 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5414 lt_cv_deplibs_check_method=pass_all
5419 lt_cv_deplibs_check_method=pass_all
5423 lt_cv_deplibs_check_method=pass_all
5426 hpux10.20* | hpux11*)
5427 lt_cv_file_magic_cmd=/usr/bin/file
5430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5431 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5434 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]'
5435 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5438 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5439 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5445 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5449 irix5* | irix6* | nonstopux*)
5451 *-32|*"-32 ") libmagic=32-bit;;
5452 *-n32|*"-n32 ") libmagic=N32;;
5453 *-64|*"-64 ") libmagic=64-bit;;
5454 *) libmagic=never-match;;
5456 lt_cv_deplibs_check_method=pass_all
5459 # This must be glibc/ELF.
5460 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5461 lt_cv_deplibs_check_method=pass_all
5464 netbsd* | netbsdelf*-gnu)
5465 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5466 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5474 lt_cv_file_magic_cmd=/usr/bin/file
5475 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5479 lt_cv_deplibs_check_method=pass_all
5483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5490 osf3* | osf4* | osf5*)
5491 lt_cv_deplibs_check_method=pass_all
5495 lt_cv_deplibs_check_method=pass_all
5499 lt_cv_deplibs_check_method=pass_all
5502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5503 lt_cv_deplibs_check_method=pass_all
5507 case $host_vendor in
5509 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]'
5510 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5513 lt_cv_deplibs_check_method=pass_all
5516 lt_cv_file_magic_cmd='/bin/file'
5517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5520 lt_cv_file_magic_cmd='/bin/file'
5521 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5522 lt_cv_file_magic_test_file=/lib/libc.so
5525 lt_cv_deplibs_check_method=pass_all
5528 lt_cv_deplibs_check_method=pass_all
5534 lt_cv_deplibs_check_method=pass_all
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5540 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5544 if test "$build" = "$host"; then
5547 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5550 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5556 file_magic_cmd=$lt_cv_file_magic_cmd
5557 deplibs_check_method=$lt_cv_deplibs_check_method
5558 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_DLLTOOL+:} false; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$DLLTOOL"; then
5590 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 DLLTOOL=$ac_cv_prog_DLLTOOL
5610 if test -n "$DLLTOOL"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5612 $as_echo "$DLLTOOL" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_DLLTOOL"; then
5621 ac_ct_DLLTOOL=$DLLTOOL
5622 # Extract the first word of "dlltool", so it can be a program name with args.
5623 set dummy dlltool; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$ac_ct_DLLTOOL"; then
5630 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5650 if test -n "$ac_ct_DLLTOOL"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5652 $as_echo "$ac_ct_DLLTOOL" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_DLLTOOL" = x; then
5661 case $cross_compiling:$ac_tool_warned in
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5667 DLLTOOL=$ac_ct_DLLTOOL
5670 DLLTOOL="$ac_cv_prog_DLLTOOL"
5673 test -z "$DLLTOOL" && DLLTOOL=dlltool
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5685 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5686 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 lt_cv_sharedlib_from_linklib_cmd='unknown'
5692 cygwin* | mingw* | pw32* | cegcc*)
5693 # two different shell functions defined in ltmain.sh
5694 # decide which to use based on capabilities of $DLLTOOL
5695 case `$DLLTOOL --help 2>&1` in
5696 *--identify-strict*)
5697 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5700 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5705 # fallback: assume linklib IS sharedlib
5706 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5712 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5713 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5714 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5722 if test -n "$ac_tool_prefix"; then
5725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_AR+:} false; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -n "$AR"; then
5733 ac_cv_prog_AR="$AR" # Let the user override the test.
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5742 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 if test -n "$AR"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5755 $as_echo "$AR" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5762 test -n "$AR" && break
5765 if test -z "$AR"; then
5769 # Extract the first word of "$ac_prog", so it can be a program name with args.
5770 set dummy $ac_prog; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5774 $as_echo_n "(cached) " >&6
5776 if test -n "$ac_ct_AR"; then
5777 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_prog_ac_ct_AR="$ac_prog"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5797 if test -n "$ac_ct_AR"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5799 $as_echo "$ac_ct_AR" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5806 test -n "$ac_ct_AR" && break
5809 if test "x$ac_ct_AR" = x; then
5812 case $cross_compiling:$ac_tool_warned in
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816 ac_tool_warned=yes ;;
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5836 $as_echo_n "checking for archiver @FILE support... " >&6; }
5837 if ${lt_cv_ar_at_file+:} false; then :
5838 $as_echo_n "(cached) " >&6
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5852 if ac_fn_c_try_compile "$LINENO"; then :
5853 echo conftest.$ac_objext > conftest.lst
5854 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5855 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5856 (eval $lt_ar_try) 2>&5
5858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5859 test $ac_status = 0; }
5860 if test "$ac_status" -eq 0; then
5861 # Ensure the archiver fails upon bogus file names.
5862 rm -f conftest.$ac_objext libconftest.a
5863 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5864 (eval $lt_ar_try) 2>&5
5866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5867 test $ac_status = 0; }
5868 if test "$ac_status" -ne 0; then
5872 rm -f conftest.* libconftest.a
5875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5879 $as_echo "$lt_cv_ar_at_file" >&6; }
5881 if test "x$lt_cv_ar_at_file" = xno; then
5884 archiver_list_spec=$lt_cv_ar_at_file
5893 if test -n "$ac_tool_prefix"; then
5894 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5895 set dummy ${ac_tool_prefix}strip; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_STRIP+:} false; then :
5899 $as_echo_n "(cached) " >&6
5901 if test -n "$STRIP"; then
5902 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 STRIP=$ac_cv_prog_STRIP
5922 if test -n "$STRIP"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5924 $as_echo "$STRIP" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5932 if test -z "$ac_cv_prog_STRIP"; then
5934 # Extract the first word of "strip", so it can be a program name with args.
5935 set dummy strip; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$ac_ct_STRIP"; then
5942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_ac_ct_STRIP="strip"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5962 if test -n "$ac_ct_STRIP"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5964 $as_echo "$ac_ct_STRIP" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5970 if test "x$ac_ct_STRIP" = x; then
5973 case $cross_compiling:$ac_tool_warned in
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5977 ac_tool_warned=yes ;;
5982 STRIP="$ac_cv_prog_STRIP"
5985 test -z "$STRIP" && STRIP=:
5992 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5994 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_RANLIB+:} false; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$RANLIB"; then
6001 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 RANLIB=$ac_cv_prog_RANLIB
6021 if test -n "$RANLIB"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6023 $as_echo "$RANLIB" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6031 if test -z "$ac_cv_prog_RANLIB"; then
6032 ac_ct_RANLIB=$RANLIB
6033 # Extract the first word of "ranlib", so it can be a program name with args.
6034 set dummy ranlib; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$ac_ct_RANLIB"; then
6041 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_ac_ct_RANLIB="ranlib"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6061 if test -n "$ac_ct_RANLIB"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6063 $as_echo "$ac_ct_RANLIB" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6069 if test "x$ac_ct_RANLIB" = x; then
6072 case $cross_compiling:$ac_tool_warned in
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned=yes ;;
6078 RANLIB=$ac_ct_RANLIB
6081 RANLIB="$ac_cv_prog_RANLIB"
6084 test -z "$RANLIB" && RANLIB=:
6091 # Determine commands to create old-style static archives.
6092 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6093 old_postinstall_cmds='chmod 644 $oldlib'
6094 old_postuninstall_cmds=
6096 if test -n "$RANLIB"; then
6099 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6102 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6105 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6110 lock_old_archive_extraction=yes ;;
6112 lock_old_archive_extraction=no ;;
6153 # If no C compiler was specified, use CC.
6156 # If no C compiler flags were specified, use CFLAGS.
6157 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6159 # Allow CC to be a program name with arguments.
6163 # Check for command to grab the raw symbol name followed by C symbol from nm.
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6165 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6166 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6167 $as_echo_n "(cached) " >&6
6170 # These are sane defaults that work on at least a few old systems.
6171 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6173 # Character class describing NM global symbol codes.
6174 symcode='[BCDEGRST]'
6176 # Regexp to match symbols that can be accessed directly from C.
6177 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6179 # Define system-specific variables.
6184 cygwin* | mingw* | pw32* | cegcc*)
6185 symcode='[ABCDGISTW]'
6188 if test "$host_cpu" = ia64; then
6189 symcode='[ABCDEGRST]'
6193 symcode='[BCDEGRST]'
6196 symcode='[BCDEGQRST]'
6207 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6215 # If we're using GNU nm, then use its standard symbol codes.
6216 case `$NM -V 2>&1` in
6217 *GNU* | *'with BFD'*)
6218 symcode='[ABCDGIRSTW]' ;;
6221 # Transform an extracted symbol line into a proper C declaration.
6222 # Some systems (esp. on ia64) link data and code symbols differently,
6223 # so use this general approach.
6224 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6226 # Transform an extracted symbol line into symbol name and symbol address
6227 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6228 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'"
6230 # Handle CRLF in mingw tool chain
6234 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6238 # Try without a prefix underscore, then with it.
6239 for ac_symprfx in "" "_"; do
6241 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6242 symxfrm="\\1 $ac_symprfx\\2 \\2"
6244 # Write the raw and C identifiers.
6245 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6246 # Fake it for dumpbin and say T for any non-static function
6247 # and D for any global variable.
6248 # Also find C++ and __fastcall symbols from MSVC++,
6249 # which start with @ or ?.
6250 lt_cv_sys_global_symbol_pipe="$AWK '"\
6251 " {last_section=section; section=\$ 3};"\
6252 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6253 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6254 " \$ 0!~/External *\|/{next};"\
6255 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6256 " {if(hide[section]) next};"\
6257 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6258 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6259 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6260 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6261 " ' prfx=^$ac_symprfx"
6263 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6265 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6267 # Check to see that the pipe works correctly.
6271 cat > conftest.$ac_ext <<_LT_EOF
6276 void nm_test_func(void);
6277 void nm_test_func(void){}
6281 int main(){nm_test_var='a';nm_test_func();return(0);}
6284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6285 (eval $ac_compile) 2>&5
6287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6288 test $ac_status = 0; }; then
6289 # Now try to grab the symbols.
6291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6292 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6295 test $ac_status = 0; } && test -s "$nlist"; then
6296 # Try sorting and uniquifying the output.
6297 if sort "$nlist" | uniq > "$nlist"T; then
6298 mv -f "$nlist"T "$nlist"
6303 # Make sure that we snagged all the symbols we need.
6304 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6305 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6306 cat <<_LT_EOF > conftest.$ac_ext
6307 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6308 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6309 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6310 relocations are performed -- see ld's documentation on pseudo-relocs. */
6311 # define LT_DLSYM_CONST
6312 #elif defined(__osf__)
6313 /* This system does not cope well with relocations in const data. */
6314 # define LT_DLSYM_CONST
6316 # define LT_DLSYM_CONST const
6324 # Now generate the symbol file.
6325 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6327 cat <<_LT_EOF >> conftest.$ac_ext
6329 /* The mapping between symbol names and symbols. */
6330 LT_DLSYM_CONST struct {
6334 lt__PROGRAM__LTX_preloaded_symbols[] =
6336 { "@PROGRAM@", (void *) 0 },
6338 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6339 cat <<\_LT_EOF >> conftest.$ac_ext
6343 /* This works around a problem in FreeBSD linker */
6344 #ifdef FREEBSD_WORKAROUND
6345 static const void *lt_preloaded_setup() {
6346 return lt__PROGRAM__LTX_preloaded_symbols;
6354 # Now try linking the two files.
6355 mv conftest.$ac_objext conftstm.$ac_objext
6356 lt_globsym_save_LIBS=$LIBS
6357 lt_globsym_save_CFLAGS=$CFLAGS
6358 LIBS="conftstm.$ac_objext"
6359 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6361 (eval $ac_link) 2>&5
6363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6364 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6367 LIBS=$lt_globsym_save_LIBS
6368 CFLAGS=$lt_globsym_save_CFLAGS
6370 echo "cannot find nm_test_func in $nlist" >&5
6373 echo "cannot find nm_test_var in $nlist" >&5
6376 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6379 echo "$progname: failed program was:" >&5
6380 cat conftest.$ac_ext >&5
6382 rm -rf conftest* conftst*
6384 # Do not use the global_symbol_pipe unless it works.
6385 if test "$pipe_works" = yes; then
6388 lt_cv_sys_global_symbol_pipe=
6394 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6395 lt_cv_sys_global_symbol_to_cdecl=
6397 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6399 $as_echo "failed" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6402 $as_echo "ok" >&6; }
6405 # Response file support.
6406 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6407 nm_file_list_spec='@'
6408 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6409 nm_file_list_spec='@'
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6439 $as_echo_n "checking for sysroot... " >&6; }
6441 # Check whether --with-sysroot was given.
6442 if test "${with_sysroot+set}" = set; then :
6443 withval=$with_sysroot;
6450 case ${with_sysroot} in #(
6452 if test "$GCC" = yes; then
6453 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6457 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6463 $as_echo "${with_sysroot}" >&6; }
6464 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6469 $as_echo "${lt_sysroot:-no}" >&6; }
6475 # Check whether --enable-libtool-lock was given.
6476 if test "${enable_libtool_lock+set}" = set; then :
6477 enableval=$enable_libtool_lock;
6480 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6482 # Some flags need to be propagated to the compiler or linker for good
6486 # Find out which ABI we are using.
6487 echo 'int i;' > conftest.$ac_ext
6488 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6489 (eval $ac_compile) 2>&5
6491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6492 test $ac_status = 0; }; then
6493 case `/usr/bin/file conftest.$ac_objext` in
6505 # Find out which ABI we are using.
6506 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508 (eval $ac_compile) 2>&5
6510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511 test $ac_status = 0; }; then
6512 if test "$lt_cv_prog_gnu_ld" = yes; then
6513 case `/usr/bin/file conftest.$ac_objext` in
6515 LD="${LD-ld} -melf32bsmip"
6518 LD="${LD-ld} -melf32bmipn32"
6521 LD="${LD-ld} -melf64bmip"
6525 case `/usr/bin/file conftest.$ac_objext` in
6541 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6542 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6543 # Find out which ABI we are using.
6544 echo 'int i;' > conftest.$ac_ext
6545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6546 (eval $ac_compile) 2>&5
6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549 test $ac_status = 0; }; then
6550 case `/usr/bin/file conftest.o` in
6553 x86_64-*kfreebsd*-gnu)
6554 LD="${LD-ld} -m elf_i386_fbsd"
6557 LD="${LD-ld} -m elf_i386"
6559 ppc64-*linux*|powerpc64-*linux*)
6560 LD="${LD-ld} -m elf32ppclinux"
6563 LD="${LD-ld} -m elf_s390"
6566 LD="${LD-ld} -m elf32_sparc"
6572 x86_64-*kfreebsd*-gnu)
6573 LD="${LD-ld} -m elf_x86_64_fbsd"
6576 LD="${LD-ld} -m elf_x86_64"
6578 ppc*-*linux*|powerpc*-*linux*)
6579 LD="${LD-ld} -m elf64ppc"
6581 s390*-*linux*|s390*-*tpf*)
6582 LD="${LD-ld} -m elf64_s390"
6585 LD="${LD-ld} -m elf64_sparc"
6595 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6596 SAVE_CFLAGS="$CFLAGS"
6597 CFLAGS="$CFLAGS -belf"
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6599 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6600 if ${lt_cv_cc_needs_belf+:} false; then :
6601 $as_echo_n "(cached) " >&6
6604 ac_cpp='$CPP $CPPFLAGS'
6605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6620 if ac_fn_c_try_link "$LINENO"; then :
6621 lt_cv_cc_needs_belf=yes
6623 lt_cv_cc_needs_belf=no
6625 rm -f core conftest.err conftest.$ac_objext \
6626 conftest$ac_exeext conftest.$ac_ext
6628 ac_cpp='$CPP $CPPFLAGS'
6629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6635 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6636 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6637 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6638 CFLAGS="$SAVE_CFLAGS"
6642 # Find out which ABI we are using.
6643 echo 'int i;' > conftest.$ac_ext
6644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6645 (eval $ac_compile) 2>&5
6647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6648 test $ac_status = 0; }; then
6649 case `/usr/bin/file conftest.o` in
6651 case $lt_cv_prog_gnu_ld in
6655 LD="${LD-ld} -m elf_x86_64"
6658 LD="${LD-ld} -m elf64_sparc"
6661 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6662 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6667 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6679 need_locks="$enable_libtool_lock"
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}mt; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$MANIFEST_TOOL"; then
6690 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6710 if test -n "$MANIFEST_TOOL"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6712 $as_echo "$MANIFEST_TOOL" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6720 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6721 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6722 # Extract the first word of "mt", so it can be a program name with args.
6723 set dummy mt; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6727 $as_echo_n "(cached) " >&6
6729 if test -n "$ac_ct_MANIFEST_TOOL"; then
6730 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir=.
6737 for ac_exec_ext in '' $ac_executable_extensions; do
6738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6750 if test -n "$ac_ct_MANIFEST_TOOL"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6752 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6758 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6761 case $cross_compiling:$ac_tool_warned in
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 ac_tool_warned=yes ;;
6767 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6770 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6773 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6775 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6776 if ${lt_cv_path_mainfest_tool+:} false; then :
6777 $as_echo_n "(cached) " >&6
6779 lt_cv_path_mainfest_tool=no
6780 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6781 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6782 cat conftest.err >&5
6783 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6784 lt_cv_path_mainfest_tool=yes
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6789 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6790 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6800 rhapsody* | darwin*)
6801 if test -n "$ac_tool_prefix"; then
6802 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$DSYMUTIL"; then
6810 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6830 if test -n "$DSYMUTIL"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6832 $as_echo "$DSYMUTIL" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6840 if test -z "$ac_cv_prog_DSYMUTIL"; then
6841 ac_ct_DSYMUTIL=$DSYMUTIL
6842 # Extract the first word of "dsymutil", so it can be a program name with args.
6843 set dummy dsymutil; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -n "$ac_ct_DSYMUTIL"; then
6850 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6870 if test -n "$ac_ct_DSYMUTIL"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6872 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6878 if test "x$ac_ct_DSYMUTIL" = x; then
6881 case $cross_compiling:$ac_tool_warned in
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6887 DSYMUTIL=$ac_ct_DSYMUTIL
6890 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6893 if test -n "$ac_tool_prefix"; then
6894 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6895 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if ${ac_cv_prog_NMEDIT+:} false; then :
6899 $as_echo_n "(cached) " >&6
6901 if test -n "$NMEDIT"; then
6902 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 NMEDIT=$ac_cv_prog_NMEDIT
6922 if test -n "$NMEDIT"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6924 $as_echo "$NMEDIT" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6932 if test -z "$ac_cv_prog_NMEDIT"; then
6933 ac_ct_NMEDIT=$NMEDIT
6934 # Extract the first word of "nmedit", so it can be a program name with args.
6935 set dummy nmedit; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6939 $as_echo_n "(cached) " >&6
6941 if test -n "$ac_ct_NMEDIT"; then
6942 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6962 if test -n "$ac_ct_NMEDIT"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6964 $as_echo "$ac_ct_NMEDIT" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6970 if test "x$ac_ct_NMEDIT" = x; then
6973 case $cross_compiling:$ac_tool_warned in
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned=yes ;;
6979 NMEDIT=$ac_ct_NMEDIT
6982 NMEDIT="$ac_cv_prog_NMEDIT"
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_LIPO+:} false; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -n "$LIPO"; then
6994 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 LIPO=$ac_cv_prog_LIPO
7014 if test -n "$LIPO"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7016 $as_echo "$LIPO" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7024 if test -z "$ac_cv_prog_LIPO"; then
7026 # Extract the first word of "lipo", so it can be a program name with args.
7027 set dummy lipo; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$ac_ct_LIPO"; then
7034 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043 ac_cv_prog_ac_ct_LIPO="lipo"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7054 if test -n "$ac_ct_LIPO"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7056 $as_echo "$ac_ct_LIPO" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7062 if test "x$ac_ct_LIPO" = x; then
7065 case $cross_compiling:$ac_tool_warned in
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069 ac_tool_warned=yes ;;
7074 LIPO="$ac_cv_prog_LIPO"
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}otool; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_OTOOL+:} false; then :
7083 $as_echo_n "(cached) " >&6
7085 if test -n "$OTOOL"; then
7086 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 OTOOL=$ac_cv_prog_OTOOL
7106 if test -n "$OTOOL"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7108 $as_echo "$OTOOL" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7116 if test -z "$ac_cv_prog_OTOOL"; then
7118 # Extract the first word of "otool", so it can be a program name with args.
7119 set dummy otool; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7123 $as_echo_n "(cached) " >&6
7125 if test -n "$ac_ct_OTOOL"; then
7126 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135 ac_cv_prog_ac_ct_OTOOL="otool"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7146 if test -n "$ac_ct_OTOOL"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7148 $as_echo "$ac_ct_OTOOL" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 if test "x$ac_ct_OTOOL" = x; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7166 OTOOL="$ac_cv_prog_OTOOL"
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_OTOOL64+:} false; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -n "$OTOOL64"; then
7178 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 OTOOL64=$ac_cv_prog_OTOOL64
7198 if test -n "$OTOOL64"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7200 $as_echo "$OTOOL64" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7208 if test -z "$ac_cv_prog_OTOOL64"; then
7209 ac_ct_OTOOL64=$OTOOL64
7210 # Extract the first word of "otool64", so it can be a program name with args.
7211 set dummy otool64; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7215 $as_echo_n "(cached) " >&6
7217 if test -n "$ac_ct_OTOOL64"; then
7218 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7227 ac_cv_prog_ac_ct_OTOOL64="otool64"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7238 if test -n "$ac_ct_OTOOL64"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7240 $as_echo "$ac_ct_OTOOL64" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7246 if test "x$ac_ct_OTOOL64" = x; then
7249 case $cross_compiling:$ac_tool_warned in
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned=yes ;;
7255 OTOOL64=$ac_ct_OTOOL64
7258 OTOOL64="$ac_cv_prog_OTOOL64"
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7288 $as_echo_n "checking for -single_module linker flag... " >&6; }
7289 if ${lt_cv_apple_cc_single_mod+:} false; then :
7290 $as_echo_n "(cached) " >&6
7292 lt_cv_apple_cc_single_mod=no
7293 if test -z "${LT_MULTI_MODULE}"; then
7294 # By default we will add the -single_module flag. You can override
7295 # by either setting the environment variable LT_MULTI_MODULE
7296 # non-empty at configure time, or by adding -multi_module to the
7298 rm -rf libconftest.dylib*
7299 echo "int foo(void){return 1;}" > conftest.c
7300 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7301 -dynamiclib -Wl,-single_module conftest.c" >&5
7302 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7303 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7305 # If there is a non-empty error log, and "single_module"
7306 # appears in it, assume the flag caused a linker warning
7307 if test -s conftest.err && $GREP single_module conftest.err; then
7308 cat conftest.err >&5
7309 # Otherwise, if the output was created with a 0 exit code from
7310 # the compiler, it worked.
7311 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7312 lt_cv_apple_cc_single_mod=yes
7314 cat conftest.err >&5
7316 rm -rf libconftest.dylib*
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7321 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7324 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7325 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7326 $as_echo_n "(cached) " >&6
7328 lt_cv_ld_exported_symbols_list=no
7329 save_LDFLAGS=$LDFLAGS
7330 echo "_main" > conftest.sym
7331 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7333 /* end confdefs.h. */
7343 if ac_fn_c_try_link "$LINENO"; then :
7344 lt_cv_ld_exported_symbols_list=yes
7346 lt_cv_ld_exported_symbols_list=no
7348 rm -f core conftest.err conftest.$ac_objext \
7349 conftest$ac_exeext conftest.$ac_ext
7350 LDFLAGS="$save_LDFLAGS"
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7354 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7357 $as_echo_n "checking for -force_load linker flag... " >&6; }
7358 if ${lt_cv_ld_force_load+:} false; then :
7359 $as_echo_n "(cached) " >&6
7361 lt_cv_ld_force_load=no
7362 cat > conftest.c << _LT_EOF
7363 int forced_loaded() { return 2;}
7365 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7366 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7367 echo "$AR cru libconftest.a conftest.o" >&5
7368 $AR cru libconftest.a conftest.o 2>&5
7369 echo "$RANLIB libconftest.a" >&5
7370 $RANLIB libconftest.a 2>&5
7371 cat > conftest.c << _LT_EOF
7372 int main() { return 0;}
7374 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7375 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7377 if test -s conftest.err && $GREP force_load conftest.err; then
7378 cat conftest.err >&5
7379 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7380 lt_cv_ld_force_load=yes
7382 cat conftest.err >&5
7384 rm -f conftest.err libconftest.a conftest conftest.c
7385 rm -rf conftest.dSYM
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7389 $as_echo "$lt_cv_ld_force_load" >&6; }
7391 rhapsody* | darwin1.[012])
7392 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7394 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7395 darwin*) # darwin 5.x on
7396 # if running on 10.5 or later, the deployment target defaults
7397 # to the OS version, if on x86, and 10.4, the deployment
7398 # target defaults to 10.4. Don't you love it?
7399 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7400 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7401 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7403 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7405 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7409 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7410 _lt_dar_single_mod='$single_module'
7412 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7413 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7415 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7417 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7418 _lt_dsymutil='~$DSYMUTIL $lib || :'
7426 ac_cpp='$CPP $CPPFLAGS'
7427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7432 # On Suns, sometimes $CPP names a directory.
7433 if test -n "$CPP" && test -d "$CPP"; then
7436 if test -z "$CPP"; then
7437 if ${ac_cv_prog_CPP+:} false; then :
7438 $as_echo_n "(cached) " >&6
7440 # Double quotes because CPP needs to be expanded
7441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7444 for ac_c_preproc_warn_flag in '' yes
7446 # Use a header file that comes with gcc, so configuring glibc
7447 # with a fresh cross-compiler works.
7448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7449 # <limits.h> exists even on freestanding compilers.
7450 # On the NeXT, cc -E runs the code through the compiler's parser,
7451 # not just through cpp. "Syntax error" is here to catch this case.
7452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7453 /* end confdefs.h. */
7455 # include <limits.h>
7457 # include <assert.h>
7461 if ac_fn_c_try_cpp "$LINENO"; then :
7464 # Broken: fails on valid input.
7467 rm -f conftest.err conftest.i conftest.$ac_ext
7469 # OK, works on sane cases. Now check whether nonexistent headers
7470 # can be detected and how.
7471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7472 /* end confdefs.h. */
7473 #include <ac_nonexistent.h>
7475 if ac_fn_c_try_cpp "$LINENO"; then :
7476 # Broken: success on invalid input.
7479 # Passes both tests.
7483 rm -f conftest.err conftest.i conftest.$ac_ext
7486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7487 rm -f conftest.i conftest.err conftest.$ac_ext
7488 if $ac_preproc_ok; then :
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7501 $as_echo "$CPP" >&6; }
7503 for ac_c_preproc_warn_flag in '' yes
7505 # Use a header file that comes with gcc, so configuring glibc
7506 # with a fresh cross-compiler works.
7507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7508 # <limits.h> exists even on freestanding compilers.
7509 # On the NeXT, cc -E runs the code through the compiler's parser,
7510 # not just through cpp. "Syntax error" is here to catch this case.
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7514 # include <limits.h>
7516 # include <assert.h>
7520 if ac_fn_c_try_cpp "$LINENO"; then :
7523 # Broken: fails on valid input.
7526 rm -f conftest.err conftest.i conftest.$ac_ext
7528 # OK, works on sane cases. Now check whether nonexistent headers
7529 # can be detected and how.
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7532 #include <ac_nonexistent.h>
7534 if ac_fn_c_try_cpp "$LINENO"; then :
7535 # Broken: success on invalid input.
7538 # Passes both tests.
7542 rm -f conftest.err conftest.i conftest.$ac_ext
7545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7546 rm -f conftest.i conftest.err conftest.$ac_ext
7547 if $ac_preproc_ok; then :
7550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7552 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7553 See \`config.log' for more details" "$LINENO" 5; }
7557 ac_cpp='$CPP $CPPFLAGS'
7558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7564 $as_echo_n "checking for ANSI C header files... " >&6; }
7565 if ${ac_cv_header_stdc+:} false; then :
7566 $as_echo_n "(cached) " >&6
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7583 if ac_fn_c_try_compile "$LINENO"; then :
7584 ac_cv_header_stdc=yes
7586 ac_cv_header_stdc=no
7588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7590 if test $ac_cv_header_stdc = yes; then
7591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7598 $EGREP "memchr" >/dev/null 2>&1; then :
7601 ac_cv_header_stdc=no
7607 if test $ac_cv_header_stdc = yes; then
7608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h. */
7614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7615 $EGREP "free" >/dev/null 2>&1; then :
7618 ac_cv_header_stdc=no
7624 if test $ac_cv_header_stdc = yes; then
7625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7626 if test "$cross_compiling" = yes; then :
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7633 #if ((' ' & 0x0FF) == 0x020)
7634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7637 # define ISLOWER(c) \
7638 (('a' <= (c) && (c) <= 'i') \
7639 || ('j' <= (c) && (c) <= 'r') \
7640 || ('s' <= (c) && (c) <= 'z'))
7641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7649 for (i = 0; i < 256; i++)
7650 if (XOR (islower (i), ISLOWER (i))
7651 || toupper (i) != TOUPPER (i))
7656 if ac_fn_c_try_run "$LINENO"; then :
7659 ac_cv_header_stdc=no
7661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7662 conftest.$ac_objext conftest.beam conftest.$ac_ext
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7668 $as_echo "$ac_cv_header_stdc" >&6; }
7669 if test $ac_cv_header_stdc = yes; then
7671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7677 inttypes.h stdint.h unistd.h
7679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7683 cat >>confdefs.h <<_ACEOF
7684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7692 for ac_header in dlfcn.h
7694 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7696 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_DLFCN_H 1
7710 # Check whether --enable-static was given.
7711 if test "${enable_static+set}" = set; then :
7712 enableval=$enable_static; p=${PACKAGE-default}
7714 yes) enable_static=yes ;;
7715 no) enable_static=no ;;
7718 # Look at the argument we got. We use all the common list separators.
7719 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7720 for pkg in $enableval; do
7722 if test "X$pkg" = "X$p"; then
7748 # Check whether --enable-shared was given.
7749 if test "${enable_shared+set}" = set; then :
7750 enableval=$enable_shared; p=${PACKAGE-default}
7752 yes) enable_shared=yes ;;
7753 no) enable_shared=no ;;
7756 # Look at the argument we got. We use all the common list separators.
7757 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7758 for pkg in $enableval; do
7760 if test "X$pkg" = "X$p"; then
7781 # Check whether --with-pic was given.
7782 if test "${with_pic+set}" = set; then :
7783 withval=$with_pic; lt_p=${PACKAGE-default}
7785 yes|no) pic_mode=$withval ;;
7788 # Look at the argument we got. We use all the common list separators.
7789 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7790 for lt_pkg in $withval; do
7792 if test "X$lt_pkg" = "X$lt_p"; then
7804 test -z "$pic_mode" && pic_mode=default
7812 # Check whether --enable-fast-install was given.
7813 if test "${enable_fast_install+set}" = set; then :
7814 enableval=$enable_fast_install; p=${PACKAGE-default}
7816 yes) enable_fast_install=yes ;;
7817 no) enable_fast_install=no ;;
7819 enable_fast_install=no
7820 # Look at the argument we got. We use all the common list separators.
7821 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7822 for pkg in $enableval; do
7824 if test "X$pkg" = "X$p"; then
7825 enable_fast_install=yes
7832 enable_fast_install=yes
7845 # This can be used to rebuild libtool when needed
7846 LIBTOOL_DEPS="$ltmain"
7848 # Always use our own libtool.
7849 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7880 test -z "$LN_S" && LN_S="ln -s"
7895 if test -n "${ZSH_VERSION+set}" ; then
7896 setopt NO_GLOB_SUBST
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7900 $as_echo_n "checking for objdir... " >&6; }
7901 if ${lt_cv_objdir+:} false; then :
7902 $as_echo_n "(cached) " >&6
7904 rm -f .libs 2>/dev/null
7905 mkdir .libs 2>/dev/null
7906 if test -d .libs; then
7909 # MS-DOS does not allow filenames that begin with a dot.
7912 rmdir .libs 2>/dev/null
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7915 $as_echo "$lt_cv_objdir" >&6; }
7916 objdir=$lt_cv_objdir
7922 cat >>confdefs.h <<_ACEOF
7923 #define LT_OBJDIR "$lt_cv_objdir/"
7931 # AIX sometimes has problems with the GCC collect2 program. For some
7932 # reason, if we set the COLLECT_NAMES environment variable, the problems
7933 # vanish in a puff of smoke.
7934 if test "X${COLLECT_NAMES+set}" != Xset; then
7936 export COLLECT_NAMES
7943 can_build_shared=yes
7945 # All known linkers require a `.a' archive for static linking (except MSVC,
7946 # which needs '.lib').
7949 with_gnu_ld="$lt_cv_prog_gnu_ld"
7952 old_CFLAGS="$CFLAGS"
7954 # Set sane defaults for various variables
7955 test -z "$CC" && CC=cc
7956 test -z "$LTCC" && LTCC=$CC
7957 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7958 test -z "$LD" && LD=ld
7959 test -z "$ac_objext" && ac_objext=o
7961 for cc_temp in $compiler""; do
7963 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7964 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7969 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7972 # Only perform the check for file, if the check method requires it
7973 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7974 case $deplibs_check_method in
7976 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7978 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7979 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7980 $as_echo_n "(cached) " >&6
7984 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7987 lt_save_MAGIC_CMD="$MAGIC_CMD"
7988 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7989 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7990 for ac_dir in $ac_dummy; do
7992 test -z "$ac_dir" && ac_dir=.
7993 if test -f $ac_dir/${ac_tool_prefix}file; then
7994 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7995 if test -n "$file_magic_test_file"; then
7996 case $deplibs_check_method in
7998 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8000 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8001 $EGREP "$file_magic_regex" > /dev/null; then
8006 *** Warning: the command libtool uses to detect shared libraries,
8007 *** $file_magic_cmd, produces output that libtool cannot recognize.
8008 *** The result is that libtool may fail to recognize shared libraries
8009 *** as such. This will affect the creation of libtool libraries that
8010 *** depend on shared libraries, but programs linked with such libtool
8011 *** libraries will work regardless of this problem. Nevertheless, you
8012 *** may want to report the problem to your system manager and/or to
8013 *** bug-libtool@gnu.org
8023 MAGIC_CMD="$lt_save_MAGIC_CMD"
8028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8029 if test -n "$MAGIC_CMD"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8031 $as_echo "$MAGIC_CMD" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8041 if test -z "$lt_cv_path_MAGIC_CMD"; then
8042 if test -n "$ac_tool_prefix"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8044 $as_echo_n "checking for file... " >&6; }
8045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8046 $as_echo_n "(cached) " >&6
8050 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8053 lt_save_MAGIC_CMD="$MAGIC_CMD"
8054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8055 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8056 for ac_dir in $ac_dummy; do
8058 test -z "$ac_dir" && ac_dir=.
8059 if test -f $ac_dir/file; then
8060 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8061 if test -n "$file_magic_test_file"; then
8062 case $deplibs_check_method in
8064 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8066 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8067 $EGREP "$file_magic_regex" > /dev/null; then
8072 *** Warning: the command libtool uses to detect shared libraries,
8073 *** $file_magic_cmd, produces output that libtool cannot recognize.
8074 *** The result is that libtool may fail to recognize shared libraries
8075 *** as such. This will affect the creation of libtool libraries that
8076 *** depend on shared libraries, but programs linked with such libtool
8077 *** libraries will work regardless of this problem. Nevertheless, you
8078 *** may want to report the problem to your system manager and/or to
8079 *** bug-libtool@gnu.org
8089 MAGIC_CMD="$lt_save_MAGIC_CMD"
8094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8095 if test -n "$MAGIC_CMD"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8097 $as_echo "$MAGIC_CMD" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8113 # Use C for the default configuration in the libtool script
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8123 # Source file extension for C test sources.
8126 # Object file extension for compiled C test sources.
8130 # Code to be used in simple compile tests
8131 lt_simple_compile_test_code="int some_variable = 0;"
8133 # Code to be used in simple link tests
8134 lt_simple_link_test_code='int main(){return(0);}'
8142 # If no C compiler was specified, use CC.
8145 # If no C compiler flags were specified, use CFLAGS.
8146 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8148 # Allow CC to be a program name with arguments.
8151 # Save the default compiler, since it gets overwritten when the other
8152 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8153 compiler_DEFAULT=$CC
8155 # save warnings/boilerplate of simple test code
8156 ac_outfile=conftest.$ac_objext
8157 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8158 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8159 _lt_compiler_boilerplate=`cat conftest.err`
8162 ac_outfile=conftest.$ac_objext
8163 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8164 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8165 _lt_linker_boilerplate=`cat conftest.err`
8170 ## There is no encapsulation within the following macros, do not change
8171 ## the running order or otherwise move them around unless you know exactly
8172 ## what you are doing...
8173 if test -n "$compiler"; then
8175 lt_prog_compiler_no_builtin_flag=
8177 if test "$GCC" = yes; then
8178 case $cc_basename in
8180 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8182 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8186 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8187 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8188 $as_echo_n "(cached) " >&6
8190 lt_cv_prog_compiler_rtti_exceptions=no
8191 ac_outfile=conftest.$ac_objext
8192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8193 lt_compiler_flag="-fno-rtti -fno-exceptions"
8194 # Insert the option either (1) after the last *FLAGS variable, or
8195 # (2) before a word containing "conftest.", or (3) at the end.
8196 # Note that $ac_compile itself does not contain backslashes and begins
8197 # with a dollar sign (not a hyphen), so the echo should work correctly.
8198 # The option is referenced via a variable to avoid confusing sed.
8199 lt_compile=`echo "$ac_compile" | $SED \
8200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8202 -e 's:$: $lt_compiler_flag:'`
8203 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8204 (eval "$lt_compile" 2>conftest.err)
8206 cat conftest.err >&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 if (exit $ac_status) && test -s "$ac_outfile"; then
8209 # The compiler can only warn and ignore the option if not recognized
8210 # So say no if there are warnings other than the usual output.
8211 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8212 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8213 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8214 lt_cv_prog_compiler_rtti_exceptions=yes
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8221 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8223 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8224 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8236 lt_prog_compiler_wl=
8237 lt_prog_compiler_pic=
8238 lt_prog_compiler_static=
8241 if test "$GCC" = yes; then
8242 lt_prog_compiler_wl='-Wl,'
8243 lt_prog_compiler_static='-static'
8247 # All AIX code is PIC.
8248 if test "$host_cpu" = ia64; then
8249 # AIX 5 now supports IA64 processor
8250 lt_prog_compiler_static='-Bstatic'
8257 # see comment about AmigaOS4 .so support
8258 lt_prog_compiler_pic='-fPIC'
8261 # FIXME: we need at least 68020 code to build shared libraries, but
8262 # adding the `-m68020' flag to GCC prevents building anything better,
8264 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8269 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8270 # PIC is the default for these OSes.
8273 mingw* | cygwin* | pw32* | os2* | cegcc*)
8274 # This hack is so that the source file can tell whether it is being
8275 # built for inclusion in a dll (and should export symbols for example).
8276 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8277 # (--disable-auto-import) libraries
8278 lt_prog_compiler_pic='-DDLL_EXPORT'
8281 darwin* | rhapsody*)
8282 # PIC is the default on this platform
8283 # Common symbols not allowed in MH_DYLIB files
8284 lt_prog_compiler_pic='-fno-common'
8288 # PIC is the default for Haiku.
8289 # The "-static" flag exists, but is broken.
8290 lt_prog_compiler_static=
8294 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8295 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8296 # sets the default TLS model and affects inlining.
8302 lt_prog_compiler_pic='-fPIC'
8308 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8309 # Instead, we relocate shared libraries at runtime.
8313 # Just because we use GCC doesn't mean we suddenly get shared libraries
8314 # on systems that don't support them.
8315 lt_prog_compiler_can_build_shared=no
8320 # QNX uses GNU C++, but need to define -shared option too, otherwise
8322 lt_prog_compiler_pic='-fPIC -shared'
8326 if test -d /usr/nec; then
8327 lt_prog_compiler_pic=-Kconform_pic
8332 lt_prog_compiler_pic='-fPIC'
8336 case $cc_basename in
8337 nvcc*) # Cuda Compiler Driver 2.2
8338 lt_prog_compiler_wl='-Xlinker '
8339 if test -n "$lt_prog_compiler_pic"; then
8340 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8345 # PORTME Check for flag to pass linker flags through the system compiler.
8348 lt_prog_compiler_wl='-Wl,'
8349 if test "$host_cpu" = ia64; then
8350 # AIX 5 now supports IA64 processor
8351 lt_prog_compiler_static='-Bstatic'
8353 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8357 mingw* | cygwin* | pw32* | os2* | cegcc*)
8358 # This hack is so that the source file can tell whether it is being
8359 # built for inclusion in a dll (and should export symbols for example).
8360 lt_prog_compiler_pic='-DDLL_EXPORT'
8363 hpux9* | hpux10* | hpux11*)
8364 lt_prog_compiler_wl='-Wl,'
8365 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8372 lt_prog_compiler_pic='+Z'
8375 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8376 lt_prog_compiler_static='${wl}-a ${wl}archive'
8379 irix5* | irix6* | nonstopux*)
8380 lt_prog_compiler_wl='-Wl,'
8381 # PIC (with -KPIC) is the default.
8382 lt_prog_compiler_static='-non_shared'
8385 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8386 case $cc_basename in
8387 # old Intel for x86_64 which still supported -KPIC.
8389 lt_prog_compiler_wl='-Wl,'
8390 lt_prog_compiler_pic='-KPIC'
8391 lt_prog_compiler_static='-static'
8393 # icc used to be incompatible with GCC.
8394 # ICC 10 doesn't accept -KPIC any more.
8396 lt_prog_compiler_wl='-Wl,'
8397 lt_prog_compiler_pic='-fPIC'
8398 lt_prog_compiler_static='-static'
8400 # Lahey Fortran 8.1.
8402 lt_prog_compiler_wl='-Wl,'
8403 lt_prog_compiler_pic='--shared'
8404 lt_prog_compiler_static='--static'
8407 # NAG Fortran compiler
8408 lt_prog_compiler_wl='-Wl,-Wl,,'
8409 lt_prog_compiler_pic='-PIC'
8410 lt_prog_compiler_static='-Bstatic'
8412 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8413 # Portland Group compilers (*not* the Pentium gcc compiler,
8414 # which looks to be a dead project)
8415 lt_prog_compiler_wl='-Wl,'
8416 lt_prog_compiler_pic='-fpic'
8417 lt_prog_compiler_static='-Bstatic'
8420 lt_prog_compiler_wl='-Wl,'
8421 # All Alpha code is PIC.
8422 lt_prog_compiler_static='-non_shared'
8424 xl* | bgxl* | bgf* | mpixl*)
8425 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_pic='-qpic'
8428 lt_prog_compiler_static='-qstaticlink'
8431 case `$CC -V 2>&1 | sed 5q` in
8432 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8433 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8434 lt_prog_compiler_pic='-KPIC'
8435 lt_prog_compiler_static='-Bstatic'
8436 lt_prog_compiler_wl=''
8438 *Sun\ F* | *Sun*Fortran*)
8439 lt_prog_compiler_pic='-KPIC'
8440 lt_prog_compiler_static='-Bstatic'
8441 lt_prog_compiler_wl='-Qoption ld '
8445 lt_prog_compiler_pic='-KPIC'
8446 lt_prog_compiler_static='-Bstatic'
8447 lt_prog_compiler_wl='-Wl,'
8449 *Intel*\ [CF]*Compiler*)
8450 lt_prog_compiler_wl='-Wl,'
8451 lt_prog_compiler_pic='-fPIC'
8452 lt_prog_compiler_static='-static'
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='-fpic'
8457 lt_prog_compiler_static='-Bstatic'
8465 lt_prog_compiler_pic='-KPIC'
8466 lt_prog_compiler_static='-Bstatic'
8470 # QNX uses GNU C++, but need to define -shared option too, otherwise
8472 lt_prog_compiler_pic='-fPIC -shared'
8475 osf3* | osf4* | osf5*)
8476 lt_prog_compiler_wl='-Wl,'
8477 # All OSF/1 code is PIC.
8478 lt_prog_compiler_static='-non_shared'
8482 lt_prog_compiler_static='-non_shared'
8486 lt_prog_compiler_pic='-KPIC'
8487 lt_prog_compiler_static='-Bstatic'
8488 case $cc_basename in
8489 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8490 lt_prog_compiler_wl='-Qoption ld ';;
8492 lt_prog_compiler_wl='-Wl,';;
8497 lt_prog_compiler_wl='-Qoption ld '
8498 lt_prog_compiler_pic='-PIC'
8499 lt_prog_compiler_static='-Bstatic'
8502 sysv4 | sysv4.2uw2* | sysv4.3*)
8503 lt_prog_compiler_wl='-Wl,'
8504 lt_prog_compiler_pic='-KPIC'
8505 lt_prog_compiler_static='-Bstatic'
8509 if test -d /usr/nec ;then
8510 lt_prog_compiler_pic='-Kconform_pic'
8511 lt_prog_compiler_static='-Bstatic'
8515 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8516 lt_prog_compiler_wl='-Wl,'
8517 lt_prog_compiler_pic='-KPIC'
8518 lt_prog_compiler_static='-Bstatic'
8522 lt_prog_compiler_wl='-Wl,'
8523 lt_prog_compiler_can_build_shared=no
8527 lt_prog_compiler_pic='-pic'
8528 lt_prog_compiler_static='-Bstatic'
8532 lt_prog_compiler_can_build_shared=no
8538 # For platforms which do not support PIC, -DPIC is meaningless:
8540 lt_prog_compiler_pic=
8543 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8548 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8549 if ${lt_cv_prog_compiler_pic+:} false; then :
8550 $as_echo_n "(cached) " >&6
8552 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8555 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8556 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8559 # Check to make sure the PIC flag actually works.
8561 if test -n "$lt_prog_compiler_pic"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8563 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8564 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8565 $as_echo_n "(cached) " >&6
8567 lt_cv_prog_compiler_pic_works=no
8568 ac_outfile=conftest.$ac_objext
8569 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8570 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8571 # Insert the option either (1) after the last *FLAGS variable, or
8572 # (2) before a word containing "conftest.", or (3) at the end.
8573 # Note that $ac_compile itself does not contain backslashes and begins
8574 # with a dollar sign (not a hyphen), so the echo should work correctly.
8575 # The option is referenced via a variable to avoid confusing sed.
8576 lt_compile=`echo "$ac_compile" | $SED \
8577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8579 -e 's:$: $lt_compiler_flag:'`
8580 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8581 (eval "$lt_compile" 2>conftest.err)
8583 cat conftest.err >&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 if (exit $ac_status) && test -s "$ac_outfile"; then
8586 # The compiler can only warn and ignore the option if not recognized
8587 # So say no if there are warnings other than the usual output.
8588 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8589 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8590 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8591 lt_cv_prog_compiler_pic_works=yes
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8598 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8600 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8601 case $lt_prog_compiler_pic in
8603 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_can_build_shared=no
8623 # Check to make sure the static flag actually works.
8625 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8627 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8628 if ${lt_cv_prog_compiler_static_works+:} false; then :
8629 $as_echo_n "(cached) " >&6
8631 lt_cv_prog_compiler_static_works=no
8632 save_LDFLAGS="$LDFLAGS"
8633 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8634 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8635 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8636 # The linker can only warn and ignore the option if not recognized
8637 # So say no if there are warnings
8638 if test -s conftest.err; then
8639 # Append any errors to the config.log.
8640 cat conftest.err 1>&5
8641 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8642 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8643 if diff conftest.exp conftest.er2 >/dev/null; then
8644 lt_cv_prog_compiler_static_works=yes
8647 lt_cv_prog_compiler_static_works=yes
8651 LDFLAGS="$save_LDFLAGS"
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8655 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8657 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8660 lt_prog_compiler_static=
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8670 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8671 if ${lt_cv_prog_compiler_c_o+:} false; then :
8672 $as_echo_n "(cached) " >&6
8674 lt_cv_prog_compiler_c_o=no
8675 $RM -r conftest 2>/dev/null
8679 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8681 lt_compiler_flag="-o out/conftest2.$ac_objext"
8682 # Insert the option either (1) after the last *FLAGS variable, or
8683 # (2) before a word containing "conftest.", or (3) at the end.
8684 # Note that $ac_compile itself does not contain backslashes and begins
8685 # with a dollar sign (not a hyphen), so the echo should work correctly.
8686 lt_compile=`echo "$ac_compile" | $SED \
8687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8689 -e 's:$: $lt_compiler_flag:'`
8690 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8691 (eval "$lt_compile" 2>out/conftest.err)
8693 cat out/conftest.err >&5
8694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8697 # The compiler can only warn and ignore the option if not recognized
8698 # So say no if there are warnings
8699 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8700 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8701 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8702 lt_cv_prog_compiler_c_o=yes
8707 # SGI C++ compiler will create directory out/ii_files/ for
8708 # template instantiation
8709 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8710 $RM out/* && rmdir out
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8717 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8726 if ${lt_cv_prog_compiler_c_o+:} false; then :
8727 $as_echo_n "(cached) " >&6
8729 lt_cv_prog_compiler_c_o=no
8730 $RM -r conftest 2>/dev/null
8734 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8736 lt_compiler_flag="-o out/conftest2.$ac_objext"
8737 # Insert the option either (1) after the last *FLAGS variable, or
8738 # (2) before a word containing "conftest.", or (3) at the end.
8739 # Note that $ac_compile itself does not contain backslashes and begins
8740 # with a dollar sign (not a hyphen), so the echo should work correctly.
8741 lt_compile=`echo "$ac_compile" | $SED \
8742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8744 -e 's:$: $lt_compiler_flag:'`
8745 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8746 (eval "$lt_compile" 2>out/conftest.err)
8748 cat out/conftest.err >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8752 # The compiler can only warn and ignore the option if not recognized
8753 # So say no if there are warnings
8754 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8755 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8756 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8757 lt_cv_prog_compiler_c_o=yes
8762 # SGI C++ compiler will create directory out/ii_files/ for
8763 # template instantiation
8764 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8765 $RM out/* && rmdir out
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8772 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8777 hard_links="nottested"
8778 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8779 # do not overwrite the value of need_locks provided by the user
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8781 $as_echo_n "checking if we can lock with hard links... " >&6; }
8784 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8786 ln conftest.a conftest.b 2>&5 || hard_links=no
8787 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8789 $as_echo "$hard_links" >&6; }
8790 if test "$hard_links" = no; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8792 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8805 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8808 allow_undefined_flag=
8809 always_export_symbols=no
8811 archive_expsym_cmds=
8812 compiler_needs_object=no
8813 enable_shared_with_static_runtimes=no
8814 export_dynamic_flag_spec=
8815 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8816 hardcode_automatic=no
8818 hardcode_direct_absolute=no
8819 hardcode_libdir_flag_spec=
8820 hardcode_libdir_separator=
8822 hardcode_shlibpath_var=unsupported
8824 link_all_deplibs=unknown
8827 old_archive_from_new_cmds=
8828 old_archive_from_expsyms_cmds=
8829 thread_safe_flag_spec=
8830 whole_archive_flag_spec=
8831 # include_expsyms should be a list of space-separated symbols to be *always*
8832 # included in the symbol list
8834 # exclude_expsyms can be an extended regexp of symbols to exclude
8835 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8836 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8837 # as well as any symbol that contains `d'.
8838 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8839 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8840 # platforms (ab)use it in PIC code, but their linkers get confused if
8841 # the symbol is explicitly referenced. Since portable code cannot
8842 # rely on this symbol name, it's probably fine to never include it in
8843 # preloaded symbol tables.
8844 # Exclude shared library initialization/finalization symbols.
8845 extract_expsyms_cmds=
8848 cygwin* | mingw* | pw32* | cegcc*)
8849 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8850 # When not using gcc, we currently assume that we are using
8851 # Microsoft Visual C++.
8852 if test "$GCC" != yes; then
8857 # we just hope/assume this is gcc and not c89 (= MSVC++)
8863 linux* | k*bsd*-gnu | gnu*)
8870 # On some targets, GNU ld is compatible enough with the native linker
8871 # that we're better off using the native interface for both.
8872 lt_use_gnu_ld_interface=no
8873 if test "$with_gnu_ld" = yes; then
8876 # The AIX port of GNU ld has always aspired to compatibility
8877 # with the native linker. However, as the warning in the GNU ld
8878 # block says, versions before 2.19.5* couldn't really create working
8879 # shared libraries, regardless of the interface used.
8880 case `$LD -v 2>&1` in
8881 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8882 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8883 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8885 lt_use_gnu_ld_interface=yes
8890 lt_use_gnu_ld_interface=yes
8895 if test "$lt_use_gnu_ld_interface" = yes; then
8896 # If archive_cmds runs LD, not CC, wlarc should be empty
8899 # Set some defaults for GNU ld with shared library support. These
8900 # are reset later if shared libraries are not supported. Putting them
8901 # here allows them to be overridden if necessary.
8902 runpath_var=LD_RUN_PATH
8903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8904 export_dynamic_flag_spec='${wl}--export-dynamic'
8905 # ancient GNU ld didn't support --whole-archive et. al.
8906 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8907 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8909 whole_archive_flag_spec=
8911 supports_anon_versioning=no
8912 case `$LD -v 2>&1` in
8913 *GNU\ gold*) supports_anon_versioning=yes ;;
8914 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8915 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8916 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8917 *\ 2.11.*) ;; # other 2.11 versions
8918 *) supports_anon_versioning=yes ;;
8921 # See if GNU ld supports shared libraries.
8924 # On AIX/PPC, the GNU linker is very broken
8925 if test "$host_cpu" != ia64; then
8929 *** Warning: the GNU linker, at least up to release 2.19, is reported
8930 *** to be unable to reliably create shared libraries on AIX.
8931 *** Therefore, libtool is disabling shared libraries support. If you
8932 *** really care for shared libraries, you may want to install binutils
8933 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8934 *** You will then need to restart the configuration process.
8943 # see comment about AmigaOS4 .so support
8944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945 archive_expsym_cmds=''
8948 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)'
8949 hardcode_libdir_flag_spec='-L$libdir'
8950 hardcode_minus_L=yes
8956 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8957 allow_undefined_flag=unsupported
8958 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8959 # support --undefined. This deserves some investigation. FIXME
8960 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966 cygwin* | mingw* | pw32* | cegcc*)
8967 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8968 # as there is no search path for DLLs.
8969 hardcode_libdir_flag_spec='-L$libdir'
8970 export_dynamic_flag_spec='${wl}--export-all-symbols'
8971 allow_undefined_flag=unsupported
8972 always_export_symbols=no
8973 enable_shared_with_static_runtimes=yes
8974 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'
8975 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8977 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8978 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8979 # If the export-symbols file already is a .def file (1st line
8980 # is EXPORTS), use it as is; otherwise, prepend...
8981 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8982 cp $export_symbols $output_objdir/$soname.def;
8984 echo EXPORTS > $output_objdir/$soname.def;
8985 cat $export_symbols >> $output_objdir/$soname.def;
8987 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8994 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8995 link_all_deplibs=yes
9000 hardcode_shlibpath_var=no
9001 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9002 export_dynamic_flag_spec='${wl}-E'
9003 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9004 # Instead, shared libraries are loaded at an image base (0x10000000 by
9005 # default) and relocated if they conflict, which is a slow very memory
9006 # consuming and fragmenting process. To avoid this, we pick a random,
9007 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9008 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9009 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9010 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'
9013 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9015 if test "$host_os" = linux-dietlibc; then
9016 case $cc_basename in
9017 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9020 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9021 && test "$tmp_diet" = no
9023 tmp_addflag=' $pic_flag'
9024 tmp_sharedflag='-shared'
9025 case $cc_basename,$host_cpu in
9026 pgcc*) # Portland Group C compiler
9027 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'
9028 tmp_addflag=' $pic_flag'
9030 pgf77* | pgf90* | pgf95* | pgfortran*)
9031 # Portland Group f77 and f90 compilers
9032 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'
9033 tmp_addflag=' $pic_flag -Mnomain' ;;
9034 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9035 tmp_addflag=' -i_dynamic' ;;
9036 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9037 tmp_addflag=' -i_dynamic -nofor_main' ;;
9038 ifc* | ifort*) # Intel Fortran compiler
9039 tmp_addflag=' -nofor_main' ;;
9040 lf95*) # Lahey Fortran 8.1
9041 whole_archive_flag_spec=
9042 tmp_sharedflag='--shared' ;;
9043 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9044 tmp_sharedflag='-qmkshrobj'
9046 nvcc*) # Cuda Compiler Driver 2.2
9047 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'
9048 compiler_needs_object=yes
9051 case `$CC -V 2>&1 | sed 5q` in
9052 *Sun\ C*) # Sun C 5.9
9053 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'
9054 compiler_needs_object=yes
9055 tmp_sharedflag='-G' ;;
9056 *Sun\ F*) # Sun Fortran 8.3
9057 tmp_sharedflag='-G' ;;
9059 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9061 if test "x$supports_anon_versioning" = xyes; then
9062 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9063 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9064 echo "local: *; };" >> $output_objdir/$libname.ver~
9065 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9068 case $cc_basename in
9069 xlf* | bgf* | bgxlf* | mpixlf*)
9070 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9071 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9072 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9073 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9074 if test "x$supports_anon_versioning" = xyes; then
9075 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9076 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9077 echo "local: *; };" >> $output_objdir/$libname.ver~
9078 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9087 netbsd* | netbsdelf*-gnu)
9088 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9089 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9092 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9098 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9102 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9103 *** create shared libraries on Solaris systems. Therefore, libtool
9104 *** is disabling shared libraries support. We urge you to upgrade GNU
9105 *** binutils to release 2.9.1 or newer. Another option is to modify
9106 *** your PATH or compiler configuration so that the native linker is
9107 *** used, and then restart.
9110 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9111 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9118 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9119 case `$LD -v 2>&1` in
9120 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9124 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9125 *** reliably create shared libraries on SCO systems. Therefore, libtool
9126 *** is disabling shared libraries support. We urge you to upgrade GNU
9127 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9128 *** your PATH or compiler configuration so that the native linker is
9129 *** used, and then restart.
9134 # For security reasons, it is highly recommended that you always
9135 # use absolute paths for naming shared libraries, and exclude the
9136 # DT_RUNPATH tag from executables and libraries. But doing so
9137 # requires that you compile everything twice, which is a pain.
9138 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9139 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9150 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9153 hardcode_shlibpath_var=no
9157 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9158 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9166 if test "$ld_shlibs" = no; then
9168 hardcode_libdir_flag_spec=
9169 export_dynamic_flag_spec=
9170 whole_archive_flag_spec=
9173 # PORTME fill in a description of your system's linker (not GNU ld)
9176 allow_undefined_flag=unsupported
9177 always_export_symbols=yes
9178 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'
9179 # Note: this linker hardcodes the directories in LIBPATH if there
9180 # are no directories specified by -L.
9181 hardcode_minus_L=yes
9182 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9183 # Neither direct hardcoding nor static linking is supported with a
9185 hardcode_direct=unsupported
9190 if test "$host_cpu" = ia64; then
9191 # On IA64, the linker does run time linking by default, so we don't
9192 # have to do anything special.
9193 aix_use_runtimelinking=no
9194 exp_sym_flag='-Bexport'
9197 # If we're using GNU nm, then we don't want the "-C" option.
9198 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9199 # Also, AIX nm treats weak defined symbols like other global
9200 # defined symbols, whereas GNU nm marks them as "W".
9201 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9202 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'
9204 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'
9206 aix_use_runtimelinking=no
9208 # Test if we are trying to use run time linking or normal
9209 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9210 # need to do runtime linking.
9211 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9212 for ld_flag in $LDFLAGS; do
9213 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9214 aix_use_runtimelinking=yes
9221 exp_sym_flag='-bexport'
9222 no_entry_flag='-bnoentry'
9225 # When large executables or shared objects are built, AIX ld can
9226 # have problems creating the table of contents. If linking a library
9227 # or program results in "error TOC overflow" add -mminimal-toc to
9228 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9229 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9233 hardcode_direct_absolute=yes
9234 hardcode_libdir_separator=':'
9235 link_all_deplibs=yes
9236 file_list_spec='${wl}-f,'
9238 if test "$GCC" = yes; then
9239 case $host_os in aix4.[012]|aix4.[012].*)
9240 # We only want to do this on AIX 4.2 and lower, the check
9241 # below for broken collect2 doesn't work under 4.3+
9242 collect2name=`${CC} -print-prog-name=collect2`
9243 if test -f "$collect2name" &&
9244 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9246 # We have reworked collect2
9249 # We have old collect2
9250 hardcode_direct=unsupported
9251 # It fails to find uninstalled libraries when the uninstalled
9252 # path is not listed in the libpath. Setting hardcode_minus_L
9253 # to unsupported forces relinking
9254 hardcode_minus_L=yes
9255 hardcode_libdir_flag_spec='-L$libdir'
9256 hardcode_libdir_separator=
9260 shared_flag='-shared'
9261 if test "$aix_use_runtimelinking" = yes; then
9262 shared_flag="$shared_flag "'${wl}-G'
9267 if test "$host_cpu" = ia64; then
9268 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9269 # chokes on -Wl,-G. The following line is correct:
9272 if test "$aix_use_runtimelinking" = yes; then
9273 shared_flag='${wl}-G'
9275 shared_flag='${wl}-bM:SRE'
9280 export_dynamic_flag_spec='${wl}-bexpall'
9281 # It seems that -bexpall does not export symbols beginning with
9282 # underscore (_), so it is better to generate a list of symbols to export.
9283 always_export_symbols=yes
9284 if test "$aix_use_runtimelinking" = yes; then
9285 # Warning - without using the other runtime loading flags (-brtl),
9286 # -berok will link without error, but may produce a broken library.
9287 allow_undefined_flag='-berok'
9288 # Determine the default libpath from the value encoded in an
9290 if test "${lt_cv_aix_libpath+set}" = set; then
9291 aix_libpath=$lt_cv_aix_libpath
9293 if ${lt_cv_aix_libpath_+:} false; then :
9294 $as_echo_n "(cached) " >&6
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9307 if ac_fn_c_try_link "$LINENO"; then :
9309 lt_aix_libpath_sed='
9310 /Import File Strings/,/^$/ {
9312 s/^0 *\([^ ]*\) *$/\1/
9316 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9317 # Check for a 64-bit object if we didn't find anything.
9318 if test -z "$lt_cv_aix_libpath_"; then
9319 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 if test -z "$lt_cv_aix_libpath_"; then
9325 lt_cv_aix_libpath_="/usr/lib:/lib"
9330 aix_libpath=$lt_cv_aix_libpath_
9333 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9334 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"
9336 if test "$host_cpu" = ia64; then
9337 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9338 allow_undefined_flag="-z nodefs"
9339 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"
9341 # Determine the default libpath from the value encoded in an
9343 if test "${lt_cv_aix_libpath+set}" = set; then
9344 aix_libpath=$lt_cv_aix_libpath
9346 if ${lt_cv_aix_libpath_+:} false; then :
9347 $as_echo_n "(cached) " >&6
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9360 if ac_fn_c_try_link "$LINENO"; then :
9362 lt_aix_libpath_sed='
9363 /Import File Strings/,/^$/ {
9365 s/^0 *\([^ ]*\) *$/\1/
9369 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9370 # Check for a 64-bit object if we didn't find anything.
9371 if test -z "$lt_cv_aix_libpath_"; then
9372 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 if test -z "$lt_cv_aix_libpath_"; then
9378 lt_cv_aix_libpath_="/usr/lib:/lib"
9383 aix_libpath=$lt_cv_aix_libpath_
9386 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9387 # Warning - without using the other run time loading flags,
9388 # -berok will link without error, but may produce a broken library.
9389 no_undefined_flag=' ${wl}-bernotok'
9390 allow_undefined_flag=' ${wl}-berok'
9391 if test "$with_gnu_ld" = yes; then
9392 # We only use this code for GNU lds that support --whole-archive.
9393 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9395 # Exported symbols can be pulled into shared objects from archives
9396 whole_archive_flag_spec='$convenience'
9398 archive_cmds_need_lc=yes
9399 # This is similar to how AIX traditionally builds its shared libraries.
9400 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'
9408 # see comment about AmigaOS4 .so support
9409 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410 archive_expsym_cmds=''
9413 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)'
9414 hardcode_libdir_flag_spec='-L$libdir'
9415 hardcode_minus_L=yes
9421 export_dynamic_flag_spec=-rdynamic
9424 cygwin* | mingw* | pw32* | cegcc*)
9425 # When not using gcc, we currently assume that we are using
9426 # Microsoft Visual C++.
9427 # hardcode_libdir_flag_spec is actually meaningless, as there is
9428 # no search path for DLLs.
9429 case $cc_basename in
9432 hardcode_libdir_flag_spec=' '
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9436 # Tell ltmain to make .lib files, not .a files.
9438 # Tell ltmain to make .dll files, not .so files.
9440 # FIXME: Setting linknames here is a bad hack.
9441 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9442 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9443 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9445 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9447 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9449 # The linker will not automatically build a static lib if we build a DLL.
9450 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9451 enable_shared_with_static_runtimes=yes
9452 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9453 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9455 old_postinstall_cmds='chmod 644 $oldlib'
9456 postlink_cmds='lt_outputfile="@OUTPUT@"~
9457 lt_tool_outputfile="@TOOL_OUTPUT@"~
9458 case $lt_outputfile in
9461 lt_outputfile="$lt_outputfile.exe"
9462 lt_tool_outputfile="$lt_tool_outputfile.exe"
9465 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9466 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9467 $RM "$lt_outputfile.manifest";
9471 # Assume MSVC wrapper
9472 hardcode_libdir_flag_spec=' '
9473 allow_undefined_flag=unsupported
9474 # Tell ltmain to make .lib files, not .a files.
9476 # Tell ltmain to make .dll files, not .so files.
9478 # FIXME: Setting linknames here is a bad hack.
9479 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9480 # The linker will automatically build a .lib file if we build a DLL.
9481 old_archive_from_new_cmds='true'
9482 # FIXME: Should let the user specify the lib program.
9483 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9484 enable_shared_with_static_runtimes=yes
9489 darwin* | rhapsody*)
9492 archive_cmds_need_lc=no
9494 hardcode_automatic=yes
9495 hardcode_shlibpath_var=unsupported
9496 if test "$lt_cv_ld_force_load" = "yes"; then
9497 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\"`'
9500 whole_archive_flag_spec=''
9502 link_all_deplibs=yes
9503 allow_undefined_flag="$_lt_dar_allow_undefined"
9504 case $cc_basename in
9505 ifort*) _lt_dar_can_shared=yes ;;
9506 *) _lt_dar_can_shared=$GCC ;;
9508 if test "$_lt_dar_can_shared" = "yes"; then
9509 output_verbose_link_cmd=func_echo_all
9510 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9511 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9512 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}"
9513 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}"
9522 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9523 hardcode_libdir_flag_spec='-L$libdir'
9524 hardcode_shlibpath_var=no
9527 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9528 # support. Future versions do this automatically, but an explicit c++rt0.o
9529 # does not break anything, and helps significantly (at the cost of a little
9532 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9533 hardcode_libdir_flag_spec='-R$libdir'
9535 hardcode_shlibpath_var=no
9538 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9540 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9542 hardcode_minus_L=yes
9543 hardcode_shlibpath_var=no
9546 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9547 freebsd* | dragonfly*)
9548 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9549 hardcode_libdir_flag_spec='-R$libdir'
9551 hardcode_shlibpath_var=no
9555 if test "$GCC" = yes; then
9556 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'
9558 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'
9560 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9561 hardcode_libdir_separator=:
9564 # hardcode_minus_L: Not really in the search PATH,
9565 # but as the default location of the library.
9566 hardcode_minus_L=yes
9567 export_dynamic_flag_spec='${wl}-E'
9571 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9572 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9574 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9576 if test "$with_gnu_ld" = no; then
9577 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9578 hardcode_libdir_separator=:
9580 hardcode_direct_absolute=yes
9581 export_dynamic_flag_spec='${wl}-E'
9582 # hardcode_minus_L: Not really in the search PATH,
9583 # but as the default location of the library.
9584 hardcode_minus_L=yes
9589 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9592 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9595 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9604 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9607 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9611 # Older versions of the 11.00 compiler do not understand -b yet
9612 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9614 $as_echo_n "checking if $CC understands -b... " >&6; }
9615 if ${lt_cv_prog_compiler__b+:} false; then :
9616 $as_echo_n "(cached) " >&6
9618 lt_cv_prog_compiler__b=no
9619 save_LDFLAGS="$LDFLAGS"
9620 LDFLAGS="$LDFLAGS -b"
9621 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9622 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9623 # The linker can only warn and ignore the option if not recognized
9624 # So say no if there are warnings
9625 if test -s conftest.err; then
9626 # Append any errors to the config.log.
9627 cat conftest.err 1>&5
9628 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9629 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9630 if diff conftest.exp conftest.er2 >/dev/null; then
9631 lt_cv_prog_compiler__b=yes
9634 lt_cv_prog_compiler__b=yes
9638 LDFLAGS="$save_LDFLAGS"
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9642 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9644 if test x"$lt_cv_prog_compiler__b" = xyes; then
9645 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9653 if test "$with_gnu_ld" = no; then
9654 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9655 hardcode_libdir_separator=:
9660 hardcode_shlibpath_var=no
9664 hardcode_direct_absolute=yes
9665 export_dynamic_flag_spec='${wl}-E'
9667 # hardcode_minus_L: Not really in the search PATH,
9668 # but as the default location of the library.
9669 hardcode_minus_L=yes
9675 irix5* | irix6* | nonstopux*)
9676 if test "$GCC" = yes; then
9677 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'
9678 # Try to use the -exported_symbol ld option, if it does not
9679 # work, assume that -exports_file does not work either and
9680 # implicitly export all symbols.
9681 # This should be the same for all languages, so no per-tag cache variable.
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9683 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9684 if ${lt_cv_irix_exported_symbol+:} false; then :
9685 $as_echo_n "(cached) " >&6
9687 save_LDFLAGS="$LDFLAGS"
9688 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9691 int foo (void) { return 0; }
9693 if ac_fn_c_try_link "$LINENO"; then :
9694 lt_cv_irix_exported_symbol=yes
9696 lt_cv_irix_exported_symbol=no
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LDFLAGS="$save_LDFLAGS"
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9703 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9704 if test "$lt_cv_irix_exported_symbol" = yes; then
9705 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'
9708 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'
9709 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'
9711 archive_cmds_need_lc='no'
9712 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9713 hardcode_libdir_separator=:
9715 link_all_deplibs=yes
9718 netbsd* | netbsdelf*-gnu)
9719 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9720 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9722 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9724 hardcode_libdir_flag_spec='-R$libdir'
9726 hardcode_shlibpath_var=no
9730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9733 hardcode_libdir_separator=:
9734 hardcode_shlibpath_var=no
9741 if test -f /usr/libexec/ld.so; then
9743 hardcode_shlibpath_var=no
9744 hardcode_direct_absolute=yes
9745 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9746 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9748 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9749 export_dynamic_flag_spec='${wl}-E'
9752 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9754 hardcode_libdir_flag_spec='-R$libdir'
9757 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9758 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9768 hardcode_libdir_flag_spec='-L$libdir'
9769 hardcode_minus_L=yes
9770 allow_undefined_flag=unsupported
9771 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'
9772 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9776 if test "$GCC" = yes; then
9777 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9778 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'
9780 allow_undefined_flag=' -expect_unresolved \*'
9781 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'
9783 archive_cmds_need_lc='no'
9784 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9785 hardcode_libdir_separator=:
9788 osf4* | osf5*) # as osf3* with the addition of -msym flag
9789 if test "$GCC" = yes; then
9790 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9791 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'
9792 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9794 allow_undefined_flag=' -expect_unresolved \*'
9795 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'
9796 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~
9797 $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'
9799 # Both c and cxx compiler support -rpath directly
9800 hardcode_libdir_flag_spec='-rpath $libdir'
9802 archive_cmds_need_lc='no'
9803 hardcode_libdir_separator=:
9807 no_undefined_flag=' -z defs'
9808 if test "$GCC" = yes; then
9810 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9812 $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'
9814 case `$CC -V 2>&1` in
9817 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9819 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9823 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9824 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9825 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9829 hardcode_libdir_flag_spec='-R$libdir'
9830 hardcode_shlibpath_var=no
9832 solaris2.[0-5] | solaris2.[0-5].*) ;;
9834 # The compiler driver will combine and reorder linker options,
9835 # but understands `-z linker_flag'. GCC discards it without `$wl',
9836 # but is careful enough not to reorder.
9837 # Supported since Solaris 2.6 (maybe 2.5.1?)
9838 if test "$GCC" = yes; then
9839 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9841 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9845 link_all_deplibs=yes
9849 if test "x$host_vendor" = xsequent; then
9850 # Use $CC to link under sequent, because it throws in some extra .o
9851 # files that make .init and .fini sections work.
9852 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9856 hardcode_libdir_flag_spec='-L$libdir'
9858 hardcode_minus_L=yes
9859 hardcode_shlibpath_var=no
9863 case $host_vendor in
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_direct=yes # is this really true???
9869 ## LD is ld it makes a PLAMLIB
9870 ## CC just makes a GrossModule.
9871 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9872 reload_cmds='$CC -r -o $output$reload_objs'
9876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9880 runpath_var='LD_RUN_PATH'
9881 hardcode_shlibpath_var=no
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_shlibpath_var=no
9887 export_dynamic_flag_spec='-Bexport'
9891 if test -d /usr/nec; then
9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_shlibpath_var=no
9894 runpath_var=LD_RUN_PATH
9895 hardcode_runpath_var=yes
9900 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9901 no_undefined_flag='${wl}-z,text'
9902 archive_cmds_need_lc=no
9903 hardcode_shlibpath_var=no
9904 runpath_var='LD_RUN_PATH'
9906 if test "$GCC" = yes; then
9907 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9911 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915 sysv5* | sco3.2v5* | sco5v6*)
9916 # Note: We can NOT use -z defs as we might desire, because we do not
9917 # link with -lc, and that would cause any symbols used from libc to
9918 # always be unresolved, which means just about no library would
9919 # ever link correctly. If we're not using GNU ld we use -z text
9920 # though, which does catch some bad symbols but isn't as heavy-handed
9922 no_undefined_flag='${wl}-z,text'
9923 allow_undefined_flag='${wl}-z,nodefs'
9924 archive_cmds_need_lc=no
9925 hardcode_shlibpath_var=no
9926 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9927 hardcode_libdir_separator=':'
9928 link_all_deplibs=yes
9929 export_dynamic_flag_spec='${wl}-Bexport'
9930 runpath_var='LD_RUN_PATH'
9932 if test "$GCC" = yes; then
9933 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_libdir_flag_spec='-L$libdir'
9944 hardcode_shlibpath_var=no
9952 if test x$host_vendor = xsni; then
9954 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9955 export_dynamic_flag_spec='${wl}-Blargedynsym'
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9962 $as_echo "$ld_shlibs" >&6; }
9963 test "$ld_shlibs" = no && can_build_shared=no
9965 with_gnu_ld=$with_gnu_ld
9982 # Do we need to explicitly link libc?
9984 case "x$archive_cmds_need_lc" in
9986 # Assume -lc should be added
9987 archive_cmds_need_lc=yes
9989 if test "$enable_shared" = yes && test "$GCC" = yes; then
9990 case $archive_cmds in
9992 # FIXME: we may have to deal with multi-command sequences.
9995 # Test whether the compiler implicitly links with -lc since on some
9996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9997 # to ld, don't add -lc before -lgcc.
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9999 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10000 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10001 $as_echo_n "(cached) " >&6
10004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10007 (eval $ac_compile) 2>&5
10009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10010 test $ac_status = 0; } 2>conftest.err; then
10013 libobjs=conftest.$ac_objext
10015 wl=$lt_prog_compiler_wl
10016 pic_flag=$lt_prog_compiler_pic
10022 lt_save_allow_undefined_flag=$allow_undefined_flag
10023 allow_undefined_flag=
10024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10025 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10028 test $ac_status = 0; }
10030 lt_cv_archive_cmds_need_lc=no
10032 lt_cv_archive_cmds_need_lc=yes
10034 allow_undefined_flag=$lt_save_allow_undefined_flag
10036 cat conftest.err 1>&5
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10042 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10043 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10202 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10204 if test "$GCC" = yes; then
10206 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10207 *) lt_awk_arg="/^libraries:/" ;;
10210 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10211 *) lt_sed_strip_eq="s,=/,/,g" ;;
10213 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10214 case $lt_search_path_spec in
10216 # if the path contains ";" then we assume it to be the separator
10217 # otherwise default to the standard path separator (i.e. ":") - it is
10218 # assumed that no part of a normal pathname contains ";" but that should
10219 # okay in the real world where ";" in dirpaths is itself problematic.
10220 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10223 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10226 # Ok, now we have the path, separated by spaces, we can step through it
10227 # and add multilib dir if necessary.
10228 lt_tmp_lt_search_path_spec=
10229 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10230 for lt_sys_path in $lt_search_path_spec; do
10231 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10232 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10234 test -d "$lt_sys_path" && \
10235 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10238 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10239 BEGIN {RS=" "; FS="/|\n";} {
10242 for (lt_i = NF; lt_i > 0; lt_i--) {
10243 if ($lt_i != "" && $lt_i != ".") {
10244 if ($lt_i == "..") {
10247 if (lt_count == 0) {
10248 lt_foo="/" $lt_i lt_foo;
10255 if (lt_foo != "") { lt_freq[lt_foo]++; }
10256 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10258 # AWK program above erroneously prepends '/' to C:/dos/paths
10261 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10262 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10264 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10266 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10268 library_names_spec=
10269 libname_spec='lib$name'
10273 postuninstall_cmds=
10277 shlibpath_overrides_runpath=unknown
10279 dynamic_linker="$host_os ld.so"
10280 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10281 need_lib_prefix=unknown
10282 hardcode_into_libs=no
10284 # when you set need_version to no, make sure it does not cause -set_version
10285 # flags to be left without arguments
10286 need_version=unknown
10290 version_type=linux # correct to gnu/linux during the next big refactor
10291 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10292 shlibpath_var=LIBPATH
10294 # AIX 3 has no versioning support, so we append a major version to the name.
10295 soname_spec='${libname}${release}${shared_ext}$major'
10299 version_type=linux # correct to gnu/linux during the next big refactor
10302 hardcode_into_libs=yes
10303 if test "$host_cpu" = ia64; then
10304 # AIX 5 supports IA64
10305 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10306 shlibpath_var=LD_LIBRARY_PATH
10308 # With GCC up to 2.95.x, collect2 would create an import file
10309 # for dependence libraries. The import file would start with
10310 # the line `#! .'. This would cause the generated library to
10311 # depend on `.', always an invalid library. This was fixed in
10312 # development snapshots of GCC prior to 3.0.
10314 aix4 | aix4.[01] | aix4.[01].*)
10315 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10317 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10320 can_build_shared=no
10324 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10325 # soname into executable. Probably we can add versioning support to
10326 # collect2, so additional links can be useful in future.
10327 if test "$aix_use_runtimelinking" = yes; then
10328 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10329 # instead of lib<name>.a to let people know that these are not
10330 # typical AIX shared libraries.
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10333 # We preserve .a as extension for shared libraries through AIX4.2
10334 # and later when we are not doing run time linking.
10335 library_names_spec='${libname}${release}.a $libname.a'
10336 soname_spec='${libname}${release}${shared_ext}$major'
10338 shlibpath_var=LIBPATH
10345 # Since July 2007 AmigaOS4 officially supports .so libraries.
10346 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 library_names_spec='$libname.ixlibrary $libname.a'
10351 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10352 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'
10358 library_names_spec='${libname}${shared_ext}'
10359 dynamic_linker="$host_os ld.so"
10360 shlibpath_var=LIBRARY_PATH
10364 version_type=linux # correct to gnu/linux during the next big refactor
10366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367 soname_spec='${libname}${release}${shared_ext}$major'
10368 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10369 shlibpath_var=LD_LIBRARY_PATH
10370 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10371 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10372 # the default ld.so.conf also contains /usr/contrib/lib and
10373 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10374 # libtool to hard-code these into programs
10377 cygwin* | mingw* | pw32* | cegcc*)
10378 version_type=windows
10383 case $GCC,$cc_basename in
10386 library_names_spec='$libname.dll.a'
10387 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10388 postinstall_cmds='base_file=`basename \${file}`~
10389 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10390 dldir=$destdir/`dirname \$dlpath`~
10391 test -d \$dldir || mkdir -p \$dldir~
10392 $install_prog $dir/$dlname \$dldir/$dlname~
10393 chmod a+x \$dldir/$dlname~
10394 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10395 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10397 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10398 dlpath=$dir/\$dldll~
10400 shlibpath_overrides_runpath=yes
10404 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10405 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10407 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10410 # MinGW DLLs use traditional 'lib' prefix
10411 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10414 # pw32 DLLs use 'pw' prefix rather than 'lib'
10415 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10418 dynamic_linker='Win32 ld.exe'
10423 libname_spec='$name'
10424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10425 library_names_spec='${libname}.dll.lib'
10429 sys_lib_search_path_spec=
10432 for lt_path in $LIB
10435 # Let DOS variable expansion print the short 8.3 style file name.
10436 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10437 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10440 # Convert to MSYS style.
10441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10444 # Convert to unix form, then to dos form, then back to unix form
10445 # but this time dos style (no spaces!) so that the unix form looks
10446 # like /cygdrive/c/PROGRA~1:/cygdr...
10447 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10448 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10449 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10452 sys_lib_search_path_spec="$LIB"
10453 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10454 # It is most probably a Windows format PATH.
10455 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10457 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10459 # FIXME: find the short name or the path components, as spaces are
10460 # common. (e.g. "Program Files" -> "PROGRA~1")
10464 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10465 postinstall_cmds='base_file=`basename \${file}`~
10466 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10467 dldir=$destdir/`dirname \$dlpath`~
10468 test -d \$dldir || mkdir -p \$dldir~
10469 $install_prog $dir/$dlname \$dldir/$dlname'
10470 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10471 dlpath=$dir/\$dldll~
10473 shlibpath_overrides_runpath=yes
10474 dynamic_linker='Win32 link.exe'
10478 # Assume MSVC wrapper
10479 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10480 dynamic_linker='Win32 ld.exe'
10483 # FIXME: first we should search . and the directory the executable is in
10487 darwin* | rhapsody*)
10488 dynamic_linker="$host_os dyld"
10489 version_type=darwin
10492 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10493 soname_spec='${libname}${release}${major}$shared_ext'
10494 shlibpath_overrides_runpath=yes
10495 shlibpath_var=DYLD_LIBRARY_PATH
10496 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10498 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10499 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10503 version_type=linux # correct to gnu/linux during the next big refactor
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 shlibpath_var=LD_LIBRARY_PATH
10511 freebsd* | dragonfly*)
10512 # DragonFly does not have aout. When/if they implement a new
10513 # versioning mechanism, adjust this.
10514 if test -x /usr/bin/objformat; then
10515 objformat=`/usr/bin/objformat`
10518 freebsd[23].*) objformat=aout ;;
10519 *) objformat=elf ;;
10522 version_type=freebsd-$objformat
10523 case $version_type in
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10534 shlibpath_var=LD_LIBRARY_PATH
10537 shlibpath_overrides_runpath=yes
10539 freebsd3.[01]* | freebsdelf3.[01]*)
10540 shlibpath_overrides_runpath=yes
10541 hardcode_into_libs=yes
10543 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10544 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10545 shlibpath_overrides_runpath=no
10546 hardcode_into_libs=yes
10548 *) # from 4.6 on, and DragonFly
10549 shlibpath_overrides_runpath=yes
10550 hardcode_into_libs=yes
10556 version_type=linux # correct to gnu/linux during the next big refactor
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10560 soname_spec='${libname}${release}${shared_ext}$major'
10561 shlibpath_var=LD_LIBRARY_PATH
10562 shlibpath_overrides_runpath=no
10563 hardcode_into_libs=yes
10567 version_type=linux # correct to gnu/linux during the next big refactor
10570 dynamic_linker="$host_os runtime_loader"
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 shlibpath_var=LIBRARY_PATH
10574 shlibpath_overrides_runpath=yes
10575 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10576 hardcode_into_libs=yes
10579 hpux9* | hpux10* | hpux11*)
10580 # Give a soname corresponding to the major version so that dld.sl refuses to
10581 # link against other versions.
10588 hardcode_into_libs=yes
10589 dynamic_linker="$host_os dld.so"
10590 shlibpath_var=LD_LIBRARY_PATH
10591 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 if test "X$HPUX_IA64_MODE" = X32; then
10595 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10597 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10599 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10603 hardcode_into_libs=yes
10604 dynamic_linker="$host_os dld.sl"
10605 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10606 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10610 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10614 dynamic_linker="$host_os dld.sl"
10615 shlibpath_var=SHLIB_PATH
10616 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618 soname_spec='${libname}${release}${shared_ext}$major'
10621 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10622 postinstall_cmds='chmod 555 $lib'
10623 # or fails outright, so override atomically:
10624 install_override_mode=555
10628 version_type=linux # correct to gnu/linux during the next big refactor
10631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10632 soname_spec='${libname}${release}${shared_ext}$major'
10633 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10634 shlibpath_var=LD_LIBRARY_PATH
10635 shlibpath_overrides_runpath=no
10636 hardcode_into_libs=yes
10639 irix5* | irix6* | nonstopux*)
10641 nonstopux*) version_type=nonstopux ;;
10643 if test "$lt_cv_prog_gnu_ld" = yes; then
10644 version_type=linux # correct to gnu/linux during the next big refactor
10651 soname_spec='${libname}${release}${shared_ext}$major'
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 irix5* | nonstopux*)
10655 libsuff= shlibsuff=
10658 case $LD in # libtool.m4 will add one of these switches to LD
10659 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10660 libsuff= shlibsuff= libmagic=32-bit;;
10661 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10662 libsuff=32 shlibsuff=N32 libmagic=N32;;
10663 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10664 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10665 *) libsuff= shlibsuff= libmagic=never-match;;
10669 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10670 shlibpath_overrides_runpath=no
10671 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10672 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10673 hardcode_into_libs=yes
10676 # No shared lib support for Linux oldld, aout, or coff.
10677 linux*oldld* | linux*aout* | linux*coff*)
10681 # This must be glibc/ELF.
10682 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10683 version_type=linux # correct to gnu/linux during the next big refactor
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687 soname_spec='${libname}${release}${shared_ext}$major'
10688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 shlibpath_overrides_runpath=no
10692 # Some binutils ld are patched to set DT_RUNPATH
10693 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10694 $as_echo_n "(cached) " >&6
10696 lt_cv_shlibpath_overrides_runpath=no
10697 save_LDFLAGS=$LDFLAGS
10698 save_libdir=$libdir
10699 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10700 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10714 lt_cv_shlibpath_overrides_runpath=yes
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LDFLAGS=$save_LDFLAGS
10720 libdir=$save_libdir
10724 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10726 # This implies no fast_install, which is unacceptable.
10727 # Some rework will be needed to allow for fast_install
10728 # before this can be enabled.
10729 hardcode_into_libs=yes
10731 # Append ld.so.conf contents to the search path
10732 if test -f /etc/ld.so.conf; then
10733 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' ' '`
10734 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10737 # We used to test for /lib/ld.so.1 and disable shared libraries on
10738 # powerpc, because MkLinux only supported shared libraries with the
10739 # GNU dynamic linker. Since this was broken with cross compilers,
10740 # most powerpc-linux boxes support dynamic linking these days and
10741 # people can always --disable-shared, the test was removed, and we
10742 # assume the GNU/Linux dynamic linker is in use.
10743 dynamic_linker='GNU/Linux ld.so'
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10751 soname_spec='${libname}${release}${shared_ext}$major'
10752 shlibpath_var=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath=no
10754 hardcode_into_libs=yes
10755 dynamic_linker='NetBSD ld.elf_so'
10762 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10764 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10765 dynamic_linker='NetBSD (a.out) ld.so'
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10768 soname_spec='${libname}${release}${shared_ext}$major'
10769 dynamic_linker='NetBSD ld.elf_so'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 shlibpath_overrides_runpath=yes
10773 hardcode_into_libs=yes
10777 version_type=linux # correct to gnu/linux during the next big refactor
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=yes
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=no
10791 hardcode_into_libs=yes
10792 dynamic_linker='ldqnx.so'
10797 sys_lib_dlsearch_path_spec="/usr/lib"
10799 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10801 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10802 *) need_version=no ;;
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10805 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10806 shlibpath_var=LD_LIBRARY_PATH
10807 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10809 openbsd2.[89] | openbsd2.[89].*)
10810 shlibpath_overrides_runpath=no
10813 shlibpath_overrides_runpath=yes
10817 shlibpath_overrides_runpath=yes
10822 libname_spec='$name'
10825 library_names_spec='$libname${shared_ext} $libname.a'
10826 dynamic_linker='OS/2 ld.exe'
10827 shlibpath_var=LIBPATH
10830 osf3* | osf4* | osf5*)
10834 soname_spec='${libname}${release}${shared_ext}$major'
10835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10838 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10846 version_type=linux # correct to gnu/linux during the next big refactor
10849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 shlibpath_var=LD_LIBRARY_PATH
10852 shlibpath_overrides_runpath=yes
10853 hardcode_into_libs=yes
10854 # ldd complains unless libraries are executable
10855 postinstall_cmds='chmod +x $lib'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10861 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10862 shlibpath_var=LD_LIBRARY_PATH
10863 shlibpath_overrides_runpath=yes
10864 if test "$with_gnu_ld" = yes; then
10871 version_type=linux # correct to gnu/linux during the next big refactor
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec='${libname}${release}${shared_ext}$major'
10874 shlibpath_var=LD_LIBRARY_PATH
10875 case $host_vendor in
10877 shlibpath_overrides_runpath=no
10879 runpath_var=LD_RUN_PATH
10887 shlibpath_overrides_runpath=no
10888 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10894 if test -d /usr/nec ;then
10895 version_type=linux # correct to gnu/linux during the next big refactor
10896 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10897 soname_spec='$libname${shared_ext}.$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10902 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10903 version_type=freebsd-elf
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10907 soname_spec='${libname}${release}${shared_ext}$major'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=yes
10910 hardcode_into_libs=yes
10911 if test "$with_gnu_ld" = yes; then
10912 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10914 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10917 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10921 sys_lib_dlsearch_path_spec='/usr/lib'
10925 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10926 version_type=linux # correct to gnu/linux during the next big refactor
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930 shlibpath_var=LD_LIBRARY_PATH
10931 shlibpath_overrides_runpath=no
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 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10947 $as_echo "$dynamic_linker" >&6; }
10948 test "$dynamic_linker" = no && can_build_shared=no
10950 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10951 if test "$GCC" = yes; then
10952 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10955 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10956 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10958 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10959 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11054 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11056 if test -n "$hardcode_libdir_flag_spec" ||
11057 test -n "$runpath_var" ||
11058 test "X$hardcode_automatic" = "Xyes" ; then
11060 # We can hardcode non-existent directories.
11061 if test "$hardcode_direct" != no &&
11062 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11063 # have to relink, otherwise we might link with an installed library
11064 # when we should be linking with a yet-to-be-installed one
11065 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11066 test "$hardcode_minus_L" != no; then
11067 # Linking always hardcodes the temporary library directory.
11068 hardcode_action=relink
11070 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11071 hardcode_action=immediate
11074 # We cannot hardcode anything, or else we can only hardcode existing
11076 hardcode_action=unsupported
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11079 $as_echo "$hardcode_action" >&6; }
11081 if test "$hardcode_action" = relink ||
11082 test "$inherit_rpath" = yes; then
11083 # Fast installation is not supported
11084 enable_fast_install=no
11085 elif test "$shlibpath_overrides_runpath" = yes ||
11086 test "$enable_shared" = no; then
11087 # Fast installation is not necessary
11088 enable_fast_install=needless
11096 if test "x$enable_dlopen" != xyes; then
11097 enable_dlopen=unknown
11098 enable_dlopen_self=unknown
11099 enable_dlopen_self_static=unknown
11106 lt_cv_dlopen="load_add_on"
11108 lt_cv_dlopen_self=yes
11111 mingw* | pw32* | cegcc*)
11112 lt_cv_dlopen="LoadLibrary"
11117 lt_cv_dlopen="dlopen"
11122 # if libdl is installed we need to link against it
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11124 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11125 if ${ac_cv_lib_dl_dlopen+:} false; then :
11126 $as_echo_n "(cached) " >&6
11128 ac_check_lib_save_LIBS=$LIBS
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11148 if ac_fn_c_try_link "$LINENO"; then :
11149 ac_cv_lib_dl_dlopen=yes
11151 ac_cv_lib_dl_dlopen=no
11153 rm -f core conftest.err conftest.$ac_objext \
11154 conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11158 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11159 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11160 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11163 lt_cv_dlopen="dyld"
11165 lt_cv_dlopen_self=yes
11172 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11173 if test "x$ac_cv_func_shl_load" = xyes; then :
11174 lt_cv_dlopen="shl_load"
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11177 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11178 if ${ac_cv_lib_dld_shl_load+:} false; then :
11179 $as_echo_n "(cached) " >&6
11181 ac_check_lib_save_LIBS=$LIBS
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11196 return shl_load ();
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_dld_shl_load=yes
11204 ac_cv_lib_dld_shl_load=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11211 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11212 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11213 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11215 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11216 if test "x$ac_cv_func_dlopen" = xyes; then :
11217 lt_cv_dlopen="dlopen"
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11220 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11221 if ${ac_cv_lib_dl_dlopen+:} false; then :
11222 $as_echo_n "(cached) " >&6
11224 ac_check_lib_save_LIBS=$LIBS
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11247 ac_cv_lib_dl_dlopen=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11259 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11260 if ${ac_cv_lib_svld_dlopen+:} false; then :
11261 $as_echo_n "(cached) " >&6
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lsvld $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_svld_dlopen=yes
11286 ac_cv_lib_svld_dlopen=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11293 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11294 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11295 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11298 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11299 if ${ac_cv_lib_dld_dld_link+:} false; then :
11300 $as_echo_n "(cached) " >&6
11302 ac_check_lib_save_LIBS=$LIBS
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11307 /* Override any GCC internal prototype to avoid an error.
11308 Use char because int might match the return type of a GCC
11309 builtin and then its argument prototype would still apply. */
11317 return dld_link ();
11322 if ac_fn_c_try_link "$LINENO"; then :
11323 ac_cv_lib_dld_dld_link=yes
11325 ac_cv_lib_dld_dld_link=no
11327 rm -f core conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11332 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11333 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11334 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11355 if test "x$lt_cv_dlopen" != xno; then
11361 case $lt_cv_dlopen in
11363 save_CPPFLAGS="$CPPFLAGS"
11364 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11366 save_LDFLAGS="$LDFLAGS"
11367 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11370 LIBS="$lt_cv_dlopen_libs $LIBS"
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11373 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11374 if ${lt_cv_dlopen_self+:} false; then :
11375 $as_echo_n "(cached) " >&6
11377 if test "$cross_compiling" = yes; then :
11378 lt_cv_dlopen_self=cross
11380 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11381 lt_status=$lt_dlunknown
11382 cat > conftest.$ac_ext <<_LT_EOF
11383 #line $LINENO "configure"
11384 #include "confdefs.h"
11393 # define LT_DLGLOBAL RTLD_GLOBAL
11396 # define LT_DLGLOBAL DL_GLOBAL
11398 # define LT_DLGLOBAL 0
11402 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11403 find out it does not work in some platform. */
11404 #ifndef LT_DLLAZY_OR_NOW
11406 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11409 # define LT_DLLAZY_OR_NOW DL_LAZY
11412 # define LT_DLLAZY_OR_NOW RTLD_NOW
11415 # define LT_DLLAZY_OR_NOW DL_NOW
11417 # define LT_DLLAZY_OR_NOW 0
11424 /* When -fvisbility=hidden is used, assume the code has been annotated
11425 correspondingly for the symbols needed. */
11426 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11427 int fnord () __attribute__((visibility("default")));
11430 int fnord () { return 42; }
11433 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11434 int status = $lt_dlunknown;
11438 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11441 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11442 else puts (dlerror ());
11444 /* dlclose (self); */
11452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11453 (eval $ac_link) 2>&5
11455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11456 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11457 (./conftest; exit; ) >&5 2>/dev/null
11459 case x$lt_status in
11460 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11461 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11462 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11465 # compilation failed
11466 lt_cv_dlopen_self=no
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11474 $as_echo "$lt_cv_dlopen_self" >&6; }
11476 if test "x$lt_cv_dlopen_self" = xyes; then
11477 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11479 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11480 if ${lt_cv_dlopen_self_static+:} false; then :
11481 $as_echo_n "(cached) " >&6
11483 if test "$cross_compiling" = yes; then :
11484 lt_cv_dlopen_self_static=cross
11486 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11487 lt_status=$lt_dlunknown
11488 cat > conftest.$ac_ext <<_LT_EOF
11489 #line $LINENO "configure"
11490 #include "confdefs.h"
11499 # define LT_DLGLOBAL RTLD_GLOBAL
11502 # define LT_DLGLOBAL DL_GLOBAL
11504 # define LT_DLGLOBAL 0
11508 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11509 find out it does not work in some platform. */
11510 #ifndef LT_DLLAZY_OR_NOW
11512 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # define LT_DLLAZY_OR_NOW DL_NOW
11523 # define LT_DLLAZY_OR_NOW 0
11530 /* When -fvisbility=hidden is used, assume the code has been annotated
11531 correspondingly for the symbols needed. */
11532 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11533 int fnord () __attribute__((visibility("default")));
11536 int fnord () { return 42; }
11539 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11540 int status = $lt_dlunknown;
11544 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11548 else puts (dlerror ());
11550 /* dlclose (self); */
11558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11559 (eval $ac_link) 2>&5
11561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11562 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11563 (./conftest; exit; ) >&5 2>/dev/null
11565 case x$lt_status in
11566 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11567 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11568 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11571 # compilation failed
11572 lt_cv_dlopen_self_static=no
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11580 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11583 CPPFLAGS="$save_CPPFLAGS"
11584 LDFLAGS="$save_LDFLAGS"
11589 case $lt_cv_dlopen_self in
11590 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11591 *) enable_dlopen_self=unknown ;;
11594 case $lt_cv_dlopen_self_static in
11595 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11596 *) enable_dlopen_self_static=unknown ;;
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11619 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11620 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11621 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11622 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11624 $as_echo "yes" >&6; }
11626 # FIXME - insert some real tests, host_os isn't really good enough
11629 if test -n "$STRIP" ; then
11630 striplib="$STRIP -x"
11631 old_striplib="$STRIP -S"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11633 $as_echo "yes" >&6; }
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641 $as_echo "no" >&6; }
11657 # Report which library types will actually be built
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11659 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11661 $as_echo "$can_build_shared" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11664 $as_echo_n "checking whether to build shared libraries... " >&6; }
11665 test "$can_build_shared" = "no" && enable_shared=no
11667 # On AIX, shared libraries and static libraries use the same namespace, and
11668 # are all built from PIC.
11671 test "$enable_shared" = yes && enable_static=no
11672 if test -n "$RANLIB"; then
11673 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11674 postinstall_cmds='$RANLIB $lib'
11679 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11680 test "$enable_shared" = yes && enable_static=no
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11685 $as_echo "$enable_shared" >&6; }
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11688 $as_echo_n "checking whether to build static libraries... " >&6; }
11689 # Make sure either enable_shared or enable_static is yes.
11690 test "$enable_shared" = yes || enable_static=yes
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11692 $as_echo "$enable_static" >&6; }
11699 ac_cpp='$CPP $CPPFLAGS'
11700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11720 ac_config_commands="$ac_config_commands libtool"
11725 # Only expand once:
11729 # Checks for libraries.
11737 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11738 if test -n "$ac_tool_prefix"; then
11739 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11740 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11744 $as_echo_n "(cached) " >&6
11746 case $PKG_CONFIG in
11748 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11752 for as_dir in $PATH
11755 test -z "$as_dir" && as_dir=.
11756 for ac_exec_ext in '' $ac_executable_extensions; do
11757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11769 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11770 if test -n "$PKG_CONFIG"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11772 $as_echo "$PKG_CONFIG" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11780 if test -z "$ac_cv_path_PKG_CONFIG"; then
11781 ac_pt_PKG_CONFIG=$PKG_CONFIG
11782 # Extract the first word of "pkg-config", so it can be a program name with args.
11783 set dummy pkg-config; ac_word=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11787 $as_echo_n "(cached) " >&6
11789 case $ac_pt_PKG_CONFIG in
11791 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11795 for as_dir in $PATH
11798 test -z "$as_dir" && as_dir=.
11799 for ac_exec_ext in '' $ac_executable_extensions; do
11800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11801 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11813 if test -n "$ac_pt_PKG_CONFIG"; then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11815 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11818 $as_echo "no" >&6; }
11821 if test "x$ac_pt_PKG_CONFIG" = x; then
11824 case $cross_compiling:$ac_tool_warned in
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11828 ac_tool_warned=yes ;;
11830 PKG_CONFIG=$ac_pt_PKG_CONFIG
11833 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11837 if test -n "$PKG_CONFIG"; then
11838 _pkg_min_version=0.9.0
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11840 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11841 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11843 $as_echo "yes" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11853 $as_echo_n "checking for GLIB... " >&6; }
11855 if test -n "$GLIB_CFLAGS"; then
11856 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11857 elif test -n "$PKG_CONFIG"; then
11858 if test -n "$PKG_CONFIG" && \
11859 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11862 gmodule-2.0\""; } >&5
11863 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11869 test $ac_status = 0; }; then
11870 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11873 gmodule-2.0" 2>/dev/null`
11874 test "x$?" != "x0" && pkg_failed=yes
11881 if test -n "$GLIB_LIBS"; then
11882 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11883 elif test -n "$PKG_CONFIG"; then
11884 if test -n "$PKG_CONFIG" && \
11885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11888 gmodule-2.0\""; } >&5
11889 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11895 test $ac_status = 0; }; then
11896 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11899 gmodule-2.0" 2>/dev/null`
11900 test "x$?" != "x0" && pkg_failed=yes
11910 if test $pkg_failed = yes; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11912 $as_echo "no" >&6; }
11914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11915 _pkg_short_errors_supported=yes
11917 _pkg_short_errors_supported=no
11919 if test $_pkg_short_errors_supported = yes; then
11920 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11925 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11930 # Put the nasty error message in config.log where it belongs
11931 echo "$GLIB_PKG_ERRORS" >&5
11933 as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11936 gmodule-2.0) were not met:
11940 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11941 installed software in a non-standard prefix.
11943 Alternatively, you may set the environment variables GLIB_CFLAGS
11944 and GLIB_LIBS to avoid the need to call pkg-config.
11945 See the pkg-config man page for more details." "$LINENO" 5
11946 elif test $pkg_failed = untried; then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11951 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11952 is in your PATH or set the PKG_CONFIG environment variable to the full
11953 path to pkg-config.
11955 Alternatively, you may set the environment variables GLIB_CFLAGS
11956 and GLIB_LIBS to avoid the need to call pkg-config.
11957 See the pkg-config man page for more details.
11959 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11960 See \`config.log' for more details" "$LINENO" 5; }
11962 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11963 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11965 $as_echo "yes" >&6; }
11970 # Extract the first word of "glib-mkenums", so it can be a program name with args.
11971 set dummy glib-mkenums; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
11975 $as_echo_n "(cached) " >&6
11977 case $GLIB_MKENUMS in
11979 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
11982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11986 test -z "$as_dir" && as_dir=.
11987 for ac_exec_ext in '' $ac_executable_extensions; do
11988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11989 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
11990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12001 if test -n "$GLIB_MKENUMS"; then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12003 $as_echo "$GLIB_MKENUMS" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12006 $as_echo "no" >&6; }
12011 # Checks for libtlm-nfc
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
12015 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
12017 if test -n "$LIBTLM_NFC_CFLAGS"; then
12018 pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
12019 elif test -n "$PKG_CONFIG"; then
12020 if test -n "$PKG_CONFIG" && \
12021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12022 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12025 test $ac_status = 0; }; then
12026 pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
12027 test "x$?" != "x0" && pkg_failed=yes
12034 if test -n "$LIBTLM_NFC_LIBS"; then
12035 pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
12036 elif test -n "$PKG_CONFIG"; then
12037 if test -n "$PKG_CONFIG" && \
12038 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12039 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12042 test $ac_status = 0; }; then
12043 pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
12044 test "x$?" != "x0" && pkg_failed=yes
12054 if test $pkg_failed = yes; then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12059 _pkg_short_errors_supported=yes
12061 _pkg_short_errors_supported=no
12063 if test $_pkg_short_errors_supported = yes; then
12064 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12066 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12068 # Put the nasty error message in config.log where it belongs
12069 echo "$LIBTLM_NFC_PKG_ERRORS" >&5
12072 elif test $pkg_failed = untried; then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12074 $as_echo "no" >&6; }
12077 LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
12078 LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12080 $as_echo "yes" >&6; }
12081 have_libtlm_nfc=yes
12083 if test x$have_libtlm_nfc = xyes; then
12084 HAVE_LIBTLM_NFC_TRUE=
12085 HAVE_LIBTLM_NFC_FALSE='#'
12087 HAVE_LIBTLM_NFC_TRUE='#'
12088 HAVE_LIBTLM_NFC_FALSE=
12091 if test "x$have_libtlm_nfc" = xyes; then
12093 $as_echo "#define HAVE_LIBTLM_NFC 1" >>confdefs.h
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12101 $as_echo_n "checking for CHECK... " >&6; }
12103 if test -n "$CHECK_CFLAGS"; then
12104 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12105 elif test -n "$PKG_CONFIG"; then
12106 if test -n "$PKG_CONFIG" && \
12107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12108 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12111 test $ac_status = 0; }; then
12112 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12113 test "x$?" != "x0" && pkg_failed=yes
12120 if test -n "$CHECK_LIBS"; then
12121 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12122 elif test -n "$PKG_CONFIG"; then
12123 if test -n "$PKG_CONFIG" && \
12124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12125 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128 test $ac_status = 0; }; then
12129 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12130 test "x$?" != "x0" && pkg_failed=yes
12140 if test $pkg_failed = yes; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12145 _pkg_short_errors_supported=yes
12147 _pkg_short_errors_supported=no
12149 if test $_pkg_short_errors_supported = yes; then
12150 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12152 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12154 # Put the nasty error message in config.log where it belongs
12155 echo "$CHECK_PKG_ERRORS" >&5
12158 elif test $pkg_failed = untried; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12163 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12164 CHECK_LIBS=$pkg_cv_CHECK_LIBS
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12166 $as_echo "yes" >&6; }
12172 for ac_header in string.h
12174 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12175 if test "x$ac_cv_header_string_h" = xyes; then :
12176 cat >>confdefs.h <<_ACEOF
12177 #define HAVE_STRING_H 1
12184 for ac_header in sys/xattr.h attr/xattr.h
12186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12187 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12189 cat >>confdefs.h <<_ACEOF
12190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12197 for ac_func in llistxattr lgetxattr lsetxattr
12199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12201 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12202 cat >>confdefs.h <<_ACEOF
12203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12212 $as_echo_n "checking for library containing crypt... " >&6; }
12213 if ${ac_cv_search_crypt+:} false; then :
12214 $as_echo_n "(cached) " >&6
12216 ac_func_search_save_LIBS=$LIBS
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12235 for ac_lib in '' crypt; do
12236 if test -z "$ac_lib"; then
12237 ac_res="none required"
12240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12242 if ac_fn_c_try_link "$LINENO"; then :
12243 ac_cv_search_crypt=$ac_res
12245 rm -f core conftest.err conftest.$ac_objext \
12247 if ${ac_cv_search_crypt+:} false; then :
12251 if ${ac_cv_search_crypt+:} false; then :
12254 ac_cv_search_crypt=no
12256 rm conftest.$ac_ext
12257 LIBS=$ac_func_search_save_LIBS
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12260 $as_echo "$ac_cv_search_crypt" >&6; }
12261 ac_res=$ac_cv_search_crypt
12262 if test "$ac_res" != no; then :
12263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12264 CRYPT_LIB="-l$ac_lib"
12270 if test "x$CRYPT_LIB" = "x" ; then
12271 as_fn_error $? "\"CRYPT Library is required\"" "$LINENO" 5
12275 # Check whether --enable-cov was given.
12276 if test "${enable_cov+set}" = set; then :
12277 enableval=$enable_cov; enable_cov=yes
12282 if test "x$enable_cov" = "xyes" ; then
12283 GCOV_CFLAGS="-ftest-coverage -fprofile-arcs"
12290 # Check whether --enable-distcheck was given.
12291 if test "${enable_distcheck+set}" = set; then :
12292 enableval=$enable_distcheck; enable_distcheck=yes
12294 enable_distcheck=no
12297 echo "--------------------------------"
12298 echo "Distcheck : '$enable_distcheck'"
12299 if test x$enable_distcheck != xyes; then
12300 SET_PERMISSIONS_TRUE=
12301 SET_PERMISSIONS_FALSE='#'
12303 SET_PERMISSIONS_TRUE='#'
12304 SET_PERMISSIONS_FALSE=
12309 # Check whether --enable-dbus-type was given.
12310 if test "${enable_dbus_type+set}" = set; then :
12311 enableval=$enable_dbus_type; enable_dbus_type=$enableval
12313 enable_dbus_type=system
12317 echo "--------------------------------"
12318 echo "Dbus Type : '$enable_dbus_type'"
12319 echo "--------------------------------"
12320 if test "x$enable_dbus_type" = "xp2p" ; then
12322 $as_echo "#define GUM_BUS_TYPE_P2P 1" >>confdefs.h
12324 elif test "x$enable_dbus_type" = "xsession" ; then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBus" >&5
12328 $as_echo_n "checking for DBus... " >&6; }
12330 if test -n "$DBus_CFLAGS"; then
12331 pkg_cv_DBus_CFLAGS="$DBus_CFLAGS"
12332 elif test -n "$PKG_CONFIG"; then
12333 if test -n "$PKG_CONFIG" && \
12334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12335 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12338 test $ac_status = 0; }; then
12339 pkg_cv_DBus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
12340 test "x$?" != "x0" && pkg_failed=yes
12347 if test -n "$DBus_LIBS"; then
12348 pkg_cv_DBus_LIBS="$DBus_LIBS"
12349 elif test -n "$PKG_CONFIG"; then
12350 if test -n "$PKG_CONFIG" && \
12351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12352 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12355 test $ac_status = 0; }; then
12356 pkg_cv_DBus_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
12357 test "x$?" != "x0" && pkg_failed=yes
12367 if test $pkg_failed = yes; then
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12372 _pkg_short_errors_supported=yes
12374 _pkg_short_errors_supported=no
12376 if test $_pkg_short_errors_supported = yes; then
12377 DBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
12379 DBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
12381 # Put the nasty error message in config.log where it belongs
12382 echo "$DBus_PKG_ERRORS" >&5
12384 as_fn_error $? "Package requirements (dbus-1) were not met:
12388 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12389 installed software in a non-standard prefix.
12391 Alternatively, you may set the environment variables DBus_CFLAGS
12392 and DBus_LIBS to avoid the need to call pkg-config.
12393 See the pkg-config man page for more details." "$LINENO" 5
12394 elif test $pkg_failed = untried; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12396 $as_echo "no" >&6; }
12397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12399 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12400 is in your PATH or set the PKG_CONFIG environment variable to the full
12401 path to pkg-config.
12403 Alternatively, you may set the environment variables DBus_CFLAGS
12404 and DBus_LIBS to avoid the need to call pkg-config.
12405 See the pkg-config man page for more details.
12407 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12408 See \`config.log' for more details" "$LINENO" 5; }
12410 DBus_CFLAGS=$pkg_cv_DBus_CFLAGS
12411 DBus_LIBS=$pkg_cv_DBus_LIBS
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12413 $as_echo "yes" >&6; }
12417 $as_echo "#define GUM_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12419 if test "x$enable_distcheck" = "xyes" ; then
12420 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12421 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12422 DBUS_CONF_DIR="${datadir}/dbus-1/session.d"
12424 DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12425 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12426 DBUS_CONF_DIR="`pkg-config --variable sysconfdir dbus-1`/dbus-1/session.d"
12428 elif test "x$enable_dbus_type" = "xsystem" ; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBus" >&5
12432 $as_echo_n "checking for DBus... " >&6; }
12434 if test -n "$DBus_CFLAGS"; then
12435 pkg_cv_DBus_CFLAGS="$DBus_CFLAGS"
12436 elif test -n "$PKG_CONFIG"; then
12437 if test -n "$PKG_CONFIG" && \
12438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12439 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12442 test $ac_status = 0; }; then
12443 pkg_cv_DBus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
12444 test "x$?" != "x0" && pkg_failed=yes
12451 if test -n "$DBus_LIBS"; then
12452 pkg_cv_DBus_LIBS="$DBus_LIBS"
12453 elif test -n "$PKG_CONFIG"; then
12454 if test -n "$PKG_CONFIG" && \
12455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12456 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12459 test $ac_status = 0; }; then
12460 pkg_cv_DBus_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
12461 test "x$?" != "x0" && pkg_failed=yes
12471 if test $pkg_failed = yes; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12476 _pkg_short_errors_supported=yes
12478 _pkg_short_errors_supported=no
12480 if test $_pkg_short_errors_supported = yes; then
12481 DBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
12483 DBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
12485 # Put the nasty error message in config.log where it belongs
12486 echo "$DBus_PKG_ERRORS" >&5
12488 as_fn_error $? "Package requirements (dbus-1) were not met:
12492 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12493 installed software in a non-standard prefix.
12495 Alternatively, you may set the environment variables DBus_CFLAGS
12496 and DBus_LIBS to avoid the need to call pkg-config.
12497 See the pkg-config man page for more details." "$LINENO" 5
12498 elif test $pkg_failed = untried; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12503 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12504 is in your PATH or set the PKG_CONFIG environment variable to the full
12505 path to pkg-config.
12507 Alternatively, you may set the environment variables DBus_CFLAGS
12508 and DBus_LIBS to avoid the need to call pkg-config.
12509 See the pkg-config man page for more details.
12511 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12512 See \`config.log' for more details" "$LINENO" 5; }
12514 DBus_CFLAGS=$pkg_cv_DBus_CFLAGS
12515 DBus_LIBS=$pkg_cv_DBus_LIBS
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12517 $as_echo "yes" >&6; }
12521 $as_echo "#define GUM_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12523 if test "x$enable_distcheck" = "xyes" ; then
12524 DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12525 DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12526 DBUS_CONF_DIR="${datadir}/dbus-1/system.d"
12528 DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12529 DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12530 DBUS_CONF_DIR="`pkg-config --variable sysconfdir dbus-1`/dbus-1/system.d"
12532 MESSAGE_BUS_USER="User=root"
12539 MESSAGE_BUS_TYPE=$enable_dbus_type
12541 if test x$enable_dbus_type = xsystem; then
12542 HAVE_SYSTEM_BUS_TRUE=
12543 HAVE_SYSTEM_BUS_FALSE='#'
12545 HAVE_SYSTEM_BUS_TRUE='#'
12546 HAVE_SYSTEM_BUS_FALSE=
12549 if test x$enable_dbus_type != xp2p; then
12550 USE_DBUS_SERVICE_TRUE=
12551 USE_DBUS_SERVICE_FALSE='#'
12553 USE_DBUS_SERVICE_TRUE='#'
12554 USE_DBUS_SERVICE_FALSE=
12558 # Check for systemd
12559 VAR_SYSTEMD="`pkg-config --variable systemdsystemunitdir systemd`"
12560 if test "x$VAR_SYSTEMD" != "x" ; then
12562 $as_echo "#define USE_SYSTEMD 1" >>confdefs.h
12564 elif test "x$VAR_SYSTEMD" = "x" ; then
12566 $as_echo "#define USE_SYSTEMD 0" >>confdefs.h
12571 # Check whether --enable-tests was given.
12572 if test "${enable_tests+set}" = set; then :
12573 enableval=$enable_tests; enable_tests=yes
12578 if test "x$enable_cov" = "xyes" ; then
12579 # Enable tests automatically when code coverage is enabled
12582 echo "--------------------------------"
12583 echo "Enable tests features: '$enable_tests'"
12584 if test "x$enable_tests" = "xyes" ; then
12586 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
12589 if test x$enable_tests = xyes; then
12591 HAVE_TESTS_FALSE='#'
12593 HAVE_TESTS_TRUE='#'
12599 # Check whether --enable-debug was given.
12600 if test "${enable_debug+set}" = set; then :
12601 enableval=$enable_debug; enable_debug=yes
12606 if test "x$enable_tests" = "xyes" ; then
12607 # Enable debug automatically when tests are enabled
12610 echo "--------------------------------"
12611 echo "Enable Debug Feature: '$enable_debug'"
12612 echo "--------------------------------"
12613 if test "x$enable_debug" = "xyes" ; then
12615 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12618 if test x$enable_debug = xyes; then
12620 HAVE_DEBUG_FALSE='#'
12622 HAVE_DEBUG_TRUE='#'
12628 # Check whether --enable-passwdfile was given.
12629 if test "${enable_passwdfile+set}" = set; then :
12630 enableval=$enable_passwdfile; enable_passwdfile=$enableval
12632 enable_passwdfile="/etc/passwd"
12636 cat >>confdefs.h <<_ACEOF
12637 #define GUM_PASSWD_FILE "$enable_passwdfile"
12642 # Check whether --enable-shadowfile was given.
12643 if test "${enable_shadowfile+set}" = set; then :
12644 enableval=$enable_shadowfile; enable_shadowfile=$enableval
12646 enable_shadowfile="/etc/shadow"
12650 cat >>confdefs.h <<_ACEOF
12651 #define GUM_SHADOW_FILE "$enable_shadowfile"
12656 # Check whether --enable-groupfile was given.
12657 if test "${enable_groupfile+set}" = set; then :
12658 enableval=$enable_groupfile; enable_groupfile=$enableval
12660 enable_groupfile="/etc/group"
12664 cat >>confdefs.h <<_ACEOF
12665 #define GUM_GROUP_FILE "$enable_groupfile"
12670 # Check whether --enable-gshadowfile was given.
12671 if test "${enable_gshadowfile+set}" = set; then :
12672 enableval=$enable_gshadowfile; enable_gshadowfile=$enableval
12674 enable_gshadowfile="/etc/gshadow"
12678 cat >>confdefs.h <<_ACEOF
12679 #define GUM_GSHADOW_FILE "$enable_gshadowfile"
12684 # Check whether --enable-homedirpref was given.
12685 if test "${enable_homedirpref+set}" = set; then :
12686 enableval=$enable_homedirpref; enable_homedirpref=$enableval
12688 enable_homedirpref="/home"
12692 cat >>confdefs.h <<_ACEOF
12693 #define GUM_HOME_DIR_PREFIX "$enable_homedirpref"
12698 # Check whether --enable-shell was given.
12699 if test "${enable_shell+set}" = set; then :
12700 enableval=$enable_shell; enable_shell=$enableval
12702 enable_shell="/bin/bash"
12706 cat >>confdefs.h <<_ACEOF
12707 #define GUM_SHELL "$enable_shell"
12711 # defult user groups
12712 # Check whether --enable-defusergroups was given.
12713 if test "${enable_defusergroups+set}" = set; then :
12714 enableval=$enable_defusergroups; enable_defusergroups=$enableval
12716 enable_defusergroups=""
12720 cat >>confdefs.h <<_ACEOF
12721 #define GUM_DEF_GROUPS "$enable_defusergroups"
12725 # defult admin groups
12726 # Check whether --enable-defadmingroups was given.
12727 if test "${enable_defadmingroups+set}" = set; then :
12728 enableval=$enable_defadmingroups; enable_defadmingroups=$enableval
12730 enable_defadmingroups=""
12734 cat >>confdefs.h <<_ACEOF
12735 #define GUM_DEF_ADMIN_GROUPS "$enable_defadmingroups"
12740 # Check whether --enable-skeldir was given.
12741 if test "${enable_skeldir+set}" = set; then :
12742 enableval=$enable_skeldir; enable_skeldir=$enableval
12744 enable_skeldir="/etc/skel"
12748 cat >>confdefs.h <<_ACEOF
12749 #define GUM_SKEL_DIR "$enable_skeldir"
12753 # encryption algorithm
12754 # Check whether --enable-encryptalgo was given.
12755 if test "${enable_encryptalgo+set}" = set; then :
12756 enableval=$enable_encryptalgo; enable_encryptalgo=$enableval
12758 enable_encryptalgo="SHA512"
12762 cat >>confdefs.h <<_ACEOF
12763 #define GUM_ENCRYPT_METHOD "$enable_encryptalgo"
12771 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12772 set dummy gtkdoc-check; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774 $as_echo_n "checking for $ac_word... " >&6; }
12775 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12776 $as_echo_n "(cached) " >&6
12778 case $GTKDOC_CHECK in
12780 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12787 test -z "$as_dir" && as_dir=.
12788 for ac_exec_ext in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12801 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12802 if test -n "$GTKDOC_CHECK"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12804 $as_echo "$GTKDOC_CHECK" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12811 for ac_prog in gtkdoc-rebase
12813 # Extract the first word of "$ac_prog", so it can be a program name with args.
12814 set dummy $ac_prog; ac_word=$2
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12816 $as_echo_n "checking for $ac_word... " >&6; }
12817 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12818 $as_echo_n "(cached) " >&6
12820 case $GTKDOC_REBASE in
12822 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12826 for as_dir in $PATH
12829 test -z "$as_dir" && as_dir=.
12830 for ac_exec_ext in '' $ac_executable_extensions; do
12831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12832 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12843 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12844 if test -n "$GTKDOC_REBASE"; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12846 $as_echo "$GTKDOC_REBASE" >&6; }
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12853 test -n "$GTKDOC_REBASE" && break
12855 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12857 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12858 set dummy gtkdoc-mkpdf; ac_word=$2
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12860 $as_echo_n "checking for $ac_word... " >&6; }
12861 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12862 $as_echo_n "(cached) " >&6
12864 case $GTKDOC_MKPDF in
12866 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12870 for as_dir in $PATH
12873 test -z "$as_dir" && as_dir=.
12874 for ac_exec_ext in '' $ac_executable_extensions; do
12875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12876 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12887 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12888 if test -n "$GTKDOC_MKPDF"; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12890 $as_echo "$GTKDOC_MKPDF" >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12893 $as_echo "no" >&6; }
12899 # Check whether --with-html-dir was given.
12900 if test "${with_html_dir+set}" = set; then :
12901 withval=$with_html_dir;
12903 with_html_dir='${datadir}/gtk-doc/html'
12906 HTML_DIR="$with_html_dir"
12909 # Check whether --enable-gtk-doc was given.
12910 if test "${enable_gtk_doc+set}" = set; then :
12911 enableval=$enable_gtk_doc;
12917 if test x$enable_gtk_doc = xyes; then
12918 if test -n "$PKG_CONFIG" && \
12919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
12920 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; }; then
12926 as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
12928 if test "x$PACKAGE_NAME" != "xglib"; then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12932 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12934 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12935 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12936 elif test -n "$PKG_CONFIG"; then
12937 if test -n "$PKG_CONFIG" && \
12938 { { $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
12939 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12942 test $ac_status = 0; }; then
12943 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12944 test "x$?" != "x0" && pkg_failed=yes
12951 if test -n "$GTKDOC_DEPS_LIBS"; then
12952 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12953 elif test -n "$PKG_CONFIG"; then
12954 if test -n "$PKG_CONFIG" && \
12955 { { $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
12956 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959 test $ac_status = 0; }; then
12960 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12961 test "x$?" != "x0" && pkg_failed=yes
12971 if test $pkg_failed = yes; then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 $as_echo "no" >&6; }
12975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12976 _pkg_short_errors_supported=yes
12978 _pkg_short_errors_supported=no
12980 if test $_pkg_short_errors_supported = yes; then
12981 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`
12983 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12985 # Put the nasty error message in config.log where it belongs
12986 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12988 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12990 $GTKDOC_DEPS_PKG_ERRORS
12992 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12993 installed software in a non-standard prefix.
12995 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12996 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12997 See the pkg-config man page for more details." "$LINENO" 5
12998 elif test $pkg_failed = untried; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13000 $as_echo "no" >&6; }
13001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13003 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13004 is in your PATH or set the PKG_CONFIG environment variable to the full
13005 path to pkg-config.
13007 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13008 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13009 See the pkg-config man page for more details.
13011 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13012 See \`config.log' for more details" "$LINENO" 5; }
13014 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13015 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13017 $as_echo "yes" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13024 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13026 $as_echo "$enable_gtk_doc" >&6; }
13028 # Check whether --enable-gtk-doc-html was given.
13029 if test "${enable_gtk_doc_html+set}" = set; then :
13030 enableval=$enable_gtk_doc_html;
13032 enable_gtk_doc_html=yes
13035 # Check whether --enable-gtk-doc-pdf was given.
13036 if test "${enable_gtk_doc_pdf+set}" = set; then :
13037 enableval=$enable_gtk_doc_pdf;
13039 enable_gtk_doc_pdf=no
13043 if test -z "$GTKDOC_MKPDF"; then
13044 enable_gtk_doc_pdf=no
13048 if test x$enable_gtk_doc = xyes; then
13049 ENABLE_GTK_DOC_TRUE=
13050 ENABLE_GTK_DOC_FALSE='#'
13052 ENABLE_GTK_DOC_TRUE='#'
13053 ENABLE_GTK_DOC_FALSE=
13056 if test x$enable_gtk_doc_html = xyes; then
13057 GTK_DOC_BUILD_HTML_TRUE=
13058 GTK_DOC_BUILD_HTML_FALSE='#'
13060 GTK_DOC_BUILD_HTML_TRUE='#'
13061 GTK_DOC_BUILD_HTML_FALSE=
13064 if test x$enable_gtk_doc_pdf = xyes; then
13065 GTK_DOC_BUILD_PDF_TRUE=
13066 GTK_DOC_BUILD_PDF_FALSE='#'
13068 GTK_DOC_BUILD_PDF_TRUE='#'
13069 GTK_DOC_BUILD_PDF_FALSE=
13072 if test -n "$LIBTOOL"; then
13073 GTK_DOC_USE_LIBTOOL_TRUE=
13074 GTK_DOC_USE_LIBTOOL_FALSE='#'
13076 GTK_DOC_USE_LIBTOOL_TRUE='#'
13077 GTK_DOC_USE_LIBTOOL_FALSE=
13080 if test -n "$GTKDOC_REBASE"; then
13081 GTK_DOC_USE_REBASE_TRUE=
13082 GTK_DOC_USE_REBASE_FALSE='#'
13084 GTK_DOC_USE_REBASE_TRUE='#'
13085 GTK_DOC_USE_REBASE_FALSE=
13090 # Checks for typedefs, structures, and compiler characteristics.
13091 GUM_CFLAGS='$(GLIB_CFLAGS) -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE'
13092 GUM_CFLAGS="$GUM_CFLAGS -Wall -Werror $GCOV_CFLAGS"
13094 GUM_INCLUDES='-I$(top_builddir) -I$(top_srcdir)'
13097 # Gum common library cflags, libs, includes
13098 GUM_COMMON_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gum-common\"'
13100 GUM_COMMON_LIBS='$(GLIB_LIBS) $(CRYPT_LIB) $(GCOV_LIBS)'
13102 GUM_COMMON_INCLUDES='$(GUM_INCLUDES) -I$(top_srcdir)/include/gum'
13105 # Gum daemon cflags, libs, includes
13106 GUMD_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gumd\"'
13108 GUMD_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13110 GUMD_INCLUDES='$(GUM_COMMON_INCLUDES)'
13113 # Gum client library cflags, libs, includes
13114 LIBGUM_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gum\"'
13116 LIBGUM_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13118 LIBGUM_INCLUDES='$(GUM_COMMON_INCLUDES)'
13121 ac_config_files="$ac_config_files Makefile src/Makefile src/common/Makefile src/common/gum.conf src/common/libgum-common.pc src/common/libgum-common-uninstalled.pc src/common/dbus/Makefile src/daemon/gumd.pc src/daemon/gumd-uninstalled.pc src/daemon/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service src/daemon/dbus/gumd-dbus.conf src/lib/Makefile src/lib/libgum.pc src/lib/libgum-uninstalled.pc docs/Makefile docs/version.xml test/Makefile test/common/Makefile test/daemon/Makefile test/lib/Makefile examples/Makefile"
13124 if test "x$enable_tests" = "xyes" ; then
13125 ac_config_files="$ac_config_files test/data/test-gumd-dbus.conf"
13128 if test x$enable_dbus_type != xp2p; then
13129 ac_config_files="$ac_config_files test/data/services/org.tizen.SecurityAccounts.gUserManagement.service"
13134 cat >confcache <<\_ACEOF
13135 # This file is a shell script that caches the results of configure
13136 # tests run on this system so they can be shared between configure
13137 # scripts and configure runs, see configure's option --config-cache.
13138 # It is not useful on other systems. If it contains results you don't
13139 # want to keep, you may remove or edit it.
13141 # config.status only pays attention to the cache file if you give it
13142 # the --recheck option to rerun configure.
13144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13146 # following values.
13150 # The following way of writing the cache mishandles newlines in values,
13151 # but we know of no workaround that is simple, portable, and efficient.
13152 # So, we kill variables containing newlines.
13153 # Ultrix sh set writes to stderr and can't be redirected directly,
13154 # and sets the high bit in the cache file unless we assign to the vars.
13156 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13157 eval ac_val=\$$ac_var
13161 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13162 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13165 _ | IFS | as_nl) ;; #(
13166 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13167 *) { eval $ac_var=; unset $ac_var;} ;;
13173 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13174 *${as_nl}ac_space=\ *)
13175 # `set' does not quote correctly, so add quotes: double-quote
13176 # substitution turns \\\\ into \\, and sed turns \\ into \.
13179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13182 # `set' quotes correctly as required by POSIX, so do not add quotes.
13183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13192 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13194 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13196 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13197 if test -w "$cache_file"; then
13198 if test "x$cache_file" != "x/dev/null"; then
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13200 $as_echo "$as_me: updating cache $cache_file" >&6;}
13201 if test ! -f "$cache_file" || test -h "$cache_file"; then
13202 cat confcache >"$cache_file"
13204 case $cache_file in #(
13206 mv -f confcache "$cache_file"$$ &&
13207 mv -f "$cache_file"$$ "$cache_file" ;; #(
13209 mv -f confcache "$cache_file" ;;
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13215 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13220 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13221 # Let make expand exec_prefix.
13222 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13224 DEFS=-DHAVE_CONFIG_H
13229 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13230 # 1. Remove the extension, and $U if already installed.
13231 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13232 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13233 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13234 # will be set to the directory where LIBOBJS objects are built.
13235 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13236 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13238 LIBOBJS=$ac_libobjs
13240 LTLIBOBJS=$ac_ltlibobjs
13243 if test -n "$EXEEXT"; then
13245 am__EXEEXT_FALSE='#'
13247 am__EXEEXT_TRUE='#'
13251 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13252 as_fn_error $? "conditional \"AMDEP\" was never defined.
13253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13255 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13256 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13259 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13260 as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13263 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13264 as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13267 if test -z "${HAVE_SYSTEM_BUS_TRUE}" && test -z "${HAVE_SYSTEM_BUS_FALSE}"; then
13268 as_fn_error $? "conditional \"HAVE_SYSTEM_BUS\" was never defined.
13269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13271 if test -z "${USE_DBUS_SERVICE_TRUE}" && test -z "${USE_DBUS_SERVICE_FALSE}"; then
13272 as_fn_error $? "conditional \"USE_DBUS_SERVICE\" was never defined.
13273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13275 if test -z "${HAVE_TESTS_TRUE}" && test -z "${HAVE_TESTS_FALSE}"; then
13276 as_fn_error $? "conditional \"HAVE_TESTS\" was never defined.
13277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13279 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13280 as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13283 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13284 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13287 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13288 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13291 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13292 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13295 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13296 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13299 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13300 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13304 : "${CONFIG_STATUS=./config.status}"
13306 ac_clean_files_save=$ac_clean_files
13307 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13309 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13311 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13313 # Generated by $as_me.
13314 # Run this file to recreate the current configuration.
13315 # Compiler output produced by configure, useful for debugging
13316 # configure, is in config.log if it exists.
13319 ac_cs_recheck=false
13322 SHELL=\${CONFIG_SHELL-$SHELL}
13325 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13326 ## -------------------- ##
13327 ## M4sh Initialization. ##
13328 ## -------------------- ##
13330 # Be more Bourne compatible
13331 DUALCASE=1; export DUALCASE # for MKS sh
13332 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13335 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13336 # is contrary to our usage. Disable this feature.
13337 alias -g '${1+"$@"}'='"$@"'
13338 setopt NO_GLOB_SUBST
13340 case `(set -o) 2>/dev/null` in #(
13352 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13353 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13355 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13356 # Prefer a ksh shell builtin over an external printf program on Solaris,
13357 # but without wasting forks for bash or zsh.
13358 if test -z "$BASH_VERSION$ZSH_VERSION" \
13359 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13360 as_echo='print -r --'
13361 as_echo_n='print -rn --'
13362 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13363 as_echo='printf %s\n'
13364 as_echo_n='printf %s'
13366 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13367 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13368 as_echo_n='/usr/ucb/echo -n'
13370 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13371 as_echo_n_body='eval
13375 expr "X$arg" : "X\\(.*\\)$as_nl";
13376 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13378 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13380 export as_echo_n_body
13381 as_echo_n='sh -c $as_echo_n_body as_echo'
13383 export as_echo_body
13384 as_echo='sh -c $as_echo_body as_echo'
13387 # The user is always right.
13388 if test "${PATH_SEPARATOR+set}" != set; then
13390 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13391 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13398 # We need space, tab and new line, in precisely that order. Quoting is
13399 # there to prevent editors from complaining about space-tab.
13400 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13401 # splitting by setting IFS to empty value.)
13404 # Find who we are. Look in the path if we contain no directory separator.
13407 *[\\/]* ) as_myself=$0 ;;
13408 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13409 for as_dir in $PATH
13412 test -z "$as_dir" && as_dir=.
13413 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13419 # We did not find ourselves, most probably we were run as `sh COMMAND'
13420 # in which case we are not to be found in the path.
13421 if test "x$as_myself" = x; then
13424 if test ! -f "$as_myself"; then
13425 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13429 # Unset variables that we do not need and which cause bugs (e.g. in
13430 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13431 # suppresses any "Segmentation fault" message there. '((' could
13432 # trigger a bug in pdksh 5.2.14.
13433 for as_var in BASH_ENV ENV MAIL MAILPATH
13434 do eval test x\${$as_var+set} = xset \
13435 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13451 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13452 # ----------------------------------------
13453 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13454 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13455 # script with STATUS, using 1 if that was 0.
13458 as_status=$1; test $as_status -eq 0 && as_status=1
13460 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13461 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13463 $as_echo "$as_me: error: $2" >&2
13464 as_fn_exit $as_status
13468 # as_fn_set_status STATUS
13469 # -----------------------
13470 # Set $? to STATUS, without forking.
13471 as_fn_set_status ()
13474 } # as_fn_set_status
13476 # as_fn_exit STATUS
13477 # -----------------
13478 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13482 as_fn_set_status $1
13488 # Portably unset VAR.
13491 { eval $1=; unset $1;}
13493 as_unset=as_fn_unset
13494 # as_fn_append VAR VALUE
13495 # ----------------------
13496 # Append the text in VALUE to the end of the definition contained in VAR. Take
13497 # advantage of any shell optimizations that allow amortized linear growth over
13498 # repeated appends, instead of the typical quadratic growth present in naive
13500 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13501 eval 'as_fn_append ()
13512 # as_fn_arith ARG...
13513 # ------------------
13514 # Perform arithmetic evaluation on the ARGs, and store the result in the
13515 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13516 # must be portable across $(()) and expr.
13517 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13518 eval 'as_fn_arith ()
13525 as_val=`expr "$@" || test $? -eq 1`
13530 if expr a : '\(a\)' >/dev/null 2>&1 &&
13531 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13538 as_basename=basename
13543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13549 as_me=`$as_basename -- "$0" ||
13550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13551 X"$0" : 'X\(//\)$' \| \
13552 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13554 sed '/^.*\/\([^/][^/]*\)\/*$/{
13568 # Avoid depending upon Character Ranges.
13569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13572 as_cr_digits='0123456789'
13573 as_cr_alnum=$as_cr_Letters$as_cr_digits
13575 ECHO_C= ECHO_N= ECHO_T=
13576 case `echo -n x` in #(((((
13578 case `echo 'xy\c'` in
13579 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13581 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13588 rm -f conf$$ conf$$.exe conf$$.file
13589 if test -d conf$$.dir; then
13590 rm -f conf$$.dir/conf$$.file
13593 mkdir conf$$.dir 2>/dev/null
13595 if (echo >conf$$.file) 2>/dev/null; then
13596 if ln -s conf$$.file conf$$ 2>/dev/null; then
13598 # ... but there are two gotchas:
13599 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13600 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13601 # In both cases, we have to default to `cp -p'.
13602 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13604 elif ln conf$$.file conf$$ 2>/dev/null; then
13612 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13613 rmdir conf$$.dir 2>/dev/null
13618 # Create "$as_dir" as a directory, including parents if necessary.
13623 -*) as_dir=./$as_dir;;
13625 test -d "$as_dir" || eval $as_mkdir_p || {
13629 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13630 *) as_qdir=$as_dir;;
13632 as_dirs="'$as_qdir' $as_dirs"
13633 as_dir=`$as_dirname -- "$as_dir" ||
13634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13635 X"$as_dir" : 'X\(//\)[^/]' \| \
13636 X"$as_dir" : 'X\(//\)$' \| \
13637 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13638 $as_echo X"$as_dir" |
13639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13643 /^X\(\/\/\)[^/].*/{
13656 test -d "$as_dir" && break
13658 test -z "$as_dirs" || eval "mkdir $as_dirs"
13659 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13663 if mkdir -p . 2>/dev/null; then
13664 as_mkdir_p='mkdir -p "$as_dir"'
13666 test -d ./-p && rmdir ./-p
13670 if test -x / >/dev/null 2>&1; then
13671 as_test_x='test -x'
13673 if ls -dL / >/dev/null 2>&1; then
13680 if test -d "$1"; then
13686 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13687 ???[sx]*):;;*)false;;esac;fi
13691 as_executable_p=$as_test_x
13693 # Sed expression to map a string onto a valid CPP name.
13694 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13696 # Sed expression to map a string onto a valid variable name.
13697 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13701 ## ----------------------------------- ##
13702 ## Main body of $CONFIG_STATUS script. ##
13703 ## ----------------------------------- ##
13705 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13708 # Save the log message, to keep $0 and so on meaningful, and to
13709 # report actual input values of CONFIG_FILES etc. instead of their
13710 # values after options handling.
13712 This file was extended by gumd $as_me 0.0.1, which was
13713 generated by GNU Autoconf 2.68. Invocation command line was
13715 CONFIG_FILES = $CONFIG_FILES
13716 CONFIG_HEADERS = $CONFIG_HEADERS
13717 CONFIG_LINKS = $CONFIG_LINKS
13718 CONFIG_COMMANDS = $CONFIG_COMMANDS
13721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13726 case $ac_config_files in *"
13727 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13730 case $ac_config_headers in *"
13731 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13736 # Files that config.status was made for.
13737 config_files="$ac_config_files"
13738 config_headers="$ac_config_headers"
13739 config_commands="$ac_config_commands"
13743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13745 \`$as_me' instantiates files and other configuration actions
13746 from templates according to the current configuration. Unless the files
13747 and actions are specified as TAGs, all are instantiated by default.
13749 Usage: $0 [OPTION]... [TAG]...
13751 -h, --help print this help, then exit
13752 -V, --version print version number and configuration settings, then exit
13753 --config print configuration, then exit
13754 -q, --quiet, --silent
13755 do not print progress messages
13756 -d, --debug don't remove temporary files
13757 --recheck update $as_me by reconfiguring in the same conditions
13758 --file=FILE[:TEMPLATE]
13759 instantiate the configuration file FILE
13760 --header=FILE[:TEMPLATE]
13761 instantiate the configuration header FILE
13763 Configuration files:
13766 Configuration headers:
13769 Configuration commands:
13772 Report bugs to the package provider.
13773 gumd home page: <https://github.com/01org/gumd>."
13776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13777 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13779 gumd config.status 0.0.1
13780 configured by $0, generated by GNU Autoconf 2.68,
13781 with options \\"\$ac_cs_config\\"
13783 Copyright (C) 2010 Free Software Foundation, Inc.
13784 This config.status script is free software; the Free Software Foundation
13785 gives unlimited permission to copy, distribute and modify it."
13792 test -n "\$AWK" || AWK=awk
13795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13796 # The default lists apply if the user does not specify any file.
13802 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13803 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13807 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13819 # Handling of the options.
13820 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13822 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13823 $as_echo "$ac_cs_version"; exit ;;
13824 --config | --confi | --conf | --con | --co | --c )
13825 $as_echo "$ac_cs_config"; exit ;;
13826 --debug | --debu | --deb | --de | --d | -d )
13828 --file | --fil | --fi | --f )
13831 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13832 '') as_fn_error $? "missing file argument" ;;
13834 as_fn_append CONFIG_FILES " '$ac_optarg'"
13835 ac_need_defaults=false;;
13836 --header | --heade | --head | --hea )
13839 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13841 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13842 ac_need_defaults=false;;
13844 # Conflict between --help and --header
13845 as_fn_error $? "ambiguous option: \`$1'
13846 Try \`$0 --help' for more information.";;
13847 --help | --hel | -h )
13848 $as_echo "$ac_cs_usage"; exit ;;
13849 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13850 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13853 # This is an error.
13854 -*) as_fn_error $? "unrecognized option: \`$1'
13855 Try \`$0 --help' for more information." ;;
13857 *) as_fn_append ac_config_targets " $1"
13858 ac_need_defaults=false ;;
13864 ac_configure_extra_args=
13866 if $ac_cs_silent; then
13868 ac_configure_extra_args="$ac_configure_extra_args --silent"
13872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13873 if \$ac_cs_recheck; then
13874 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13876 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13877 CONFIG_SHELL='$SHELL'
13878 export CONFIG_SHELL
13883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13887 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13888 ## Running $as_me. ##
13894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13898 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13901 # The HP-UX ksh and POSIX shell print the target directory to stdout
13902 # if CDPATH is set.
13903 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13905 sed_quote_subst='$sed_quote_subst'
13906 double_quote_subst='$double_quote_subst'
13907 delay_variable_subst='$delay_variable_subst'
13908 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13909 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13910 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13911 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13912 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13913 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13914 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13915 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13916 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13917 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13918 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13919 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13920 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13921 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13922 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13923 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13924 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13925 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13926 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13927 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13928 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13929 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13930 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13931 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13932 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13933 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13934 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13935 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13936 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13937 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13938 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13939 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13940 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13941 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13942 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13943 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13944 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13945 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13946 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13947 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13948 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13949 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13950 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13951 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13952 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13953 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13954 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13955 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13956 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13957 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13958 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13959 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13960 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13961 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13962 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13963 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13964 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"`'
13965 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13966 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13967 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13968 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13969 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13970 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13971 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13972 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13973 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13974 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13975 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13976 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13977 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13978 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13979 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13980 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13981 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13982 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13983 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13984 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13985 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13986 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13987 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13988 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13989 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13990 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13991 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13992 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13993 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13994 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13995 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13996 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13997 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13998 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13999 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14000 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14001 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14002 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14003 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14004 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14005 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14006 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14007 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14008 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14009 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14010 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14011 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14012 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14013 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14014 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14015 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14016 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14017 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14018 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14019 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14020 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14021 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14022 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14023 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14024 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14025 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14026 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14027 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14028 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14029 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14030 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14031 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14032 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14033 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14034 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14035 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14036 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14037 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14040 LTCFLAGS='$LTCFLAGS'
14041 compiler='$compiler_DEFAULT'
14043 # A function that is used when there is no print builtin or printf.
14044 func_fallback_echo ()
14046 eval 'cat <<_LTECHO_EOF
14051 # Quote evaled strings.
14066 deplibs_check_method \
14071 sharedlib_from_linklib_cmd \
14074 archiver_list_spec \
14080 lt_cv_sys_global_symbol_pipe \
14081 lt_cv_sys_global_symbol_to_cdecl \
14082 lt_cv_sys_global_symbol_to_c_name_address \
14083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14084 nm_file_list_spec \
14085 lt_prog_compiler_no_builtin_flag \
14086 lt_prog_compiler_pic \
14087 lt_prog_compiler_wl \
14088 lt_prog_compiler_static \
14089 lt_cv_prog_compiler_c_o \
14098 export_dynamic_flag_spec \
14099 whole_archive_flag_spec \
14100 compiler_needs_object \
14102 allow_undefined_flag \
14103 no_undefined_flag \
14104 hardcode_libdir_flag_spec \
14105 hardcode_libdir_separator \
14109 variables_saved_for_relink \
14111 library_names_spec \
14113 install_override_mode \
14117 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14118 *[\\\\\\\`\\"\\\$]*)
14119 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14122 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14127 # Double-quote double-evaled strings.
14128 for var in reload_cmds \
14129 old_postinstall_cmds \
14130 old_postuninstall_cmds \
14132 extract_expsyms_cmds \
14133 old_archive_from_new_cmds \
14134 old_archive_from_expsyms_cmds \
14136 archive_expsym_cmds \
14138 module_expsym_cmds \
14139 export_symbols_cmds \
14143 postuninstall_cmds \
14145 sys_lib_search_path_spec \
14146 sys_lib_dlsearch_path_spec; do
14147 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14148 *[\\\\\\\`\\"\\\$]*)
14149 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14152 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14157 ac_aux_dir='$ac_aux_dir'
14158 xsi_shell='$xsi_shell'
14159 lt_shell_append='$lt_shell_append'
14161 # See if we are running on zsh, and set the options which allow our
14162 # commands through without removal of \ escapes INIT.
14163 if test -n "\${ZSH_VERSION+set}" ; then
14164 setopt NO_GLOB_SUBST
14170 TIMESTAMP='$TIMESTAMP'
14179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14181 # Handling of arguments.
14182 for ac_config_target in $ac_config_targets
14184 case $ac_config_target in
14185 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14186 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14187 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14188 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14189 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14190 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14191 "src/common/gum.conf") CONFIG_FILES="$CONFIG_FILES src/common/gum.conf" ;;
14192 "src/common/libgum-common.pc") CONFIG_FILES="$CONFIG_FILES src/common/libgum-common.pc" ;;
14193 "src/common/libgum-common-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/common/libgum-common-uninstalled.pc" ;;
14194 "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14195 "src/daemon/gumd.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/gumd.pc" ;;
14196 "src/daemon/gumd-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/gumd-uninstalled.pc" ;;
14197 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14198 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14199 "src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service" ;;
14200 "src/daemon/dbus/gumd-dbus.conf") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/gumd-dbus.conf" ;;
14201 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14202 "src/lib/libgum.pc") CONFIG_FILES="$CONFIG_FILES src/lib/libgum.pc" ;;
14203 "src/lib/libgum-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/lib/libgum-uninstalled.pc" ;;
14204 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14205 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
14206 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14207 "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14208 "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14209 "test/lib/Makefile") CONFIG_FILES="$CONFIG_FILES test/lib/Makefile" ;;
14210 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14211 "test/data/test-gumd-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/data/test-gumd-dbus.conf" ;;
14212 "test/data/services/org.tizen.SecurityAccounts.gUserManagement.service") CONFIG_FILES="$CONFIG_FILES test/data/services/org.tizen.SecurityAccounts.gUserManagement.service" ;;
14214 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14219 # If the user did not use the arguments to specify the items to instantiate,
14220 # then the envvar interface is used. Set only those that are not.
14221 # We use the long form for the default assignment because of an extremely
14222 # bizarre bug on SunOS 4.1.3.
14223 if $ac_need_defaults; then
14224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14225 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14226 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14229 # Have a temporary directory for convenience. Make it in the build tree
14230 # simply because there is no reason against having it here, and in addition,
14231 # creating and moving files from /tmp can sometimes cause problems.
14232 # Hook for its removal unless debugging.
14233 # Note that there is a small window in which the directory will not be cleaned:
14234 # after its creation but before its name has been assigned to `$tmp'.
14238 trap 'exit_status=$?
14239 : "${ac_tmp:=$tmp}"
14240 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14242 trap 'as_fn_exit 1' 1 2 13 15
14244 # Create a (secure) tmp directory for tmp files.
14247 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14251 tmp=./conf$$-$RANDOM
14252 (umask 077 && mkdir "$tmp")
14253 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14256 # Set up the scripts for CONFIG_FILES section.
14257 # No need to generate them if there are no CONFIG_FILES.
14258 # This happens for instance with `./config.status config.h'.
14259 if test -n "$CONFIG_FILES"; then
14262 ac_cr=`echo X | tr X '\015'`
14263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14264 # But we know of no other shell where ac_cr would be empty at this
14265 # point, so we can use a bashism as a fallback.
14266 if test "x$ac_cr" = x; then
14267 eval ac_cr=\$\'\\r\'
14269 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14273 ac_cs_awk_cr=$ac_cr
14276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14281 echo "cat >conf$$subs.awk <<_ACEOF" &&
14282 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14284 } >conf$$subs.sh ||
14285 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14288 for ac_last_try in false false false false false :; do
14289 . ./conf$$subs.sh ||
14290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14292 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14293 if test $ac_delim_n = $ac_delim_num; then
14295 elif $ac_last_try; then
14296 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14298 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14301 rm -f conf$$subs.sh
14303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14308 s/^/S["/; s/!.*/"]=/
14318 s/\(.\{148\}\)..*/\1/
14320 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14332 s/\(.\{148\}\)..*/\1/
14334 s/["\\]/\\&/g; s/^/"/; s/$/"/
14338 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14343 ' <conf$$subs.awk | sed '
14348 ' >>$CONFIG_STATUS || ac_write_fail=1
14349 rm -f conf$$subs.awk
14350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14353 for (key in S) S_is_set[key] = 1
14359 nfields = split(line, field, "@")
14361 len = length(field[1])
14362 for (i = 2; i < nfields; i++) {
14364 keylen = length(key)
14365 if (S_is_set[key]) {
14367 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14368 len += length(value) + length(field[++i])
14379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14380 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14381 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14384 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14385 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14388 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14389 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14390 # trailing colons and then remove the whole line if VPATH becomes empty
14391 # (actually we leave an empty line to preserve line numbers).
14392 if test "x$srcdir" = x.; then
14393 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14412 fi # test -n "$CONFIG_FILES"
14414 # Set up the scripts for CONFIG_HEADERS section.
14415 # No need to generate them if there are no CONFIG_HEADERS.
14416 # This happens for instance with `./config.status Makefile'.
14417 if test -n "$CONFIG_HEADERS"; then
14418 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14422 # Transform confdefs.h into an awk script `defines.awk', embedded as
14423 # here-document in config.status, that substitutes the proper values into
14424 # config.h.in to produce config.h.
14426 # Create a delimiter string that does not exist in confdefs.h, to ease
14427 # handling of long lines.
14429 for ac_last_try in false false :; do
14430 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14431 if test -z "$ac_tt"; then
14433 elif $ac_last_try; then
14434 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14436 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14440 # For the awk script, D is an array of macro values keyed by name,
14441 # likewise P contains macro parameters if any. Preserve backslash
14442 # newline sequences.
14444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14446 s/.\{148\}/&'"$ac_delim"'/g
14449 s/^[ ]*#[ ]*define[ ][ ]*/ /
14456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14458 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14463 D["\1"]=" \3\\\\\\n"\\/p
14465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14470 s/.\{148\}/&'"$ac_delim"'/g
14475 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14478 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14480 ' <confdefs.h | sed '
14481 s/'"$ac_delim"'/"\\\
14482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14485 for (key in D) D_is_set[key] = 1
14488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14490 split(line, arg, " ")
14491 if (arg[1] == "#") {
14495 defundef = substr(arg[1], 2)
14498 split(mac1, mac2, "(") #)
14500 prefix = substr(line, 1, index(line, defundef) - 1)
14501 if (D_is_set[macro]) {
14502 # Preserve the white space surrounding the "#".
14503 print prefix "define", macro P[macro] D[macro]
14506 # Replace #undef with comments. This is necessary, for example,
14507 # in the case of _POSIX_SOURCE, which is predefined and required
14508 # on some systems where configure will not decide to define it.
14509 if (defundef == "undef") {
14510 print "/*", prefix defundef, macro, "*/"
14518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14519 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14520 fi # test -n "$CONFIG_HEADERS"
14523 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14528 :[FHLC]) ac_mode=$ac_tag; continue;;
14530 case $ac_mode$ac_tag in
14532 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14533 :[FH]-) ac_tag=-:-;;
14534 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14551 -) ac_f="$ac_tmp/stdin";;
14552 *) # Look for the file first in the build tree, then in the source tree
14553 # (if the path is not absolute). The absolute path cannot be DOS-style,
14554 # because $ac_f cannot contain `:'.
14558 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14560 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14562 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14563 as_fn_append ac_file_inputs " '$ac_f'"
14566 # Let's still pretend it is `configure' which instantiates (i.e., don't
14567 # use $as_me), people would be surprised to read:
14568 # /* config.h. Generated by config.status. */
14569 configure_input='Generated from '`
14570 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14572 if test x"$ac_file" != x-; then
14573 configure_input="$ac_file. $configure_input"
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14575 $as_echo "$as_me: creating $ac_file" >&6;}
14577 # Neutralize special characters interpreted by sed in replacement strings.
14578 case $configure_input in #(
14579 *\&* | *\|* | *\\* )
14580 ac_sed_conf_input=`$as_echo "$configure_input" |
14581 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14582 *) ac_sed_conf_input=$configure_input;;
14586 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14587 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14592 ac_dir=`$as_dirname -- "$ac_file" ||
14593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14594 X"$ac_file" : 'X\(//\)[^/]' \| \
14595 X"$ac_file" : 'X\(//\)$' \| \
14596 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14597 $as_echo X"$ac_file" |
14598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14602 /^X\(\/\/\)[^/].*/{
14615 as_dir="$ac_dir"; as_fn_mkdir_p
14619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14621 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14622 # A ".." for each directory in $ac_dir_suffix.
14623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14624 case $ac_top_builddir_sub in
14625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14629 ac_abs_top_builddir=$ac_pwd
14630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14631 # for backward compatibility:
14632 ac_top_builddir=$ac_top_build_prefix
14635 .) # We are building in place.
14637 ac_top_srcdir=$ac_top_builddir_sub
14638 ac_abs_top_srcdir=$ac_pwd ;;
14639 [\\/]* | ?:[\\/]* ) # Absolute name.
14640 ac_srcdir=$srcdir$ac_dir_suffix;
14641 ac_top_srcdir=$srcdir
14642 ac_abs_top_srcdir=$srcdir ;;
14643 *) # Relative name.
14644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14645 ac_top_srcdir=$ac_top_build_prefix$srcdir
14646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14658 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14659 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14661 ac_MKDIR_P=$MKDIR_P
14663 [\\/$]* | ?:[\\/]* ) ;;
14664 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14669 # If the template does not know about datarootdir, expand it.
14670 # FIXME: This hack should be removed a few years after 2.60.
14671 ac_datarootdir_hack=; ac_datarootdir_seen=
14682 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14683 *datarootdir*) ac_datarootdir_seen=yes;;
14684 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14686 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14689 ac_datarootdir_hack='
14690 s&@datadir@&$datadir&g
14691 s&@docdir@&$docdir&g
14692 s&@infodir@&$infodir&g
14693 s&@localedir@&$localedir&g
14694 s&@mandir@&$mandir&g
14695 s&\\\${datarootdir}&$datarootdir&g' ;;
14699 # Neutralize VPATH when `$srcdir' = `.'.
14700 # Shell code in configure.ac might set extrasub.
14701 # FIXME: do we really want to maintain this feature?
14702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14703 ac_sed_extra="$ac_vpsub
14706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14709 s|@configure_input@|$ac_sed_conf_input|;t t
14710 s&@top_builddir@&$ac_top_builddir_sub&;t t
14711 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14712 s&@srcdir@&$ac_srcdir&;t t
14713 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14714 s&@top_srcdir@&$ac_top_srcdir&;t t
14715 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14716 s&@builddir@&$ac_builddir&;t t
14717 s&@abs_builddir@&$ac_abs_builddir&;t t
14718 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14719 s&@INSTALL@&$ac_INSTALL&;t t
14720 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14721 $ac_datarootdir_hack
14723 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14724 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14726 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14727 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14728 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14729 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14731 which seems to be undefined. Please make sure it is defined" >&5
14732 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14733 which seems to be undefined. Please make sure it is defined" >&2;}
14735 rm -f "$ac_tmp/stdin"
14737 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14738 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14746 if test x"$ac_file" != x-; then
14748 $as_echo "/* $configure_input */" \
14749 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14750 } >"$ac_tmp/config.h" \
14751 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14752 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14754 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14757 mv "$ac_tmp/config.h" "$ac_file" \
14758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14761 $as_echo "/* $configure_input */" \
14762 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14763 || as_fn_error $? "could not create -" "$LINENO" 5
14765 # Compute "$ac_file"'s index in $config_headers.
14768 for _am_header in $config_headers :; do
14769 case $_am_header in
14770 $_am_arg | $_am_arg:* )
14773 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14776 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14777 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14778 X"$_am_arg" : 'X\(//\)[^/]' \| \
14779 X"$_am_arg" : 'X\(//\)$' \| \
14780 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14781 $as_echo X"$_am_arg" |
14782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14786 /^X\(\/\/\)[^/].*/{
14798 s/.*/./; q'`/stamp-h$_am_stamp_count
14801 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14802 $as_echo "$as_me: executing $ac_file commands" >&6;}
14807 case $ac_file$ac_mode in
14808 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14809 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14810 # are listed without --file. Let's play safe and only enable the eval
14811 # if we detect the quoting.
14812 case $CONFIG_FILES in
14813 *\'*) eval set x "$CONFIG_FILES" ;;
14814 *) set x $CONFIG_FILES ;;
14819 # Strip MF so we end up with the name of the file.
14820 mf=`echo "$mf" | sed -e 's/:.*$//'`
14821 # Check whether this is an Automake generated Makefile or not.
14822 # We used to match only the files named `Makefile.in', but
14823 # some people rename them; so instead we look at the file content.
14824 # Grep'ing the first line is not enough: some people post-process
14825 # each Makefile.in and add a new line on top of each file to say so.
14826 # Grep'ing the whole file is not good either: AIX grep has a line
14827 # limit of 2048, but all sed's we know have understand at least 4000.
14828 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14829 dirpart=`$as_dirname -- "$mf" ||
14830 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14831 X"$mf" : 'X\(//\)[^/]' \| \
14832 X"$mf" : 'X\(//\)$' \| \
14833 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14839 /^X\(\/\/\)[^/].*/{
14855 # Extract the definition of DEPDIR, am__include, and am__quote
14856 # from the Makefile without running `make'.
14857 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14858 test -z "$DEPDIR" && continue
14859 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14860 test -z "am__include" && continue
14861 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14862 # When using ansi2knr, U may be empty or an underscore; expand it
14863 U=`sed -n 's/^U = //p' < "$mf"`
14864 # Find all dependency output files, they are included files with
14865 # $(DEPDIR) in their names. We invoke sed twice because it is the
14866 # simplest approach to changing $(DEPDIR) to its actual value in the
14868 for file in `sed -n "
14869 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14870 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14871 # Make sure the directory exists.
14872 test -f "$dirpart/$file" && continue
14873 fdir=`$as_dirname -- "$file" ||
14874 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14875 X"$file" : 'X\(//\)[^/]' \| \
14876 X"$file" : 'X\(//\)$' \| \
14877 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14878 $as_echo X"$file" |
14879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14883 /^X\(\/\/\)[^/].*/{
14896 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14897 # echo "creating $dirpart/$file"
14898 echo '# dummy' > "$dirpart/$file"
14905 # See if we are running on zsh, and set the options which allow our
14906 # commands through without removal of \ escapes.
14907 if test -n "${ZSH_VERSION+set}" ; then
14908 setopt NO_GLOB_SUBST
14911 cfgfile="${ofile}T"
14912 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14915 cat <<_LT_EOF >> "$cfgfile"
14918 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14919 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14920 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14921 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14923 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14924 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14926 # Written by Gordon Matzigkeit, 1996
14928 # This file is part of GNU Libtool.
14930 # GNU Libtool is free software; you can redistribute it and/or
14931 # modify it under the terms of the GNU General Public License as
14932 # published by the Free Software Foundation; either version 2 of
14933 # the License, or (at your option) any later version.
14935 # As a special exception to the GNU General Public License,
14936 # if you distribute this file as part of a program or library that
14937 # is built using GNU Libtool, you may include this file under the
14938 # same distribution terms that you use for the rest of that program.
14940 # GNU Libtool is distributed in the hope that it will be useful,
14941 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14942 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14943 # GNU General Public License for more details.
14945 # You should have received a copy of the GNU General Public License
14946 # along with GNU Libtool; see the file COPYING. If not, a copy
14947 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14948 # obtained by writing to the Free Software Foundation, Inc.,
14949 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14952 # The names of the tagged configurations supported by this script.
14955 # ### BEGIN LIBTOOL CONFIG
14957 # Which release of libtool.m4 was used?
14958 macro_version=$macro_version
14959 macro_revision=$macro_revision
14961 # Whether or not to build static libraries.
14962 build_old_libs=$enable_static
14964 # Whether or not to build shared libraries.
14965 build_libtool_libs=$enable_shared
14967 # What type of objects to build.
14970 # Whether or not to optimize for fast installation.
14971 fast_install=$enable_fast_install
14973 # Shell to use when invoking shell scripts.
14976 # An echo program that protects backslashes.
14979 # The PATH separator for the build system.
14980 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14983 host_alias=$host_alias
14987 # The build system.
14988 build_alias=$build_alias
14992 # A sed program that does not truncate output.
14995 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14996 Xsed="\$SED -e 1s/^X//"
14998 # A grep program that handles long lines.
15004 # A literal string matcher.
15007 # A BSD- or MS-compatible name lister.
15010 # Whether we need soft or hard links.
15013 # What is the maximum length of a command?
15014 max_cmd_len=$max_cmd_len
15016 # Object file suffix (normally "o").
15019 # Executable file suffix (normally "").
15022 # whether the shell understands "unset".
15025 # turn spaces into newlines.
15028 # turn newlines into spaces.
15031 # convert \$build file names to \$host format.
15032 to_host_file_cmd=$lt_cv_to_host_file_cmd
15034 # convert \$build files to toolchain format.
15035 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15037 # An object symbol dumper.
15038 OBJDUMP=$lt_OBJDUMP
15040 # Method to check whether dependent libraries are shared objects.
15041 deplibs_check_method=$lt_deplibs_check_method
15043 # Command to use when deplibs_check_method = "file_magic".
15044 file_magic_cmd=$lt_file_magic_cmd
15046 # How to find potential files when deplibs_check_method = "file_magic".
15047 file_magic_glob=$lt_file_magic_glob
15049 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15050 want_nocaseglob=$lt_want_nocaseglob
15052 # DLL creation program.
15053 DLLTOOL=$lt_DLLTOOL
15055 # Command to associate shared and link libraries.
15056 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15061 # Flags to create an archive.
15062 AR_FLAGS=$lt_AR_FLAGS
15064 # How to feed a file listing to the archiver.
15065 archiver_list_spec=$lt_archiver_list_spec
15067 # A symbol stripping program.
15070 # Commands used to install an old-style archive.
15072 old_postinstall_cmds=$lt_old_postinstall_cmds
15073 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15075 # Whether to use a lock for old archive extraction.
15076 lock_old_archive_extraction=$lock_old_archive_extraction
15081 # LTCC compiler flags.
15082 LTCFLAGS=$lt_CFLAGS
15084 # Take the output of nm and produce a listing of raw symbols and C names.
15085 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15087 # Transform the output of nm in a proper C declaration.
15088 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15090 # Transform the output of nm in a C name address pair.
15091 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15093 # Transform the output of nm in a C name address pair when lib prefix is needed.
15094 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15096 # Specify filename containing input files for \$NM.
15097 nm_file_list_spec=$lt_nm_file_list_spec
15099 # The root where to search for dependent libraries,and in which our libraries should be installed.
15100 lt_sysroot=$lt_sysroot
15102 # The name of the directory that contains temporary libtool files.
15105 # Used to examine libraries when file_magic_cmd begins with "file".
15106 MAGIC_CMD=$MAGIC_CMD
15108 # Must we lock files when doing compilation?
15109 need_locks=$lt_need_locks
15112 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15114 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15115 DSYMUTIL=$lt_DSYMUTIL
15117 # Tool to change global to local symbols on Mac OS X.
15120 # Tool to manipulate fat objects and archives on Mac OS X.
15123 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15126 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15127 OTOOL64=$lt_OTOOL64
15129 # Old archive suffix (normally "a").
15132 # Shared library suffix (normally ".so").
15133 shrext_cmds=$lt_shrext_cmds
15135 # The commands to extract the exported symbol list from a shared archive.
15136 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15138 # Variables whose values should be saved in libtool wrapper scripts and
15139 # restored at link time.
15140 variables_saved_for_relink=$lt_variables_saved_for_relink
15142 # Do we need the "lib" prefix for modules?
15143 need_lib_prefix=$need_lib_prefix
15145 # Do we need a version for libraries?
15146 need_version=$need_version
15148 # Library versioning type.
15149 version_type=$version_type
15151 # Shared library runtime path variable.
15152 runpath_var=$runpath_var
15154 # Shared library path variable.
15155 shlibpath_var=$shlibpath_var
15157 # Is shlibpath searched before the hard-coded library search path?
15158 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15160 # Format of library name prefix.
15161 libname_spec=$lt_libname_spec
15163 # List of archive names. First name is the real one, the rest are links.
15164 # The last name is the one that the linker finds with -lNAME
15165 library_names_spec=$lt_library_names_spec
15167 # The coded name of the library, if different from the real name.
15168 soname_spec=$lt_soname_spec
15170 # Permission mode override for installation of shared libraries.
15171 install_override_mode=$lt_install_override_mode
15173 # Command to use after installation of a shared archive.
15174 postinstall_cmds=$lt_postinstall_cmds
15176 # Command to use after uninstallation of a shared archive.
15177 postuninstall_cmds=$lt_postuninstall_cmds
15179 # Commands used to finish a libtool library installation in a directory.
15180 finish_cmds=$lt_finish_cmds
15182 # As "finish_cmds", except a single script fragment to be evaled but
15184 finish_eval=$lt_finish_eval
15186 # Whether we should hardcode library paths into libraries.
15187 hardcode_into_libs=$hardcode_into_libs
15189 # Compile-time system search path for libraries.
15190 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15192 # Run-time system search path for libraries.
15193 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15195 # Whether dlopen is supported.
15196 dlopen_support=$enable_dlopen
15198 # Whether dlopen of programs is supported.
15199 dlopen_self=$enable_dlopen_self
15201 # Whether dlopen of statically linked programs is supported.
15202 dlopen_self_static=$enable_dlopen_self_static
15204 # Commands to strip libraries.
15205 old_striplib=$lt_old_striplib
15206 striplib=$lt_striplib
15209 # The linker used to build libraries.
15212 # How to create reloadable object files.
15213 reload_flag=$lt_reload_flag
15214 reload_cmds=$lt_reload_cmds
15216 # Commands used to build an old-style archive.
15217 old_archive_cmds=$lt_old_archive_cmds
15219 # A language specific compiler.
15222 # Is the compiler the GNU compiler?
15225 # Compiler flag to turn off builtin functions.
15226 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15228 # Additional compiler flags for building library objects.
15229 pic_flag=$lt_lt_prog_compiler_pic
15231 # How to pass a linker flag through the compiler.
15232 wl=$lt_lt_prog_compiler_wl
15234 # Compiler flag to prevent dynamic linking.
15235 link_static_flag=$lt_lt_prog_compiler_static
15237 # Does compiler simultaneously support -c and -o options?
15238 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15240 # Whether or not to add -lc for building shared libraries.
15241 build_libtool_need_lc=$archive_cmds_need_lc
15243 # Whether or not to disallow shared libs when runtime libs are static.
15244 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15246 # Compiler flag to allow reflexive dlopens.
15247 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15249 # Compiler flag to generate shared objects directly from archives.
15250 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15252 # Whether the compiler copes with passing no objects directly.
15253 compiler_needs_object=$lt_compiler_needs_object
15255 # Create an old-style archive from a shared archive.
15256 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15258 # Create a temporary old-style archive to link instead of a shared archive.
15259 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15261 # Commands used to build a shared archive.
15262 archive_cmds=$lt_archive_cmds
15263 archive_expsym_cmds=$lt_archive_expsym_cmds
15265 # Commands used to build a loadable module if different from building
15266 # a shared archive.
15267 module_cmds=$lt_module_cmds
15268 module_expsym_cmds=$lt_module_expsym_cmds
15270 # Whether we are building with GNU ld or not.
15271 with_gnu_ld=$lt_with_gnu_ld
15273 # Flag that allows shared libraries with undefined symbols to be built.
15274 allow_undefined_flag=$lt_allow_undefined_flag
15276 # Flag that enforces no undefined symbols.
15277 no_undefined_flag=$lt_no_undefined_flag
15279 # Flag to hardcode \$libdir into a binary during linking.
15280 # This must work even if \$libdir does not exist
15281 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15283 # Whether we need a single "-rpath" flag with a separated argument.
15284 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15286 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15287 # DIR into the resulting binary.
15288 hardcode_direct=$hardcode_direct
15290 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15291 # DIR into the resulting binary and the resulting library dependency is
15292 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15293 # library is relocated.
15294 hardcode_direct_absolute=$hardcode_direct_absolute
15296 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15297 # into the resulting binary.
15298 hardcode_minus_L=$hardcode_minus_L
15300 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15301 # into the resulting binary.
15302 hardcode_shlibpath_var=$hardcode_shlibpath_var
15304 # Set to "yes" if building a shared library automatically hardcodes DIR
15305 # into the library and all subsequent libraries and executables linked
15307 hardcode_automatic=$hardcode_automatic
15309 # Set to yes if linker adds runtime paths of dependent libraries
15310 # to runtime path list.
15311 inherit_rpath=$inherit_rpath
15313 # Whether libtool must link a program against all its dependency libraries.
15314 link_all_deplibs=$link_all_deplibs
15316 # Set to "yes" if exported symbols are required.
15317 always_export_symbols=$always_export_symbols
15319 # The commands to list exported symbols.
15320 export_symbols_cmds=$lt_export_symbols_cmds
15322 # Symbols that should not be listed in the preloaded symbols.
15323 exclude_expsyms=$lt_exclude_expsyms
15325 # Symbols that must always be exported.
15326 include_expsyms=$lt_include_expsyms
15328 # Commands necessary for linking programs (against libraries) with templates.
15329 prelink_cmds=$lt_prelink_cmds
15331 # Commands necessary for finishing linking programs.
15332 postlink_cmds=$lt_postlink_cmds
15334 # Specify filename containing input files.
15335 file_list_spec=$lt_file_list_spec
15337 # How to hardcode a shared library path into an executable.
15338 hardcode_action=$hardcode_action
15340 # ### END LIBTOOL CONFIG
15346 cat <<\_LT_EOF >> "$cfgfile"
15347 # AIX sometimes has problems with the GCC collect2 program. For some
15348 # reason, if we set the COLLECT_NAMES environment variable, the problems
15349 # vanish in a puff of smoke.
15350 if test "X${COLLECT_NAMES+set}" != Xset; then
15352 export COLLECT_NAMES
15359 ltmain="$ac_aux_dir/ltmain.sh"
15362 # We use sed instead of cat because bash on DJGPP gets confused if
15363 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15364 # text mode, it properly converts lines to CR/LF. This bash problem
15365 # is reportedly fixed, but why not run on old versions too?
15366 sed '$q' "$ltmain" >> "$cfgfile" \
15367 || (rm -f "$cfgfile"; exit 1)
15369 if test x"$xsi_shell" = xyes; then
15370 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15374 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15375 \ * ) func_dirname_result="${3}" ;;\
15377 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15378 && mv -f "$cfgfile.tmp" "$cfgfile" \
15379 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15380 test 0 -eq $? || _lt_function_replace_fail=:
15383 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15386 \ func_basename_result="${1##*/}"\
15387 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15388 && mv -f "$cfgfile.tmp" "$cfgfile" \
15389 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15390 test 0 -eq $? || _lt_function_replace_fail=:
15393 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15394 func_dirname_and_basename ()\
15397 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15398 \ * ) func_dirname_result="${3}" ;;\
15400 \ func_basename_result="${1##*/}"\
15401 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15402 && mv -f "$cfgfile.tmp" "$cfgfile" \
15403 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15404 test 0 -eq $? || _lt_function_replace_fail=:
15407 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15410 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15411 \ # positional parameters, so assign one to ordinary parameter first.\
15412 \ func_stripname_result=${3}\
15413 \ func_stripname_result=${func_stripname_result#"${1}"}\
15414 \ func_stripname_result=${func_stripname_result%"${2}"}\
15415 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15416 && mv -f "$cfgfile.tmp" "$cfgfile" \
15417 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15418 test 0 -eq $? || _lt_function_replace_fail=:
15421 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15422 func_split_long_opt ()\
15424 \ func_split_long_opt_name=${1%%=*}\
15425 \ func_split_long_opt_arg=${1#*=}\
15426 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15427 && mv -f "$cfgfile.tmp" "$cfgfile" \
15428 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15429 test 0 -eq $? || _lt_function_replace_fail=:
15432 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15433 func_split_short_opt ()\
15435 \ func_split_short_opt_arg=${1#??}\
15436 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15437 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15438 && mv -f "$cfgfile.tmp" "$cfgfile" \
15439 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15440 test 0 -eq $? || _lt_function_replace_fail=:
15443 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15447 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15448 \ *) func_lo2o_result=${1} ;;\
15450 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15451 && mv -f "$cfgfile.tmp" "$cfgfile" \
15452 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15453 test 0 -eq $? || _lt_function_replace_fail=:
15456 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15459 func_xform_result=${1%.*}.lo\
15460 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15461 && mv -f "$cfgfile.tmp" "$cfgfile" \
15462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15463 test 0 -eq $? || _lt_function_replace_fail=:
15466 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15469 func_arith_result=$(( $* ))\
15470 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15471 && mv -f "$cfgfile.tmp" "$cfgfile" \
15472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15473 test 0 -eq $? || _lt_function_replace_fail=:
15476 sed -e '/^func_len ()$/,/^} # func_len /c\
15479 func_len_result=${#1}\
15480 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15481 && mv -f "$cfgfile.tmp" "$cfgfile" \
15482 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15483 test 0 -eq $? || _lt_function_replace_fail=:
15487 if test x"$lt_shell_append" = xyes; then
15488 sed -e '/^func_append ()$/,/^} # func_append /c\
15491 eval "${1}+=\\${2}"\
15492 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15493 && mv -f "$cfgfile.tmp" "$cfgfile" \
15494 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15495 test 0 -eq $? || _lt_function_replace_fail=:
15498 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15499 func_append_quoted ()\
15501 \ func_quote_for_eval "${2}"\
15502 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15503 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15504 && mv -f "$cfgfile.tmp" "$cfgfile" \
15505 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15506 test 0 -eq $? || _lt_function_replace_fail=:
15509 # Save a `func_append' function call where possible by direct use of '+='
15510 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15511 && mv -f "$cfgfile.tmp" "$cfgfile" \
15512 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15513 test 0 -eq $? || _lt_function_replace_fail=:
15515 # Save a `func_append' function call even when '+=' is not available
15516 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15517 && mv -f "$cfgfile.tmp" "$cfgfile" \
15518 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15519 test 0 -eq $? || _lt_function_replace_fail=:
15522 if test x"$_lt_function_replace_fail" = x":"; then
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15524 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15528 mv -f "$cfgfile" "$ofile" ||
15529 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15540 ac_clean_files=$ac_clean_files_save
15542 test $ac_write_fail = 0 ||
15543 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15546 # configure is writing to config.log, and then calls config.status.
15547 # config.status does its own redirection, appending to config.log.
15548 # Unfortunately, on DOS this fails, as config.log is still kept open
15549 # by configure, so config.status won't be able to write to it; its
15550 # output is simply discarded. So we exec the FD to /dev/null,
15551 # effectively closing config.log, so it can be properly (re)opened and
15552 # appended to by config.status. When coming back to configure, we
15553 # need to make the FD available again.
15554 if test "$no_create" != yes; then
15556 ac_config_status_args=
15557 test "$silent" = yes &&
15558 ac_config_status_args="$ac_config_status_args --quiet"
15560 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15563 # would make configure fail if this is the last instruction.
15564 $ac_cs_success || as_fn_exit 1
15566 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15568 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}