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
657 USE_LOCAL_INIPARSER_FALSE
658 USE_LOCAL_INIPARSER_TRUE
664 SYSTEMD_SYSTEMUNITDIR
734 INSTALL_STRIP_PROGRAM
776 program_transform_name
789 enable_option_checking
795 enable_dependency_tracking
799 with_systemdsystemunitdir
813 ac_precious_vars='build_alias
835 # Initialize some variables set by options.
837 ac_init_version=false
838 ac_unrecognized_opts=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
849 program_transform_name=s,x,x,
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
889 eval $ac_prev=\$ac_option
895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 # Accept the important Cygnus configure options, so we can diagnose typos.
902 case $ac_dashdash$ac_option in
906 -bindir | --bindir | --bindi | --bind | --bin | --bi)
908 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911 -build | --build | --buil | --bui | --bu)
912 ac_prev=build_alias ;;
913 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
914 build_alias=$ac_optarg ;;
916 -cache-file | --cache-file | --cache-fil | --cache-fi \
917 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
918 ac_prev=cache_file ;;
919 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
920 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
921 cache_file=$ac_optarg ;;
924 cache_file=config.cache ;;
926 -datadir | --datadir | --datadi | --datad)
928 -datadir=* | --datadir=* | --datadi=* | --datad=*)
929 datadir=$ac_optarg ;;
931 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
932 | --dataroo | --dataro | --datar)
933 ac_prev=datarootdir ;;
934 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
935 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
936 datarootdir=$ac_optarg ;;
938 -disable-* | --disable-*)
939 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 as_fn_error $? "invalid feature name: $ac_useropt"
943 ac_useropt_orig=$ac_useropt
944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
950 ac_unrecognized_sep=', ';;
952 eval enable_$ac_useropt=no ;;
954 -docdir | --docdir | --docdi | --doc | --do)
956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964 -enable-* | --enable-*)
965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 as_fn_error $? "invalid feature name: $ac_useropt"
969 ac_useropt_orig=$ac_useropt
970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
976 ac_unrecognized_sep=', ';;
978 eval enable_$ac_useropt=\$ac_optarg ;;
980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982 | --exec | --exe | --ex)
983 ac_prev=exec_prefix ;;
984 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
985 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
986 | --exec=* | --exe=* | --ex=*)
987 exec_prefix=$ac_optarg ;;
989 -gas | --gas | --ga | --g)
990 # Obsolete; use --with-gas.
993 -help | --help | --hel | --he | -h)
995 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
996 ac_init_help=recursive ;;
997 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998 ac_init_help=short ;;
1000 -host | --host | --hos | --ho)
1001 ac_prev=host_alias ;;
1002 -host=* | --host=* | --hos=* | --ho=*)
1003 host_alias=$ac_optarg ;;
1005 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1007 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009 htmldir=$ac_optarg ;;
1011 -includedir | --includedir | --includedi | --included | --include \
1012 | --includ | --inclu | --incl | --inc)
1013 ac_prev=includedir ;;
1014 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1015 | --includ=* | --inclu=* | --incl=* | --inc=*)
1016 includedir=$ac_optarg ;;
1018 -infodir | --infodir | --infodi | --infod | --info | --inf)
1020 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021 infodir=$ac_optarg ;;
1023 -libdir | --libdir | --libdi | --libd)
1025 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026 libdir=$ac_optarg ;;
1028 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1029 | --libexe | --libex | --libe)
1030 ac_prev=libexecdir ;;
1031 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1032 | --libexe=* | --libex=* | --libe=*)
1033 libexecdir=$ac_optarg ;;
1035 -localedir | --localedir | --localedi | --localed | --locale)
1036 ac_prev=localedir ;;
1037 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038 localedir=$ac_optarg ;;
1040 -localstatedir | --localstatedir | --localstatedi | --localstated \
1041 | --localstate | --localstat | --localsta | --localst | --locals)
1042 ac_prev=localstatedir ;;
1043 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1044 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045 localstatedir=$ac_optarg ;;
1047 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1049 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050 mandir=$ac_optarg ;;
1052 -nfp | --nfp | --nf)
1053 # Obsolete; use --without-fp.
1056 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057 | --no-cr | --no-c | -n)
1060 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1061 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1065 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1066 | --oldin | --oldi | --old | --ol | --o)
1067 ac_prev=oldincludedir ;;
1068 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1069 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1070 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071 oldincludedir=$ac_optarg ;;
1073 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1075 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076 prefix=$ac_optarg ;;
1078 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1079 | --program-pre | --program-pr | --program-p)
1080 ac_prev=program_prefix ;;
1081 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1082 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083 program_prefix=$ac_optarg ;;
1085 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1086 | --program-suf | --program-su | --program-s)
1087 ac_prev=program_suffix ;;
1088 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1089 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090 program_suffix=$ac_optarg ;;
1092 -program-transform-name | --program-transform-name \
1093 | --program-transform-nam | --program-transform-na \
1094 | --program-transform-n | --program-transform- \
1095 | --program-transform | --program-transfor \
1096 | --program-transfo | --program-transf \
1097 | --program-trans | --program-tran \
1098 | --progr-tra | --program-tr | --program-t)
1099 ac_prev=program_transform_name ;;
1100 -program-transform-name=* | --program-transform-name=* \
1101 | --program-transform-nam=* | --program-transform-na=* \
1102 | --program-transform-n=* | --program-transform-=* \
1103 | --program-transform=* | --program-transfor=* \
1104 | --program-transfo=* | --program-transf=* \
1105 | --program-trans=* | --program-tran=* \
1106 | --progr-tra=* | --program-tr=* | --program-t=*)
1107 program_transform_name=$ac_optarg ;;
1109 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1111 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112 pdfdir=$ac_optarg ;;
1114 -psdir | --psdir | --psdi | --psd | --ps)
1116 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120 | -silent | --silent | --silen | --sile | --sil)
1123 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1125 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1127 sbindir=$ac_optarg ;;
1129 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1130 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1131 | --sharedst | --shareds | --shared | --share | --shar \
1133 ac_prev=sharedstatedir ;;
1134 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1135 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1136 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1138 sharedstatedir=$ac_optarg ;;
1140 -site | --site | --sit)
1142 -site=* | --site=* | --sit=*)
1145 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1147 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1148 srcdir=$ac_optarg ;;
1150 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1151 | --syscon | --sysco | --sysc | --sys | --sy)
1152 ac_prev=sysconfdir ;;
1153 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1154 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1155 sysconfdir=$ac_optarg ;;
1157 -target | --target | --targe | --targ | --tar | --ta | --t)
1158 ac_prev=target_alias ;;
1159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160 target_alias=$ac_optarg ;;
1162 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165 -version | --version | --versio | --versi | --vers | -V)
1166 ac_init_version=: ;;
1169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172 as_fn_error $? "invalid package name: $ac_useropt"
1173 ac_useropt_orig=$ac_useropt
1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1180 ac_unrecognized_sep=', ';;
1182 eval with_$ac_useropt=\$ac_optarg ;;
1184 -without-* | --without-*)
1185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 as_fn_error $? "invalid package name: $ac_useropt"
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1198 eval with_$ac_useropt=no ;;
1201 # Obsolete; use --with-x.
1204 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1205 | --x-incl | --x-inc | --x-in | --x-i)
1206 ac_prev=x_includes ;;
1207 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1208 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1209 x_includes=$ac_optarg ;;
1211 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1212 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1213 ac_prev=x_libraries ;;
1214 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1215 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216 x_libraries=$ac_optarg ;;
1218 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219 Try \`$0 --help' for more information"
1223 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1224 # Reject names that are not valid shell variable names.
1225 case $ac_envvar in #(
1226 '' | [0-9]* | *[!_$as_cr_alnum]* )
1227 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1229 eval $ac_envvar=\$ac_optarg
1230 export $ac_envvar ;;
1233 # FIXME: should be removed in autoconf 3.0.
1234 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1243 if test -n "$ac_prev"; then
1244 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245 as_fn_error $? "missing argument to $ac_option"
1248 if test -n "$ac_unrecognized_opts"; then
1249 case $enable_option_checking in
1251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1256 # Check all directory arguments for consistency.
1257 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1258 datadir sysconfdir sharedstatedir localstatedir includedir \
1259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1260 libdir localedir mandir
1262 eval ac_val=\$$ac_var
1263 # Remove trailing slashes.
1266 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1267 eval $ac_var=\$ac_val;;
1269 # Be sure to have absolute directory names.
1271 [\\/$]* | ?:[\\/]* ) continue;;
1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277 # There might be people who depend on the old broken behavior: `$host'
1278 # used to hold the argument of --host etc.
1279 # FIXME: To remove some day.
1282 target=$target_alias
1284 # FIXME: To remove some day.
1285 if test "x$host_alias" != x; then
1286 if test "x$build_alias" = x; then
1287 cross_compiling=maybe
1288 elif test "x$build_alias" != "x$host_alias"; then
1294 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1296 test "$silent" = yes && exec 6>/dev/null
1299 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300 ac_ls_di=`ls -di .` &&
1301 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302 as_fn_error $? "working directory cannot be determined"
1303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304 as_fn_error $? "pwd does not report name of working directory"
1307 # Find the source files, if location was not specified.
1308 if test -z "$srcdir"; then
1309 ac_srcdir_defaulted=yes
1310 # Try the directory containing this script, then the parent directory.
1311 ac_confdir=`$as_dirname -- "$as_myself" ||
1312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313 X"$as_myself" : 'X\(//\)[^/]' \| \
1314 X"$as_myself" : 'X\(//\)$' \| \
1315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316 $as_echo X"$as_myself" |
1317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1339 ac_srcdir_defaulted=no
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1342 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1349 # When building in place, set srcdir=.
1350 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353 # Remove unnecessary trailing slashes from srcdir.
1354 # Double slashes in file names in object file debugging info
1355 # mess up M-x gdb in Emacs.
1357 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 for ac_var in $ac_precious_vars; do
1360 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_env_${ac_var}_value=\$${ac_var}
1362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1367 # Report the --help message.
1369 if test "$ac_init_help" = "long"; then
1370 # Omit some internal or obsolete options to make the list less imposing.
1371 # This message is too long to be a string in the A/UX 3.1 sh.
1373 \`configure' configures buxton 5 to adapt to many kinds of systems.
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE. See below for descriptions of some of the useful variables.
1380 Defaults for the options are specified in brackets.
1383 -h, --help display this help and exit
1384 --help=short display options specific to this package
1385 --help=recursive display the short help of all the included packages
1386 -V, --version display version information and exit
1387 -q, --quiet, --silent do not print \`checking ...' messages
1388 --cache-file=FILE cache test results in FILE [disabled]
1389 -C, --config-cache alias for \`--cache-file=config.cache'
1390 -n, --no-create do not create output files
1391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1393 Installation directories:
1394 --prefix=PREFIX install architecture-independent files in PREFIX
1395 [$ac_default_prefix]
1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1404 For better control, use the options below.
1406 Fine tuning of the installation directories:
1407 --bindir=DIR user executables [EPREFIX/bin]
1408 --sbindir=DIR system admin executables [EPREFIX/sbin]
1409 --libexecdir=DIR program executables [EPREFIX/libexec]
1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1413 --libdir=DIR object code libraries [EPREFIX/lib]
1414 --includedir=DIR C header files [PREFIX/include]
1415 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1418 --infodir=DIR info documentation [DATAROOTDIR/info]
1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1420 --mandir=DIR man documentation [DATAROOTDIR/man]
1421 --docdir=DIR documentation root [DATAROOTDIR/doc/buxton]
1422 --htmldir=DIR html documentation [DOCDIR]
1423 --dvidir=DIR dvi documentation [DOCDIR]
1424 --pdfdir=DIR pdf documentation [DOCDIR]
1425 --psdir=DIR ps documentation [DOCDIR]
1431 --program-prefix=PREFIX prepend PREFIX to installed program names
1432 --program-suffix=SUFFIX append SUFFIX to installed program names
1433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1436 --build=BUILD configure for building on BUILD [guessed]
1437 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1441 if test -n "$ac_init_help"; then
1442 case $ac_init_help in
1443 short | recursive ) echo "Configuration of buxton 5:";;
1448 --disable-option-checking ignore unrecognized --enable/--with options
1449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1451 --enable-silent-rules less verbose build output (undo: "make V=1")
1452 --disable-silent-rules verbose build output (undo: "make V=0")
1453 --enable-static[=PKGS] build static libraries [default=no]
1454 --enable-shared[=PKGS] build shared libraries [default=yes]
1455 --enable-fast-install[=PKGS]
1456 optimize for fast installation [default=yes]
1457 --enable-dependency-tracking
1458 do not reject slow dependency extractors
1459 --disable-dependency-tracking
1460 speeds up one-time build
1461 --disable-libtool-lock avoid locking (might break parallel builds)
1462 --enable-debug enable debug mode [default=no]
1463 --enable-manpages enable man pages [default=yes]
1464 --enable-coverage enable test coverage
1465 --enable-demos enable demos [default=no]
1466 --enable-gtk-demo enable demos [default=no]
1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1471 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1473 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1474 --with-sysroot=DIR Search for dependent libraries within DIR
1475 (or the compiler's sysroot if not specified).
1476 --with-systemdsystemunitdir=DIR
1477 path to systemd system service directory
1478 --with-user=USER user to run buxton as
1479 --with-local-iniparserdefault=yes
1480 Use built-in iniparser for config parsing
1481 --with-module-dir=MODULEDIR
1482 path to buxton modules
1483 --with-config-path=CONFPATH
1484 path to buxton configuration file
1485 --with-db-path=DBPATH path to buxton db files
1486 --with-socket-path=SOCKETPATH
1487 path to buxton socket file
1488 --with-smack-load-file=SMACKLOADFILE
1489 path to smack load2 file
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1500 PKG_CONFIG path to pkg-config utility
1502 directories to add to pkg-config's search path
1504 path overriding pkg-config's built-in search path
1506 C compiler flags for CHECK, overriding pkg-config
1507 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1509 C compiler flags for SYSTEMD, overriding pkg-config
1511 linker flags for SYSTEMD, overriding pkg-config
1513 C compiler flags for INIPARSER, overriding pkg-config
1515 linker flags for INIPARSER, overriding pkg-config
1516 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1517 GTK3_LIBS linker flags for GTK3, overriding pkg-config
1519 Use these variables to override the choices made by `configure' or to help
1520 it to find libraries and programs with nonstandard names/locations.
1522 Report bugs to <william.douglas@intel.com>.
1523 buxton home page: <https://github.com/sofar/buxton>.
1528 if test "$ac_init_help" = "recursive"; then
1529 # If there are subdirs, report their specific --help.
1530 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1531 test -d "$ac_dir" ||
1532 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1540 # A ".." for each directory in $ac_dir_suffix.
1541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1542 case $ac_top_builddir_sub in
1543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1547 ac_abs_top_builddir=$ac_pwd
1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1549 # for backward compatibility:
1550 ac_top_builddir=$ac_top_build_prefix
1553 .) # We are building in place.
1555 ac_top_srcdir=$ac_top_builddir_sub
1556 ac_abs_top_srcdir=$ac_pwd ;;
1557 [\\/]* | ?:[\\/]* ) # Absolute name.
1558 ac_srcdir=$srcdir$ac_dir_suffix;
1559 ac_top_srcdir=$srcdir
1560 ac_abs_top_srcdir=$srcdir ;;
1562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563 ac_top_srcdir=$ac_top_build_prefix$srcdir
1564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1568 cd "$ac_dir" || { ac_status=$?; continue; }
1569 # Check for guested configure.
1570 if test -f "$ac_srcdir/configure.gnu"; then
1572 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573 elif test -f "$ac_srcdir/configure"; then
1575 $SHELL "$ac_srcdir/configure" --help=recursive
1577 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579 cd "$ac_pwd" || { ac_status=$?; break; }
1583 test -n "$ac_init_help" && exit $ac_status
1584 if $ac_init_version; then
1587 generated by GNU Autoconf 2.69
1589 Copyright (C) 2012 Free Software Foundation, Inc.
1590 This configure script is free software; the Free Software Foundation
1591 gives unlimited permission to copy, distribute and modify it.
1596 ## ------------------------ ##
1597 ## Autoconf initialization. ##
1598 ## ------------------------ ##
1600 # ac_fn_c_try_compile LINENO
1601 # --------------------------
1602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1603 ac_fn_c_try_compile ()
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 rm -f conftest.$ac_objext
1607 if { { ac_try="$ac_compile"
1609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_compile") 2>conftest.err
1616 if test -s conftest.err; then
1617 grep -v '^ *+' conftest.err >conftest.er1
1618 cat conftest.er1 >&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && {
1623 test -z "$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1625 } && test -s conftest.$ac_objext; then :
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 as_fn_set_status $ac_retval
1636 } # ac_fn_c_try_compile
1638 # ac_fn_c_try_link LINENO
1639 # -----------------------
1640 # Try to link conftest.$ac_ext, and return whether this succeeded.
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 rm -f conftest.$ac_objext conftest$ac_exeext
1645 if { { ac_try="$ac_link"
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_link") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && {
1661 test -z "$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1663 } && test -s conftest$ac_exeext && {
1664 test "$cross_compiling" = yes ||
1665 test -x conftest$ac_exeext
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1674 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1675 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1676 # interfere with the next link command; also delete a directory that is
1677 # left behind by Apple's compiler. We do this before executing the actions.
1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1682 } # ac_fn_c_try_link
1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists and can be compiled using the include files in
1687 # INCLUDES, setting the cache variable VAR accordingly.
1688 ac_fn_c_check_header_compile ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1701 if ac_fn_c_try_compile "$LINENO"; then :
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 } # ac_fn_c_check_header_compile
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 if { { ac_try="$ac_cpp conftest.$ac_ext"
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } > conftest.i && {
1737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=$ac_status
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1809 #define $2 innocuous_$2
1811 /* System header to define __stub macros and hopefully few prototypes,
1812 which can conflict with char $2 (); below.
1813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814 <limits.h> exists even on freestanding compilers. */
1817 # include <limits.h>
1819 # include <assert.h>
1824 /* Override any GCC internal prototype to avoid an error.
1825 Use char because int might match the return type of a GCC
1826 builtin and then its argument prototype would still apply. */
1831 /* The GNU C library defines this for functions which it implements
1832 to always fail with ENOSYS. Some functions are actually named
1833 something starting with __ and the normal name is an alias. */
1834 #if defined __stub_$2 || defined __stub___$2
1846 if ac_fn_c_try_link "$LINENO"; then :
1851 rm -f core conftest.err conftest.$ac_objext \
1852 conftest$ac_exeext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_func
1861 # ac_fn_c_find_intX_t LINENO BITS VAR
1862 # -----------------------------------
1863 # Finds a signed integer type with width BITS, setting cache variable VAR
1865 ac_fn_c_find_intX_t ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1869 $as_echo_n "checking for int$2_t... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1874 # Order is important - never check a type that is potentially smaller
1875 # than half of the expected target width.
1876 for ac_type in int$2_t 'int' 'long int' \
1877 'long long int' 'short int' 'signed char'; do
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1880 $ac_includes_default
1881 enum { N = $2 / 2 - 1 };
1885 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1887 return test_array [0];
1893 if ac_fn_c_try_compile "$LINENO"; then :
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 $ac_includes_default
1897 enum { N = $2 / 2 - 1 };
1901 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1902 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1904 return test_array [0];
1910 if ac_fn_c_try_compile "$LINENO"; then :
1917 eval "$3=\$ac_type" ;;
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923 if eval test \"x\$"$3"\" = x"no"; then :
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 } # ac_fn_c_find_intX_t
1937 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1938 # -------------------------------------------
1939 # Tests whether TYPE exists after having included INCLUDES, setting cache
1940 # variable VAR accordingly.
1941 ac_fn_c_check_type ()
1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \${$3+:} false; then :
1947 $as_echo_n "(cached) " >&6
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1962 if ac_fn_c_try_compile "$LINENO"; then :
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1975 if ac_fn_c_try_compile "$LINENO"; then :
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 } # ac_fn_c_check_type
1991 # ac_fn_c_find_uintX_t LINENO BITS VAR
1992 # ------------------------------------
1993 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1995 ac_fn_c_find_uintX_t ()
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1999 $as_echo_n "checking for uint$2_t... " >&6; }
2000 if eval \${$3+:} false; then :
2001 $as_echo_n "(cached) " >&6
2004 # Order is important - never check a type that is potentially smaller
2005 # than half of the expected target width.
2006 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2007 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2010 $ac_includes_default
2014 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2016 return test_array [0];
2022 if ac_fn_c_try_compile "$LINENO"; then :
2027 eval "$3=\$ac_type" ;;
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 if eval test \"x\$"$3"\" = x"no"; then :
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 } # ac_fn_c_find_uintX_t
2045 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2046 # -------------------------------------------------------
2047 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2048 # the include files in INCLUDES and setting the cache variable VAR
2050 ac_fn_c_check_header_mongrel ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 if eval \${$3+:} false; then :
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \${$3+:} false; then :
2057 $as_echo_n "(cached) " >&6
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2063 # Is the header compilable?
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2065 $as_echo_n "checking $2 usability... " >&6; }
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072 ac_header_compiler=yes
2074 ac_header_compiler=no
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2078 $as_echo "$ac_header_compiler" >&6; }
2080 # Is the header present?
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2082 $as_echo_n "checking $2 presence... " >&6; }
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2087 if ac_fn_c_try_cpp "$LINENO"; then :
2088 ac_header_preproc=yes
2090 ac_header_preproc=no
2092 rm -f conftest.err conftest.i conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2094 $as_echo "$ac_header_preproc" >&6; }
2096 # So? What about this header?
2097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2100 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2106 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2108 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2110 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2112 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ( $as_echo "## ---------------------------------------- ##
2116 ## Report this to william.douglas@intel.com ##
2117 ## ---------------------------------------- ##"
2118 ) | sed "s/^/$as_me: WARNING: /" >&2
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124 $as_echo_n "(cached) " >&6
2126 eval "$3=\$ac_header_compiler"
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_c_check_header_mongrel
2135 cat >config.log <<_ACEOF
2136 This file contains any messages produced by compilers while
2137 running configure, to aid debugging if configure makes a mistake.
2139 It was created by buxton $as_me 5, which was
2140 generated by GNU Autoconf 2.69. Invocation command line was
2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2159 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2161 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2162 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2164 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2165 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2166 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2167 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 $as_echo "PATH: $as_dir"
2192 # Keep a trace of the command line.
2193 # Strip out --no-create and --no-recursion so they do not pile up.
2194 # Strip out --silent because we don't want to record it for future runs.
2195 # Also quote any args containing shell meta-characters.
2196 # Make two passes to allow for proper duplicate-argument suppression.
2200 ac_must_keep_next=false
2206 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208 | -silent | --silent | --silen | --sile | --sil)
2211 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2214 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2216 as_fn_append ac_configure_args1 " '$ac_arg'"
2217 if test $ac_must_keep_next = true; then
2218 ac_must_keep_next=false # Got value, back to normal.
2221 *=* | --config-cache | -C | -disable-* | --disable-* \
2222 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2223 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2224 | -with-* | --with-* | -without-* | --without-* | --x)
2225 case "$ac_configure_args0 " in
2226 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2229 -* ) ac_must_keep_next=true ;;
2232 as_fn_append ac_configure_args " '$ac_arg'"
2237 { ac_configure_args0=; unset ac_configure_args0;}
2238 { ac_configure_args1=; unset ac_configure_args1;}
2240 # When interrupted or exit'd, cleanup temporary files, and complete
2241 # config.log. We remove comments because anyway the quotes in there
2242 # would cause problems or look ugly.
2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2245 trap 'exit_status=$?
2246 # Save into config.log some information that might help in debugging.
2250 $as_echo "## ---------------- ##
2251 ## Cache variables. ##
2252 ## ---------------- ##"
2254 # The following way of writing the cache mishandles newlines in values,
2256 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257 eval ac_val=\$$ac_var
2261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2265 _ | IFS | as_nl) ;; #(
2266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267 *) { eval $ac_var=; unset $ac_var;} ;;
2272 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273 *${as_nl}ac_space=\ *)
2275 "s/'\''/'\''\\\\'\'''\''/g;
2276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2279 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2286 $as_echo "## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##"
2290 for ac_var in $ac_subst_vars
2292 eval ac_val=\$$ac_var
2294 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 $as_echo "$ac_var='\''$ac_val'\''"
2300 if test -n "$ac_subst_files"; then
2301 $as_echo "## ------------------- ##
2302 ## File substitutions. ##
2303 ## ------------------- ##"
2305 for ac_var in $ac_subst_files
2307 eval ac_val=\$$ac_var
2309 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 $as_echo "$ac_var='\''$ac_val'\''"
2316 if test -s confdefs.h; then
2317 $as_echo "## ----------- ##
2324 test "$ac_signal" != 0 &&
2325 $as_echo "$as_me: caught signal $ac_signal"
2326 $as_echo "$as_me: exit $exit_status"
2328 rm -f core *.core core.conftest.* &&
2329 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2332 for ac_signal in 1 2 13 15; do
2333 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest* confdefs.h
2340 $as_echo "/* confdefs.h */" > confdefs.h
2342 # Predefined preprocessor variables.
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2373 if test -n "$CONFIG_SITE"; then
2374 # We do not want a PATH search for config.site.
2375 case $CONFIG_SITE in #((
2376 -*) ac_site_file1=./$CONFIG_SITE;;
2377 */*) ac_site_file1=$CONFIG_SITE;;
2378 *) ac_site_file1=./$CONFIG_SITE;;
2380 elif test "x$prefix" != xNONE; then
2381 ac_site_file1=$prefix/share/config.site
2382 ac_site_file2=$prefix/etc/config.site
2384 ac_site_file1=$ac_default_prefix/share/config.site
2385 ac_site_file2=$ac_default_prefix/etc/config.site
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389 test "x$ac_site_file" = xNONE && continue
2390 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393 sed 's/^/| /' "$ac_site_file" >&5
2395 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error $? "failed to load site script $ac_site_file
2398 See \`config.log' for more details" "$LINENO" 5; }
2402 if test -r "$cache_file"; then
2403 # Some versions of bash will fail to source /dev/null (special files
2404 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2405 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2409 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410 *) . "./$cache_file";;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2419 # Check that the precious variables saved in the cache have kept the same
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424 eval ac_new_set=\$ac_env_${ac_var}_set
2425 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426 eval ac_new_val=\$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w=`echo x $ac_old_val`
2441 ac_new_val_w=`echo x $ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445 ac_cache_corrupted=:
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2460 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461 *) ac_arg=$ac_var=$ac_new_val ;;
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 am__api_version='1.14'
2490 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2491 if test -f "$ac_dir/install-sh"; then
2493 ac_install_sh="$ac_aux_dir/install-sh -c"
2495 elif test -f "$ac_dir/install.sh"; then
2497 ac_install_sh="$ac_aux_dir/install.sh -c"
2499 elif test -f "$ac_dir/shtool"; then
2501 ac_install_sh="$ac_aux_dir/shtool install -c"
2505 if test -z "$ac_aux_dir"; then
2506 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2509 # These three variables are undocumented and unsupported,
2510 # and are intended to be withdrawn in a future Autoconf release.
2511 # They can cause serious problems if a builder's source tree is in a directory
2512 # whose full name contains unusual characters.
2513 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2514 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2515 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2518 # Find a good install program. We prefer a C program (faster),
2519 # so one script is as good as another. But avoid the broken or
2520 # incompatible versions:
2521 # SysV /etc/install, /usr/sbin/install
2522 # SunOS /usr/etc/install
2523 # IRIX /sbin/install
2525 # AmigaOS /C/install, which installs bootblocks on floppy discs
2526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2529 # OS/2's system install, which has a completely different semantic
2530 # ./install, which can be erroneously created by make from ./install.sh.
2531 # Reject install programs that cannot install multiple files.
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2533 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2534 if test -z "$INSTALL"; then
2535 if ${ac_cv_path_install+:} false; then :
2536 $as_echo_n "(cached) " >&6
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 # Account for people who put trailing slashes in PATH elements.
2544 case $as_dir/ in #((
2545 ./ | .// | /[cC]/* | \
2546 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2547 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2550 # OSF1 and SCO ODT 3.0 have their own names for install.
2551 # Don't use installbsd from OSF since it installs stuff as root
2553 for ac_prog in ginstall scoinst install; do
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2556 if test $ac_prog = install &&
2557 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2558 # AIX install. It has an incompatible calling convention.
2560 elif test $ac_prog = install &&
2561 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2562 # program-specific install script used by HP pwplus--don't use.
2565 rm -rf conftest.one conftest.two conftest.dir
2566 echo one > conftest.one
2567 echo two > conftest.two
2569 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2570 test -s conftest.one && test -s conftest.two &&
2571 test -s conftest.dir/conftest.one &&
2572 test -s conftest.dir/conftest.two
2574 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2587 rm -rf conftest.one conftest.two conftest.dir
2590 if test "${ac_cv_path_install+set}" = set; then
2591 INSTALL=$ac_cv_path_install
2593 # As a last resort, use the slow shell script. Don't cache a
2594 # value for INSTALL within a source directory, because that will
2595 # break other packages using the cache if that directory is
2596 # removed, or if the value is a relative name.
2597 INSTALL=$ac_install_sh
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2601 $as_echo "$INSTALL" >&6; }
2603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2604 # It thinks the first close brace ends the variable substitution.
2605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2609 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2612 $as_echo_n "checking whether build environment is sane... " >&6; }
2613 # Reject unsafe characters in $srcdir or the absolute working directory
2614 # name. Accept space and tab only in the latter.
2618 *[\\\"\#\$\&\'\`$am_lf]*)
2619 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2622 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2623 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2626 # Do 'set' in a subshell so we don't clobber the current shell's
2627 # arguments. Must try -L first in case configure is actually a
2628 # symlink; some systems play weird games with the mod time of symlinks
2629 # (eg FreeBSD returns the mod time of the symlink's containing
2633 for am_try in 1 2; do
2634 echo "timestamp, slept: $am_has_slept" > conftest.file
2635 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2636 if test "$*" = "X"; then
2638 set X `ls -t "$srcdir/configure" conftest.file`
2640 if test "$*" != "X $srcdir/configure conftest.file" \
2641 && test "$*" != "X conftest.file $srcdir/configure"; then
2643 # If neither matched, then we have a broken ls. This can happen
2644 # if, for instance, CONFIG_SHELL is bash and it inherits a
2645 # broken ls alias from the environment. This has actually
2646 # happened. Such a system could not be considered "sane".
2647 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2648 alias in your environment" "$LINENO" 5
2650 if test "$2" = conftest.file || test $am_try -eq 2; then
2657 test "$2" = conftest.file
2663 as_fn_error $? "newly created file is older than distributed files!
2664 Check your system clock" "$LINENO" 5
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2667 $as_echo "yes" >&6; }
2668 # If we didn't sleep, we still need to ensure time stamps of config.status and
2669 # generated files are strictly newer.
2671 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2678 test "$program_prefix" != NONE &&
2679 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2680 # Use a double $ so make ignores it.
2681 test "$program_suffix" != NONE &&
2682 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2683 # Double any \ or $.
2684 # By default was `s,x,x', remove it if useless.
2685 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2686 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2688 # expand $ac_aux_dir to an absolute path
2689 am_aux_dir=`cd $ac_aux_dir && pwd`
2691 if test x"${MISSING+set}" != xset; then
2694 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2696 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2699 # Use eval to expand $SHELL
2700 if eval "$MISSING --is-lightweight"; then
2701 am_missing_run="$MISSING "
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2705 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2708 if test x"${install_sh}" != xset; then
2711 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2713 install_sh="\${SHELL} $am_aux_dir/install-sh"
2717 # Installed binaries are usually stripped using 'strip' when the user
2718 # run "make install-strip". However 'strip' might not be the right
2719 # tool to use in cross-compilation environments, therefore Automake
2720 # will honor the 'STRIP' environment variable to overrule this program.
2721 if test "$cross_compiling" != no; then
2722 if test -n "$ac_tool_prefix"; then
2723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2724 set dummy ${ac_tool_prefix}strip; ac_word=$2
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726 $as_echo_n "checking for $ac_word... " >&6; }
2727 if ${ac_cv_prog_STRIP+:} false; then :
2728 $as_echo_n "(cached) " >&6
2730 if test -n "$STRIP"; then
2731 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir=.
2738 for ac_exec_ext in '' $ac_executable_extensions; do
2739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 STRIP=$ac_cv_prog_STRIP
2751 if test -n "$STRIP"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2753 $as_echo "$STRIP" >&6; }
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756 $as_echo "no" >&6; }
2761 if test -z "$ac_cv_prog_STRIP"; then
2763 # Extract the first word of "strip", so it can be a program name with args.
2764 set dummy strip; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$ac_ct_STRIP"; then
2771 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 ac_cv_prog_ac_ct_STRIP="strip"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2791 if test -n "$ac_ct_STRIP"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2793 $as_echo "$ac_ct_STRIP" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2799 if test "x$ac_ct_STRIP" = x; then
2802 case $cross_compiling:$ac_tool_warned in
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2806 ac_tool_warned=yes ;;
2811 STRIP="$ac_cv_prog_STRIP"
2815 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2818 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2819 if test -z "$MKDIR_P"; then
2820 if ${ac_cv_path_mkdir+:} false; then :
2821 $as_echo_n "(cached) " >&6
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2827 test -z "$as_dir" && as_dir=.
2828 for ac_prog in mkdir gmkdir; do
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2831 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2832 'mkdir (GNU coreutils) '* | \
2833 'mkdir (coreutils) '* | \
2834 'mkdir (fileutils) '4.1*)
2835 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2845 test -d ./--version && rmdir ./--version
2846 if test "${ac_cv_path_mkdir+set}" = set; then
2847 MKDIR_P="$ac_cv_path_mkdir -p"
2849 # As a last resort, use the slow shell script. Don't cache a
2850 # value for MKDIR_P within a source directory, because that will
2851 # break other packages using the cache if that directory is
2852 # removed, or if the value is a relative name.
2853 MKDIR_P="$ac_install_sh -d"
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2857 $as_echo "$MKDIR_P" >&6; }
2859 for ac_prog in gawk mawk nawk awk
2861 # Extract the first word of "$ac_prog", so it can be a program name with args.
2862 set dummy $ac_prog; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if ${ac_cv_prog_AWK+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$AWK"; then
2869 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 for ac_exec_ext in '' $ac_executable_extensions; do
2877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878 ac_cv_prog_AWK="$ac_prog"
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test -n "$AWK"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2891 $as_echo "$AWK" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2898 test -n "$AWK" && break
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2902 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2904 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2905 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2906 $as_echo_n "(cached) " >&6
2908 cat >conftest.make <<\_ACEOF
2911 @echo '@@@%%%=$(MAKE)=@@@%%%'
2913 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2914 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2916 eval ac_cv_prog_make_${ac_make}_set=yes;;
2918 eval ac_cv_prog_make_${ac_make}_set=no;;
2922 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2924 $as_echo "yes" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2929 SET_MAKE="MAKE=${MAKE-make}"
2932 rm -rf .tst 2>/dev/null
2933 mkdir .tst 2>/dev/null
2934 if test -d .tst; then
2939 rmdir .tst 2>/dev/null
2941 # Check whether --enable-silent-rules was given.
2942 if test "${enable_silent_rules+set}" = set; then :
2943 enableval=$enable_silent_rules;
2946 case $enable_silent_rules in # (((
2947 yes) AM_DEFAULT_VERBOSITY=0;;
2948 no) AM_DEFAULT_VERBOSITY=1;;
2949 *) AM_DEFAULT_VERBOSITY=1;;
2951 am_make=${MAKE-make}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2953 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2954 if ${am_cv_make_support_nested_variables+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 if $as_echo 'TRUE=$(BAR$(V))
2963 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2964 am_cv_make_support_nested_variables=yes
2966 am_cv_make_support_nested_variables=no
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2970 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2971 if test $am_cv_make_support_nested_variables = yes; then
2973 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2975 AM_V=$AM_DEFAULT_VERBOSITY
2976 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2980 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2981 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2982 # is not polluted with repeated "-I."
2983 am__isrc=' -I$(srcdir)'
2984 # test to see if srcdir already configured
2985 if test -f $srcdir/config.status; then
2986 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2990 # test whether we have cygpath
2991 if test -z "$CYGPATH_W"; then
2992 if (cygpath --version) >/dev/null 2>/dev/null; then
2993 CYGPATH_W='cygpath -w'
3000 # Define the identity of the package.
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE "$PACKAGE"
3010 cat >>confdefs.h <<_ACEOF
3011 #define VERSION "$VERSION"
3014 # Some tools Automake needs.
3016 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3019 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3022 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3025 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3028 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3030 # For better backward compatibility. To be removed once Automake 1.9.x
3031 # dies out for good. For more background, see:
3032 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3033 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3034 mkdir_p='$(MKDIR_P)'
3036 # We need awk for the "check" target. The system "awk" is bad on
3038 # Always define AMTAR for backward compatibility. Yes, it's still used
3039 # in the wild :-( We should find a proper way to deprecate it ...
3043 # We'll loop over all known methods to create a tar archive until one works.
3044 _am_tools='gnutar pax cpio none'
3046 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3053 # POSIX will say in a future version that running "rm -f" with no argument
3054 # is OK; and we want to be able to make that assumption in our Makefile
3055 # recipes. So use an aggressive probe to check that the usage we want is
3056 # actually supported "in the wild" to an acceptable degree.
3057 # See automake bug#10828.
3058 # To make any issue more visible, cause the running configure to be aborted
3059 # by default if the 'rm' program in use doesn't match our expectations; the
3060 # user can still override this though.
3061 if rm -f && rm -fr && rm -rf; then : OK; else
3065 Your 'rm' program seems unable to run without file operands specified
3066 on the command line, even when the '-f' option is present. This is contrary
3067 to the behaviour of most rm programs out there, and not conforming with
3068 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3070 Please tell bug-automake@gnu.org about your system, including the value
3071 of your $PATH and any error possibly output before this message. This
3072 can help us improve future automake versions.
3075 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3076 echo 'Configuration will proceed anyway, since you have set the' >&2
3077 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3081 Aborting the configuration process, to ensure you take notice of the issue.
3083 You can download and install GNU coreutils to get an 'rm' implementation
3084 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3086 If you want to complete the configuration process using your problematic
3087 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3088 to "yes", and re-run configure.
3091 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3095 ac_config_files="$ac_config_files Makefile"
3098 ac_config_headers="$ac_config_headers config.h"
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3106 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3111 macro_version='2.4.2'
3112 macro_revision='1.3337'
3126 ltmain="$ac_aux_dir/ltmain.sh"
3128 # Make sure we can run config.sub.
3129 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3130 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3133 $as_echo_n "checking build system type... " >&6; }
3134 if ${ac_cv_build+:} false; then :
3135 $as_echo_n "(cached) " >&6
3137 ac_build_alias=$build_alias
3138 test "x$ac_build_alias" = x &&
3139 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3140 test "x$ac_build_alias" = x &&
3141 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3142 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3143 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3147 $as_echo "$ac_cv_build" >&6; }
3148 case $ac_cv_build in
3150 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3153 ac_save_IFS=$IFS; IFS='-'
3159 # Remember, the first character of IFS is used to create $*,
3160 # except with old shells:
3163 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3167 $as_echo_n "checking host system type... " >&6; }
3168 if ${ac_cv_host+:} false; then :
3169 $as_echo_n "(cached) " >&6
3171 if test "x$host_alias" = x; then
3172 ac_cv_host=$ac_cv_build
3174 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3175 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3180 $as_echo "$ac_cv_host" >&6; }
3183 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3186 ac_save_IFS=$IFS; IFS='-'
3192 # Remember, the first character of IFS is used to create $*,
3193 # except with old shells:
3196 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3199 # Backslashify metacharacters that are still active within
3200 # double-quoted strings.
3201 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3203 # Same as above, but do not quote variable references.
3204 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3206 # Sed substitution to delay expansion of an escaped shell variable in a
3207 # double_quote_subst'ed string.
3208 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3210 # Sed substitution to delay expansion of an escaped single quote.
3211 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3213 # Sed substitution to avoid accidental globbing in evaled expressions
3214 no_glob_subst='s/\*/\\\*/g'
3216 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3217 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3218 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3221 $as_echo_n "checking how to print strings... " >&6; }
3222 # Test print first, because it will be a builtin if present.
3223 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3224 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3226 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3229 # Use this function as a fallback that always works.
3230 func_fallback_echo ()
3232 eval 'cat <<_LTECHO_EOF
3236 ECHO='func_fallback_echo'
3239 # func_echo_all arg...
3240 # Invoke $ECHO with all args, space-separated.
3247 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3248 $as_echo "printf" >&6; } ;;
3249 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3250 $as_echo "print -r" >&6; } ;;
3251 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3252 $as_echo "cat" >&6; } ;;
3268 DEPDIR="${am__leading_dot}deps"
3270 ac_config_commands="$ac_config_commands depfiles"
3273 am_make=${MAKE-make}
3274 cat > confinc << 'END'
3276 @echo this is the am__doit target
3279 # If we don't find an include directive, just comment out the code.
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3281 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3285 # First try GNU make style include.
3286 echo "include confinc" > confmf
3287 # Ignore all kinds of additional output from 'make'.
3288 case `$am_make -s -f confmf 2> /dev/null` in #(
3289 *the\ am__doit\ target*)
3295 # Now try BSD make style include.
3296 if test "$am__include" = "#"; then
3297 echo '.include "confinc"' > confmf
3298 case `$am_make -s -f confmf 2> /dev/null` in #(
3299 *the\ am__doit\ target*)
3300 am__include=.include
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3309 $as_echo "$_am_result" >&6; }
3310 rm -f confinc confmf
3312 # Check whether --enable-dependency-tracking was given.
3313 if test "${enable_dependency_tracking+set}" = set; then :
3314 enableval=$enable_dependency_tracking;
3317 if test "x$enable_dependency_tracking" != xno; then
3318 am_depcomp="$ac_aux_dir/depcomp"
3322 if test "x$enable_dependency_tracking" != xno; then
3332 ac_cpp='$CPP $CPPFLAGS'
3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 if test -n "$ac_tool_prefix"; then
3337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340 $as_echo_n "checking for $ac_word... " >&6; }
3341 if ${ac_cv_prog_CC+:} false; then :
3342 $as_echo_n "(cached) " >&6
3344 if test -n "$CC"; then
3345 ac_cv_prog_CC="$CC" # Let the user override the test.
3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir=.
3352 for ac_exec_ext in '' $ac_executable_extensions; do
3353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3365 if test -n "$CC"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3367 $as_echo "$CC" >&6; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3375 if test -z "$ac_cv_prog_CC"; then
3377 # Extract the first word of "gcc", so it can be a program name with args.
3378 set dummy gcc; ac_word=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$ac_ct_CC"; then
3385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir=.
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3394 ac_cv_prog_ac_ct_CC="gcc"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3405 if test -n "$ac_ct_CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3407 $as_echo "$ac_ct_CC" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3413 if test "x$ac_ct_CC" = x; then
3416 case $cross_compiling:$ac_tool_warned in
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3420 ac_tool_warned=yes ;;
3428 if test -z "$CC"; then
3429 if test -n "$ac_tool_prefix"; then
3430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}cc; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if ${ac_cv_prog_CC+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 if test -n "$CC"; then
3438 ac_cv_prog_CC="$CC" # Let the user override the test.
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3447 ac_cv_prog_CC="${ac_tool_prefix}cc"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test -n "$CC"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3460 $as_echo "$CC" >&6; }
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3469 if test -z "$CC"; then
3470 # Extract the first word of "cc", so it can be a program name with args.
3471 set dummy cc; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if ${ac_cv_prog_CC+:} false; then :
3475 $as_echo_n "(cached) " >&6
3477 if test -n "$CC"; then
3478 ac_cv_prog_CC="$CC" # Let the user override the test.
3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 test -z "$as_dir" && as_dir=.
3486 for ac_exec_ext in '' $ac_executable_extensions; do
3487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3489 ac_prog_rejected=yes
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test $ac_prog_rejected = yes; then
3501 # We found a bogon in the path, so make sure we never use it.
3502 set dummy $ac_cv_prog_CC
3504 if test $# != 0; then
3505 # We chose a different compiler from the bogus one.
3506 # However, it has the same basename, so the bogon will be chosen
3507 # first if we set CC to just the basename; use the full file name.
3509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3515 if test -n "$CC"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3525 if test -z "$CC"; then
3526 if test -n "$ac_tool_prefix"; then
3527 for ac_prog in cl.exe
3529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_CC+:} false; then :
3534 $as_echo_n "(cached) " >&6
3536 if test -n "$CC"; then
3537 ac_cv_prog_CC="$CC" # Let the user override the test.
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 if test -n "$CC"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3566 test -n "$CC" && break
3569 if test -z "$CC"; then
3571 for ac_prog in cl.exe
3573 # Extract the first word of "$ac_prog", so it can be a program name with args.
3574 set dummy $ac_prog; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$ac_ct_CC"; then
3581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir=.
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3590 ac_cv_prog_ac_ct_CC="$ac_prog"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3603 $as_echo "$ac_ct_CC" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3610 test -n "$ac_ct_CC" && break
3613 if test "x$ac_ct_CC" = x; then
3616 case $cross_compiling:$ac_tool_warned in
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620 ac_tool_warned=yes ;;
3629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $? "no acceptable C compiler found in \$PATH
3632 See \`config.log' for more details" "$LINENO" 5; }
3634 # Provide some information about the compiler.
3635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3638 for ac_option in --version -v -V -qversion; do
3639 { { ac_try="$ac_compiler $ac_option >&5"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3648 if test -s conftest.err; then
3650 ... rest of stderr output deleted ...
3651 10q' conftest.err >conftest.er1
3652 cat conftest.er1 >&5
3654 rm -f conftest.er1 conftest.err
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3670 ac_clean_files_save=$ac_clean_files
3671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3672 # Try to create an executable without -o first, disregard a.out.
3673 # It will help us diagnose broken compilers, and finding out an intuition
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3676 $as_echo_n "checking whether the C compiler works... " >&6; }
3677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3679 # The possible output files:
3680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3683 for ac_file in $ac_files
3686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3692 if { { ac_try="$ac_link_default"
3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695 *) ac_try_echo=$ac_try;;
3697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3698 $as_echo "$ac_try_echo"; } >&5
3699 (eval "$ac_link_default") 2>&5
3701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702 test $ac_status = 0; }; then :
3703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3706 # so that the user can short-circuit this test for compilers unknown to
3708 for ac_file in $ac_files ''
3710 test -f "$ac_file" || continue
3712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3715 # We found the default executable, but exeext='' is most
3719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3723 # We set ac_cv_exeext here because the later test for it is not
3724 # safe: cross compilers may not add the suffix if given an `-o'
3725 # argument, so we may need to know it at that point already.
3726 # Even if this section looks crufty: it has the advantage of
3733 test "$ac_cv_exeext" = no && ac_cv_exeext=
3738 if test -z "$ac_file"; then :
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 $as_echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error 77 "C compiler cannot create executables
3747 See \`config.log' for more details" "$LINENO" 5; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3750 $as_echo "yes" >&6; }
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3753 $as_echo_n "checking for C compiler default output file name... " >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3755 $as_echo "$ac_file" >&6; }
3756 ac_exeext=$ac_cv_exeext
3758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3759 ac_clean_files=$ac_clean_files_save
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3761 $as_echo_n "checking for suffix of executables... " >&6; }
3762 if { { ac_try="$ac_link"
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_link") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }; then :
3773 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3775 # work properly (i.e., refer to `conftest.exe'), while it won't with
3777 for ac_file in conftest.exe conftest conftest.*; do
3778 test -f "$ac_file" || continue
3780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3790 See \`config.log' for more details" "$LINENO" 5; }
3792 rm -f conftest conftest$ac_cv_exeext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3794 $as_echo "$ac_cv_exeext" >&6; }
3796 rm -f conftest.$ac_ext
3797 EXEEXT=$ac_cv_exeext
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3805 FILE *f = fopen ("conftest.out", "w");
3806 return ferror (f) || fclose (f) != 0;
3812 ac_clean_files="$ac_clean_files conftest.out"
3813 # Check that the compiler produces executables we can run. If not, either
3814 # the compiler is broken, or we cross compile.
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3816 $as_echo_n "checking whether we are cross compiling... " >&6; }
3817 if test "$cross_compiling" != yes; then
3818 { { ac_try="$ac_link"
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_link") 2>&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }
3829 if { ac_try='./conftest$ac_cv_exeext'
3830 { { case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_try") 2>&5
3838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 test $ac_status = 0; }; }; then
3842 if test "$cross_compiling" = maybe; then
3845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $? "cannot run C compiled programs.
3848 If you meant to cross compile, use \`--host'.
3849 See \`config.log' for more details" "$LINENO" 5; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3854 $as_echo "$cross_compiling" >&6; }
3856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3857 ac_clean_files=$ac_clean_files_save
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3859 $as_echo_n "checking for suffix of object files... " >&6; }
3860 if ${ac_cv_objext+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3874 rm -f conftest.o conftest.obj
3875 if { { ac_try="$ac_compile"
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3881 $as_echo "$ac_try_echo"; } >&5
3882 (eval "$ac_compile") 2>&5
3884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3885 test $ac_status = 0; }; then :
3886 for ac_file in conftest.o conftest.obj conftest.*; do
3887 test -f "$ac_file" || continue;
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3895 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 as_fn_error $? "cannot compute suffix of object files: cannot compile
3901 See \`config.log' for more details" "$LINENO" 5; }
3903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3906 $as_echo "$ac_cv_objext" >&6; }
3907 OBJEXT=$ac_cv_objext
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3911 if ${ac_cv_c_compiler_gnu+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3939 if test $ac_compiler_gnu = yes; then
3944 ac_test_CFLAGS=${CFLAGS+set}
3945 ac_save_CFLAGS=$CFLAGS
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3948 if ${ac_cv_prog_cc_g+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_save_c_werror_flag=$ac_c_werror_flag
3952 ac_c_werror_flag=yes
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_c_werror_flag=$ac_save_c_werror_flag
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 ac_c_werror_flag=$ac_save_c_werror_flag
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4008 $as_echo "$ac_cv_prog_cc_g" >&6; }
4009 if test "$ac_test_CFLAGS" = set; then
4010 CFLAGS=$ac_save_CFLAGS
4011 elif test $ac_cv_prog_cc_g = yes; then
4012 if test "$GCC" = yes; then
4018 if test "$GCC" = yes; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4026 if ${ac_cv_prog_cc_c89+:} false; then :
4027 $as_echo_n "(cached) " >&6
4029 ac_cv_prog_cc_c89=no
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4037 struct buf { int x; };
4038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4039 static char *e (p, i)
4045 static char *f (char * (*g) (char **, int), char **p, ...)
4050 s = g (p, va_arg (v,int));
4055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4056 function prototypes and stuff, but not '\xHH' hex character constants.
4057 These don't provoke an error unfortunately, instead are silently treated
4058 as 'x'. The following induces an error, until -std is added to get
4059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4060 array size at least. It's necessary to write '\x00'==0 to get something
4061 that's true only with -std. */
4062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4065 inside strings and character constants. */
4067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4069 int test (int i, double x);
4070 struct s1 {int (*f) (int a);};
4071 struct s2 {int (*f) (double a);};
4072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4086 CC="$ac_save_CC $ac_arg"
4087 if ac_fn_c_try_compile "$LINENO"; then :
4088 ac_cv_prog_cc_c89=$ac_arg
4090 rm -f core conftest.err conftest.$ac_objext
4091 test "x$ac_cv_prog_cc_c89" != "xno" && break
4093 rm -f conftest.$ac_ext
4098 case "x$ac_cv_prog_cc_c89" in
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4101 $as_echo "none needed" >&6; } ;;
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4104 $as_echo "unsupported" >&6; } ;;
4106 CC="$CC $ac_cv_prog_cc_c89"
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4110 if test "x$ac_cv_prog_cc_c89" != xno; then :
4115 ac_cpp='$CPP $CPPFLAGS'
4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4121 ac_cpp='$CPP $CPPFLAGS'
4122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4126 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4127 if ${am_cv_prog_cc_c_o+:} false; then :
4128 $as_echo_n "(cached) " >&6
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4141 # Make sure it works both with $CC and with simple cc.
4142 # Following AC_PROG_CC_C_O, we do the test twice because some
4143 # compilers refuse to overwrite an existing .o file with -o,
4144 # though they will create one.
4145 am_cv_prog_cc_c_o=yes
4147 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4148 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); } \
4152 && test -f conftest2.$ac_objext; then
4155 am_cv_prog_cc_c_o=no
4159 rm -f core conftest*
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4163 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4164 if test "$am_cv_prog_cc_c_o" != yes; then
4165 # Losing compiler, so override with the script.
4166 # FIXME: It is wrong to rewrite CC.
4167 # But if we don't then we get into trouble of one sort or another.
4168 # A longer-term fix would be to have automake use am__CC in this case,
4169 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4170 CC="$am_aux_dir/compile $CC"
4173 ac_cpp='$CPP $CPPFLAGS'
4174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4179 depcc="$CC" am_compiler_list=
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4182 $as_echo_n "checking dependency style of $depcc... " >&6; }
4183 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4184 $as_echo_n "(cached) " >&6
4186 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4187 # We make a subdir and do the tests there. Otherwise we can end up
4188 # making bogus files that we don't know about and never remove. For
4189 # instance it was reported that on HP-UX the gcc test will end up
4190 # making a dummy file named 'D' -- because '-MD' means "put the output
4194 # Copy depcomp to subdir because otherwise we won't find it if we're
4195 # using a relative directory.
4196 cp "$am_depcomp" conftest.dir
4198 # We will build objects and dependencies in a subdirectory because
4199 # it helps to detect inapplicable dependency modes. For instance
4200 # both Tru64's cc and ICC support -MD to output dependencies as a
4201 # side effect of compilation, but ICC will put the dependencies in
4202 # the current directory while Tru64 will put them in the object
4206 am_cv_CC_dependencies_compiler_type=none
4207 if test "$am_compiler_list" = ""; then
4208 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4211 case " $depcc " in #(
4212 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4215 for depmode in $am_compiler_list; do
4216 # Setup a source with many dependencies, because some compilers
4217 # like to wrap large dependency lists on column 80 (with \), and
4218 # we should not choose a depcomp mode which is confused by this.
4220 # We need to recreate these files for each test, as the compiler may
4221 # overwrite some of them when testing with obscure command lines.
4222 # This happens at least with the AIX C compiler.
4224 for i in 1 2 3 4 5 6; do
4225 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4226 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4227 # Solaris 10 /bin/sh.
4228 echo '/* dummy */' > sub/conftst$i.h
4230 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4232 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4233 # mode. It turns out that the SunPro C++ compiler does not properly
4234 # handle '-M -o', and we need to detect this. Also, some Intel
4235 # versions had trouble with output in subdirs.
4236 am__obj=sub/conftest.${OBJEXT-o}
4237 am__minus_obj="-o $am__obj"
4240 # This depmode causes a compiler race in universal mode.
4241 test "$am__universal" = false || continue
4244 # After this tag, mechanisms are not by side-effect, so they'll
4245 # only be used when explicitly requested.
4246 if test "x$enable_dependency_tracking" = xyes; then
4252 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4253 # This compiler won't grok '-c -o', but also, the minuso test has
4254 # not run yet. These depmodes are late enough in the game, and
4255 # so weak that their functioning should not be impacted.
4256 am__obj=conftest.${OBJEXT-o}
4261 if depmode=$depmode \
4262 source=sub/conftest.c object=$am__obj \
4263 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4264 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4265 >/dev/null 2>conftest.err &&
4266 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4267 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4268 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4269 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4270 # icc doesn't choke on unknown options, it will just issue warnings
4271 # or remarks (even with -Werror). So we grep stderr for any message
4272 # that says an option was ignored or not supported.
4273 # When given -MP, icc 7.0 and 7.1 complain thusly:
4274 # icc: Command line warning: ignoring option '-M'; no argument required
4275 # The diagnosis changed in icc 8.0:
4276 # icc: Command line remark: option '-MP' not supported
4277 if (grep 'ignoring option' conftest.err ||
4278 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4279 am_cv_CC_dependencies_compiler_type=$depmode
4288 am_cv_CC_dependencies_compiler_type=none
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4293 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4294 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4297 test "x$enable_dependency_tracking" != xno \
4298 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4300 am__fastdepCC_FALSE='#'
4302 am__fastdepCC_TRUE='#'
4303 am__fastdepCC_FALSE=
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4308 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4309 if ${ac_cv_path_SED+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4313 for ac_i in 1 2 3 4 5 6 7; do
4314 ac_script="$ac_script$as_nl$ac_script"
4316 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4317 { ac_script=; unset ac_script;}
4318 if test -z "$SED"; then
4319 ac_path_SED_found=false
4320 # Loop through the user's path and test for each of PROGNAME-LIST
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir=.
4326 for ac_prog in sed gsed; do
4327 for ac_exec_ext in '' $ac_executable_extensions; do
4328 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4329 as_fn_executable_p "$ac_path_SED" || continue
4330 # Check for GNU ac_path_SED and select it if it is found.
4331 # Check for GNU $ac_path_SED
4332 case `"$ac_path_SED" --version 2>&1` in
4334 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4337 $as_echo_n 0123456789 >"conftest.in"
4340 cat "conftest.in" "conftest.in" >"conftest.tmp"
4341 mv "conftest.tmp" "conftest.in"
4342 cp "conftest.in" "conftest.nl"
4343 $as_echo '' >> "conftest.nl"
4344 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4346 as_fn_arith $ac_count + 1 && ac_count=$as_val
4347 if test $ac_count -gt ${ac_path_SED_max-0}; then
4348 # Best one so far, save it but keep looking for a better one
4349 ac_cv_path_SED="$ac_path_SED"
4350 ac_path_SED_max=$ac_count
4352 # 10*(2^10) chars as input seems more than enough
4353 test $ac_count -gt 10 && break
4355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4358 $ac_path_SED_found && break 3
4363 if test -z "$ac_cv_path_SED"; then
4364 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4372 $as_echo "$ac_cv_path_SED" >&6; }
4373 SED="$ac_cv_path_SED"
4376 test -z "$SED" && SED=sed
4377 Xsed="$SED -e 1s/^X//"
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4390 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4391 if ${ac_cv_path_GREP+:} false; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -z "$GREP"; then
4395 ac_path_GREP_found=false
4396 # Loop through the user's path and test for each of PROGNAME-LIST
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4401 test -z "$as_dir" && as_dir=.
4402 for ac_prog in grep ggrep; do
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4405 as_fn_executable_p "$ac_path_GREP" || continue
4406 # Check for GNU ac_path_GREP and select it if it is found.
4407 # Check for GNU $ac_path_GREP
4408 case `"$ac_path_GREP" --version 2>&1` in
4410 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4413 $as_echo_n 0123456789 >"conftest.in"
4416 cat "conftest.in" "conftest.in" >"conftest.tmp"
4417 mv "conftest.tmp" "conftest.in"
4418 cp "conftest.in" "conftest.nl"
4419 $as_echo 'GREP' >> "conftest.nl"
4420 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4422 as_fn_arith $ac_count + 1 && ac_count=$as_val
4423 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4424 # Best one so far, save it but keep looking for a better one
4425 ac_cv_path_GREP="$ac_path_GREP"
4426 ac_path_GREP_max=$ac_count
4428 # 10*(2^10) chars as input seems more than enough
4429 test $ac_count -gt 10 && break
4431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4434 $ac_path_GREP_found && break 3
4439 if test -z "$ac_cv_path_GREP"; then
4440 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4443 ac_cv_path_GREP=$GREP
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4448 $as_echo "$ac_cv_path_GREP" >&6; }
4449 GREP="$ac_cv_path_GREP"
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4453 $as_echo_n "checking for egrep... " >&6; }
4454 if ${ac_cv_path_EGREP+:} false; then :
4455 $as_echo_n "(cached) " >&6
4457 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4458 then ac_cv_path_EGREP="$GREP -E"
4460 if test -z "$EGREP"; then
4461 ac_path_EGREP_found=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4467 test -z "$as_dir" && as_dir=.
4468 for ac_prog in egrep; do
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4471 as_fn_executable_p "$ac_path_EGREP" || continue
4472 # Check for GNU ac_path_EGREP and select it if it is found.
4473 # Check for GNU $ac_path_EGREP
4474 case `"$ac_path_EGREP" --version 2>&1` in
4476 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4479 $as_echo_n 0123456789 >"conftest.in"
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 $as_echo 'EGREP' >> "conftest.nl"
4486 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488 as_fn_arith $ac_count + 1 && ac_count=$as_val
4489 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_EGREP="$ac_path_EGREP"
4492 ac_path_EGREP_max=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4500 $ac_path_EGREP_found && break 3
4505 if test -z "$ac_cv_path_EGREP"; then
4506 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4509 ac_cv_path_EGREP=$EGREP
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4515 $as_echo "$ac_cv_path_EGREP" >&6; }
4516 EGREP="$ac_cv_path_EGREP"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4520 $as_echo_n "checking for fgrep... " >&6; }
4521 if ${ac_cv_path_FGREP+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4525 then ac_cv_path_FGREP="$GREP -F"
4527 if test -z "$FGREP"; then
4528 ac_path_FGREP_found=false
4529 # Loop through the user's path and test for each of PROGNAME-LIST
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4534 test -z "$as_dir" && as_dir=.
4535 for ac_prog in fgrep; do
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4538 as_fn_executable_p "$ac_path_FGREP" || continue
4539 # Check for GNU ac_path_FGREP and select it if it is found.
4540 # Check for GNU $ac_path_FGREP
4541 case `"$ac_path_FGREP" --version 2>&1` in
4543 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4546 $as_echo_n 0123456789 >"conftest.in"
4549 cat "conftest.in" "conftest.in" >"conftest.tmp"
4550 mv "conftest.tmp" "conftest.in"
4551 cp "conftest.in" "conftest.nl"
4552 $as_echo 'FGREP' >> "conftest.nl"
4553 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555 as_fn_arith $ac_count + 1 && ac_count=$as_val
4556 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4557 # Best one so far, save it but keep looking for a better one
4558 ac_cv_path_FGREP="$ac_path_FGREP"
4559 ac_path_FGREP_max=$ac_count
4561 # 10*(2^10) chars as input seems more than enough
4562 test $ac_count -gt 10 && break
4564 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4567 $ac_path_FGREP_found && break 3
4572 if test -z "$ac_cv_path_FGREP"; then
4573 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4576 ac_cv_path_FGREP=$FGREP
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4582 $as_echo "$ac_cv_path_FGREP" >&6; }
4583 FGREP="$ac_cv_path_FGREP"
4586 test -z "$GREP" && GREP=grep
4606 # Check whether --with-gnu-ld was given.
4607 if test "${with_gnu_ld+set}" = set; then :
4608 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4614 if test "$GCC" = yes; then
4615 # Check if gcc -print-prog-name=ld gives a path.
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4617 $as_echo_n "checking for ld used by $CC... " >&6; }
4620 # gcc leaves a trailing carriage return which upsets mingw
4621 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4623 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4626 # Accept absolute paths.
4628 re_direlt='/[^/][^/]*/\.\./'
4629 # Canonicalize the pathname of ld
4630 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4631 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4632 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4634 test -z "$LD" && LD="$ac_prog"
4637 # If it fails, then pretend we aren't using GCC.
4641 # If it is relative, then search for the first ld in PATH.
4645 elif test "$with_gnu_ld" = yes; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4647 $as_echo_n "checking for GNU ld... " >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4650 $as_echo_n "checking for non-GNU ld... " >&6; }
4652 if ${lt_cv_path_LD+:} false; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -z "$LD"; then
4656 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4657 for ac_dir in $PATH; do
4659 test -z "$ac_dir" && ac_dir=.
4660 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4661 lt_cv_path_LD="$ac_dir/$ac_prog"
4662 # Check to see if the program is GNU ld. I'd rather use --version,
4663 # but apparently some variants of GNU ld only accept -v.
4664 # Break only if it was the GNU/non-GNU ld that we prefer.
4665 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4666 *GNU* | *'with BFD'*)
4667 test "$with_gnu_ld" != no && break
4670 test "$with_gnu_ld" != yes && break
4677 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4682 if test -n "$LD"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4684 $as_echo "$LD" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4689 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4691 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4692 if ${lt_cv_prog_gnu_ld+:} false; then :
4693 $as_echo_n "(cached) " >&6
4695 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4696 case `$LD -v 2>&1 </dev/null` in
4697 *GNU* | *'with BFD'*)
4698 lt_cv_prog_gnu_ld=yes
4701 lt_cv_prog_gnu_ld=no
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4706 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4707 with_gnu_ld=$lt_cv_prog_gnu_ld
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4718 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4719 if ${lt_cv_path_NM+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 if test -n "$NM"; then
4723 # Let the user override the test.
4726 lt_nm_to_check="${ac_tool_prefix}nm"
4727 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4728 lt_nm_to_check="$lt_nm_to_check nm"
4730 for lt_tmp_nm in $lt_nm_to_check; do
4731 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4732 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4734 test -z "$ac_dir" && ac_dir=.
4735 tmp_nm="$ac_dir/$lt_tmp_nm"
4736 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4737 # Check to see if the nm accepts a BSD-compat flag.
4738 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4739 # nm: unknown option "B" ignored
4740 # Tru64's nm complains that /dev/null is an invalid object file
4741 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4742 */dev/null* | *'Invalid file or object type'*)
4743 lt_cv_path_NM="$tmp_nm -B"
4747 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4749 lt_cv_path_NM="$tmp_nm -p"
4753 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4754 continue # so that we can try to find one that supports BSD flags
4763 : ${lt_cv_path_NM=no}
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4767 $as_echo "$lt_cv_path_NM" >&6; }
4768 if test "$lt_cv_path_NM" != "no"; then
4771 # Didn't find any BSD compatible name lister, look for dumpbin.
4772 if test -n "$DUMPBIN"; then :
4773 # Let the user override the test.
4775 if test -n "$ac_tool_prefix"; then
4776 for ac_prog in dumpbin "link -dump"
4778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_DUMPBIN+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$DUMPBIN"; then
4786 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 DUMPBIN=$ac_cv_prog_DUMPBIN
4806 if test -n "$DUMPBIN"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4808 $as_echo "$DUMPBIN" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 test -n "$DUMPBIN" && break
4818 if test -z "$DUMPBIN"; then
4819 ac_ct_DUMPBIN=$DUMPBIN
4820 for ac_prog in dumpbin "link -dump"
4822 # Extract the first word of "$ac_prog", so it can be a program name with args.
4823 set dummy $ac_prog; ac_word=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$ac_ct_DUMPBIN"; then
4830 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4850 if test -n "$ac_ct_DUMPBIN"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4852 $as_echo "$ac_ct_DUMPBIN" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4859 test -n "$ac_ct_DUMPBIN" && break
4862 if test "x$ac_ct_DUMPBIN" = x; then
4865 case $cross_compiling:$ac_tool_warned in
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4869 ac_tool_warned=yes ;;
4871 DUMPBIN=$ac_ct_DUMPBIN
4875 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4877 DUMPBIN="$DUMPBIN -symbols"
4885 if test "$DUMPBIN" != ":"; then
4889 test -z "$NM" && NM=nm
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4897 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4898 if ${lt_cv_nm_interface+:} false; then :
4899 $as_echo_n "(cached) " >&6
4901 lt_cv_nm_interface="BSD nm"
4902 echo "int some_variable = 0;" > conftest.$ac_ext
4903 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4904 (eval "$ac_compile" 2>conftest.err)
4905 cat conftest.err >&5
4906 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4907 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4908 cat conftest.err >&5
4909 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4910 cat conftest.out >&5
4911 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4912 lt_cv_nm_interface="MS dumpbin"
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4917 $as_echo "$lt_cv_nm_interface" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4920 $as_echo_n "checking whether ln -s works... " >&6; }
4922 if test "$LN_S" = "ln -s"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4924 $as_echo "yes" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4927 $as_echo "no, using $LN_S" >&6; }
4930 # find the maximum length of command line arguments
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4932 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4933 if ${lt_cv_sys_max_cmd_len+:} false; then :
4934 $as_echo_n "(cached) " >&6
4941 # On DJGPP, this test can blow up pretty badly due to problems in libc
4942 # (any single argument exceeding 2000 bytes causes a buffer overrun
4943 # during glob expansion). Even if it were fixed, the result of this
4944 # check would be larger than it should be.
4945 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4949 # Under GNU Hurd, this test is not required because there is
4950 # no limit to the length of command line arguments.
4951 # Libtool will interpret -1 as no limit whatsoever
4952 lt_cv_sys_max_cmd_len=-1;
4955 cygwin* | mingw* | cegcc*)
4956 # On Win9x/ME, this test blows up -- it succeeds, but takes
4957 # about 5 minutes as the teststring grows exponentially.
4958 # Worse, since 9x/ME are not pre-emptively multitasking,
4959 # you end up with a "frozen" computer, even though with patience
4960 # the test eventually succeeds (with a max line length of 256k).
4961 # Instead, let's just punt: use the minimum linelength reported by
4962 # all of the supported platforms: 8192 (on NT/2K/XP).
4963 lt_cv_sys_max_cmd_len=8192;
4967 # On MiNT this can take a long time and run out of memory.
4968 lt_cv_sys_max_cmd_len=8192;
4972 # On AmigaOS with pdksh, this test takes hours, literally.
4973 # So we just punt and use a minimum line length of 8192.
4974 lt_cv_sys_max_cmd_len=8192;
4977 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4978 # This has been around since 386BSD, at least. Likely further.
4979 if test -x /sbin/sysctl; then
4980 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4981 elif test -x /usr/sbin/sysctl; then
4982 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4984 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4986 # And add a safety zone
4987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4992 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4993 lt_cv_sys_max_cmd_len=196608
4997 # The test takes a long time on OS/2.
4998 lt_cv_sys_max_cmd_len=8192
5002 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5003 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5004 # nice to cause kernel panics so lets avoid the loop below.
5005 # First set a reasonable default.
5006 lt_cv_sys_max_cmd_len=16384
5008 if test -x /sbin/sysconfig; then
5009 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5010 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5015 lt_cv_sys_max_cmd_len=102400
5017 sysv5* | sco5v6* | sysv4.2uw2*)
5018 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5019 if test -n "$kargmax"; then
5020 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5022 lt_cv_sys_max_cmd_len=32768
5026 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5027 if test -n "$lt_cv_sys_max_cmd_len"; then
5028 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5029 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5031 # Make teststring a little bigger before we do anything with it.
5032 # a 1K string should be a reasonable start.
5033 for i in 1 2 3 4 5 6 7 8 ; do
5034 teststring=$teststring$teststring
5036 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5037 # If test is not a shell built-in, we'll probably end up computing a
5038 # maximum length that is only half of the actual maximum length, but
5040 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5041 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5042 test $i != 17 # 1/2 MB should be enough
5045 teststring=$teststring$teststring
5047 # Only check the string length outside the loop.
5048 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5050 # Add a significant safety factor because C++ compilers can tack on
5051 # massive amounts of additional arguments before passing them to the
5052 # linker. It appears as though 1/2 is a usable value.
5053 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5060 if test -n $lt_cv_sys_max_cmd_len ; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5062 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5065 $as_echo "none" >&6; }
5067 max_cmd_len=$lt_cv_sys_max_cmd_len
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5079 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5080 # Try some XSI features
5083 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5085 && eval 'test $(( 1 + 1 )) -eq 2 \
5086 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5089 $as_echo "$xsi_shell" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5093 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5095 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5097 && lt_shell_append=yes
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5099 $as_echo "$lt_shell_append" >&6; }
5102 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5112 # test EBCDIC or ASCII
5113 case `echo X|tr X '\101'` in
5114 A) # ASCII based system
5115 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5116 lt_SP2NL='tr \040 \012'
5117 lt_NL2SP='tr \015\012 \040\040'
5119 *) # EBCDIC based system
5120 lt_SP2NL='tr \100 \n'
5121 lt_NL2SP='tr \r\n \100\100'
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5134 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5135 if ${lt_cv_to_host_file_cmd+:} false; then :
5136 $as_echo_n "(cached) " >&6
5141 *-*-mingw* ) # actually msys
5142 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5145 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5147 * ) # otherwise, assume *nix
5148 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5154 *-*-mingw* ) # actually msys
5155 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5158 lt_cv_to_host_file_cmd=func_convert_file_noop
5160 * ) # otherwise, assume *nix
5161 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5165 * ) # unhandled hosts (and "normal" native builds)
5166 lt_cv_to_host_file_cmd=func_convert_file_noop
5172 to_host_file_cmd=$lt_cv_to_host_file_cmd
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5174 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5181 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5182 if ${lt_cv_to_tool_file_cmd+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 #assume ordinary cross tools, or native build.
5186 lt_cv_to_tool_file_cmd=func_convert_file_noop
5190 *-*-mingw* ) # actually msys
5191 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5199 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5201 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5208 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5209 if ${lt_cv_ld_reload_flag+:} false; then :
5210 $as_echo_n "(cached) " >&6
5212 lt_cv_ld_reload_flag='-r'
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5215 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5216 reload_flag=$lt_cv_ld_reload_flag
5217 case $reload_flag in
5219 *) reload_flag=" $reload_flag" ;;
5221 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5223 cygwin* | mingw* | pw32* | cegcc*)
5224 if test "$GCC" != yes; then
5229 if test "$GCC" = yes; then
5230 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5232 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5245 if test -n "$ac_tool_prefix"; then
5246 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5247 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_OBJDUMP+:} false; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$OBJDUMP"; then
5254 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5263 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 OBJDUMP=$ac_cv_prog_OBJDUMP
5274 if test -n "$OBJDUMP"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5276 $as_echo "$OBJDUMP" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5284 if test -z "$ac_cv_prog_OBJDUMP"; then
5285 ac_ct_OBJDUMP=$OBJDUMP
5286 # Extract the first word of "objdump", so it can be a program name with args.
5287 set dummy objdump; ac_word=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -n "$ac_ct_OBJDUMP"; then
5294 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir=.
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5314 if test -n "$ac_ct_OBJDUMP"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5316 $as_echo "$ac_ct_OBJDUMP" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5322 if test "x$ac_ct_OBJDUMP" = x; then
5325 case $cross_compiling:$ac_tool_warned in
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned=yes ;;
5331 OBJDUMP=$ac_ct_OBJDUMP
5334 OBJDUMP="$ac_cv_prog_OBJDUMP"
5337 test -z "$OBJDUMP" && OBJDUMP=objdump
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5348 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5349 if ${lt_cv_deplibs_check_method+:} false; then :
5350 $as_echo_n "(cached) " >&6
5352 lt_cv_file_magic_cmd='$MAGIC_CMD'
5353 lt_cv_file_magic_test_file=
5354 lt_cv_deplibs_check_method='unknown'
5355 # Need to set the preceding variable on all platforms that support
5356 # interlibrary dependencies.
5357 # 'none' -- dependencies not supported.
5358 # `unknown' -- same as none, but documents that we really don't know.
5359 # 'pass_all' -- all dependencies passed with no checks.
5360 # 'test_compile' -- check by making test program.
5361 # 'file_magic [[regex]]' -- check by looking for files in library path
5362 # which responds to the $file_magic_cmd with a given extended regex.
5363 # If you have `file' or equivalent on your system and you're not sure
5364 # whether `pass_all' will *always* work, you probably want this one.
5368 lt_cv_deplibs_check_method=pass_all
5372 lt_cv_deplibs_check_method=pass_all
5376 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5377 lt_cv_file_magic_cmd='/usr/bin/file -L'
5378 lt_cv_file_magic_test_file=/shlib/libc.so
5382 # func_win32_libid is a shell function defined in ltmain.sh
5383 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5384 lt_cv_file_magic_cmd='func_win32_libid'
5388 # Base MSYS/MinGW do not provide the 'file' command needed by
5389 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5390 # unless we find 'file', for example because we are cross-compiling.
5391 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5392 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5393 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5394 lt_cv_file_magic_cmd='func_win32_libid'
5396 # Keep this pattern in sync with the one in func_win32_libid.
5397 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5398 lt_cv_file_magic_cmd='$OBJDUMP -f'
5403 # use the weaker test based on 'objdump'. See mingw*.
5404 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5405 lt_cv_file_magic_cmd='$OBJDUMP -f'
5408 darwin* | rhapsody*)
5409 lt_cv_deplibs_check_method=pass_all
5412 freebsd* | dragonfly*)
5413 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5416 # Not sure whether the presence of OpenBSD here was a mistake.
5417 # Let's accept both of them until this is cleared up.
5418 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5419 lt_cv_file_magic_cmd=/usr/bin/file
5420 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5424 lt_cv_deplibs_check_method=pass_all
5429 lt_cv_deplibs_check_method=pass_all
5433 lt_cv_deplibs_check_method=pass_all
5436 hpux10.20* | hpux11*)
5437 lt_cv_file_magic_cmd=/usr/bin/file
5440 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5441 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5444 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]'
5445 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5448 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5449 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5455 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5456 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5459 irix5* | irix6* | nonstopux*)
5461 *-32|*"-32 ") libmagic=32-bit;;
5462 *-n32|*"-n32 ") libmagic=N32;;
5463 *-64|*"-64 ") libmagic=64-bit;;
5464 *) libmagic=never-match;;
5466 lt_cv_deplibs_check_method=pass_all
5469 # This must be glibc/ELF.
5470 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5471 lt_cv_deplibs_check_method=pass_all
5475 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5478 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5483 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5484 lt_cv_file_magic_cmd=/usr/bin/file
5485 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5489 lt_cv_deplibs_check_method=pass_all
5493 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5494 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5496 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5500 osf3* | osf4* | osf5*)
5501 lt_cv_deplibs_check_method=pass_all
5505 lt_cv_deplibs_check_method=pass_all
5509 lt_cv_deplibs_check_method=pass_all
5512 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5513 lt_cv_deplibs_check_method=pass_all
5517 case $host_vendor in
5519 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]'
5520 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5523 lt_cv_deplibs_check_method=pass_all
5526 lt_cv_file_magic_cmd='/bin/file'
5527 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5530 lt_cv_file_magic_cmd='/bin/file'
5531 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5532 lt_cv_file_magic_test_file=/lib/libc.so
5535 lt_cv_deplibs_check_method=pass_all
5538 lt_cv_deplibs_check_method=pass_all
5544 lt_cv_deplibs_check_method=pass_all
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5550 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5554 if test "$build" = "$host"; then
5557 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5560 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5566 file_magic_cmd=$lt_cv_file_magic_cmd
5567 deplibs_check_method=$lt_cv_deplibs_check_method
5568 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5591 if test -n "$ac_tool_prefix"; then
5592 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5593 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_DLLTOOL+:} false; then :
5597 $as_echo_n "(cached) " >&6
5599 if test -n "$DLLTOOL"; then
5600 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 DLLTOOL=$ac_cv_prog_DLLTOOL
5620 if test -n "$DLLTOOL"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5622 $as_echo "$DLLTOOL" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5630 if test -z "$ac_cv_prog_DLLTOOL"; then
5631 ac_ct_DLLTOOL=$DLLTOOL
5632 # Extract the first word of "dlltool", so it can be a program name with args.
5633 set dummy dlltool; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5637 $as_echo_n "(cached) " >&6
5639 if test -n "$ac_ct_DLLTOOL"; then
5640 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5660 if test -n "$ac_ct_DLLTOOL"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5662 $as_echo "$ac_ct_DLLTOOL" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5668 if test "x$ac_ct_DLLTOOL" = x; then
5671 case $cross_compiling:$ac_tool_warned in
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5675 ac_tool_warned=yes ;;
5677 DLLTOOL=$ac_ct_DLLTOOL
5680 DLLTOOL="$ac_cv_prog_DLLTOOL"
5683 test -z "$DLLTOOL" && DLLTOOL=dlltool
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5695 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5696 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5697 $as_echo_n "(cached) " >&6
5699 lt_cv_sharedlib_from_linklib_cmd='unknown'
5702 cygwin* | mingw* | pw32* | cegcc*)
5703 # two different shell functions defined in ltmain.sh
5704 # decide which to use based on capabilities of $DLLTOOL
5705 case `$DLLTOOL --help 2>&1` in
5706 *--identify-strict*)
5707 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5710 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5715 # fallback: assume linklib IS sharedlib
5716 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5722 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5723 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5724 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5733 if test -n "$ac_tool_prefix"; then
5736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_AR+:} false; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -n "$AR"; then
5744 ac_cv_prog_AR="$AR" # Let the user override the test.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 if test -n "$AR"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5766 $as_echo "$AR" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5773 test -n "$AR" && break
5776 if test -z "$AR"; then
5780 # Extract the first word of "$ac_prog", so it can be a program name with args.
5781 set dummy $ac_prog; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5785 $as_echo_n "(cached) " >&6
5787 if test -n "$ac_ct_AR"; then
5788 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_ac_ct_AR="$ac_prog"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5808 if test -n "$ac_ct_AR"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5810 $as_echo "$ac_ct_AR" >&6; }
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5817 test -n "$ac_ct_AR" && break
5820 if test "x$ac_ct_AR" = x; then
5823 case $cross_compiling:$ac_tool_warned in
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5827 ac_tool_warned=yes ;;
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5847 $as_echo_n "checking for archiver @FILE support... " >&6; }
5848 if ${lt_cv_ar_at_file+:} false; then :
5849 $as_echo_n "(cached) " >&6
5852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5863 if ac_fn_c_try_compile "$LINENO"; then :
5864 echo conftest.$ac_objext > conftest.lst
5865 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5866 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5867 (eval $lt_ar_try) 2>&5
5869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5870 test $ac_status = 0; }
5871 if test "$ac_status" -eq 0; then
5872 # Ensure the archiver fails upon bogus file names.
5873 rm -f conftest.$ac_objext libconftest.a
5874 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5875 (eval $lt_ar_try) 2>&5
5877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5878 test $ac_status = 0; }
5879 if test "$ac_status" -ne 0; then
5883 rm -f conftest.* libconftest.a
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5890 $as_echo "$lt_cv_ar_at_file" >&6; }
5892 if test "x$lt_cv_ar_at_file" = xno; then
5895 archiver_list_spec=$lt_cv_ar_at_file
5904 if test -n "$ac_tool_prefix"; then
5905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5906 set dummy ${ac_tool_prefix}strip; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_STRIP+:} false; then :
5910 $as_echo_n "(cached) " >&6
5912 if test -n "$STRIP"; then
5913 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 STRIP=$ac_cv_prog_STRIP
5933 if test -n "$STRIP"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5935 $as_echo "$STRIP" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5943 if test -z "$ac_cv_prog_STRIP"; then
5945 # Extract the first word of "strip", so it can be a program name with args.
5946 set dummy strip; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5950 $as_echo_n "(cached) " >&6
5952 if test -n "$ac_ct_STRIP"; then
5953 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_ac_ct_STRIP="strip"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5973 if test -n "$ac_ct_STRIP"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5975 $as_echo "$ac_ct_STRIP" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5981 if test "x$ac_ct_STRIP" = x; then
5984 case $cross_compiling:$ac_tool_warned in
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5988 ac_tool_warned=yes ;;
5993 STRIP="$ac_cv_prog_STRIP"
5996 test -z "$STRIP" && STRIP=:
6003 if test -n "$ac_tool_prefix"; then
6004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6005 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RANLIB+:} false; then :
6009 $as_echo_n "(cached) " >&6
6011 if test -n "$RANLIB"; then
6012 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 RANLIB=$ac_cv_prog_RANLIB
6032 if test -n "$RANLIB"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6034 $as_echo "$RANLIB" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6042 if test -z "$ac_cv_prog_RANLIB"; then
6043 ac_ct_RANLIB=$RANLIB
6044 # Extract the first word of "ranlib", so it can be a program name with args.
6045 set dummy ranlib; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6049 $as_echo_n "(cached) " >&6
6051 if test -n "$ac_ct_RANLIB"; then
6052 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_ac_ct_RANLIB="ranlib"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6072 if test -n "$ac_ct_RANLIB"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6074 $as_echo "$ac_ct_RANLIB" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6080 if test "x$ac_ct_RANLIB" = x; then
6083 case $cross_compiling:$ac_tool_warned in
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6087 ac_tool_warned=yes ;;
6089 RANLIB=$ac_ct_RANLIB
6092 RANLIB="$ac_cv_prog_RANLIB"
6095 test -z "$RANLIB" && RANLIB=:
6102 # Determine commands to create old-style static archives.
6103 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6104 old_postinstall_cmds='chmod 644 $oldlib'
6105 old_postuninstall_cmds=
6107 if test -n "$RANLIB"; then
6110 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6113 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6116 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6121 lock_old_archive_extraction=yes ;;
6123 lock_old_archive_extraction=no ;;
6164 # If no C compiler was specified, use CC.
6167 # If no C compiler flags were specified, use CFLAGS.
6168 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6170 # Allow CC to be a program name with arguments.
6174 # Check for command to grab the raw symbol name followed by C symbol from nm.
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6176 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6177 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6178 $as_echo_n "(cached) " >&6
6181 # These are sane defaults that work on at least a few old systems.
6182 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6184 # Character class describing NM global symbol codes.
6185 symcode='[BCDEGRST]'
6187 # Regexp to match symbols that can be accessed directly from C.
6188 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6190 # Define system-specific variables.
6195 cygwin* | mingw* | pw32* | cegcc*)
6196 symcode='[ABCDGISTW]'
6199 if test "$host_cpu" = ia64; then
6200 symcode='[ABCDEGRST]'
6204 symcode='[BCDEGRST]'
6207 symcode='[BCDEGQRST]'
6218 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6226 # If we're using GNU nm, then use its standard symbol codes.
6227 case `$NM -V 2>&1` in
6228 *GNU* | *'with BFD'*)
6229 symcode='[ABCDGIRSTW]' ;;
6232 # Transform an extracted symbol line into a proper C declaration.
6233 # Some systems (esp. on ia64) link data and code symbols differently,
6234 # so use this general approach.
6235 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6237 # Transform an extracted symbol line into symbol name and symbol address
6238 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6239 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'"
6241 # Handle CRLF in mingw tool chain
6245 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6249 # Try without a prefix underscore, then with it.
6250 for ac_symprfx in "" "_"; do
6252 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6253 symxfrm="\\1 $ac_symprfx\\2 \\2"
6255 # Write the raw and C identifiers.
6256 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6257 # Fake it for dumpbin and say T for any non-static function
6258 # and D for any global variable.
6259 # Also find C++ and __fastcall symbols from MSVC++,
6260 # which start with @ or ?.
6261 lt_cv_sys_global_symbol_pipe="$AWK '"\
6262 " {last_section=section; section=\$ 3};"\
6263 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6264 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6265 " \$ 0!~/External *\|/{next};"\
6266 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6267 " {if(hide[section]) next};"\
6268 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6269 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6270 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6271 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6272 " ' prfx=^$ac_symprfx"
6274 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6276 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6278 # Check to see that the pipe works correctly.
6282 cat > conftest.$ac_ext <<_LT_EOF
6287 void nm_test_func(void);
6288 void nm_test_func(void){}
6292 int main(){nm_test_var='a';nm_test_func();return(0);}
6295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6296 (eval $ac_compile) 2>&5
6298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6299 test $ac_status = 0; }; then
6300 # Now try to grab the symbols.
6302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6303 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6306 test $ac_status = 0; } && test -s "$nlist"; then
6307 # Try sorting and uniquifying the output.
6308 if sort "$nlist" | uniq > "$nlist"T; then
6309 mv -f "$nlist"T "$nlist"
6314 # Make sure that we snagged all the symbols we need.
6315 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6316 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6317 cat <<_LT_EOF > conftest.$ac_ext
6318 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6319 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6320 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6321 relocations are performed -- see ld's documentation on pseudo-relocs. */
6322 # define LT_DLSYM_CONST
6323 #elif defined(__osf__)
6324 /* This system does not cope well with relocations in const data. */
6325 # define LT_DLSYM_CONST
6327 # define LT_DLSYM_CONST const
6335 # Now generate the symbol file.
6336 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6338 cat <<_LT_EOF >> conftest.$ac_ext
6340 /* The mapping between symbol names and symbols. */
6341 LT_DLSYM_CONST struct {
6345 lt__PROGRAM__LTX_preloaded_symbols[] =
6347 { "@PROGRAM@", (void *) 0 },
6349 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6350 cat <<\_LT_EOF >> conftest.$ac_ext
6354 /* This works around a problem in FreeBSD linker */
6355 #ifdef FREEBSD_WORKAROUND
6356 static const void *lt_preloaded_setup() {
6357 return lt__PROGRAM__LTX_preloaded_symbols;
6365 # Now try linking the two files.
6366 mv conftest.$ac_objext conftstm.$ac_objext
6367 lt_globsym_save_LIBS=$LIBS
6368 lt_globsym_save_CFLAGS=$CFLAGS
6369 LIBS="conftstm.$ac_objext"
6370 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6372 (eval $ac_link) 2>&5
6374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6378 LIBS=$lt_globsym_save_LIBS
6379 CFLAGS=$lt_globsym_save_CFLAGS
6381 echo "cannot find nm_test_func in $nlist" >&5
6384 echo "cannot find nm_test_var in $nlist" >&5
6387 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6390 echo "$progname: failed program was:" >&5
6391 cat conftest.$ac_ext >&5
6393 rm -rf conftest* conftst*
6395 # Do not use the global_symbol_pipe unless it works.
6396 if test "$pipe_works" = yes; then
6399 lt_cv_sys_global_symbol_pipe=
6405 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6406 lt_cv_sys_global_symbol_to_cdecl=
6408 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6410 $as_echo "failed" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6413 $as_echo "ok" >&6; }
6416 # Response file support.
6417 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6418 nm_file_list_spec='@'
6419 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6420 nm_file_list_spec='@'
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6450 $as_echo_n "checking for sysroot... " >&6; }
6452 # Check whether --with-sysroot was given.
6453 if test "${with_sysroot+set}" = set; then :
6454 withval=$with_sysroot;
6461 case ${with_sysroot} in #(
6463 if test "$GCC" = yes; then
6464 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6468 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6474 $as_echo "${with_sysroot}" >&6; }
6475 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6480 $as_echo "${lt_sysroot:-no}" >&6; }
6486 # Check whether --enable-libtool-lock was given.
6487 if test "${enable_libtool_lock+set}" = set; then :
6488 enableval=$enable_libtool_lock;
6491 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6493 # Some flags need to be propagated to the compiler or linker for good
6497 # Find out which ABI we are using.
6498 echo 'int i;' > conftest.$ac_ext
6499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6500 (eval $ac_compile) 2>&5
6502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6503 test $ac_status = 0; }; then
6504 case `/usr/bin/file conftest.$ac_objext` in
6516 # Find out which ABI we are using.
6517 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6519 (eval $ac_compile) 2>&5
6521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6522 test $ac_status = 0; }; then
6523 if test "$lt_cv_prog_gnu_ld" = yes; then
6524 case `/usr/bin/file conftest.$ac_objext` in
6526 LD="${LD-ld} -melf32bsmip"
6529 LD="${LD-ld} -melf32bmipn32"
6532 LD="${LD-ld} -melf64bmip"
6536 case `/usr/bin/file conftest.$ac_objext` in
6552 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6553 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6554 # Find out which ABI we are using.
6555 echo 'int i;' > conftest.$ac_ext
6556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6557 (eval $ac_compile) 2>&5
6559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6560 test $ac_status = 0; }; then
6561 case `/usr/bin/file conftest.o` in
6564 x86_64-*kfreebsd*-gnu)
6565 LD="${LD-ld} -m elf_i386_fbsd"
6568 LD="${LD-ld} -m elf_i386"
6570 ppc64-*linux*|powerpc64-*linux*)
6571 LD="${LD-ld} -m elf32ppclinux"
6574 LD="${LD-ld} -m elf_s390"
6577 LD="${LD-ld} -m elf32_sparc"
6583 x86_64-*kfreebsd*-gnu)
6584 LD="${LD-ld} -m elf_x86_64_fbsd"
6587 LD="${LD-ld} -m elf_x86_64"
6589 ppc*-*linux*|powerpc*-*linux*)
6590 LD="${LD-ld} -m elf64ppc"
6592 s390*-*linux*|s390*-*tpf*)
6593 LD="${LD-ld} -m elf64_s390"
6596 LD="${LD-ld} -m elf64_sparc"
6606 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6607 SAVE_CFLAGS="$CFLAGS"
6608 CFLAGS="$CFLAGS -belf"
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6610 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6611 if ${lt_cv_cc_needs_belf+:} false; then :
6612 $as_echo_n "(cached) " >&6
6615 ac_cpp='$CPP $CPPFLAGS'
6616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6631 if ac_fn_c_try_link "$LINENO"; then :
6632 lt_cv_cc_needs_belf=yes
6634 lt_cv_cc_needs_belf=no
6636 rm -f core conftest.err conftest.$ac_objext \
6637 conftest$ac_exeext conftest.$ac_ext
6639 ac_cpp='$CPP $CPPFLAGS'
6640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6646 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6647 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6648 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6649 CFLAGS="$SAVE_CFLAGS"
6653 # Find out which ABI we are using.
6654 echo 'int i;' > conftest.$ac_ext
6655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6656 (eval $ac_compile) 2>&5
6658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6659 test $ac_status = 0; }; then
6660 case `/usr/bin/file conftest.o` in
6662 case $lt_cv_prog_gnu_ld in
6666 LD="${LD-ld} -m elf_x86_64"
6669 LD="${LD-ld} -m elf64_sparc"
6672 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6673 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6678 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6690 need_locks="$enable_libtool_lock"
6692 if test -n "$ac_tool_prefix"; then
6693 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6694 set dummy ${ac_tool_prefix}mt; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6698 $as_echo_n "(cached) " >&6
6700 if test -n "$MANIFEST_TOOL"; then
6701 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6721 if test -n "$MANIFEST_TOOL"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6723 $as_echo "$MANIFEST_TOOL" >&6; }
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6731 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6732 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6733 # Extract the first word of "mt", so it can be a program name with args.
6734 set dummy mt; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 $as_echo_n "checking for $ac_word... " >&6; }
6737 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6738 $as_echo_n "(cached) " >&6
6740 if test -n "$ac_ct_MANIFEST_TOOL"; then
6741 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6761 if test -n "$ac_ct_MANIFEST_TOOL"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6763 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 $as_echo "no" >&6; }
6769 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6772 case $cross_compiling:$ac_tool_warned in
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6776 ac_tool_warned=yes ;;
6778 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6781 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6784 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6786 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6787 if ${lt_cv_path_mainfest_tool+:} false; then :
6788 $as_echo_n "(cached) " >&6
6790 lt_cv_path_mainfest_tool=no
6791 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6792 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6793 cat conftest.err >&5
6794 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6795 lt_cv_path_mainfest_tool=yes
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6800 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6801 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6811 rhapsody* | darwin*)
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6814 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 $as_echo_n "checking for $ac_word... " >&6; }
6817 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6818 $as_echo_n "(cached) " >&6
6820 if test -n "$DSYMUTIL"; then
6821 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6841 if test -n "$DSYMUTIL"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6843 $as_echo "$DSYMUTIL" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 $as_echo "no" >&6; }
6851 if test -z "$ac_cv_prog_DSYMUTIL"; then
6852 ac_ct_DSYMUTIL=$DSYMUTIL
6853 # Extract the first word of "dsymutil", so it can be a program name with args.
6854 set dummy dsymutil; ac_word=$2
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856 $as_echo_n "checking for $ac_word... " >&6; }
6857 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6858 $as_echo_n "(cached) " >&6
6860 if test -n "$ac_ct_DSYMUTIL"; then
6861 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir=.
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6870 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6880 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6881 if test -n "$ac_ct_DSYMUTIL"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6883 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886 $as_echo "no" >&6; }
6889 if test "x$ac_ct_DSYMUTIL" = x; then
6892 case $cross_compiling:$ac_tool_warned in
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6896 ac_tool_warned=yes ;;
6898 DSYMUTIL=$ac_ct_DSYMUTIL
6901 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if ${ac_cv_prog_NMEDIT+:} false; then :
6910 $as_echo_n "(cached) " >&6
6912 if test -n "$NMEDIT"; then
6913 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932 NMEDIT=$ac_cv_prog_NMEDIT
6933 if test -n "$NMEDIT"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6935 $as_echo "$NMEDIT" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6943 if test -z "$ac_cv_prog_NMEDIT"; then
6944 ac_ct_NMEDIT=$NMEDIT
6945 # Extract the first word of "nmedit", so it can be a program name with args.
6946 set dummy nmedit; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6950 $as_echo_n "(cached) " >&6
6952 if test -n "$ac_ct_NMEDIT"; then
6953 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6973 if test -n "$ac_ct_NMEDIT"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6975 $as_echo "$ac_ct_NMEDIT" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6981 if test "x$ac_ct_NMEDIT" = x; then
6984 case $cross_compiling:$ac_tool_warned in
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6988 ac_tool_warned=yes ;;
6990 NMEDIT=$ac_ct_NMEDIT
6993 NMEDIT="$ac_cv_prog_NMEDIT"
6996 if test -n "$ac_tool_prefix"; then
6997 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6998 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_LIPO+:} false; then :
7002 $as_echo_n "(cached) " >&6
7004 if test -n "$LIPO"; then
7005 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024 LIPO=$ac_cv_prog_LIPO
7025 if test -n "$LIPO"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7027 $as_echo "$LIPO" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7035 if test -z "$ac_cv_prog_LIPO"; then
7037 # Extract the first word of "lipo", so it can be a program name with args.
7038 set dummy lipo; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7042 $as_echo_n "(cached) " >&6
7044 if test -n "$ac_ct_LIPO"; then
7045 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054 ac_cv_prog_ac_ct_LIPO="lipo"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7065 if test -n "$ac_ct_LIPO"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7067 $as_echo "$ac_ct_LIPO" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7073 if test "x$ac_ct_LIPO" = x; then
7076 case $cross_compiling:$ac_tool_warned in
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080 ac_tool_warned=yes ;;
7085 LIPO="$ac_cv_prog_LIPO"
7088 if test -n "$ac_tool_prefix"; then
7089 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}otool; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_prog_OTOOL+:} false; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$OTOOL"; then
7097 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 OTOOL=$ac_cv_prog_OTOOL
7117 if test -n "$OTOOL"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7119 $as_echo "$OTOOL" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7127 if test -z "$ac_cv_prog_OTOOL"; then
7129 # Extract the first word of "otool", so it can be a program name with args.
7130 set dummy otool; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7134 $as_echo_n "(cached) " >&6
7136 if test -n "$ac_ct_OTOOL"; then
7137 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_ac_ct_OTOOL="otool"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7157 if test -n "$ac_ct_OTOOL"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7159 $as_echo "$ac_ct_OTOOL" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7165 if test "x$ac_ct_OTOOL" = x; then
7168 case $cross_compiling:$ac_tool_warned in
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7172 ac_tool_warned=yes ;;
7177 OTOOL="$ac_cv_prog_OTOOL"
7180 if test -n "$ac_tool_prefix"; then
7181 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7182 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_prog_OTOOL64+:} false; then :
7186 $as_echo_n "(cached) " >&6
7188 if test -n "$OTOOL64"; then
7189 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 OTOOL64=$ac_cv_prog_OTOOL64
7209 if test -n "$OTOOL64"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7211 $as_echo "$OTOOL64" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7219 if test -z "$ac_cv_prog_OTOOL64"; then
7220 ac_ct_OTOOL64=$OTOOL64
7221 # Extract the first word of "otool64", so it can be a program name with args.
7222 set dummy otool64; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7226 $as_echo_n "(cached) " >&6
7228 if test -n "$ac_ct_OTOOL64"; then
7229 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 test -z "$as_dir" && as_dir=.
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238 ac_cv_prog_ac_ct_OTOOL64="otool64"
7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7249 if test -n "$ac_ct_OTOOL64"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7251 $as_echo "$ac_ct_OTOOL64" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7257 if test "x$ac_ct_OTOOL64" = x; then
7260 case $cross_compiling:$ac_tool_warned in
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7264 ac_tool_warned=yes ;;
7266 OTOOL64=$ac_ct_OTOOL64
7269 OTOOL64="$ac_cv_prog_OTOOL64"
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7299 $as_echo_n "checking for -single_module linker flag... " >&6; }
7300 if ${lt_cv_apple_cc_single_mod+:} false; then :
7301 $as_echo_n "(cached) " >&6
7303 lt_cv_apple_cc_single_mod=no
7304 if test -z "${LT_MULTI_MODULE}"; then
7305 # By default we will add the -single_module flag. You can override
7306 # by either setting the environment variable LT_MULTI_MODULE
7307 # non-empty at configure time, or by adding -multi_module to the
7309 rm -rf libconftest.dylib*
7310 echo "int foo(void){return 1;}" > conftest.c
7311 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7312 -dynamiclib -Wl,-single_module conftest.c" >&5
7313 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7314 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7316 # If there is a non-empty error log, and "single_module"
7317 # appears in it, assume the flag caused a linker warning
7318 if test -s conftest.err && $GREP single_module conftest.err; then
7319 cat conftest.err >&5
7320 # Otherwise, if the output was created with a 0 exit code from
7321 # the compiler, it worked.
7322 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7323 lt_cv_apple_cc_single_mod=yes
7325 cat conftest.err >&5
7327 rm -rf libconftest.dylib*
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7332 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7335 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7336 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7337 $as_echo_n "(cached) " >&6
7339 lt_cv_ld_exported_symbols_list=no
7340 save_LDFLAGS=$LDFLAGS
7341 echo "_main" > conftest.sym
7342 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7354 if ac_fn_c_try_link "$LINENO"; then :
7355 lt_cv_ld_exported_symbols_list=yes
7357 lt_cv_ld_exported_symbols_list=no
7359 rm -f core conftest.err conftest.$ac_objext \
7360 conftest$ac_exeext conftest.$ac_ext
7361 LDFLAGS="$save_LDFLAGS"
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7365 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7368 $as_echo_n "checking for -force_load linker flag... " >&6; }
7369 if ${lt_cv_ld_force_load+:} false; then :
7370 $as_echo_n "(cached) " >&6
7372 lt_cv_ld_force_load=no
7373 cat > conftest.c << _LT_EOF
7374 int forced_loaded() { return 2;}
7376 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7377 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7378 echo "$AR cru libconftest.a conftest.o" >&5
7379 $AR cru libconftest.a conftest.o 2>&5
7380 echo "$RANLIB libconftest.a" >&5
7381 $RANLIB libconftest.a 2>&5
7382 cat > conftest.c << _LT_EOF
7383 int main() { return 0;}
7385 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7386 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7388 if test -s conftest.err && $GREP force_load conftest.err; then
7389 cat conftest.err >&5
7390 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7391 lt_cv_ld_force_load=yes
7393 cat conftest.err >&5
7395 rm -f conftest.err libconftest.a conftest conftest.c
7396 rm -rf conftest.dSYM
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7400 $as_echo "$lt_cv_ld_force_load" >&6; }
7402 rhapsody* | darwin1.[012])
7403 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7405 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7406 darwin*) # darwin 5.x on
7407 # if running on 10.5 or later, the deployment target defaults
7408 # to the OS version, if on x86, and 10.4, the deployment
7409 # target defaults to 10.4. Don't you love it?
7410 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7411 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7412 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7414 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7416 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7420 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7421 _lt_dar_single_mod='$single_module'
7423 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7424 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7426 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7428 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7429 _lt_dsymutil='~$DSYMUTIL $lib || :'
7437 ac_cpp='$CPP $CPPFLAGS'
7438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7442 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7443 # On Suns, sometimes $CPP names a directory.
7444 if test -n "$CPP" && test -d "$CPP"; then
7447 if test -z "$CPP"; then
7448 if ${ac_cv_prog_CPP+:} false; then :
7449 $as_echo_n "(cached) " >&6
7451 # Double quotes because CPP needs to be expanded
7452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7455 for ac_c_preproc_warn_flag in '' yes
7457 # Use a header file that comes with gcc, so configuring glibc
7458 # with a fresh cross-compiler works.
7459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7460 # <limits.h> exists even on freestanding compilers.
7461 # On the NeXT, cc -E runs the code through the compiler's parser,
7462 # not just through cpp. "Syntax error" is here to catch this case.
7463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7466 # include <limits.h>
7468 # include <assert.h>
7472 if ac_fn_c_try_cpp "$LINENO"; then :
7475 # Broken: fails on valid input.
7478 rm -f conftest.err conftest.i conftest.$ac_ext
7480 # OK, works on sane cases. Now check whether nonexistent headers
7481 # can be detected and how.
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7484 #include <ac_nonexistent.h>
7486 if ac_fn_c_try_cpp "$LINENO"; then :
7487 # Broken: success on invalid input.
7490 # Passes both tests.
7494 rm -f conftest.err conftest.i conftest.$ac_ext
7497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7498 rm -f conftest.i conftest.err conftest.$ac_ext
7499 if $ac_preproc_ok; then :
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7512 $as_echo "$CPP" >&6; }
7514 for ac_c_preproc_warn_flag in '' yes
7516 # Use a header file that comes with gcc, so configuring glibc
7517 # with a fresh cross-compiler works.
7518 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7519 # <limits.h> exists even on freestanding compilers.
7520 # On the NeXT, cc -E runs the code through the compiler's parser,
7521 # not just through cpp. "Syntax error" is here to catch this case.
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7525 # include <limits.h>
7527 # include <assert.h>
7531 if ac_fn_c_try_cpp "$LINENO"; then :
7534 # Broken: fails on valid input.
7537 rm -f conftest.err conftest.i conftest.$ac_ext
7539 # OK, works on sane cases. Now check whether nonexistent headers
7540 # can be detected and how.
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7543 #include <ac_nonexistent.h>
7545 if ac_fn_c_try_cpp "$LINENO"; then :
7546 # Broken: success on invalid input.
7549 # Passes both tests.
7553 rm -f conftest.err conftest.i conftest.$ac_ext
7556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7557 rm -f conftest.i conftest.err conftest.$ac_ext
7558 if $ac_preproc_ok; then :
7561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7563 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7564 See \`config.log' for more details" "$LINENO" 5; }
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7575 $as_echo_n "checking for ANSI C header files... " >&6; }
7576 if ${ac_cv_header_stdc+:} false; then :
7577 $as_echo_n "(cached) " >&6
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7594 if ac_fn_c_try_compile "$LINENO"; then :
7595 ac_cv_header_stdc=yes
7597 ac_cv_header_stdc=no
7599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7601 if test $ac_cv_header_stdc = yes; then
7602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7609 $EGREP "memchr" >/dev/null 2>&1; then :
7612 ac_cv_header_stdc=no
7618 if test $ac_cv_header_stdc = yes; then
7619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7626 $EGREP "free" >/dev/null 2>&1; then :
7629 ac_cv_header_stdc=no
7635 if test $ac_cv_header_stdc = yes; then
7636 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7637 if test "$cross_compiling" = yes; then :
7640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7644 #if ((' ' & 0x0FF) == 0x020)
7645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7648 # define ISLOWER(c) \
7649 (('a' <= (c) && (c) <= 'i') \
7650 || ('j' <= (c) && (c) <= 'r') \
7651 || ('s' <= (c) && (c) <= 'z'))
7652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7660 for (i = 0; i < 256; i++)
7661 if (XOR (islower (i), ISLOWER (i))
7662 || toupper (i) != TOUPPER (i))
7667 if ac_fn_c_try_run "$LINENO"; then :
7670 ac_cv_header_stdc=no
7672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7673 conftest.$ac_objext conftest.beam conftest.$ac_ext
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7679 $as_echo "$ac_cv_header_stdc" >&6; }
7680 if test $ac_cv_header_stdc = yes; then
7682 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7686 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7687 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7688 inttypes.h stdint.h unistd.h
7690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7691 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 for ac_header in dlfcn.h
7705 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7707 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7708 cat >>confdefs.h <<_ACEOF
7709 #define HAVE_DLFCN_H 1
7721 # Check whether --enable-static was given.
7722 if test "${enable_static+set}" = set; then :
7723 enableval=$enable_static; p=${PACKAGE-default}
7725 yes) enable_static=yes ;;
7726 no) enable_static=no ;;
7729 # Look at the argument we got. We use all the common list separators.
7730 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7731 for pkg in $enableval; do
7733 if test "X$pkg" = "X$p"; then
7759 # Check whether --enable-shared was given.
7760 if test "${enable_shared+set}" = set; then :
7761 enableval=$enable_shared; p=${PACKAGE-default}
7763 yes) enable_shared=yes ;;
7764 no) enable_shared=no ;;
7767 # Look at the argument we got. We use all the common list separators.
7768 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7769 for pkg in $enableval; do
7771 if test "X$pkg" = "X$p"; then
7792 # Check whether --with-pic was given.
7793 if test "${with_pic+set}" = set; then :
7794 withval=$with_pic; lt_p=${PACKAGE-default}
7796 yes|no) pic_mode=$withval ;;
7799 # Look at the argument we got. We use all the common list separators.
7800 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7801 for lt_pkg in $withval; do
7803 if test "X$lt_pkg" = "X$lt_p"; then
7815 test -z "$pic_mode" && pic_mode=default
7823 # Check whether --enable-fast-install was given.
7824 if test "${enable_fast_install+set}" = set; then :
7825 enableval=$enable_fast_install; p=${PACKAGE-default}
7827 yes) enable_fast_install=yes ;;
7828 no) enable_fast_install=no ;;
7830 enable_fast_install=no
7831 # Look at the argument we got. We use all the common list separators.
7832 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7833 for pkg in $enableval; do
7835 if test "X$pkg" = "X$p"; then
7836 enable_fast_install=yes
7843 enable_fast_install=yes
7856 # This can be used to rebuild libtool when needed
7857 LIBTOOL_DEPS="$ltmain"
7859 # Always use our own libtool.
7860 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7891 test -z "$LN_S" && LN_S="ln -s"
7906 if test -n "${ZSH_VERSION+set}" ; then
7907 setopt NO_GLOB_SUBST
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7911 $as_echo_n "checking for objdir... " >&6; }
7912 if ${lt_cv_objdir+:} false; then :
7913 $as_echo_n "(cached) " >&6
7915 rm -f .libs 2>/dev/null
7916 mkdir .libs 2>/dev/null
7917 if test -d .libs; then
7920 # MS-DOS does not allow filenames that begin with a dot.
7923 rmdir .libs 2>/dev/null
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7926 $as_echo "$lt_cv_objdir" >&6; }
7927 objdir=$lt_cv_objdir
7933 cat >>confdefs.h <<_ACEOF
7934 #define LT_OBJDIR "$lt_cv_objdir/"
7942 # AIX sometimes has problems with the GCC collect2 program. For some
7943 # reason, if we set the COLLECT_NAMES environment variable, the problems
7944 # vanish in a puff of smoke.
7945 if test "X${COLLECT_NAMES+set}" != Xset; then
7947 export COLLECT_NAMES
7954 can_build_shared=yes
7956 # All known linkers require a `.a' archive for static linking (except MSVC,
7957 # which needs '.lib').
7960 with_gnu_ld="$lt_cv_prog_gnu_ld"
7963 old_CFLAGS="$CFLAGS"
7965 # Set sane defaults for various variables
7966 test -z "$CC" && CC=cc
7967 test -z "$LTCC" && LTCC=$CC
7968 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7969 test -z "$LD" && LD=ld
7970 test -z "$ac_objext" && ac_objext=o
7972 for cc_temp in $compiler""; do
7974 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7975 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7980 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7983 # Only perform the check for file, if the check method requires it
7984 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7985 case $deplibs_check_method in
7987 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7989 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7990 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7991 $as_echo_n "(cached) " >&6
7995 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7998 lt_save_MAGIC_CMD="$MAGIC_CMD"
7999 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8000 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8001 for ac_dir in $ac_dummy; do
8003 test -z "$ac_dir" && ac_dir=.
8004 if test -f $ac_dir/${ac_tool_prefix}file; then
8005 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8006 if test -n "$file_magic_test_file"; then
8007 case $deplibs_check_method in
8009 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8010 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8011 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8012 $EGREP "$file_magic_regex" > /dev/null; then
8017 *** Warning: the command libtool uses to detect shared libraries,
8018 *** $file_magic_cmd, produces output that libtool cannot recognize.
8019 *** The result is that libtool may fail to recognize shared libraries
8020 *** as such. This will affect the creation of libtool libraries that
8021 *** depend on shared libraries, but programs linked with such libtool
8022 *** libraries will work regardless of this problem. Nevertheless, you
8023 *** may want to report the problem to your system manager and/or to
8024 *** bug-libtool@gnu.org
8034 MAGIC_CMD="$lt_save_MAGIC_CMD"
8039 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8040 if test -n "$MAGIC_CMD"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8042 $as_echo "$MAGIC_CMD" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8052 if test -z "$lt_cv_path_MAGIC_CMD"; then
8053 if test -n "$ac_tool_prefix"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8055 $as_echo_n "checking for file... " >&6; }
8056 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8057 $as_echo_n "(cached) " >&6
8061 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8064 lt_save_MAGIC_CMD="$MAGIC_CMD"
8065 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8066 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8067 for ac_dir in $ac_dummy; do
8069 test -z "$ac_dir" && ac_dir=.
8070 if test -f $ac_dir/file; then
8071 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8072 if test -n "$file_magic_test_file"; then
8073 case $deplibs_check_method in
8075 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8076 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8077 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8078 $EGREP "$file_magic_regex" > /dev/null; then
8083 *** Warning: the command libtool uses to detect shared libraries,
8084 *** $file_magic_cmd, produces output that libtool cannot recognize.
8085 *** The result is that libtool may fail to recognize shared libraries
8086 *** as such. This will affect the creation of libtool libraries that
8087 *** depend on shared libraries, but programs linked with such libtool
8088 *** libraries will work regardless of this problem. Nevertheless, you
8089 *** may want to report the problem to your system manager and/or to
8090 *** bug-libtool@gnu.org
8100 MAGIC_CMD="$lt_save_MAGIC_CMD"
8105 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8106 if test -n "$MAGIC_CMD"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8108 $as_echo "$MAGIC_CMD" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8124 # Use C for the default configuration in the libtool script
8128 ac_cpp='$CPP $CPPFLAGS'
8129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8134 # Source file extension for C test sources.
8137 # Object file extension for compiled C test sources.
8141 # Code to be used in simple compile tests
8142 lt_simple_compile_test_code="int some_variable = 0;"
8144 # Code to be used in simple link tests
8145 lt_simple_link_test_code='int main(){return(0);}'
8153 # If no C compiler was specified, use CC.
8156 # If no C compiler flags were specified, use CFLAGS.
8157 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8159 # Allow CC to be a program name with arguments.
8162 # Save the default compiler, since it gets overwritten when the other
8163 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8164 compiler_DEFAULT=$CC
8166 # save warnings/boilerplate of simple test code
8167 ac_outfile=conftest.$ac_objext
8168 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8169 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8170 _lt_compiler_boilerplate=`cat conftest.err`
8173 ac_outfile=conftest.$ac_objext
8174 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8175 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8176 _lt_linker_boilerplate=`cat conftest.err`
8181 ## There is no encapsulation within the following macros, do not change
8182 ## the running order or otherwise move them around unless you know exactly
8183 ## what you are doing...
8184 if test -n "$compiler"; then
8186 lt_prog_compiler_no_builtin_flag=
8188 if test "$GCC" = yes; then
8189 case $cc_basename in
8191 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8193 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8197 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8198 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8199 $as_echo_n "(cached) " >&6
8201 lt_cv_prog_compiler_rtti_exceptions=no
8202 ac_outfile=conftest.$ac_objext
8203 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8204 lt_compiler_flag="-fno-rtti -fno-exceptions"
8205 # Insert the option either (1) after the last *FLAGS variable, or
8206 # (2) before a word containing "conftest.", or (3) at the end.
8207 # Note that $ac_compile itself does not contain backslashes and begins
8208 # with a dollar sign (not a hyphen), so the echo should work correctly.
8209 # The option is referenced via a variable to avoid confusing sed.
8210 lt_compile=`echo "$ac_compile" | $SED \
8211 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8212 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8213 -e 's:$: $lt_compiler_flag:'`
8214 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8215 (eval "$lt_compile" 2>conftest.err)
8217 cat conftest.err >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 if (exit $ac_status) && test -s "$ac_outfile"; then
8220 # The compiler can only warn and ignore the option if not recognized
8221 # So say no if there are warnings other than the usual output.
8222 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8223 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8224 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8225 lt_cv_prog_compiler_rtti_exceptions=yes
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8232 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8234 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8235 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8247 lt_prog_compiler_wl=
8248 lt_prog_compiler_pic=
8249 lt_prog_compiler_static=
8252 if test "$GCC" = yes; then
8253 lt_prog_compiler_wl='-Wl,'
8254 lt_prog_compiler_static='-static'
8258 # All AIX code is PIC.
8259 if test "$host_cpu" = ia64; then
8260 # AIX 5 now supports IA64 processor
8261 lt_prog_compiler_static='-Bstatic'
8268 # see comment about AmigaOS4 .so support
8269 lt_prog_compiler_pic='-fPIC'
8272 # FIXME: we need at least 68020 code to build shared libraries, but
8273 # adding the `-m68020' flag to GCC prevents building anything better,
8275 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8280 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8281 # PIC is the default for these OSes.
8284 mingw* | cygwin* | pw32* | os2* | cegcc*)
8285 # This hack is so that the source file can tell whether it is being
8286 # built for inclusion in a dll (and should export symbols for example).
8287 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8288 # (--disable-auto-import) libraries
8289 lt_prog_compiler_pic='-DDLL_EXPORT'
8292 darwin* | rhapsody*)
8293 # PIC is the default on this platform
8294 # Common symbols not allowed in MH_DYLIB files
8295 lt_prog_compiler_pic='-fno-common'
8299 # PIC is the default for Haiku.
8300 # The "-static" flag exists, but is broken.
8301 lt_prog_compiler_static=
8305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8307 # sets the default TLS model and affects inlining.
8313 lt_prog_compiler_pic='-fPIC'
8319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8320 # Instead, we relocate shared libraries at runtime.
8324 # Just because we use GCC doesn't mean we suddenly get shared libraries
8325 # on systems that don't support them.
8326 lt_prog_compiler_can_build_shared=no
8331 # QNX uses GNU C++, but need to define -shared option too, otherwise
8333 lt_prog_compiler_pic='-fPIC -shared'
8337 if test -d /usr/nec; then
8338 lt_prog_compiler_pic=-Kconform_pic
8343 lt_prog_compiler_pic='-fPIC'
8347 case $cc_basename in
8348 nvcc*) # Cuda Compiler Driver 2.2
8349 lt_prog_compiler_wl='-Xlinker '
8350 if test -n "$lt_prog_compiler_pic"; then
8351 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8356 # PORTME Check for flag to pass linker flags through the system compiler.
8359 lt_prog_compiler_wl='-Wl,'
8360 if test "$host_cpu" = ia64; then
8361 # AIX 5 now supports IA64 processor
8362 lt_prog_compiler_static='-Bstatic'
8364 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8368 mingw* | cygwin* | pw32* | os2* | cegcc*)
8369 # This hack is so that the source file can tell whether it is being
8370 # built for inclusion in a dll (and should export symbols for example).
8371 lt_prog_compiler_pic='-DDLL_EXPORT'
8374 hpux9* | hpux10* | hpux11*)
8375 lt_prog_compiler_wl='-Wl,'
8376 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8383 lt_prog_compiler_pic='+Z'
8386 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8387 lt_prog_compiler_static='${wl}-a ${wl}archive'
8390 irix5* | irix6* | nonstopux*)
8391 lt_prog_compiler_wl='-Wl,'
8392 # PIC (with -KPIC) is the default.
8393 lt_prog_compiler_static='-non_shared'
8396 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8397 case $cc_basename in
8398 # old Intel for x86_64 which still supported -KPIC.
8400 lt_prog_compiler_wl='-Wl,'
8401 lt_prog_compiler_pic='-KPIC'
8402 lt_prog_compiler_static='-static'
8404 # icc used to be incompatible with GCC.
8405 # ICC 10 doesn't accept -KPIC any more.
8407 lt_prog_compiler_wl='-Wl,'
8408 lt_prog_compiler_pic='-fPIC'
8409 lt_prog_compiler_static='-static'
8411 # Lahey Fortran 8.1.
8413 lt_prog_compiler_wl='-Wl,'
8414 lt_prog_compiler_pic='--shared'
8415 lt_prog_compiler_static='--static'
8418 # NAG Fortran compiler
8419 lt_prog_compiler_wl='-Wl,-Wl,,'
8420 lt_prog_compiler_pic='-PIC'
8421 lt_prog_compiler_static='-Bstatic'
8423 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8424 # Portland Group compilers (*not* the Pentium gcc compiler,
8425 # which looks to be a dead project)
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_pic='-fpic'
8428 lt_prog_compiler_static='-Bstatic'
8431 lt_prog_compiler_wl='-Wl,'
8432 # All Alpha code is PIC.
8433 lt_prog_compiler_static='-non_shared'
8435 xl* | bgxl* | bgf* | mpixl*)
8436 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8437 lt_prog_compiler_wl='-Wl,'
8438 lt_prog_compiler_pic='-qpic'
8439 lt_prog_compiler_static='-qstaticlink'
8442 case `$CC -V 2>&1 | sed 5q` in
8443 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8444 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8445 lt_prog_compiler_pic='-KPIC'
8446 lt_prog_compiler_static='-Bstatic'
8447 lt_prog_compiler_wl=''
8449 *Sun\ F* | *Sun*Fortran*)
8450 lt_prog_compiler_pic='-KPIC'
8451 lt_prog_compiler_static='-Bstatic'
8452 lt_prog_compiler_wl='-Qoption ld '
8456 lt_prog_compiler_pic='-KPIC'
8457 lt_prog_compiler_static='-Bstatic'
8458 lt_prog_compiler_wl='-Wl,'
8460 *Intel*\ [CF]*Compiler*)
8461 lt_prog_compiler_wl='-Wl,'
8462 lt_prog_compiler_pic='-fPIC'
8463 lt_prog_compiler_static='-static'
8466 lt_prog_compiler_wl='-Wl,'
8467 lt_prog_compiler_pic='-fpic'
8468 lt_prog_compiler_static='-Bstatic'
8476 lt_prog_compiler_pic='-KPIC'
8477 lt_prog_compiler_static='-Bstatic'
8481 # QNX uses GNU C++, but need to define -shared option too, otherwise
8483 lt_prog_compiler_pic='-fPIC -shared'
8486 osf3* | osf4* | osf5*)
8487 lt_prog_compiler_wl='-Wl,'
8488 # All OSF/1 code is PIC.
8489 lt_prog_compiler_static='-non_shared'
8493 lt_prog_compiler_static='-non_shared'
8497 lt_prog_compiler_pic='-KPIC'
8498 lt_prog_compiler_static='-Bstatic'
8499 case $cc_basename in
8500 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8501 lt_prog_compiler_wl='-Qoption ld ';;
8503 lt_prog_compiler_wl='-Wl,';;
8508 lt_prog_compiler_wl='-Qoption ld '
8509 lt_prog_compiler_pic='-PIC'
8510 lt_prog_compiler_static='-Bstatic'
8513 sysv4 | sysv4.2uw2* | sysv4.3*)
8514 lt_prog_compiler_wl='-Wl,'
8515 lt_prog_compiler_pic='-KPIC'
8516 lt_prog_compiler_static='-Bstatic'
8520 if test -d /usr/nec ;then
8521 lt_prog_compiler_pic='-Kconform_pic'
8522 lt_prog_compiler_static='-Bstatic'
8526 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8527 lt_prog_compiler_wl='-Wl,'
8528 lt_prog_compiler_pic='-KPIC'
8529 lt_prog_compiler_static='-Bstatic'
8533 lt_prog_compiler_wl='-Wl,'
8534 lt_prog_compiler_can_build_shared=no
8538 lt_prog_compiler_pic='-pic'
8539 lt_prog_compiler_static='-Bstatic'
8543 lt_prog_compiler_can_build_shared=no
8549 # For platforms which do not support PIC, -DPIC is meaningless:
8551 lt_prog_compiler_pic=
8554 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8559 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8560 if ${lt_cv_prog_compiler_pic+:} false; then :
8561 $as_echo_n "(cached) " >&6
8563 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8566 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8567 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8570 # Check to make sure the PIC flag actually works.
8572 if test -n "$lt_prog_compiler_pic"; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8574 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8575 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8576 $as_echo_n "(cached) " >&6
8578 lt_cv_prog_compiler_pic_works=no
8579 ac_outfile=conftest.$ac_objext
8580 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8581 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8582 # Insert the option either (1) after the last *FLAGS variable, or
8583 # (2) before a word containing "conftest.", or (3) at the end.
8584 # Note that $ac_compile itself does not contain backslashes and begins
8585 # with a dollar sign (not a hyphen), so the echo should work correctly.
8586 # The option is referenced via a variable to avoid confusing sed.
8587 lt_compile=`echo "$ac_compile" | $SED \
8588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8590 -e 's:$: $lt_compiler_flag:'`
8591 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8592 (eval "$lt_compile" 2>conftest.err)
8594 cat conftest.err >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 if (exit $ac_status) && test -s "$ac_outfile"; then
8597 # The compiler can only warn and ignore the option if not recognized
8598 # So say no if there are warnings other than the usual output.
8599 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8600 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8601 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8602 lt_cv_prog_compiler_pic_works=yes
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8609 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8611 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8612 case $lt_prog_compiler_pic in
8614 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8617 lt_prog_compiler_pic=
8618 lt_prog_compiler_can_build_shared=no
8634 # Check to make sure the static flag actually works.
8636 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8638 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8639 if ${lt_cv_prog_compiler_static_works+:} false; then :
8640 $as_echo_n "(cached) " >&6
8642 lt_cv_prog_compiler_static_works=no
8643 save_LDFLAGS="$LDFLAGS"
8644 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8645 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8646 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8647 # The linker can only warn and ignore the option if not recognized
8648 # So say no if there are warnings
8649 if test -s conftest.err; then
8650 # Append any errors to the config.log.
8651 cat conftest.err 1>&5
8652 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8654 if diff conftest.exp conftest.er2 >/dev/null; then
8655 lt_cv_prog_compiler_static_works=yes
8658 lt_cv_prog_compiler_static_works=yes
8662 LDFLAGS="$save_LDFLAGS"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8666 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8668 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8671 lt_prog_compiler_static=
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8681 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8682 if ${lt_cv_prog_compiler_c_o+:} false; then :
8683 $as_echo_n "(cached) " >&6
8685 lt_cv_prog_compiler_c_o=no
8686 $RM -r conftest 2>/dev/null
8690 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8692 lt_compiler_flag="-o out/conftest2.$ac_objext"
8693 # Insert the option either (1) after the last *FLAGS variable, or
8694 # (2) before a word containing "conftest.", or (3) at the end.
8695 # Note that $ac_compile itself does not contain backslashes and begins
8696 # with a dollar sign (not a hyphen), so the echo should work correctly.
8697 lt_compile=`echo "$ac_compile" | $SED \
8698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8700 -e 's:$: $lt_compiler_flag:'`
8701 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8702 (eval "$lt_compile" 2>out/conftest.err)
8704 cat out/conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8708 # The compiler can only warn and ignore the option if not recognized
8709 # So say no if there are warnings
8710 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8711 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8712 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8713 lt_cv_prog_compiler_c_o=yes
8718 # SGI C++ compiler will create directory out/ii_files/ for
8719 # template instantiation
8720 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8721 $RM out/* && rmdir out
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8728 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8737 if ${lt_cv_prog_compiler_c_o+:} false; then :
8738 $as_echo_n "(cached) " >&6
8740 lt_cv_prog_compiler_c_o=no
8741 $RM -r conftest 2>/dev/null
8745 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8747 lt_compiler_flag="-o out/conftest2.$ac_objext"
8748 # Insert the option either (1) after the last *FLAGS variable, or
8749 # (2) before a word containing "conftest.", or (3) at the end.
8750 # Note that $ac_compile itself does not contain backslashes and begins
8751 # with a dollar sign (not a hyphen), so the echo should work correctly.
8752 lt_compile=`echo "$ac_compile" | $SED \
8753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8755 -e 's:$: $lt_compiler_flag:'`
8756 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8757 (eval "$lt_compile" 2>out/conftest.err)
8759 cat out/conftest.err >&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8763 # The compiler can only warn and ignore the option if not recognized
8764 # So say no if there are warnings
8765 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8766 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8767 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8768 lt_cv_prog_compiler_c_o=yes
8773 # SGI C++ compiler will create directory out/ii_files/ for
8774 # template instantiation
8775 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8776 $RM out/* && rmdir out
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8783 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8788 hard_links="nottested"
8789 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8790 # do not overwrite the value of need_locks provided by the user
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8792 $as_echo_n "checking if we can lock with hard links... " >&6; }
8795 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8797 ln conftest.a conftest.b 2>&5 || hard_links=no
8798 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8800 $as_echo "$hard_links" >&6; }
8801 if test "$hard_links" = no; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8803 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8816 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8819 allow_undefined_flag=
8820 always_export_symbols=no
8822 archive_expsym_cmds=
8823 compiler_needs_object=no
8824 enable_shared_with_static_runtimes=no
8825 export_dynamic_flag_spec=
8826 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8827 hardcode_automatic=no
8829 hardcode_direct_absolute=no
8830 hardcode_libdir_flag_spec=
8831 hardcode_libdir_separator=
8833 hardcode_shlibpath_var=unsupported
8835 link_all_deplibs=unknown
8838 old_archive_from_new_cmds=
8839 old_archive_from_expsyms_cmds=
8840 thread_safe_flag_spec=
8841 whole_archive_flag_spec=
8842 # include_expsyms should be a list of space-separated symbols to be *always*
8843 # included in the symbol list
8845 # exclude_expsyms can be an extended regexp of symbols to exclude
8846 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8847 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8848 # as well as any symbol that contains `d'.
8849 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8850 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8851 # platforms (ab)use it in PIC code, but their linkers get confused if
8852 # the symbol is explicitly referenced. Since portable code cannot
8853 # rely on this symbol name, it's probably fine to never include it in
8854 # preloaded symbol tables.
8855 # Exclude shared library initialization/finalization symbols.
8856 extract_expsyms_cmds=
8859 cygwin* | mingw* | pw32* | cegcc*)
8860 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8861 # When not using gcc, we currently assume that we are using
8862 # Microsoft Visual C++.
8863 if test "$GCC" != yes; then
8868 # we just hope/assume this is gcc and not c89 (= MSVC++)
8878 # On some targets, GNU ld is compatible enough with the native linker
8879 # that we're better off using the native interface for both.
8880 lt_use_gnu_ld_interface=no
8881 if test "$with_gnu_ld" = yes; then
8884 # The AIX port of GNU ld has always aspired to compatibility
8885 # with the native linker. However, as the warning in the GNU ld
8886 # block says, versions before 2.19.5* couldn't really create working
8887 # shared libraries, regardless of the interface used.
8888 case `$LD -v 2>&1` in
8889 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8890 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8891 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8893 lt_use_gnu_ld_interface=yes
8898 lt_use_gnu_ld_interface=yes
8903 if test "$lt_use_gnu_ld_interface" = yes; then
8904 # If archive_cmds runs LD, not CC, wlarc should be empty
8907 # Set some defaults for GNU ld with shared library support. These
8908 # are reset later if shared libraries are not supported. Putting them
8909 # here allows them to be overridden if necessary.
8910 runpath_var=LD_RUN_PATH
8911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8912 export_dynamic_flag_spec='${wl}--export-dynamic'
8913 # ancient GNU ld didn't support --whole-archive et. al.
8914 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8915 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8917 whole_archive_flag_spec=
8919 supports_anon_versioning=no
8920 case `$LD -v 2>&1` in
8921 *GNU\ gold*) supports_anon_versioning=yes ;;
8922 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8923 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8924 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8925 *\ 2.11.*) ;; # other 2.11 versions
8926 *) supports_anon_versioning=yes ;;
8929 # See if GNU ld supports shared libraries.
8932 # On AIX/PPC, the GNU linker is very broken
8933 if test "$host_cpu" != ia64; then
8937 *** Warning: the GNU linker, at least up to release 2.19, is reported
8938 *** to be unable to reliably create shared libraries on AIX.
8939 *** Therefore, libtool is disabling shared libraries support. If you
8940 *** really care for shared libraries, you may want to install binutils
8941 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8942 *** You will then need to restart the configuration process.
8951 # see comment about AmigaOS4 .so support
8952 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8953 archive_expsym_cmds=''
8956 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)'
8957 hardcode_libdir_flag_spec='-L$libdir'
8958 hardcode_minus_L=yes
8964 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8965 allow_undefined_flag=unsupported
8966 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8967 # support --undefined. This deserves some investigation. FIXME
8968 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8974 cygwin* | mingw* | pw32* | cegcc*)
8975 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8976 # as there is no search path for DLLs.
8977 hardcode_libdir_flag_spec='-L$libdir'
8978 export_dynamic_flag_spec='${wl}--export-all-symbols'
8979 allow_undefined_flag=unsupported
8980 always_export_symbols=no
8981 enable_shared_with_static_runtimes=yes
8982 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'
8983 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8985 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8986 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8987 # If the export-symbols file already is a .def file (1st line
8988 # is EXPORTS), use it as is; otherwise, prepend...
8989 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8990 cp $export_symbols $output_objdir/$soname.def;
8992 echo EXPORTS > $output_objdir/$soname.def;
8993 cat $export_symbols >> $output_objdir/$soname.def;
8995 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9002 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003 link_all_deplibs=yes
9008 hardcode_shlibpath_var=no
9009 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9010 export_dynamic_flag_spec='${wl}-E'
9011 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9012 # Instead, shared libraries are loaded at an image base (0x10000000 by
9013 # default) and relocated if they conflict, which is a slow very memory
9014 # consuming and fragmenting process. To avoid this, we pick a random,
9015 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9016 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9017 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9018 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'
9021 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9023 if test "$host_os" = linux-dietlibc; then
9024 case $cc_basename in
9025 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9028 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9029 && test "$tmp_diet" = no
9031 tmp_addflag=' $pic_flag'
9032 tmp_sharedflag='-shared'
9033 case $cc_basename,$host_cpu in
9034 pgcc*) # Portland Group C compiler
9035 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'
9036 tmp_addflag=' $pic_flag'
9038 pgf77* | pgf90* | pgf95* | pgfortran*)
9039 # Portland Group f77 and f90 compilers
9040 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'
9041 tmp_addflag=' $pic_flag -Mnomain' ;;
9042 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9043 tmp_addflag=' -i_dynamic' ;;
9044 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9045 tmp_addflag=' -i_dynamic -nofor_main' ;;
9046 ifc* | ifort*) # Intel Fortran compiler
9047 tmp_addflag=' -nofor_main' ;;
9048 lf95*) # Lahey Fortran 8.1
9049 whole_archive_flag_spec=
9050 tmp_sharedflag='--shared' ;;
9051 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9052 tmp_sharedflag='-qmkshrobj'
9054 nvcc*) # Cuda Compiler Driver 2.2
9055 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'
9056 compiler_needs_object=yes
9059 case `$CC -V 2>&1 | sed 5q` in
9060 *Sun\ C*) # Sun C 5.9
9061 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'
9062 compiler_needs_object=yes
9063 tmp_sharedflag='-G' ;;
9064 *Sun\ F*) # Sun Fortran 8.3
9065 tmp_sharedflag='-G' ;;
9067 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9069 if test "x$supports_anon_versioning" = xyes; then
9070 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9071 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9072 echo "local: *; };" >> $output_objdir/$libname.ver~
9073 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9076 case $cc_basename in
9077 xlf* | bgf* | bgxlf* | mpixlf*)
9078 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9079 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9080 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9081 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9082 if test "x$supports_anon_versioning" = xyes; then
9083 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9085 echo "local: *; };" >> $output_objdir/$libname.ver~
9086 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9096 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9097 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9100 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9106 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9110 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9111 *** create shared libraries on Solaris systems. Therefore, libtool
9112 *** is disabling shared libraries support. We urge you to upgrade GNU
9113 *** binutils to release 2.9.1 or newer. Another option is to modify
9114 *** your PATH or compiler configuration so that the native linker is
9115 *** used, and then restart.
9118 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9119 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9126 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9127 case `$LD -v 2>&1` in
9128 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9132 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9133 *** reliably create shared libraries on SCO systems. Therefore, libtool
9134 *** is disabling shared libraries support. We urge you to upgrade GNU
9135 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9136 *** your PATH or compiler configuration so that the native linker is
9137 *** used, and then restart.
9142 # For security reasons, it is highly recommended that you always
9143 # use absolute paths for naming shared libraries, and exclude the
9144 # DT_RUNPATH tag from executables and libraries. But doing so
9145 # requires that you compile everything twice, which is a pain.
9146 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9148 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9158 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9161 hardcode_shlibpath_var=no
9165 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9166 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9174 if test "$ld_shlibs" = no; then
9176 hardcode_libdir_flag_spec=
9177 export_dynamic_flag_spec=
9178 whole_archive_flag_spec=
9181 # PORTME fill in a description of your system's linker (not GNU ld)
9184 allow_undefined_flag=unsupported
9185 always_export_symbols=yes
9186 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'
9187 # Note: this linker hardcodes the directories in LIBPATH if there
9188 # are no directories specified by -L.
9189 hardcode_minus_L=yes
9190 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9191 # Neither direct hardcoding nor static linking is supported with a
9193 hardcode_direct=unsupported
9198 if test "$host_cpu" = ia64; then
9199 # On IA64, the linker does run time linking by default, so we don't
9200 # have to do anything special.
9201 aix_use_runtimelinking=no
9202 exp_sym_flag='-Bexport'
9205 # If we're using GNU nm, then we don't want the "-C" option.
9206 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9207 # Also, AIX nm treats weak defined symbols like other global
9208 # defined symbols, whereas GNU nm marks them as "W".
9209 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9210 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'
9212 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'
9214 aix_use_runtimelinking=no
9216 # Test if we are trying to use run time linking or normal
9217 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9218 # need to do runtime linking.
9219 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9220 for ld_flag in $LDFLAGS; do
9221 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9222 aix_use_runtimelinking=yes
9229 exp_sym_flag='-bexport'
9230 no_entry_flag='-bnoentry'
9233 # When large executables or shared objects are built, AIX ld can
9234 # have problems creating the table of contents. If linking a library
9235 # or program results in "error TOC overflow" add -mminimal-toc to
9236 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9237 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9241 hardcode_direct_absolute=yes
9242 hardcode_libdir_separator=':'
9243 link_all_deplibs=yes
9244 file_list_spec='${wl}-f,'
9246 if test "$GCC" = yes; then
9247 case $host_os in aix4.[012]|aix4.[012].*)
9248 # We only want to do this on AIX 4.2 and lower, the check
9249 # below for broken collect2 doesn't work under 4.3+
9250 collect2name=`${CC} -print-prog-name=collect2`
9251 if test -f "$collect2name" &&
9252 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9254 # We have reworked collect2
9257 # We have old collect2
9258 hardcode_direct=unsupported
9259 # It fails to find uninstalled libraries when the uninstalled
9260 # path is not listed in the libpath. Setting hardcode_minus_L
9261 # to unsupported forces relinking
9262 hardcode_minus_L=yes
9263 hardcode_libdir_flag_spec='-L$libdir'
9264 hardcode_libdir_separator=
9268 shared_flag='-shared'
9269 if test "$aix_use_runtimelinking" = yes; then
9270 shared_flag="$shared_flag "'${wl}-G'
9274 if test "$host_cpu" = ia64; then
9275 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9276 # chokes on -Wl,-G. The following line is correct:
9279 if test "$aix_use_runtimelinking" = yes; then
9280 shared_flag='${wl}-G'
9282 shared_flag='${wl}-bM:SRE'
9287 export_dynamic_flag_spec='${wl}-bexpall'
9288 # It seems that -bexpall does not export symbols beginning with
9289 # underscore (_), so it is better to generate a list of symbols to export.
9290 always_export_symbols=yes
9291 if test "$aix_use_runtimelinking" = yes; then
9292 # Warning - without using the other runtime loading flags (-brtl),
9293 # -berok will link without error, but may produce a broken library.
9294 allow_undefined_flag='-berok'
9295 # Determine the default libpath from the value encoded in an
9297 if test "${lt_cv_aix_libpath+set}" = set; then
9298 aix_libpath=$lt_cv_aix_libpath
9300 if ${lt_cv_aix_libpath_+:} false; then :
9301 $as_echo_n "(cached) " >&6
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9314 if ac_fn_c_try_link "$LINENO"; then :
9316 lt_aix_libpath_sed='
9317 /Import File Strings/,/^$/ {
9319 s/^0 *\([^ ]*\) *$/\1/
9323 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9324 # Check for a 64-bit object if we didn't find anything.
9325 if test -z "$lt_cv_aix_libpath_"; then
9326 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 if test -z "$lt_cv_aix_libpath_"; then
9332 lt_cv_aix_libpath_="/usr/lib:/lib"
9337 aix_libpath=$lt_cv_aix_libpath_
9340 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9341 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"
9343 if test "$host_cpu" = ia64; then
9344 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9345 allow_undefined_flag="-z nodefs"
9346 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"
9348 # Determine the default libpath from the value encoded in an
9350 if test "${lt_cv_aix_libpath+set}" = set; then
9351 aix_libpath=$lt_cv_aix_libpath
9353 if ${lt_cv_aix_libpath_+:} false; then :
9354 $as_echo_n "(cached) " >&6
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9367 if ac_fn_c_try_link "$LINENO"; then :
9369 lt_aix_libpath_sed='
9370 /Import File Strings/,/^$/ {
9372 s/^0 *\([^ ]*\) *$/\1/
9376 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377 # Check for a 64-bit object if we didn't find anything.
9378 if test -z "$lt_cv_aix_libpath_"; then
9379 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 if test -z "$lt_cv_aix_libpath_"; then
9385 lt_cv_aix_libpath_="/usr/lib:/lib"
9390 aix_libpath=$lt_cv_aix_libpath_
9393 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9394 # Warning - without using the other run time loading flags,
9395 # -berok will link without error, but may produce a broken library.
9396 no_undefined_flag=' ${wl}-bernotok'
9397 allow_undefined_flag=' ${wl}-berok'
9398 if test "$with_gnu_ld" = yes; then
9399 # We only use this code for GNU lds that support --whole-archive.
9400 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9402 # Exported symbols can be pulled into shared objects from archives
9403 whole_archive_flag_spec='$convenience'
9405 archive_cmds_need_lc=yes
9406 # This is similar to how AIX traditionally builds its shared libraries.
9407 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'
9415 # see comment about AmigaOS4 .so support
9416 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 archive_expsym_cmds=''
9420 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)'
9421 hardcode_libdir_flag_spec='-L$libdir'
9422 hardcode_minus_L=yes
9428 export_dynamic_flag_spec=-rdynamic
9431 cygwin* | mingw* | pw32* | cegcc*)
9432 # When not using gcc, we currently assume that we are using
9433 # Microsoft Visual C++.
9434 # hardcode_libdir_flag_spec is actually meaningless, as there is
9435 # no search path for DLLs.
9436 case $cc_basename in
9439 hardcode_libdir_flag_spec=' '
9440 allow_undefined_flag=unsupported
9441 always_export_symbols=yes
9443 # Tell ltmain to make .lib files, not .a files.
9445 # Tell ltmain to make .dll files, not .so files.
9447 # FIXME: Setting linknames here is a bad hack.
9448 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9449 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9450 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9452 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9454 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9456 # The linker will not automatically build a static lib if we build a DLL.
9457 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9458 enable_shared_with_static_runtimes=yes
9459 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9460 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9462 old_postinstall_cmds='chmod 644 $oldlib'
9463 postlink_cmds='lt_outputfile="@OUTPUT@"~
9464 lt_tool_outputfile="@TOOL_OUTPUT@"~
9465 case $lt_outputfile in
9468 lt_outputfile="$lt_outputfile.exe"
9469 lt_tool_outputfile="$lt_tool_outputfile.exe"
9472 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9473 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9474 $RM "$lt_outputfile.manifest";
9478 # Assume MSVC wrapper
9479 hardcode_libdir_flag_spec=' '
9480 allow_undefined_flag=unsupported
9481 # Tell ltmain to make .lib files, not .a files.
9483 # Tell ltmain to make .dll files, not .so files.
9485 # FIXME: Setting linknames here is a bad hack.
9486 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9487 # The linker will automatically build a .lib file if we build a DLL.
9488 old_archive_from_new_cmds='true'
9489 # FIXME: Should let the user specify the lib program.
9490 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9491 enable_shared_with_static_runtimes=yes
9496 darwin* | rhapsody*)
9499 archive_cmds_need_lc=no
9501 hardcode_automatic=yes
9502 hardcode_shlibpath_var=unsupported
9503 if test "$lt_cv_ld_force_load" = "yes"; then
9504 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\"`'
9507 whole_archive_flag_spec=''
9509 link_all_deplibs=yes
9510 allow_undefined_flag="$_lt_dar_allow_undefined"
9511 case $cc_basename in
9512 ifort*) _lt_dar_can_shared=yes ;;
9513 *) _lt_dar_can_shared=$GCC ;;
9515 if test "$_lt_dar_can_shared" = "yes"; then
9516 output_verbose_link_cmd=func_echo_all
9517 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9518 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9519 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}"
9520 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}"
9529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_shlibpath_var=no
9534 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9535 # support. Future versions do this automatically, but an explicit c++rt0.o
9536 # does not break anything, and helps significantly (at the cost of a little
9539 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9540 hardcode_libdir_flag_spec='-R$libdir'
9542 hardcode_shlibpath_var=no
9545 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9547 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9549 hardcode_minus_L=yes
9550 hardcode_shlibpath_var=no
9553 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9554 freebsd* | dragonfly*)
9555 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9556 hardcode_libdir_flag_spec='-R$libdir'
9558 hardcode_shlibpath_var=no
9562 if test "$GCC" = yes; then
9563 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'
9565 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'
9567 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9568 hardcode_libdir_separator=:
9571 # hardcode_minus_L: Not really in the search PATH,
9572 # but as the default location of the library.
9573 hardcode_minus_L=yes
9574 export_dynamic_flag_spec='${wl}-E'
9578 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9579 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9583 if test "$with_gnu_ld" = no; then
9584 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9585 hardcode_libdir_separator=:
9587 hardcode_direct_absolute=yes
9588 export_dynamic_flag_spec='${wl}-E'
9589 # hardcode_minus_L: Not really in the search PATH,
9590 # but as the default location of the library.
9591 hardcode_minus_L=yes
9596 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9599 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9602 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9614 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9618 # Older versions of the 11.00 compiler do not understand -b yet
9619 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9621 $as_echo_n "checking if $CC understands -b... " >&6; }
9622 if ${lt_cv_prog_compiler__b+:} false; then :
9623 $as_echo_n "(cached) " >&6
9625 lt_cv_prog_compiler__b=no
9626 save_LDFLAGS="$LDFLAGS"
9627 LDFLAGS="$LDFLAGS -b"
9628 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9629 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9630 # The linker can only warn and ignore the option if not recognized
9631 # So say no if there are warnings
9632 if test -s conftest.err; then
9633 # Append any errors to the config.log.
9634 cat conftest.err 1>&5
9635 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9636 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9637 if diff conftest.exp conftest.er2 >/dev/null; then
9638 lt_cv_prog_compiler__b=yes
9641 lt_cv_prog_compiler__b=yes
9645 LDFLAGS="$save_LDFLAGS"
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9649 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9651 if test x"$lt_cv_prog_compiler__b" = xyes; then
9652 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9660 if test "$with_gnu_ld" = no; then
9661 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9662 hardcode_libdir_separator=:
9667 hardcode_shlibpath_var=no
9671 hardcode_direct_absolute=yes
9672 export_dynamic_flag_spec='${wl}-E'
9674 # hardcode_minus_L: Not really in the search PATH,
9675 # but as the default location of the library.
9676 hardcode_minus_L=yes
9682 irix5* | irix6* | nonstopux*)
9683 if test "$GCC" = yes; then
9684 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'
9685 # Try to use the -exported_symbol ld option, if it does not
9686 # work, assume that -exports_file does not work either and
9687 # implicitly export all symbols.
9688 # This should be the same for all languages, so no per-tag cache variable.
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9690 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9691 if ${lt_cv_irix_exported_symbol+:} false; then :
9692 $as_echo_n "(cached) " >&6
9694 save_LDFLAGS="$LDFLAGS"
9695 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9698 int foo (void) { return 0; }
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 lt_cv_irix_exported_symbol=yes
9703 lt_cv_irix_exported_symbol=no
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 LDFLAGS="$save_LDFLAGS"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9710 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9711 if test "$lt_cv_irix_exported_symbol" = yes; then
9712 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'
9715 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'
9716 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'
9718 archive_cmds_need_lc='no'
9719 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9720 hardcode_libdir_separator=:
9722 link_all_deplibs=yes
9726 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9727 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9729 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9731 hardcode_libdir_flag_spec='-R$libdir'
9733 hardcode_shlibpath_var=no
9737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740 hardcode_libdir_separator=:
9741 hardcode_shlibpath_var=no
9748 if test -f /usr/libexec/ld.so; then
9750 hardcode_shlibpath_var=no
9751 hardcode_direct_absolute=yes
9752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9753 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9754 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9755 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9756 export_dynamic_flag_spec='${wl}-E'
9759 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9760 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761 hardcode_libdir_flag_spec='-R$libdir'
9764 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9765 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9775 hardcode_libdir_flag_spec='-L$libdir'
9776 hardcode_minus_L=yes
9777 allow_undefined_flag=unsupported
9778 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'
9779 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9783 if test "$GCC" = yes; then
9784 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9785 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'
9787 allow_undefined_flag=' -expect_unresolved \*'
9788 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'
9790 archive_cmds_need_lc='no'
9791 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9792 hardcode_libdir_separator=:
9795 osf4* | osf5*) # as osf3* with the addition of -msym flag
9796 if test "$GCC" = yes; then
9797 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9798 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'
9799 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9801 allow_undefined_flag=' -expect_unresolved \*'
9802 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'
9803 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~
9804 $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'
9806 # Both c and cxx compiler support -rpath directly
9807 hardcode_libdir_flag_spec='-rpath $libdir'
9809 archive_cmds_need_lc='no'
9810 hardcode_libdir_separator=:
9814 no_undefined_flag=' -z defs'
9815 if test "$GCC" = yes; then
9817 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9819 $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'
9821 case `$CC -V 2>&1` in
9824 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9825 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9826 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9830 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9831 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9832 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9836 hardcode_libdir_flag_spec='-R$libdir'
9837 hardcode_shlibpath_var=no
9839 solaris2.[0-5] | solaris2.[0-5].*) ;;
9841 # The compiler driver will combine and reorder linker options,
9842 # but understands `-z linker_flag'. GCC discards it without `$wl',
9843 # but is careful enough not to reorder.
9844 # Supported since Solaris 2.6 (maybe 2.5.1?)
9845 if test "$GCC" = yes; then
9846 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9848 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9852 link_all_deplibs=yes
9856 if test "x$host_vendor" = xsequent; then
9857 # Use $CC to link under sequent, because it throws in some extra .o
9858 # files that make .init and .fini sections work.
9859 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9863 hardcode_libdir_flag_spec='-L$libdir'
9865 hardcode_minus_L=yes
9866 hardcode_shlibpath_var=no
9870 case $host_vendor in
9872 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9873 hardcode_direct=yes # is this really true???
9876 ## LD is ld it makes a PLAMLIB
9877 ## CC just makes a GrossModule.
9878 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9879 reload_cmds='$CC -r -o $output$reload_objs'
9883 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9887 runpath_var='LD_RUN_PATH'
9888 hardcode_shlibpath_var=no
9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_shlibpath_var=no
9894 export_dynamic_flag_spec='-Bexport'
9898 if test -d /usr/nec; then
9899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9900 hardcode_shlibpath_var=no
9901 runpath_var=LD_RUN_PATH
9902 hardcode_runpath_var=yes
9907 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9908 no_undefined_flag='${wl}-z,text'
9909 archive_cmds_need_lc=no
9910 hardcode_shlibpath_var=no
9911 runpath_var='LD_RUN_PATH'
9913 if test "$GCC" = yes; then
9914 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922 sysv5* | sco3.2v5* | sco5v6*)
9923 # Note: We can NOT use -z defs as we might desire, because we do not
9924 # link with -lc, and that would cause any symbols used from libc to
9925 # always be unresolved, which means just about no library would
9926 # ever link correctly. If we're not using GNU ld we use -z text
9927 # though, which does catch some bad symbols but isn't as heavy-handed
9929 no_undefined_flag='${wl}-z,text'
9930 allow_undefined_flag='${wl}-z,nodefs'
9931 archive_cmds_need_lc=no
9932 hardcode_shlibpath_var=no
9933 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9934 hardcode_libdir_separator=':'
9935 link_all_deplibs=yes
9936 export_dynamic_flag_spec='${wl}-Bexport'
9937 runpath_var='LD_RUN_PATH'
9939 if test "$GCC" = yes; then
9940 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_shlibpath_var=no
9959 if test x$host_vendor = xsni; then
9961 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9962 export_dynamic_flag_spec='${wl}-Blargedynsym'
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9969 $as_echo "$ld_shlibs" >&6; }
9970 test "$ld_shlibs" = no && can_build_shared=no
9972 with_gnu_ld=$with_gnu_ld
9989 # Do we need to explicitly link libc?
9991 case "x$archive_cmds_need_lc" in
9993 # Assume -lc should be added
9994 archive_cmds_need_lc=yes
9996 if test "$enable_shared" = yes && test "$GCC" = yes; then
9997 case $archive_cmds in
9999 # FIXME: we may have to deal with multi-command sequences.
10002 # Test whether the compiler implicitly links with -lc since on some
10003 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10004 # to ld, don't add -lc before -lgcc.
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10006 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10007 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10008 $as_echo_n "(cached) " >&6
10011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10014 (eval $ac_compile) 2>&5
10016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10017 test $ac_status = 0; } 2>conftest.err; then
10020 libobjs=conftest.$ac_objext
10022 wl=$lt_prog_compiler_wl
10023 pic_flag=$lt_prog_compiler_pic
10029 lt_save_allow_undefined_flag=$allow_undefined_flag
10030 allow_undefined_flag=
10031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10032 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10035 test $ac_status = 0; }
10037 lt_cv_archive_cmds_need_lc=no
10039 lt_cv_archive_cmds_need_lc=yes
10041 allow_undefined_flag=$lt_save_allow_undefined_flag
10043 cat conftest.err 1>&5
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10049 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10050 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10209 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10211 if test "$GCC" = yes; then
10213 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10214 *) lt_awk_arg="/^libraries:/" ;;
10217 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10218 *) lt_sed_strip_eq="s,=/,/,g" ;;
10220 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10221 case $lt_search_path_spec in
10223 # if the path contains ";" then we assume it to be the separator
10224 # otherwise default to the standard path separator (i.e. ":") - it is
10225 # assumed that no part of a normal pathname contains ";" but that should
10226 # okay in the real world where ";" in dirpaths is itself problematic.
10227 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10230 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10233 # Ok, now we have the path, separated by spaces, we can step through it
10234 # and add multilib dir if necessary.
10235 lt_tmp_lt_search_path_spec=
10236 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10237 for lt_sys_path in $lt_search_path_spec; do
10238 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10239 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10241 test -d "$lt_sys_path" && \
10242 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10245 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10246 BEGIN {RS=" "; FS="/|\n";} {
10249 for (lt_i = NF; lt_i > 0; lt_i--) {
10250 if ($lt_i != "" && $lt_i != ".") {
10251 if ($lt_i == "..") {
10254 if (lt_count == 0) {
10255 lt_foo="/" $lt_i lt_foo;
10262 if (lt_foo != "") { lt_freq[lt_foo]++; }
10263 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10265 # AWK program above erroneously prepends '/' to C:/dos/paths
10268 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10269 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10271 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10273 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10275 library_names_spec=
10276 libname_spec='lib$name'
10280 postuninstall_cmds=
10284 shlibpath_overrides_runpath=unknown
10286 dynamic_linker="$host_os ld.so"
10287 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10288 need_lib_prefix=unknown
10289 hardcode_into_libs=no
10291 # when you set need_version to no, make sure it does not cause -set_version
10292 # flags to be left without arguments
10293 need_version=unknown
10297 version_type=linux # correct to gnu/linux during the next big refactor
10298 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10299 shlibpath_var=LIBPATH
10301 # AIX 3 has no versioning support, so we append a major version to the name.
10302 soname_spec='${libname}${release}${shared_ext}$major'
10306 version_type=linux # correct to gnu/linux during the next big refactor
10309 hardcode_into_libs=yes
10310 if test "$host_cpu" = ia64; then
10311 # AIX 5 supports IA64
10312 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10313 shlibpath_var=LD_LIBRARY_PATH
10315 # With GCC up to 2.95.x, collect2 would create an import file
10316 # for dependence libraries. The import file would start with
10317 # the line `#! .'. This would cause the generated library to
10318 # depend on `.', always an invalid library. This was fixed in
10319 # development snapshots of GCC prior to 3.0.
10321 aix4 | aix4.[01] | aix4.[01].*)
10322 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10324 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10327 can_build_shared=no
10331 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10332 # soname into executable. Probably we can add versioning support to
10333 # collect2, so additional links can be useful in future.
10334 if test "$aix_use_runtimelinking" = yes; then
10335 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10336 # instead of lib<name>.a to let people know that these are not
10337 # typical AIX shared libraries.
10338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 # We preserve .a as extension for shared libraries through AIX4.2
10341 # and later when we are not doing run time linking.
10342 library_names_spec='${libname}${release}.a $libname.a'
10343 soname_spec='${libname}${release}${shared_ext}$major'
10345 shlibpath_var=LIBPATH
10352 # Since July 2007 AmigaOS4 officially supports .so libraries.
10353 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 library_names_spec='$libname.ixlibrary $libname.a'
10358 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10359 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'
10365 library_names_spec='${libname}${shared_ext}'
10366 dynamic_linker="$host_os ld.so"
10367 shlibpath_var=LIBRARY_PATH
10371 version_type=linux # correct to gnu/linux during the next big refactor
10373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10374 soname_spec='${libname}${release}${shared_ext}$major'
10375 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10376 shlibpath_var=LD_LIBRARY_PATH
10377 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10378 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10379 # the default ld.so.conf also contains /usr/contrib/lib and
10380 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10381 # libtool to hard-code these into programs
10384 cygwin* | mingw* | pw32* | cegcc*)
10385 version_type=windows
10390 case $GCC,$cc_basename in
10393 library_names_spec='$libname.dll.a'
10394 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10395 postinstall_cmds='base_file=`basename \${file}`~
10396 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10397 dldir=$destdir/`dirname \$dlpath`~
10398 test -d \$dldir || mkdir -p \$dldir~
10399 $install_prog $dir/$dlname \$dldir/$dlname~
10400 chmod a+x \$dldir/$dlname~
10401 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10402 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10404 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10405 dlpath=$dir/\$dldll~
10407 shlibpath_overrides_runpath=yes
10411 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10412 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10414 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10417 # MinGW DLLs use traditional 'lib' prefix
10418 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10421 # pw32 DLLs use 'pw' prefix rather than 'lib'
10422 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10425 dynamic_linker='Win32 ld.exe'
10430 libname_spec='$name'
10431 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10432 library_names_spec='${libname}.dll.lib'
10436 sys_lib_search_path_spec=
10439 for lt_path in $LIB
10442 # Let DOS variable expansion print the short 8.3 style file name.
10443 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10444 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10447 # Convert to MSYS style.
10448 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10451 # Convert to unix form, then to dos form, then back to unix form
10452 # but this time dos style (no spaces!) so that the unix form looks
10453 # like /cygdrive/c/PROGRA~1:/cygdr...
10454 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10455 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10456 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10459 sys_lib_search_path_spec="$LIB"
10460 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10461 # It is most probably a Windows format PATH.
10462 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10464 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10466 # FIXME: find the short name or the path components, as spaces are
10467 # common. (e.g. "Program Files" -> "PROGRA~1")
10471 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10472 postinstall_cmds='base_file=`basename \${file}`~
10473 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10474 dldir=$destdir/`dirname \$dlpath`~
10475 test -d \$dldir || mkdir -p \$dldir~
10476 $install_prog $dir/$dlname \$dldir/$dlname'
10477 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10478 dlpath=$dir/\$dldll~
10480 shlibpath_overrides_runpath=yes
10481 dynamic_linker='Win32 link.exe'
10485 # Assume MSVC wrapper
10486 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10487 dynamic_linker='Win32 ld.exe'
10490 # FIXME: first we should search . and the directory the executable is in
10494 darwin* | rhapsody*)
10495 dynamic_linker="$host_os dyld"
10496 version_type=darwin
10499 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10500 soname_spec='${libname}${release}${major}$shared_ext'
10501 shlibpath_overrides_runpath=yes
10502 shlibpath_var=DYLD_LIBRARY_PATH
10503 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10505 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10506 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10510 version_type=linux # correct to gnu/linux during the next big refactor
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10515 shlibpath_var=LD_LIBRARY_PATH
10518 freebsd* | dragonfly*)
10519 # DragonFly does not have aout. When/if they implement a new
10520 # versioning mechanism, adjust this.
10521 if test -x /usr/bin/objformat; then
10522 objformat=`/usr/bin/objformat`
10525 freebsd[23].*) objformat=aout ;;
10526 *) objformat=elf ;;
10529 version_type=freebsd-$objformat
10530 case $version_type in
10532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10541 shlibpath_var=LD_LIBRARY_PATH
10544 shlibpath_overrides_runpath=yes
10546 freebsd3.[01]* | freebsdelf3.[01]*)
10547 shlibpath_overrides_runpath=yes
10548 hardcode_into_libs=yes
10550 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10551 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10552 shlibpath_overrides_runpath=no
10553 hardcode_into_libs=yes
10555 *) # from 4.6 on, and DragonFly
10556 shlibpath_overrides_runpath=yes
10557 hardcode_into_libs=yes
10563 version_type=linux # correct to gnu/linux during the next big refactor
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 shlibpath_var=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath=no
10570 hardcode_into_libs=yes
10574 version_type=linux # correct to gnu/linux during the next big refactor
10577 dynamic_linker="$host_os runtime_loader"
10578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10579 soname_spec='${libname}${release}${shared_ext}$major'
10580 shlibpath_var=LIBRARY_PATH
10581 shlibpath_overrides_runpath=yes
10582 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10583 hardcode_into_libs=yes
10586 hpux9* | hpux10* | hpux11*)
10587 # Give a soname corresponding to the major version so that dld.sl refuses to
10588 # link against other versions.
10595 hardcode_into_libs=yes
10596 dynamic_linker="$host_os dld.so"
10597 shlibpath_var=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 soname_spec='${libname}${release}${shared_ext}$major'
10601 if test "X$HPUX_IA64_MODE" = X32; then
10602 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10604 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10606 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10610 hardcode_into_libs=yes
10611 dynamic_linker="$host_os dld.sl"
10612 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10613 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615 soname_spec='${libname}${release}${shared_ext}$major'
10616 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10617 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10621 dynamic_linker="$host_os dld.sl"
10622 shlibpath_var=SHLIB_PATH
10623 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10628 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10629 postinstall_cmds='chmod 555 $lib'
10630 # or fails outright, so override atomically:
10631 install_override_mode=555
10635 version_type=linux # correct to gnu/linux during the next big refactor
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10641 shlibpath_var=LD_LIBRARY_PATH
10642 shlibpath_overrides_runpath=no
10643 hardcode_into_libs=yes
10646 irix5* | irix6* | nonstopux*)
10648 nonstopux*) version_type=nonstopux ;;
10650 if test "$lt_cv_prog_gnu_ld" = yes; then
10651 version_type=linux # correct to gnu/linux during the next big refactor
10658 soname_spec='${libname}${release}${shared_ext}$major'
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10661 irix5* | nonstopux*)
10662 libsuff= shlibsuff=
10665 case $LD in # libtool.m4 will add one of these switches to LD
10666 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10667 libsuff= shlibsuff= libmagic=32-bit;;
10668 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10669 libsuff=32 shlibsuff=N32 libmagic=N32;;
10670 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10671 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10672 *) libsuff= shlibsuff= libmagic=never-match;;
10676 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10677 shlibpath_overrides_runpath=no
10678 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10679 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10680 hardcode_into_libs=yes
10683 # No shared lib support for Linux oldld, aout, or coff.
10684 linux*oldld* | linux*aout* | linux*coff*)
10688 # This must be glibc/ELF.
10689 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10690 version_type=linux # correct to gnu/linux during the next big refactor
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 soname_spec='${libname}${release}${shared_ext}$major'
10695 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath=no
10699 # Some binutils ld are patched to set DT_RUNPATH
10700 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10701 $as_echo_n "(cached) " >&6
10703 lt_cv_shlibpath_overrides_runpath=no
10704 save_LDFLAGS=$LDFLAGS
10705 save_libdir=$libdir
10706 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10707 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10721 lt_cv_shlibpath_overrides_runpath=yes
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LDFLAGS=$save_LDFLAGS
10727 libdir=$save_libdir
10731 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10733 # This implies no fast_install, which is unacceptable.
10734 # Some rework will be needed to allow for fast_install
10735 # before this can be enabled.
10736 hardcode_into_libs=yes
10738 # Append ld.so.conf contents to the search path
10739 if test -f /etc/ld.so.conf; then
10740 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' ' '`
10741 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10744 # We used to test for /lib/ld.so.1 and disable shared libraries on
10745 # powerpc, because MkLinux only supported shared libraries with the
10746 # GNU dynamic linker. Since this was broken with cross compilers,
10747 # most powerpc-linux boxes support dynamic linking these days and
10748 # people can always --disable-shared, the test was removed, and we
10749 # assume the GNU/Linux dynamic linker is in use.
10750 dynamic_linker='GNU/Linux ld.so'
10757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10759 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10760 dynamic_linker='NetBSD (a.out) ld.so'
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10764 dynamic_linker='NetBSD ld.elf_so'
10766 shlibpath_var=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath=yes
10768 hardcode_into_libs=yes
10772 version_type=linux # correct to gnu/linux during the next big refactor
10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=yes
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 shlibpath_overrides_runpath=no
10786 hardcode_into_libs=yes
10787 dynamic_linker='ldqnx.so'
10792 sys_lib_dlsearch_path_spec="/usr/lib"
10794 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10796 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10797 *) need_version=no ;;
10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10800 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10801 shlibpath_var=LD_LIBRARY_PATH
10802 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10804 openbsd2.[89] | openbsd2.[89].*)
10805 shlibpath_overrides_runpath=no
10808 shlibpath_overrides_runpath=yes
10812 shlibpath_overrides_runpath=yes
10817 libname_spec='$name'
10820 library_names_spec='$libname${shared_ext} $libname.a'
10821 dynamic_linker='OS/2 ld.exe'
10822 shlibpath_var=LIBPATH
10825 osf3* | osf4* | osf5*)
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10833 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10841 version_type=linux # correct to gnu/linux during the next big refactor
10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845 soname_spec='${libname}${release}${shared_ext}$major'
10846 shlibpath_var=LD_LIBRARY_PATH
10847 shlibpath_overrides_runpath=yes
10848 hardcode_into_libs=yes
10849 # ldd complains unless libraries are executable
10850 postinstall_cmds='chmod +x $lib'
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10856 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10857 shlibpath_var=LD_LIBRARY_PATH
10858 shlibpath_overrides_runpath=yes
10859 if test "$with_gnu_ld" = yes; then
10866 version_type=linux # correct to gnu/linux during the next big refactor
10867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868 soname_spec='${libname}${release}${shared_ext}$major'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 case $host_vendor in
10872 shlibpath_overrides_runpath=no
10874 runpath_var=LD_RUN_PATH
10882 shlibpath_overrides_runpath=no
10883 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10889 if test -d /usr/nec ;then
10890 version_type=linux # correct to gnu/linux during the next big refactor
10891 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10892 soname_spec='$libname${shared_ext}.$major'
10893 shlibpath_var=LD_LIBRARY_PATH
10897 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10898 version_type=freebsd-elf
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10902 soname_spec='${libname}${release}${shared_ext}$major'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=yes
10905 hardcode_into_libs=yes
10906 if test "$with_gnu_ld" = yes; then
10907 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10909 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10912 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10916 sys_lib_dlsearch_path_spec='/usr/lib'
10920 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10921 version_type=linux # correct to gnu/linux during the next big refactor
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10931 version_type=linux # correct to gnu/linux during the next big refactor
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 soname_spec='${libname}${release}${shared_ext}$major'
10934 shlibpath_var=LD_LIBRARY_PATH
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10942 $as_echo "$dynamic_linker" >&6; }
10943 test "$dynamic_linker" = no && can_build_shared=no
10945 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10946 if test "$GCC" = yes; then
10947 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10950 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10951 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10953 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10954 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11049 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11051 if test -n "$hardcode_libdir_flag_spec" ||
11052 test -n "$runpath_var" ||
11053 test "X$hardcode_automatic" = "Xyes" ; then
11055 # We can hardcode non-existent directories.
11056 if test "$hardcode_direct" != no &&
11057 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11058 # have to relink, otherwise we might link with an installed library
11059 # when we should be linking with a yet-to-be-installed one
11060 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11061 test "$hardcode_minus_L" != no; then
11062 # Linking always hardcodes the temporary library directory.
11063 hardcode_action=relink
11065 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11066 hardcode_action=immediate
11069 # We cannot hardcode anything, or else we can only hardcode existing
11071 hardcode_action=unsupported
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11074 $as_echo "$hardcode_action" >&6; }
11076 if test "$hardcode_action" = relink ||
11077 test "$inherit_rpath" = yes; then
11078 # Fast installation is not supported
11079 enable_fast_install=no
11080 elif test "$shlibpath_overrides_runpath" = yes ||
11081 test "$enable_shared" = no; then
11082 # Fast installation is not necessary
11083 enable_fast_install=needless
11091 if test "x$enable_dlopen" != xyes; then
11092 enable_dlopen=unknown
11093 enable_dlopen_self=unknown
11094 enable_dlopen_self_static=unknown
11101 lt_cv_dlopen="load_add_on"
11103 lt_cv_dlopen_self=yes
11106 mingw* | pw32* | cegcc*)
11107 lt_cv_dlopen="LoadLibrary"
11112 lt_cv_dlopen="dlopen"
11117 # if libdl is installed we need to link against it
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11119 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11120 if ${ac_cv_lib_dl_dlopen+:} false; then :
11121 $as_echo_n "(cached) " >&6
11123 ac_check_lib_save_LIBS=$LIBS
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 ac_cv_lib_dl_dlopen=yes
11146 ac_cv_lib_dl_dlopen=no
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11153 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11154 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11155 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11158 lt_cv_dlopen="dyld"
11160 lt_cv_dlopen_self=yes
11167 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11168 if test "x$ac_cv_func_shl_load" = xyes; then :
11169 lt_cv_dlopen="shl_load"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11172 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11173 if ${ac_cv_lib_dld_shl_load+:} false; then :
11174 $as_echo_n "(cached) " >&6
11176 ac_check_lib_save_LIBS=$LIBS
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11191 return shl_load ();
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_dld_shl_load=yes
11199 ac_cv_lib_dld_shl_load=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11206 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11207 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11208 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11210 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11211 if test "x$ac_cv_func_dlopen" = xyes; then :
11212 lt_cv_dlopen="dlopen"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11216 if ${ac_cv_lib_dl_dlopen+:} false; then :
11217 $as_echo_n "(cached) " >&6
11219 ac_check_lib_save_LIBS=$LIBS
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11239 if ac_fn_c_try_link "$LINENO"; then :
11240 ac_cv_lib_dl_dlopen=yes
11242 ac_cv_lib_dl_dlopen=no
11244 rm -f core conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11249 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11250 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11251 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11254 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11255 if ${ac_cv_lib_svld_dlopen+:} false; then :
11256 $as_echo_n "(cached) " >&6
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lsvld $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 ac_cv_lib_svld_dlopen=yes
11281 ac_cv_lib_svld_dlopen=no
11283 rm -f core conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11288 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11289 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11290 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11293 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11294 if ${ac_cv_lib_dld_dld_link+:} false; then :
11295 $as_echo_n "(cached) " >&6
11297 ac_check_lib_save_LIBS=$LIBS
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11312 return dld_link ();
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 ac_cv_lib_dld_dld_link=yes
11320 ac_cv_lib_dld_dld_link=no
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11327 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11328 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11329 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11350 if test "x$lt_cv_dlopen" != xno; then
11356 case $lt_cv_dlopen in
11358 save_CPPFLAGS="$CPPFLAGS"
11359 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11361 save_LDFLAGS="$LDFLAGS"
11362 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11365 LIBS="$lt_cv_dlopen_libs $LIBS"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11368 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11369 if ${lt_cv_dlopen_self+:} false; then :
11370 $as_echo_n "(cached) " >&6
11372 if test "$cross_compiling" = yes; then :
11373 lt_cv_dlopen_self=cross
11375 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11376 lt_status=$lt_dlunknown
11377 cat > conftest.$ac_ext <<_LT_EOF
11378 #line $LINENO "configure"
11379 #include "confdefs.h"
11388 # define LT_DLGLOBAL RTLD_GLOBAL
11391 # define LT_DLGLOBAL DL_GLOBAL
11393 # define LT_DLGLOBAL 0
11397 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11398 find out it does not work in some platform. */
11399 #ifndef LT_DLLAZY_OR_NOW
11401 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11404 # define LT_DLLAZY_OR_NOW DL_LAZY
11407 # define LT_DLLAZY_OR_NOW RTLD_NOW
11410 # define LT_DLLAZY_OR_NOW DL_NOW
11412 # define LT_DLLAZY_OR_NOW 0
11419 /* When -fvisbility=hidden is used, assume the code has been annotated
11420 correspondingly for the symbols needed. */
11421 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11422 int fnord () __attribute__((visibility("default")));
11425 int fnord () { return 42; }
11428 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11429 int status = $lt_dlunknown;
11433 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11436 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11437 else puts (dlerror ());
11439 /* dlclose (self); */
11447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11448 (eval $ac_link) 2>&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11452 (./conftest; exit; ) >&5 2>/dev/null
11454 case x$lt_status in
11455 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11456 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11457 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11460 # compilation failed
11461 lt_cv_dlopen_self=no
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11469 $as_echo "$lt_cv_dlopen_self" >&6; }
11471 if test "x$lt_cv_dlopen_self" = xyes; then
11472 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11474 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11475 if ${lt_cv_dlopen_self_static+:} false; then :
11476 $as_echo_n "(cached) " >&6
11478 if test "$cross_compiling" = yes; then :
11479 lt_cv_dlopen_self_static=cross
11481 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11482 lt_status=$lt_dlunknown
11483 cat > conftest.$ac_ext <<_LT_EOF
11484 #line $LINENO "configure"
11485 #include "confdefs.h"
11494 # define LT_DLGLOBAL RTLD_GLOBAL
11497 # define LT_DLGLOBAL DL_GLOBAL
11499 # define LT_DLGLOBAL 0
11503 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11504 find out it does not work in some platform. */
11505 #ifndef LT_DLLAZY_OR_NOW
11507 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11510 # define LT_DLLAZY_OR_NOW DL_LAZY
11513 # define LT_DLLAZY_OR_NOW RTLD_NOW
11516 # define LT_DLLAZY_OR_NOW DL_NOW
11518 # define LT_DLLAZY_OR_NOW 0
11525 /* When -fvisbility=hidden is used, assume the code has been annotated
11526 correspondingly for the symbols needed. */
11527 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11528 int fnord () __attribute__((visibility("default")));
11531 int fnord () { return 42; }
11534 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11535 int status = $lt_dlunknown;
11539 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11542 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11543 else puts (dlerror ());
11545 /* dlclose (self); */
11553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11554 (eval $ac_link) 2>&5
11556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11557 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11558 (./conftest; exit; ) >&5 2>/dev/null
11560 case x$lt_status in
11561 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11562 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11563 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11566 # compilation failed
11567 lt_cv_dlopen_self_static=no
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11575 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11578 CPPFLAGS="$save_CPPFLAGS"
11579 LDFLAGS="$save_LDFLAGS"
11584 case $lt_cv_dlopen_self in
11585 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11586 *) enable_dlopen_self=unknown ;;
11589 case $lt_cv_dlopen_self_static in
11590 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11591 *) enable_dlopen_self_static=unknown ;;
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11614 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11615 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11616 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11617 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11619 $as_echo "yes" >&6; }
11621 # FIXME - insert some real tests, host_os isn't really good enough
11624 if test -n "$STRIP" ; then
11625 striplib="$STRIP -x"
11626 old_striplib="$STRIP -S"
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11628 $as_echo "yes" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
11652 # Report which library types will actually be built
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11654 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11656 $as_echo "$can_build_shared" >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11659 $as_echo_n "checking whether to build shared libraries... " >&6; }
11660 test "$can_build_shared" = "no" && enable_shared=no
11662 # On AIX, shared libraries and static libraries use the same namespace, and
11663 # are all built from PIC.
11666 test "$enable_shared" = yes && enable_static=no
11667 if test -n "$RANLIB"; then
11668 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11669 postinstall_cmds='$RANLIB $lib'
11674 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11675 test "$enable_shared" = yes && enable_static=no
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11680 $as_echo "$enable_shared" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11683 $as_echo_n "checking whether to build static libraries... " >&6; }
11684 # Make sure either enable_shared or enable_static is yes.
11685 test "$enable_shared" = yes || enable_static=yes
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11687 $as_echo "$enable_static" >&6; }
11694 ac_cpp='$CPP $CPPFLAGS'
11695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11715 ac_config_commands="$ac_config_commands libtool"
11720 # Only expand once:
11724 # Checks for programs.
11726 ac_cpp='$CPP $CPPFLAGS'
11727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11730 if test -n "$ac_tool_prefix"; then
11731 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11732 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11734 $as_echo_n "checking for $ac_word... " >&6; }
11735 if ${ac_cv_prog_CC+:} false; then :
11736 $as_echo_n "(cached) " >&6
11738 if test -n "$CC"; then
11739 ac_cv_prog_CC="$CC" # Let the user override the test.
11741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11742 for as_dir in $PATH
11745 test -z "$as_dir" && as_dir=.
11746 for ac_exec_ext in '' $ac_executable_extensions; do
11747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11748 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11759 if test -n "$CC"; then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11761 $as_echo "$CC" >&6; }
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11769 if test -z "$ac_cv_prog_CC"; then
11771 # Extract the first word of "gcc", so it can be a program name with args.
11772 set dummy gcc; ac_word=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11776 $as_echo_n "(cached) " >&6
11778 if test -n "$ac_ct_CC"; then
11779 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11782 for as_dir in $PATH
11785 test -z "$as_dir" && as_dir=.
11786 for ac_exec_ext in '' $ac_executable_extensions; do
11787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11788 ac_cv_prog_ac_ct_CC="gcc"
11789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11799 if test -n "$ac_ct_CC"; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11801 $as_echo "$ac_ct_CC" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 $as_echo "no" >&6; }
11807 if test "x$ac_ct_CC" = x; then
11810 case $cross_compiling:$ac_tool_warned in
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11814 ac_tool_warned=yes ;;
11819 CC="$ac_cv_prog_CC"
11822 if test -z "$CC"; then
11823 if test -n "$ac_tool_prefix"; then
11824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11825 set dummy ${ac_tool_prefix}cc; ac_word=$2
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827 $as_echo_n "checking for $ac_word... " >&6; }
11828 if ${ac_cv_prog_CC+:} false; then :
11829 $as_echo_n "(cached) " >&6
11831 if test -n "$CC"; then
11832 ac_cv_prog_CC="$CC" # Let the user override the test.
11834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11835 for as_dir in $PATH
11838 test -z "$as_dir" && as_dir=.
11839 for ac_exec_ext in '' $ac_executable_extensions; do
11840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11841 ac_cv_prog_CC="${ac_tool_prefix}cc"
11842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11852 if test -n "$CC"; then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11854 $as_echo "$CC" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11863 if test -z "$CC"; then
11864 # Extract the first word of "cc", so it can be a program name with args.
11865 set dummy cc; ac_word=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if ${ac_cv_prog_CC+:} false; then :
11869 $as_echo_n "(cached) " >&6
11871 if test -n "$CC"; then
11872 ac_cv_prog_CC="$CC" # Let the user override the test.
11874 ac_prog_rejected=no
11875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11876 for as_dir in $PATH
11879 test -z "$as_dir" && as_dir=.
11880 for ac_exec_ext in '' $ac_executable_extensions; do
11881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11883 ac_prog_rejected=yes
11887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 if test $ac_prog_rejected = yes; then
11895 # We found a bogon in the path, so make sure we never use it.
11896 set dummy $ac_cv_prog_CC
11898 if test $# != 0; then
11899 # We chose a different compiler from the bogus one.
11900 # However, it has the same basename, so the bogon will be chosen
11901 # first if we set CC to just the basename; use the full file name.
11903 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11909 if test -n "$CC"; then
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11911 $as_echo "$CC" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11914 $as_echo "no" >&6; }
11919 if test -z "$CC"; then
11920 if test -n "$ac_tool_prefix"; then
11921 for ac_prog in cl.exe
11923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11926 $as_echo_n "checking for $ac_word... " >&6; }
11927 if ${ac_cv_prog_CC+:} false; then :
11928 $as_echo_n "(cached) " >&6
11930 if test -n "$CC"; then
11931 ac_cv_prog_CC="$CC" # Let the user override the test.
11933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11934 for as_dir in $PATH
11937 test -z "$as_dir" && as_dir=.
11938 for ac_exec_ext in '' $ac_executable_extensions; do
11939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11951 if test -n "$CC"; then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11953 $as_echo "$CC" >&6; }
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11960 test -n "$CC" && break
11963 if test -z "$CC"; then
11965 for ac_prog in cl.exe
11967 # Extract the first word of "$ac_prog", so it can be a program name with args.
11968 set dummy $ac_prog; ac_word=$2
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11970 $as_echo_n "checking for $ac_word... " >&6; }
11971 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11972 $as_echo_n "(cached) " >&6
11974 if test -n "$ac_ct_CC"; then
11975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11978 for as_dir in $PATH
11981 test -z "$as_dir" && as_dir=.
11982 for ac_exec_ext in '' $ac_executable_extensions; do
11983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11984 ac_cv_prog_ac_ct_CC="$ac_prog"
11985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11995 if test -n "$ac_ct_CC"; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11997 $as_echo "$ac_ct_CC" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12000 $as_echo "no" >&6; }
12004 test -n "$ac_ct_CC" && break
12007 if test "x$ac_ct_CC" = x; then
12010 case $cross_compiling:$ac_tool_warned in
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12014 ac_tool_warned=yes ;;
12023 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12025 as_fn_error $? "no acceptable C compiler found in \$PATH
12026 See \`config.log' for more details" "$LINENO" 5; }
12028 # Provide some information about the compiler.
12029 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12032 for ac_option in --version -v -V -qversion; do
12033 { { ac_try="$ac_compiler $ac_option >&5"
12034 case "(($ac_try" in
12035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12036 *) ac_try_echo=$ac_try;;
12038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12039 $as_echo "$ac_try_echo"; } >&5
12040 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12042 if test -s conftest.err; then
12044 ... rest of stderr output deleted ...
12045 10q' conftest.err >conftest.er1
12046 cat conftest.er1 >&5
12048 rm -f conftest.er1 conftest.err
12049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12050 test $ac_status = 0; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12054 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12055 if ${ac_cv_c_compiler_gnu+:} false; then :
12056 $as_echo_n "(cached) " >&6
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12072 if ac_fn_c_try_compile "$LINENO"; then :
12073 ac_compiler_gnu=yes
12077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12078 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12082 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12083 if test $ac_compiler_gnu = yes; then
12088 ac_test_CFLAGS=${CFLAGS+set}
12089 ac_save_CFLAGS=$CFLAGS
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12091 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12092 if ${ac_cv_prog_cc_g+:} false; then :
12093 $as_echo_n "(cached) " >&6
12095 ac_save_c_werror_flag=$ac_c_werror_flag
12096 ac_c_werror_flag=yes
12099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12110 if ac_fn_c_try_compile "$LINENO"; then :
12111 ac_cv_prog_cc_g=yes
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12125 if ac_fn_c_try_compile "$LINENO"; then :
12128 ac_c_werror_flag=$ac_save_c_werror_flag
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12141 if ac_fn_c_try_compile "$LINENO"; then :
12142 ac_cv_prog_cc_g=yes
12144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 ac_c_werror_flag=$ac_save_c_werror_flag
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12152 $as_echo "$ac_cv_prog_cc_g" >&6; }
12153 if test "$ac_test_CFLAGS" = set; then
12154 CFLAGS=$ac_save_CFLAGS
12155 elif test $ac_cv_prog_cc_g = yes; then
12156 if test "$GCC" = yes; then
12162 if test "$GCC" = yes; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12169 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12170 if ${ac_cv_prog_cc_c89+:} false; then :
12171 $as_echo_n "(cached) " >&6
12173 ac_cv_prog_cc_c89=no
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12177 #include <stdarg.h>
12180 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12181 struct buf { int x; };
12182 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12183 static char *e (p, i)
12189 static char *f (char * (*g) (char **, int), char **p, ...)
12194 s = g (p, va_arg (v,int));
12199 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12200 function prototypes and stuff, but not '\xHH' hex character constants.
12201 These don't provoke an error unfortunately, instead are silently treated
12202 as 'x'. The following induces an error, until -std is added to get
12203 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12204 array size at least. It's necessary to write '\x00'==0 to get something
12205 that's true only with -std. */
12206 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12208 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12209 inside strings and character constants. */
12211 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12213 int test (int i, double x);
12214 struct s1 {int (*f) (int a);};
12215 struct s2 {int (*f) (double a);};
12216 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12222 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12227 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12228 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12230 CC="$ac_save_CC $ac_arg"
12231 if ac_fn_c_try_compile "$LINENO"; then :
12232 ac_cv_prog_cc_c89=$ac_arg
12234 rm -f core conftest.err conftest.$ac_objext
12235 test "x$ac_cv_prog_cc_c89" != "xno" && break
12237 rm -f conftest.$ac_ext
12242 case "x$ac_cv_prog_cc_c89" in
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12245 $as_echo "none needed" >&6; } ;;
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12248 $as_echo "unsupported" >&6; } ;;
12250 CC="$CC $ac_cv_prog_cc_c89"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12252 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12254 if test "x$ac_cv_prog_cc_c89" != xno; then :
12259 ac_cpp='$CPP $CPPFLAGS'
12260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12265 ac_cpp='$CPP $CPPFLAGS'
12266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12270 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12271 if ${am_cv_prog_cc_c_o+:} false; then :
12272 $as_echo_n "(cached) " >&6
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12285 # Make sure it works both with $CC and with simple cc.
12286 # Following AC_PROG_CC_C_O, we do the test twice because some
12287 # compilers refuse to overwrite an existing .o file with -o,
12288 # though they will create one.
12289 am_cv_prog_cc_c_o=yes
12290 for am_i in 1 2; do
12291 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12292 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } \
12296 && test -f conftest2.$ac_objext; then
12299 am_cv_prog_cc_c_o=no
12303 rm -f core conftest*
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12307 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12308 if test "$am_cv_prog_cc_c_o" != yes; then
12309 # Losing compiler, so override with the script.
12310 # FIXME: It is wrong to rewrite CC.
12311 # But if we don't then we get into trouble of one sort or another.
12312 # A longer-term fix would be to have automake use am__CC in this case,
12313 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12314 CC="$am_aux_dir/compile $CC"
12317 ac_cpp='$CPP $CPPFLAGS'
12318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12323 depcc="$CC" am_compiler_list=
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12326 $as_echo_n "checking dependency style of $depcc... " >&6; }
12327 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12328 $as_echo_n "(cached) " >&6
12330 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12331 # We make a subdir and do the tests there. Otherwise we can end up
12332 # making bogus files that we don't know about and never remove. For
12333 # instance it was reported that on HP-UX the gcc test will end up
12334 # making a dummy file named 'D' -- because '-MD' means "put the output
12336 rm -rf conftest.dir
12338 # Copy depcomp to subdir because otherwise we won't find it if we're
12339 # using a relative directory.
12340 cp "$am_depcomp" conftest.dir
12342 # We will build objects and dependencies in a subdirectory because
12343 # it helps to detect inapplicable dependency modes. For instance
12344 # both Tru64's cc and ICC support -MD to output dependencies as a
12345 # side effect of compilation, but ICC will put the dependencies in
12346 # the current directory while Tru64 will put them in the object
12350 am_cv_CC_dependencies_compiler_type=none
12351 if test "$am_compiler_list" = ""; then
12352 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12354 am__universal=false
12355 case " $depcc " in #(
12356 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12359 for depmode in $am_compiler_list; do
12360 # Setup a source with many dependencies, because some compilers
12361 # like to wrap large dependency lists on column 80 (with \), and
12362 # we should not choose a depcomp mode which is confused by this.
12364 # We need to recreate these files for each test, as the compiler may
12365 # overwrite some of them when testing with obscure command lines.
12366 # This happens at least with the AIX C compiler.
12368 for i in 1 2 3 4 5 6; do
12369 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12370 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12371 # Solaris 10 /bin/sh.
12372 echo '/* dummy */' > sub/conftst$i.h
12374 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12376 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12377 # mode. It turns out that the SunPro C++ compiler does not properly
12378 # handle '-M -o', and we need to detect this. Also, some Intel
12379 # versions had trouble with output in subdirs.
12380 am__obj=sub/conftest.${OBJEXT-o}
12381 am__minus_obj="-o $am__obj"
12384 # This depmode causes a compiler race in universal mode.
12385 test "$am__universal" = false || continue
12388 # After this tag, mechanisms are not by side-effect, so they'll
12389 # only be used when explicitly requested.
12390 if test "x$enable_dependency_tracking" = xyes; then
12396 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12397 # This compiler won't grok '-c -o', but also, the minuso test has
12398 # not run yet. These depmodes are late enough in the game, and
12399 # so weak that their functioning should not be impacted.
12400 am__obj=conftest.${OBJEXT-o}
12405 if depmode=$depmode \
12406 source=sub/conftest.c object=$am__obj \
12407 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12408 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12409 >/dev/null 2>conftest.err &&
12410 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12411 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12412 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12413 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12414 # icc doesn't choke on unknown options, it will just issue warnings
12415 # or remarks (even with -Werror). So we grep stderr for any message
12416 # that says an option was ignored or not supported.
12417 # When given -MP, icc 7.0 and 7.1 complain thusly:
12418 # icc: Command line warning: ignoring option '-M'; no argument required
12419 # The diagnosis changed in icc 8.0:
12420 # icc: Command line remark: option '-MP' not supported
12421 if (grep 'ignoring option' conftest.err ||
12422 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12423 am_cv_CC_dependencies_compiler_type=$depmode
12430 rm -rf conftest.dir
12432 am_cv_CC_dependencies_compiler_type=none
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12437 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12438 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12441 test "x$enable_dependency_tracking" != xno \
12442 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12443 am__fastdepCC_TRUE=
12444 am__fastdepCC_FALSE='#'
12446 am__fastdepCC_TRUE='#'
12447 am__fastdepCC_FALSE=
12455 # Checks for libraries.
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12458 if ${ac_cv_lib_dl_dlopen+:} false; then :
12459 $as_echo_n "(cached) " >&6
12461 ac_check_lib_save_LIBS=$LIBS
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 ac_cv_lib_dl_dlopen=yes
12484 ac_cv_lib_dl_dlopen=no
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_lib_save_LIBS
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12491 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12492 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12493 cat >>confdefs.h <<_ACEOF
12494 #define HAVE_LIBDL 1
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
12502 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
12503 if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
12504 $as_echo_n "(cached) " >&6
12506 ac_check_lib_save_LIBS=$LIBS
12507 LIBS="-lgdbm $LIBS"
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12511 /* Override any GCC internal prototype to avoid an error.
12512 Use char because int might match the return type of a GCC
12513 builtin and then its argument prototype would still apply. */
12521 return gdbm_open ();
12526 if ac_fn_c_try_link "$LINENO"; then :
12527 ac_cv_lib_gdbm_gdbm_open=yes
12529 ac_cv_lib_gdbm_gdbm_open=no
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 LIBS=$ac_check_lib_save_LIBS
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
12536 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
12537 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
12538 cat >>confdefs.h <<_ACEOF
12539 #define HAVE_LIBGDBM 1
12542 LIBS="-lgdbm $LIBS"
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12547 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12548 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
12549 $as_echo_n "(cached) " >&6
12551 ac_check_lib_save_LIBS=$LIBS
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12562 char clock_gettime ();
12566 return clock_gettime ();
12571 if ac_fn_c_try_link "$LINENO"; then :
12572 ac_cv_lib_rt_clock_gettime=yes
12574 ac_cv_lib_rt_clock_gettime=no
12576 rm -f core conftest.err conftest.$ac_objext \
12577 conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_lib_save_LIBS
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12581 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12582 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
12583 cat >>confdefs.h <<_ACEOF
12584 #define HAVE_LIBRT 1
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
12592 $as_echo_n "checking for sqrt in -lm... " >&6; }
12593 if ${ac_cv_lib_m_sqrt+:} false; then :
12594 $as_echo_n "(cached) " >&6
12596 ac_check_lib_save_LIBS=$LIBS
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 /* Override any GCC internal prototype to avoid an error.
12602 Use char because int might match the return type of a GCC
12603 builtin and then its argument prototype would still apply. */
12616 if ac_fn_c_try_link "$LINENO"; then :
12617 ac_cv_lib_m_sqrt=yes
12619 ac_cv_lib_m_sqrt=no
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_lib_save_LIBS
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
12626 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
12627 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
12628 cat >>confdefs.h <<_ACEOF
12629 #define HAVE_LIBM 1
12637 # Checks for typedefs, structures, and compiler characteristics.
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12639 $as_echo_n "checking for inline... " >&6; }
12640 if ${ac_cv_c_inline+:} false; then :
12641 $as_echo_n "(cached) " >&6
12644 for ac_kw in inline __inline__ __inline; do
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12647 #ifndef __cplusplus
12649 static $ac_kw foo_t static_foo () {return 0; }
12650 $ac_kw foo_t foo () {return 0; }
12654 if ac_fn_c_try_compile "$LINENO"; then :
12655 ac_cv_c_inline=$ac_kw
12657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12658 test "$ac_cv_c_inline" != no && break
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12663 $as_echo "$ac_cv_c_inline" >&6; }
12665 case $ac_cv_c_inline in
12668 case $ac_cv_c_inline in
12670 *) ac_val=$ac_cv_c_inline;;
12672 cat >>confdefs.h <<_ACEOF
12673 #ifndef __cplusplus
12674 #define inline $ac_val
12680 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
12681 case $ac_cv_c_int32_t in #(
12685 cat >>confdefs.h <<_ACEOF
12686 #define int32_t $ac_cv_c_int32_t
12691 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
12692 case $ac_cv_c_int64_t in #(
12696 cat >>confdefs.h <<_ACEOF
12697 #define int64_t $ac_cv_c_int64_t
12702 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_pid_t" = xyes; then :
12707 cat >>confdefs.h <<_ACEOF
12713 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12714 if test "x$ac_cv_type_size_t" = xyes; then :
12718 cat >>confdefs.h <<_ACEOF
12719 #define size_t unsigned int
12724 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12725 if test "x$ac_cv_type_ssize_t" = xyes; then :
12729 cat >>confdefs.h <<_ACEOF
12730 #define ssize_t int
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12736 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12737 if ${ac_cv_type_uid_t+:} false; then :
12738 $as_echo_n "(cached) " >&6
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #include <sys/types.h>
12745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12746 $EGREP "uid_t" >/dev/null 2>&1; then :
12747 ac_cv_type_uid_t=yes
12749 ac_cv_type_uid_t=no
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12755 $as_echo "$ac_cv_type_uid_t" >&6; }
12756 if test $ac_cv_type_uid_t = no; then
12758 $as_echo "#define uid_t int" >>confdefs.h
12761 $as_echo "#define gid_t int" >>confdefs.h
12765 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
12766 case $ac_cv_c_uint16_t in #(
12771 cat >>confdefs.h <<_ACEOF
12772 #define uint16_t $ac_cv_c_uint16_t
12777 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12778 case $ac_cv_c_uint32_t in #(
12782 $as_echo "#define _UINT32_T 1" >>confdefs.h
12785 cat >>confdefs.h <<_ACEOF
12786 #define uint32_t $ac_cv_c_uint32_t
12791 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
12792 case $ac_cv_c_uint64_t in #(
12796 $as_echo "#define _UINT64_T 1" >>confdefs.h
12799 cat >>confdefs.h <<_ACEOF
12800 #define uint64_t $ac_cv_c_uint64_t
12805 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12806 case $ac_cv_c_uint8_t in #(
12810 $as_echo "#define _UINT8_T 1" >>confdefs.h
12813 cat >>confdefs.h <<_ACEOF
12814 #define uint8_t $ac_cv_c_uint8_t
12820 # Checks for library functions.
12821 for ac_header in vfork.h
12823 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_vfork_h" = xyes; then :
12825 cat >>confdefs.h <<_ACEOF
12826 #define HAVE_VFORK_H 1
12833 for ac_func in fork vfork
12835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12838 cat >>confdefs.h <<_ACEOF
12839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12845 if test "x$ac_cv_func_fork" = xyes; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12847 $as_echo_n "checking for working fork... " >&6; }
12848 if ${ac_cv_func_fork_works+:} false; then :
12849 $as_echo_n "(cached) " >&6
12851 if test "$cross_compiling" = yes; then :
12852 ac_cv_func_fork_works=cross
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12856 $ac_includes_default
12861 /* By Ruediger Kuhlmann. */
12862 return fork () < 0;
12868 if ac_fn_c_try_run "$LINENO"; then :
12869 ac_cv_func_fork_works=yes
12871 ac_cv_func_fork_works=no
12873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12874 conftest.$ac_objext conftest.beam conftest.$ac_ext
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12879 $as_echo "$ac_cv_func_fork_works" >&6; }
12882 ac_cv_func_fork_works=$ac_cv_func_fork
12884 if test "x$ac_cv_func_fork_works" = xcross; then
12886 *-*-amigaos* | *-*-msdosdjgpp*)
12887 # Override, as these systems have only a dummy fork() stub
12888 ac_cv_func_fork_works=no
12891 ac_cv_func_fork_works=yes
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12895 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12897 ac_cv_func_vfork_works=$ac_cv_func_vfork
12898 if test "x$ac_cv_func_vfork" = xyes; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12900 $as_echo_n "checking for working vfork... " >&6; }
12901 if ${ac_cv_func_vfork_works+:} false; then :
12902 $as_echo_n "(cached) " >&6
12904 if test "$cross_compiling" = yes; then :
12905 ac_cv_func_vfork_works=cross
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12909 /* Thanks to Paul Eggert for this test. */
12910 $ac_includes_default
12911 #include <sys/wait.h>
12912 #ifdef HAVE_VFORK_H
12913 # include <vfork.h>
12915 /* On some sparc systems, changes by the child to local and incoming
12916 argument registers are propagated back to the parent. The compiler
12917 is told about this with #include <vfork.h>, but some compilers
12918 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
12919 static variable whose address is put into a register that is
12920 clobbered by the vfork. */
12923 sparc_address_test (int arg)
12925 sparc_address_test (arg) int arg;
12928 static pid_t child;
12946 pid_t parent = getpid ();
12949 sparc_address_test (0);
12954 /* Here is another test for sparc vfork register problems. This
12955 test uses lots of local variables, at least as many local
12956 variables as main has allocated so far including compiler
12957 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
12958 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
12959 reuse the register of parent for one of the local variables,
12960 since it will think that parent can't possibly be used any more
12961 in this routine. Assigning to the local variable will thus
12962 munge parent in the parent process. */
12964 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12965 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12966 /* Convince the compiler that p..p7 are live; otherwise, it might
12967 use the same hardware register for all 8 local variables. */
12968 if (p != p1 || p != p2 || p != p3 || p != p4
12969 || p != p5 || p != p6 || p != p7)
12972 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12973 from child file descriptors. If the child closes a descriptor
12974 before it execs or exits, this munges the parent's descriptor
12975 as well. Test for this by closing stdout in the child. */
12976 _exit(close(fileno(stdout)) != 0);
12981 while (wait(&status) != child)
12984 /* Was there some problem with vforking? */
12987 /* Did the child fail? (This shouldn't happen.) */
12990 /* Did the vfork/compiler bug occur? */
12991 || parent != getpid()
12993 /* Did the file descriptor bug occur? */
12994 || fstat(fileno(stdout), &st) != 0
12999 if ac_fn_c_try_run "$LINENO"; then :
13000 ac_cv_func_vfork_works=yes
13002 ac_cv_func_vfork_works=no
13004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13005 conftest.$ac_objext conftest.beam conftest.$ac_ext
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13010 $as_echo "$ac_cv_func_vfork_works" >&6; }
13013 if test "x$ac_cv_func_fork_works" = xcross; then
13014 ac_cv_func_vfork_works=$ac_cv_func_vfork
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13016 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13019 if test "x$ac_cv_func_vfork_works" = xyes; then
13021 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13025 $as_echo "#define vfork fork" >>confdefs.h
13028 if test "x$ac_cv_func_fork_works" = xyes; then
13030 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13034 for ac_header in stdlib.h
13036 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13037 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13038 cat >>confdefs.h <<_ACEOF
13039 #define HAVE_STDLIB_H 1
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
13047 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13048 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
13049 $as_echo_n "(cached) " >&6
13051 if test "$cross_compiling" = yes; then :
13052 ac_cv_func_malloc_0_nonnull=no
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13056 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13057 # include <stdlib.h>
13065 return ! malloc (0);
13070 if ac_fn_c_try_run "$LINENO"; then :
13071 ac_cv_func_malloc_0_nonnull=yes
13073 ac_cv_func_malloc_0_nonnull=no
13075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13076 conftest.$ac_objext conftest.beam conftest.$ac_ext
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
13081 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13082 if test $ac_cv_func_malloc_0_nonnull = yes; then :
13084 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
13087 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
13089 case " $LIBOBJS " in
13090 *" malloc.$ac_objext "* ) ;;
13091 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
13096 $as_echo "#define malloc rpl_malloc" >>confdefs.h
13101 for ac_header in stdlib.h
13103 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13104 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13105 cat >>confdefs.h <<_ACEOF
13106 #define HAVE_STDLIB_H 1
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
13114 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
13115 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
13116 $as_echo_n "(cached) " >&6
13118 if test "$cross_compiling" = yes; then :
13119 ac_cv_func_realloc_0_nonnull=no
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13123 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13124 # include <stdlib.h>
13132 return ! realloc (0, 0);
13137 if ac_fn_c_try_run "$LINENO"; then :
13138 ac_cv_func_realloc_0_nonnull=yes
13140 ac_cv_func_realloc_0_nonnull=no
13142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13143 conftest.$ac_objext conftest.beam conftest.$ac_ext
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
13148 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
13149 if test $ac_cv_func_realloc_0_nonnull = yes; then :
13151 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
13154 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
13156 case " $LIBOBJS " in
13157 *" realloc.$ac_objext "* ) ;;
13158 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
13163 $as_echo "#define realloc rpl_realloc" >>confdefs.h
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
13169 $as_echo_n "checking for working strtod... " >&6; }
13170 if ${ac_cv_func_strtod+:} false; then :
13171 $as_echo_n "(cached) " >&6
13173 if test "$cross_compiling" = yes; then :
13174 ac_cv_func_strtod=no
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 $ac_includes_default
13187 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
13188 char *string = " +69";
13191 value = strtod (string, &term);
13192 if (value != 69 || term != (string + 4))
13197 /* Under Solaris 2.4, strtod returns the wrong value for the
13198 terminating character under some conditions. */
13199 char *string = "NaN";
13201 strtod (string, &term);
13202 if (term != string && *(term - 1) == 0)
13209 if ac_fn_c_try_run "$LINENO"; then :
13210 ac_cv_func_strtod=yes
13212 ac_cv_func_strtod=no
13214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13215 conftest.$ac_objext conftest.beam conftest.$ac_ext
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
13220 $as_echo "$ac_cv_func_strtod" >&6; }
13221 if test $ac_cv_func_strtod = no; then
13222 case " $LIBOBJS " in
13223 *" strtod.$ac_objext "* ) ;;
13224 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
13228 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
13229 if test "x$ac_cv_func_pow" = xyes; then :
13233 if test $ac_cv_func_pow = no; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13235 $as_echo_n "checking for pow in -lm... " >&6; }
13236 if ${ac_cv_lib_m_pow+:} false; then :
13237 $as_echo_n "(cached) " >&6
13239 ac_check_lib_save_LIBS=$LIBS
13241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13259 if ac_fn_c_try_link "$LINENO"; then :
13260 ac_cv_lib_m_pow=yes
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_lib_save_LIBS
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13269 $as_echo "$ac_cv_lib_m_pow" >&6; }
13270 if test "x$ac_cv_lib_m_pow" = xyes; then :
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
13274 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13281 for ac_func in atexit
13283 ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
13284 if test "x$ac_cv_func_atexit" = xyes; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define HAVE_ATEXIT 1
13292 for ac_func in memmove
13294 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
13295 if test "x$ac_cv_func_memmove" = xyes; then :
13296 cat >>confdefs.h <<_ACEOF
13297 #define HAVE_MEMMOVE 1
13303 for ac_func in memset
13305 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
13306 if test "x$ac_cv_func_memset" = xyes; then :
13307 cat >>confdefs.h <<_ACEOF
13308 #define HAVE_MEMSET 1
13314 for ac_func in socket
13316 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
13317 if test "x$ac_cv_func_socket" = xyes; then :
13318 cat >>confdefs.h <<_ACEOF
13319 #define HAVE_SOCKET 1
13325 for ac_func in strchr
13327 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
13328 if test "x$ac_cv_func_strchr" = xyes; then :
13329 cat >>confdefs.h <<_ACEOF
13330 #define HAVE_STRCHR 1
13336 for ac_func in strdup
13338 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
13339 if test "x$ac_cv_func_strdup" = xyes; then :
13340 cat >>confdefs.h <<_ACEOF
13341 #define HAVE_STRDUP 1
13347 for ac_func in strndup
13349 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
13350 if test "x$ac_cv_func_strndup" = xyes; then :
13351 cat >>confdefs.h <<_ACEOF
13352 #define HAVE_STRNDUP 1
13358 for ac_func in strtol
13360 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
13361 if test "x$ac_cv_func_strtol" = xyes; then :
13362 cat >>confdefs.h <<_ACEOF
13363 #define HAVE_STRTOL 1
13369 for ac_func in __secure_getenv secure_getenv
13371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13374 cat >>confdefs.h <<_ACEOF
13375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether preprocessor supports #pragma once" >&5
13383 $as_echo_n "checking whether preprocessor supports #pragma once... " >&6; }
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13395 if ac_fn_c_try_cpp "$LINENO"; then :
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13398 $as_echo "yes" >&6; }
13400 $as_echo "#define HAVE_PRAGMA_ONCE 1" >>confdefs.h
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13405 $as_echo "no" >&6; }
13407 rm -f conftest.err conftest.i conftest.$ac_ext
13422 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13423 if test -n "$ac_tool_prefix"; then
13424 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13425 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13427 $as_echo_n "checking for $ac_word... " >&6; }
13428 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13429 $as_echo_n "(cached) " >&6
13431 case $PKG_CONFIG in
13433 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437 for as_dir in $PATH
13440 test -z "$as_dir" && as_dir=.
13441 for ac_exec_ext in '' $ac_executable_extensions; do
13442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13443 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13454 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13455 if test -n "$PKG_CONFIG"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13457 $as_echo "$PKG_CONFIG" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13465 if test -z "$ac_cv_path_PKG_CONFIG"; then
13466 ac_pt_PKG_CONFIG=$PKG_CONFIG
13467 # Extract the first word of "pkg-config", so it can be a program name with args.
13468 set dummy pkg-config; ac_word=$2
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13470 $as_echo_n "checking for $ac_word... " >&6; }
13471 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13472 $as_echo_n "(cached) " >&6
13474 case $ac_pt_PKG_CONFIG in
13476 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13480 for as_dir in $PATH
13483 test -z "$as_dir" && as_dir=.
13484 for ac_exec_ext in '' $ac_executable_extensions; do
13485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13486 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13497 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13498 if test -n "$ac_pt_PKG_CONFIG"; then
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13500 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503 $as_echo "no" >&6; }
13506 if test "x$ac_pt_PKG_CONFIG" = x; then
13509 case $cross_compiling:$ac_tool_warned in
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13513 ac_tool_warned=yes ;;
13515 PKG_CONFIG=$ac_pt_PKG_CONFIG
13518 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13522 if test -n "$PKG_CONFIG"; then
13523 _pkg_min_version=0.9.0
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13525 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13526 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13528 $as_echo "yes" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13531 $as_echo "no" >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13538 $as_echo_n "checking for CHECK... " >&6; }
13540 if test -n "$CHECK_CFLAGS"; then
13541 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13542 elif test -n "$PKG_CONFIG"; then
13543 if test -n "$PKG_CONFIG" && \
13544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13545 ($PKG_CONFIG --exists --print-errors "check") 2>&5
13547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13548 test $ac_status = 0; }; then
13549 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
13550 test "x$?" != "x0" && pkg_failed=yes
13557 if test -n "$CHECK_LIBS"; then
13558 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13559 elif test -n "$PKG_CONFIG"; then
13560 if test -n "$PKG_CONFIG" && \
13561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13562 ($PKG_CONFIG --exists --print-errors "check") 2>&5
13564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13565 test $ac_status = 0; }; then
13566 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
13567 test "x$?" != "x0" && pkg_failed=yes
13577 if test $pkg_failed = yes; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579 $as_echo "no" >&6; }
13581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13582 _pkg_short_errors_supported=yes
13584 _pkg_short_errors_supported=no
13586 if test $_pkg_short_errors_supported = yes; then
13587 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
13589 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
13591 # Put the nasty error message in config.log where it belongs
13592 echo "$CHECK_PKG_ERRORS" >&5
13594 as_fn_error $? "Package requirements (check) were not met:
13598 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13599 installed software in a non-standard prefix.
13601 Alternatively, you may set the environment variables CHECK_CFLAGS
13602 and CHECK_LIBS to avoid the need to call pkg-config.
13603 See the pkg-config man page for more details." "$LINENO" 5
13604 elif test $pkg_failed = untried; then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13606 $as_echo "no" >&6; }
13607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13609 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13610 is in your PATH or set the PKG_CONFIG environment variable to the full
13611 path to pkg-config.
13613 Alternatively, you may set the environment variables CHECK_CFLAGS
13614 and CHECK_LIBS to avoid the need to call pkg-config.
13615 See the pkg-config man page for more details.
13617 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13618 See \`config.log' for more details" "$LINENO" 5; }
13620 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13621 CHECK_LIBS=$pkg_cv_CHECK_LIBS
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13623 $as_echo "yes" >&6; }
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
13629 $as_echo_n "checking for SYSTEMD... " >&6; }
13631 if test -n "$SYSTEMD_CFLAGS"; then
13632 pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
13633 elif test -n "$PKG_CONFIG"; then
13634 if test -n "$PKG_CONFIG" && \
13635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13636 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639 test $ac_status = 0; }; then
13640 pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
13641 test "x$?" != "x0" && pkg_failed=yes
13648 if test -n "$SYSTEMD_LIBS"; then
13649 pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
13650 elif test -n "$PKG_CONFIG"; then
13651 if test -n "$PKG_CONFIG" && \
13652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13653 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13656 test $ac_status = 0; }; then
13657 pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
13658 test "x$?" != "x0" && pkg_failed=yes
13668 if test $pkg_failed = yes; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13673 _pkg_short_errors_supported=yes
13675 _pkg_short_errors_supported=no
13677 if test $_pkg_short_errors_supported = yes; then
13678 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13680 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13682 # Put the nasty error message in config.log where it belongs
13683 echo "$SYSTEMD_PKG_ERRORS" >&5
13685 as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
13687 $SYSTEMD_PKG_ERRORS
13689 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13690 installed software in a non-standard prefix.
13692 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13693 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13694 See the pkg-config man page for more details." "$LINENO" 5
13695 elif test $pkg_failed = untried; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13700 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13701 is in your PATH or set the PKG_CONFIG environment variable to the full
13702 path to pkg-config.
13704 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13705 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13706 See the pkg-config man page for more details.
13708 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13709 See \`config.log' for more details" "$LINENO" 5; }
13711 SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
13712 SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13714 $as_echo "yes" >&6; }
13718 # Checks for header files.
13719 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13720 # for constant arguments. Useless!
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13722 $as_echo_n "checking for working alloca.h... " >&6; }
13723 if ${ac_cv_working_alloca_h+:} false; then :
13724 $as_echo_n "(cached) " >&6
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13728 #include <alloca.h>
13732 char *p = (char *) alloca (2 * sizeof (int));
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 ac_cv_working_alloca_h=yes
13741 ac_cv_working_alloca_h=no
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13747 $as_echo "$ac_cv_working_alloca_h" >&6; }
13748 if test $ac_cv_working_alloca_h = yes; then
13750 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13755 $as_echo_n "checking for alloca... " >&6; }
13756 if ${ac_cv_func_alloca_works+:} false; then :
13757 $as_echo_n "(cached) " >&6
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13762 # define alloca __builtin_alloca
13765 # include <malloc.h>
13766 # define alloca _alloca
13768 # ifdef HAVE_ALLOCA_H
13769 # include <alloca.h>
13774 # ifndef alloca /* predefined by HP cc +Olibcalls */
13775 void *alloca (size_t);
13785 char *p = (char *) alloca (1);
13791 if ac_fn_c_try_link "$LINENO"; then :
13792 ac_cv_func_alloca_works=yes
13794 ac_cv_func_alloca_works=no
13796 rm -f core conftest.err conftest.$ac_objext \
13797 conftest$ac_exeext conftest.$ac_ext
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13800 $as_echo "$ac_cv_func_alloca_works" >&6; }
13802 if test $ac_cv_func_alloca_works = yes; then
13804 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13807 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13808 # that cause trouble. Some versions do not even contain alloca or
13809 # contain a buggy version. If you still want to use their alloca,
13810 # use ar to extract alloca.o from them instead of compiling alloca.c.
13812 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13814 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13818 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13819 if ${ac_cv_os_cray+:} false; then :
13820 $as_echo_n "(cached) " >&6
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 #if defined CRAY && ! defined CRAY2
13831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13832 $EGREP "webecray" >/dev/null 2>&1; then :
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13841 $as_echo "$ac_cv_os_cray" >&6; }
13842 if test $ac_cv_os_cray = yes; then
13843 for ac_func in _getb67 GETB67 getb67; do
13844 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13846 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13848 cat >>confdefs.h <<_ACEOF
13849 #define CRAY_STACKSEG_END $ac_func
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13859 $as_echo_n "checking stack direction for C alloca... " >&6; }
13860 if ${ac_cv_c_stack_direction+:} false; then :
13861 $as_echo_n "(cached) " >&6
13863 if test "$cross_compiling" = yes; then :
13864 ac_cv_c_stack_direction=0
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13868 $ac_includes_default
13870 find_stack_direction (int *addr, int depth)
13872 int dir, dummy = 0;
13875 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
13876 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
13877 return dir + dummy;
13881 main (int argc, char **argv)
13883 return find_stack_direction (0, argc + !argv + 20) < 0;
13886 if ac_fn_c_try_run "$LINENO"; then :
13887 ac_cv_c_stack_direction=1
13889 ac_cv_c_stack_direction=-1
13891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13892 conftest.$ac_objext conftest.beam conftest.$ac_ext
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13897 $as_echo "$ac_cv_c_stack_direction" >&6; }
13898 cat >>confdefs.h <<_ACEOF
13899 #define STACK_DIRECTION $ac_cv_c_stack_direction
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
13906 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
13907 if ${ac_cv_header_stdbool_h+:} false; then :
13908 $as_echo_n "(cached) " >&6
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13913 #include <stdbool.h>
13915 "error: bool is not defined"
13918 "error: false is not defined"
13921 "error: false is not 0"
13924 "error: true is not defined"
13927 "error: true is not 1"
13929 #ifndef __bool_true_false_are_defined
13930 "error: __bool_true_false_are_defined is not defined"
13933 struct s { _Bool s: 1; _Bool t; } s;
13935 char a[true == 1 ? 1 : -1];
13936 char b[false == 0 ? 1 : -1];
13937 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
13938 char d[(bool) 0.5 == true ? 1 : -1];
13939 /* See body of main program for 'e'. */
13940 char f[(_Bool) 0.0 == false ? 1 : -1];
13942 char h[sizeof (_Bool)];
13943 char i[sizeof s.t];
13944 enum { j = false, k = true, l = false * true, m = true * 256 };
13945 /* The following fails for
13946 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
13948 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
13949 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
13950 /* Catch a bug in an HP-UX C compiler. See
13951 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
13952 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
13964 /* Refer to every declared value, to avoid compiler optimizations. */
13965 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
13966 + !m + !n + !o + !p + !q + !pq);
13972 if ac_fn_c_try_compile "$LINENO"; then :
13973 ac_cv_header_stdbool_h=yes
13975 ac_cv_header_stdbool_h=no
13977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
13980 $as_echo "$ac_cv_header_stdbool_h" >&6; }
13981 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
13982 if test "x$ac_cv_type__Bool" = xyes; then :
13984 cat >>confdefs.h <<_ACEOF
13985 #define HAVE__BOOL 1
13992 if test $ac_cv_header_stdbool_h = yes; then
13994 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
13998 for ac_header in attr/xattr.h
14000 ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
14001 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
14002 cat >>confdefs.h <<_ACEOF
14003 #define HAVE_ATTR_XATTR_H 1
14007 as_fn_error $? "Unable to find xattr headers" "$LINENO" 5
14012 for ac_header in fcntl.h
14014 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
14015 if test "x$ac_cv_header_fcntl_h" = xyes; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_FCNTL_H 1
14024 for ac_header in gdbm.h
14026 ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
14027 if test "x$ac_cv_header_gdbm_h" = xyes; then :
14028 cat >>confdefs.h <<_ACEOF
14029 #define HAVE_GDBM_H 1
14033 as_fn_error $? "Unable to find gdbm headers" "$LINENO" 5
14038 for ac_header in inttypes.h
14040 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
14041 if test "x$ac_cv_header_inttypes_h" = xyes; then :
14042 cat >>confdefs.h <<_ACEOF
14043 #define HAVE_INTTYPES_H 1
14050 for ac_header in limits.h
14052 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
14053 if test "x$ac_cv_header_limits_h" = xyes; then :
14054 cat >>confdefs.h <<_ACEOF
14055 #define HAVE_LIMITS_H 1
14062 for ac_header in locale.h
14064 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14065 if test "x$ac_cv_header_locale_h" = xyes; then :
14066 cat >>confdefs.h <<_ACEOF
14067 #define HAVE_LOCALE_H 1
14074 for ac_header in malloc.h
14076 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
14077 if test "x$ac_cv_header_malloc_h" = xyes; then :
14078 cat >>confdefs.h <<_ACEOF
14079 #define HAVE_MALLOC_H 1
14086 for ac_header in stddef.h
14088 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
14089 if test "x$ac_cv_header_stddef_h" = xyes; then :
14090 cat >>confdefs.h <<_ACEOF
14091 #define HAVE_STDDEF_H 1
14098 for ac_header in stdint.h
14100 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14101 if test "x$ac_cv_header_stdint_h" = xyes; then :
14102 cat >>confdefs.h <<_ACEOF
14103 #define HAVE_STDINT_H 1
14110 for ac_header in stdlib.h
14112 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14113 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14114 cat >>confdefs.h <<_ACEOF
14115 #define HAVE_STDLIB_H 1
14122 for ac_header in string.h
14124 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
14125 if test "x$ac_cv_header_string_h" = xyes; then :
14126 cat >>confdefs.h <<_ACEOF
14127 #define HAVE_STRING_H 1
14134 for ac_header in time.h
14136 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
14137 if test "x$ac_cv_header_time_h" = xyes; then :
14138 cat >>confdefs.h <<_ACEOF
14139 #define HAVE_TIME_H 1
14146 for ac_header in math.h
14148 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
14149 if test "x$ac_cv_header_math_h" = xyes; then :
14150 cat >>confdefs.h <<_ACEOF
14151 #define HAVE_MATH_H 1
14158 for ac_header in pthread.h
14160 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14161 if test "x$ac_cv_header_pthread_h" = xyes; then :
14162 cat >>confdefs.h <<_ACEOF
14163 #define HAVE_PTHREAD_H 1
14170 for ac_header in sys/param.h
14172 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
14173 if test "x$ac_cv_header_sys_param_h" = xyes; then :
14174 cat >>confdefs.h <<_ACEOF
14175 #define HAVE_SYS_PARAM_H 1
14182 for ac_header in sys/signalfd.h
14184 ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
14185 if test "x$ac_cv_header_sys_signalfd_h" = xyes; then :
14186 cat >>confdefs.h <<_ACEOF
14187 #define HAVE_SYS_SIGNALFD_H 1
14194 for ac_header in sys/socket.h
14196 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
14197 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
14198 cat >>confdefs.h <<_ACEOF
14199 #define HAVE_SYS_SOCKET_H 1
14206 for ac_header in sys/stat.h
14208 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
14209 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
14210 cat >>confdefs.h <<_ACEOF
14211 #define HAVE_SYS_STAT_H 1
14218 for ac_header in sys/time.h
14220 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
14221 if test "x$ac_cv_header_sys_time_h" = xyes; then :
14222 cat >>confdefs.h <<_ACEOF
14223 #define HAVE_SYS_TIME_H 1
14230 for ac_header in unistd.h
14232 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
14233 if test "x$ac_cv_header_unistd_h" = xyes; then :
14234 cat >>confdefs.h <<_ACEOF
14235 #define HAVE_UNISTD_H 1
14242 for ac_header in linux/inotify.h
14244 ac_fn_c_check_header_mongrel "$LINENO" "linux/inotify.h" "ac_cv_header_linux_inotify_h" "$ac_includes_default"
14245 if test "x$ac_cv_header_linux_inotify_h" = xyes; then :
14246 cat >>confdefs.h <<_ACEOF
14247 #define HAVE_LINUX_INOTIFY_H 1
14254 ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
14255 if test "x$ac_cv_func_inotify_init" = xyes; then :
14262 # Check whether --with-systemdsystemunitdir was given.
14263 if test "${with_systemdsystemunitdir+set}" = set; then :
14264 withval=$with_systemdsystemunitdir; path_systemdsystemunit=${withval}
14266 path_systemdsystemunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"
14269 SYSTEMD_SYSTEMUNITDIR="${path_systemdsystemunit}"
14271 if test -n "${path_systemdsystemunit}"; then
14281 # Check whether --with-user was given.
14282 if test "${with_user+set}" = set; then :
14283 withval=$with_user; username=${withval}
14288 BUXTON_USERNAME="${username}"
14291 INIPARSER_CFLAGS="-I${srcdir}/src/shared/"
14293 # Check whether --with-local-iniparser was given.
14294 if test "${with_local_iniparser+set}" = set; then :
14295 withval=$with_local_iniparser; use_local_iniparser="true"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INIPARSER" >&5
14300 $as_echo_n "checking for INIPARSER... " >&6; }
14302 if test -n "$INIPARSER_CFLAGS"; then
14303 pkg_cv_INIPARSER_CFLAGS="$INIPARSER_CFLAGS"
14304 elif test -n "$PKG_CONFIG"; then
14305 if test -n "$PKG_CONFIG" && \
14306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14307 ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310 test $ac_status = 0; }; then
14311 pkg_cv_INIPARSER_CFLAGS=`$PKG_CONFIG --cflags "iniparser >= 3.1" 2>/dev/null`
14312 test "x$?" != "x0" && pkg_failed=yes
14319 if test -n "$INIPARSER_LIBS"; then
14320 pkg_cv_INIPARSER_LIBS="$INIPARSER_LIBS"
14321 elif test -n "$PKG_CONFIG"; then
14322 if test -n "$PKG_CONFIG" && \
14323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14324 ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14327 test $ac_status = 0; }; then
14328 pkg_cv_INIPARSER_LIBS=`$PKG_CONFIG --libs "iniparser >= 3.1" 2>/dev/null`
14329 test "x$?" != "x0" && pkg_failed=yes
14339 if test $pkg_failed = yes; then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14344 _pkg_short_errors_supported=yes
14346 _pkg_short_errors_supported=no
14348 if test $_pkg_short_errors_supported = yes; then
14349 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14351 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14353 # Put the nasty error message in config.log where it belongs
14354 echo "$INIPARSER_PKG_ERRORS" >&5
14356 use_local_iniparser="true";
14357 elif test $pkg_failed = untried; then
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359 $as_echo "no" >&6; }
14360 use_local_iniparser="true";
14362 INIPARSER_CFLAGS=$pkg_cv_INIPARSER_CFLAGS
14363 INIPARSER_LIBS=$pkg_cv_INIPARSER_LIBS
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14365 $as_echo "yes" >&6; }
14366 use_local_iniparser="false"
14370 if test x$use_local_iniparser = x"true"; then
14371 USE_LOCAL_INIPARSER_TRUE=
14372 USE_LOCAL_INIPARSER_FALSE='#'
14374 USE_LOCAL_INIPARSER_TRUE='#'
14375 USE_LOCAL_INIPARSER_FALSE=
14380 # Check whether --with-module-dir was given.
14381 if test "${with_module_dir+set}" = set; then :
14382 withval=$with_module_dir; moduledir=${withval}
14384 moduledir="${libdir}/buxton"
14387 MODULEDIR="${moduledir}"
14391 # Check whether --with-config-path was given.
14392 if test "${with_config_path+set}" = set; then :
14393 withval=$with_config_path; confpath=${withval}
14395 confpath="${sysconfdir}/buxton.conf"
14398 CONFPATH="${confpath}"
14402 # Check whether --with-db-path was given.
14403 if test "${with_db_path+set}" = set; then :
14404 withval=$with_db_path; dbpath=${withval}
14406 dbpath="${localstatedir}/lib/buxton"
14409 DB_PATH="${dbpath}"
14413 # Check whether --with-socket-path was given.
14414 if test "${with_socket_path+set}" = set; then :
14415 withval=$with_socket_path; socketpath=${withval}
14417 socketpath="/run/buxton-0"
14420 BUXTON_SOCKET="${socketpath}"
14424 # Check whether --with-smack-load-file was given.
14425 if test "${with_smack_load_file+set}" = set; then :
14426 withval=$with_smack_load_file; smack_load_file=${withval}
14428 smack_load_file="/sys/fs/smackfs/load2"
14431 SMACK_LOAD_FILE="${smack_load_file}"
14434 # Check whether --enable-debug was given.
14435 if test "${enable_debug+set}" = set; then :
14436 enableval=$enable_debug;
14441 if test "x$enable_debug" = "xyes"; then :
14443 $as_echo "#define DEBUG 1" >>confdefs.h
14447 $as_echo "#define NDEBUG 1" >>confdefs.h
14450 if test x$enable_debug = x"yes"; then
14459 # Check whether --enable-manpages was given.
14460 if test "${enable_manpages+set}" = set; then :
14461 enableval=$enable_manpages;
14463 enable_manpages=yes
14466 if test "x$enable_manpages" = "xyes"; then :
14468 $as_echo "#define MANPAGE 1" >>confdefs.h
14472 $as_echo "#define NMANPAGE 1" >>confdefs.h
14475 if test x$enable_manpages = x"yes"; then
14485 # Check whether --enable-coverage was given.
14486 if test "${enable_coverage+set}" = set; then :
14487 enableval=$enable_coverage;
14490 if test "x$enable_coverage" = "xyes" ; then
14491 # Extract the first word of "lcov", so it can be a program name with args.
14492 set dummy lcov; ac_word=$2
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14494 $as_echo_n "checking for $ac_word... " >&6; }
14495 if ${ac_cv_prog_lcov_found+:} false; then :
14496 $as_echo_n "(cached) " >&6
14498 if test -n "$lcov_found"; then
14499 ac_cv_prog_lcov_found="$lcov_found" # Let the user override the test.
14501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14502 for as_dir in $PATH
14505 test -z "$as_dir" && as_dir=.
14506 for ac_exec_ext in '' $ac_executable_extensions; do
14507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14508 ac_cv_prog_lcov_found="yes"
14509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14516 test -z "$ac_cv_prog_lcov_found" && ac_cv_prog_lcov_found="no"
14519 lcov_found=$ac_cv_prog_lcov_found
14520 if test -n "$lcov_found"; then
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcov_found" >&5
14522 $as_echo "$lcov_found" >&6; }
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14525 $as_echo "no" >&6; }
14529 if test "x$lcov_found" = xno ; then
14530 as_fn_error $? "*** lcov support requested but the program was not found" "$LINENO" 5
14532 lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
14533 lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
14534 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
14535 as_fn_error $? "*** lcov version is too old. 1.10 required" "$LINENO" 5
14539 $as_echo "#define COVERAGE 1" >>confdefs.h
14544 if test "$have_coverage" = "yes"; then
14553 # Check whether --enable-demos was given.
14554 if test "${enable_demos+set}" = set; then :
14555 enableval=$enable_demos;
14560 if test "x$enable_demos" = "xyes"; then :
14562 $as_echo "#define DEMOS 1" >>confdefs.h
14565 if test x$enable_demos = x"yes"; then
14567 BUILD_DEMOS_FALSE='#'
14569 BUILD_DEMOS_TRUE='#'
14575 # Check whether --enable-gtk-demo was given.
14576 if test "${enable_gtk_demo+set}" = set; then :
14577 enableval=$enable_gtk_demo;
14582 if test "x$enable_gtk_demo" = "xyes"; then :
14584 $as_echo "#define DEMOS 1" >>confdefs.h
14587 if test x$enable_gtk_demo = x"yes"; then
14588 BUILD_GTK_DEMO_TRUE=
14589 BUILD_GTK_DEMO_FALSE='#'
14591 BUILD_GTK_DEMO_TRUE='#'
14592 BUILD_GTK_DEMO_FALSE=
14596 if test "x$enable_gtk_demo" = "xyes"; then
14597 # Require GTK3 for client demonstration
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
14601 $as_echo_n "checking for GTK3... " >&6; }
14603 if test -n "$GTK3_CFLAGS"; then
14604 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
14605 elif test -n "$PKG_CONFIG"; then
14606 if test -n "$PKG_CONFIG" && \
14607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14608 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611 test $ac_status = 0; }; then
14612 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.10" 2>/dev/null`
14613 test "x$?" != "x0" && pkg_failed=yes
14620 if test -n "$GTK3_LIBS"; then
14621 pkg_cv_GTK3_LIBS="$GTK3_LIBS"
14622 elif test -n "$PKG_CONFIG"; then
14623 if test -n "$PKG_CONFIG" && \
14624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14625 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14628 test $ac_status = 0; }; then
14629 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.10" 2>/dev/null`
14630 test "x$?" != "x0" && pkg_failed=yes
14640 if test $pkg_failed = yes; then
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14642 $as_echo "no" >&6; }
14644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14645 _pkg_short_errors_supported=yes
14647 _pkg_short_errors_supported=no
14649 if test $_pkg_short_errors_supported = yes; then
14650 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14652 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14654 # Put the nasty error message in config.log where it belongs
14655 echo "$GTK3_PKG_ERRORS" >&5
14657 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.10) were not met:
14661 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14662 installed software in a non-standard prefix.
14664 Alternatively, you may set the environment variables GTK3_CFLAGS
14665 and GTK3_LIBS to avoid the need to call pkg-config.
14666 See the pkg-config man page for more details." "$LINENO" 5
14667 elif test $pkg_failed = untried; then
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14669 $as_echo "no" >&6; }
14670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14672 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14673 is in your PATH or set the PKG_CONFIG environment variable to the full
14674 path to pkg-config.
14676 Alternatively, you may set the environment variables GTK3_CFLAGS
14677 and GTK3_LIBS to avoid the need to call pkg-config.
14678 See the pkg-config man page for more details.
14680 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14681 See \`config.log' for more details" "$LINENO" 5; }
14683 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
14684 GTK3_LIBS=$pkg_cv_GTK3_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14686 $as_echo "yes" >&6; }
14691 ac_config_commands="$ac_config_commands mkdir"
14693 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"
14695 cat >confcache <<\_ACEOF
14696 # This file is a shell script that caches the results of configure
14697 # tests run on this system so they can be shared between configure
14698 # scripts and configure runs, see configure's option --config-cache.
14699 # It is not useful on other systems. If it contains results you don't
14700 # want to keep, you may remove or edit it.
14702 # config.status only pays attention to the cache file if you give it
14703 # the --recheck option to rerun configure.
14705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14707 # following values.
14711 # The following way of writing the cache mishandles newlines in values,
14712 # but we know of no workaround that is simple, portable, and efficient.
14713 # So, we kill variables containing newlines.
14714 # Ultrix sh set writes to stderr and can't be redirected directly,
14715 # and sets the high bit in the cache file unless we assign to the vars.
14717 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14718 eval ac_val=\$$ac_var
14722 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14723 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14726 _ | IFS | as_nl) ;; #(
14727 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14728 *) { eval $ac_var=; unset $ac_var;} ;;
14734 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14735 *${as_nl}ac_space=\ *)
14736 # `set' does not quote correctly, so add quotes: double-quote
14737 # substitution turns \\\\ into \\, and sed turns \\ into \.
14740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14743 # `set' quotes correctly as required by POSIX, so do not add quotes.
14744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14755 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14757 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14758 if test -w "$cache_file"; then
14759 if test "x$cache_file" != "x/dev/null"; then
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14761 $as_echo "$as_me: updating cache $cache_file" >&6;}
14762 if test ! -f "$cache_file" || test -h "$cache_file"; then
14763 cat confcache >"$cache_file"
14765 case $cache_file in #(
14767 mv -f confcache "$cache_file"$$ &&
14768 mv -f "$cache_file"$$ "$cache_file" ;; #(
14770 mv -f confcache "$cache_file" ;;
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14782 # Let make expand exec_prefix.
14783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14785 DEFS=-DHAVE_CONFIG_H
14790 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14791 # 1. Remove the extension, and $U if already installed.
14792 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14793 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14794 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14795 # will be set to the directory where LIBOBJS objects are built.
14796 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14797 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14799 LIBOBJS=$ac_libobjs
14801 LTLIBOBJS=$ac_ltlibobjs
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14805 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14806 if test -n "$am_sleep_pid"; then
14807 # Hide warnings about reused PIDs.
14808 wait $am_sleep_pid 2>/dev/null
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14811 $as_echo "done" >&6; }
14812 if test -n "$EXEEXT"; then
14814 am__EXEEXT_FALSE='#'
14816 am__EXEEXT_TRUE='#'
14820 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14821 as_fn_error $? "conditional \"AMDEP\" was never defined.
14822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14824 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14825 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14829 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14832 if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
14833 as_fn_error $? "conditional \"SYSTEMD\" was never defined.
14834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14836 if test -z "${USE_LOCAL_INIPARSER_TRUE}" && test -z "${USE_LOCAL_INIPARSER_FALSE}"; then
14837 as_fn_error $? "conditional \"USE_LOCAL_INIPARSER\" was never defined.
14838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14840 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
14841 as_fn_error $? "conditional \"DEBUG\" was never defined.
14842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14844 if test -z "${MANPAGE_TRUE}" && test -z "${MANPAGE_FALSE}"; then
14845 as_fn_error $? "conditional \"MANPAGE\" was never defined.
14846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14848 if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
14849 as_fn_error $? "conditional \"COVERAGE\" was never defined.
14850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14852 if test -z "${BUILD_DEMOS_TRUE}" && test -z "${BUILD_DEMOS_FALSE}"; then
14853 as_fn_error $? "conditional \"BUILD_DEMOS\" was never defined.
14854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14856 if test -z "${BUILD_GTK_DEMO_TRUE}" && test -z "${BUILD_GTK_DEMO_FALSE}"; then
14857 as_fn_error $? "conditional \"BUILD_GTK_DEMO\" was never defined.
14858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14861 : "${CONFIG_STATUS=./config.status}"
14863 ac_clean_files_save=$ac_clean_files
14864 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14866 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14868 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14870 # Generated by $as_me.
14871 # Run this file to recreate the current configuration.
14872 # Compiler output produced by configure, useful for debugging
14873 # configure, is in config.log if it exists.
14876 ac_cs_recheck=false
14879 SHELL=\${CONFIG_SHELL-$SHELL}
14882 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14883 ## -------------------- ##
14884 ## M4sh Initialization. ##
14885 ## -------------------- ##
14887 # Be more Bourne compatible
14888 DUALCASE=1; export DUALCASE # for MKS sh
14889 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14892 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14893 # is contrary to our usage. Disable this feature.
14894 alias -g '${1+"$@"}'='"$@"'
14895 setopt NO_GLOB_SUBST
14897 case `(set -o) 2>/dev/null` in #(
14909 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14910 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14912 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14913 # Prefer a ksh shell builtin over an external printf program on Solaris,
14914 # but without wasting forks for bash or zsh.
14915 if test -z "$BASH_VERSION$ZSH_VERSION" \
14916 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14917 as_echo='print -r --'
14918 as_echo_n='print -rn --'
14919 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14920 as_echo='printf %s\n'
14921 as_echo_n='printf %s'
14923 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14924 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14925 as_echo_n='/usr/ucb/echo -n'
14927 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14928 as_echo_n_body='eval
14932 expr "X$arg" : "X\\(.*\\)$as_nl";
14933 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14935 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14937 export as_echo_n_body
14938 as_echo_n='sh -c $as_echo_n_body as_echo'
14940 export as_echo_body
14941 as_echo='sh -c $as_echo_body as_echo'
14944 # The user is always right.
14945 if test "${PATH_SEPARATOR+set}" != set; then
14947 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14948 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14955 # We need space, tab and new line, in precisely that order. Quoting is
14956 # there to prevent editors from complaining about space-tab.
14957 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14958 # splitting by setting IFS to empty value.)
14961 # Find who we are. Look in the path if we contain no directory separator.
14964 *[\\/]* ) as_myself=$0 ;;
14965 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14966 for as_dir in $PATH
14969 test -z "$as_dir" && as_dir=.
14970 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14976 # We did not find ourselves, most probably we were run as `sh COMMAND'
14977 # in which case we are not to be found in the path.
14978 if test "x$as_myself" = x; then
14981 if test ! -f "$as_myself"; then
14982 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14986 # Unset variables that we do not need and which cause bugs (e.g. in
14987 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14988 # suppresses any "Segmentation fault" message there. '((' could
14989 # trigger a bug in pdksh 5.2.14.
14990 for as_var in BASH_ENV ENV MAIL MAILPATH
14991 do eval test x\${$as_var+set} = xset \
14992 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15005 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15008 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15009 # ----------------------------------------
15010 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15011 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15012 # script with STATUS, using 1 if that was 0.
15015 as_status=$1; test $as_status -eq 0 && as_status=1
15017 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15018 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15020 $as_echo "$as_me: error: $2" >&2
15021 as_fn_exit $as_status
15025 # as_fn_set_status STATUS
15026 # -----------------------
15027 # Set $? to STATUS, without forking.
15028 as_fn_set_status ()
15031 } # as_fn_set_status
15033 # as_fn_exit STATUS
15034 # -----------------
15035 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15039 as_fn_set_status $1
15045 # Portably unset VAR.
15048 { eval $1=; unset $1;}
15050 as_unset=as_fn_unset
15051 # as_fn_append VAR VALUE
15052 # ----------------------
15053 # Append the text in VALUE to the end of the definition contained in VAR. Take
15054 # advantage of any shell optimizations that allow amortized linear growth over
15055 # repeated appends, instead of the typical quadratic growth present in naive
15057 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15058 eval 'as_fn_append ()
15069 # as_fn_arith ARG...
15070 # ------------------
15071 # Perform arithmetic evaluation on the ARGs, and store the result in the
15072 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15073 # must be portable across $(()) and expr.
15074 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15075 eval 'as_fn_arith ()
15082 as_val=`expr "$@" || test $? -eq 1`
15087 if expr a : '\(a\)' >/dev/null 2>&1 &&
15088 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15094 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15095 as_basename=basename
15100 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15106 as_me=`$as_basename -- "$0" ||
15107 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15108 X"$0" : 'X\(//\)$' \| \
15109 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15111 sed '/^.*\/\([^/][^/]*\)\/*$/{
15125 # Avoid depending upon Character Ranges.
15126 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15127 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15128 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15129 as_cr_digits='0123456789'
15130 as_cr_alnum=$as_cr_Letters$as_cr_digits
15132 ECHO_C= ECHO_N= ECHO_T=
15133 case `echo -n x` in #(((((
15135 case `echo 'xy\c'` in
15136 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15138 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15145 rm -f conf$$ conf$$.exe conf$$.file
15146 if test -d conf$$.dir; then
15147 rm -f conf$$.dir/conf$$.file
15150 mkdir conf$$.dir 2>/dev/null
15152 if (echo >conf$$.file) 2>/dev/null; then
15153 if ln -s conf$$.file conf$$ 2>/dev/null; then
15155 # ... but there are two gotchas:
15156 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15157 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15158 # In both cases, we have to default to `cp -pR'.
15159 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15161 elif ln conf$$.file conf$$ 2>/dev/null; then
15169 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15170 rmdir conf$$.dir 2>/dev/null
15175 # Create "$as_dir" as a directory, including parents if necessary.
15180 -*) as_dir=./$as_dir;;
15182 test -d "$as_dir" || eval $as_mkdir_p || {
15186 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15187 *) as_qdir=$as_dir;;
15189 as_dirs="'$as_qdir' $as_dirs"
15190 as_dir=`$as_dirname -- "$as_dir" ||
15191 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15192 X"$as_dir" : 'X\(//\)[^/]' \| \
15193 X"$as_dir" : 'X\(//\)$' \| \
15194 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15195 $as_echo X"$as_dir" |
15196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15200 /^X\(\/\/\)[^/].*/{
15213 test -d "$as_dir" && break
15215 test -z "$as_dirs" || eval "mkdir $as_dirs"
15216 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15220 if mkdir -p . 2>/dev/null; then
15221 as_mkdir_p='mkdir -p "$as_dir"'
15223 test -d ./-p && rmdir ./-p
15228 # as_fn_executable_p FILE
15229 # -----------------------
15230 # Test if FILE is an executable regular file.
15231 as_fn_executable_p ()
15233 test -f "$1" && test -x "$1"
15234 } # as_fn_executable_p
15235 as_test_x='test -x'
15236 as_executable_p=as_fn_executable_p
15238 # Sed expression to map a string onto a valid CPP name.
15239 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15241 # Sed expression to map a string onto a valid variable name.
15242 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15246 ## ----------------------------------- ##
15247 ## Main body of $CONFIG_STATUS script. ##
15248 ## ----------------------------------- ##
15250 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15253 # Save the log message, to keep $0 and so on meaningful, and to
15254 # report actual input values of CONFIG_FILES etc. instead of their
15255 # values after options handling.
15257 This file was extended by buxton $as_me 5, which was
15258 generated by GNU Autoconf 2.69. Invocation command line was
15260 CONFIG_FILES = $CONFIG_FILES
15261 CONFIG_HEADERS = $CONFIG_HEADERS
15262 CONFIG_LINKS = $CONFIG_LINKS
15263 CONFIG_COMMANDS = $CONFIG_COMMANDS
15266 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15271 case $ac_config_files in *"
15272 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15275 case $ac_config_headers in *"
15276 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15281 # Files that config.status was made for.
15282 config_files="$ac_config_files"
15283 config_headers="$ac_config_headers"
15284 config_commands="$ac_config_commands"
15288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15290 \`$as_me' instantiates files and other configuration actions
15291 from templates according to the current configuration. Unless the files
15292 and actions are specified as TAGs, all are instantiated by default.
15294 Usage: $0 [OPTION]... [TAG]...
15296 -h, --help print this help, then exit
15297 -V, --version print version number and configuration settings, then exit
15298 --config print configuration, then exit
15299 -q, --quiet, --silent
15300 do not print progress messages
15301 -d, --debug don't remove temporary files
15302 --recheck update $as_me by reconfiguring in the same conditions
15303 --file=FILE[:TEMPLATE]
15304 instantiate the configuration file FILE
15305 --header=FILE[:TEMPLATE]
15306 instantiate the configuration header FILE
15308 Configuration files:
15311 Configuration headers:
15314 Configuration commands:
15317 Report bugs to <william.douglas@intel.com>.
15318 buxton home page: <https://github.com/sofar/buxton>."
15321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15322 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15324 buxton config.status 5
15325 configured by $0, generated by GNU Autoconf 2.69,
15326 with options \\"\$ac_cs_config\\"
15328 Copyright (C) 2012 Free Software Foundation, Inc.
15329 This config.status script is free software; the Free Software Foundation
15330 gives unlimited permission to copy, distribute and modify it."
15337 test -n "\$AWK" || AWK=awk
15340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15341 # The default lists apply if the user does not specify any file.
15347 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15348 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15352 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15364 # Handling of the options.
15365 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15367 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15368 $as_echo "$ac_cs_version"; exit ;;
15369 --config | --confi | --conf | --con | --co | --c )
15370 $as_echo "$ac_cs_config"; exit ;;
15371 --debug | --debu | --deb | --de | --d | -d )
15373 --file | --fil | --fi | --f )
15376 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15377 '') as_fn_error $? "missing file argument" ;;
15379 as_fn_append CONFIG_FILES " '$ac_optarg'"
15380 ac_need_defaults=false;;
15381 --header | --heade | --head | --hea )
15384 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15386 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15387 ac_need_defaults=false;;
15389 # Conflict between --help and --header
15390 as_fn_error $? "ambiguous option: \`$1'
15391 Try \`$0 --help' for more information.";;
15392 --help | --hel | -h )
15393 $as_echo "$ac_cs_usage"; exit ;;
15394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15395 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15398 # This is an error.
15399 -*) as_fn_error $? "unrecognized option: \`$1'
15400 Try \`$0 --help' for more information." ;;
15402 *) as_fn_append ac_config_targets " $1"
15403 ac_need_defaults=false ;;
15409 ac_configure_extra_args=
15411 if $ac_cs_silent; then
15413 ac_configure_extra_args="$ac_configure_extra_args --silent"
15417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15418 if \$ac_cs_recheck; then
15419 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15421 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15422 CONFIG_SHELL='$SHELL'
15423 export CONFIG_SHELL
15428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15432 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15433 ## Running $as_me. ##
15439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15443 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15446 # The HP-UX ksh and POSIX shell print the target directory to stdout
15447 # if CDPATH is set.
15448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15450 sed_quote_subst='$sed_quote_subst'
15451 double_quote_subst='$double_quote_subst'
15452 delay_variable_subst='$delay_variable_subst'
15453 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15454 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15455 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15456 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15457 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15458 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15459 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15460 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15461 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15462 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15463 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15464 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15465 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15466 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15467 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15468 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15469 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15470 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15471 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15472 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15473 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15474 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15475 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15476 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15477 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15478 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15479 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15480 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15481 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15482 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15483 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15484 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15485 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15486 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15487 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15488 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15489 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15490 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15491 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15492 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15493 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15494 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15495 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15496 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15497 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15498 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15499 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15500 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15501 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15502 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15503 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15504 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15505 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15506 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15507 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15508 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15509 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"`'
15510 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15511 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15512 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15513 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15514 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15515 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15516 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15517 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15518 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15519 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15520 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15521 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15522 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15523 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15524 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15525 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15526 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15527 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15528 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15529 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15530 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15531 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15532 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15533 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15534 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15535 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15536 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15537 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15538 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15539 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15540 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15541 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15542 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15543 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15544 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15545 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15546 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15547 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15548 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15549 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15550 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15551 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15552 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15553 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15554 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15555 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15556 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15557 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15558 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15559 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15560 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15561 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15562 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15563 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15564 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15565 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15566 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15567 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15568 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15569 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15570 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15571 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15572 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15573 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15574 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15575 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15576 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15577 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15578 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15579 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15580 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15581 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15582 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15585 LTCFLAGS='$LTCFLAGS'
15586 compiler='$compiler_DEFAULT'
15588 # A function that is used when there is no print builtin or printf.
15589 func_fallback_echo ()
15591 eval 'cat <<_LTECHO_EOF
15596 # Quote evaled strings.
15611 deplibs_check_method \
15616 sharedlib_from_linklib_cmd \
15619 archiver_list_spec \
15625 lt_cv_sys_global_symbol_pipe \
15626 lt_cv_sys_global_symbol_to_cdecl \
15627 lt_cv_sys_global_symbol_to_c_name_address \
15628 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15629 nm_file_list_spec \
15630 lt_prog_compiler_no_builtin_flag \
15631 lt_prog_compiler_pic \
15632 lt_prog_compiler_wl \
15633 lt_prog_compiler_static \
15634 lt_cv_prog_compiler_c_o \
15643 export_dynamic_flag_spec \
15644 whole_archive_flag_spec \
15645 compiler_needs_object \
15647 allow_undefined_flag \
15648 no_undefined_flag \
15649 hardcode_libdir_flag_spec \
15650 hardcode_libdir_separator \
15654 variables_saved_for_relink \
15656 library_names_spec \
15658 install_override_mode \
15662 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15663 *[\\\\\\\`\\"\\\$]*)
15664 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15667 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15672 # Double-quote double-evaled strings.
15673 for var in reload_cmds \
15674 old_postinstall_cmds \
15675 old_postuninstall_cmds \
15677 extract_expsyms_cmds \
15678 old_archive_from_new_cmds \
15679 old_archive_from_expsyms_cmds \
15681 archive_expsym_cmds \
15683 module_expsym_cmds \
15684 export_symbols_cmds \
15688 postuninstall_cmds \
15690 sys_lib_search_path_spec \
15691 sys_lib_dlsearch_path_spec; do
15692 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15693 *[\\\\\\\`\\"\\\$]*)
15694 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15697 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15702 ac_aux_dir='$ac_aux_dir'
15703 xsi_shell='$xsi_shell'
15704 lt_shell_append='$lt_shell_append'
15706 # See if we are running on zsh, and set the options which allow our
15707 # commands through without removal of \ escapes INIT.
15708 if test -n "\${ZSH_VERSION+set}" ; then
15709 setopt NO_GLOB_SUBST
15715 TIMESTAMP='$TIMESTAMP'
15724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15726 # Handling of arguments.
15727 for ac_config_target in $ac_config_targets
15729 case $ac_config_target in
15730 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15731 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15732 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15733 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15734 "mkdir") CONFIG_COMMANDS="$CONFIG_COMMANDS mkdir" ;;
15735 "data/buxton.service") CONFIG_FILES="$CONFIG_FILES data/buxton.service" ;;
15736 "data/buxton.socket") CONFIG_FILES="$CONFIG_FILES data/buxton.socket" ;;
15737 "data/buxton.pc") CONFIG_FILES="$CONFIG_FILES data/buxton.pc" ;;
15738 "data/buxtonsimple.pc") CONFIG_FILES="$CONFIG_FILES data/buxtonsimple.pc" ;;
15739 "test/test-pass.ini") CONFIG_FILES="$CONFIG_FILES test/test-pass.ini" ;;
15740 "test/test-fail.ini") CONFIG_FILES="$CONFIG_FILES test/test-fail.ini" ;;
15741 "test/test.conf") CONFIG_FILES="$CONFIG_FILES test/test.conf" ;;
15743 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15748 # If the user did not use the arguments to specify the items to instantiate,
15749 # then the envvar interface is used. Set only those that are not.
15750 # We use the long form for the default assignment because of an extremely
15751 # bizarre bug on SunOS 4.1.3.
15752 if $ac_need_defaults; then
15753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15755 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15758 # Have a temporary directory for convenience. Make it in the build tree
15759 # simply because there is no reason against having it here, and in addition,
15760 # creating and moving files from /tmp can sometimes cause problems.
15761 # Hook for its removal unless debugging.
15762 # Note that there is a small window in which the directory will not be cleaned:
15763 # after its creation but before its name has been assigned to `$tmp'.
15767 trap 'exit_status=$?
15768 : "${ac_tmp:=$tmp}"
15769 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15771 trap 'as_fn_exit 1' 1 2 13 15
15773 # Create a (secure) tmp directory for tmp files.
15776 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15780 tmp=./conf$$-$RANDOM
15781 (umask 077 && mkdir "$tmp")
15782 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15785 # Set up the scripts for CONFIG_FILES section.
15786 # No need to generate them if there are no CONFIG_FILES.
15787 # This happens for instance with `./config.status config.h'.
15788 if test -n "$CONFIG_FILES"; then
15791 ac_cr=`echo X | tr X '\015'`
15792 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15793 # But we know of no other shell where ac_cr would be empty at this
15794 # point, so we can use a bashism as a fallback.
15795 if test "x$ac_cr" = x; then
15796 eval ac_cr=\$\'\\r\'
15798 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15799 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15802 ac_cs_awk_cr=$ac_cr
15805 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15810 echo "cat >conf$$subs.awk <<_ACEOF" &&
15811 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15813 } >conf$$subs.sh ||
15814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15815 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15817 for ac_last_try in false false false false false :; do
15818 . ./conf$$subs.sh ||
15819 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15821 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15822 if test $ac_delim_n = $ac_delim_num; then
15824 elif $ac_last_try; then
15825 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15827 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15830 rm -f conf$$subs.sh
15832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15833 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15837 s/^/S["/; s/!.*/"]=/
15847 s/\(.\{148\}\)..*/\1/
15849 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15854 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15861 s/\(.\{148\}\)..*/\1/
15863 s/["\\]/\\&/g; s/^/"/; s/$/"/
15867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15872 ' <conf$$subs.awk | sed '
15877 ' >>$CONFIG_STATUS || ac_write_fail=1
15878 rm -f conf$$subs.awk
15879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15881 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15882 for (key in S) S_is_set[key] = 1
15888 nfields = split(line, field, "@")
15890 len = length(field[1])
15891 for (i = 2; i < nfields; i++) {
15893 keylen = length(key)
15894 if (S_is_set[key]) {
15896 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15897 len += length(value) + length(field[++i])
15908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15909 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15910 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15913 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15914 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15917 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15918 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15919 # trailing colons and then remove the whole line if VPATH becomes empty
15920 # (actually we leave an empty line to preserve line numbers).
15921 if test "x$srcdir" = x.; then
15922 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15941 fi # test -n "$CONFIG_FILES"
15943 # Set up the scripts for CONFIG_HEADERS section.
15944 # No need to generate them if there are no CONFIG_HEADERS.
15945 # This happens for instance with `./config.status Makefile'.
15946 if test -n "$CONFIG_HEADERS"; then
15947 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15951 # Transform confdefs.h into an awk script `defines.awk', embedded as
15952 # here-document in config.status, that substitutes the proper values into
15953 # config.h.in to produce config.h.
15955 # Create a delimiter string that does not exist in confdefs.h, to ease
15956 # handling of long lines.
15958 for ac_last_try in false false :; do
15959 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15960 if test -z "$ac_tt"; then
15962 elif $ac_last_try; then
15963 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15965 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15969 # For the awk script, D is an array of macro values keyed by name,
15970 # likewise P contains macro parameters if any. Preserve backslash
15971 # newline sequences.
15973 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15975 s/.\{148\}/&'"$ac_delim"'/g
15978 s/^[ ]*#[ ]*define[ ][ ]*/ /
15985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15987 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15991 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15992 D["\1"]=" \3\\\\\\n"\\/p
15994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15999 s/.\{148\}/&'"$ac_delim"'/g
16004 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16007 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16009 ' <confdefs.h | sed '
16010 s/'"$ac_delim"'/"\\\
16011 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16014 for (key in D) D_is_set[key] = 1
16017 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16019 split(line, arg, " ")
16020 if (arg[1] == "#") {
16024 defundef = substr(arg[1], 2)
16027 split(mac1, mac2, "(") #)
16029 prefix = substr(line, 1, index(line, defundef) - 1)
16030 if (D_is_set[macro]) {
16031 # Preserve the white space surrounding the "#".
16032 print prefix "define", macro P[macro] D[macro]
16035 # Replace #undef with comments. This is necessary, for example,
16036 # in the case of _POSIX_SOURCE, which is predefined and required
16037 # on some systems where configure will not decide to define it.
16038 if (defundef == "undef") {
16039 print "/*", prefix defundef, macro, "*/"
16047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16048 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16049 fi # test -n "$CONFIG_HEADERS"
16052 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16057 :[FHLC]) ac_mode=$ac_tag; continue;;
16059 case $ac_mode$ac_tag in
16061 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16062 :[FH]-) ac_tag=-:-;;
16063 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16080 -) ac_f="$ac_tmp/stdin";;
16081 *) # Look for the file first in the build tree, then in the source tree
16082 # (if the path is not absolute). The absolute path cannot be DOS-style,
16083 # because $ac_f cannot contain `:'.
16087 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16089 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16091 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16092 as_fn_append ac_file_inputs " '$ac_f'"
16095 # Let's still pretend it is `configure' which instantiates (i.e., don't
16096 # use $as_me), people would be surprised to read:
16097 # /* config.h. Generated by config.status. */
16098 configure_input='Generated from '`
16099 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16101 if test x"$ac_file" != x-; then
16102 configure_input="$ac_file. $configure_input"
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16104 $as_echo "$as_me: creating $ac_file" >&6;}
16106 # Neutralize special characters interpreted by sed in replacement strings.
16107 case $configure_input in #(
16108 *\&* | *\|* | *\\* )
16109 ac_sed_conf_input=`$as_echo "$configure_input" |
16110 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16111 *) ac_sed_conf_input=$configure_input;;
16115 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16121 ac_dir=`$as_dirname -- "$ac_file" ||
16122 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16123 X"$ac_file" : 'X\(//\)[^/]' \| \
16124 X"$ac_file" : 'X\(//\)$' \| \
16125 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16126 $as_echo X"$ac_file" |
16127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16131 /^X\(\/\/\)[^/].*/{
16144 as_dir="$ac_dir"; as_fn_mkdir_p
16148 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16150 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16151 # A ".." for each directory in $ac_dir_suffix.
16152 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16153 case $ac_top_builddir_sub in
16154 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16155 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16158 ac_abs_top_builddir=$ac_pwd
16159 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16160 # for backward compatibility:
16161 ac_top_builddir=$ac_top_build_prefix
16164 .) # We are building in place.
16166 ac_top_srcdir=$ac_top_builddir_sub
16167 ac_abs_top_srcdir=$ac_pwd ;;
16168 [\\/]* | ?:[\\/]* ) # Absolute name.
16169 ac_srcdir=$srcdir$ac_dir_suffix;
16170 ac_top_srcdir=$srcdir
16171 ac_abs_top_srcdir=$srcdir ;;
16172 *) # Relative name.
16173 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16174 ac_top_srcdir=$ac_top_build_prefix$srcdir
16175 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16177 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16187 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16188 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16190 ac_MKDIR_P=$MKDIR_P
16192 [\\/$]* | ?:[\\/]* ) ;;
16193 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16198 # If the template does not know about datarootdir, expand it.
16199 # FIXME: This hack should be removed a few years after 2.60.
16200 ac_datarootdir_hack=; ac_datarootdir_seen=
16211 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16212 *datarootdir*) ac_datarootdir_seen=yes;;
16213 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16215 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16218 ac_datarootdir_hack='
16219 s&@datadir@&$datadir&g
16220 s&@docdir@&$docdir&g
16221 s&@infodir@&$infodir&g
16222 s&@localedir@&$localedir&g
16223 s&@mandir@&$mandir&g
16224 s&\\\${datarootdir}&$datarootdir&g' ;;
16228 # Neutralize VPATH when `$srcdir' = `.'.
16229 # Shell code in configure.ac might set extrasub.
16230 # FIXME: do we really want to maintain this feature?
16231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16232 ac_sed_extra="$ac_vpsub
16235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16238 s|@configure_input@|$ac_sed_conf_input|;t t
16239 s&@top_builddir@&$ac_top_builddir_sub&;t t
16240 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16241 s&@srcdir@&$ac_srcdir&;t t
16242 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16243 s&@top_srcdir@&$ac_top_srcdir&;t t
16244 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16245 s&@builddir@&$ac_builddir&;t t
16246 s&@abs_builddir@&$ac_abs_builddir&;t t
16247 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16248 s&@INSTALL@&$ac_INSTALL&;t t
16249 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16250 $ac_datarootdir_hack
16252 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16253 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16255 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16256 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16257 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16258 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16260 which seems to be undefined. Please make sure it is defined" >&5
16261 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16262 which seems to be undefined. Please make sure it is defined" >&2;}
16264 rm -f "$ac_tmp/stdin"
16266 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16267 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16275 if test x"$ac_file" != x-; then
16277 $as_echo "/* $configure_input */" \
16278 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16279 } >"$ac_tmp/config.h" \
16280 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16281 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16283 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16286 mv "$ac_tmp/config.h" "$ac_file" \
16287 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16290 $as_echo "/* $configure_input */" \
16291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16292 || as_fn_error $? "could not create -" "$LINENO" 5
16294 # Compute "$ac_file"'s index in $config_headers.
16297 for _am_header in $config_headers :; do
16298 case $_am_header in
16299 $_am_arg | $_am_arg:* )
16302 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16305 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16306 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16307 X"$_am_arg" : 'X\(//\)[^/]' \| \
16308 X"$_am_arg" : 'X\(//\)$' \| \
16309 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16310 $as_echo X"$_am_arg" |
16311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16315 /^X\(\/\/\)[^/].*/{
16327 s/.*/./; q'`/stamp-h$_am_stamp_count
16330 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16331 $as_echo "$as_me: executing $ac_file commands" >&6;}
16336 case $ac_file$ac_mode in
16337 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16338 # Older Autoconf quotes --file arguments for eval, but not when files
16339 # are listed without --file. Let's play safe and only enable the eval
16340 # if we detect the quoting.
16341 case $CONFIG_FILES in
16342 *\'*) eval set x "$CONFIG_FILES" ;;
16343 *) set x $CONFIG_FILES ;;
16348 # Strip MF so we end up with the name of the file.
16349 mf=`echo "$mf" | sed -e 's/:.*$//'`
16350 # Check whether this is an Automake generated Makefile or not.
16351 # We used to match only the files named 'Makefile.in', but
16352 # some people rename them; so instead we look at the file content.
16353 # Grep'ing the first line is not enough: some people post-process
16354 # each Makefile.in and add a new line on top of each file to say so.
16355 # Grep'ing the whole file is not good either: AIX grep has a line
16356 # limit of 2048, but all sed's we know have understand at least 4000.
16357 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16358 dirpart=`$as_dirname -- "$mf" ||
16359 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16360 X"$mf" : 'X\(//\)[^/]' \| \
16361 X"$mf" : 'X\(//\)$' \| \
16362 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16368 /^X\(\/\/\)[^/].*/{
16384 # Extract the definition of DEPDIR, am__include, and am__quote
16385 # from the Makefile without running 'make'.
16386 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16387 test -z "$DEPDIR" && continue
16388 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16389 test -z "$am__include" && continue
16390 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16391 # Find all dependency output files, they are included files with
16392 # $(DEPDIR) in their names. We invoke sed twice because it is the
16393 # simplest approach to changing $(DEPDIR) to its actual value in the
16395 for file in `sed -n "
16396 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16397 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16398 # Make sure the directory exists.
16399 test -f "$dirpart/$file" && continue
16400 fdir=`$as_dirname -- "$file" ||
16401 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16402 X"$file" : 'X\(//\)[^/]' \| \
16403 X"$file" : 'X\(//\)$' \| \
16404 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16405 $as_echo X"$file" |
16406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16410 /^X\(\/\/\)[^/].*/{
16423 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16424 # echo "creating $dirpart/$file"
16425 echo '# dummy' > "$dirpart/$file"
16432 # See if we are running on zsh, and set the options which allow our
16433 # commands through without removal of \ escapes.
16434 if test -n "${ZSH_VERSION+set}" ; then
16435 setopt NO_GLOB_SUBST
16438 cfgfile="${ofile}T"
16439 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16442 cat <<_LT_EOF >> "$cfgfile"
16445 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16446 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16447 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16448 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16450 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16451 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16453 # Written by Gordon Matzigkeit, 1996
16455 # This file is part of GNU Libtool.
16457 # GNU Libtool is free software; you can redistribute it and/or
16458 # modify it under the terms of the GNU General Public License as
16459 # published by the Free Software Foundation; either version 2 of
16460 # the License, or (at your option) any later version.
16462 # As a special exception to the GNU General Public License,
16463 # if you distribute this file as part of a program or library that
16464 # is built using GNU Libtool, you may include this file under the
16465 # same distribution terms that you use for the rest of that program.
16467 # GNU Libtool is distributed in the hope that it will be useful,
16468 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16469 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16470 # GNU General Public License for more details.
16472 # You should have received a copy of the GNU General Public License
16473 # along with GNU Libtool; see the file COPYING. If not, a copy
16474 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16475 # obtained by writing to the Free Software Foundation, Inc.,
16476 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16479 # The names of the tagged configurations supported by this script.
16482 # ### BEGIN LIBTOOL CONFIG
16484 # Which release of libtool.m4 was used?
16485 macro_version=$macro_version
16486 macro_revision=$macro_revision
16488 # Whether or not to build static libraries.
16489 build_old_libs=$enable_static
16491 # Whether or not to build shared libraries.
16492 build_libtool_libs=$enable_shared
16494 # What type of objects to build.
16497 # Whether or not to optimize for fast installation.
16498 fast_install=$enable_fast_install
16500 # Shell to use when invoking shell scripts.
16503 # An echo program that protects backslashes.
16506 # The PATH separator for the build system.
16507 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16510 host_alias=$host_alias
16514 # The build system.
16515 build_alias=$build_alias
16519 # A sed program that does not truncate output.
16522 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16523 Xsed="\$SED -e 1s/^X//"
16525 # A grep program that handles long lines.
16531 # A literal string matcher.
16534 # A BSD- or MS-compatible name lister.
16537 # Whether we need soft or hard links.
16540 # What is the maximum length of a command?
16541 max_cmd_len=$max_cmd_len
16543 # Object file suffix (normally "o").
16546 # Executable file suffix (normally "").
16549 # whether the shell understands "unset".
16552 # turn spaces into newlines.
16555 # turn newlines into spaces.
16558 # convert \$build file names to \$host format.
16559 to_host_file_cmd=$lt_cv_to_host_file_cmd
16561 # convert \$build files to toolchain format.
16562 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16564 # An object symbol dumper.
16565 OBJDUMP=$lt_OBJDUMP
16567 # Method to check whether dependent libraries are shared objects.
16568 deplibs_check_method=$lt_deplibs_check_method
16570 # Command to use when deplibs_check_method = "file_magic".
16571 file_magic_cmd=$lt_file_magic_cmd
16573 # How to find potential files when deplibs_check_method = "file_magic".
16574 file_magic_glob=$lt_file_magic_glob
16576 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16577 want_nocaseglob=$lt_want_nocaseglob
16579 # DLL creation program.
16580 DLLTOOL=$lt_DLLTOOL
16582 # Command to associate shared and link libraries.
16583 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16588 # Flags to create an archive.
16589 AR_FLAGS=$lt_AR_FLAGS
16591 # How to feed a file listing to the archiver.
16592 archiver_list_spec=$lt_archiver_list_spec
16594 # A symbol stripping program.
16597 # Commands used to install an old-style archive.
16599 old_postinstall_cmds=$lt_old_postinstall_cmds
16600 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16602 # Whether to use a lock for old archive extraction.
16603 lock_old_archive_extraction=$lock_old_archive_extraction
16608 # LTCC compiler flags.
16609 LTCFLAGS=$lt_CFLAGS
16611 # Take the output of nm and produce a listing of raw symbols and C names.
16612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16614 # Transform the output of nm in a proper C declaration.
16615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16617 # Transform the output of nm in a C name address pair.
16618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16620 # Transform the output of nm in a C name address pair when lib prefix is needed.
16621 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16623 # Specify filename containing input files for \$NM.
16624 nm_file_list_spec=$lt_nm_file_list_spec
16626 # The root where to search for dependent libraries,and in which our libraries should be installed.
16627 lt_sysroot=$lt_sysroot
16629 # The name of the directory that contains temporary libtool files.
16632 # Used to examine libraries when file_magic_cmd begins with "file".
16633 MAGIC_CMD=$MAGIC_CMD
16635 # Must we lock files when doing compilation?
16636 need_locks=$lt_need_locks
16639 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16641 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16642 DSYMUTIL=$lt_DSYMUTIL
16644 # Tool to change global to local symbols on Mac OS X.
16647 # Tool to manipulate fat objects and archives on Mac OS X.
16650 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16653 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16654 OTOOL64=$lt_OTOOL64
16656 # Old archive suffix (normally "a").
16659 # Shared library suffix (normally ".so").
16660 shrext_cmds=$lt_shrext_cmds
16662 # The commands to extract the exported symbol list from a shared archive.
16663 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16665 # Variables whose values should be saved in libtool wrapper scripts and
16666 # restored at link time.
16667 variables_saved_for_relink=$lt_variables_saved_for_relink
16669 # Do we need the "lib" prefix for modules?
16670 need_lib_prefix=$need_lib_prefix
16672 # Do we need a version for libraries?
16673 need_version=$need_version
16675 # Library versioning type.
16676 version_type=$version_type
16678 # Shared library runtime path variable.
16679 runpath_var=$runpath_var
16681 # Shared library path variable.
16682 shlibpath_var=$shlibpath_var
16684 # Is shlibpath searched before the hard-coded library search path?
16685 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16687 # Format of library name prefix.
16688 libname_spec=$lt_libname_spec
16690 # List of archive names. First name is the real one, the rest are links.
16691 # The last name is the one that the linker finds with -lNAME
16692 library_names_spec=$lt_library_names_spec
16694 # The coded name of the library, if different from the real name.
16695 soname_spec=$lt_soname_spec
16697 # Permission mode override for installation of shared libraries.
16698 install_override_mode=$lt_install_override_mode
16700 # Command to use after installation of a shared archive.
16701 postinstall_cmds=$lt_postinstall_cmds
16703 # Command to use after uninstallation of a shared archive.
16704 postuninstall_cmds=$lt_postuninstall_cmds
16706 # Commands used to finish a libtool library installation in a directory.
16707 finish_cmds=$lt_finish_cmds
16709 # As "finish_cmds", except a single script fragment to be evaled but
16711 finish_eval=$lt_finish_eval
16713 # Whether we should hardcode library paths into libraries.
16714 hardcode_into_libs=$hardcode_into_libs
16716 # Compile-time system search path for libraries.
16717 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16719 # Run-time system search path for libraries.
16720 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16722 # Whether dlopen is supported.
16723 dlopen_support=$enable_dlopen
16725 # Whether dlopen of programs is supported.
16726 dlopen_self=$enable_dlopen_self
16728 # Whether dlopen of statically linked programs is supported.
16729 dlopen_self_static=$enable_dlopen_self_static
16731 # Commands to strip libraries.
16732 old_striplib=$lt_old_striplib
16733 striplib=$lt_striplib
16736 # The linker used to build libraries.
16739 # How to create reloadable object files.
16740 reload_flag=$lt_reload_flag
16741 reload_cmds=$lt_reload_cmds
16743 # Commands used to build an old-style archive.
16744 old_archive_cmds=$lt_old_archive_cmds
16746 # A language specific compiler.
16749 # Is the compiler the GNU compiler?
16752 # Compiler flag to turn off builtin functions.
16753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16755 # Additional compiler flags for building library objects.
16756 pic_flag=$lt_lt_prog_compiler_pic
16758 # How to pass a linker flag through the compiler.
16759 wl=$lt_lt_prog_compiler_wl
16761 # Compiler flag to prevent dynamic linking.
16762 link_static_flag=$lt_lt_prog_compiler_static
16764 # Does compiler simultaneously support -c and -o options?
16765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16767 # Whether or not to add -lc for building shared libraries.
16768 build_libtool_need_lc=$archive_cmds_need_lc
16770 # Whether or not to disallow shared libs when runtime libs are static.
16771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16773 # Compiler flag to allow reflexive dlopens.
16774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16776 # Compiler flag to generate shared objects directly from archives.
16777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16779 # Whether the compiler copes with passing no objects directly.
16780 compiler_needs_object=$lt_compiler_needs_object
16782 # Create an old-style archive from a shared archive.
16783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16785 # Create a temporary old-style archive to link instead of a shared archive.
16786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16788 # Commands used to build a shared archive.
16789 archive_cmds=$lt_archive_cmds
16790 archive_expsym_cmds=$lt_archive_expsym_cmds
16792 # Commands used to build a loadable module if different from building
16793 # a shared archive.
16794 module_cmds=$lt_module_cmds
16795 module_expsym_cmds=$lt_module_expsym_cmds
16797 # Whether we are building with GNU ld or not.
16798 with_gnu_ld=$lt_with_gnu_ld
16800 # Flag that allows shared libraries with undefined symbols to be built.
16801 allow_undefined_flag=$lt_allow_undefined_flag
16803 # Flag that enforces no undefined symbols.
16804 no_undefined_flag=$lt_no_undefined_flag
16806 # Flag to hardcode \$libdir into a binary during linking.
16807 # This must work even if \$libdir does not exist
16808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16810 # Whether we need a single "-rpath" flag with a separated argument.
16811 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16814 # DIR into the resulting binary.
16815 hardcode_direct=$hardcode_direct
16817 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16818 # DIR into the resulting binary and the resulting library dependency is
16819 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16820 # library is relocated.
16821 hardcode_direct_absolute=$hardcode_direct_absolute
16823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16824 # into the resulting binary.
16825 hardcode_minus_L=$hardcode_minus_L
16827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16828 # into the resulting binary.
16829 hardcode_shlibpath_var=$hardcode_shlibpath_var
16831 # Set to "yes" if building a shared library automatically hardcodes DIR
16832 # into the library and all subsequent libraries and executables linked
16834 hardcode_automatic=$hardcode_automatic
16836 # Set to yes if linker adds runtime paths of dependent libraries
16837 # to runtime path list.
16838 inherit_rpath=$inherit_rpath
16840 # Whether libtool must link a program against all its dependency libraries.
16841 link_all_deplibs=$link_all_deplibs
16843 # Set to "yes" if exported symbols are required.
16844 always_export_symbols=$always_export_symbols
16846 # The commands to list exported symbols.
16847 export_symbols_cmds=$lt_export_symbols_cmds
16849 # Symbols that should not be listed in the preloaded symbols.
16850 exclude_expsyms=$lt_exclude_expsyms
16852 # Symbols that must always be exported.
16853 include_expsyms=$lt_include_expsyms
16855 # Commands necessary for linking programs (against libraries) with templates.
16856 prelink_cmds=$lt_prelink_cmds
16858 # Commands necessary for finishing linking programs.
16859 postlink_cmds=$lt_postlink_cmds
16861 # Specify filename containing input files.
16862 file_list_spec=$lt_file_list_spec
16864 # How to hardcode a shared library path into an executable.
16865 hardcode_action=$hardcode_action
16867 # ### END LIBTOOL CONFIG
16873 cat <<\_LT_EOF >> "$cfgfile"
16874 # AIX sometimes has problems with the GCC collect2 program. For some
16875 # reason, if we set the COLLECT_NAMES environment variable, the problems
16876 # vanish in a puff of smoke.
16877 if test "X${COLLECT_NAMES+set}" != Xset; then
16879 export COLLECT_NAMES
16886 ltmain="$ac_aux_dir/ltmain.sh"
16889 # We use sed instead of cat because bash on DJGPP gets confused if
16890 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16891 # text mode, it properly converts lines to CR/LF. This bash problem
16892 # is reportedly fixed, but why not run on old versions too?
16893 sed '$q' "$ltmain" >> "$cfgfile" \
16894 || (rm -f "$cfgfile"; exit 1)
16896 if test x"$xsi_shell" = xyes; then
16897 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16901 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16902 \ * ) func_dirname_result="${3}" ;;\
16904 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16905 && mv -f "$cfgfile.tmp" "$cfgfile" \
16906 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16907 test 0 -eq $? || _lt_function_replace_fail=:
16910 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16913 \ func_basename_result="${1##*/}"\
16914 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16915 && mv -f "$cfgfile.tmp" "$cfgfile" \
16916 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16917 test 0 -eq $? || _lt_function_replace_fail=:
16920 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16921 func_dirname_and_basename ()\
16924 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16925 \ * ) func_dirname_result="${3}" ;;\
16927 \ func_basename_result="${1##*/}"\
16928 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16929 && mv -f "$cfgfile.tmp" "$cfgfile" \
16930 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16931 test 0 -eq $? || _lt_function_replace_fail=:
16934 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16937 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16938 \ # positional parameters, so assign one to ordinary parameter first.\
16939 \ func_stripname_result=${3}\
16940 \ func_stripname_result=${func_stripname_result#"${1}"}\
16941 \ func_stripname_result=${func_stripname_result%"${2}"}\
16942 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16943 && mv -f "$cfgfile.tmp" "$cfgfile" \
16944 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16945 test 0 -eq $? || _lt_function_replace_fail=:
16948 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16949 func_split_long_opt ()\
16951 \ func_split_long_opt_name=${1%%=*}\
16952 \ func_split_long_opt_arg=${1#*=}\
16953 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16954 && mv -f "$cfgfile.tmp" "$cfgfile" \
16955 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16956 test 0 -eq $? || _lt_function_replace_fail=:
16959 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16960 func_split_short_opt ()\
16962 \ func_split_short_opt_arg=${1#??}\
16963 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16964 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16965 && mv -f "$cfgfile.tmp" "$cfgfile" \
16966 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16967 test 0 -eq $? || _lt_function_replace_fail=:
16970 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16974 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16975 \ *) func_lo2o_result=${1} ;;\
16977 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16978 && mv -f "$cfgfile.tmp" "$cfgfile" \
16979 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16980 test 0 -eq $? || _lt_function_replace_fail=:
16983 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16986 func_xform_result=${1%.*}.lo\
16987 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16988 && mv -f "$cfgfile.tmp" "$cfgfile" \
16989 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16990 test 0 -eq $? || _lt_function_replace_fail=:
16993 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16996 func_arith_result=$(( $* ))\
16997 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16998 && mv -f "$cfgfile.tmp" "$cfgfile" \
16999 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17000 test 0 -eq $? || _lt_function_replace_fail=:
17003 sed -e '/^func_len ()$/,/^} # func_len /c\
17006 func_len_result=${#1}\
17007 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17008 && mv -f "$cfgfile.tmp" "$cfgfile" \
17009 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17010 test 0 -eq $? || _lt_function_replace_fail=:
17014 if test x"$lt_shell_append" = xyes; then
17015 sed -e '/^func_append ()$/,/^} # func_append /c\
17018 eval "${1}+=\\${2}"\
17019 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17020 && mv -f "$cfgfile.tmp" "$cfgfile" \
17021 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17022 test 0 -eq $? || _lt_function_replace_fail=:
17025 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17026 func_append_quoted ()\
17028 \ func_quote_for_eval "${2}"\
17029 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17030 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17031 && mv -f "$cfgfile.tmp" "$cfgfile" \
17032 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17033 test 0 -eq $? || _lt_function_replace_fail=:
17036 # Save a `func_append' function call where possible by direct use of '+='
17037 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17038 && mv -f "$cfgfile.tmp" "$cfgfile" \
17039 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17040 test 0 -eq $? || _lt_function_replace_fail=:
17042 # Save a `func_append' function call even when '+=' is not available
17043 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17044 && mv -f "$cfgfile.tmp" "$cfgfile" \
17045 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17046 test 0 -eq $? || _lt_function_replace_fail=:
17049 if test x"$_lt_function_replace_fail" = x":"; then
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17051 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17055 mv -f "$cfgfile" "$ofile" ||
17056 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17060 "mkdir":C) $MKDIR_P test/databases ;;
17068 ac_clean_files=$ac_clean_files_save
17070 test $ac_write_fail = 0 ||
17071 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17074 # configure is writing to config.log, and then calls config.status.
17075 # config.status does its own redirection, appending to config.log.
17076 # Unfortunately, on DOS this fails, as config.log is still kept open
17077 # by configure, so config.status won't be able to write to it; its
17078 # output is simply discarded. So we exec the FD to /dev/null,
17079 # effectively closing config.log, so it can be properly (re)opened and
17080 # appended to by config.status. When coming back to configure, we
17081 # need to make the FD available again.
17082 if test "$no_create" != yes; then
17084 ac_config_status_args=
17085 test "$silent" = yes &&
17086 ac_config_status_args="$ac_config_status_args --quiet"
17088 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17090 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17091 # would make configure fail if this is the last instruction.
17092 $ac_cs_success || as_fn_exit 1
17094 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17096 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17106 sysconfdir: ${sysconfdir}
17107 exec_prefix: ${exec_prefix}
17109 sbindir: ${sbindir}
17110 datarootdir: ${datarootdir}
17112 modules: ${MODULEDIR}
17116 ldflags: ${LDFLAGS}
17118 debug: ${enable_debug}
17119 demos: ${enable_demos}
17120 coverage: ${have_coverage}
17121 manpages: ${enable_manpages}
17129 sysconfdir: ${sysconfdir}
17130 exec_prefix: ${exec_prefix}
17132 sbindir: ${sbindir}
17133 datarootdir: ${datarootdir}
17135 modules: ${MODULEDIR}
17139 ldflags: ${LDFLAGS}
17141 debug: ${enable_debug}
17142 demos: ${enable_demos}
17143 coverage: ${have_coverage}
17144 manpages: ${enable_manpages}