2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for buxton 5.
5 # Report bugs to <william.douglas@intel.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: william.douglas@intel.com about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='buxton'
592 PACKAGE_TARNAME='buxton'
594 PACKAGE_STRING='buxton 5'
595 PACKAGE_BUGREPORT='william.douglas@intel.com'
596 PACKAGE_URL='https://github.com/sofar/buxton'
598 ac_unique_file="src/core/main.c"
599 ac_default_prefix=/usr/local
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
658 USE_LOCAL_INIPARSER_FALSE
659 USE_LOCAL_INIPARSER_TRUE
665 SYSTEMD_SYSTEMUNITDIR
735 INSTALL_STRIP_PROGRAM
777 program_transform_name
790 enable_option_checking
796 enable_dependency_tracking
800 with_systemdsystemunitdir
808 with_smack_permissive
815 ac_precious_vars='build_alias
837 # Initialize some variables set by options.
839 ac_init_version=false
840 ac_unrecognized_opts=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name=s,x,x,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\$ac_option
897 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir | --bindir | --bindi | --bind | --bin | --bi)
910 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 -build | --build | --buil | --bui | --bu)
914 ac_prev=build_alias ;;
915 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916 build_alias=$ac_optarg ;;
918 -cache-file | --cache-file | --cache-fil | --cache-fi \
919 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920 ac_prev=cache_file ;;
921 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923 cache_file=$ac_optarg ;;
926 cache_file=config.cache ;;
928 -datadir | --datadir | --datadi | --datad)
930 -datadir=* | --datadir=* | --datadi=* | --datad=*)
931 datadir=$ac_optarg ;;
933 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934 | --dataroo | --dataro | --datar)
935 ac_prev=datarootdir ;;
936 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938 datarootdir=$ac_optarg ;;
940 -disable-* | --disable-*)
941 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944 as_fn_error $? "invalid feature name: $ac_useropt"
945 ac_useropt_orig=$ac_useropt
946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep=', ';;
954 eval enable_$ac_useropt=no ;;
956 -docdir | --docdir | --docdi | --doc | --do)
958 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 -enable-* | --enable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=\$ac_optarg ;;
982 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984 | --exec | --exe | --ex)
985 ac_prev=exec_prefix ;;
986 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988 | --exec=* | --exe=* | --ex=*)
989 exec_prefix=$ac_optarg ;;
991 -gas | --gas | --ga | --g)
992 # Obsolete; use --with-gas.
995 -help | --help | --hel | --he | -h)
997 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998 ac_init_help=recursive ;;
999 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000 ac_init_help=short ;;
1002 -host | --host | --hos | --ho)
1003 ac_prev=host_alias ;;
1004 -host=* | --host=* | --hos=* | --ho=*)
1005 host_alias=$ac_optarg ;;
1007 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011 htmldir=$ac_optarg ;;
1013 -includedir | --includedir | --includedi | --included | --include \
1014 | --includ | --inclu | --incl | --inc)
1015 ac_prev=includedir ;;
1016 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017 | --includ=* | --inclu=* | --incl=* | --inc=*)
1018 includedir=$ac_optarg ;;
1020 -infodir | --infodir | --infodi | --infod | --info | --inf)
1022 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023 infodir=$ac_optarg ;;
1025 -libdir | --libdir | --libdi | --libd)
1027 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028 libdir=$ac_optarg ;;
1030 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031 | --libexe | --libex | --libe)
1032 ac_prev=libexecdir ;;
1033 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034 | --libexe=* | --libex=* | --libe=*)
1035 libexecdir=$ac_optarg ;;
1037 -localedir | --localedir | --localedi | --localed | --locale)
1038 ac_prev=localedir ;;
1039 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040 localedir=$ac_optarg ;;
1042 -localstatedir | --localstatedir | --localstatedi | --localstated \
1043 | --localstate | --localstat | --localsta | --localst | --locals)
1044 ac_prev=localstatedir ;;
1045 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047 localstatedir=$ac_optarg ;;
1049 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052 mandir=$ac_optarg ;;
1054 -nfp | --nfp | --nf)
1055 # Obsolete; use --without-fp.
1058 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059 | --no-cr | --no-c | -n)
1062 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068 | --oldin | --oldi | --old | --ol | --o)
1069 ac_prev=oldincludedir ;;
1070 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073 oldincludedir=$ac_optarg ;;
1075 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078 prefix=$ac_optarg ;;
1080 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081 | --program-pre | --program-pr | --program-p)
1082 ac_prev=program_prefix ;;
1083 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085 program_prefix=$ac_optarg ;;
1087 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088 | --program-suf | --program-su | --program-s)
1089 ac_prev=program_suffix ;;
1090 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092 program_suffix=$ac_optarg ;;
1094 -program-transform-name | --program-transform-name \
1095 | --program-transform-nam | --program-transform-na \
1096 | --program-transform-n | --program-transform- \
1097 | --program-transform | --program-transfor \
1098 | --program-transfo | --program-transf \
1099 | --program-trans | --program-tran \
1100 | --progr-tra | --program-tr | --program-t)
1101 ac_prev=program_transform_name ;;
1102 -program-transform-name=* | --program-transform-name=* \
1103 | --program-transform-nam=* | --program-transform-na=* \
1104 | --program-transform-n=* | --program-transform-=* \
1105 | --program-transform=* | --program-transfor=* \
1106 | --program-transfo=* | --program-transf=* \
1107 | --program-trans=* | --program-tran=* \
1108 | --progr-tra=* | --program-tr=* | --program-t=*)
1109 program_transform_name=$ac_optarg ;;
1111 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114 pdfdir=$ac_optarg ;;
1116 -psdir | --psdir | --psdi | --psd | --ps)
1118 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122 | -silent | --silent | --silen | --sile | --sil)
1125 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 sbindir=$ac_optarg ;;
1131 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133 | --sharedst | --shareds | --shared | --share | --shar \
1135 ac_prev=sharedstatedir ;;
1136 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 sharedstatedir=$ac_optarg ;;
1142 -site | --site | --sit)
1144 -site=* | --site=* | --sit=*)
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1152 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153 | --syscon | --sysco | --sysc | --sys | --sy)
1154 ac_prev=sysconfdir ;;
1155 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157 sysconfdir=$ac_optarg ;;
1159 -target | --target | --targe | --targ | --tar | --ta | --t)
1160 ac_prev=target_alias ;;
1161 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162 target_alias=$ac_optarg ;;
1164 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 -version | --version | --versio | --versi | --vers | -V)
1168 ac_init_version=: ;;
1171 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error $? "invalid package name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=\$ac_optarg ;;
1186 -without-* | --without-*)
1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=no ;;
1203 # Obsolete; use --with-x.
1206 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207 | --x-incl | --x-inc | --x-in | --x-i)
1208 ac_prev=x_includes ;;
1209 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211 x_includes=$ac_optarg ;;
1213 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215 ac_prev=x_libraries ;;
1216 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218 x_libraries=$ac_optarg ;;
1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' | [0-9]* | *[!_$as_cr_alnum]* )
1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val=\$$ac_var
1265 # Remove trailing slashes.
1268 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$]* | ?:[\\/]* ) continue;;
1274 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288 if test "x$build_alias" = x; then
1289 cross_compiling=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1298 test "$silent" = yes && exec 6>/dev/null
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $? "pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var in $ac_precious_vars; do
1362 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_${ac_var}_value=\$${ac_var}
1364 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures buxton 5 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/buxton]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1438 --build=BUILD configure for building on BUILD [guessed]
1439 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive ) echo "Configuration of buxton 5:";;
1450 --disable-option-checking ignore unrecognized --enable/--with options
1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1453 --enable-silent-rules less verbose build output (undo: "make V=1")
1454 --disable-silent-rules verbose build output (undo: "make V=0")
1455 --enable-static[=PKGS] build static libraries [default=no]
1456 --enable-shared[=PKGS] build shared libraries [default=yes]
1457 --enable-fast-install[=PKGS]
1458 optimize for fast installation [default=yes]
1459 --enable-dependency-tracking
1460 do not reject slow dependency extractors
1461 --disable-dependency-tracking
1462 speeds up one-time build
1463 --disable-libtool-lock avoid locking (might break parallel builds)
1464 --enable-debug enable debug mode [default=no]
1465 --enable-manpages enable man pages [default=yes]
1466 --enable-coverage enable test coverage
1467 --enable-demos enable demos [default=no]
1468 --enable-gtk-demo enable demos [default=no]
1471 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1472 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1473 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1475 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1476 --with-sysroot=DIR Search for dependent libraries within DIR
1477 (or the compiler's sysroot if not specified).
1478 --with-systemdsystemunitdir=DIR
1479 path to systemd system service directory
1480 --with-user=USER user to run buxton as
1481 --with-local-iniparserdefault=yes
1482 Use built-in iniparser for config parsing
1483 --with-module-dir=MODULEDIR
1484 path to buxton modules
1485 --with-config-path=CONFPATH
1486 path to buxton configuration file
1487 --with-db-path=DBPATH path to buxton db files
1488 --with-socket-path=SOCKETPATH
1489 path to buxton socket file
1490 --with-smack-load-file=SMACKLOADFILE
1491 path to smack load2 file
1492 --with-smack-permissive=SMACKPERMISSIVE
1493 path to smack permissive file
1495 Some influential environment variables:
1496 CC C compiler command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1499 nonstandard directory <lib dir>
1500 LIBS libraries to pass to the linker, e.g. -l<library>
1501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502 you have headers in a nonstandard directory <include dir>
1504 PKG_CONFIG path to pkg-config utility
1506 directories to add to pkg-config's search path
1508 path overriding pkg-config's built-in search path
1510 C compiler flags for CHECK, overriding pkg-config
1511 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1513 C compiler flags for SYSTEMD, overriding pkg-config
1515 linker flags for SYSTEMD, overriding pkg-config
1517 C compiler flags for INIPARSER, overriding pkg-config
1519 linker flags for INIPARSER, overriding pkg-config
1520 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1521 GTK3_LIBS linker flags for GTK3, overriding pkg-config
1523 Use these variables to override the choices made by `configure' or to help
1524 it to find libraries and programs with nonstandard names/locations.
1526 Report bugs to <william.douglas@intel.com>.
1527 buxton home page: <https://github.com/sofar/buxton>.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 test -d "$ac_dir" ||
1536 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1557 .) # We are building in place.
1559 ac_top_srcdir=$ac_top_builddir_sub
1560 ac_abs_top_srcdir=$ac_pwd ;;
1561 [\\/]* | ?:[\\/]* ) # Absolute name.
1562 ac_srcdir=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir=$srcdir
1564 ac_abs_top_srcdir=$srcdir ;;
1566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" || { ac_status=$?; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" || { ac_status=$?; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1591 generated by GNU Autoconf 2.69
1593 Copyright (C) 2012 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext
1611 if { { ac_try="$ac_compile"
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_compile") 2>conftest.err
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest.$ac_objext; then :
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_compile
1642 # ac_fn_c_try_link LINENO
1643 # -----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded.
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext conftest$ac_exeext
1649 if { { ac_try="$ac_link"
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>conftest.err
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest$ac_exeext && {
1668 test "$cross_compiling" = yes ||
1669 test -x conftest$ac_exeext
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1678 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1679 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1680 # interfere with the next link command; also delete a directory that is
1681 # left behind by Apple's compiler. We do this before executing the actions.
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_link
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 } # ac_fn_c_check_header_compile
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1736 cat conftest.er1 >&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } > conftest.i && {
1741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status $ac_retval
1756 # ac_fn_c_try_run LINENO
1757 # ----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1759 # that executables *can* be run.
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 if { { ac_try="$ac_link"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>&5
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1774 { { case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_try") 2>&5
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; }; }; then :
1786 $as_echo "$as_me: program exited with status $ac_status" >&5
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1790 ac_retval=$ac_status
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1821 # include <limits.h>
1823 # include <assert.h>
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1850 if ac_fn_c_try_link "$LINENO"; then :
1855 rm -f core conftest.err conftest.$ac_objext \
1856 conftest$ac_exeext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_check_func
1865 # ac_fn_c_find_intX_t LINENO BITS VAR
1866 # -----------------------------------
1867 # Finds a signed integer type with width BITS, setting cache variable VAR
1869 ac_fn_c_find_intX_t ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1873 $as_echo_n "checking for int$2_t... " >&6; }
1874 if eval \${$3+:} false; then :
1875 $as_echo_n "(cached) " >&6
1878 # Order is important - never check a type that is potentially smaller
1879 # than half of the expected target width.
1880 for ac_type in int$2_t 'int' 'long int' \
1881 'long long int' 'short int' 'signed char'; do
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 $ac_includes_default
1885 enum { N = $2 / 2 - 1 };
1889 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1891 return test_array [0];
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 $ac_includes_default
1901 enum { N = $2 / 2 - 1 };
1905 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1906 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1908 return test_array [0];
1914 if ac_fn_c_try_compile "$LINENO"; then :
1921 eval "$3=\$ac_type" ;;
1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927 if eval test \"x\$"$3"\" = x"no"; then :
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 } # ac_fn_c_find_intX_t
1941 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1942 # -------------------------------------------
1943 # Tests whether TYPE exists after having included INCLUDES, setting cache
1944 # variable VAR accordingly.
1945 ac_fn_c_check_type ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951 $as_echo_n "(cached) " >&6
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1966 if ac_fn_c_try_compile "$LINENO"; then :
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1979 if ac_fn_c_try_compile "$LINENO"; then :
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 } # ac_fn_c_check_type
1995 # ac_fn_c_find_uintX_t LINENO BITS VAR
1996 # ------------------------------------
1997 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1999 ac_fn_c_find_uintX_t ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2003 $as_echo_n "checking for uint$2_t... " >&6; }
2004 if eval \${$3+:} false; then :
2005 $as_echo_n "(cached) " >&6
2008 # Order is important - never check a type that is potentially smaller
2009 # than half of the expected target width.
2010 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2011 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2014 $ac_includes_default
2018 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2020 return test_array [0];
2026 if ac_fn_c_try_compile "$LINENO"; then :
2031 eval "$3=\$ac_type" ;;
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 if eval test \"x\$"$3"\" = x"no"; then :
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044 $as_echo "$ac_res" >&6; }
2045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2047 } # ac_fn_c_find_uintX_t
2049 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2050 # -------------------------------------------------------
2051 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2052 # the include files in INCLUDES and setting the cache variable VAR
2054 ac_fn_c_check_header_mongrel ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 if eval \${$3+:} false; then :
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval \${$3+:} false; then :
2061 $as_echo_n "(cached) " >&6
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2067 # Is the header compilable?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2069 $as_echo_n "checking $2 usability... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 ac_header_compiler=yes
2078 ac_header_compiler=no
2080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2082 $as_echo "$ac_header_compiler" >&6; }
2084 # Is the header present?
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2086 $as_echo_n "checking $2 presence... " >&6; }
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2091 if ac_fn_c_try_cpp "$LINENO"; then :
2092 ac_header_preproc=yes
2094 ac_header_preproc=no
2096 rm -f conftest.err conftest.i conftest.$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2098 $as_echo "$ac_header_preproc" >&6; }
2100 # So? What about this header?
2101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2104 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2110 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2112 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2114 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2116 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2118 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119 ( $as_echo "## ---------------------------------------- ##
2120 ## Report this to william.douglas@intel.com ##
2121 ## ---------------------------------------- ##"
2122 ) | sed "s/^/$as_me: WARNING: /" >&2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126 $as_echo_n "checking for $2... " >&6; }
2127 if eval \${$3+:} false; then :
2128 $as_echo_n "(cached) " >&6
2130 eval "$3=\$ac_header_compiler"
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138 } # ac_fn_c_check_header_mongrel
2139 cat >config.log <<_ACEOF
2140 This file contains any messages produced by compilers while
2141 running configure, to aid debugging if configure makes a mistake.
2143 It was created by buxton $as_me 5, which was
2144 generated by GNU Autoconf 2.69. Invocation command line was
2156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 $as_echo "PATH: $as_dir"
2196 # Keep a trace of the command line.
2197 # Strip out --no-create and --no-recursion so they do not pile up.
2198 # Strip out --silent because we don't want to record it for future runs.
2199 # Also quote any args containing shell meta-characters.
2200 # Make two passes to allow for proper duplicate-argument suppression.
2204 ac_must_keep_next=false
2210 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2212 | -silent | --silent | --silen | --sile | --sil)
2215 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2218 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2220 as_fn_append ac_configure_args1 " '$ac_arg'"
2221 if test $ac_must_keep_next = true; then
2222 ac_must_keep_next=false # Got value, back to normal.
2225 *=* | --config-cache | -C | -disable-* | --disable-* \
2226 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2227 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2228 | -with-* | --with-* | -without-* | --without-* | --x)
2229 case "$ac_configure_args0 " in
2230 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2233 -* ) ac_must_keep_next=true ;;
2236 as_fn_append ac_configure_args " '$ac_arg'"
2241 { ac_configure_args0=; unset ac_configure_args0;}
2242 { ac_configure_args1=; unset ac_configure_args1;}
2244 # When interrupted or exit'd, cleanup temporary files, and complete
2245 # config.log. We remove comments because anyway the quotes in there
2246 # would cause problems or look ugly.
2247 # WARNING: Use '\'' to represent an apostrophe within the trap.
2248 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2249 trap 'exit_status=$?
2250 # Save into config.log some information that might help in debugging.
2254 $as_echo "## ---------------- ##
2255 ## Cache variables. ##
2256 ## ---------------- ##"
2258 # The following way of writing the cache mishandles newlines in values,
2260 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2261 eval ac_val=\$$ac_var
2265 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2266 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2269 _ | IFS | as_nl) ;; #(
2270 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2271 *) { eval $ac_var=; unset $ac_var;} ;;
2276 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2277 *${as_nl}ac_space=\ *)
2279 "s/'\''/'\''\\\\'\'''\''/g;
2280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2283 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2290 $as_echo "## ----------------- ##
2291 ## Output variables. ##
2292 ## ----------------- ##"
2294 for ac_var in $ac_subst_vars
2296 eval ac_val=\$$ac_var
2298 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2300 $as_echo "$ac_var='\''$ac_val'\''"
2304 if test -n "$ac_subst_files"; then
2305 $as_echo "## ------------------- ##
2306 ## File substitutions. ##
2307 ## ------------------- ##"
2309 for ac_var in $ac_subst_files
2311 eval ac_val=\$$ac_var
2313 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2315 $as_echo "$ac_var='\''$ac_val'\''"
2320 if test -s confdefs.h; then
2321 $as_echo "## ----------- ##
2328 test "$ac_signal" != 0 &&
2329 $as_echo "$as_me: caught signal $ac_signal"
2330 $as_echo "$as_me: exit $exit_status"
2332 rm -f core *.core core.conftest.* &&
2333 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2336 for ac_signal in 1 2 13 15; do
2337 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2342 rm -f -r conftest* confdefs.h
2344 $as_echo "/* confdefs.h */" > confdefs.h
2346 # Predefined preprocessor variables.
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_NAME "$PACKAGE_NAME"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_STRING "$PACKAGE_STRING"
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2368 cat >>confdefs.h <<_ACEOF
2369 #define PACKAGE_URL "$PACKAGE_URL"
2373 # Let the site file select an alternate cache file if it wants to.
2374 # Prefer an explicitly selected file to automatically selected ones.
2377 if test -n "$CONFIG_SITE"; then
2378 # We do not want a PATH search for config.site.
2379 case $CONFIG_SITE in #((
2380 -*) ac_site_file1=./$CONFIG_SITE;;
2381 */*) ac_site_file1=$CONFIG_SITE;;
2382 *) ac_site_file1=./$CONFIG_SITE;;
2384 elif test "x$prefix" != xNONE; then
2385 ac_site_file1=$prefix/share/config.site
2386 ac_site_file2=$prefix/etc/config.site
2388 ac_site_file1=$ac_default_prefix/share/config.site
2389 ac_site_file2=$ac_default_prefix/etc/config.site
2391 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2393 test "x$ac_site_file" = xNONE && continue
2394 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2396 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2397 sed 's/^/| /' "$ac_site_file" >&5
2399 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 as_fn_error $? "failed to load site script $ac_site_file
2402 See \`config.log' for more details" "$LINENO" 5; }
2406 if test -r "$cache_file"; then
2407 # Some versions of bash will fail to source /dev/null (special files
2408 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2409 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2411 $as_echo "$as_me: loading cache $cache_file" >&6;}
2413 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2414 *) . "./$cache_file";;
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2419 $as_echo "$as_me: creating cache $cache_file" >&6;}
2423 # Check that the precious variables saved in the cache have kept the same
2425 ac_cache_corrupted=false
2426 for ac_var in $ac_precious_vars; do
2427 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2428 eval ac_new_set=\$ac_env_${ac_var}_set
2429 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2430 eval ac_new_val=\$ac_env_${ac_var}_value
2431 case $ac_old_set,$ac_new_set in
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2438 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2439 ac_cache_corrupted=: ;;
2442 if test "x$ac_old_val" != "x$ac_new_val"; then
2443 # differences in whitespace do not lead to failure.
2444 ac_old_val_w=`echo x $ac_old_val`
2445 ac_new_val_w=`echo x $ac_new_val`
2446 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2448 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2449 ac_cache_corrupted=:
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2452 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2453 eval $ac_var=\$ac_old_val
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2456 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2458 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2461 # Pass precious variables to config.status.
2462 if test "$ac_new_set" = set; then
2464 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2465 *) ac_arg=$ac_var=$ac_new_val ;;
2467 case " $ac_configure_args " in
2468 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2469 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2473 if $ac_cache_corrupted; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2477 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2478 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2480 ## -------------------- ##
2481 ## Main body of script. ##
2482 ## -------------------- ##
2485 ac_cpp='$CPP $CPPFLAGS'
2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2491 am__api_version='1.14'
2494 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2495 if test -f "$ac_dir/install-sh"; then
2497 ac_install_sh="$ac_aux_dir/install-sh -c"
2499 elif test -f "$ac_dir/install.sh"; then
2501 ac_install_sh="$ac_aux_dir/install.sh -c"
2503 elif test -f "$ac_dir/shtool"; then
2505 ac_install_sh="$ac_aux_dir/shtool install -c"
2509 if test -z "$ac_aux_dir"; then
2510 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2513 # These three variables are undocumented and unsupported,
2514 # and are intended to be withdrawn in a future Autoconf release.
2515 # They can cause serious problems if a builder's source tree is in a directory
2516 # whose full name contains unusual characters.
2517 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2518 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2519 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2522 # Find a good install program. We prefer a C program (faster),
2523 # so one script is as good as another. But avoid the broken or
2524 # incompatible versions:
2525 # SysV /etc/install, /usr/sbin/install
2526 # SunOS /usr/etc/install
2527 # IRIX /sbin/install
2529 # AmigaOS /C/install, which installs bootblocks on floppy discs
2530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2533 # OS/2's system install, which has a completely different semantic
2534 # ./install, which can be erroneously created by make from ./install.sh.
2535 # Reject install programs that cannot install multiple files.
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2537 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2538 if test -z "$INSTALL"; then
2539 if ${ac_cv_path_install+:} false; then :
2540 $as_echo_n "(cached) " >&6
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 # Account for people who put trailing slashes in PATH elements.
2548 case $as_dir/ in #((
2549 ./ | .// | /[cC]/* | \
2550 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2551 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2554 # OSF1 and SCO ODT 3.0 have their own names for install.
2555 # Don't use installbsd from OSF since it installs stuff as root
2557 for ac_prog in ginstall scoinst install; do
2558 for ac_exec_ext in '' $ac_executable_extensions; do
2559 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2560 if test $ac_prog = install &&
2561 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2562 # AIX install. It has an incompatible calling convention.
2564 elif test $ac_prog = install &&
2565 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2566 # program-specific install script used by HP pwplus--don't use.
2569 rm -rf conftest.one conftest.two conftest.dir
2570 echo one > conftest.one
2571 echo two > conftest.two
2573 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2574 test -s conftest.one && test -s conftest.two &&
2575 test -s conftest.dir/conftest.one &&
2576 test -s conftest.dir/conftest.two
2578 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2591 rm -rf conftest.one conftest.two conftest.dir
2594 if test "${ac_cv_path_install+set}" = set; then
2595 INSTALL=$ac_cv_path_install
2597 # As a last resort, use the slow shell script. Don't cache a
2598 # value for INSTALL within a source directory, because that will
2599 # break other packages using the cache if that directory is
2600 # removed, or if the value is a relative name.
2601 INSTALL=$ac_install_sh
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2605 $as_echo "$INSTALL" >&6; }
2607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2608 # It thinks the first close brace ends the variable substitution.
2609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2613 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2616 $as_echo_n "checking whether build environment is sane... " >&6; }
2617 # Reject unsafe characters in $srcdir or the absolute working directory
2618 # name. Accept space and tab only in the latter.
2622 *[\\\"\#\$\&\'\`$am_lf]*)
2623 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2626 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2627 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2630 # Do 'set' in a subshell so we don't clobber the current shell's
2631 # arguments. Must try -L first in case configure is actually a
2632 # symlink; some systems play weird games with the mod time of symlinks
2633 # (eg FreeBSD returns the mod time of the symlink's containing
2637 for am_try in 1 2; do
2638 echo "timestamp, slept: $am_has_slept" > conftest.file
2639 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2640 if test "$*" = "X"; then
2642 set X `ls -t "$srcdir/configure" conftest.file`
2644 if test "$*" != "X $srcdir/configure conftest.file" \
2645 && test "$*" != "X conftest.file $srcdir/configure"; then
2647 # If neither matched, then we have a broken ls. This can happen
2648 # if, for instance, CONFIG_SHELL is bash and it inherits a
2649 # broken ls alias from the environment. This has actually
2650 # happened. Such a system could not be considered "sane".
2651 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2652 alias in your environment" "$LINENO" 5
2654 if test "$2" = conftest.file || test $am_try -eq 2; then
2661 test "$2" = conftest.file
2667 as_fn_error $? "newly created file is older than distributed files!
2668 Check your system clock" "$LINENO" 5
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2672 # If we didn't sleep, we still need to ensure time stamps of config.status and
2673 # generated files are strictly newer.
2675 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2682 test "$program_prefix" != NONE &&
2683 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2684 # Use a double $ so make ignores it.
2685 test "$program_suffix" != NONE &&
2686 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2687 # Double any \ or $.
2688 # By default was `s,x,x', remove it if useless.
2689 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2690 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2692 # expand $ac_aux_dir to an absolute path
2693 am_aux_dir=`cd $ac_aux_dir && pwd`
2695 if test x"${MISSING+set}" != xset; then
2698 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2700 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2703 # Use eval to expand $SHELL
2704 if eval "$MISSING --is-lightweight"; then
2705 am_missing_run="$MISSING "
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2709 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2712 if test x"${install_sh}" != xset; then
2715 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2717 install_sh="\${SHELL} $am_aux_dir/install-sh"
2721 # Installed binaries are usually stripped using 'strip' when the user
2722 # run "make install-strip". However 'strip' might not be the right
2723 # tool to use in cross-compilation environments, therefore Automake
2724 # will honor the 'STRIP' environment variable to overrule this program.
2725 if test "$cross_compiling" != no; then
2726 if test -n "$ac_tool_prefix"; then
2727 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2728 set dummy ${ac_tool_prefix}strip; ac_word=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if ${ac_cv_prog_STRIP+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 if test -n "$STRIP"; then
2735 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir=.
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2744 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 STRIP=$ac_cv_prog_STRIP
2755 if test -n "$STRIP"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2757 $as_echo "$STRIP" >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2765 if test -z "$ac_cv_prog_STRIP"; then
2767 # Extract the first word of "strip", so it can be a program name with args.
2768 set dummy strip; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$ac_ct_STRIP"; then
2775 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_ac_ct_STRIP="strip"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2795 if test -n "$ac_ct_STRIP"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2797 $as_echo "$ac_ct_STRIP" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2803 if test "x$ac_ct_STRIP" = x; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2810 ac_tool_warned=yes ;;
2815 STRIP="$ac_cv_prog_STRIP"
2819 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2822 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2823 if test -z "$MKDIR_P"; then
2824 if ${ac_cv_path_mkdir+:} false; then :
2825 $as_echo_n "(cached) " >&6
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2831 test -z "$as_dir" && as_dir=.
2832 for ac_prog in mkdir gmkdir; do
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2835 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2836 'mkdir (GNU coreutils) '* | \
2837 'mkdir (coreutils) '* | \
2838 'mkdir (fileutils) '4.1*)
2839 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2849 test -d ./--version && rmdir ./--version
2850 if test "${ac_cv_path_mkdir+set}" = set; then
2851 MKDIR_P="$ac_cv_path_mkdir -p"
2853 # As a last resort, use the slow shell script. Don't cache a
2854 # value for MKDIR_P within a source directory, because that will
2855 # break other packages using the cache if that directory is
2856 # removed, or if the value is a relative name.
2857 MKDIR_P="$ac_install_sh -d"
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2861 $as_echo "$MKDIR_P" >&6; }
2863 for ac_prog in gawk mawk nawk awk
2865 # Extract the first word of "$ac_prog", so it can be a program name with args.
2866 set dummy $ac_prog; ac_word=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if ${ac_cv_prog_AWK+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$AWK"; then
2873 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882 ac_cv_prog_AWK="$ac_prog"
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 if test -n "$AWK"; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2895 $as_echo "$AWK" >&6; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2902 test -n "$AWK" && break
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2906 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2908 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2909 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2910 $as_echo_n "(cached) " >&6
2912 cat >conftest.make <<\_ACEOF
2915 @echo '@@@%%%=$(MAKE)=@@@%%%'
2917 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2918 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2920 eval ac_cv_prog_make_${ac_make}_set=yes;;
2922 eval ac_cv_prog_make_${ac_make}_set=no;;
2926 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2928 $as_echo "yes" >&6; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2933 SET_MAKE="MAKE=${MAKE-make}"
2936 rm -rf .tst 2>/dev/null
2937 mkdir .tst 2>/dev/null
2938 if test -d .tst; then
2943 rmdir .tst 2>/dev/null
2945 # Check whether --enable-silent-rules was given.
2946 if test "${enable_silent_rules+set}" = set; then :
2947 enableval=$enable_silent_rules;
2950 case $enable_silent_rules in # (((
2951 yes) AM_DEFAULT_VERBOSITY=0;;
2952 no) AM_DEFAULT_VERBOSITY=1;;
2953 *) AM_DEFAULT_VERBOSITY=1;;
2955 am_make=${MAKE-make}
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2957 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2958 if ${am_cv_make_support_nested_variables+:} false; then :
2959 $as_echo_n "(cached) " >&6
2961 if $as_echo 'TRUE=$(BAR$(V))
2967 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2968 am_cv_make_support_nested_variables=yes
2970 am_cv_make_support_nested_variables=no
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2974 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2975 if test $am_cv_make_support_nested_variables = yes; then
2977 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2979 AM_V=$AM_DEFAULT_VERBOSITY
2980 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2984 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2985 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2986 # is not polluted with repeated "-I."
2987 am__isrc=' -I$(srcdir)'
2988 # test to see if srcdir already configured
2989 if test -f $srcdir/config.status; then
2990 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2994 # test whether we have cygpath
2995 if test -z "$CYGPATH_W"; then
2996 if (cygpath --version) >/dev/null 2>/dev/null; then
2997 CYGPATH_W='cygpath -w'
3004 # Define the identity of the package.
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE "$PACKAGE"
3014 cat >>confdefs.h <<_ACEOF
3015 #define VERSION "$VERSION"
3018 # Some tools Automake needs.
3020 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3023 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3026 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3029 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3032 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3034 # For better backward compatibility. To be removed once Automake 1.9.x
3035 # dies out for good. For more background, see:
3036 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3037 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3038 mkdir_p='$(MKDIR_P)'
3040 # We need awk for the "check" target. The system "awk" is bad on
3042 # Always define AMTAR for backward compatibility. Yes, it's still used
3043 # in the wild :-( We should find a proper way to deprecate it ...
3047 # We'll loop over all known methods to create a tar archive until one works.
3048 _am_tools='gnutar pax cpio none'
3050 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3057 # POSIX will say in a future version that running "rm -f" with no argument
3058 # is OK; and we want to be able to make that assumption in our Makefile
3059 # recipes. So use an aggressive probe to check that the usage we want is
3060 # actually supported "in the wild" to an acceptable degree.
3061 # See automake bug#10828.
3062 # To make any issue more visible, cause the running configure to be aborted
3063 # by default if the 'rm' program in use doesn't match our expectations; the
3064 # user can still override this though.
3065 if rm -f && rm -fr && rm -rf; then : OK; else
3069 Your 'rm' program seems unable to run without file operands specified
3070 on the command line, even when the '-f' option is present. This is contrary
3071 to the behaviour of most rm programs out there, and not conforming with
3072 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3074 Please tell bug-automake@gnu.org about your system, including the value
3075 of your $PATH and any error possibly output before this message. This
3076 can help us improve future automake versions.
3079 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3080 echo 'Configuration will proceed anyway, since you have set the' >&2
3081 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3085 Aborting the configuration process, to ensure you take notice of the issue.
3087 You can download and install GNU coreutils to get an 'rm' implementation
3088 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3090 If you want to complete the configuration process using your problematic
3091 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3092 to "yes", and re-run configure.
3095 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3099 ac_config_files="$ac_config_files Makefile"
3102 ac_config_headers="$ac_config_headers config.h"
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3110 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3115 macro_version='2.4.2'
3116 macro_revision='1.3337'
3130 ltmain="$ac_aux_dir/ltmain.sh"
3132 # Make sure we can run config.sub.
3133 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3134 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3137 $as_echo_n "checking build system type... " >&6; }
3138 if ${ac_cv_build+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 ac_build_alias=$build_alias
3142 test "x$ac_build_alias" = x &&
3143 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3144 test "x$ac_build_alias" = x &&
3145 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3146 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3147 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3151 $as_echo "$ac_cv_build" >&6; }
3152 case $ac_cv_build in
3154 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3157 ac_save_IFS=$IFS; IFS='-'
3163 # Remember, the first character of IFS is used to create $*,
3164 # except with old shells:
3167 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3171 $as_echo_n "checking host system type... " >&6; }
3172 if ${ac_cv_host+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 if test "x$host_alias" = x; then
3176 ac_cv_host=$ac_cv_build
3178 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3179 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3184 $as_echo "$ac_cv_host" >&6; }
3187 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3190 ac_save_IFS=$IFS; IFS='-'
3196 # Remember, the first character of IFS is used to create $*,
3197 # except with old shells:
3200 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3203 # Backslashify metacharacters that are still active within
3204 # double-quoted strings.
3205 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3207 # Same as above, but do not quote variable references.
3208 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3210 # Sed substitution to delay expansion of an escaped shell variable in a
3211 # double_quote_subst'ed string.
3212 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3214 # Sed substitution to delay expansion of an escaped single quote.
3215 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3217 # Sed substitution to avoid accidental globbing in evaled expressions
3218 no_glob_subst='s/\*/\\\*/g'
3220 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3221 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3222 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3225 $as_echo_n "checking how to print strings... " >&6; }
3226 # Test print first, because it will be a builtin if present.
3227 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3228 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3230 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3233 # Use this function as a fallback that always works.
3234 func_fallback_echo ()
3236 eval 'cat <<_LTECHO_EOF
3240 ECHO='func_fallback_echo'
3243 # func_echo_all arg...
3244 # Invoke $ECHO with all args, space-separated.
3251 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3252 $as_echo "printf" >&6; } ;;
3253 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3254 $as_echo "print -r" >&6; } ;;
3255 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3256 $as_echo "cat" >&6; } ;;
3272 DEPDIR="${am__leading_dot}deps"
3274 ac_config_commands="$ac_config_commands depfiles"
3277 am_make=${MAKE-make}
3278 cat > confinc << 'END'
3280 @echo this is the am__doit target
3283 # If we don't find an include directive, just comment out the code.
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3285 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3289 # First try GNU make style include.
3290 echo "include confinc" > confmf
3291 # Ignore all kinds of additional output from 'make'.
3292 case `$am_make -s -f confmf 2> /dev/null` in #(
3293 *the\ am__doit\ target*)
3299 # Now try BSD make style include.
3300 if test "$am__include" = "#"; then
3301 echo '.include "confinc"' > confmf
3302 case `$am_make -s -f confmf 2> /dev/null` in #(
3303 *the\ am__doit\ target*)
3304 am__include=.include
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3313 $as_echo "$_am_result" >&6; }
3314 rm -f confinc confmf
3316 # Check whether --enable-dependency-tracking was given.
3317 if test "${enable_dependency_tracking+set}" = set; then :
3318 enableval=$enable_dependency_tracking;
3321 if test "x$enable_dependency_tracking" != xno; then
3322 am_depcomp="$ac_aux_dir/depcomp"
3326 if test "x$enable_dependency_tracking" != xno; then
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if ${ac_cv_prog_CC+:} false; then :
3346 $as_echo_n "(cached) " >&6
3348 if test -n "$CC"; then
3349 ac_cv_prog_CC="$CC" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 if test -n "$CC"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3371 $as_echo "$CC" >&6; }
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3379 if test -z "$ac_cv_prog_CC"; then
3381 # Extract the first word of "gcc", so it can be a program name with args.
3382 set dummy gcc; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3386 $as_echo_n "(cached) " >&6
3388 if test -n "$ac_ct_CC"; then
3389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398 ac_cv_prog_ac_ct_CC="gcc"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3409 if test -n "$ac_ct_CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3411 $as_echo "$ac_ct_CC" >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3417 if test "x$ac_ct_CC" = x; then
3420 case $cross_compiling:$ac_tool_warned in
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3432 if test -z "$CC"; then
3433 if test -n "$ac_tool_prefix"; then
3434 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3435 set dummy ${ac_tool_prefix}cc; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_CC+:} false; then :
3439 $as_echo_n "(cached) " >&6
3441 if test -n "$CC"; then
3442 ac_cv_prog_CC="$CC" # Let the user override the test.
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 ac_cv_prog_CC="${ac_tool_prefix}cc"
3452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test -n "$CC"; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3464 $as_echo "$CC" >&6; }
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3473 if test -z "$CC"; then
3474 # Extract the first word of "cc", so it can be a program name with args.
3475 set dummy cc; ac_word=$2
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477 $as_echo_n "checking for $ac_word... " >&6; }
3478 if ${ac_cv_prog_CC+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 if test -n "$CC"; then
3482 ac_cv_prog_CC="$CC" # Let the user override the test.
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3493 ac_prog_rejected=yes
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 if test $ac_prog_rejected = yes; then
3505 # We found a bogon in the path, so make sure we never use it.
3506 set dummy $ac_cv_prog_CC
3508 if test $# != 0; then
3509 # We chose a different compiler from the bogus one.
3510 # However, it has the same basename, so the bogon will be chosen
3511 # first if we set CC to just the basename; use the full file name.
3513 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3519 if test -n "$CC"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 $as_echo "$CC" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3529 if test -z "$CC"; then
3530 if test -n "$ac_tool_prefix"; then
3531 for ac_prog in cl.exe
3533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3550 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3570 test -n "$CC" && break
3573 if test -z "$CC"; then
3575 for ac_prog in cl.exe
3577 # Extract the first word of "$ac_prog", so it can be a program name with args.
3578 set dummy $ac_prog; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_ac_ct_CC="$ac_prog"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3614 test -n "$ac_ct_CC" && break
3617 if test "x$ac_ct_CC" = x; then
3620 case $cross_compiling:$ac_tool_warned in
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3633 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "no acceptable C compiler found in \$PATH
3636 See \`config.log' for more details" "$LINENO" 5; }
3638 # Provide some information about the compiler.
3639 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3642 for ac_option in --version -v -V -qversion; do
3643 { { ac_try="$ac_compiler $ac_option >&5"
3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646 *) ac_try_echo=$ac_try;;
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
3650 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3652 if test -s conftest.err; then
3654 ... rest of stderr output deleted ...
3655 10q' conftest.err >conftest.er1
3656 cat conftest.er1 >&5
3658 rm -f conftest.er1 conftest.err
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3674 ac_clean_files_save=$ac_clean_files
3675 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3676 # Try to create an executable without -o first, disregard a.out.
3677 # It will help us diagnose broken compilers, and finding out an intuition
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3680 $as_echo_n "checking whether the C compiler works... " >&6; }
3681 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3683 # The possible output files:
3684 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3687 for ac_file in $ac_files
3690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3691 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3696 if { { ac_try="$ac_link_default"
3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703 (eval "$ac_link_default") 2>&5
3705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706 test $ac_status = 0; }; then :
3707 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3708 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3709 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3710 # so that the user can short-circuit this test for compilers unknown to
3712 for ac_file in $ac_files ''
3714 test -f "$ac_file" || continue
3716 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3719 # We found the default executable, but exeext='' is most
3723 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3725 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3727 # We set ac_cv_exeext here because the later test for it is not
3728 # safe: cross compilers may not add the suffix if given an `-o'
3729 # argument, so we may need to know it at that point already.
3730 # Even if this section looks crufty: it has the advantage of
3737 test "$ac_cv_exeext" = no && ac_cv_exeext=
3742 if test -z "$ac_file"; then :
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3745 $as_echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3750 as_fn_error 77 "C compiler cannot create executables
3751 See \`config.log' for more details" "$LINENO" 5; }
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3754 $as_echo "yes" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3757 $as_echo_n "checking for C compiler default output file name... " >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3759 $as_echo "$ac_file" >&6; }
3760 ac_exeext=$ac_cv_exeext
3762 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3763 ac_clean_files=$ac_clean_files_save
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3765 $as_echo_n "checking for suffix of executables... " >&6; }
3766 if { { ac_try="$ac_link"
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773 (eval "$ac_link") 2>&5
3775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776 test $ac_status = 0; }; then :
3777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3779 # work properly (i.e., refer to `conftest.exe'), while it won't with
3781 for ac_file in conftest.exe conftest conftest.*; do
3782 test -f "$ac_file" || continue
3784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3785 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3794 See \`config.log' for more details" "$LINENO" 5; }
3796 rm -f conftest conftest$ac_cv_exeext
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3798 $as_echo "$ac_cv_exeext" >&6; }
3800 rm -f conftest.$ac_ext
3801 EXEEXT=$ac_cv_exeext
3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3809 FILE *f = fopen ("conftest.out", "w");
3810 return ferror (f) || fclose (f) != 0;
3816 ac_clean_files="$ac_clean_files conftest.out"
3817 # Check that the compiler produces executables we can run. If not, either
3818 # the compiler is broken, or we cross compile.
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3820 $as_echo_n "checking whether we are cross compiling... " >&6; }
3821 if test "$cross_compiling" != yes; then
3822 { { ac_try="$ac_link"
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3828 $as_echo "$ac_try_echo"; } >&5
3829 (eval "$ac_link") 2>&5
3831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }
3833 if { ac_try='./conftest$ac_cv_exeext'
3834 { { case "(($ac_try" in
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840 (eval "$ac_try") 2>&5
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }; }; then
3846 if test "$cross_compiling" = maybe; then
3849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error $? "cannot run C compiled programs.
3852 If you meant to cross compile, use \`--host'.
3853 See \`config.log' for more details" "$LINENO" 5; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3858 $as_echo "$cross_compiling" >&6; }
3860 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3861 ac_clean_files=$ac_clean_files_save
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3863 $as_echo_n "checking for suffix of object files... " >&6; }
3864 if ${ac_cv_objext+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 rm -f conftest.o conftest.obj
3879 if { { ac_try="$ac_compile"
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compile") 2>&5
3888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3889 test $ac_status = 0; }; then :
3890 for ac_file in conftest.o conftest.obj conftest.*; do
3891 test -f "$ac_file" || continue;
3893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3894 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3899 $as_echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.$ac_ext >&5
3902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error $? "cannot compute suffix of object files: cannot compile
3905 See \`config.log' for more details" "$LINENO" 5; }
3907 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3910 $as_echo "$ac_cv_objext" >&6; }
3911 OBJEXT=$ac_cv_objext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3914 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3915 if ${ac_cv_c_compiler_gnu+:} false; then :
3916 $as_echo_n "(cached) " >&6
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3932 if ac_fn_c_try_compile "$LINENO"; then :
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3942 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3943 if test $ac_compiler_gnu = yes; then
3948 ac_test_CFLAGS=${CFLAGS+set}
3949 ac_save_CFLAGS=$CFLAGS
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3951 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3952 if ${ac_cv_prog_cc_g+:} false; then :
3953 $as_echo_n "(cached) " >&6
3955 ac_save_c_werror_flag=$ac_c_werror_flag
3956 ac_c_werror_flag=yes
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3970 if ac_fn_c_try_compile "$LINENO"; then :
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3985 if ac_fn_c_try_compile "$LINENO"; then :
3988 ac_c_werror_flag=$ac_save_c_werror_flag
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
4001 if ac_fn_c_try_compile "$LINENO"; then :
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009 ac_c_werror_flag=$ac_save_c_werror_flag
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4012 $as_echo "$ac_cv_prog_cc_g" >&6; }
4013 if test "$ac_test_CFLAGS" = set; then
4014 CFLAGS=$ac_save_CFLAGS
4015 elif test $ac_cv_prog_cc_g = yes; then
4016 if test "$GCC" = yes; then
4022 if test "$GCC" = yes; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4029 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4030 if ${ac_cv_prog_cc_c89+:} false; then :
4031 $as_echo_n "(cached) " >&6
4033 ac_cv_prog_cc_c89=no
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4040 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4041 struct buf { int x; };
4042 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4043 static char *e (p, i)
4049 static char *f (char * (*g) (char **, int), char **p, ...)
4054 s = g (p, va_arg (v,int));
4059 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4060 function prototypes and stuff, but not '\xHH' hex character constants.
4061 These don't provoke an error unfortunately, instead are silently treated
4062 as 'x'. The following induces an error, until -std is added to get
4063 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4064 array size at least. It's necessary to write '\x00'==0 to get something
4065 that's true only with -std. */
4066 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4068 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4069 inside strings and character constants. */
4071 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4073 int test (int i, double x);
4074 struct s1 {int (*f) (int a);};
4075 struct s2 {int (*f) (double a);};
4076 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4082 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4087 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4088 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4090 CC="$ac_save_CC $ac_arg"
4091 if ac_fn_c_try_compile "$LINENO"; then :
4092 ac_cv_prog_cc_c89=$ac_arg
4094 rm -f core conftest.err conftest.$ac_objext
4095 test "x$ac_cv_prog_cc_c89" != "xno" && break
4097 rm -f conftest.$ac_ext
4102 case "x$ac_cv_prog_cc_c89" in
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4105 $as_echo "none needed" >&6; } ;;
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4108 $as_echo "unsupported" >&6; } ;;
4110 CC="$CC $ac_cv_prog_cc_c89"
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4112 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4114 if test "x$ac_cv_prog_cc_c89" != xno; then :
4119 ac_cpp='$CPP $CPPFLAGS'
4120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125 ac_cpp='$CPP $CPPFLAGS'
4126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4130 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4131 if ${am_cv_prog_cc_c_o+:} false; then :
4132 $as_echo_n "(cached) " >&6
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4145 # Make sure it works both with $CC and with simple cc.
4146 # Following AC_PROG_CC_C_O, we do the test twice because some
4147 # compilers refuse to overwrite an existing .o file with -o,
4148 # though they will create one.
4149 am_cv_prog_cc_c_o=yes
4151 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4152 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } \
4156 && test -f conftest2.$ac_objext; then
4159 am_cv_prog_cc_c_o=no
4163 rm -f core conftest*
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4167 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4168 if test "$am_cv_prog_cc_c_o" != yes; then
4169 # Losing compiler, so override with the script.
4170 # FIXME: It is wrong to rewrite CC.
4171 # But if we don't then we get into trouble of one sort or another.
4172 # A longer-term fix would be to have automake use am__CC in this case,
4173 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4174 CC="$am_aux_dir/compile $CC"
4177 ac_cpp='$CPP $CPPFLAGS'
4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4183 depcc="$CC" am_compiler_list=
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4186 $as_echo_n "checking dependency style of $depcc... " >&6; }
4187 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4191 # We make a subdir and do the tests there. Otherwise we can end up
4192 # making bogus files that we don't know about and never remove. For
4193 # instance it was reported that on HP-UX the gcc test will end up
4194 # making a dummy file named 'D' -- because '-MD' means "put the output
4198 # Copy depcomp to subdir because otherwise we won't find it if we're
4199 # using a relative directory.
4200 cp "$am_depcomp" conftest.dir
4202 # We will build objects and dependencies in a subdirectory because
4203 # it helps to detect inapplicable dependency modes. For instance
4204 # both Tru64's cc and ICC support -MD to output dependencies as a
4205 # side effect of compilation, but ICC will put the dependencies in
4206 # the current directory while Tru64 will put them in the object
4210 am_cv_CC_dependencies_compiler_type=none
4211 if test "$am_compiler_list" = ""; then
4212 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4215 case " $depcc " in #(
4216 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4219 for depmode in $am_compiler_list; do
4220 # Setup a source with many dependencies, because some compilers
4221 # like to wrap large dependency lists on column 80 (with \), and
4222 # we should not choose a depcomp mode which is confused by this.
4224 # We need to recreate these files for each test, as the compiler may
4225 # overwrite some of them when testing with obscure command lines.
4226 # This happens at least with the AIX C compiler.
4228 for i in 1 2 3 4 5 6; do
4229 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4230 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4231 # Solaris 10 /bin/sh.
4232 echo '/* dummy */' > sub/conftst$i.h
4234 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4236 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4237 # mode. It turns out that the SunPro C++ compiler does not properly
4238 # handle '-M -o', and we need to detect this. Also, some Intel
4239 # versions had trouble with output in subdirs.
4240 am__obj=sub/conftest.${OBJEXT-o}
4241 am__minus_obj="-o $am__obj"
4244 # This depmode causes a compiler race in universal mode.
4245 test "$am__universal" = false || continue
4248 # After this tag, mechanisms are not by side-effect, so they'll
4249 # only be used when explicitly requested.
4250 if test "x$enable_dependency_tracking" = xyes; then
4256 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4257 # This compiler won't grok '-c -o', but also, the minuso test has
4258 # not run yet. These depmodes are late enough in the game, and
4259 # so weak that their functioning should not be impacted.
4260 am__obj=conftest.${OBJEXT-o}
4265 if depmode=$depmode \
4266 source=sub/conftest.c object=$am__obj \
4267 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4268 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4269 >/dev/null 2>conftest.err &&
4270 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4271 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4272 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4273 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4274 # icc doesn't choke on unknown options, it will just issue warnings
4275 # or remarks (even with -Werror). So we grep stderr for any message
4276 # that says an option was ignored or not supported.
4277 # When given -MP, icc 7.0 and 7.1 complain thusly:
4278 # icc: Command line warning: ignoring option '-M'; no argument required
4279 # The diagnosis changed in icc 8.0:
4280 # icc: Command line remark: option '-MP' not supported
4281 if (grep 'ignoring option' conftest.err ||
4282 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4283 am_cv_CC_dependencies_compiler_type=$depmode
4292 am_cv_CC_dependencies_compiler_type=none
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4297 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4298 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4301 test "x$enable_dependency_tracking" != xno \
4302 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4304 am__fastdepCC_FALSE='#'
4306 am__fastdepCC_TRUE='#'
4307 am__fastdepCC_FALSE=
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4312 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4313 if ${ac_cv_path_SED+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4317 for ac_i in 1 2 3 4 5 6 7; do
4318 ac_script="$ac_script$as_nl$ac_script"
4320 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4321 { ac_script=; unset ac_script;}
4322 if test -z "$SED"; then
4323 ac_path_SED_found=false
4324 # Loop through the user's path and test for each of PROGNAME-LIST
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir=.
4330 for ac_prog in sed gsed; do
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4333 as_fn_executable_p "$ac_path_SED" || continue
4334 # Check for GNU ac_path_SED and select it if it is found.
4335 # Check for GNU $ac_path_SED
4336 case `"$ac_path_SED" --version 2>&1` in
4338 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4341 $as_echo_n 0123456789 >"conftest.in"
4344 cat "conftest.in" "conftest.in" >"conftest.tmp"
4345 mv "conftest.tmp" "conftest.in"
4346 cp "conftest.in" "conftest.nl"
4347 $as_echo '' >> "conftest.nl"
4348 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4349 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4350 as_fn_arith $ac_count + 1 && ac_count=$as_val
4351 if test $ac_count -gt ${ac_path_SED_max-0}; then
4352 # Best one so far, save it but keep looking for a better one
4353 ac_cv_path_SED="$ac_path_SED"
4354 ac_path_SED_max=$ac_count
4356 # 10*(2^10) chars as input seems more than enough
4357 test $ac_count -gt 10 && break
4359 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4362 $ac_path_SED_found && break 3
4367 if test -z "$ac_cv_path_SED"; then
4368 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4376 $as_echo "$ac_cv_path_SED" >&6; }
4377 SED="$ac_cv_path_SED"
4380 test -z "$SED" && SED=sed
4381 Xsed="$SED -e 1s/^X//"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4394 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4395 if ${ac_cv_path_GREP+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 if test -z "$GREP"; then
4399 ac_path_GREP_found=false
4400 # Loop through the user's path and test for each of PROGNAME-LIST
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4405 test -z "$as_dir" && as_dir=.
4406 for ac_prog in grep ggrep; do
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4409 as_fn_executable_p "$ac_path_GREP" || continue
4410 # Check for GNU ac_path_GREP and select it if it is found.
4411 # Check for GNU $ac_path_GREP
4412 case `"$ac_path_GREP" --version 2>&1` in
4414 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4417 $as_echo_n 0123456789 >"conftest.in"
4420 cat "conftest.in" "conftest.in" >"conftest.tmp"
4421 mv "conftest.tmp" "conftest.in"
4422 cp "conftest.in" "conftest.nl"
4423 $as_echo 'GREP' >> "conftest.nl"
4424 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4425 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4426 as_fn_arith $ac_count + 1 && ac_count=$as_val
4427 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4428 # Best one so far, save it but keep looking for a better one
4429 ac_cv_path_GREP="$ac_path_GREP"
4430 ac_path_GREP_max=$ac_count
4432 # 10*(2^10) chars as input seems more than enough
4433 test $ac_count -gt 10 && break
4435 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4438 $ac_path_GREP_found && break 3
4443 if test -z "$ac_cv_path_GREP"; then
4444 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4447 ac_cv_path_GREP=$GREP
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4452 $as_echo "$ac_cv_path_GREP" >&6; }
4453 GREP="$ac_cv_path_GREP"
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4457 $as_echo_n "checking for egrep... " >&6; }
4458 if ${ac_cv_path_EGREP+:} false; then :
4459 $as_echo_n "(cached) " >&6
4461 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4462 then ac_cv_path_EGREP="$GREP -E"
4464 if test -z "$EGREP"; then
4465 ac_path_EGREP_found=false
4466 # Loop through the user's path and test for each of PROGNAME-LIST
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4471 test -z "$as_dir" && as_dir=.
4472 for ac_prog in egrep; do
4473 for ac_exec_ext in '' $ac_executable_extensions; do
4474 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4475 as_fn_executable_p "$ac_path_EGREP" || continue
4476 # Check for GNU ac_path_EGREP and select it if it is found.
4477 # Check for GNU $ac_path_EGREP
4478 case `"$ac_path_EGREP" --version 2>&1` in
4480 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4483 $as_echo_n 0123456789 >"conftest.in"
4486 cat "conftest.in" "conftest.in" >"conftest.tmp"
4487 mv "conftest.tmp" "conftest.in"
4488 cp "conftest.in" "conftest.nl"
4489 $as_echo 'EGREP' >> "conftest.nl"
4490 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4492 as_fn_arith $ac_count + 1 && ac_count=$as_val
4493 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4494 # Best one so far, save it but keep looking for a better one
4495 ac_cv_path_EGREP="$ac_path_EGREP"
4496 ac_path_EGREP_max=$ac_count
4498 # 10*(2^10) chars as input seems more than enough
4499 test $ac_count -gt 10 && break
4501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4504 $ac_path_EGREP_found && break 3
4509 if test -z "$ac_cv_path_EGREP"; then
4510 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4513 ac_cv_path_EGREP=$EGREP
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4519 $as_echo "$ac_cv_path_EGREP" >&6; }
4520 EGREP="$ac_cv_path_EGREP"
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4524 $as_echo_n "checking for fgrep... " >&6; }
4525 if ${ac_cv_path_FGREP+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4529 then ac_cv_path_FGREP="$GREP -F"
4531 if test -z "$FGREP"; then
4532 ac_path_FGREP_found=false
4533 # Loop through the user's path and test for each of PROGNAME-LIST
4534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4538 test -z "$as_dir" && as_dir=.
4539 for ac_prog in fgrep; do
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4542 as_fn_executable_p "$ac_path_FGREP" || continue
4543 # Check for GNU ac_path_FGREP and select it if it is found.
4544 # Check for GNU $ac_path_FGREP
4545 case `"$ac_path_FGREP" --version 2>&1` in
4547 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4550 $as_echo_n 0123456789 >"conftest.in"
4553 cat "conftest.in" "conftest.in" >"conftest.tmp"
4554 mv "conftest.tmp" "conftest.in"
4555 cp "conftest.in" "conftest.nl"
4556 $as_echo 'FGREP' >> "conftest.nl"
4557 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4558 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4559 as_fn_arith $ac_count + 1 && ac_count=$as_val
4560 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4561 # Best one so far, save it but keep looking for a better one
4562 ac_cv_path_FGREP="$ac_path_FGREP"
4563 ac_path_FGREP_max=$ac_count
4565 # 10*(2^10) chars as input seems more than enough
4566 test $ac_count -gt 10 && break
4568 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4571 $ac_path_FGREP_found && break 3
4576 if test -z "$ac_cv_path_FGREP"; then
4577 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4580 ac_cv_path_FGREP=$FGREP
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4586 $as_echo "$ac_cv_path_FGREP" >&6; }
4587 FGREP="$ac_cv_path_FGREP"
4590 test -z "$GREP" && GREP=grep
4610 # Check whether --with-gnu-ld was given.
4611 if test "${with_gnu_ld+set}" = set; then :
4612 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4618 if test "$GCC" = yes; then
4619 # Check if gcc -print-prog-name=ld gives a path.
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4621 $as_echo_n "checking for ld used by $CC... " >&6; }
4624 # gcc leaves a trailing carriage return which upsets mingw
4625 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4627 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4630 # Accept absolute paths.
4632 re_direlt='/[^/][^/]*/\.\./'
4633 # Canonicalize the pathname of ld
4634 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4635 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4636 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4638 test -z "$LD" && LD="$ac_prog"
4641 # If it fails, then pretend we aren't using GCC.
4645 # If it is relative, then search for the first ld in PATH.
4649 elif test "$with_gnu_ld" = yes; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4651 $as_echo_n "checking for GNU ld... " >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4654 $as_echo_n "checking for non-GNU ld... " >&6; }
4656 if ${lt_cv_path_LD+:} false; then :
4657 $as_echo_n "(cached) " >&6
4659 if test -z "$LD"; then
4660 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4661 for ac_dir in $PATH; do
4663 test -z "$ac_dir" && ac_dir=.
4664 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4665 lt_cv_path_LD="$ac_dir/$ac_prog"
4666 # Check to see if the program is GNU ld. I'd rather use --version,
4667 # but apparently some variants of GNU ld only accept -v.
4668 # Break only if it was the GNU/non-GNU ld that we prefer.
4669 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4670 *GNU* | *'with BFD'*)
4671 test "$with_gnu_ld" != no && break
4674 test "$with_gnu_ld" != yes && break
4681 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4686 if test -n "$LD"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4688 $as_echo "$LD" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4693 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4695 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4696 if ${lt_cv_prog_gnu_ld+:} false; then :
4697 $as_echo_n "(cached) " >&6
4699 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4700 case `$LD -v 2>&1 </dev/null` in
4701 *GNU* | *'with BFD'*)
4702 lt_cv_prog_gnu_ld=yes
4705 lt_cv_prog_gnu_ld=no
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4710 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4711 with_gnu_ld=$lt_cv_prog_gnu_ld
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4722 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4723 if ${lt_cv_path_NM+:} false; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$NM"; then
4727 # Let the user override the test.
4730 lt_nm_to_check="${ac_tool_prefix}nm"
4731 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4732 lt_nm_to_check="$lt_nm_to_check nm"
4734 for lt_tmp_nm in $lt_nm_to_check; do
4735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4736 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4738 test -z "$ac_dir" && ac_dir=.
4739 tmp_nm="$ac_dir/$lt_tmp_nm"
4740 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4741 # Check to see if the nm accepts a BSD-compat flag.
4742 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4743 # nm: unknown option "B" ignored
4744 # Tru64's nm complains that /dev/null is an invalid object file
4745 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4746 */dev/null* | *'Invalid file or object type'*)
4747 lt_cv_path_NM="$tmp_nm -B"
4751 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4753 lt_cv_path_NM="$tmp_nm -p"
4757 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4758 continue # so that we can try to find one that supports BSD flags
4767 : ${lt_cv_path_NM=no}
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4771 $as_echo "$lt_cv_path_NM" >&6; }
4772 if test "$lt_cv_path_NM" != "no"; then
4775 # Didn't find any BSD compatible name lister, look for dumpbin.
4776 if test -n "$DUMPBIN"; then :
4777 # Let the user override the test.
4779 if test -n "$ac_tool_prefix"; then
4780 for ac_prog in dumpbin "link -dump"
4782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_DUMPBIN+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$DUMPBIN"; then
4790 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 DUMPBIN=$ac_cv_prog_DUMPBIN
4810 if test -n "$DUMPBIN"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4812 $as_echo "$DUMPBIN" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$DUMPBIN" && break
4822 if test -z "$DUMPBIN"; then
4823 ac_ct_DUMPBIN=$DUMPBIN
4824 for ac_prog in dumpbin "link -dump"
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$ac_ct_DUMPBIN"; then
4834 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4854 if test -n "$ac_ct_DUMPBIN"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4856 $as_echo "$ac_ct_DUMPBIN" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$ac_ct_DUMPBIN" && break
4866 if test "x$ac_ct_DUMPBIN" = x; then
4869 case $cross_compiling:$ac_tool_warned in
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4873 ac_tool_warned=yes ;;
4875 DUMPBIN=$ac_ct_DUMPBIN
4879 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4881 DUMPBIN="$DUMPBIN -symbols"
4889 if test "$DUMPBIN" != ":"; then
4893 test -z "$NM" && NM=nm
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4901 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4902 if ${lt_cv_nm_interface+:} false; then :
4903 $as_echo_n "(cached) " >&6
4905 lt_cv_nm_interface="BSD nm"
4906 echo "int some_variable = 0;" > conftest.$ac_ext
4907 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4908 (eval "$ac_compile" 2>conftest.err)
4909 cat conftest.err >&5
4910 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4911 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4912 cat conftest.err >&5
4913 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4914 cat conftest.out >&5
4915 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4916 lt_cv_nm_interface="MS dumpbin"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4921 $as_echo "$lt_cv_nm_interface" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4924 $as_echo_n "checking whether ln -s works... " >&6; }
4926 if test "$LN_S" = "ln -s"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4928 $as_echo "yes" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4931 $as_echo "no, using $LN_S" >&6; }
4934 # find the maximum length of command line arguments
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4936 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4937 if ${lt_cv_sys_max_cmd_len+:} false; then :
4938 $as_echo_n "(cached) " >&6
4945 # On DJGPP, this test can blow up pretty badly due to problems in libc
4946 # (any single argument exceeding 2000 bytes causes a buffer overrun
4947 # during glob expansion). Even if it were fixed, the result of this
4948 # check would be larger than it should be.
4949 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4953 # Under GNU Hurd, this test is not required because there is
4954 # no limit to the length of command line arguments.
4955 # Libtool will interpret -1 as no limit whatsoever
4956 lt_cv_sys_max_cmd_len=-1;
4959 cygwin* | mingw* | cegcc*)
4960 # On Win9x/ME, this test blows up -- it succeeds, but takes
4961 # about 5 minutes as the teststring grows exponentially.
4962 # Worse, since 9x/ME are not pre-emptively multitasking,
4963 # you end up with a "frozen" computer, even though with patience
4964 # the test eventually succeeds (with a max line length of 256k).
4965 # Instead, let's just punt: use the minimum linelength reported by
4966 # all of the supported platforms: 8192 (on NT/2K/XP).
4967 lt_cv_sys_max_cmd_len=8192;
4971 # On MiNT this can take a long time and run out of memory.
4972 lt_cv_sys_max_cmd_len=8192;
4976 # On AmigaOS with pdksh, this test takes hours, literally.
4977 # So we just punt and use a minimum line length of 8192.
4978 lt_cv_sys_max_cmd_len=8192;
4981 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4982 # This has been around since 386BSD, at least. Likely further.
4983 if test -x /sbin/sysctl; then
4984 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4985 elif test -x /usr/sbin/sysctl; then
4986 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4988 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4990 # And add a safety zone
4991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4992 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4996 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4997 lt_cv_sys_max_cmd_len=196608
5001 # The test takes a long time on OS/2.
5002 lt_cv_sys_max_cmd_len=8192
5006 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5007 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5008 # nice to cause kernel panics so lets avoid the loop below.
5009 # First set a reasonable default.
5010 lt_cv_sys_max_cmd_len=16384
5012 if test -x /sbin/sysconfig; then
5013 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5014 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5019 lt_cv_sys_max_cmd_len=102400
5021 sysv5* | sco5v6* | sysv4.2uw2*)
5022 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5023 if test -n "$kargmax"; then
5024 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5026 lt_cv_sys_max_cmd_len=32768
5030 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5031 if test -n "$lt_cv_sys_max_cmd_len"; then
5032 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5033 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5035 # Make teststring a little bigger before we do anything with it.
5036 # a 1K string should be a reasonable start.
5037 for i in 1 2 3 4 5 6 7 8 ; do
5038 teststring=$teststring$teststring
5040 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5041 # If test is not a shell built-in, we'll probably end up computing a
5042 # maximum length that is only half of the actual maximum length, but
5044 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5045 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5046 test $i != 17 # 1/2 MB should be enough
5049 teststring=$teststring$teststring
5051 # Only check the string length outside the loop.
5052 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5054 # Add a significant safety factor because C++ compilers can tack on
5055 # massive amounts of additional arguments before passing them to the
5056 # linker. It appears as though 1/2 is a usable value.
5057 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5064 if test -n $lt_cv_sys_max_cmd_len ; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5066 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5069 $as_echo "none" >&6; }
5071 max_cmd_len=$lt_cv_sys_max_cmd_len
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5083 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5084 # Try some XSI features
5087 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5089 && eval 'test $(( 1 + 1 )) -eq 2 \
5090 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5093 $as_echo "$xsi_shell" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5097 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5099 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5101 && lt_shell_append=yes
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5103 $as_echo "$lt_shell_append" >&6; }
5106 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5116 # test EBCDIC or ASCII
5117 case `echo X|tr X '\101'` in
5118 A) # ASCII based system
5119 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5120 lt_SP2NL='tr \040 \012'
5121 lt_NL2SP='tr \015\012 \040\040'
5123 *) # EBCDIC based system
5124 lt_SP2NL='tr \100 \n'
5125 lt_NL2SP='tr \r\n \100\100'
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5138 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5139 if ${lt_cv_to_host_file_cmd+:} false; then :
5140 $as_echo_n "(cached) " >&6
5145 *-*-mingw* ) # actually msys
5146 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5149 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5151 * ) # otherwise, assume *nix
5152 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5158 *-*-mingw* ) # actually msys
5159 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5162 lt_cv_to_host_file_cmd=func_convert_file_noop
5164 * ) # otherwise, assume *nix
5165 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5169 * ) # unhandled hosts (and "normal" native builds)
5170 lt_cv_to_host_file_cmd=func_convert_file_noop
5176 to_host_file_cmd=$lt_cv_to_host_file_cmd
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5178 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5185 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5186 if ${lt_cv_to_tool_file_cmd+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 #assume ordinary cross tools, or native build.
5190 lt_cv_to_tool_file_cmd=func_convert_file_noop
5194 *-*-mingw* ) # actually msys
5195 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5203 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5205 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5212 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5213 if ${lt_cv_ld_reload_flag+:} false; then :
5214 $as_echo_n "(cached) " >&6
5216 lt_cv_ld_reload_flag='-r'
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5219 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5220 reload_flag=$lt_cv_ld_reload_flag
5221 case $reload_flag in
5223 *) reload_flag=" $reload_flag" ;;
5225 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5227 cygwin* | mingw* | pw32* | cegcc*)
5228 if test "$GCC" != yes; then
5233 if test "$GCC" = yes; then
5234 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5236 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5249 if test -n "$ac_tool_prefix"; then
5250 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5251 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_OBJDUMP+:} false; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -n "$OBJDUMP"; then
5258 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 OBJDUMP=$ac_cv_prog_OBJDUMP
5278 if test -n "$OBJDUMP"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5280 $as_echo "$OBJDUMP" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5288 if test -z "$ac_cv_prog_OBJDUMP"; then
5289 ac_ct_OBJDUMP=$OBJDUMP
5290 # Extract the first word of "objdump", so it can be a program name with args.
5291 set dummy objdump; ac_word=$2
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293 $as_echo_n "checking for $ac_word... " >&6; }
5294 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5295 $as_echo_n "(cached) " >&6
5297 if test -n "$ac_ct_OBJDUMP"; then
5298 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir=.
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5307 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5318 if test -n "$ac_ct_OBJDUMP"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5320 $as_echo "$ac_ct_OBJDUMP" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5326 if test "x$ac_ct_OBJDUMP" = x; then
5329 case $cross_compiling:$ac_tool_warned in
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5333 ac_tool_warned=yes ;;
5335 OBJDUMP=$ac_ct_OBJDUMP
5338 OBJDUMP="$ac_cv_prog_OBJDUMP"
5341 test -z "$OBJDUMP" && OBJDUMP=objdump
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5352 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5353 if ${lt_cv_deplibs_check_method+:} false; then :
5354 $as_echo_n "(cached) " >&6
5356 lt_cv_file_magic_cmd='$MAGIC_CMD'
5357 lt_cv_file_magic_test_file=
5358 lt_cv_deplibs_check_method='unknown'
5359 # Need to set the preceding variable on all platforms that support
5360 # interlibrary dependencies.
5361 # 'none' -- dependencies not supported.
5362 # `unknown' -- same as none, but documents that we really don't know.
5363 # 'pass_all' -- all dependencies passed with no checks.
5364 # 'test_compile' -- check by making test program.
5365 # 'file_magic [[regex]]' -- check by looking for files in library path
5366 # which responds to the $file_magic_cmd with a given extended regex.
5367 # If you have `file' or equivalent on your system and you're not sure
5368 # whether `pass_all' will *always* work, you probably want this one.
5372 lt_cv_deplibs_check_method=pass_all
5376 lt_cv_deplibs_check_method=pass_all
5380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5381 lt_cv_file_magic_cmd='/usr/bin/file -L'
5382 lt_cv_file_magic_test_file=/shlib/libc.so
5386 # func_win32_libid is a shell function defined in ltmain.sh
5387 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5388 lt_cv_file_magic_cmd='func_win32_libid'
5392 # Base MSYS/MinGW do not provide the 'file' command needed by
5393 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5394 # unless we find 'file', for example because we are cross-compiling.
5395 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5396 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5397 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5398 lt_cv_file_magic_cmd='func_win32_libid'
5400 # Keep this pattern in sync with the one in func_win32_libid.
5401 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5402 lt_cv_file_magic_cmd='$OBJDUMP -f'
5407 # use the weaker test based on 'objdump'. See mingw*.
5408 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5409 lt_cv_file_magic_cmd='$OBJDUMP -f'
5412 darwin* | rhapsody*)
5413 lt_cv_deplibs_check_method=pass_all
5416 freebsd* | dragonfly*)
5417 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5420 # Not sure whether the presence of OpenBSD here was a mistake.
5421 # Let's accept both of them until this is cleared up.
5422 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5423 lt_cv_file_magic_cmd=/usr/bin/file
5424 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5428 lt_cv_deplibs_check_method=pass_all
5433 lt_cv_deplibs_check_method=pass_all
5437 lt_cv_deplibs_check_method=pass_all
5440 hpux10.20* | hpux11*)
5441 lt_cv_file_magic_cmd=/usr/bin/file
5444 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5445 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5448 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]'
5449 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5452 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5453 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5459 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5460 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5463 irix5* | irix6* | nonstopux*)
5465 *-32|*"-32 ") libmagic=32-bit;;
5466 *-n32|*"-n32 ") libmagic=N32;;
5467 *-64|*"-64 ") libmagic=64-bit;;
5468 *) libmagic=never-match;;
5470 lt_cv_deplibs_check_method=pass_all
5473 # This must be glibc/ELF.
5474 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5475 lt_cv_deplibs_check_method=pass_all
5479 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5480 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5482 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5487 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5488 lt_cv_file_magic_cmd=/usr/bin/file
5489 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5493 lt_cv_deplibs_check_method=pass_all
5497 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5498 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5500 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5504 osf3* | osf4* | osf5*)
5505 lt_cv_deplibs_check_method=pass_all
5509 lt_cv_deplibs_check_method=pass_all
5513 lt_cv_deplibs_check_method=pass_all
5516 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5517 lt_cv_deplibs_check_method=pass_all
5521 case $host_vendor in
5523 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]'
5524 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5527 lt_cv_deplibs_check_method=pass_all
5530 lt_cv_file_magic_cmd='/bin/file'
5531 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5534 lt_cv_file_magic_cmd='/bin/file'
5535 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5536 lt_cv_file_magic_test_file=/lib/libc.so
5539 lt_cv_deplibs_check_method=pass_all
5542 lt_cv_deplibs_check_method=pass_all
5548 lt_cv_deplibs_check_method=pass_all
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5554 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5558 if test "$build" = "$host"; then
5561 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5564 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5570 file_magic_cmd=$lt_cv_file_magic_cmd
5571 deplibs_check_method=$lt_cv_deplibs_check_method
5572 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5595 if test -n "$ac_tool_prefix"; then
5596 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5597 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_DLLTOOL+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$DLLTOOL"; then
5604 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 DLLTOOL=$ac_cv_prog_DLLTOOL
5624 if test -n "$DLLTOOL"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5626 $as_echo "$DLLTOOL" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5634 if test -z "$ac_cv_prog_DLLTOOL"; then
5635 ac_ct_DLLTOOL=$DLLTOOL
5636 # Extract the first word of "dlltool", so it can be a program name with args.
5637 set dummy dlltool; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$ac_ct_DLLTOOL"; then
5644 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5664 if test -n "$ac_ct_DLLTOOL"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5666 $as_echo "$ac_ct_DLLTOOL" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5672 if test "x$ac_ct_DLLTOOL" = x; then
5675 case $cross_compiling:$ac_tool_warned in
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5679 ac_tool_warned=yes ;;
5681 DLLTOOL=$ac_ct_DLLTOOL
5684 DLLTOOL="$ac_cv_prog_DLLTOOL"
5687 test -z "$DLLTOOL" && DLLTOOL=dlltool
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5699 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5700 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5701 $as_echo_n "(cached) " >&6
5703 lt_cv_sharedlib_from_linklib_cmd='unknown'
5706 cygwin* | mingw* | pw32* | cegcc*)
5707 # two different shell functions defined in ltmain.sh
5708 # decide which to use based on capabilities of $DLLTOOL
5709 case `$DLLTOOL --help 2>&1` in
5710 *--identify-strict*)
5711 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5714 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5719 # fallback: assume linklib IS sharedlib
5720 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5726 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5727 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5728 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5737 if test -n "$ac_tool_prefix"; then
5740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_AR+:} false; then :
5745 $as_echo_n "(cached) " >&6
5747 if test -n "$AR"; then
5748 ac_cv_prog_AR="$AR" # Let the user override the test.
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 if test -n "$AR"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5770 $as_echo "$AR" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$AR" && break
5780 if test -z "$AR"; then
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5789 $as_echo_n "(cached) " >&6
5791 if test -n "$ac_ct_AR"; then
5792 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_ac_ct_AR="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5812 if test -n "$ac_ct_AR"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5814 $as_echo "$ac_ct_AR" >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$ac_ct_AR" && break
5824 if test "x$ac_ct_AR" = x; then
5827 case $cross_compiling:$ac_tool_warned in
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5831 ac_tool_warned=yes ;;
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5851 $as_echo_n "checking for archiver @FILE support... " >&6; }
5852 if ${lt_cv_ar_at_file+:} false; then :
5853 $as_echo_n "(cached) " >&6
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5867 if ac_fn_c_try_compile "$LINENO"; then :
5868 echo conftest.$ac_objext > conftest.lst
5869 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5870 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5871 (eval $lt_ar_try) 2>&5
5873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874 test $ac_status = 0; }
5875 if test "$ac_status" -eq 0; then
5876 # Ensure the archiver fails upon bogus file names.
5877 rm -f conftest.$ac_objext libconftest.a
5878 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5879 (eval $lt_ar_try) 2>&5
5881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5882 test $ac_status = 0; }
5883 if test "$ac_status" -ne 0; then
5887 rm -f conftest.* libconftest.a
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5894 $as_echo "$lt_cv_ar_at_file" >&6; }
5896 if test "x$lt_cv_ar_at_file" = xno; then
5899 archiver_list_spec=$lt_cv_ar_at_file
5908 if test -n "$ac_tool_prefix"; then
5909 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5910 set dummy ${ac_tool_prefix}strip; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_STRIP+:} false; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$STRIP"; then
5917 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 STRIP=$ac_cv_prog_STRIP
5937 if test -n "$STRIP"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5939 $as_echo "$STRIP" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 if test -z "$ac_cv_prog_STRIP"; then
5949 # Extract the first word of "strip", so it can be a program name with args.
5950 set dummy strip; ac_word=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5954 $as_echo_n "(cached) " >&6
5956 if test -n "$ac_ct_STRIP"; then
5957 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_ac_ct_STRIP="strip"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5977 if test -n "$ac_ct_STRIP"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5979 $as_echo "$ac_ct_STRIP" >&6; }
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5985 if test "x$ac_ct_STRIP" = x; then
5988 case $cross_compiling:$ac_tool_warned in
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5992 ac_tool_warned=yes ;;
5997 STRIP="$ac_cv_prog_STRIP"
6000 test -z "$STRIP" && STRIP=:
6007 if test -n "$ac_tool_prefix"; then
6008 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6009 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if ${ac_cv_prog_RANLIB+:} false; then :
6013 $as_echo_n "(cached) " >&6
6015 if test -n "$RANLIB"; then
6016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 RANLIB=$ac_cv_prog_RANLIB
6036 if test -n "$RANLIB"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6038 $as_echo "$RANLIB" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6046 if test -z "$ac_cv_prog_RANLIB"; then
6047 ac_ct_RANLIB=$RANLIB
6048 # Extract the first word of "ranlib", so it can be a program name with args.
6049 set dummy ranlib; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6053 $as_echo_n "(cached) " >&6
6055 if test -n "$ac_ct_RANLIB"; then
6056 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_ac_ct_RANLIB="ranlib"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6076 if test -n "$ac_ct_RANLIB"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6078 $as_echo "$ac_ct_RANLIB" >&6; }
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6084 if test "x$ac_ct_RANLIB" = x; then
6087 case $cross_compiling:$ac_tool_warned in
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned=yes ;;
6093 RANLIB=$ac_ct_RANLIB
6096 RANLIB="$ac_cv_prog_RANLIB"
6099 test -z "$RANLIB" && RANLIB=:
6106 # Determine commands to create old-style static archives.
6107 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6108 old_postinstall_cmds='chmod 644 $oldlib'
6109 old_postuninstall_cmds=
6111 if test -n "$RANLIB"; then
6114 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6117 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6120 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6125 lock_old_archive_extraction=yes ;;
6127 lock_old_archive_extraction=no ;;
6168 # If no C compiler was specified, use CC.
6171 # If no C compiler flags were specified, use CFLAGS.
6172 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6174 # Allow CC to be a program name with arguments.
6178 # Check for command to grab the raw symbol name followed by C symbol from nm.
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6180 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6181 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6182 $as_echo_n "(cached) " >&6
6185 # These are sane defaults that work on at least a few old systems.
6186 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6188 # Character class describing NM global symbol codes.
6189 symcode='[BCDEGRST]'
6191 # Regexp to match symbols that can be accessed directly from C.
6192 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6194 # Define system-specific variables.
6199 cygwin* | mingw* | pw32* | cegcc*)
6200 symcode='[ABCDGISTW]'
6203 if test "$host_cpu" = ia64; then
6204 symcode='[ABCDEGRST]'
6208 symcode='[BCDEGRST]'
6211 symcode='[BCDEGQRST]'
6222 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6230 # If we're using GNU nm, then use its standard symbol codes.
6231 case `$NM -V 2>&1` in
6232 *GNU* | *'with BFD'*)
6233 symcode='[ABCDGIRSTW]' ;;
6236 # Transform an extracted symbol line into a proper C declaration.
6237 # Some systems (esp. on ia64) link data and code symbols differently,
6238 # so use this general approach.
6239 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6241 # Transform an extracted symbol line into symbol name and symbol address
6242 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6243 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'"
6245 # Handle CRLF in mingw tool chain
6249 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6253 # Try without a prefix underscore, then with it.
6254 for ac_symprfx in "" "_"; do
6256 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6257 symxfrm="\\1 $ac_symprfx\\2 \\2"
6259 # Write the raw and C identifiers.
6260 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6261 # Fake it for dumpbin and say T for any non-static function
6262 # and D for any global variable.
6263 # Also find C++ and __fastcall symbols from MSVC++,
6264 # which start with @ or ?.
6265 lt_cv_sys_global_symbol_pipe="$AWK '"\
6266 " {last_section=section; section=\$ 3};"\
6267 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6268 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6269 " \$ 0!~/External *\|/{next};"\
6270 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6271 " {if(hide[section]) next};"\
6272 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6273 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6274 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6275 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6276 " ' prfx=^$ac_symprfx"
6278 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6280 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6282 # Check to see that the pipe works correctly.
6286 cat > conftest.$ac_ext <<_LT_EOF
6291 void nm_test_func(void);
6292 void nm_test_func(void){}
6296 int main(){nm_test_var='a';nm_test_func();return(0);}
6299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6300 (eval $ac_compile) 2>&5
6302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6303 test $ac_status = 0; }; then
6304 # Now try to grab the symbols.
6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6307 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310 test $ac_status = 0; } && test -s "$nlist"; then
6311 # Try sorting and uniquifying the output.
6312 if sort "$nlist" | uniq > "$nlist"T; then
6313 mv -f "$nlist"T "$nlist"
6318 # Make sure that we snagged all the symbols we need.
6319 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6320 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6321 cat <<_LT_EOF > conftest.$ac_ext
6322 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6323 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6324 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6325 relocations are performed -- see ld's documentation on pseudo-relocs. */
6326 # define LT_DLSYM_CONST
6327 #elif defined(__osf__)
6328 /* This system does not cope well with relocations in const data. */
6329 # define LT_DLSYM_CONST
6331 # define LT_DLSYM_CONST const
6339 # Now generate the symbol file.
6340 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6342 cat <<_LT_EOF >> conftest.$ac_ext
6344 /* The mapping between symbol names and symbols. */
6345 LT_DLSYM_CONST struct {
6349 lt__PROGRAM__LTX_preloaded_symbols[] =
6351 { "@PROGRAM@", (void *) 0 },
6353 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6354 cat <<\_LT_EOF >> conftest.$ac_ext
6358 /* This works around a problem in FreeBSD linker */
6359 #ifdef FREEBSD_WORKAROUND
6360 static const void *lt_preloaded_setup() {
6361 return lt__PROGRAM__LTX_preloaded_symbols;
6369 # Now try linking the two files.
6370 mv conftest.$ac_objext conftstm.$ac_objext
6371 lt_globsym_save_LIBS=$LIBS
6372 lt_globsym_save_CFLAGS=$CFLAGS
6373 LIBS="conftstm.$ac_objext"
6374 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6376 (eval $ac_link) 2>&5
6378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6382 LIBS=$lt_globsym_save_LIBS
6383 CFLAGS=$lt_globsym_save_CFLAGS
6385 echo "cannot find nm_test_func in $nlist" >&5
6388 echo "cannot find nm_test_var in $nlist" >&5
6391 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6394 echo "$progname: failed program was:" >&5
6395 cat conftest.$ac_ext >&5
6397 rm -rf conftest* conftst*
6399 # Do not use the global_symbol_pipe unless it works.
6400 if test "$pipe_works" = yes; then
6403 lt_cv_sys_global_symbol_pipe=
6409 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6410 lt_cv_sys_global_symbol_to_cdecl=
6412 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6414 $as_echo "failed" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6417 $as_echo "ok" >&6; }
6420 # Response file support.
6421 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6422 nm_file_list_spec='@'
6423 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6424 nm_file_list_spec='@'
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6454 $as_echo_n "checking for sysroot... " >&6; }
6456 # Check whether --with-sysroot was given.
6457 if test "${with_sysroot+set}" = set; then :
6458 withval=$with_sysroot;
6465 case ${with_sysroot} in #(
6467 if test "$GCC" = yes; then
6468 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6472 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6478 $as_echo "${with_sysroot}" >&6; }
6479 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6484 $as_echo "${lt_sysroot:-no}" >&6; }
6490 # Check whether --enable-libtool-lock was given.
6491 if test "${enable_libtool_lock+set}" = set; then :
6492 enableval=$enable_libtool_lock;
6495 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6497 # Some flags need to be propagated to the compiler or linker for good
6501 # Find out which ABI we are using.
6502 echo 'int i;' > conftest.$ac_ext
6503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6504 (eval $ac_compile) 2>&5
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6507 test $ac_status = 0; }; then
6508 case `/usr/bin/file conftest.$ac_objext` in
6520 # Find out which ABI we are using.
6521 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6523 (eval $ac_compile) 2>&5
6525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6526 test $ac_status = 0; }; then
6527 if test "$lt_cv_prog_gnu_ld" = yes; then
6528 case `/usr/bin/file conftest.$ac_objext` in
6530 LD="${LD-ld} -melf32bsmip"
6533 LD="${LD-ld} -melf32bmipn32"
6536 LD="${LD-ld} -melf64bmip"
6540 case `/usr/bin/file conftest.$ac_objext` in
6556 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6557 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6558 # Find out which ABI we are using.
6559 echo 'int i;' > conftest.$ac_ext
6560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6561 (eval $ac_compile) 2>&5
6563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6564 test $ac_status = 0; }; then
6565 case `/usr/bin/file conftest.o` in
6568 x86_64-*kfreebsd*-gnu)
6569 LD="${LD-ld} -m elf_i386_fbsd"
6572 LD="${LD-ld} -m elf_i386"
6574 ppc64-*linux*|powerpc64-*linux*)
6575 LD="${LD-ld} -m elf32ppclinux"
6578 LD="${LD-ld} -m elf_s390"
6581 LD="${LD-ld} -m elf32_sparc"
6587 x86_64-*kfreebsd*-gnu)
6588 LD="${LD-ld} -m elf_x86_64_fbsd"
6591 LD="${LD-ld} -m elf_x86_64"
6593 ppc*-*linux*|powerpc*-*linux*)
6594 LD="${LD-ld} -m elf64ppc"
6596 s390*-*linux*|s390*-*tpf*)
6597 LD="${LD-ld} -m elf64_s390"
6600 LD="${LD-ld} -m elf64_sparc"
6610 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6611 SAVE_CFLAGS="$CFLAGS"
6612 CFLAGS="$CFLAGS -belf"
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6614 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6615 if ${lt_cv_cc_needs_belf+:} false; then :
6616 $as_echo_n "(cached) " >&6
6619 ac_cpp='$CPP $CPPFLAGS'
6620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h. */
6635 if ac_fn_c_try_link "$LINENO"; then :
6636 lt_cv_cc_needs_belf=yes
6638 lt_cv_cc_needs_belf=no
6640 rm -f core conftest.err conftest.$ac_objext \
6641 conftest$ac_exeext conftest.$ac_ext
6643 ac_cpp='$CPP $CPPFLAGS'
6644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6650 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6651 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6652 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6653 CFLAGS="$SAVE_CFLAGS"
6657 # Find out which ABI we are using.
6658 echo 'int i;' > conftest.$ac_ext
6659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6660 (eval $ac_compile) 2>&5
6662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6663 test $ac_status = 0; }; then
6664 case `/usr/bin/file conftest.o` in
6666 case $lt_cv_prog_gnu_ld in
6670 LD="${LD-ld} -m elf_x86_64"
6673 LD="${LD-ld} -m elf64_sparc"
6676 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6677 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6682 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6694 need_locks="$enable_libtool_lock"
6696 if test -n "$ac_tool_prefix"; then
6697 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}mt; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6702 $as_echo_n "(cached) " >&6
6704 if test -n "$MANIFEST_TOOL"; then
6705 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6725 if test -n "$MANIFEST_TOOL"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6727 $as_echo "$MANIFEST_TOOL" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6735 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6736 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6737 # Extract the first word of "mt", so it can be a program name with args.
6738 set dummy mt; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6742 $as_echo_n "(cached) " >&6
6744 if test -n "$ac_ct_MANIFEST_TOOL"; then
6745 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir=.
6752 for ac_exec_ext in '' $ac_executable_extensions; do
6753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6754 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6765 if test -n "$ac_ct_MANIFEST_TOOL"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6767 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6773 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6776 case $cross_compiling:$ac_tool_warned in
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6780 ac_tool_warned=yes ;;
6782 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6785 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6788 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6790 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6791 if ${lt_cv_path_mainfest_tool+:} false; then :
6792 $as_echo_n "(cached) " >&6
6794 lt_cv_path_mainfest_tool=no
6795 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6796 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6797 cat conftest.err >&5
6798 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6799 lt_cv_path_mainfest_tool=yes
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6804 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6805 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6815 rhapsody* | darwin*)
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6822 $as_echo_n "(cached) " >&6
6824 if test -n "$DSYMUTIL"; then
6825 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6845 if test -n "$DSYMUTIL"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6847 $as_echo "$DSYMUTIL" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6855 if test -z "$ac_cv_prog_DSYMUTIL"; then
6856 ac_ct_DSYMUTIL=$DSYMUTIL
6857 # Extract the first word of "dsymutil", so it can be a program name with args.
6858 set dummy dsymutil; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6862 $as_echo_n "(cached) " >&6
6864 if test -n "$ac_ct_DSYMUTIL"; then
6865 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6885 if test -n "$ac_ct_DSYMUTIL"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6887 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6893 if test "x$ac_ct_DSYMUTIL" = x; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6900 ac_tool_warned=yes ;;
6902 DSYMUTIL=$ac_ct_DSYMUTIL
6905 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6908 if test -n "$ac_tool_prefix"; then
6909 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6910 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_NMEDIT+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 if test -n "$NMEDIT"; then
6917 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 NMEDIT=$ac_cv_prog_NMEDIT
6937 if test -n "$NMEDIT"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6939 $as_echo "$NMEDIT" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6947 if test -z "$ac_cv_prog_NMEDIT"; then
6948 ac_ct_NMEDIT=$NMEDIT
6949 # Extract the first word of "nmedit", so it can be a program name with args.
6950 set dummy nmedit; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6954 $as_echo_n "(cached) " >&6
6956 if test -n "$ac_ct_NMEDIT"; then
6957 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir=.
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6977 if test -n "$ac_ct_NMEDIT"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6979 $as_echo "$ac_ct_NMEDIT" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6985 if test "x$ac_ct_NMEDIT" = x; then
6988 case $cross_compiling:$ac_tool_warned in
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6992 ac_tool_warned=yes ;;
6994 NMEDIT=$ac_ct_NMEDIT
6997 NMEDIT="$ac_cv_prog_NMEDIT"
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_LIPO+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$LIPO"; then
7009 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 LIPO=$ac_cv_prog_LIPO
7029 if test -n "$LIPO"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7031 $as_echo "$LIPO" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7039 if test -z "$ac_cv_prog_LIPO"; then
7041 # Extract the first word of "lipo", so it can be a program name with args.
7042 set dummy lipo; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$ac_ct_LIPO"; then
7049 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_LIPO="lipo"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7069 if test -n "$ac_ct_LIPO"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7071 $as_echo "$ac_ct_LIPO" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7077 if test "x$ac_ct_LIPO" = x; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned=yes ;;
7089 LIPO="$ac_cv_prog_LIPO"
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}otool; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_OTOOL+:} false; then :
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$OTOOL"; then
7101 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 OTOOL=$ac_cv_prog_OTOOL
7121 if test -n "$OTOOL"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7123 $as_echo "$OTOOL" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7131 if test -z "$ac_cv_prog_OTOOL"; then
7133 # Extract the first word of "otool", so it can be a program name with args.
7134 set dummy otool; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7138 $as_echo_n "(cached) " >&6
7140 if test -n "$ac_ct_OTOOL"; then
7141 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_ac_ct_OTOOL="otool"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7161 if test -n "$ac_ct_OTOOL"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7163 $as_echo "$ac_ct_OTOOL" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7169 if test "x$ac_ct_OTOOL" = x; then
7172 case $cross_compiling:$ac_tool_warned in
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7181 OTOOL="$ac_cv_prog_OTOOL"
7184 if test -n "$ac_tool_prefix"; then
7185 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_OTOOL64+:} false; then :
7190 $as_echo_n "(cached) " >&6
7192 if test -n "$OTOOL64"; then
7193 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 OTOOL64=$ac_cv_prog_OTOOL64
7213 if test -n "$OTOOL64"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7215 $as_echo "$OTOOL64" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7223 if test -z "$ac_cv_prog_OTOOL64"; then
7224 ac_ct_OTOOL64=$OTOOL64
7225 # Extract the first word of "otool64", so it can be a program name with args.
7226 set dummy otool64; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7230 $as_echo_n "(cached) " >&6
7232 if test -n "$ac_ct_OTOOL64"; then
7233 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_ac_ct_OTOOL64="otool64"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7253 if test -n "$ac_ct_OTOOL64"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7255 $as_echo "$ac_ct_OTOOL64" >&6; }
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7261 if test "x$ac_ct_OTOOL64" = x; then
7264 case $cross_compiling:$ac_tool_warned in
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7268 ac_tool_warned=yes ;;
7270 OTOOL64=$ac_ct_OTOOL64
7273 OTOOL64="$ac_cv_prog_OTOOL64"
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7303 $as_echo_n "checking for -single_module linker flag... " >&6; }
7304 if ${lt_cv_apple_cc_single_mod+:} false; then :
7305 $as_echo_n "(cached) " >&6
7307 lt_cv_apple_cc_single_mod=no
7308 if test -z "${LT_MULTI_MODULE}"; then
7309 # By default we will add the -single_module flag. You can override
7310 # by either setting the environment variable LT_MULTI_MODULE
7311 # non-empty at configure time, or by adding -multi_module to the
7313 rm -rf libconftest.dylib*
7314 echo "int foo(void){return 1;}" > conftest.c
7315 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7316 -dynamiclib -Wl,-single_module conftest.c" >&5
7317 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7318 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7320 # If there is a non-empty error log, and "single_module"
7321 # appears in it, assume the flag caused a linker warning
7322 if test -s conftest.err && $GREP single_module conftest.err; then
7323 cat conftest.err >&5
7324 # Otherwise, if the output was created with a 0 exit code from
7325 # the compiler, it worked.
7326 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7327 lt_cv_apple_cc_single_mod=yes
7329 cat conftest.err >&5
7331 rm -rf libconftest.dylib*
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7336 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7339 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7340 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7341 $as_echo_n "(cached) " >&6
7343 lt_cv_ld_exported_symbols_list=no
7344 save_LDFLAGS=$LDFLAGS
7345 echo "_main" > conftest.sym
7346 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7358 if ac_fn_c_try_link "$LINENO"; then :
7359 lt_cv_ld_exported_symbols_list=yes
7361 lt_cv_ld_exported_symbols_list=no
7363 rm -f core conftest.err conftest.$ac_objext \
7364 conftest$ac_exeext conftest.$ac_ext
7365 LDFLAGS="$save_LDFLAGS"
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7369 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7372 $as_echo_n "checking for -force_load linker flag... " >&6; }
7373 if ${lt_cv_ld_force_load+:} false; then :
7374 $as_echo_n "(cached) " >&6
7376 lt_cv_ld_force_load=no
7377 cat > conftest.c << _LT_EOF
7378 int forced_loaded() { return 2;}
7380 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7381 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7382 echo "$AR cru libconftest.a conftest.o" >&5
7383 $AR cru libconftest.a conftest.o 2>&5
7384 echo "$RANLIB libconftest.a" >&5
7385 $RANLIB libconftest.a 2>&5
7386 cat > conftest.c << _LT_EOF
7387 int main() { return 0;}
7389 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7390 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7392 if test -s conftest.err && $GREP force_load conftest.err; then
7393 cat conftest.err >&5
7394 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7395 lt_cv_ld_force_load=yes
7397 cat conftest.err >&5
7399 rm -f conftest.err libconftest.a conftest conftest.c
7400 rm -rf conftest.dSYM
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7404 $as_echo "$lt_cv_ld_force_load" >&6; }
7406 rhapsody* | darwin1.[012])
7407 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7409 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7410 darwin*) # darwin 5.x on
7411 # if running on 10.5 or later, the deployment target defaults
7412 # to the OS version, if on x86, and 10.4, the deployment
7413 # target defaults to 10.4. Don't you love it?
7414 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7415 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7416 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7418 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7420 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7424 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7425 _lt_dar_single_mod='$single_module'
7427 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7428 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7430 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7432 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7433 _lt_dsymutil='~$DSYMUTIL $lib || :'
7441 ac_cpp='$CPP $CPPFLAGS'
7442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7446 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7447 # On Suns, sometimes $CPP names a directory.
7448 if test -n "$CPP" && test -d "$CPP"; then
7451 if test -z "$CPP"; then
7452 if ${ac_cv_prog_CPP+:} false; then :
7453 $as_echo_n "(cached) " >&6
7455 # Double quotes because CPP needs to be expanded
7456 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7459 for ac_c_preproc_warn_flag in '' yes
7461 # Use a header file that comes with gcc, so configuring glibc
7462 # with a fresh cross-compiler works.
7463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7464 # <limits.h> exists even on freestanding compilers.
7465 # On the NeXT, cc -E runs the code through the compiler's parser,
7466 # not just through cpp. "Syntax error" is here to catch this case.
7467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468 /* end confdefs.h. */
7470 # include <limits.h>
7472 # include <assert.h>
7476 if ac_fn_c_try_cpp "$LINENO"; then :
7479 # Broken: fails on valid input.
7482 rm -f conftest.err conftest.i conftest.$ac_ext
7484 # OK, works on sane cases. Now check whether nonexistent headers
7485 # can be detected and how.
7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7488 #include <ac_nonexistent.h>
7490 if ac_fn_c_try_cpp "$LINENO"; then :
7491 # Broken: success on invalid input.
7494 # Passes both tests.
7498 rm -f conftest.err conftest.i conftest.$ac_ext
7501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7502 rm -f conftest.i conftest.err conftest.$ac_ext
7503 if $ac_preproc_ok; then :
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7516 $as_echo "$CPP" >&6; }
7518 for ac_c_preproc_warn_flag in '' yes
7520 # Use a header file that comes with gcc, so configuring glibc
7521 # with a fresh cross-compiler works.
7522 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7523 # <limits.h> exists even on freestanding compilers.
7524 # On the NeXT, cc -E runs the code through the compiler's parser,
7525 # not just through cpp. "Syntax error" is here to catch this case.
7526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7527 /* end confdefs.h. */
7529 # include <limits.h>
7531 # include <assert.h>
7535 if ac_fn_c_try_cpp "$LINENO"; then :
7538 # Broken: fails on valid input.
7541 rm -f conftest.err conftest.i conftest.$ac_ext
7543 # OK, works on sane cases. Now check whether nonexistent headers
7544 # can be detected and how.
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7547 #include <ac_nonexistent.h>
7549 if ac_fn_c_try_cpp "$LINENO"; then :
7550 # Broken: success on invalid input.
7553 # Passes both tests.
7557 rm -f conftest.err conftest.i conftest.$ac_ext
7560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7561 rm -f conftest.i conftest.err conftest.$ac_ext
7562 if $ac_preproc_ok; then :
7565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7567 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7568 See \`config.log' for more details" "$LINENO" 5; }
7572 ac_cpp='$CPP $CPPFLAGS'
7573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7579 $as_echo_n "checking for ANSI C header files... " >&6; }
7580 if ${ac_cv_header_stdc+:} false; then :
7581 $as_echo_n "(cached) " >&6
7583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584 /* end confdefs.h. */
7598 if ac_fn_c_try_compile "$LINENO"; then :
7599 ac_cv_header_stdc=yes
7601 ac_cv_header_stdc=no
7603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7605 if test $ac_cv_header_stdc = yes; then
7606 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7613 $EGREP "memchr" >/dev/null 2>&1; then :
7616 ac_cv_header_stdc=no
7622 if test $ac_cv_header_stdc = yes; then
7623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7630 $EGREP "free" >/dev/null 2>&1; then :
7633 ac_cv_header_stdc=no
7639 if test $ac_cv_header_stdc = yes; then
7640 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7641 if test "$cross_compiling" = yes; then :
7644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h. */
7648 #if ((' ' & 0x0FF) == 0x020)
7649 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7650 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7652 # define ISLOWER(c) \
7653 (('a' <= (c) && (c) <= 'i') \
7654 || ('j' <= (c) && (c) <= 'r') \
7655 || ('s' <= (c) && (c) <= 'z'))
7656 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7659 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7664 for (i = 0; i < 256; i++)
7665 if (XOR (islower (i), ISLOWER (i))
7666 || toupper (i) != TOUPPER (i))
7671 if ac_fn_c_try_run "$LINENO"; then :
7674 ac_cv_header_stdc=no
7676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7677 conftest.$ac_objext conftest.beam conftest.$ac_ext
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7683 $as_echo "$ac_cv_header_stdc" >&6; }
7684 if test $ac_cv_header_stdc = yes; then
7686 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7690 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7691 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7692 inttypes.h stdint.h unistd.h
7694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7695 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7707 for ac_header in dlfcn.h
7709 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7711 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_DLFCN_H 1
7725 # Check whether --enable-static was given.
7726 if test "${enable_static+set}" = set; then :
7727 enableval=$enable_static; p=${PACKAGE-default}
7729 yes) enable_static=yes ;;
7730 no) enable_static=no ;;
7733 # Look at the argument we got. We use all the common list separators.
7734 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7735 for pkg in $enableval; do
7737 if test "X$pkg" = "X$p"; then
7763 # Check whether --enable-shared was given.
7764 if test "${enable_shared+set}" = set; then :
7765 enableval=$enable_shared; p=${PACKAGE-default}
7767 yes) enable_shared=yes ;;
7768 no) enable_shared=no ;;
7771 # Look at the argument we got. We use all the common list separators.
7772 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7773 for pkg in $enableval; do
7775 if test "X$pkg" = "X$p"; then
7796 # Check whether --with-pic was given.
7797 if test "${with_pic+set}" = set; then :
7798 withval=$with_pic; lt_p=${PACKAGE-default}
7800 yes|no) pic_mode=$withval ;;
7803 # Look at the argument we got. We use all the common list separators.
7804 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7805 for lt_pkg in $withval; do
7807 if test "X$lt_pkg" = "X$lt_p"; then
7819 test -z "$pic_mode" && pic_mode=default
7827 # Check whether --enable-fast-install was given.
7828 if test "${enable_fast_install+set}" = set; then :
7829 enableval=$enable_fast_install; p=${PACKAGE-default}
7831 yes) enable_fast_install=yes ;;
7832 no) enable_fast_install=no ;;
7834 enable_fast_install=no
7835 # Look at the argument we got. We use all the common list separators.
7836 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7837 for pkg in $enableval; do
7839 if test "X$pkg" = "X$p"; then
7840 enable_fast_install=yes
7847 enable_fast_install=yes
7860 # This can be used to rebuild libtool when needed
7861 LIBTOOL_DEPS="$ltmain"
7863 # Always use our own libtool.
7864 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7895 test -z "$LN_S" && LN_S="ln -s"
7910 if test -n "${ZSH_VERSION+set}" ; then
7911 setopt NO_GLOB_SUBST
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7915 $as_echo_n "checking for objdir... " >&6; }
7916 if ${lt_cv_objdir+:} false; then :
7917 $as_echo_n "(cached) " >&6
7919 rm -f .libs 2>/dev/null
7920 mkdir .libs 2>/dev/null
7921 if test -d .libs; then
7924 # MS-DOS does not allow filenames that begin with a dot.
7927 rmdir .libs 2>/dev/null
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7930 $as_echo "$lt_cv_objdir" >&6; }
7931 objdir=$lt_cv_objdir
7937 cat >>confdefs.h <<_ACEOF
7938 #define LT_OBJDIR "$lt_cv_objdir/"
7946 # AIX sometimes has problems with the GCC collect2 program. For some
7947 # reason, if we set the COLLECT_NAMES environment variable, the problems
7948 # vanish in a puff of smoke.
7949 if test "X${COLLECT_NAMES+set}" != Xset; then
7951 export COLLECT_NAMES
7958 can_build_shared=yes
7960 # All known linkers require a `.a' archive for static linking (except MSVC,
7961 # which needs '.lib').
7964 with_gnu_ld="$lt_cv_prog_gnu_ld"
7967 old_CFLAGS="$CFLAGS"
7969 # Set sane defaults for various variables
7970 test -z "$CC" && CC=cc
7971 test -z "$LTCC" && LTCC=$CC
7972 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7973 test -z "$LD" && LD=ld
7974 test -z "$ac_objext" && ac_objext=o
7976 for cc_temp in $compiler""; do
7978 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7979 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7984 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7987 # Only perform the check for file, if the check method requires it
7988 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7989 case $deplibs_check_method in
7991 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7993 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7994 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7995 $as_echo_n "(cached) " >&6
7999 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8002 lt_save_MAGIC_CMD="$MAGIC_CMD"
8003 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8004 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8005 for ac_dir in $ac_dummy; do
8007 test -z "$ac_dir" && ac_dir=.
8008 if test -f $ac_dir/${ac_tool_prefix}file; then
8009 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8010 if test -n "$file_magic_test_file"; then
8011 case $deplibs_check_method in
8013 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8014 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8015 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8016 $EGREP "$file_magic_regex" > /dev/null; then
8021 *** Warning: the command libtool uses to detect shared libraries,
8022 *** $file_magic_cmd, produces output that libtool cannot recognize.
8023 *** The result is that libtool may fail to recognize shared libraries
8024 *** as such. This will affect the creation of libtool libraries that
8025 *** depend on shared libraries, but programs linked with such libtool
8026 *** libraries will work regardless of this problem. Nevertheless, you
8027 *** may want to report the problem to your system manager and/or to
8028 *** bug-libtool@gnu.org
8038 MAGIC_CMD="$lt_save_MAGIC_CMD"
8043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8044 if test -n "$MAGIC_CMD"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8046 $as_echo "$MAGIC_CMD" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8056 if test -z "$lt_cv_path_MAGIC_CMD"; then
8057 if test -n "$ac_tool_prefix"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8059 $as_echo_n "checking for file... " >&6; }
8060 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8061 $as_echo_n "(cached) " >&6
8065 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8068 lt_save_MAGIC_CMD="$MAGIC_CMD"
8069 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8070 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8071 for ac_dir in $ac_dummy; do
8073 test -z "$ac_dir" && ac_dir=.
8074 if test -f $ac_dir/file; then
8075 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8076 if test -n "$file_magic_test_file"; then
8077 case $deplibs_check_method in
8079 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8081 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8082 $EGREP "$file_magic_regex" > /dev/null; then
8087 *** Warning: the command libtool uses to detect shared libraries,
8088 *** $file_magic_cmd, produces output that libtool cannot recognize.
8089 *** The result is that libtool may fail to recognize shared libraries
8090 *** as such. This will affect the creation of libtool libraries that
8091 *** depend on shared libraries, but programs linked with such libtool
8092 *** libraries will work regardless of this problem. Nevertheless, you
8093 *** may want to report the problem to your system manager and/or to
8094 *** bug-libtool@gnu.org
8104 MAGIC_CMD="$lt_save_MAGIC_CMD"
8109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8110 if test -n "$MAGIC_CMD"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8112 $as_echo "$MAGIC_CMD" >&6; }
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8128 # Use C for the default configuration in the libtool script
8132 ac_cpp='$CPP $CPPFLAGS'
8133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8138 # Source file extension for C test sources.
8141 # Object file extension for compiled C test sources.
8145 # Code to be used in simple compile tests
8146 lt_simple_compile_test_code="int some_variable = 0;"
8148 # Code to be used in simple link tests
8149 lt_simple_link_test_code='int main(){return(0);}'
8157 # If no C compiler was specified, use CC.
8160 # If no C compiler flags were specified, use CFLAGS.
8161 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8163 # Allow CC to be a program name with arguments.
8166 # Save the default compiler, since it gets overwritten when the other
8167 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8168 compiler_DEFAULT=$CC
8170 # save warnings/boilerplate of simple test code
8171 ac_outfile=conftest.$ac_objext
8172 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8173 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8174 _lt_compiler_boilerplate=`cat conftest.err`
8177 ac_outfile=conftest.$ac_objext
8178 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8179 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8180 _lt_linker_boilerplate=`cat conftest.err`
8185 ## There is no encapsulation within the following macros, do not change
8186 ## the running order or otherwise move them around unless you know exactly
8187 ## what you are doing...
8188 if test -n "$compiler"; then
8190 lt_prog_compiler_no_builtin_flag=
8192 if test "$GCC" = yes; then
8193 case $cc_basename in
8195 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8197 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8201 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8202 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8203 $as_echo_n "(cached) " >&6
8205 lt_cv_prog_compiler_rtti_exceptions=no
8206 ac_outfile=conftest.$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="-fno-rtti -fno-exceptions"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err)
8221 cat conftest.err >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8228 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_rtti_exceptions=yes
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8236 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8238 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8239 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8251 lt_prog_compiler_wl=
8252 lt_prog_compiler_pic=
8253 lt_prog_compiler_static=
8256 if test "$GCC" = yes; then
8257 lt_prog_compiler_wl='-Wl,'
8258 lt_prog_compiler_static='-static'
8262 # All AIX code is PIC.
8263 if test "$host_cpu" = ia64; then
8264 # AIX 5 now supports IA64 processor
8265 lt_prog_compiler_static='-Bstatic'
8272 # see comment about AmigaOS4 .so support
8273 lt_prog_compiler_pic='-fPIC'
8276 # FIXME: we need at least 68020 code to build shared libraries, but
8277 # adding the `-m68020' flag to GCC prevents building anything better,
8279 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8284 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8285 # PIC is the default for these OSes.
8288 mingw* | cygwin* | pw32* | os2* | cegcc*)
8289 # This hack is so that the source file can tell whether it is being
8290 # built for inclusion in a dll (and should export symbols for example).
8291 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8292 # (--disable-auto-import) libraries
8293 lt_prog_compiler_pic='-DDLL_EXPORT'
8296 darwin* | rhapsody*)
8297 # PIC is the default on this platform
8298 # Common symbols not allowed in MH_DYLIB files
8299 lt_prog_compiler_pic='-fno-common'
8303 # PIC is the default for Haiku.
8304 # The "-static" flag exists, but is broken.
8305 lt_prog_compiler_static=
8309 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8310 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8311 # sets the default TLS model and affects inlining.
8317 lt_prog_compiler_pic='-fPIC'
8323 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8324 # Instead, we relocate shared libraries at runtime.
8328 # Just because we use GCC doesn't mean we suddenly get shared libraries
8329 # on systems that don't support them.
8330 lt_prog_compiler_can_build_shared=no
8335 # QNX uses GNU C++, but need to define -shared option too, otherwise
8337 lt_prog_compiler_pic='-fPIC -shared'
8341 if test -d /usr/nec; then
8342 lt_prog_compiler_pic=-Kconform_pic
8347 lt_prog_compiler_pic='-fPIC'
8351 case $cc_basename in
8352 nvcc*) # Cuda Compiler Driver 2.2
8353 lt_prog_compiler_wl='-Xlinker '
8354 if test -n "$lt_prog_compiler_pic"; then
8355 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8360 # PORTME Check for flag to pass linker flags through the system compiler.
8363 lt_prog_compiler_wl='-Wl,'
8364 if test "$host_cpu" = ia64; then
8365 # AIX 5 now supports IA64 processor
8366 lt_prog_compiler_static='-Bstatic'
8368 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8372 mingw* | cygwin* | pw32* | os2* | cegcc*)
8373 # This hack is so that the source file can tell whether it is being
8374 # built for inclusion in a dll (and should export symbols for example).
8375 lt_prog_compiler_pic='-DDLL_EXPORT'
8378 hpux9* | hpux10* | hpux11*)
8379 lt_prog_compiler_wl='-Wl,'
8380 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8387 lt_prog_compiler_pic='+Z'
8390 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8391 lt_prog_compiler_static='${wl}-a ${wl}archive'
8394 irix5* | irix6* | nonstopux*)
8395 lt_prog_compiler_wl='-Wl,'
8396 # PIC (with -KPIC) is the default.
8397 lt_prog_compiler_static='-non_shared'
8400 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8401 case $cc_basename in
8402 # old Intel for x86_64 which still supported -KPIC.
8404 lt_prog_compiler_wl='-Wl,'
8405 lt_prog_compiler_pic='-KPIC'
8406 lt_prog_compiler_static='-static'
8408 # icc used to be incompatible with GCC.
8409 # ICC 10 doesn't accept -KPIC any more.
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_pic='-fPIC'
8413 lt_prog_compiler_static='-static'
8415 # Lahey Fortran 8.1.
8417 lt_prog_compiler_wl='-Wl,'
8418 lt_prog_compiler_pic='--shared'
8419 lt_prog_compiler_static='--static'
8422 # NAG Fortran compiler
8423 lt_prog_compiler_wl='-Wl,-Wl,,'
8424 lt_prog_compiler_pic='-PIC'
8425 lt_prog_compiler_static='-Bstatic'
8427 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8428 # Portland Group compilers (*not* the Pentium gcc compiler,
8429 # which looks to be a dead project)
8430 lt_prog_compiler_wl='-Wl,'
8431 lt_prog_compiler_pic='-fpic'
8432 lt_prog_compiler_static='-Bstatic'
8435 lt_prog_compiler_wl='-Wl,'
8436 # All Alpha code is PIC.
8437 lt_prog_compiler_static='-non_shared'
8439 xl* | bgxl* | bgf* | mpixl*)
8440 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8441 lt_prog_compiler_wl='-Wl,'
8442 lt_prog_compiler_pic='-qpic'
8443 lt_prog_compiler_static='-qstaticlink'
8446 case `$CC -V 2>&1 | sed 5q` in
8447 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8448 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8449 lt_prog_compiler_pic='-KPIC'
8450 lt_prog_compiler_static='-Bstatic'
8451 lt_prog_compiler_wl=''
8453 *Sun\ F* | *Sun*Fortran*)
8454 lt_prog_compiler_pic='-KPIC'
8455 lt_prog_compiler_static='-Bstatic'
8456 lt_prog_compiler_wl='-Qoption ld '
8460 lt_prog_compiler_pic='-KPIC'
8461 lt_prog_compiler_static='-Bstatic'
8462 lt_prog_compiler_wl='-Wl,'
8464 *Intel*\ [CF]*Compiler*)
8465 lt_prog_compiler_wl='-Wl,'
8466 lt_prog_compiler_pic='-fPIC'
8467 lt_prog_compiler_static='-static'
8470 lt_prog_compiler_wl='-Wl,'
8471 lt_prog_compiler_pic='-fpic'
8472 lt_prog_compiler_static='-Bstatic'
8480 lt_prog_compiler_pic='-KPIC'
8481 lt_prog_compiler_static='-Bstatic'
8485 # QNX uses GNU C++, but need to define -shared option too, otherwise
8487 lt_prog_compiler_pic='-fPIC -shared'
8490 osf3* | osf4* | osf5*)
8491 lt_prog_compiler_wl='-Wl,'
8492 # All OSF/1 code is PIC.
8493 lt_prog_compiler_static='-non_shared'
8497 lt_prog_compiler_static='-non_shared'
8501 lt_prog_compiler_pic='-KPIC'
8502 lt_prog_compiler_static='-Bstatic'
8503 case $cc_basename in
8504 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8505 lt_prog_compiler_wl='-Qoption ld ';;
8507 lt_prog_compiler_wl='-Wl,';;
8512 lt_prog_compiler_wl='-Qoption ld '
8513 lt_prog_compiler_pic='-PIC'
8514 lt_prog_compiler_static='-Bstatic'
8517 sysv4 | sysv4.2uw2* | sysv4.3*)
8518 lt_prog_compiler_wl='-Wl,'
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8524 if test -d /usr/nec ;then
8525 lt_prog_compiler_pic='-Kconform_pic'
8526 lt_prog_compiler_static='-Bstatic'
8530 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_pic='-KPIC'
8533 lt_prog_compiler_static='-Bstatic'
8537 lt_prog_compiler_wl='-Wl,'
8538 lt_prog_compiler_can_build_shared=no
8542 lt_prog_compiler_pic='-pic'
8543 lt_prog_compiler_static='-Bstatic'
8547 lt_prog_compiler_can_build_shared=no
8553 # For platforms which do not support PIC, -DPIC is meaningless:
8555 lt_prog_compiler_pic=
8558 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8563 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8564 if ${lt_cv_prog_compiler_pic+:} false; then :
8565 $as_echo_n "(cached) " >&6
8567 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8570 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8571 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8574 # Check to make sure the PIC flag actually works.
8576 if test -n "$lt_prog_compiler_pic"; then
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8578 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8579 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8580 $as_echo_n "(cached) " >&6
8582 lt_cv_prog_compiler_pic_works=no
8583 ac_outfile=conftest.$ac_objext
8584 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8585 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8586 # Insert the option either (1) after the last *FLAGS variable, or
8587 # (2) before a word containing "conftest.", or (3) at the end.
8588 # Note that $ac_compile itself does not contain backslashes and begins
8589 # with a dollar sign (not a hyphen), so the echo should work correctly.
8590 # The option is referenced via a variable to avoid confusing sed.
8591 lt_compile=`echo "$ac_compile" | $SED \
8592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8594 -e 's:$: $lt_compiler_flag:'`
8595 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8596 (eval "$lt_compile" 2>conftest.err)
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 if (exit $ac_status) && test -s "$ac_outfile"; then
8601 # The compiler can only warn and ignore the option if not recognized
8602 # So say no if there are warnings other than the usual output.
8603 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8604 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8605 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8606 lt_cv_prog_compiler_pic_works=yes
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8613 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8615 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8616 case $lt_prog_compiler_pic in
8618 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8621 lt_prog_compiler_pic=
8622 lt_prog_compiler_can_build_shared=no
8638 # Check to make sure the static flag actually works.
8640 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8642 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8643 if ${lt_cv_prog_compiler_static_works+:} false; then :
8644 $as_echo_n "(cached) " >&6
8646 lt_cv_prog_compiler_static_works=no
8647 save_LDFLAGS="$LDFLAGS"
8648 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8649 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8650 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8651 # The linker can only warn and ignore the option if not recognized
8652 # So say no if there are warnings
8653 if test -s conftest.err; then
8654 # Append any errors to the config.log.
8655 cat conftest.err 1>&5
8656 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8658 if diff conftest.exp conftest.er2 >/dev/null; then
8659 lt_cv_prog_compiler_static_works=yes
8662 lt_cv_prog_compiler_static_works=yes
8666 LDFLAGS="$save_LDFLAGS"
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8670 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8672 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8675 lt_prog_compiler_static=
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8686 if ${lt_cv_prog_compiler_c_o+:} false; then :
8687 $as_echo_n "(cached) " >&6
8689 lt_cv_prog_compiler_c_o=no
8690 $RM -r conftest 2>/dev/null
8694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8696 lt_compiler_flag="-o out/conftest2.$ac_objext"
8697 # Insert the option either (1) after the last *FLAGS variable, or
8698 # (2) before a word containing "conftest.", or (3) at the end.
8699 # Note that $ac_compile itself does not contain backslashes and begins
8700 # with a dollar sign (not a hyphen), so the echo should work correctly.
8701 lt_compile=`echo "$ac_compile" | $SED \
8702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8704 -e 's:$: $lt_compiler_flag:'`
8705 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8706 (eval "$lt_compile" 2>out/conftest.err)
8708 cat out/conftest.err >&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8712 # The compiler can only warn and ignore the option if not recognized
8713 # So say no if there are warnings
8714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8715 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8716 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8717 lt_cv_prog_compiler_c_o=yes
8722 # SGI C++ compiler will create directory out/ii_files/ for
8723 # template instantiation
8724 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8725 $RM out/* && rmdir out
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8732 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8741 if ${lt_cv_prog_compiler_c_o+:} false; then :
8742 $as_echo_n "(cached) " >&6
8744 lt_cv_prog_compiler_c_o=no
8745 $RM -r conftest 2>/dev/null
8749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8751 lt_compiler_flag="-o out/conftest2.$ac_objext"
8752 # Insert the option either (1) after the last *FLAGS variable, or
8753 # (2) before a word containing "conftest.", or (3) at the end.
8754 # Note that $ac_compile itself does not contain backslashes and begins
8755 # with a dollar sign (not a hyphen), so the echo should work correctly.
8756 lt_compile=`echo "$ac_compile" | $SED \
8757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8759 -e 's:$: $lt_compiler_flag:'`
8760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8761 (eval "$lt_compile" 2>out/conftest.err)
8763 cat out/conftest.err >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8767 # The compiler can only warn and ignore the option if not recognized
8768 # So say no if there are warnings
8769 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8770 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8771 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8772 lt_cv_prog_compiler_c_o=yes
8777 # SGI C++ compiler will create directory out/ii_files/ for
8778 # template instantiation
8779 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8780 $RM out/* && rmdir out
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8787 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8792 hard_links="nottested"
8793 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8794 # do not overwrite the value of need_locks provided by the user
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8796 $as_echo_n "checking if we can lock with hard links... " >&6; }
8799 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8801 ln conftest.a conftest.b 2>&5 || hard_links=no
8802 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8804 $as_echo "$hard_links" >&6; }
8805 if test "$hard_links" = no; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8807 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8820 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8823 allow_undefined_flag=
8824 always_export_symbols=no
8826 archive_expsym_cmds=
8827 compiler_needs_object=no
8828 enable_shared_with_static_runtimes=no
8829 export_dynamic_flag_spec=
8830 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8831 hardcode_automatic=no
8833 hardcode_direct_absolute=no
8834 hardcode_libdir_flag_spec=
8835 hardcode_libdir_separator=
8837 hardcode_shlibpath_var=unsupported
8839 link_all_deplibs=unknown
8842 old_archive_from_new_cmds=
8843 old_archive_from_expsyms_cmds=
8844 thread_safe_flag_spec=
8845 whole_archive_flag_spec=
8846 # include_expsyms should be a list of space-separated symbols to be *always*
8847 # included in the symbol list
8849 # exclude_expsyms can be an extended regexp of symbols to exclude
8850 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8851 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8852 # as well as any symbol that contains `d'.
8853 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8854 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8855 # platforms (ab)use it in PIC code, but their linkers get confused if
8856 # the symbol is explicitly referenced. Since portable code cannot
8857 # rely on this symbol name, it's probably fine to never include it in
8858 # preloaded symbol tables.
8859 # Exclude shared library initialization/finalization symbols.
8860 extract_expsyms_cmds=
8863 cygwin* | mingw* | pw32* | cegcc*)
8864 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8865 # When not using gcc, we currently assume that we are using
8866 # Microsoft Visual C++.
8867 if test "$GCC" != yes; then
8872 # we just hope/assume this is gcc and not c89 (= MSVC++)
8882 # On some targets, GNU ld is compatible enough with the native linker
8883 # that we're better off using the native interface for both.
8884 lt_use_gnu_ld_interface=no
8885 if test "$with_gnu_ld" = yes; then
8888 # The AIX port of GNU ld has always aspired to compatibility
8889 # with the native linker. However, as the warning in the GNU ld
8890 # block says, versions before 2.19.5* couldn't really create working
8891 # shared libraries, regardless of the interface used.
8892 case `$LD -v 2>&1` in
8893 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8894 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8895 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8897 lt_use_gnu_ld_interface=yes
8902 lt_use_gnu_ld_interface=yes
8907 if test "$lt_use_gnu_ld_interface" = yes; then
8908 # If archive_cmds runs LD, not CC, wlarc should be empty
8911 # Set some defaults for GNU ld with shared library support. These
8912 # are reset later if shared libraries are not supported. Putting them
8913 # here allows them to be overridden if necessary.
8914 runpath_var=LD_RUN_PATH
8915 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8916 export_dynamic_flag_spec='${wl}--export-dynamic'
8917 # ancient GNU ld didn't support --whole-archive et. al.
8918 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8919 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8921 whole_archive_flag_spec=
8923 supports_anon_versioning=no
8924 case `$LD -v 2>&1` in
8925 *GNU\ gold*) supports_anon_versioning=yes ;;
8926 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8927 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8928 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8929 *\ 2.11.*) ;; # other 2.11 versions
8930 *) supports_anon_versioning=yes ;;
8933 # See if GNU ld supports shared libraries.
8936 # On AIX/PPC, the GNU linker is very broken
8937 if test "$host_cpu" != ia64; then
8941 *** Warning: the GNU linker, at least up to release 2.19, is reported
8942 *** to be unable to reliably create shared libraries on AIX.
8943 *** Therefore, libtool is disabling shared libraries support. If you
8944 *** really care for shared libraries, you may want to install binutils
8945 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8946 *** You will then need to restart the configuration process.
8955 # see comment about AmigaOS4 .so support
8956 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957 archive_expsym_cmds=''
8960 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)'
8961 hardcode_libdir_flag_spec='-L$libdir'
8962 hardcode_minus_L=yes
8968 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8969 allow_undefined_flag=unsupported
8970 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8971 # support --undefined. This deserves some investigation. FIXME
8972 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8978 cygwin* | mingw* | pw32* | cegcc*)
8979 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8980 # as there is no search path for DLLs.
8981 hardcode_libdir_flag_spec='-L$libdir'
8982 export_dynamic_flag_spec='${wl}--export-all-symbols'
8983 allow_undefined_flag=unsupported
8984 always_export_symbols=no
8985 enable_shared_with_static_runtimes=yes
8986 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'
8987 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8989 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8991 # If the export-symbols file already is a .def file (1st line
8992 # is EXPORTS), use it as is; otherwise, prepend...
8993 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8994 cp $export_symbols $output_objdir/$soname.def;
8996 echo EXPORTS > $output_objdir/$soname.def;
8997 cat $export_symbols >> $output_objdir/$soname.def;
8999 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9006 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9007 link_all_deplibs=yes
9012 hardcode_shlibpath_var=no
9013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9014 export_dynamic_flag_spec='${wl}-E'
9015 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9016 # Instead, shared libraries are loaded at an image base (0x10000000 by
9017 # default) and relocated if they conflict, which is a slow very memory
9018 # consuming and fragmenting process. To avoid this, we pick a random,
9019 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9020 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9021 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9022 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'
9025 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9027 if test "$host_os" = linux-dietlibc; then
9028 case $cc_basename in
9029 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9032 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9033 && test "$tmp_diet" = no
9035 tmp_addflag=' $pic_flag'
9036 tmp_sharedflag='-shared'
9037 case $cc_basename,$host_cpu in
9038 pgcc*) # Portland Group C compiler
9039 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'
9040 tmp_addflag=' $pic_flag'
9042 pgf77* | pgf90* | pgf95* | pgfortran*)
9043 # Portland Group f77 and f90 compilers
9044 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'
9045 tmp_addflag=' $pic_flag -Mnomain' ;;
9046 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9047 tmp_addflag=' -i_dynamic' ;;
9048 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9049 tmp_addflag=' -i_dynamic -nofor_main' ;;
9050 ifc* | ifort*) # Intel Fortran compiler
9051 tmp_addflag=' -nofor_main' ;;
9052 lf95*) # Lahey Fortran 8.1
9053 whole_archive_flag_spec=
9054 tmp_sharedflag='--shared' ;;
9055 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9056 tmp_sharedflag='-qmkshrobj'
9058 nvcc*) # Cuda Compiler Driver 2.2
9059 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'
9060 compiler_needs_object=yes
9063 case `$CC -V 2>&1 | sed 5q` in
9064 *Sun\ C*) # Sun C 5.9
9065 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'
9066 compiler_needs_object=yes
9067 tmp_sharedflag='-G' ;;
9068 *Sun\ F*) # Sun Fortran 8.3
9069 tmp_sharedflag='-G' ;;
9071 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9073 if test "x$supports_anon_versioning" = xyes; then
9074 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9075 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9076 echo "local: *; };" >> $output_objdir/$libname.ver~
9077 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9080 case $cc_basename in
9081 xlf* | bgf* | bgxlf* | mpixlf*)
9082 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9083 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9084 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9085 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9086 if test "x$supports_anon_versioning" = xyes; then
9087 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9088 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9089 echo "local: *; };" >> $output_objdir/$libname.ver~
9090 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9100 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9101 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9104 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9110 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9114 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9115 *** create shared libraries on Solaris systems. Therefore, libtool
9116 *** is disabling shared libraries support. We urge you to upgrade GNU
9117 *** binutils to release 2.9.1 or newer. Another option is to modify
9118 *** your PATH or compiler configuration so that the native linker is
9119 *** used, and then restart.
9122 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9123 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9124 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9130 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9131 case `$LD -v 2>&1` in
9132 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9136 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9137 *** reliably create shared libraries on SCO systems. Therefore, libtool
9138 *** is disabling shared libraries support. We urge you to upgrade GNU
9139 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9140 *** your PATH or compiler configuration so that the native linker is
9141 *** used, and then restart.
9146 # For security reasons, it is highly recommended that you always
9147 # use absolute paths for naming shared libraries, and exclude the
9148 # DT_RUNPATH tag from executables and libraries. But doing so
9149 # requires that you compile everything twice, which is a pain.
9150 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9151 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9152 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9162 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9165 hardcode_shlibpath_var=no
9169 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9170 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9178 if test "$ld_shlibs" = no; then
9180 hardcode_libdir_flag_spec=
9181 export_dynamic_flag_spec=
9182 whole_archive_flag_spec=
9185 # PORTME fill in a description of your system's linker (not GNU ld)
9188 allow_undefined_flag=unsupported
9189 always_export_symbols=yes
9190 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'
9191 # Note: this linker hardcodes the directories in LIBPATH if there
9192 # are no directories specified by -L.
9193 hardcode_minus_L=yes
9194 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9195 # Neither direct hardcoding nor static linking is supported with a
9197 hardcode_direct=unsupported
9202 if test "$host_cpu" = ia64; then
9203 # On IA64, the linker does run time linking by default, so we don't
9204 # have to do anything special.
9205 aix_use_runtimelinking=no
9206 exp_sym_flag='-Bexport'
9209 # If we're using GNU nm, then we don't want the "-C" option.
9210 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9211 # Also, AIX nm treats weak defined symbols like other global
9212 # defined symbols, whereas GNU nm marks them as "W".
9213 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9214 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'
9216 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'
9218 aix_use_runtimelinking=no
9220 # Test if we are trying to use run time linking or normal
9221 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9222 # need to do runtime linking.
9223 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9224 for ld_flag in $LDFLAGS; do
9225 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9226 aix_use_runtimelinking=yes
9233 exp_sym_flag='-bexport'
9234 no_entry_flag='-bnoentry'
9237 # When large executables or shared objects are built, AIX ld can
9238 # have problems creating the table of contents. If linking a library
9239 # or program results in "error TOC overflow" add -mminimal-toc to
9240 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9241 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9245 hardcode_direct_absolute=yes
9246 hardcode_libdir_separator=':'
9247 link_all_deplibs=yes
9248 file_list_spec='${wl}-f,'
9250 if test "$GCC" = yes; then
9251 case $host_os in aix4.[012]|aix4.[012].*)
9252 # We only want to do this on AIX 4.2 and lower, the check
9253 # below for broken collect2 doesn't work under 4.3+
9254 collect2name=`${CC} -print-prog-name=collect2`
9255 if test -f "$collect2name" &&
9256 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9258 # We have reworked collect2
9261 # We have old collect2
9262 hardcode_direct=unsupported
9263 # It fails to find uninstalled libraries when the uninstalled
9264 # path is not listed in the libpath. Setting hardcode_minus_L
9265 # to unsupported forces relinking
9266 hardcode_minus_L=yes
9267 hardcode_libdir_flag_spec='-L$libdir'
9268 hardcode_libdir_separator=
9272 shared_flag='-shared'
9273 if test "$aix_use_runtimelinking" = yes; then
9274 shared_flag="$shared_flag "'${wl}-G'
9278 if test "$host_cpu" = ia64; then
9279 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9280 # chokes on -Wl,-G. The following line is correct:
9283 if test "$aix_use_runtimelinking" = yes; then
9284 shared_flag='${wl}-G'
9286 shared_flag='${wl}-bM:SRE'
9291 export_dynamic_flag_spec='${wl}-bexpall'
9292 # It seems that -bexpall does not export symbols beginning with
9293 # underscore (_), so it is better to generate a list of symbols to export.
9294 always_export_symbols=yes
9295 if test "$aix_use_runtimelinking" = yes; then
9296 # Warning - without using the other runtime loading flags (-brtl),
9297 # -berok will link without error, but may produce a broken library.
9298 allow_undefined_flag='-berok'
9299 # Determine the default libpath from the value encoded in an
9301 if test "${lt_cv_aix_libpath+set}" = set; then
9302 aix_libpath=$lt_cv_aix_libpath
9304 if ${lt_cv_aix_libpath_+:} false; then :
9305 $as_echo_n "(cached) " >&6
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9318 if ac_fn_c_try_link "$LINENO"; then :
9320 lt_aix_libpath_sed='
9321 /Import File Strings/,/^$/ {
9323 s/^0 *\([^ ]*\) *$/\1/
9327 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9328 # Check for a 64-bit object if we didn't find anything.
9329 if test -z "$lt_cv_aix_libpath_"; then
9330 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 if test -z "$lt_cv_aix_libpath_"; then
9336 lt_cv_aix_libpath_="/usr/lib:/lib"
9341 aix_libpath=$lt_cv_aix_libpath_
9344 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9345 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"
9347 if test "$host_cpu" = ia64; then
9348 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9349 allow_undefined_flag="-z nodefs"
9350 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"
9352 # Determine the default libpath from the value encoded in an
9354 if test "${lt_cv_aix_libpath+set}" = set; then
9355 aix_libpath=$lt_cv_aix_libpath
9357 if ${lt_cv_aix_libpath_+:} false; then :
9358 $as_echo_n "(cached) " >&6
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9371 if ac_fn_c_try_link "$LINENO"; then :
9373 lt_aix_libpath_sed='
9374 /Import File Strings/,/^$/ {
9376 s/^0 *\([^ ]*\) *$/\1/
9380 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 # Check for a 64-bit object if we didn't find anything.
9382 if test -z "$lt_cv_aix_libpath_"; then
9383 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9386 rm -f core conftest.err conftest.$ac_objext \
9387 conftest$ac_exeext conftest.$ac_ext
9388 if test -z "$lt_cv_aix_libpath_"; then
9389 lt_cv_aix_libpath_="/usr/lib:/lib"
9394 aix_libpath=$lt_cv_aix_libpath_
9397 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9398 # Warning - without using the other run time loading flags,
9399 # -berok will link without error, but may produce a broken library.
9400 no_undefined_flag=' ${wl}-bernotok'
9401 allow_undefined_flag=' ${wl}-berok'
9402 if test "$with_gnu_ld" = yes; then
9403 # We only use this code for GNU lds that support --whole-archive.
9404 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9406 # Exported symbols can be pulled into shared objects from archives
9407 whole_archive_flag_spec='$convenience'
9409 archive_cmds_need_lc=yes
9410 # This is similar to how AIX traditionally builds its shared libraries.
9411 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'
9419 # see comment about AmigaOS4 .so support
9420 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9421 archive_expsym_cmds=''
9424 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)'
9425 hardcode_libdir_flag_spec='-L$libdir'
9426 hardcode_minus_L=yes
9432 export_dynamic_flag_spec=-rdynamic
9435 cygwin* | mingw* | pw32* | cegcc*)
9436 # When not using gcc, we currently assume that we are using
9437 # Microsoft Visual C++.
9438 # hardcode_libdir_flag_spec is actually meaningless, as there is
9439 # no search path for DLLs.
9440 case $cc_basename in
9443 hardcode_libdir_flag_spec=' '
9444 allow_undefined_flag=unsupported
9445 always_export_symbols=yes
9447 # Tell ltmain to make .lib files, not .a files.
9449 # Tell ltmain to make .dll files, not .so files.
9451 # FIXME: Setting linknames here is a bad hack.
9452 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9453 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9454 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9456 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9458 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9460 # The linker will not automatically build a static lib if we build a DLL.
9461 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9462 enable_shared_with_static_runtimes=yes
9463 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9464 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9466 old_postinstall_cmds='chmod 644 $oldlib'
9467 postlink_cmds='lt_outputfile="@OUTPUT@"~
9468 lt_tool_outputfile="@TOOL_OUTPUT@"~
9469 case $lt_outputfile in
9472 lt_outputfile="$lt_outputfile.exe"
9473 lt_tool_outputfile="$lt_tool_outputfile.exe"
9476 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9477 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9478 $RM "$lt_outputfile.manifest";
9482 # Assume MSVC wrapper
9483 hardcode_libdir_flag_spec=' '
9484 allow_undefined_flag=unsupported
9485 # Tell ltmain to make .lib files, not .a files.
9487 # Tell ltmain to make .dll files, not .so files.
9489 # FIXME: Setting linknames here is a bad hack.
9490 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9491 # The linker will automatically build a .lib file if we build a DLL.
9492 old_archive_from_new_cmds='true'
9493 # FIXME: Should let the user specify the lib program.
9494 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9495 enable_shared_with_static_runtimes=yes
9500 darwin* | rhapsody*)
9503 archive_cmds_need_lc=no
9505 hardcode_automatic=yes
9506 hardcode_shlibpath_var=unsupported
9507 if test "$lt_cv_ld_force_load" = "yes"; then
9508 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\"`'
9511 whole_archive_flag_spec=''
9513 link_all_deplibs=yes
9514 allow_undefined_flag="$_lt_dar_allow_undefined"
9515 case $cc_basename in
9516 ifort*) _lt_dar_can_shared=yes ;;
9517 *) _lt_dar_can_shared=$GCC ;;
9519 if test "$_lt_dar_can_shared" = "yes"; then
9520 output_verbose_link_cmd=func_echo_all
9521 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9522 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9523 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}"
9524 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}"
9533 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9534 hardcode_libdir_flag_spec='-L$libdir'
9535 hardcode_shlibpath_var=no
9538 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9539 # support. Future versions do this automatically, but an explicit c++rt0.o
9540 # does not break anything, and helps significantly (at the cost of a little
9543 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9544 hardcode_libdir_flag_spec='-R$libdir'
9546 hardcode_shlibpath_var=no
9549 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9551 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9553 hardcode_minus_L=yes
9554 hardcode_shlibpath_var=no
9557 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9558 freebsd* | dragonfly*)
9559 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9560 hardcode_libdir_flag_spec='-R$libdir'
9562 hardcode_shlibpath_var=no
9566 if test "$GCC" = yes; then
9567 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'
9569 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'
9571 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9572 hardcode_libdir_separator=:
9575 # hardcode_minus_L: Not really in the search PATH,
9576 # but as the default location of the library.
9577 hardcode_minus_L=yes
9578 export_dynamic_flag_spec='${wl}-E'
9582 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9583 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9587 if test "$with_gnu_ld" = no; then
9588 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9589 hardcode_libdir_separator=:
9591 hardcode_direct_absolute=yes
9592 export_dynamic_flag_spec='${wl}-E'
9593 # hardcode_minus_L: Not really in the search PATH,
9594 # but as the default location of the library.
9595 hardcode_minus_L=yes
9600 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9603 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9615 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9618 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9622 # Older versions of the 11.00 compiler do not understand -b yet
9623 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9625 $as_echo_n "checking if $CC understands -b... " >&6; }
9626 if ${lt_cv_prog_compiler__b+:} false; then :
9627 $as_echo_n "(cached) " >&6
9629 lt_cv_prog_compiler__b=no
9630 save_LDFLAGS="$LDFLAGS"
9631 LDFLAGS="$LDFLAGS -b"
9632 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9633 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9634 # The linker can only warn and ignore the option if not recognized
9635 # So say no if there are warnings
9636 if test -s conftest.err; then
9637 # Append any errors to the config.log.
9638 cat conftest.err 1>&5
9639 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9640 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9641 if diff conftest.exp conftest.er2 >/dev/null; then
9642 lt_cv_prog_compiler__b=yes
9645 lt_cv_prog_compiler__b=yes
9649 LDFLAGS="$save_LDFLAGS"
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9653 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9655 if test x"$lt_cv_prog_compiler__b" = xyes; then
9656 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9664 if test "$with_gnu_ld" = no; then
9665 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9666 hardcode_libdir_separator=:
9671 hardcode_shlibpath_var=no
9675 hardcode_direct_absolute=yes
9676 export_dynamic_flag_spec='${wl}-E'
9678 # hardcode_minus_L: Not really in the search PATH,
9679 # but as the default location of the library.
9680 hardcode_minus_L=yes
9686 irix5* | irix6* | nonstopux*)
9687 if test "$GCC" = yes; then
9688 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'
9689 # Try to use the -exported_symbol ld option, if it does not
9690 # work, assume that -exports_file does not work either and
9691 # implicitly export all symbols.
9692 # This should be the same for all languages, so no per-tag cache variable.
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9694 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9695 if ${lt_cv_irix_exported_symbol+:} false; then :
9696 $as_echo_n "(cached) " >&6
9698 save_LDFLAGS="$LDFLAGS"
9699 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9702 int foo (void) { return 0; }
9704 if ac_fn_c_try_link "$LINENO"; then :
9705 lt_cv_irix_exported_symbol=yes
9707 lt_cv_irix_exported_symbol=no
9709 rm -f core conftest.err conftest.$ac_objext \
9710 conftest$ac_exeext conftest.$ac_ext
9711 LDFLAGS="$save_LDFLAGS"
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9714 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9715 if test "$lt_cv_irix_exported_symbol" = yes; then
9716 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'
9719 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'
9720 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'
9722 archive_cmds_need_lc='no'
9723 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9724 hardcode_libdir_separator=:
9726 link_all_deplibs=yes
9730 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9733 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9735 hardcode_libdir_flag_spec='-R$libdir'
9737 hardcode_shlibpath_var=no
9741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9743 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9744 hardcode_libdir_separator=:
9745 hardcode_shlibpath_var=no
9752 if test -f /usr/libexec/ld.so; then
9754 hardcode_shlibpath_var=no
9755 hardcode_direct_absolute=yes
9756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9757 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9759 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9760 export_dynamic_flag_spec='${wl}-E'
9763 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9764 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9765 hardcode_libdir_flag_spec='-R$libdir'
9768 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9769 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9779 hardcode_libdir_flag_spec='-L$libdir'
9780 hardcode_minus_L=yes
9781 allow_undefined_flag=unsupported
9782 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'
9783 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9787 if test "$GCC" = yes; then
9788 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9789 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'
9791 allow_undefined_flag=' -expect_unresolved \*'
9792 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'
9794 archive_cmds_need_lc='no'
9795 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9796 hardcode_libdir_separator=:
9799 osf4* | osf5*) # as osf3* with the addition of -msym flag
9800 if test "$GCC" = yes; then
9801 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9802 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'
9803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9805 allow_undefined_flag=' -expect_unresolved \*'
9806 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'
9807 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~
9808 $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'
9810 # Both c and cxx compiler support -rpath directly
9811 hardcode_libdir_flag_spec='-rpath $libdir'
9813 archive_cmds_need_lc='no'
9814 hardcode_libdir_separator=:
9818 no_undefined_flag=' -z defs'
9819 if test "$GCC" = yes; then
9821 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9822 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9823 $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'
9825 case `$CC -V 2>&1` in
9828 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9829 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9830 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9834 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9836 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9840 hardcode_libdir_flag_spec='-R$libdir'
9841 hardcode_shlibpath_var=no
9843 solaris2.[0-5] | solaris2.[0-5].*) ;;
9845 # The compiler driver will combine and reorder linker options,
9846 # but understands `-z linker_flag'. GCC discards it without `$wl',
9847 # but is careful enough not to reorder.
9848 # Supported since Solaris 2.6 (maybe 2.5.1?)
9849 if test "$GCC" = yes; then
9850 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9852 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9856 link_all_deplibs=yes
9860 if test "x$host_vendor" = xsequent; then
9861 # Use $CC to link under sequent, because it throws in some extra .o
9862 # files that make .init and .fini sections work.
9863 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9867 hardcode_libdir_flag_spec='-L$libdir'
9869 hardcode_minus_L=yes
9870 hardcode_shlibpath_var=no
9874 case $host_vendor in
9876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_direct=yes # is this really true???
9880 ## LD is ld it makes a PLAMLIB
9881 ## CC just makes a GrossModule.
9882 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9883 reload_cmds='$CC -r -o $output$reload_objs'
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9891 runpath_var='LD_RUN_PATH'
9892 hardcode_shlibpath_var=no
9896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_shlibpath_var=no
9898 export_dynamic_flag_spec='-Bexport'
9902 if test -d /usr/nec; then
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_shlibpath_var=no
9905 runpath_var=LD_RUN_PATH
9906 hardcode_runpath_var=yes
9911 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9912 no_undefined_flag='${wl}-z,text'
9913 archive_cmds_need_lc=no
9914 hardcode_shlibpath_var=no
9915 runpath_var='LD_RUN_PATH'
9917 if test "$GCC" = yes; then
9918 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9921 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9926 sysv5* | sco3.2v5* | sco5v6*)
9927 # Note: We can NOT use -z defs as we might desire, because we do not
9928 # link with -lc, and that would cause any symbols used from libc to
9929 # always be unresolved, which means just about no library would
9930 # ever link correctly. If we're not using GNU ld we use -z text
9931 # though, which does catch some bad symbols but isn't as heavy-handed
9933 no_undefined_flag='${wl}-z,text'
9934 allow_undefined_flag='${wl}-z,nodefs'
9935 archive_cmds_need_lc=no
9936 hardcode_shlibpath_var=no
9937 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9938 hardcode_libdir_separator=':'
9939 link_all_deplibs=yes
9940 export_dynamic_flag_spec='${wl}-Bexport'
9941 runpath_var='LD_RUN_PATH'
9943 if test "$GCC" = yes; then
9944 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec='-L$libdir'
9955 hardcode_shlibpath_var=no
9963 if test x$host_vendor = xsni; then
9965 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9966 export_dynamic_flag_spec='${wl}-Blargedynsym'
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9973 $as_echo "$ld_shlibs" >&6; }
9974 test "$ld_shlibs" = no && can_build_shared=no
9976 with_gnu_ld=$with_gnu_ld
9993 # Do we need to explicitly link libc?
9995 case "x$archive_cmds_need_lc" in
9997 # Assume -lc should be added
9998 archive_cmds_need_lc=yes
10000 if test "$enable_shared" = yes && test "$GCC" = yes; then
10001 case $archive_cmds in
10003 # FIXME: we may have to deal with multi-command sequences.
10006 # Test whether the compiler implicitly links with -lc since on some
10007 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10008 # to ld, don't add -lc before -lgcc.
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10010 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10011 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10012 $as_echo_n "(cached) " >&6
10015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10018 (eval $ac_compile) 2>&5
10020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10021 test $ac_status = 0; } 2>conftest.err; then
10024 libobjs=conftest.$ac_objext
10026 wl=$lt_prog_compiler_wl
10027 pic_flag=$lt_prog_compiler_pic
10033 lt_save_allow_undefined_flag=$allow_undefined_flag
10034 allow_undefined_flag=
10035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10036 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10039 test $ac_status = 0; }
10041 lt_cv_archive_cmds_need_lc=no
10043 lt_cv_archive_cmds_need_lc=yes
10045 allow_undefined_flag=$lt_save_allow_undefined_flag
10047 cat conftest.err 1>&5
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10053 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10054 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10213 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10215 if test "$GCC" = yes; then
10217 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10218 *) lt_awk_arg="/^libraries:/" ;;
10221 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10222 *) lt_sed_strip_eq="s,=/,/,g" ;;
10224 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10225 case $lt_search_path_spec in
10227 # if the path contains ";" then we assume it to be the separator
10228 # otherwise default to the standard path separator (i.e. ":") - it is
10229 # assumed that no part of a normal pathname contains ";" but that should
10230 # okay in the real world where ";" in dirpaths is itself problematic.
10231 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10234 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10237 # Ok, now we have the path, separated by spaces, we can step through it
10238 # and add multilib dir if necessary.
10239 lt_tmp_lt_search_path_spec=
10240 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10241 for lt_sys_path in $lt_search_path_spec; do
10242 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10243 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10245 test -d "$lt_sys_path" && \
10246 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10249 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10250 BEGIN {RS=" "; FS="/|\n";} {
10253 for (lt_i = NF; lt_i > 0; lt_i--) {
10254 if ($lt_i != "" && $lt_i != ".") {
10255 if ($lt_i == "..") {
10258 if (lt_count == 0) {
10259 lt_foo="/" $lt_i lt_foo;
10266 if (lt_foo != "") { lt_freq[lt_foo]++; }
10267 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10269 # AWK program above erroneously prepends '/' to C:/dos/paths
10272 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10273 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10275 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10277 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10279 library_names_spec=
10280 libname_spec='lib$name'
10284 postuninstall_cmds=
10288 shlibpath_overrides_runpath=unknown
10290 dynamic_linker="$host_os ld.so"
10291 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10292 need_lib_prefix=unknown
10293 hardcode_into_libs=no
10295 # when you set need_version to no, make sure it does not cause -set_version
10296 # flags to be left without arguments
10297 need_version=unknown
10301 version_type=linux # correct to gnu/linux during the next big refactor
10302 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10303 shlibpath_var=LIBPATH
10305 # AIX 3 has no versioning support, so we append a major version to the name.
10306 soname_spec='${libname}${release}${shared_ext}$major'
10310 version_type=linux # correct to gnu/linux during the next big refactor
10313 hardcode_into_libs=yes
10314 if test "$host_cpu" = ia64; then
10315 # AIX 5 supports IA64
10316 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10317 shlibpath_var=LD_LIBRARY_PATH
10319 # With GCC up to 2.95.x, collect2 would create an import file
10320 # for dependence libraries. The import file would start with
10321 # the line `#! .'. This would cause the generated library to
10322 # depend on `.', always an invalid library. This was fixed in
10323 # development snapshots of GCC prior to 3.0.
10325 aix4 | aix4.[01] | aix4.[01].*)
10326 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10328 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10331 can_build_shared=no
10335 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10336 # soname into executable. Probably we can add versioning support to
10337 # collect2, so additional links can be useful in future.
10338 if test "$aix_use_runtimelinking" = yes; then
10339 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10340 # instead of lib<name>.a to let people know that these are not
10341 # typical AIX shared libraries.
10342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 # We preserve .a as extension for shared libraries through AIX4.2
10345 # and later when we are not doing run time linking.
10346 library_names_spec='${libname}${release}.a $libname.a'
10347 soname_spec='${libname}${release}${shared_ext}$major'
10349 shlibpath_var=LIBPATH
10356 # Since July 2007 AmigaOS4 officially supports .so libraries.
10357 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 library_names_spec='$libname.ixlibrary $libname.a'
10362 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10363 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'
10369 library_names_spec='${libname}${shared_ext}'
10370 dynamic_linker="$host_os ld.so"
10371 shlibpath_var=LIBRARY_PATH
10375 version_type=linux # correct to gnu/linux during the next big refactor
10377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378 soname_spec='${libname}${release}${shared_ext}$major'
10379 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10380 shlibpath_var=LD_LIBRARY_PATH
10381 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10382 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10383 # the default ld.so.conf also contains /usr/contrib/lib and
10384 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10385 # libtool to hard-code these into programs
10388 cygwin* | mingw* | pw32* | cegcc*)
10389 version_type=windows
10394 case $GCC,$cc_basename in
10397 library_names_spec='$libname.dll.a'
10398 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10399 postinstall_cmds='base_file=`basename \${file}`~
10400 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10401 dldir=$destdir/`dirname \$dlpath`~
10402 test -d \$dldir || mkdir -p \$dldir~
10403 $install_prog $dir/$dlname \$dldir/$dlname~
10404 chmod a+x \$dldir/$dlname~
10405 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10406 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10408 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10409 dlpath=$dir/\$dldll~
10411 shlibpath_overrides_runpath=yes
10415 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10416 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10418 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10421 # MinGW DLLs use traditional 'lib' prefix
10422 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10425 # pw32 DLLs use 'pw' prefix rather than 'lib'
10426 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10429 dynamic_linker='Win32 ld.exe'
10434 libname_spec='$name'
10435 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10436 library_names_spec='${libname}.dll.lib'
10440 sys_lib_search_path_spec=
10443 for lt_path in $LIB
10446 # Let DOS variable expansion print the short 8.3 style file name.
10447 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10448 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10451 # Convert to MSYS style.
10452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10455 # Convert to unix form, then to dos form, then back to unix form
10456 # but this time dos style (no spaces!) so that the unix form looks
10457 # like /cygdrive/c/PROGRA~1:/cygdr...
10458 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10459 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10460 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10463 sys_lib_search_path_spec="$LIB"
10464 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10465 # It is most probably a Windows format PATH.
10466 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10468 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10470 # FIXME: find the short name or the path components, as spaces are
10471 # common. (e.g. "Program Files" -> "PROGRA~1")
10475 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10476 postinstall_cmds='base_file=`basename \${file}`~
10477 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10478 dldir=$destdir/`dirname \$dlpath`~
10479 test -d \$dldir || mkdir -p \$dldir~
10480 $install_prog $dir/$dlname \$dldir/$dlname'
10481 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10482 dlpath=$dir/\$dldll~
10484 shlibpath_overrides_runpath=yes
10485 dynamic_linker='Win32 link.exe'
10489 # Assume MSVC wrapper
10490 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10491 dynamic_linker='Win32 ld.exe'
10494 # FIXME: first we should search . and the directory the executable is in
10498 darwin* | rhapsody*)
10499 dynamic_linker="$host_os dyld"
10500 version_type=darwin
10503 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10504 soname_spec='${libname}${release}${major}$shared_ext'
10505 shlibpath_overrides_runpath=yes
10506 shlibpath_var=DYLD_LIBRARY_PATH
10507 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10509 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10510 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10514 version_type=linux # correct to gnu/linux during the next big refactor
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10518 soname_spec='${libname}${release}${shared_ext}$major'
10519 shlibpath_var=LD_LIBRARY_PATH
10522 freebsd* | dragonfly*)
10523 # DragonFly does not have aout. When/if they implement a new
10524 # versioning mechanism, adjust this.
10525 if test -x /usr/bin/objformat; then
10526 objformat=`/usr/bin/objformat`
10529 freebsd[23].*) objformat=aout ;;
10530 *) objformat=elf ;;
10533 version_type=freebsd-$objformat
10534 case $version_type in
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10545 shlibpath_var=LD_LIBRARY_PATH
10548 shlibpath_overrides_runpath=yes
10550 freebsd3.[01]* | freebsdelf3.[01]*)
10551 shlibpath_overrides_runpath=yes
10552 hardcode_into_libs=yes
10554 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10555 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10556 shlibpath_overrides_runpath=no
10557 hardcode_into_libs=yes
10559 *) # from 4.6 on, and DragonFly
10560 shlibpath_overrides_runpath=yes
10561 hardcode_into_libs=yes
10567 version_type=linux # correct to gnu/linux during the next big refactor
10570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10571 soname_spec='${libname}${release}${shared_ext}$major'
10572 shlibpath_var=LD_LIBRARY_PATH
10573 shlibpath_overrides_runpath=no
10574 hardcode_into_libs=yes
10578 version_type=linux # correct to gnu/linux during the next big refactor
10581 dynamic_linker="$host_os runtime_loader"
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10583 soname_spec='${libname}${release}${shared_ext}$major'
10584 shlibpath_var=LIBRARY_PATH
10585 shlibpath_overrides_runpath=yes
10586 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10587 hardcode_into_libs=yes
10590 hpux9* | hpux10* | hpux11*)
10591 # Give a soname corresponding to the major version so that dld.sl refuses to
10592 # link against other versions.
10599 hardcode_into_libs=yes
10600 dynamic_linker="$host_os dld.so"
10601 shlibpath_var=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 if test "X$HPUX_IA64_MODE" = X32; then
10606 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10608 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10610 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10614 hardcode_into_libs=yes
10615 dynamic_linker="$host_os dld.sl"
10616 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10617 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10621 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10625 dynamic_linker="$host_os dld.sl"
10626 shlibpath_var=SHLIB_PATH
10627 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10632 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10633 postinstall_cmds='chmod 555 $lib'
10634 # or fails outright, so override atomically:
10635 install_override_mode=555
10639 version_type=linux # correct to gnu/linux during the next big refactor
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10645 shlibpath_var=LD_LIBRARY_PATH
10646 shlibpath_overrides_runpath=no
10647 hardcode_into_libs=yes
10650 irix5* | irix6* | nonstopux*)
10652 nonstopux*) version_type=nonstopux ;;
10654 if test "$lt_cv_prog_gnu_ld" = yes; then
10655 version_type=linux # correct to gnu/linux during the next big refactor
10662 soname_spec='${libname}${release}${shared_ext}$major'
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10665 irix5* | nonstopux*)
10666 libsuff= shlibsuff=
10669 case $LD in # libtool.m4 will add one of these switches to LD
10670 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10671 libsuff= shlibsuff= libmagic=32-bit;;
10672 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10673 libsuff=32 shlibsuff=N32 libmagic=N32;;
10674 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10675 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10676 *) libsuff= shlibsuff= libmagic=never-match;;
10680 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10681 shlibpath_overrides_runpath=no
10682 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10683 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10684 hardcode_into_libs=yes
10687 # No shared lib support for Linux oldld, aout, or coff.
10688 linux*oldld* | linux*aout* | linux*coff*)
10692 # This must be glibc/ELF.
10693 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10694 version_type=linux # correct to gnu/linux during the next big refactor
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10700 shlibpath_var=LD_LIBRARY_PATH
10701 shlibpath_overrides_runpath=no
10703 # Some binutils ld are patched to set DT_RUNPATH
10704 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10705 $as_echo_n "(cached) " >&6
10707 lt_cv_shlibpath_overrides_runpath=no
10708 save_LDFLAGS=$LDFLAGS
10709 save_libdir=$libdir
10710 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10711 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10725 lt_cv_shlibpath_overrides_runpath=yes
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LDFLAGS=$save_LDFLAGS
10731 libdir=$save_libdir
10735 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10737 # This implies no fast_install, which is unacceptable.
10738 # Some rework will be needed to allow for fast_install
10739 # before this can be enabled.
10740 hardcode_into_libs=yes
10742 # Append ld.so.conf contents to the search path
10743 if test -f /etc/ld.so.conf; then
10744 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' ' '`
10745 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10748 # We used to test for /lib/ld.so.1 and disable shared libraries on
10749 # powerpc, because MkLinux only supported shared libraries with the
10750 # GNU dynamic linker. Since this was broken with cross compilers,
10751 # most powerpc-linux boxes support dynamic linking these days and
10752 # people can always --disable-shared, the test was removed, and we
10753 # assume the GNU/Linux dynamic linker is in use.
10754 dynamic_linker='GNU/Linux ld.so'
10761 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10763 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10764 dynamic_linker='NetBSD (a.out) ld.so'
10766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10767 soname_spec='${libname}${release}${shared_ext}$major'
10768 dynamic_linker='NetBSD ld.elf_so'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 shlibpath_overrides_runpath=yes
10772 hardcode_into_libs=yes
10776 version_type=linux # correct to gnu/linux during the next big refactor
10777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778 shlibpath_var=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath=yes
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 shlibpath_var=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath=no
10790 hardcode_into_libs=yes
10791 dynamic_linker='ldqnx.so'
10796 sys_lib_dlsearch_path_spec="/usr/lib"
10798 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10800 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10801 *) need_version=no ;;
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10804 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10805 shlibpath_var=LD_LIBRARY_PATH
10806 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10808 openbsd2.[89] | openbsd2.[89].*)
10809 shlibpath_overrides_runpath=no
10812 shlibpath_overrides_runpath=yes
10816 shlibpath_overrides_runpath=yes
10821 libname_spec='$name'
10824 library_names_spec='$libname${shared_ext} $libname.a'
10825 dynamic_linker='OS/2 ld.exe'
10826 shlibpath_var=LIBPATH
10829 osf3* | osf4* | osf5*)
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 shlibpath_var=LD_LIBRARY_PATH
10836 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10837 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10845 version_type=linux # correct to gnu/linux during the next big refactor
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 soname_spec='${libname}${release}${shared_ext}$major'
10850 shlibpath_var=LD_LIBRARY_PATH
10851 shlibpath_overrides_runpath=yes
10852 hardcode_into_libs=yes
10853 # ldd complains unless libraries are executable
10854 postinstall_cmds='chmod +x $lib'
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10860 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10861 shlibpath_var=LD_LIBRARY_PATH
10862 shlibpath_overrides_runpath=yes
10863 if test "$with_gnu_ld" = yes; then
10870 version_type=linux # correct to gnu/linux during the next big refactor
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 shlibpath_var=LD_LIBRARY_PATH
10874 case $host_vendor in
10876 shlibpath_overrides_runpath=no
10878 runpath_var=LD_RUN_PATH
10886 shlibpath_overrides_runpath=no
10887 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10893 if test -d /usr/nec ;then
10894 version_type=linux # correct to gnu/linux during the next big refactor
10895 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10896 soname_spec='$libname${shared_ext}.$major'
10897 shlibpath_var=LD_LIBRARY_PATH
10901 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10902 version_type=freebsd-elf
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10910 if test "$with_gnu_ld" = yes; then
10911 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10913 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10916 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10920 sys_lib_dlsearch_path_spec='/usr/lib'
10924 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10925 version_type=linux # correct to gnu/linux during the next big refactor
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 shlibpath_overrides_runpath=no
10931 hardcode_into_libs=yes
10935 version_type=linux # correct to gnu/linux during the next big refactor
10936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10937 soname_spec='${libname}${release}${shared_ext}$major'
10938 shlibpath_var=LD_LIBRARY_PATH
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10946 $as_echo "$dynamic_linker" >&6; }
10947 test "$dynamic_linker" = no && can_build_shared=no
10949 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10950 if test "$GCC" = yes; then
10951 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10954 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10955 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10957 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10958 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11053 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11055 if test -n "$hardcode_libdir_flag_spec" ||
11056 test -n "$runpath_var" ||
11057 test "X$hardcode_automatic" = "Xyes" ; then
11059 # We can hardcode non-existent directories.
11060 if test "$hardcode_direct" != no &&
11061 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11062 # have to relink, otherwise we might link with an installed library
11063 # when we should be linking with a yet-to-be-installed one
11064 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11065 test "$hardcode_minus_L" != no; then
11066 # Linking always hardcodes the temporary library directory.
11067 hardcode_action=relink
11069 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11070 hardcode_action=immediate
11073 # We cannot hardcode anything, or else we can only hardcode existing
11075 hardcode_action=unsupported
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11078 $as_echo "$hardcode_action" >&6; }
11080 if test "$hardcode_action" = relink ||
11081 test "$inherit_rpath" = yes; then
11082 # Fast installation is not supported
11083 enable_fast_install=no
11084 elif test "$shlibpath_overrides_runpath" = yes ||
11085 test "$enable_shared" = no; then
11086 # Fast installation is not necessary
11087 enable_fast_install=needless
11095 if test "x$enable_dlopen" != xyes; then
11096 enable_dlopen=unknown
11097 enable_dlopen_self=unknown
11098 enable_dlopen_self_static=unknown
11105 lt_cv_dlopen="load_add_on"
11107 lt_cv_dlopen_self=yes
11110 mingw* | pw32* | cegcc*)
11111 lt_cv_dlopen="LoadLibrary"
11116 lt_cv_dlopen="dlopen"
11121 # if libdl is installed we need to link against it
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11123 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11124 if ${ac_cv_lib_dl_dlopen+:} false; then :
11125 $as_echo_n "(cached) " >&6
11127 ac_check_lib_save_LIBS=$LIBS
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11147 if ac_fn_c_try_link "$LINENO"; then :
11148 ac_cv_lib_dl_dlopen=yes
11150 ac_cv_lib_dl_dlopen=no
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11157 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11158 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11159 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11162 lt_cv_dlopen="dyld"
11164 lt_cv_dlopen_self=yes
11171 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11172 if test "x$ac_cv_func_shl_load" = xyes; then :
11173 lt_cv_dlopen="shl_load"
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11176 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11177 if ${ac_cv_lib_dld_shl_load+:} false; then :
11178 $as_echo_n "(cached) " >&6
11180 ac_check_lib_save_LIBS=$LIBS
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11195 return shl_load ();
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_dld_shl_load=yes
11203 ac_cv_lib_dld_shl_load=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11210 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11211 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11212 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11214 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11215 if test "x$ac_cv_func_dlopen" = xyes; then :
11216 lt_cv_dlopen="dlopen"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11219 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11220 if ${ac_cv_lib_dl_dlopen+:} false; then :
11221 $as_echo_n "(cached) " >&6
11223 ac_check_lib_save_LIBS=$LIBS
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_dl_dlopen=yes
11246 ac_cv_lib_dl_dlopen=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11254 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11255 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11258 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11259 if ${ac_cv_lib_svld_dlopen+:} false; then :
11260 $as_echo_n "(cached) " >&6
11262 ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-lsvld $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_svld_dlopen=yes
11285 ac_cv_lib_svld_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11292 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11293 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11297 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11298 if ${ac_cv_lib_dld_dld_link+:} false; then :
11299 $as_echo_n "(cached) " >&6
11301 ac_check_lib_save_LIBS=$LIBS
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11306 /* Override any GCC internal prototype to avoid an error.
11307 Use char because int might match the return type of a GCC
11308 builtin and then its argument prototype would still apply. */
11316 return dld_link ();
11321 if ac_fn_c_try_link "$LINENO"; then :
11322 ac_cv_lib_dld_dld_link=yes
11324 ac_cv_lib_dld_dld_link=no
11326 rm -f core conftest.err conftest.$ac_objext \
11327 conftest$ac_exeext conftest.$ac_ext
11328 LIBS=$ac_check_lib_save_LIBS
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11331 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11332 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11333 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11354 if test "x$lt_cv_dlopen" != xno; then
11360 case $lt_cv_dlopen in
11362 save_CPPFLAGS="$CPPFLAGS"
11363 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11365 save_LDFLAGS="$LDFLAGS"
11366 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11369 LIBS="$lt_cv_dlopen_libs $LIBS"
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11372 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11373 if ${lt_cv_dlopen_self+:} false; then :
11374 $as_echo_n "(cached) " >&6
11376 if test "$cross_compiling" = yes; then :
11377 lt_cv_dlopen_self=cross
11379 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11380 lt_status=$lt_dlunknown
11381 cat > conftest.$ac_ext <<_LT_EOF
11382 #line $LINENO "configure"
11383 #include "confdefs.h"
11392 # define LT_DLGLOBAL RTLD_GLOBAL
11395 # define LT_DLGLOBAL DL_GLOBAL
11397 # define LT_DLGLOBAL 0
11401 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11402 find out it does not work in some platform. */
11403 #ifndef LT_DLLAZY_OR_NOW
11405 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11408 # define LT_DLLAZY_OR_NOW DL_LAZY
11411 # define LT_DLLAZY_OR_NOW RTLD_NOW
11414 # define LT_DLLAZY_OR_NOW DL_NOW
11416 # define LT_DLLAZY_OR_NOW 0
11423 /* When -fvisbility=hidden is used, assume the code has been annotated
11424 correspondingly for the symbols needed. */
11425 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11426 int fnord () __attribute__((visibility("default")));
11429 int fnord () { return 42; }
11432 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11433 int status = $lt_dlunknown;
11437 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11440 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11441 else puts (dlerror ());
11443 /* dlclose (self); */
11451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11452 (eval $ac_link) 2>&5
11454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11455 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11456 (./conftest; exit; ) >&5 2>/dev/null
11458 case x$lt_status in
11459 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11460 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11461 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11464 # compilation failed
11465 lt_cv_dlopen_self=no
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11473 $as_echo "$lt_cv_dlopen_self" >&6; }
11475 if test "x$lt_cv_dlopen_self" = xyes; then
11476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11478 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11479 if ${lt_cv_dlopen_self_static+:} false; then :
11480 $as_echo_n "(cached) " >&6
11482 if test "$cross_compiling" = yes; then :
11483 lt_cv_dlopen_self_static=cross
11485 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11486 lt_status=$lt_dlunknown
11487 cat > conftest.$ac_ext <<_LT_EOF
11488 #line $LINENO "configure"
11489 #include "confdefs.h"
11498 # define LT_DLGLOBAL RTLD_GLOBAL
11501 # define LT_DLGLOBAL DL_GLOBAL
11503 # define LT_DLGLOBAL 0
11507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11508 find out it does not work in some platform. */
11509 #ifndef LT_DLLAZY_OR_NOW
11511 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11514 # define LT_DLLAZY_OR_NOW DL_LAZY
11517 # define LT_DLLAZY_OR_NOW RTLD_NOW
11520 # define LT_DLLAZY_OR_NOW DL_NOW
11522 # define LT_DLLAZY_OR_NOW 0
11529 /* When -fvisbility=hidden is used, assume the code has been annotated
11530 correspondingly for the symbols needed. */
11531 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11532 int fnord () __attribute__((visibility("default")));
11535 int fnord () { return 42; }
11538 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11539 int status = $lt_dlunknown;
11543 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11546 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11547 else puts (dlerror ());
11549 /* dlclose (self); */
11557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11558 (eval $ac_link) 2>&5
11560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11561 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11562 (./conftest; exit; ) >&5 2>/dev/null
11564 case x$lt_status in
11565 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11566 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11567 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11570 # compilation failed
11571 lt_cv_dlopen_self_static=no
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11579 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11582 CPPFLAGS="$save_CPPFLAGS"
11583 LDFLAGS="$save_LDFLAGS"
11588 case $lt_cv_dlopen_self in
11589 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11590 *) enable_dlopen_self=unknown ;;
11593 case $lt_cv_dlopen_self_static in
11594 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11595 *) enable_dlopen_self_static=unknown ;;
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11618 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11619 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11620 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11621 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11623 $as_echo "yes" >&6; }
11625 # FIXME - insert some real tests, host_os isn't really good enough
11628 if test -n "$STRIP" ; then
11629 striplib="$STRIP -x"
11630 old_striplib="$STRIP -S"
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11632 $as_echo "yes" >&6; }
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11640 $as_echo "no" >&6; }
11656 # Report which library types will actually be built
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11658 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11660 $as_echo "$can_build_shared" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11663 $as_echo_n "checking whether to build shared libraries... " >&6; }
11664 test "$can_build_shared" = "no" && enable_shared=no
11666 # On AIX, shared libraries and static libraries use the same namespace, and
11667 # are all built from PIC.
11670 test "$enable_shared" = yes && enable_static=no
11671 if test -n "$RANLIB"; then
11672 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11673 postinstall_cmds='$RANLIB $lib'
11678 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11679 test "$enable_shared" = yes && enable_static=no
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11684 $as_echo "$enable_shared" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11687 $as_echo_n "checking whether to build static libraries... " >&6; }
11688 # Make sure either enable_shared or enable_static is yes.
11689 test "$enable_shared" = yes || enable_static=yes
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11691 $as_echo "$enable_static" >&6; }
11698 ac_cpp='$CPP $CPPFLAGS'
11699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11719 ac_config_commands="$ac_config_commands libtool"
11724 # Only expand once:
11728 # Checks for programs.
11730 ac_cpp='$CPP $CPPFLAGS'
11731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11734 if test -n "$ac_tool_prefix"; then
11735 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11736 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11738 $as_echo_n "checking for $ac_word... " >&6; }
11739 if ${ac_cv_prog_CC+:} false; then :
11740 $as_echo_n "(cached) " >&6
11742 if test -n "$CC"; then
11743 ac_cv_prog_CC="$CC" # Let the user override the test.
11745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11746 for as_dir in $PATH
11749 test -z "$as_dir" && as_dir=.
11750 for ac_exec_ext in '' $ac_executable_extensions; do
11751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11752 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11763 if test -n "$CC"; then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11765 $as_echo "$CC" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11773 if test -z "$ac_cv_prog_CC"; then
11775 # Extract the first word of "gcc", so it can be a program name with args.
11776 set dummy gcc; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11778 $as_echo_n "checking for $ac_word... " >&6; }
11779 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11780 $as_echo_n "(cached) " >&6
11782 if test -n "$ac_ct_CC"; then
11783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_ac_ct_CC="gcc"
11793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11803 if test -n "$ac_ct_CC"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11805 $as_echo "$ac_ct_CC" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11811 if test "x$ac_ct_CC" = x; then
11814 case $cross_compiling:$ac_tool_warned in
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11818 ac_tool_warned=yes ;;
11823 CC="$ac_cv_prog_CC"
11826 if test -z "$CC"; then
11827 if test -n "$ac_tool_prefix"; then
11828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11829 set dummy ${ac_tool_prefix}cc; ac_word=$2
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11831 $as_echo_n "checking for $ac_word... " >&6; }
11832 if ${ac_cv_prog_CC+:} false; then :
11833 $as_echo_n "(cached) " >&6
11835 if test -n "$CC"; then
11836 ac_cv_prog_CC="$CC" # Let the user override the test.
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11842 test -z "$as_dir" && as_dir=.
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_CC="${ac_tool_prefix}cc"
11846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11856 if test -n "$CC"; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11858 $as_echo "$CC" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11867 if test -z "$CC"; then
11868 # Extract the first word of "cc", so it can be a program name with args.
11869 set dummy cc; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if ${ac_cv_prog_CC+:} false; then :
11873 $as_echo_n "(cached) " >&6
11875 if test -n "$CC"; then
11876 ac_cv_prog_CC="$CC" # Let the user override the test.
11878 ac_prog_rejected=no
11879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11880 for as_dir in $PATH
11883 test -z "$as_dir" && as_dir=.
11884 for ac_exec_ext in '' $ac_executable_extensions; do
11885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11887 ac_prog_rejected=yes
11891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11898 if test $ac_prog_rejected = yes; then
11899 # We found a bogon in the path, so make sure we never use it.
11900 set dummy $ac_cv_prog_CC
11902 if test $# != 0; then
11903 # We chose a different compiler from the bogus one.
11904 # However, it has the same basename, so the bogon will be chosen
11905 # first if we set CC to just the basename; use the full file name.
11907 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11913 if test -n "$CC"; then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11915 $as_echo "$CC" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11923 if test -z "$CC"; then
11924 if test -n "$ac_tool_prefix"; then
11925 for ac_prog in cl.exe
11927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11930 $as_echo_n "checking for $ac_word... " >&6; }
11931 if ${ac_cv_prog_CC+:} false; then :
11932 $as_echo_n "(cached) " >&6
11934 if test -n "$CC"; then
11935 ac_cv_prog_CC="$CC" # Let the user override the test.
11937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11938 for as_dir in $PATH
11941 test -z "$as_dir" && as_dir=.
11942 for ac_exec_ext in '' $ac_executable_extensions; do
11943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 if test -n "$CC"; then
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11957 $as_echo "$CC" >&6; }
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11964 test -n "$CC" && break
11967 if test -z "$CC"; then
11969 for ac_prog in cl.exe
11971 # Extract the first word of "$ac_prog", so it can be a program name with args.
11972 set dummy $ac_prog; ac_word=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11974 $as_echo_n "checking for $ac_word... " >&6; }
11975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11976 $as_echo_n "(cached) " >&6
11978 if test -n "$ac_ct_CC"; then
11979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11982 for as_dir in $PATH
11985 test -z "$as_dir" && as_dir=.
11986 for ac_exec_ext in '' $ac_executable_extensions; do
11987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11988 ac_cv_prog_ac_ct_CC="$ac_prog"
11989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11999 if test -n "$ac_ct_CC"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12001 $as_echo "$ac_ct_CC" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12008 test -n "$ac_ct_CC" && break
12011 if test "x$ac_ct_CC" = x; then
12014 case $cross_compiling:$ac_tool_warned in
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12018 ac_tool_warned=yes ;;
12027 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12029 as_fn_error $? "no acceptable C compiler found in \$PATH
12030 See \`config.log' for more details" "$LINENO" 5; }
12032 # Provide some information about the compiler.
12033 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12036 for ac_option in --version -v -V -qversion; do
12037 { { ac_try="$ac_compiler $ac_option >&5"
12038 case "(($ac_try" in
12039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040 *) ac_try_echo=$ac_try;;
12042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12043 $as_echo "$ac_try_echo"; } >&5
12044 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12046 if test -s conftest.err; then
12048 ... rest of stderr output deleted ...
12049 10q' conftest.err >conftest.er1
12050 cat conftest.er1 >&5
12052 rm -f conftest.er1 conftest.err
12053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12054 test $ac_status = 0; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12058 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12059 if ${ac_cv_c_compiler_gnu+:} false; then :
12060 $as_echo_n "(cached) " >&6
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12076 if ac_fn_c_try_compile "$LINENO"; then :
12077 ac_compiler_gnu=yes
12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12082 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12086 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12087 if test $ac_compiler_gnu = yes; then
12092 ac_test_CFLAGS=${CFLAGS+set}
12093 ac_save_CFLAGS=$CFLAGS
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12095 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12096 if ${ac_cv_prog_cc_g+:} false; then :
12097 $as_echo_n "(cached) " >&6
12099 ac_save_c_werror_flag=$ac_c_werror_flag
12100 ac_c_werror_flag=yes
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12114 if ac_fn_c_try_compile "$LINENO"; then :
12115 ac_cv_prog_cc_g=yes
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12129 if ac_fn_c_try_compile "$LINENO"; then :
12132 ac_c_werror_flag=$ac_save_c_werror_flag
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12145 if ac_fn_c_try_compile "$LINENO"; then :
12146 ac_cv_prog_cc_g=yes
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153 ac_c_werror_flag=$ac_save_c_werror_flag
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12156 $as_echo "$ac_cv_prog_cc_g" >&6; }
12157 if test "$ac_test_CFLAGS" = set; then
12158 CFLAGS=$ac_save_CFLAGS
12159 elif test $ac_cv_prog_cc_g = yes; then
12160 if test "$GCC" = yes; then
12166 if test "$GCC" = yes; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12173 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12174 if ${ac_cv_prog_cc_c89+:} false; then :
12175 $as_echo_n "(cached) " >&6
12177 ac_cv_prog_cc_c89=no
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12181 #include <stdarg.h>
12184 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12185 struct buf { int x; };
12186 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12187 static char *e (p, i)
12193 static char *f (char * (*g) (char **, int), char **p, ...)
12198 s = g (p, va_arg (v,int));
12203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12204 function prototypes and stuff, but not '\xHH' hex character constants.
12205 These don't provoke an error unfortunately, instead are silently treated
12206 as 'x'. The following induces an error, until -std is added to get
12207 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12208 array size at least. It's necessary to write '\x00'==0 to get something
12209 that's true only with -std. */
12210 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12213 inside strings and character constants. */
12215 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12217 int test (int i, double x);
12218 struct s1 {int (*f) (int a);};
12219 struct s2 {int (*f) (double a);};
12220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12232 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12234 CC="$ac_save_CC $ac_arg"
12235 if ac_fn_c_try_compile "$LINENO"; then :
12236 ac_cv_prog_cc_c89=$ac_arg
12238 rm -f core conftest.err conftest.$ac_objext
12239 test "x$ac_cv_prog_cc_c89" != "xno" && break
12241 rm -f conftest.$ac_ext
12246 case "x$ac_cv_prog_cc_c89" in
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12249 $as_echo "none needed" >&6; } ;;
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12252 $as_echo "unsupported" >&6; } ;;
12254 CC="$CC $ac_cv_prog_cc_c89"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12256 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12258 if test "x$ac_cv_prog_cc_c89" != xno; then :
12263 ac_cpp='$CPP $CPPFLAGS'
12264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12269 ac_cpp='$CPP $CPPFLAGS'
12270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12274 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12275 if ${am_cv_prog_cc_c_o+:} false; then :
12276 $as_echo_n "(cached) " >&6
12278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12279 /* end confdefs.h. */
12289 # Make sure it works both with $CC and with simple cc.
12290 # Following AC_PROG_CC_C_O, we do the test twice because some
12291 # compilers refuse to overwrite an existing .o file with -o,
12292 # though they will create one.
12293 am_cv_prog_cc_c_o=yes
12294 for am_i in 1 2; do
12295 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12296 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } \
12300 && test -f conftest2.$ac_objext; then
12303 am_cv_prog_cc_c_o=no
12307 rm -f core conftest*
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12311 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12312 if test "$am_cv_prog_cc_c_o" != yes; then
12313 # Losing compiler, so override with the script.
12314 # FIXME: It is wrong to rewrite CC.
12315 # But if we don't then we get into trouble of one sort or another.
12316 # A longer-term fix would be to have automake use am__CC in this case,
12317 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12318 CC="$am_aux_dir/compile $CC"
12321 ac_cpp='$CPP $CPPFLAGS'
12322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12327 depcc="$CC" am_compiler_list=
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12330 $as_echo_n "checking dependency style of $depcc... " >&6; }
12331 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12332 $as_echo_n "(cached) " >&6
12334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12335 # We make a subdir and do the tests there. Otherwise we can end up
12336 # making bogus files that we don't know about and never remove. For
12337 # instance it was reported that on HP-UX the gcc test will end up
12338 # making a dummy file named 'D' -- because '-MD' means "put the output
12340 rm -rf conftest.dir
12342 # Copy depcomp to subdir because otherwise we won't find it if we're
12343 # using a relative directory.
12344 cp "$am_depcomp" conftest.dir
12346 # We will build objects and dependencies in a subdirectory because
12347 # it helps to detect inapplicable dependency modes. For instance
12348 # both Tru64's cc and ICC support -MD to output dependencies as a
12349 # side effect of compilation, but ICC will put the dependencies in
12350 # the current directory while Tru64 will put them in the object
12354 am_cv_CC_dependencies_compiler_type=none
12355 if test "$am_compiler_list" = ""; then
12356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12358 am__universal=false
12359 case " $depcc " in #(
12360 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12363 for depmode in $am_compiler_list; do
12364 # Setup a source with many dependencies, because some compilers
12365 # like to wrap large dependency lists on column 80 (with \), and
12366 # we should not choose a depcomp mode which is confused by this.
12368 # We need to recreate these files for each test, as the compiler may
12369 # overwrite some of them when testing with obscure command lines.
12370 # This happens at least with the AIX C compiler.
12372 for i in 1 2 3 4 5 6; do
12373 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12374 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12375 # Solaris 10 /bin/sh.
12376 echo '/* dummy */' > sub/conftst$i.h
12378 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12380 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12381 # mode. It turns out that the SunPro C++ compiler does not properly
12382 # handle '-M -o', and we need to detect this. Also, some Intel
12383 # versions had trouble with output in subdirs.
12384 am__obj=sub/conftest.${OBJEXT-o}
12385 am__minus_obj="-o $am__obj"
12388 # This depmode causes a compiler race in universal mode.
12389 test "$am__universal" = false || continue
12392 # After this tag, mechanisms are not by side-effect, so they'll
12393 # only be used when explicitly requested.
12394 if test "x$enable_dependency_tracking" = xyes; then
12400 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12401 # This compiler won't grok '-c -o', but also, the minuso test has
12402 # not run yet. These depmodes are late enough in the game, and
12403 # so weak that their functioning should not be impacted.
12404 am__obj=conftest.${OBJEXT-o}
12409 if depmode=$depmode \
12410 source=sub/conftest.c object=$am__obj \
12411 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12412 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12413 >/dev/null 2>conftest.err &&
12414 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12415 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12416 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12417 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12418 # icc doesn't choke on unknown options, it will just issue warnings
12419 # or remarks (even with -Werror). So we grep stderr for any message
12420 # that says an option was ignored or not supported.
12421 # When given -MP, icc 7.0 and 7.1 complain thusly:
12422 # icc: Command line warning: ignoring option '-M'; no argument required
12423 # The diagnosis changed in icc 8.0:
12424 # icc: Command line remark: option '-MP' not supported
12425 if (grep 'ignoring option' conftest.err ||
12426 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12427 am_cv_CC_dependencies_compiler_type=$depmode
12434 rm -rf conftest.dir
12436 am_cv_CC_dependencies_compiler_type=none
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12441 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12442 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12445 test "x$enable_dependency_tracking" != xno \
12446 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12447 am__fastdepCC_TRUE=
12448 am__fastdepCC_FALSE='#'
12450 am__fastdepCC_TRUE='#'
12451 am__fastdepCC_FALSE=
12459 # Checks for libraries.
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12461 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12462 if ${ac_cv_lib_dl_dlopen+:} false; then :
12463 $as_echo_n "(cached) " >&6
12465 ac_check_lib_save_LIBS=$LIBS
12467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12470 /* Override any GCC internal prototype to avoid an error.
12471 Use char because int might match the return type of a GCC
12472 builtin and then its argument prototype would still apply. */
12485 if ac_fn_c_try_link "$LINENO"; then :
12486 ac_cv_lib_dl_dlopen=yes
12488 ac_cv_lib_dl_dlopen=no
12490 rm -f core conftest.err conftest.$ac_objext \
12491 conftest$ac_exeext conftest.$ac_ext
12492 LIBS=$ac_check_lib_save_LIBS
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12495 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12496 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12497 cat >>confdefs.h <<_ACEOF
12498 #define HAVE_LIBDL 1
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
12506 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
12507 if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
12508 $as_echo_n "(cached) " >&6
12510 ac_check_lib_save_LIBS=$LIBS
12511 LIBS="-lgdbm $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12525 return gdbm_open ();
12530 if ac_fn_c_try_link "$LINENO"; then :
12531 ac_cv_lib_gdbm_gdbm_open=yes
12533 ac_cv_lib_gdbm_gdbm_open=no
12535 rm -f core conftest.err conftest.$ac_objext \
12536 conftest$ac_exeext conftest.$ac_ext
12537 LIBS=$ac_check_lib_save_LIBS
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
12540 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
12541 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
12542 cat >>confdefs.h <<_ACEOF
12543 #define HAVE_LIBGDBM 1
12546 LIBS="-lgdbm $LIBS"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12551 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12552 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
12553 $as_echo_n "(cached) " >&6
12555 ac_check_lib_save_LIBS=$LIBS
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12566 char clock_gettime ();
12570 return clock_gettime ();
12575 if ac_fn_c_try_link "$LINENO"; then :
12576 ac_cv_lib_rt_clock_gettime=yes
12578 ac_cv_lib_rt_clock_gettime=no
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12585 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12586 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
12587 cat >>confdefs.h <<_ACEOF
12588 #define HAVE_LIBRT 1
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
12596 $as_echo_n "checking for sqrt in -lm... " >&6; }
12597 if ${ac_cv_lib_m_sqrt+:} false; then :
12598 $as_echo_n "(cached) " >&6
12600 ac_check_lib_save_LIBS=$LIBS
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12620 if ac_fn_c_try_link "$LINENO"; then :
12621 ac_cv_lib_m_sqrt=yes
12623 ac_cv_lib_m_sqrt=no
12625 rm -f core conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
12630 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
12631 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
12632 cat >>confdefs.h <<_ACEOF
12633 #define HAVE_LIBM 1
12641 # Checks for typedefs, structures, and compiler characteristics.
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12643 $as_echo_n "checking for inline... " >&6; }
12644 if ${ac_cv_c_inline+:} false; then :
12645 $as_echo_n "(cached) " >&6
12648 for ac_kw in inline __inline__ __inline; do
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 #ifndef __cplusplus
12653 static $ac_kw foo_t static_foo () {return 0; }
12654 $ac_kw foo_t foo () {return 0; }
12658 if ac_fn_c_try_compile "$LINENO"; then :
12659 ac_cv_c_inline=$ac_kw
12661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12662 test "$ac_cv_c_inline" != no && break
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12667 $as_echo "$ac_cv_c_inline" >&6; }
12669 case $ac_cv_c_inline in
12672 case $ac_cv_c_inline in
12674 *) ac_val=$ac_cv_c_inline;;
12676 cat >>confdefs.h <<_ACEOF
12677 #ifndef __cplusplus
12678 #define inline $ac_val
12684 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
12685 case $ac_cv_c_int32_t in #(
12689 cat >>confdefs.h <<_ACEOF
12690 #define int32_t $ac_cv_c_int32_t
12695 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
12696 case $ac_cv_c_int64_t in #(
12700 cat >>confdefs.h <<_ACEOF
12701 #define int64_t $ac_cv_c_int64_t
12706 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12707 if test "x$ac_cv_type_pid_t" = xyes; then :
12711 cat >>confdefs.h <<_ACEOF
12717 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12718 if test "x$ac_cv_type_size_t" = xyes; then :
12722 cat >>confdefs.h <<_ACEOF
12723 #define size_t unsigned int
12728 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12729 if test "x$ac_cv_type_ssize_t" = xyes; then :
12733 cat >>confdefs.h <<_ACEOF
12734 #define ssize_t int
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12740 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12741 if ${ac_cv_type_uid_t+:} false; then :
12742 $as_echo_n "(cached) " >&6
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 #include <sys/types.h>
12749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12750 $EGREP "uid_t" >/dev/null 2>&1; then :
12751 ac_cv_type_uid_t=yes
12753 ac_cv_type_uid_t=no
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12759 $as_echo "$ac_cv_type_uid_t" >&6; }
12760 if test $ac_cv_type_uid_t = no; then
12762 $as_echo "#define uid_t int" >>confdefs.h
12765 $as_echo "#define gid_t int" >>confdefs.h
12769 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
12770 case $ac_cv_c_uint16_t in #(
12775 cat >>confdefs.h <<_ACEOF
12776 #define uint16_t $ac_cv_c_uint16_t
12781 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12782 case $ac_cv_c_uint32_t in #(
12786 $as_echo "#define _UINT32_T 1" >>confdefs.h
12789 cat >>confdefs.h <<_ACEOF
12790 #define uint32_t $ac_cv_c_uint32_t
12795 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
12796 case $ac_cv_c_uint64_t in #(
12800 $as_echo "#define _UINT64_T 1" >>confdefs.h
12803 cat >>confdefs.h <<_ACEOF
12804 #define uint64_t $ac_cv_c_uint64_t
12809 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12810 case $ac_cv_c_uint8_t in #(
12814 $as_echo "#define _UINT8_T 1" >>confdefs.h
12817 cat >>confdefs.h <<_ACEOF
12818 #define uint8_t $ac_cv_c_uint8_t
12824 # Checks for library functions.
12825 for ac_header in vfork.h
12827 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12828 if test "x$ac_cv_header_vfork_h" = xyes; then :
12829 cat >>confdefs.h <<_ACEOF
12830 #define HAVE_VFORK_H 1
12837 for ac_func in fork vfork
12839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12842 cat >>confdefs.h <<_ACEOF
12843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12849 if test "x$ac_cv_func_fork" = xyes; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12851 $as_echo_n "checking for working fork... " >&6; }
12852 if ${ac_cv_func_fork_works+:} false; then :
12853 $as_echo_n "(cached) " >&6
12855 if test "$cross_compiling" = yes; then :
12856 ac_cv_func_fork_works=cross
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12860 $ac_includes_default
12865 /* By Ruediger Kuhlmann. */
12866 return fork () < 0;
12872 if ac_fn_c_try_run "$LINENO"; then :
12873 ac_cv_func_fork_works=yes
12875 ac_cv_func_fork_works=no
12877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12878 conftest.$ac_objext conftest.beam conftest.$ac_ext
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12883 $as_echo "$ac_cv_func_fork_works" >&6; }
12886 ac_cv_func_fork_works=$ac_cv_func_fork
12888 if test "x$ac_cv_func_fork_works" = xcross; then
12890 *-*-amigaos* | *-*-msdosdjgpp*)
12891 # Override, as these systems have only a dummy fork() stub
12892 ac_cv_func_fork_works=no
12895 ac_cv_func_fork_works=yes
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12899 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12901 ac_cv_func_vfork_works=$ac_cv_func_vfork
12902 if test "x$ac_cv_func_vfork" = xyes; then
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12904 $as_echo_n "checking for working vfork... " >&6; }
12905 if ${ac_cv_func_vfork_works+:} false; then :
12906 $as_echo_n "(cached) " >&6
12908 if test "$cross_compiling" = yes; then :
12909 ac_cv_func_vfork_works=cross
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 /* Thanks to Paul Eggert for this test. */
12914 $ac_includes_default
12915 #include <sys/wait.h>
12916 #ifdef HAVE_VFORK_H
12917 # include <vfork.h>
12919 /* On some sparc systems, changes by the child to local and incoming
12920 argument registers are propagated back to the parent. The compiler
12921 is told about this with #include <vfork.h>, but some compilers
12922 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
12923 static variable whose address is put into a register that is
12924 clobbered by the vfork. */
12927 sparc_address_test (int arg)
12929 sparc_address_test (arg) int arg;
12932 static pid_t child;
12950 pid_t parent = getpid ();
12953 sparc_address_test (0);
12958 /* Here is another test for sparc vfork register problems. This
12959 test uses lots of local variables, at least as many local
12960 variables as main has allocated so far including compiler
12961 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
12962 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
12963 reuse the register of parent for one of the local variables,
12964 since it will think that parent can't possibly be used any more
12965 in this routine. Assigning to the local variable will thus
12966 munge parent in the parent process. */
12968 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12969 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12970 /* Convince the compiler that p..p7 are live; otherwise, it might
12971 use the same hardware register for all 8 local variables. */
12972 if (p != p1 || p != p2 || p != p3 || p != p4
12973 || p != p5 || p != p6 || p != p7)
12976 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12977 from child file descriptors. If the child closes a descriptor
12978 before it execs or exits, this munges the parent's descriptor
12979 as well. Test for this by closing stdout in the child. */
12980 _exit(close(fileno(stdout)) != 0);
12985 while (wait(&status) != child)
12988 /* Was there some problem with vforking? */
12991 /* Did the child fail? (This shouldn't happen.) */
12994 /* Did the vfork/compiler bug occur? */
12995 || parent != getpid()
12997 /* Did the file descriptor bug occur? */
12998 || fstat(fileno(stdout), &st) != 0
13003 if ac_fn_c_try_run "$LINENO"; then :
13004 ac_cv_func_vfork_works=yes
13006 ac_cv_func_vfork_works=no
13008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13009 conftest.$ac_objext conftest.beam conftest.$ac_ext
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13014 $as_echo "$ac_cv_func_vfork_works" >&6; }
13017 if test "x$ac_cv_func_fork_works" = xcross; then
13018 ac_cv_func_vfork_works=$ac_cv_func_vfork
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13020 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13023 if test "x$ac_cv_func_vfork_works" = xyes; then
13025 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13029 $as_echo "#define vfork fork" >>confdefs.h
13032 if test "x$ac_cv_func_fork_works" = xyes; then
13034 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13038 for ac_header in stdlib.h
13040 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13041 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13042 cat >>confdefs.h <<_ACEOF
13043 #define HAVE_STDLIB_H 1
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
13051 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13052 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
13053 $as_echo_n "(cached) " >&6
13055 if test "$cross_compiling" = yes; then :
13056 ac_cv_func_malloc_0_nonnull=no
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13060 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13061 # include <stdlib.h>
13069 return ! malloc (0);
13074 if ac_fn_c_try_run "$LINENO"; then :
13075 ac_cv_func_malloc_0_nonnull=yes
13077 ac_cv_func_malloc_0_nonnull=no
13079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13080 conftest.$ac_objext conftest.beam conftest.$ac_ext
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
13085 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13086 if test $ac_cv_func_malloc_0_nonnull = yes; then :
13088 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
13091 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
13093 case " $LIBOBJS " in
13094 *" malloc.$ac_objext "* ) ;;
13095 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
13100 $as_echo "#define malloc rpl_malloc" >>confdefs.h
13105 for ac_header in stdlib.h
13107 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define HAVE_STDLIB_H 1
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
13118 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
13119 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
13120 $as_echo_n "(cached) " >&6
13122 if test "$cross_compiling" = yes; then :
13123 ac_cv_func_realloc_0_nonnull=no
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13127 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13128 # include <stdlib.h>
13136 return ! realloc (0, 0);
13141 if ac_fn_c_try_run "$LINENO"; then :
13142 ac_cv_func_realloc_0_nonnull=yes
13144 ac_cv_func_realloc_0_nonnull=no
13146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13147 conftest.$ac_objext conftest.beam conftest.$ac_ext
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
13152 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
13153 if test $ac_cv_func_realloc_0_nonnull = yes; then :
13155 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
13158 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
13160 case " $LIBOBJS " in
13161 *" realloc.$ac_objext "* ) ;;
13162 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
13167 $as_echo "#define realloc rpl_realloc" >>confdefs.h
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
13173 $as_echo_n "checking for working strtod... " >&6; }
13174 if ${ac_cv_func_strtod+:} false; then :
13175 $as_echo_n "(cached) " >&6
13177 if test "$cross_compiling" = yes; then :
13178 ac_cv_func_strtod=no
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 $ac_includes_default
13191 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
13192 char *string = " +69";
13195 value = strtod (string, &term);
13196 if (value != 69 || term != (string + 4))
13201 /* Under Solaris 2.4, strtod returns the wrong value for the
13202 terminating character under some conditions. */
13203 char *string = "NaN";
13205 strtod (string, &term);
13206 if (term != string && *(term - 1) == 0)
13213 if ac_fn_c_try_run "$LINENO"; then :
13214 ac_cv_func_strtod=yes
13216 ac_cv_func_strtod=no
13218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13219 conftest.$ac_objext conftest.beam conftest.$ac_ext
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
13224 $as_echo "$ac_cv_func_strtod" >&6; }
13225 if test $ac_cv_func_strtod = no; then
13226 case " $LIBOBJS " in
13227 *" strtod.$ac_objext "* ) ;;
13228 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
13232 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
13233 if test "x$ac_cv_func_pow" = xyes; then :
13237 if test $ac_cv_func_pow = no; then
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13239 $as_echo_n "checking for pow in -lm... " >&6; }
13240 if ${ac_cv_lib_m_pow+:} false; then :
13241 $as_echo_n "(cached) " >&6
13243 ac_check_lib_save_LIBS=$LIBS
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 /* Override any GCC internal prototype to avoid an error.
13249 Use char because int might match the return type of a GCC
13250 builtin and then its argument prototype would still apply. */
13263 if ac_fn_c_try_link "$LINENO"; then :
13264 ac_cv_lib_m_pow=yes
13268 rm -f core conftest.err conftest.$ac_objext \
13269 conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13273 $as_echo "$ac_cv_lib_m_pow" >&6; }
13274 if test "x$ac_cv_lib_m_pow" = xyes; then :
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
13278 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13285 for ac_func in atexit
13287 ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
13288 if test "x$ac_cv_func_atexit" = xyes; then :
13289 cat >>confdefs.h <<_ACEOF
13290 #define HAVE_ATEXIT 1
13296 for ac_func in memmove
13298 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
13299 if test "x$ac_cv_func_memmove" = xyes; then :
13300 cat >>confdefs.h <<_ACEOF
13301 #define HAVE_MEMMOVE 1
13307 for ac_func in memset
13309 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
13310 if test "x$ac_cv_func_memset" = xyes; then :
13311 cat >>confdefs.h <<_ACEOF
13312 #define HAVE_MEMSET 1
13318 for ac_func in socket
13320 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
13321 if test "x$ac_cv_func_socket" = xyes; then :
13322 cat >>confdefs.h <<_ACEOF
13323 #define HAVE_SOCKET 1
13329 for ac_func in strchr
13331 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
13332 if test "x$ac_cv_func_strchr" = xyes; then :
13333 cat >>confdefs.h <<_ACEOF
13334 #define HAVE_STRCHR 1
13340 for ac_func in strdup
13342 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
13343 if test "x$ac_cv_func_strdup" = xyes; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define HAVE_STRDUP 1
13351 for ac_func in strndup
13353 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
13354 if test "x$ac_cv_func_strndup" = xyes; then :
13355 cat >>confdefs.h <<_ACEOF
13356 #define HAVE_STRNDUP 1
13362 for ac_func in strtol
13364 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
13365 if test "x$ac_cv_func_strtol" = xyes; then :
13366 cat >>confdefs.h <<_ACEOF
13367 #define HAVE_STRTOL 1
13373 for ac_func in __secure_getenv secure_getenv
13375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13378 cat >>confdefs.h <<_ACEOF
13379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether preprocessor supports #pragma once" >&5
13387 $as_echo_n "checking whether preprocessor supports #pragma once... " >&6; }
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13399 if ac_fn_c_try_cpp "$LINENO"; then :
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13402 $as_echo "yes" >&6; }
13404 $as_echo "#define HAVE_PRAGMA_ONCE 1" >>confdefs.h
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13411 rm -f conftest.err conftest.i conftest.$ac_ext
13426 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13427 if test -n "$ac_tool_prefix"; then
13428 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13429 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13431 $as_echo_n "checking for $ac_word... " >&6; }
13432 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13433 $as_echo_n "(cached) " >&6
13435 case $PKG_CONFIG in
13437 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13441 for as_dir in $PATH
13444 test -z "$as_dir" && as_dir=.
13445 for ac_exec_ext in '' $ac_executable_extensions; do
13446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13447 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13458 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13459 if test -n "$PKG_CONFIG"; then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13461 $as_echo "$PKG_CONFIG" >&6; }
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13464 $as_echo "no" >&6; }
13469 if test -z "$ac_cv_path_PKG_CONFIG"; then
13470 ac_pt_PKG_CONFIG=$PKG_CONFIG
13471 # Extract the first word of "pkg-config", so it can be a program name with args.
13472 set dummy pkg-config; ac_word=$2
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13474 $as_echo_n "checking for $ac_word... " >&6; }
13475 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13476 $as_echo_n "(cached) " >&6
13478 case $ac_pt_PKG_CONFIG in
13480 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13484 for as_dir in $PATH
13487 test -z "$as_dir" && as_dir=.
13488 for ac_exec_ext in '' $ac_executable_extensions; do
13489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13490 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13501 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13502 if test -n "$ac_pt_PKG_CONFIG"; then
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13504 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507 $as_echo "no" >&6; }
13510 if test "x$ac_pt_PKG_CONFIG" = x; then
13513 case $cross_compiling:$ac_tool_warned in
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13517 ac_tool_warned=yes ;;
13519 PKG_CONFIG=$ac_pt_PKG_CONFIG
13522 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13526 if test -n "$PKG_CONFIG"; then
13527 _pkg_min_version=0.9.0
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13529 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13530 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13532 $as_echo "yes" >&6; }
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13542 $as_echo_n "checking for CHECK... " >&6; }
13544 if test -n "$CHECK_CFLAGS"; then
13545 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13546 elif test -n "$PKG_CONFIG"; then
13547 if test -n "$PKG_CONFIG" && \
13548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13549 ($PKG_CONFIG --exists --print-errors "check") 2>&5
13551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 test $ac_status = 0; }; then
13553 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
13554 test "x$?" != "x0" && pkg_failed=yes
13561 if test -n "$CHECK_LIBS"; then
13562 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13563 elif test -n "$PKG_CONFIG"; then
13564 if test -n "$PKG_CONFIG" && \
13565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13566 ($PKG_CONFIG --exists --print-errors "check") 2>&5
13568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13569 test $ac_status = 0; }; then
13570 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
13571 test "x$?" != "x0" && pkg_failed=yes
13581 if test $pkg_failed = yes; then
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13583 $as_echo "no" >&6; }
13585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13586 _pkg_short_errors_supported=yes
13588 _pkg_short_errors_supported=no
13590 if test $_pkg_short_errors_supported = yes; then
13591 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
13593 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
13595 # Put the nasty error message in config.log where it belongs
13596 echo "$CHECK_PKG_ERRORS" >&5
13598 as_fn_error $? "Package requirements (check) were not met:
13602 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13603 installed software in a non-standard prefix.
13605 Alternatively, you may set the environment variables CHECK_CFLAGS
13606 and CHECK_LIBS to avoid the need to call pkg-config.
13607 See the pkg-config man page for more details." "$LINENO" 5
13608 elif test $pkg_failed = untried; then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13610 $as_echo "no" >&6; }
13611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13613 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13614 is in your PATH or set the PKG_CONFIG environment variable to the full
13615 path to pkg-config.
13617 Alternatively, you may set the environment variables CHECK_CFLAGS
13618 and CHECK_LIBS to avoid the need to call pkg-config.
13619 See the pkg-config man page for more details.
13621 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13622 See \`config.log' for more details" "$LINENO" 5; }
13624 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13625 CHECK_LIBS=$pkg_cv_CHECK_LIBS
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13627 $as_echo "yes" >&6; }
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
13633 $as_echo_n "checking for SYSTEMD... " >&6; }
13635 if test -n "$SYSTEMD_CFLAGS"; then
13636 pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
13637 elif test -n "$PKG_CONFIG"; then
13638 if test -n "$PKG_CONFIG" && \
13639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13640 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13643 test $ac_status = 0; }; then
13644 pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
13645 test "x$?" != "x0" && pkg_failed=yes
13652 if test -n "$SYSTEMD_LIBS"; then
13653 pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
13654 elif test -n "$PKG_CONFIG"; then
13655 if test -n "$PKG_CONFIG" && \
13656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13657 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13660 test $ac_status = 0; }; then
13661 pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
13662 test "x$?" != "x0" && pkg_failed=yes
13672 if test $pkg_failed = yes; then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674 $as_echo "no" >&6; }
13676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13677 _pkg_short_errors_supported=yes
13679 _pkg_short_errors_supported=no
13681 if test $_pkg_short_errors_supported = yes; then
13682 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13684 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13686 # Put the nasty error message in config.log where it belongs
13687 echo "$SYSTEMD_PKG_ERRORS" >&5
13689 as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
13691 $SYSTEMD_PKG_ERRORS
13693 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13694 installed software in a non-standard prefix.
13696 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13697 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13698 See the pkg-config man page for more details." "$LINENO" 5
13699 elif test $pkg_failed = untried; then
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13704 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13705 is in your PATH or set the PKG_CONFIG environment variable to the full
13706 path to pkg-config.
13708 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13709 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13710 See the pkg-config man page for more details.
13712 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13713 See \`config.log' for more details" "$LINENO" 5; }
13715 SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
13716 SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13718 $as_echo "yes" >&6; }
13722 # Checks for header files.
13723 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13724 # for constant arguments. Useless!
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13726 $as_echo_n "checking for working alloca.h... " >&6; }
13727 if ${ac_cv_working_alloca_h+:} false; then :
13728 $as_echo_n "(cached) " >&6
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #include <alloca.h>
13736 char *p = (char *) alloca (2 * sizeof (int));
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 ac_cv_working_alloca_h=yes
13745 ac_cv_working_alloca_h=no
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13751 $as_echo "$ac_cv_working_alloca_h" >&6; }
13752 if test $ac_cv_working_alloca_h = yes; then
13754 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13759 $as_echo_n "checking for alloca... " >&6; }
13760 if ${ac_cv_func_alloca_works+:} false; then :
13761 $as_echo_n "(cached) " >&6
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13766 # define alloca __builtin_alloca
13769 # include <malloc.h>
13770 # define alloca _alloca
13772 # ifdef HAVE_ALLOCA_H
13773 # include <alloca.h>
13778 # ifndef alloca /* predefined by HP cc +Olibcalls */
13779 void *alloca (size_t);
13789 char *p = (char *) alloca (1);
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 ac_cv_func_alloca_works=yes
13798 ac_cv_func_alloca_works=no
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13804 $as_echo "$ac_cv_func_alloca_works" >&6; }
13806 if test $ac_cv_func_alloca_works = yes; then
13808 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13811 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13812 # that cause trouble. Some versions do not even contain alloca or
13813 # contain a buggy version. If you still want to use their alloca,
13814 # use ar to extract alloca.o from them instead of compiling alloca.c.
13816 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13818 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13822 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13823 if ${ac_cv_os_cray+:} false; then :
13824 $as_echo_n "(cached) " >&6
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13828 #if defined CRAY && ! defined CRAY2
13835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13836 $EGREP "webecray" >/dev/null 2>&1; then :
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13845 $as_echo "$ac_cv_os_cray" >&6; }
13846 if test $ac_cv_os_cray = yes; then
13847 for ac_func in _getb67 GETB67 getb67; do
13848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13852 cat >>confdefs.h <<_ACEOF
13853 #define CRAY_STACKSEG_END $ac_func
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13863 $as_echo_n "checking stack direction for C alloca... " >&6; }
13864 if ${ac_cv_c_stack_direction+:} false; then :
13865 $as_echo_n "(cached) " >&6
13867 if test "$cross_compiling" = yes; then :
13868 ac_cv_c_stack_direction=0
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 $ac_includes_default
13874 find_stack_direction (int *addr, int depth)
13876 int dir, dummy = 0;
13879 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
13880 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
13881 return dir + dummy;
13885 main (int argc, char **argv)
13887 return find_stack_direction (0, argc + !argv + 20) < 0;
13890 if ac_fn_c_try_run "$LINENO"; then :
13891 ac_cv_c_stack_direction=1
13893 ac_cv_c_stack_direction=-1
13895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13896 conftest.$ac_objext conftest.beam conftest.$ac_ext
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13901 $as_echo "$ac_cv_c_stack_direction" >&6; }
13902 cat >>confdefs.h <<_ACEOF
13903 #define STACK_DIRECTION $ac_cv_c_stack_direction
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
13910 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
13911 if ${ac_cv_header_stdbool_h+:} false; then :
13912 $as_echo_n "(cached) " >&6
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 #include <stdbool.h>
13919 "error: bool is not defined"
13922 "error: false is not defined"
13925 "error: false is not 0"
13928 "error: true is not defined"
13931 "error: true is not 1"
13933 #ifndef __bool_true_false_are_defined
13934 "error: __bool_true_false_are_defined is not defined"
13937 struct s { _Bool s: 1; _Bool t; } s;
13939 char a[true == 1 ? 1 : -1];
13940 char b[false == 0 ? 1 : -1];
13941 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
13942 char d[(bool) 0.5 == true ? 1 : -1];
13943 /* See body of main program for 'e'. */
13944 char f[(_Bool) 0.0 == false ? 1 : -1];
13946 char h[sizeof (_Bool)];
13947 char i[sizeof s.t];
13948 enum { j = false, k = true, l = false * true, m = true * 256 };
13949 /* The following fails for
13950 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
13952 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
13953 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
13954 /* Catch a bug in an HP-UX C compiler. See
13955 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
13956 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
13968 /* Refer to every declared value, to avoid compiler optimizations. */
13969 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
13970 + !m + !n + !o + !p + !q + !pq);
13976 if ac_fn_c_try_compile "$LINENO"; then :
13977 ac_cv_header_stdbool_h=yes
13979 ac_cv_header_stdbool_h=no
13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
13984 $as_echo "$ac_cv_header_stdbool_h" >&6; }
13985 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
13986 if test "x$ac_cv_type__Bool" = xyes; then :
13988 cat >>confdefs.h <<_ACEOF
13989 #define HAVE__BOOL 1
13996 if test $ac_cv_header_stdbool_h = yes; then
13998 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
14002 for ac_header in attr/xattr.h
14004 ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
14005 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
14006 cat >>confdefs.h <<_ACEOF
14007 #define HAVE_ATTR_XATTR_H 1
14011 as_fn_error $? "Unable to find xattr headers" "$LINENO" 5
14016 for ac_header in fcntl.h
14018 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
14019 if test "x$ac_cv_header_fcntl_h" = xyes; then :
14020 cat >>confdefs.h <<_ACEOF
14021 #define HAVE_FCNTL_H 1
14028 for ac_header in gdbm.h
14030 ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
14031 if test "x$ac_cv_header_gdbm_h" = xyes; then :
14032 cat >>confdefs.h <<_ACEOF
14033 #define HAVE_GDBM_H 1
14037 as_fn_error $? "Unable to find gdbm headers" "$LINENO" 5
14042 for ac_header in inttypes.h
14044 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
14045 if test "x$ac_cv_header_inttypes_h" = xyes; then :
14046 cat >>confdefs.h <<_ACEOF
14047 #define HAVE_INTTYPES_H 1
14054 for ac_header in limits.h
14056 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
14057 if test "x$ac_cv_header_limits_h" = xyes; then :
14058 cat >>confdefs.h <<_ACEOF
14059 #define HAVE_LIMITS_H 1
14066 for ac_header in locale.h
14068 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14069 if test "x$ac_cv_header_locale_h" = xyes; then :
14070 cat >>confdefs.h <<_ACEOF
14071 #define HAVE_LOCALE_H 1
14078 for ac_header in malloc.h
14080 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
14081 if test "x$ac_cv_header_malloc_h" = xyes; then :
14082 cat >>confdefs.h <<_ACEOF
14083 #define HAVE_MALLOC_H 1
14090 for ac_header in stddef.h
14092 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
14093 if test "x$ac_cv_header_stddef_h" = xyes; then :
14094 cat >>confdefs.h <<_ACEOF
14095 #define HAVE_STDDEF_H 1
14102 for ac_header in stdint.h
14104 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14105 if test "x$ac_cv_header_stdint_h" = xyes; then :
14106 cat >>confdefs.h <<_ACEOF
14107 #define HAVE_STDINT_H 1
14114 for ac_header in stdlib.h
14116 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14117 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14118 cat >>confdefs.h <<_ACEOF
14119 #define HAVE_STDLIB_H 1
14126 for ac_header in string.h
14128 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
14129 if test "x$ac_cv_header_string_h" = xyes; then :
14130 cat >>confdefs.h <<_ACEOF
14131 #define HAVE_STRING_H 1
14138 for ac_header in time.h
14140 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
14141 if test "x$ac_cv_header_time_h" = xyes; then :
14142 cat >>confdefs.h <<_ACEOF
14143 #define HAVE_TIME_H 1
14150 for ac_header in math.h
14152 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
14153 if test "x$ac_cv_header_math_h" = xyes; then :
14154 cat >>confdefs.h <<_ACEOF
14155 #define HAVE_MATH_H 1
14162 for ac_header in pthread.h
14164 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14165 if test "x$ac_cv_header_pthread_h" = xyes; then :
14166 cat >>confdefs.h <<_ACEOF
14167 #define HAVE_PTHREAD_H 1
14174 for ac_header in sys/param.h
14176 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
14177 if test "x$ac_cv_header_sys_param_h" = xyes; then :
14178 cat >>confdefs.h <<_ACEOF
14179 #define HAVE_SYS_PARAM_H 1
14186 for ac_header in sys/signalfd.h
14188 ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
14189 if test "x$ac_cv_header_sys_signalfd_h" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_SYS_SIGNALFD_H 1
14198 for ac_header in sys/socket.h
14200 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
14201 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
14202 cat >>confdefs.h <<_ACEOF
14203 #define HAVE_SYS_SOCKET_H 1
14210 for ac_header in sys/stat.h
14212 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
14213 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
14214 cat >>confdefs.h <<_ACEOF
14215 #define HAVE_SYS_STAT_H 1
14222 for ac_header in sys/time.h
14224 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
14225 if test "x$ac_cv_header_sys_time_h" = xyes; then :
14226 cat >>confdefs.h <<_ACEOF
14227 #define HAVE_SYS_TIME_H 1
14234 for ac_header in unistd.h
14236 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
14237 if test "x$ac_cv_header_unistd_h" = xyes; then :
14238 cat >>confdefs.h <<_ACEOF
14239 #define HAVE_UNISTD_H 1
14246 for ac_header in linux/inotify.h
14248 ac_fn_c_check_header_mongrel "$LINENO" "linux/inotify.h" "ac_cv_header_linux_inotify_h" "$ac_includes_default"
14249 if test "x$ac_cv_header_linux_inotify_h" = xyes; then :
14250 cat >>confdefs.h <<_ACEOF
14251 #define HAVE_LINUX_INOTIFY_H 1
14258 ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
14259 if test "x$ac_cv_func_inotify_init" = xyes; then :
14266 # Check whether --with-systemdsystemunitdir was given.
14267 if test "${with_systemdsystemunitdir+set}" = set; then :
14268 withval=$with_systemdsystemunitdir; path_systemdsystemunit=${withval}
14270 path_systemdsystemunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"
14273 SYSTEMD_SYSTEMUNITDIR="${path_systemdsystemunit}"
14275 if test -n "${path_systemdsystemunit}"; then
14285 # Check whether --with-user was given.
14286 if test "${with_user+set}" = set; then :
14287 withval=$with_user; username=${withval}
14292 BUXTON_USERNAME="${username}"
14295 INIPARSER_CFLAGS="-I${srcdir}/src/shared/"
14297 # Check whether --with-local-iniparser was given.
14298 if test "${with_local_iniparser+set}" = set; then :
14299 withval=$with_local_iniparser; use_local_iniparser="true"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INIPARSER" >&5
14304 $as_echo_n "checking for INIPARSER... " >&6; }
14306 if test -n "$INIPARSER_CFLAGS"; then
14307 pkg_cv_INIPARSER_CFLAGS="$INIPARSER_CFLAGS"
14308 elif test -n "$PKG_CONFIG"; then
14309 if test -n "$PKG_CONFIG" && \
14310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14311 ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14314 test $ac_status = 0; }; then
14315 pkg_cv_INIPARSER_CFLAGS=`$PKG_CONFIG --cflags "iniparser >= 3.1" 2>/dev/null`
14316 test "x$?" != "x0" && pkg_failed=yes
14323 if test -n "$INIPARSER_LIBS"; then
14324 pkg_cv_INIPARSER_LIBS="$INIPARSER_LIBS"
14325 elif test -n "$PKG_CONFIG"; then
14326 if test -n "$PKG_CONFIG" && \
14327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14328 ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14331 test $ac_status = 0; }; then
14332 pkg_cv_INIPARSER_LIBS=`$PKG_CONFIG --libs "iniparser >= 3.1" 2>/dev/null`
14333 test "x$?" != "x0" && pkg_failed=yes
14343 if test $pkg_failed = yes; then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14345 $as_echo "no" >&6; }
14347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14348 _pkg_short_errors_supported=yes
14350 _pkg_short_errors_supported=no
14352 if test $_pkg_short_errors_supported = yes; then
14353 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14355 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14357 # Put the nasty error message in config.log where it belongs
14358 echo "$INIPARSER_PKG_ERRORS" >&5
14360 use_local_iniparser="true";
14361 elif test $pkg_failed = untried; then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14363 $as_echo "no" >&6; }
14364 use_local_iniparser="true";
14366 INIPARSER_CFLAGS=$pkg_cv_INIPARSER_CFLAGS
14367 INIPARSER_LIBS=$pkg_cv_INIPARSER_LIBS
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14369 $as_echo "yes" >&6; }
14370 use_local_iniparser="false"
14374 if test x$use_local_iniparser = x"true"; then
14375 USE_LOCAL_INIPARSER_TRUE=
14376 USE_LOCAL_INIPARSER_FALSE='#'
14378 USE_LOCAL_INIPARSER_TRUE='#'
14379 USE_LOCAL_INIPARSER_FALSE=
14384 # Check whether --with-module-dir was given.
14385 if test "${with_module_dir+set}" = set; then :
14386 withval=$with_module_dir; moduledir=${withval}
14388 moduledir="${libdir}/buxton"
14391 MODULEDIR="${moduledir}"
14395 # Check whether --with-config-path was given.
14396 if test "${with_config_path+set}" = set; then :
14397 withval=$with_config_path; confpath=${withval}
14399 confpath="${sysconfdir}/buxton.conf"
14402 CONFPATH="${confpath}"
14406 # Check whether --with-db-path was given.
14407 if test "${with_db_path+set}" = set; then :
14408 withval=$with_db_path; dbpath=${withval}
14410 dbpath="${localstatedir}/lib/buxton"
14413 DB_PATH="${dbpath}"
14417 # Check whether --with-socket-path was given.
14418 if test "${with_socket_path+set}" = set; then :
14419 withval=$with_socket_path; socketpath=${withval}
14421 socketpath="/run/buxton-0"
14424 BUXTON_SOCKET="${socketpath}"
14428 # Check whether --with-smack-load-file was given.
14429 if test "${with_smack_load_file+set}" = set; then :
14430 withval=$with_smack_load_file; smack_load_file=${withval}
14432 smack_load_file="/sys/fs/smackfs/load2"
14435 SMACK_LOAD_FILE="${smack_load_file}"
14439 # Check whether --with-smack-permissive was given.
14440 if test "${with_smack_permissive+set}" = set; then :
14441 withval=$with_smack_permissive; smack_permissive=${withval}
14443 smack_permissive="/sys/fs/smackfs/permissive"
14446 SMACK_PERMISSIVE="${smack_permissive}"
14449 # Check whether --enable-debug was given.
14450 if test "${enable_debug+set}" = set; then :
14451 enableval=$enable_debug;
14456 if test "x$enable_debug" = "xyes"; then :
14458 $as_echo "#define DEBUG 1" >>confdefs.h
14462 $as_echo "#define NDEBUG 1" >>confdefs.h
14465 if test x$enable_debug = x"yes"; then
14474 # Check whether --enable-manpages was given.
14475 if test "${enable_manpages+set}" = set; then :
14476 enableval=$enable_manpages;
14478 enable_manpages=yes
14481 if test "x$enable_manpages" = "xyes"; then :
14483 $as_echo "#define MANPAGE 1" >>confdefs.h
14487 $as_echo "#define NMANPAGE 1" >>confdefs.h
14490 if test x$enable_manpages = x"yes"; then
14500 # Check whether --enable-coverage was given.
14501 if test "${enable_coverage+set}" = set; then :
14502 enableval=$enable_coverage;
14505 if test "x$enable_coverage" = "xyes" ; then
14506 # Extract the first word of "lcov", so it can be a program name with args.
14507 set dummy lcov; ac_word=$2
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14509 $as_echo_n "checking for $ac_word... " >&6; }
14510 if ${ac_cv_prog_lcov_found+:} false; then :
14511 $as_echo_n "(cached) " >&6
14513 if test -n "$lcov_found"; then
14514 ac_cv_prog_lcov_found="$lcov_found" # Let the user override the test.
14516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14517 for as_dir in $PATH
14520 test -z "$as_dir" && as_dir=.
14521 for ac_exec_ext in '' $ac_executable_extensions; do
14522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14523 ac_cv_prog_lcov_found="yes"
14524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14531 test -z "$ac_cv_prog_lcov_found" && ac_cv_prog_lcov_found="no"
14534 lcov_found=$ac_cv_prog_lcov_found
14535 if test -n "$lcov_found"; then
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcov_found" >&5
14537 $as_echo "$lcov_found" >&6; }
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14540 $as_echo "no" >&6; }
14544 if test "x$lcov_found" = xno ; then
14545 as_fn_error $? "*** lcov support requested but the program was not found" "$LINENO" 5
14547 lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
14548 lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
14549 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
14550 as_fn_error $? "*** lcov version is too old. 1.10 required" "$LINENO" 5
14554 $as_echo "#define COVERAGE 1" >>confdefs.h
14559 if test "$have_coverage" = "yes"; then
14568 # Check whether --enable-demos was given.
14569 if test "${enable_demos+set}" = set; then :
14570 enableval=$enable_demos;
14575 if test "x$enable_demos" = "xyes"; then :
14577 $as_echo "#define DEMOS 1" >>confdefs.h
14580 if test x$enable_demos = x"yes"; then
14582 BUILD_DEMOS_FALSE='#'
14584 BUILD_DEMOS_TRUE='#'
14590 # Check whether --enable-gtk-demo was given.
14591 if test "${enable_gtk_demo+set}" = set; then :
14592 enableval=$enable_gtk_demo;
14597 if test "x$enable_gtk_demo" = "xyes"; then :
14599 $as_echo "#define DEMOS 1" >>confdefs.h
14602 if test x$enable_gtk_demo = x"yes"; then
14603 BUILD_GTK_DEMO_TRUE=
14604 BUILD_GTK_DEMO_FALSE='#'
14606 BUILD_GTK_DEMO_TRUE='#'
14607 BUILD_GTK_DEMO_FALSE=
14611 if test "x$enable_gtk_demo" = "xyes"; then
14612 # Require GTK3 for client demonstration
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
14616 $as_echo_n "checking for GTK3... " >&6; }
14618 if test -n "$GTK3_CFLAGS"; then
14619 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
14620 elif test -n "$PKG_CONFIG"; then
14621 if test -n "$PKG_CONFIG" && \
14622 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14623 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14626 test $ac_status = 0; }; then
14627 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.10" 2>/dev/null`
14628 test "x$?" != "x0" && pkg_failed=yes
14635 if test -n "$GTK3_LIBS"; then
14636 pkg_cv_GTK3_LIBS="$GTK3_LIBS"
14637 elif test -n "$PKG_CONFIG"; then
14638 if test -n "$PKG_CONFIG" && \
14639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14640 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 test $ac_status = 0; }; then
14644 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.10" 2>/dev/null`
14645 test "x$?" != "x0" && pkg_failed=yes
14655 if test $pkg_failed = yes; then
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14657 $as_echo "no" >&6; }
14659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14660 _pkg_short_errors_supported=yes
14662 _pkg_short_errors_supported=no
14664 if test $_pkg_short_errors_supported = yes; then
14665 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14667 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14669 # Put the nasty error message in config.log where it belongs
14670 echo "$GTK3_PKG_ERRORS" >&5
14672 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.10) were not met:
14676 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14677 installed software in a non-standard prefix.
14679 Alternatively, you may set the environment variables GTK3_CFLAGS
14680 and GTK3_LIBS to avoid the need to call pkg-config.
14681 See the pkg-config man page for more details." "$LINENO" 5
14682 elif test $pkg_failed = untried; then
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14684 $as_echo "no" >&6; }
14685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14687 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14688 is in your PATH or set the PKG_CONFIG environment variable to the full
14689 path to pkg-config.
14691 Alternatively, you may set the environment variables GTK3_CFLAGS
14692 and GTK3_LIBS to avoid the need to call pkg-config.
14693 See the pkg-config man page for more details.
14695 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14696 See \`config.log' for more details" "$LINENO" 5; }
14698 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
14699 GTK3_LIBS=$pkg_cv_GTK3_LIBS
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14706 ac_config_commands="$ac_config_commands mkdir"
14708 ac_config_files="$ac_config_files data/buxton.service data/buxton.socket data/buxton.pc data/buxtonsimple.pc test/test-pass.ini test/test-fail.ini test/test.conf"
14710 cat >confcache <<\_ACEOF
14711 # This file is a shell script that caches the results of configure
14712 # tests run on this system so they can be shared between configure
14713 # scripts and configure runs, see configure's option --config-cache.
14714 # It is not useful on other systems. If it contains results you don't
14715 # want to keep, you may remove or edit it.
14717 # config.status only pays attention to the cache file if you give it
14718 # the --recheck option to rerun configure.
14720 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14722 # following values.
14726 # The following way of writing the cache mishandles newlines in values,
14727 # but we know of no workaround that is simple, portable, and efficient.
14728 # So, we kill variables containing newlines.
14729 # Ultrix sh set writes to stderr and can't be redirected directly,
14730 # and sets the high bit in the cache file unless we assign to the vars.
14732 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14733 eval ac_val=\$$ac_var
14737 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14741 _ | IFS | as_nl) ;; #(
14742 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14743 *) { eval $ac_var=; unset $ac_var;} ;;
14749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14750 *${as_nl}ac_space=\ *)
14751 # `set' does not quote correctly, so add quotes: double-quote
14752 # substitution turns \\\\ into \\, and sed turns \\ into \.
14755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14758 # `set' quotes correctly as required by POSIX, so do not add quotes.
14759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14773 if test -w "$cache_file"; then
14774 if test "x$cache_file" != "x/dev/null"; then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14776 $as_echo "$as_me: updating cache $cache_file" >&6;}
14777 if test ! -f "$cache_file" || test -h "$cache_file"; then
14778 cat confcache >"$cache_file"
14780 case $cache_file in #(
14782 mv -f confcache "$cache_file"$$ &&
14783 mv -f "$cache_file"$$ "$cache_file" ;; #(
14785 mv -f confcache "$cache_file" ;;
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14791 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14796 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14797 # Let make expand exec_prefix.
14798 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14800 DEFS=-DHAVE_CONFIG_H
14805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14806 # 1. Remove the extension, and $U if already installed.
14807 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14808 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14809 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14810 # will be set to the directory where LIBOBJS objects are built.
14811 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14812 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14814 LIBOBJS=$ac_libobjs
14816 LTLIBOBJS=$ac_ltlibobjs
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14820 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14821 if test -n "$am_sleep_pid"; then
14822 # Hide warnings about reused PIDs.
14823 wait $am_sleep_pid 2>/dev/null
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14826 $as_echo "done" >&6; }
14827 if test -n "$EXEEXT"; then
14829 am__EXEEXT_FALSE='#'
14831 am__EXEEXT_TRUE='#'
14835 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14836 as_fn_error $? "conditional \"AMDEP\" was never defined.
14837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14839 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14840 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14843 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14844 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14847 if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
14848 as_fn_error $? "conditional \"SYSTEMD\" was never defined.
14849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14851 if test -z "${USE_LOCAL_INIPARSER_TRUE}" && test -z "${USE_LOCAL_INIPARSER_FALSE}"; then
14852 as_fn_error $? "conditional \"USE_LOCAL_INIPARSER\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14855 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
14856 as_fn_error $? "conditional \"DEBUG\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 if test -z "${MANPAGE_TRUE}" && test -z "${MANPAGE_FALSE}"; then
14860 as_fn_error $? "conditional \"MANPAGE\" was never defined.
14861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14863 if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
14864 as_fn_error $? "conditional \"COVERAGE\" was never defined.
14865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14867 if test -z "${BUILD_DEMOS_TRUE}" && test -z "${BUILD_DEMOS_FALSE}"; then
14868 as_fn_error $? "conditional \"BUILD_DEMOS\" was never defined.
14869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14871 if test -z "${BUILD_GTK_DEMO_TRUE}" && test -z "${BUILD_GTK_DEMO_FALSE}"; then
14872 as_fn_error $? "conditional \"BUILD_GTK_DEMO\" was never defined.
14873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14876 : "${CONFIG_STATUS=./config.status}"
14878 ac_clean_files_save=$ac_clean_files
14879 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14881 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14883 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14885 # Generated by $as_me.
14886 # Run this file to recreate the current configuration.
14887 # Compiler output produced by configure, useful for debugging
14888 # configure, is in config.log if it exists.
14891 ac_cs_recheck=false
14894 SHELL=\${CONFIG_SHELL-$SHELL}
14897 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14898 ## -------------------- ##
14899 ## M4sh Initialization. ##
14900 ## -------------------- ##
14902 # Be more Bourne compatible
14903 DUALCASE=1; export DUALCASE # for MKS sh
14904 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14907 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14908 # is contrary to our usage. Disable this feature.
14909 alias -g '${1+"$@"}'='"$@"'
14910 setopt NO_GLOB_SUBST
14912 case `(set -o) 2>/dev/null` in #(
14924 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14925 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14928 # Prefer a ksh shell builtin over an external printf program on Solaris,
14929 # but without wasting forks for bash or zsh.
14930 if test -z "$BASH_VERSION$ZSH_VERSION" \
14931 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14932 as_echo='print -r --'
14933 as_echo_n='print -rn --'
14934 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14935 as_echo='printf %s\n'
14936 as_echo_n='printf %s'
14938 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14939 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14940 as_echo_n='/usr/ucb/echo -n'
14942 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14943 as_echo_n_body='eval
14947 expr "X$arg" : "X\\(.*\\)$as_nl";
14948 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14950 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14952 export as_echo_n_body
14953 as_echo_n='sh -c $as_echo_n_body as_echo'
14955 export as_echo_body
14956 as_echo='sh -c $as_echo_body as_echo'
14959 # The user is always right.
14960 if test "${PATH_SEPARATOR+set}" != set; then
14962 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14963 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14970 # We need space, tab and new line, in precisely that order. Quoting is
14971 # there to prevent editors from complaining about space-tab.
14972 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14973 # splitting by setting IFS to empty value.)
14976 # Find who we are. Look in the path if we contain no directory separator.
14979 *[\\/]* ) as_myself=$0 ;;
14980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14981 for as_dir in $PATH
14984 test -z "$as_dir" && as_dir=.
14985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14991 # We did not find ourselves, most probably we were run as `sh COMMAND'
14992 # in which case we are not to be found in the path.
14993 if test "x$as_myself" = x; then
14996 if test ! -f "$as_myself"; then
14997 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15001 # Unset variables that we do not need and which cause bugs (e.g. in
15002 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15003 # suppresses any "Segmentation fault" message there. '((' could
15004 # trigger a bug in pdksh 5.2.14.
15005 for as_var in BASH_ENV ENV MAIL MAILPATH
15006 do eval test x\${$as_var+set} = xset \
15007 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15020 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15023 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15024 # ----------------------------------------
15025 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15026 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15027 # script with STATUS, using 1 if that was 0.
15030 as_status=$1; test $as_status -eq 0 && as_status=1
15032 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15033 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15035 $as_echo "$as_me: error: $2" >&2
15036 as_fn_exit $as_status
15040 # as_fn_set_status STATUS
15041 # -----------------------
15042 # Set $? to STATUS, without forking.
15043 as_fn_set_status ()
15046 } # as_fn_set_status
15048 # as_fn_exit STATUS
15049 # -----------------
15050 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15054 as_fn_set_status $1
15060 # Portably unset VAR.
15063 { eval $1=; unset $1;}
15065 as_unset=as_fn_unset
15066 # as_fn_append VAR VALUE
15067 # ----------------------
15068 # Append the text in VALUE to the end of the definition contained in VAR. Take
15069 # advantage of any shell optimizations that allow amortized linear growth over
15070 # repeated appends, instead of the typical quadratic growth present in naive
15072 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15073 eval 'as_fn_append ()
15084 # as_fn_arith ARG...
15085 # ------------------
15086 # Perform arithmetic evaluation on the ARGs, and store the result in the
15087 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15088 # must be portable across $(()) and expr.
15089 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15090 eval 'as_fn_arith ()
15097 as_val=`expr "$@" || test $? -eq 1`
15102 if expr a : '\(a\)' >/dev/null 2>&1 &&
15103 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15109 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15110 as_basename=basename
15115 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15121 as_me=`$as_basename -- "$0" ||
15122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15123 X"$0" : 'X\(//\)$' \| \
15124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15126 sed '/^.*\/\([^/][^/]*\)\/*$/{
15140 # Avoid depending upon Character Ranges.
15141 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15142 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15143 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15144 as_cr_digits='0123456789'
15145 as_cr_alnum=$as_cr_Letters$as_cr_digits
15147 ECHO_C= ECHO_N= ECHO_T=
15148 case `echo -n x` in #(((((
15150 case `echo 'xy\c'` in
15151 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15153 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15160 rm -f conf$$ conf$$.exe conf$$.file
15161 if test -d conf$$.dir; then
15162 rm -f conf$$.dir/conf$$.file
15165 mkdir conf$$.dir 2>/dev/null
15167 if (echo >conf$$.file) 2>/dev/null; then
15168 if ln -s conf$$.file conf$$ 2>/dev/null; then
15170 # ... but there are two gotchas:
15171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15173 # In both cases, we have to default to `cp -pR'.
15174 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15176 elif ln conf$$.file conf$$ 2>/dev/null; then
15184 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15185 rmdir conf$$.dir 2>/dev/null
15190 # Create "$as_dir" as a directory, including parents if necessary.
15195 -*) as_dir=./$as_dir;;
15197 test -d "$as_dir" || eval $as_mkdir_p || {
15201 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15202 *) as_qdir=$as_dir;;
15204 as_dirs="'$as_qdir' $as_dirs"
15205 as_dir=`$as_dirname -- "$as_dir" ||
15206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15207 X"$as_dir" : 'X\(//\)[^/]' \| \
15208 X"$as_dir" : 'X\(//\)$' \| \
15209 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15210 $as_echo X"$as_dir" |
15211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15215 /^X\(\/\/\)[^/].*/{
15228 test -d "$as_dir" && break
15230 test -z "$as_dirs" || eval "mkdir $as_dirs"
15231 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15235 if mkdir -p . 2>/dev/null; then
15236 as_mkdir_p='mkdir -p "$as_dir"'
15238 test -d ./-p && rmdir ./-p
15243 # as_fn_executable_p FILE
15244 # -----------------------
15245 # Test if FILE is an executable regular file.
15246 as_fn_executable_p ()
15248 test -f "$1" && test -x "$1"
15249 } # as_fn_executable_p
15250 as_test_x='test -x'
15251 as_executable_p=as_fn_executable_p
15253 # Sed expression to map a string onto a valid CPP name.
15254 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15256 # Sed expression to map a string onto a valid variable name.
15257 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15261 ## ----------------------------------- ##
15262 ## Main body of $CONFIG_STATUS script. ##
15263 ## ----------------------------------- ##
15265 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15268 # Save the log message, to keep $0 and so on meaningful, and to
15269 # report actual input values of CONFIG_FILES etc. instead of their
15270 # values after options handling.
15272 This file was extended by buxton $as_me 5, which was
15273 generated by GNU Autoconf 2.69. Invocation command line was
15275 CONFIG_FILES = $CONFIG_FILES
15276 CONFIG_HEADERS = $CONFIG_HEADERS
15277 CONFIG_LINKS = $CONFIG_LINKS
15278 CONFIG_COMMANDS = $CONFIG_COMMANDS
15281 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15286 case $ac_config_files in *"
15287 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15290 case $ac_config_headers in *"
15291 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15296 # Files that config.status was made for.
15297 config_files="$ac_config_files"
15298 config_headers="$ac_config_headers"
15299 config_commands="$ac_config_commands"
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15305 \`$as_me' instantiates files and other configuration actions
15306 from templates according to the current configuration. Unless the files
15307 and actions are specified as TAGs, all are instantiated by default.
15309 Usage: $0 [OPTION]... [TAG]...
15311 -h, --help print this help, then exit
15312 -V, --version print version number and configuration settings, then exit
15313 --config print configuration, then exit
15314 -q, --quiet, --silent
15315 do not print progress messages
15316 -d, --debug don't remove temporary files
15317 --recheck update $as_me by reconfiguring in the same conditions
15318 --file=FILE[:TEMPLATE]
15319 instantiate the configuration file FILE
15320 --header=FILE[:TEMPLATE]
15321 instantiate the configuration header FILE
15323 Configuration files:
15326 Configuration headers:
15329 Configuration commands:
15332 Report bugs to <william.douglas@intel.com>.
15333 buxton home page: <https://github.com/sofar/buxton>."
15336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15337 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15339 buxton config.status 5
15340 configured by $0, generated by GNU Autoconf 2.69,
15341 with options \\"\$ac_cs_config\\"
15343 Copyright (C) 2012 Free Software Foundation, Inc.
15344 This config.status script is free software; the Free Software Foundation
15345 gives unlimited permission to copy, distribute and modify it."
15352 test -n "\$AWK" || AWK=awk
15355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15356 # The default lists apply if the user does not specify any file.
15362 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15363 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15367 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15379 # Handling of the options.
15380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15382 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15383 $as_echo "$ac_cs_version"; exit ;;
15384 --config | --confi | --conf | --con | --co | --c )
15385 $as_echo "$ac_cs_config"; exit ;;
15386 --debug | --debu | --deb | --de | --d | -d )
15388 --file | --fil | --fi | --f )
15391 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15392 '') as_fn_error $? "missing file argument" ;;
15394 as_fn_append CONFIG_FILES " '$ac_optarg'"
15395 ac_need_defaults=false;;
15396 --header | --heade | --head | --hea )
15399 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15401 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15402 ac_need_defaults=false;;
15404 # Conflict between --help and --header
15405 as_fn_error $? "ambiguous option: \`$1'
15406 Try \`$0 --help' for more information.";;
15407 --help | --hel | -h )
15408 $as_echo "$ac_cs_usage"; exit ;;
15409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15410 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15413 # This is an error.
15414 -*) as_fn_error $? "unrecognized option: \`$1'
15415 Try \`$0 --help' for more information." ;;
15417 *) as_fn_append ac_config_targets " $1"
15418 ac_need_defaults=false ;;
15424 ac_configure_extra_args=
15426 if $ac_cs_silent; then
15428 ac_configure_extra_args="$ac_configure_extra_args --silent"
15432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15433 if \$ac_cs_recheck; then
15434 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15436 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15437 CONFIG_SHELL='$SHELL'
15438 export CONFIG_SHELL
15443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15448 ## Running $as_me. ##
15454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15458 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15461 # The HP-UX ksh and POSIX shell print the target directory to stdout
15462 # if CDPATH is set.
15463 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15465 sed_quote_subst='$sed_quote_subst'
15466 double_quote_subst='$double_quote_subst'
15467 delay_variable_subst='$delay_variable_subst'
15468 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15469 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15470 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15471 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15472 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15473 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15474 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15475 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15476 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15477 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15478 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15479 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15480 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15481 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15482 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15483 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15484 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15485 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15486 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15487 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15488 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15489 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15490 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15491 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15492 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15493 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15494 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15495 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15496 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15497 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15498 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15499 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15500 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15501 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15502 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15503 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15504 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15505 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15506 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15507 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15508 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15509 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15510 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15511 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15512 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15513 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15514 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15515 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15516 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15517 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15518 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15519 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15520 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15521 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15522 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15523 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15524 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"`'
15525 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15526 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15527 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15528 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15529 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15530 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15531 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15532 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15533 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15534 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15535 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15536 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15537 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15538 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15539 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15540 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15541 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15542 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15543 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15544 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15545 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15546 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15547 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15548 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15549 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15550 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15551 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15552 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15553 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15554 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15555 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15556 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15557 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15558 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15559 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15560 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15561 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15562 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15563 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15564 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15565 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15566 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15567 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15568 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15569 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15570 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15571 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15572 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15573 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15574 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15575 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15576 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15577 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15578 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15579 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15580 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15581 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15582 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15583 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15584 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15585 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15586 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15587 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15588 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15589 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15590 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15591 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15592 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15593 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15594 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15595 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15596 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15597 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15600 LTCFLAGS='$LTCFLAGS'
15601 compiler='$compiler_DEFAULT'
15603 # A function that is used when there is no print builtin or printf.
15604 func_fallback_echo ()
15606 eval 'cat <<_LTECHO_EOF
15611 # Quote evaled strings.
15626 deplibs_check_method \
15631 sharedlib_from_linklib_cmd \
15634 archiver_list_spec \
15640 lt_cv_sys_global_symbol_pipe \
15641 lt_cv_sys_global_symbol_to_cdecl \
15642 lt_cv_sys_global_symbol_to_c_name_address \
15643 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15644 nm_file_list_spec \
15645 lt_prog_compiler_no_builtin_flag \
15646 lt_prog_compiler_pic \
15647 lt_prog_compiler_wl \
15648 lt_prog_compiler_static \
15649 lt_cv_prog_compiler_c_o \
15658 export_dynamic_flag_spec \
15659 whole_archive_flag_spec \
15660 compiler_needs_object \
15662 allow_undefined_flag \
15663 no_undefined_flag \
15664 hardcode_libdir_flag_spec \
15665 hardcode_libdir_separator \
15669 variables_saved_for_relink \
15671 library_names_spec \
15673 install_override_mode \
15677 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15678 *[\\\\\\\`\\"\\\$]*)
15679 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15682 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15687 # Double-quote double-evaled strings.
15688 for var in reload_cmds \
15689 old_postinstall_cmds \
15690 old_postuninstall_cmds \
15692 extract_expsyms_cmds \
15693 old_archive_from_new_cmds \
15694 old_archive_from_expsyms_cmds \
15696 archive_expsym_cmds \
15698 module_expsym_cmds \
15699 export_symbols_cmds \
15703 postuninstall_cmds \
15705 sys_lib_search_path_spec \
15706 sys_lib_dlsearch_path_spec; do
15707 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15708 *[\\\\\\\`\\"\\\$]*)
15709 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15712 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15717 ac_aux_dir='$ac_aux_dir'
15718 xsi_shell='$xsi_shell'
15719 lt_shell_append='$lt_shell_append'
15721 # See if we are running on zsh, and set the options which allow our
15722 # commands through without removal of \ escapes INIT.
15723 if test -n "\${ZSH_VERSION+set}" ; then
15724 setopt NO_GLOB_SUBST
15730 TIMESTAMP='$TIMESTAMP'
15739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15741 # Handling of arguments.
15742 for ac_config_target in $ac_config_targets
15744 case $ac_config_target in
15745 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15746 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15747 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15748 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15749 "mkdir") CONFIG_COMMANDS="$CONFIG_COMMANDS mkdir" ;;
15750 "data/buxton.service") CONFIG_FILES="$CONFIG_FILES data/buxton.service" ;;
15751 "data/buxton.socket") CONFIG_FILES="$CONFIG_FILES data/buxton.socket" ;;
15752 "data/buxton.pc") CONFIG_FILES="$CONFIG_FILES data/buxton.pc" ;;
15753 "data/buxtonsimple.pc") CONFIG_FILES="$CONFIG_FILES data/buxtonsimple.pc" ;;
15754 "test/test-pass.ini") CONFIG_FILES="$CONFIG_FILES test/test-pass.ini" ;;
15755 "test/test-fail.ini") CONFIG_FILES="$CONFIG_FILES test/test-fail.ini" ;;
15756 "test/test.conf") CONFIG_FILES="$CONFIG_FILES test/test.conf" ;;
15758 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15763 # If the user did not use the arguments to specify the items to instantiate,
15764 # then the envvar interface is used. Set only those that are not.
15765 # We use the long form for the default assignment because of an extremely
15766 # bizarre bug on SunOS 4.1.3.
15767 if $ac_need_defaults; then
15768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15770 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15773 # Have a temporary directory for convenience. Make it in the build tree
15774 # simply because there is no reason against having it here, and in addition,
15775 # creating and moving files from /tmp can sometimes cause problems.
15776 # Hook for its removal unless debugging.
15777 # Note that there is a small window in which the directory will not be cleaned:
15778 # after its creation but before its name has been assigned to `$tmp'.
15782 trap 'exit_status=$?
15783 : "${ac_tmp:=$tmp}"
15784 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15786 trap 'as_fn_exit 1' 1 2 13 15
15788 # Create a (secure) tmp directory for tmp files.
15791 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15795 tmp=./conf$$-$RANDOM
15796 (umask 077 && mkdir "$tmp")
15797 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15800 # Set up the scripts for CONFIG_FILES section.
15801 # No need to generate them if there are no CONFIG_FILES.
15802 # This happens for instance with `./config.status config.h'.
15803 if test -n "$CONFIG_FILES"; then
15806 ac_cr=`echo X | tr X '\015'`
15807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15808 # But we know of no other shell where ac_cr would be empty at this
15809 # point, so we can use a bashism as a fallback.
15810 if test "x$ac_cr" = x; then
15811 eval ac_cr=\$\'\\r\'
15813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15817 ac_cs_awk_cr=$ac_cr
15820 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15825 echo "cat >conf$$subs.awk <<_ACEOF" &&
15826 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15828 } >conf$$subs.sh ||
15829 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15830 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15832 for ac_last_try in false false false false false :; do
15833 . ./conf$$subs.sh ||
15834 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15836 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15837 if test $ac_delim_n = $ac_delim_num; then
15839 elif $ac_last_try; then
15840 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15845 rm -f conf$$subs.sh
15847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15848 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15852 s/^/S["/; s/!.*/"]=/
15862 s/\(.\{148\}\)..*/\1/
15864 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15876 s/\(.\{148\}\)..*/\1/
15878 s/["\\]/\\&/g; s/^/"/; s/$/"/
15882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15887 ' <conf$$subs.awk | sed '
15892 ' >>$CONFIG_STATUS || ac_write_fail=1
15893 rm -f conf$$subs.awk
15894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15896 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15897 for (key in S) S_is_set[key] = 1
15903 nfields = split(line, field, "@")
15905 len = length(field[1])
15906 for (i = 2; i < nfields; i++) {
15908 keylen = length(key)
15909 if (S_is_set[key]) {
15911 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15912 len += length(value) + length(field[++i])
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15925 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15928 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15929 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15932 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15933 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15934 # trailing colons and then remove the whole line if VPATH becomes empty
15935 # (actually we leave an empty line to preserve line numbers).
15936 if test "x$srcdir" = x.; then
15937 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956 fi # test -n "$CONFIG_FILES"
15958 # Set up the scripts for CONFIG_HEADERS section.
15959 # No need to generate them if there are no CONFIG_HEADERS.
15960 # This happens for instance with `./config.status Makefile'.
15961 if test -n "$CONFIG_HEADERS"; then
15962 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15966 # Transform confdefs.h into an awk script `defines.awk', embedded as
15967 # here-document in config.status, that substitutes the proper values into
15968 # config.h.in to produce config.h.
15970 # Create a delimiter string that does not exist in confdefs.h, to ease
15971 # handling of long lines.
15973 for ac_last_try in false false :; do
15974 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15975 if test -z "$ac_tt"; then
15977 elif $ac_last_try; then
15978 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15980 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15984 # For the awk script, D is an array of macro values keyed by name,
15985 # likewise P contains macro parameters if any. Preserve backslash
15986 # newline sequences.
15988 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15990 s/.\{148\}/&'"$ac_delim"'/g
15993 s/^[ ]*#[ ]*define[ ][ ]*/ /
16000 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16002 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16007 D["\1"]=" \3\\\\\\n"\\/p
16009 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16014 s/.\{148\}/&'"$ac_delim"'/g
16019 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16022 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16024 ' <confdefs.h | sed '
16025 s/'"$ac_delim"'/"\\\
16026 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16029 for (key in D) D_is_set[key] = 1
16032 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16034 split(line, arg, " ")
16035 if (arg[1] == "#") {
16039 defundef = substr(arg[1], 2)
16042 split(mac1, mac2, "(") #)
16044 prefix = substr(line, 1, index(line, defundef) - 1)
16045 if (D_is_set[macro]) {
16046 # Preserve the white space surrounding the "#".
16047 print prefix "define", macro P[macro] D[macro]
16050 # Replace #undef with comments. This is necessary, for example,
16051 # in the case of _POSIX_SOURCE, which is predefined and required
16052 # on some systems where configure will not decide to define it.
16053 if (defundef == "undef") {
16054 print "/*", prefix defundef, macro, "*/"
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16063 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16064 fi # test -n "$CONFIG_HEADERS"
16067 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16072 :[FHLC]) ac_mode=$ac_tag; continue;;
16074 case $ac_mode$ac_tag in
16076 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16077 :[FH]-) ac_tag=-:-;;
16078 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16095 -) ac_f="$ac_tmp/stdin";;
16096 *) # Look for the file first in the build tree, then in the source tree
16097 # (if the path is not absolute). The absolute path cannot be DOS-style,
16098 # because $ac_f cannot contain `:'.
16102 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16104 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16106 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16107 as_fn_append ac_file_inputs " '$ac_f'"
16110 # Let's still pretend it is `configure' which instantiates (i.e., don't
16111 # use $as_me), people would be surprised to read:
16112 # /* config.h. Generated by config.status. */
16113 configure_input='Generated from '`
16114 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16116 if test x"$ac_file" != x-; then
16117 configure_input="$ac_file. $configure_input"
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16119 $as_echo "$as_me: creating $ac_file" >&6;}
16121 # Neutralize special characters interpreted by sed in replacement strings.
16122 case $configure_input in #(
16123 *\&* | *\|* | *\\* )
16124 ac_sed_conf_input=`$as_echo "$configure_input" |
16125 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16126 *) ac_sed_conf_input=$configure_input;;
16130 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16136 ac_dir=`$as_dirname -- "$ac_file" ||
16137 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16138 X"$ac_file" : 'X\(//\)[^/]' \| \
16139 X"$ac_file" : 'X\(//\)$' \| \
16140 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16141 $as_echo X"$ac_file" |
16142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16146 /^X\(\/\/\)[^/].*/{
16159 as_dir="$ac_dir"; as_fn_mkdir_p
16163 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16165 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16166 # A ".." for each directory in $ac_dir_suffix.
16167 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16168 case $ac_top_builddir_sub in
16169 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16170 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16173 ac_abs_top_builddir=$ac_pwd
16174 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16175 # for backward compatibility:
16176 ac_top_builddir=$ac_top_build_prefix
16179 .) # We are building in place.
16181 ac_top_srcdir=$ac_top_builddir_sub
16182 ac_abs_top_srcdir=$ac_pwd ;;
16183 [\\/]* | ?:[\\/]* ) # Absolute name.
16184 ac_srcdir=$srcdir$ac_dir_suffix;
16185 ac_top_srcdir=$srcdir
16186 ac_abs_top_srcdir=$srcdir ;;
16187 *) # Relative name.
16188 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16189 ac_top_srcdir=$ac_top_build_prefix$srcdir
16190 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16192 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16202 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16203 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16205 ac_MKDIR_P=$MKDIR_P
16207 [\\/$]* | ?:[\\/]* ) ;;
16208 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16213 # If the template does not know about datarootdir, expand it.
16214 # FIXME: This hack should be removed a few years after 2.60.
16215 ac_datarootdir_hack=; ac_datarootdir_seen=
16226 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16227 *datarootdir*) ac_datarootdir_seen=yes;;
16228 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16230 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16233 ac_datarootdir_hack='
16234 s&@datadir@&$datadir&g
16235 s&@docdir@&$docdir&g
16236 s&@infodir@&$infodir&g
16237 s&@localedir@&$localedir&g
16238 s&@mandir@&$mandir&g
16239 s&\\\${datarootdir}&$datarootdir&g' ;;
16243 # Neutralize VPATH when `$srcdir' = `.'.
16244 # Shell code in configure.ac might set extrasub.
16245 # FIXME: do we really want to maintain this feature?
16246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247 ac_sed_extra="$ac_vpsub
16250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16253 s|@configure_input@|$ac_sed_conf_input|;t t
16254 s&@top_builddir@&$ac_top_builddir_sub&;t t
16255 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16256 s&@srcdir@&$ac_srcdir&;t t
16257 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16258 s&@top_srcdir@&$ac_top_srcdir&;t t
16259 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16260 s&@builddir@&$ac_builddir&;t t
16261 s&@abs_builddir@&$ac_abs_builddir&;t t
16262 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16263 s&@INSTALL@&$ac_INSTALL&;t t
16264 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16265 $ac_datarootdir_hack
16267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16268 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16271 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16272 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16273 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16275 which seems to be undefined. Please make sure it is defined" >&5
16276 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16277 which seems to be undefined. Please make sure it is defined" >&2;}
16279 rm -f "$ac_tmp/stdin"
16281 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16282 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16284 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16290 if test x"$ac_file" != x-; then
16292 $as_echo "/* $configure_input */" \
16293 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16294 } >"$ac_tmp/config.h" \
16295 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16296 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16298 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16301 mv "$ac_tmp/config.h" "$ac_file" \
16302 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16305 $as_echo "/* $configure_input */" \
16306 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16307 || as_fn_error $? "could not create -" "$LINENO" 5
16309 # Compute "$ac_file"'s index in $config_headers.
16312 for _am_header in $config_headers :; do
16313 case $_am_header in
16314 $_am_arg | $_am_arg:* )
16317 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16320 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16321 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16322 X"$_am_arg" : 'X\(//\)[^/]' \| \
16323 X"$_am_arg" : 'X\(//\)$' \| \
16324 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16325 $as_echo X"$_am_arg" |
16326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16330 /^X\(\/\/\)[^/].*/{
16342 s/.*/./; q'`/stamp-h$_am_stamp_count
16345 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16346 $as_echo "$as_me: executing $ac_file commands" >&6;}
16351 case $ac_file$ac_mode in
16352 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16353 # Older Autoconf quotes --file arguments for eval, but not when files
16354 # are listed without --file. Let's play safe and only enable the eval
16355 # if we detect the quoting.
16356 case $CONFIG_FILES in
16357 *\'*) eval set x "$CONFIG_FILES" ;;
16358 *) set x $CONFIG_FILES ;;
16363 # Strip MF so we end up with the name of the file.
16364 mf=`echo "$mf" | sed -e 's/:.*$//'`
16365 # Check whether this is an Automake generated Makefile or not.
16366 # We used to match only the files named 'Makefile.in', but
16367 # some people rename them; so instead we look at the file content.
16368 # Grep'ing the first line is not enough: some people post-process
16369 # each Makefile.in and add a new line on top of each file to say so.
16370 # Grep'ing the whole file is not good either: AIX grep has a line
16371 # limit of 2048, but all sed's we know have understand at least 4000.
16372 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16373 dirpart=`$as_dirname -- "$mf" ||
16374 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16375 X"$mf" : 'X\(//\)[^/]' \| \
16376 X"$mf" : 'X\(//\)$' \| \
16377 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16383 /^X\(\/\/\)[^/].*/{
16399 # Extract the definition of DEPDIR, am__include, and am__quote
16400 # from the Makefile without running 'make'.
16401 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16402 test -z "$DEPDIR" && continue
16403 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16404 test -z "$am__include" && continue
16405 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16406 # Find all dependency output files, they are included files with
16407 # $(DEPDIR) in their names. We invoke sed twice because it is the
16408 # simplest approach to changing $(DEPDIR) to its actual value in the
16410 for file in `sed -n "
16411 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16412 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16413 # Make sure the directory exists.
16414 test -f "$dirpart/$file" && continue
16415 fdir=`$as_dirname -- "$file" ||
16416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417 X"$file" : 'X\(//\)[^/]' \| \
16418 X"$file" : 'X\(//\)$' \| \
16419 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$file" |
16421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16425 /^X\(\/\/\)[^/].*/{
16438 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16439 # echo "creating $dirpart/$file"
16440 echo '# dummy' > "$dirpart/$file"
16447 # See if we are running on zsh, and set the options which allow our
16448 # commands through without removal of \ escapes.
16449 if test -n "${ZSH_VERSION+set}" ; then
16450 setopt NO_GLOB_SUBST
16453 cfgfile="${ofile}T"
16454 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16457 cat <<_LT_EOF >> "$cfgfile"
16460 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16461 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16462 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16463 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16465 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16466 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16468 # Written by Gordon Matzigkeit, 1996
16470 # This file is part of GNU Libtool.
16472 # GNU Libtool is free software; you can redistribute it and/or
16473 # modify it under the terms of the GNU General Public License as
16474 # published by the Free Software Foundation; either version 2 of
16475 # the License, or (at your option) any later version.
16477 # As a special exception to the GNU General Public License,
16478 # if you distribute this file as part of a program or library that
16479 # is built using GNU Libtool, you may include this file under the
16480 # same distribution terms that you use for the rest of that program.
16482 # GNU Libtool is distributed in the hope that it will be useful,
16483 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16484 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16485 # GNU General Public License for more details.
16487 # You should have received a copy of the GNU General Public License
16488 # along with GNU Libtool; see the file COPYING. If not, a copy
16489 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16490 # obtained by writing to the Free Software Foundation, Inc.,
16491 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16494 # The names of the tagged configurations supported by this script.
16497 # ### BEGIN LIBTOOL CONFIG
16499 # Which release of libtool.m4 was used?
16500 macro_version=$macro_version
16501 macro_revision=$macro_revision
16503 # Whether or not to build static libraries.
16504 build_old_libs=$enable_static
16506 # Whether or not to build shared libraries.
16507 build_libtool_libs=$enable_shared
16509 # What type of objects to build.
16512 # Whether or not to optimize for fast installation.
16513 fast_install=$enable_fast_install
16515 # Shell to use when invoking shell scripts.
16518 # An echo program that protects backslashes.
16521 # The PATH separator for the build system.
16522 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16525 host_alias=$host_alias
16529 # The build system.
16530 build_alias=$build_alias
16534 # A sed program that does not truncate output.
16537 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16538 Xsed="\$SED -e 1s/^X//"
16540 # A grep program that handles long lines.
16546 # A literal string matcher.
16549 # A BSD- or MS-compatible name lister.
16552 # Whether we need soft or hard links.
16555 # What is the maximum length of a command?
16556 max_cmd_len=$max_cmd_len
16558 # Object file suffix (normally "o").
16561 # Executable file suffix (normally "").
16564 # whether the shell understands "unset".
16567 # turn spaces into newlines.
16570 # turn newlines into spaces.
16573 # convert \$build file names to \$host format.
16574 to_host_file_cmd=$lt_cv_to_host_file_cmd
16576 # convert \$build files to toolchain format.
16577 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16579 # An object symbol dumper.
16580 OBJDUMP=$lt_OBJDUMP
16582 # Method to check whether dependent libraries are shared objects.
16583 deplibs_check_method=$lt_deplibs_check_method
16585 # Command to use when deplibs_check_method = "file_magic".
16586 file_magic_cmd=$lt_file_magic_cmd
16588 # How to find potential files when deplibs_check_method = "file_magic".
16589 file_magic_glob=$lt_file_magic_glob
16591 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16592 want_nocaseglob=$lt_want_nocaseglob
16594 # DLL creation program.
16595 DLLTOOL=$lt_DLLTOOL
16597 # Command to associate shared and link libraries.
16598 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16603 # Flags to create an archive.
16604 AR_FLAGS=$lt_AR_FLAGS
16606 # How to feed a file listing to the archiver.
16607 archiver_list_spec=$lt_archiver_list_spec
16609 # A symbol stripping program.
16612 # Commands used to install an old-style archive.
16614 old_postinstall_cmds=$lt_old_postinstall_cmds
16615 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16617 # Whether to use a lock for old archive extraction.
16618 lock_old_archive_extraction=$lock_old_archive_extraction
16623 # LTCC compiler flags.
16624 LTCFLAGS=$lt_CFLAGS
16626 # Take the output of nm and produce a listing of raw symbols and C names.
16627 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16629 # Transform the output of nm in a proper C declaration.
16630 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16632 # Transform the output of nm in a C name address pair.
16633 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16635 # Transform the output of nm in a C name address pair when lib prefix is needed.
16636 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16638 # Specify filename containing input files for \$NM.
16639 nm_file_list_spec=$lt_nm_file_list_spec
16641 # The root where to search for dependent libraries,and in which our libraries should be installed.
16642 lt_sysroot=$lt_sysroot
16644 # The name of the directory that contains temporary libtool files.
16647 # Used to examine libraries when file_magic_cmd begins with "file".
16648 MAGIC_CMD=$MAGIC_CMD
16650 # Must we lock files when doing compilation?
16651 need_locks=$lt_need_locks
16654 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16656 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16657 DSYMUTIL=$lt_DSYMUTIL
16659 # Tool to change global to local symbols on Mac OS X.
16662 # Tool to manipulate fat objects and archives on Mac OS X.
16665 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16668 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16669 OTOOL64=$lt_OTOOL64
16671 # Old archive suffix (normally "a").
16674 # Shared library suffix (normally ".so").
16675 shrext_cmds=$lt_shrext_cmds
16677 # The commands to extract the exported symbol list from a shared archive.
16678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16680 # Variables whose values should be saved in libtool wrapper scripts and
16681 # restored at link time.
16682 variables_saved_for_relink=$lt_variables_saved_for_relink
16684 # Do we need the "lib" prefix for modules?
16685 need_lib_prefix=$need_lib_prefix
16687 # Do we need a version for libraries?
16688 need_version=$need_version
16690 # Library versioning type.
16691 version_type=$version_type
16693 # Shared library runtime path variable.
16694 runpath_var=$runpath_var
16696 # Shared library path variable.
16697 shlibpath_var=$shlibpath_var
16699 # Is shlibpath searched before the hard-coded library search path?
16700 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16702 # Format of library name prefix.
16703 libname_spec=$lt_libname_spec
16705 # List of archive names. First name is the real one, the rest are links.
16706 # The last name is the one that the linker finds with -lNAME
16707 library_names_spec=$lt_library_names_spec
16709 # The coded name of the library, if different from the real name.
16710 soname_spec=$lt_soname_spec
16712 # Permission mode override for installation of shared libraries.
16713 install_override_mode=$lt_install_override_mode
16715 # Command to use after installation of a shared archive.
16716 postinstall_cmds=$lt_postinstall_cmds
16718 # Command to use after uninstallation of a shared archive.
16719 postuninstall_cmds=$lt_postuninstall_cmds
16721 # Commands used to finish a libtool library installation in a directory.
16722 finish_cmds=$lt_finish_cmds
16724 # As "finish_cmds", except a single script fragment to be evaled but
16726 finish_eval=$lt_finish_eval
16728 # Whether we should hardcode library paths into libraries.
16729 hardcode_into_libs=$hardcode_into_libs
16731 # Compile-time system search path for libraries.
16732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16734 # Run-time system search path for libraries.
16735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16737 # Whether dlopen is supported.
16738 dlopen_support=$enable_dlopen
16740 # Whether dlopen of programs is supported.
16741 dlopen_self=$enable_dlopen_self
16743 # Whether dlopen of statically linked programs is supported.
16744 dlopen_self_static=$enable_dlopen_self_static
16746 # Commands to strip libraries.
16747 old_striplib=$lt_old_striplib
16748 striplib=$lt_striplib
16751 # The linker used to build libraries.
16754 # How to create reloadable object files.
16755 reload_flag=$lt_reload_flag
16756 reload_cmds=$lt_reload_cmds
16758 # Commands used to build an old-style archive.
16759 old_archive_cmds=$lt_old_archive_cmds
16761 # A language specific compiler.
16764 # Is the compiler the GNU compiler?
16767 # Compiler flag to turn off builtin functions.
16768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16770 # Additional compiler flags for building library objects.
16771 pic_flag=$lt_lt_prog_compiler_pic
16773 # How to pass a linker flag through the compiler.
16774 wl=$lt_lt_prog_compiler_wl
16776 # Compiler flag to prevent dynamic linking.
16777 link_static_flag=$lt_lt_prog_compiler_static
16779 # Does compiler simultaneously support -c and -o options?
16780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16782 # Whether or not to add -lc for building shared libraries.
16783 build_libtool_need_lc=$archive_cmds_need_lc
16785 # Whether or not to disallow shared libs when runtime libs are static.
16786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16788 # Compiler flag to allow reflexive dlopens.
16789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16791 # Compiler flag to generate shared objects directly from archives.
16792 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16794 # Whether the compiler copes with passing no objects directly.
16795 compiler_needs_object=$lt_compiler_needs_object
16797 # Create an old-style archive from a shared archive.
16798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16800 # Create a temporary old-style archive to link instead of a shared archive.
16801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16803 # Commands used to build a shared archive.
16804 archive_cmds=$lt_archive_cmds
16805 archive_expsym_cmds=$lt_archive_expsym_cmds
16807 # Commands used to build a loadable module if different from building
16808 # a shared archive.
16809 module_cmds=$lt_module_cmds
16810 module_expsym_cmds=$lt_module_expsym_cmds
16812 # Whether we are building with GNU ld or not.
16813 with_gnu_ld=$lt_with_gnu_ld
16815 # Flag that allows shared libraries with undefined symbols to be built.
16816 allow_undefined_flag=$lt_allow_undefined_flag
16818 # Flag that enforces no undefined symbols.
16819 no_undefined_flag=$lt_no_undefined_flag
16821 # Flag to hardcode \$libdir into a binary during linking.
16822 # This must work even if \$libdir does not exist
16823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16825 # Whether we need a single "-rpath" flag with a separated argument.
16826 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16829 # DIR into the resulting binary.
16830 hardcode_direct=$hardcode_direct
16832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16833 # DIR into the resulting binary and the resulting library dependency is
16834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16835 # library is relocated.
16836 hardcode_direct_absolute=$hardcode_direct_absolute
16838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16839 # into the resulting binary.
16840 hardcode_minus_L=$hardcode_minus_L
16842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16843 # into the resulting binary.
16844 hardcode_shlibpath_var=$hardcode_shlibpath_var
16846 # Set to "yes" if building a shared library automatically hardcodes DIR
16847 # into the library and all subsequent libraries and executables linked
16849 hardcode_automatic=$hardcode_automatic
16851 # Set to yes if linker adds runtime paths of dependent libraries
16852 # to runtime path list.
16853 inherit_rpath=$inherit_rpath
16855 # Whether libtool must link a program against all its dependency libraries.
16856 link_all_deplibs=$link_all_deplibs
16858 # Set to "yes" if exported symbols are required.
16859 always_export_symbols=$always_export_symbols
16861 # The commands to list exported symbols.
16862 export_symbols_cmds=$lt_export_symbols_cmds
16864 # Symbols that should not be listed in the preloaded symbols.
16865 exclude_expsyms=$lt_exclude_expsyms
16867 # Symbols that must always be exported.
16868 include_expsyms=$lt_include_expsyms
16870 # Commands necessary for linking programs (against libraries) with templates.
16871 prelink_cmds=$lt_prelink_cmds
16873 # Commands necessary for finishing linking programs.
16874 postlink_cmds=$lt_postlink_cmds
16876 # Specify filename containing input files.
16877 file_list_spec=$lt_file_list_spec
16879 # How to hardcode a shared library path into an executable.
16880 hardcode_action=$hardcode_action
16882 # ### END LIBTOOL CONFIG
16888 cat <<\_LT_EOF >> "$cfgfile"
16889 # AIX sometimes has problems with the GCC collect2 program. For some
16890 # reason, if we set the COLLECT_NAMES environment variable, the problems
16891 # vanish in a puff of smoke.
16892 if test "X${COLLECT_NAMES+set}" != Xset; then
16894 export COLLECT_NAMES
16901 ltmain="$ac_aux_dir/ltmain.sh"
16904 # We use sed instead of cat because bash on DJGPP gets confused if
16905 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16906 # text mode, it properly converts lines to CR/LF. This bash problem
16907 # is reportedly fixed, but why not run on old versions too?
16908 sed '$q' "$ltmain" >> "$cfgfile" \
16909 || (rm -f "$cfgfile"; exit 1)
16911 if test x"$xsi_shell" = xyes; then
16912 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16916 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16917 \ * ) func_dirname_result="${3}" ;;\
16919 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16920 && mv -f "$cfgfile.tmp" "$cfgfile" \
16921 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16922 test 0 -eq $? || _lt_function_replace_fail=:
16925 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16928 \ func_basename_result="${1##*/}"\
16929 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16930 && mv -f "$cfgfile.tmp" "$cfgfile" \
16931 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16932 test 0 -eq $? || _lt_function_replace_fail=:
16935 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16936 func_dirname_and_basename ()\
16939 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16940 \ * ) func_dirname_result="${3}" ;;\
16942 \ func_basename_result="${1##*/}"\
16943 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16944 && mv -f "$cfgfile.tmp" "$cfgfile" \
16945 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16946 test 0 -eq $? || _lt_function_replace_fail=:
16949 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16952 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16953 \ # positional parameters, so assign one to ordinary parameter first.\
16954 \ func_stripname_result=${3}\
16955 \ func_stripname_result=${func_stripname_result#"${1}"}\
16956 \ func_stripname_result=${func_stripname_result%"${2}"}\
16957 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16958 && mv -f "$cfgfile.tmp" "$cfgfile" \
16959 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16960 test 0 -eq $? || _lt_function_replace_fail=:
16963 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16964 func_split_long_opt ()\
16966 \ func_split_long_opt_name=${1%%=*}\
16967 \ func_split_long_opt_arg=${1#*=}\
16968 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16969 && mv -f "$cfgfile.tmp" "$cfgfile" \
16970 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16971 test 0 -eq $? || _lt_function_replace_fail=:
16974 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16975 func_split_short_opt ()\
16977 \ func_split_short_opt_arg=${1#??}\
16978 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16979 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16980 && mv -f "$cfgfile.tmp" "$cfgfile" \
16981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16982 test 0 -eq $? || _lt_function_replace_fail=:
16985 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16989 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16990 \ *) func_lo2o_result=${1} ;;\
16992 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16993 && mv -f "$cfgfile.tmp" "$cfgfile" \
16994 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16995 test 0 -eq $? || _lt_function_replace_fail=:
16998 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17001 func_xform_result=${1%.*}.lo\
17002 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17003 && mv -f "$cfgfile.tmp" "$cfgfile" \
17004 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17005 test 0 -eq $? || _lt_function_replace_fail=:
17008 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17011 func_arith_result=$(( $* ))\
17012 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17013 && mv -f "$cfgfile.tmp" "$cfgfile" \
17014 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17015 test 0 -eq $? || _lt_function_replace_fail=:
17018 sed -e '/^func_len ()$/,/^} # func_len /c\
17021 func_len_result=${#1}\
17022 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17023 && mv -f "$cfgfile.tmp" "$cfgfile" \
17024 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17025 test 0 -eq $? || _lt_function_replace_fail=:
17029 if test x"$lt_shell_append" = xyes; then
17030 sed -e '/^func_append ()$/,/^} # func_append /c\
17033 eval "${1}+=\\${2}"\
17034 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17035 && mv -f "$cfgfile.tmp" "$cfgfile" \
17036 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17037 test 0 -eq $? || _lt_function_replace_fail=:
17040 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17041 func_append_quoted ()\
17043 \ func_quote_for_eval "${2}"\
17044 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17045 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17046 && mv -f "$cfgfile.tmp" "$cfgfile" \
17047 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17048 test 0 -eq $? || _lt_function_replace_fail=:
17051 # Save a `func_append' function call where possible by direct use of '+='
17052 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17053 && mv -f "$cfgfile.tmp" "$cfgfile" \
17054 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17055 test 0 -eq $? || _lt_function_replace_fail=:
17057 # Save a `func_append' function call even when '+=' is not available
17058 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17059 && mv -f "$cfgfile.tmp" "$cfgfile" \
17060 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17061 test 0 -eq $? || _lt_function_replace_fail=:
17064 if test x"$_lt_function_replace_fail" = x":"; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17066 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17070 mv -f "$cfgfile" "$ofile" ||
17071 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17075 "mkdir":C) $MKDIR_P test/databases ;;
17083 ac_clean_files=$ac_clean_files_save
17085 test $ac_write_fail = 0 ||
17086 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17089 # configure is writing to config.log, and then calls config.status.
17090 # config.status does its own redirection, appending to config.log.
17091 # Unfortunately, on DOS this fails, as config.log is still kept open
17092 # by configure, so config.status won't be able to write to it; its
17093 # output is simply discarded. So we exec the FD to /dev/null,
17094 # effectively closing config.log, so it can be properly (re)opened and
17095 # appended to by config.status. When coming back to configure, we
17096 # need to make the FD available again.
17097 if test "$no_create" != yes; then
17099 ac_config_status_args=
17100 test "$silent" = yes &&
17101 ac_config_status_args="$ac_config_status_args --quiet"
17103 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17105 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17106 # would make configure fail if this is the last instruction.
17107 $ac_cs_success || as_fn_exit 1
17109 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17111 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17121 sysconfdir: ${sysconfdir}
17122 exec_prefix: ${exec_prefix}
17124 sbindir: ${sbindir}
17125 datarootdir: ${datarootdir}
17127 modules: ${MODULEDIR}
17131 ldflags: ${LDFLAGS}
17133 debug: ${enable_debug}
17134 demos: ${enable_demos}
17135 coverage: ${have_coverage}
17136 manpages: ${enable_manpages}
17144 sysconfdir: ${sysconfdir}
17145 exec_prefix: ${exec_prefix}
17147 sbindir: ${sbindir}
17148 datarootdir: ${datarootdir}
17150 modules: ${MODULEDIR}
17154 ldflags: ${LDFLAGS}
17156 debug: ${enable_debug}
17157 demos: ${enable_demos}
17158 coverage: ${have_coverage}
17159 manpages: ${enable_manpages}