2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for rygel-gst-0-10-fullscreen-renderer 1.17.4.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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: http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='rygel-gst-0-10-fullscreen-renderer'
593 PACKAGE_TARNAME='rygel-gst-0-10-fullscreen-renderer'
594 PACKAGE_VERSION='1.17.4'
595 PACKAGE_STRING='rygel-gst-0-10-fullscreen-renderer 1.17.4'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel'
597 PACKAGE_URL='http://live.gnome.org/Rygel'
599 ac_unique_file="src/fullscreen-renderer.c"
601 # Factoring default headers for most tests.
602 ac_includes_default="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars='am__EXEEXT_FALSE
648 INTLTOOL_SERVICE_RULE
650 INTLTOOL_SCHEMAS_RULE
652 INTLTOOL_XML_NOMERGE_RULE
657 INTLTOOL_SOUNDLIST_RULE
664 INTLTOOL_DIRECTORY_RULE
665 INTLTOOL_DESKTOP_RULE
666 intltool__v_merge_options_0
667 intltool__v_merge_options_
668 INTLTOOL_V_MERGE_OPTIONS
694 RYGEL_PLUGIN_LINKER_FLAGS
734 MAINTAINER_MODE_FALSE
754 INSTALL_STRIP_PROGRAM
806 program_transform_name
819 enable_option_checking
820 enable_dependency_tracking
821 enable_maintainer_mode
835 ac_precious_vars='build_alias
853 # Initialize some variables set by options.
855 ac_init_version=false
856 ac_unrecognized_opts=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name=s,x,x,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir='${exec_prefix}/bin'
882 sbindir='${exec_prefix}/sbin'
883 libexecdir='${exec_prefix}/libexec'
884 datarootdir='${prefix}/share'
885 datadir='${datarootdir}'
886 sysconfdir='${prefix}/etc'
887 sharedstatedir='${prefix}/com'
888 localstatedir='${prefix}/var'
889 includedir='${prefix}/include'
890 oldincludedir='/usr/include'
891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir='${datarootdir}/info'
897 libdir='${exec_prefix}/lib'
898 localedir='${datarootdir}/locale'
899 mandir='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\$ac_option
913 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 -build | --build | --buil | --bui | --bu)
930 ac_prev=build_alias ;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev=cache_file ;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file=$ac_optarg ;;
942 cache_file=config.cache ;;
944 -datadir | --datadir | --datadi | --datad)
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev=datarootdir ;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960 as_fn_error $? "invalid feature name: $ac_useropt"
961 ac_useropt_orig=$ac_useropt
962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep=', ';;
970 eval enable_$ac_useropt=no ;;
972 -docdir | --docdir | --docdi | --doc | --do)
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 -enable-* | --enable-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid feature name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
996 eval enable_$ac_useropt=\$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev=exec_prefix ;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help=long ;;
1013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014 ac_init_help=recursive ;;
1015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016 ac_init_help=short ;;
1018 -host | --host | --hos | --ho)
1019 ac_prev=host_alias ;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev=includedir ;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev=libexecdir ;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev=localedir ;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev=localstatedir ;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev=oldincludedir ;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev=program_prefix ;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev=program_suffix ;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev=program_transform_name ;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev=sharedstatedir ;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev=sysconfdir ;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev=target_alias ;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version=: ;;
1187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=\$ac_optarg ;;
1202 -without-* | --without-*)
1203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206 as_fn_error $? "invalid package name: $ac_useropt"
1207 ac_useropt_orig=$ac_useropt
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep=', ';;
1216 eval with_$ac_useropt=no ;;
1219 # Obsolete; use --with-x.
1222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223 | --x-incl | --x-inc | --x-in | --x-i)
1224 ac_prev=x_includes ;;
1225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227 x_includes=$ac_optarg ;;
1229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231 ac_prev=x_libraries ;;
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234 x_libraries=$ac_optarg ;;
1236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' | [0-9]* | *[!_$as_cr_alnum]* )
1245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $? "missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val=\$$ac_var
1281 # Remove trailing slashes.
1284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$]* | ?:[\\/]* ) continue;;
1290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x; then
1304 if test "x$build_alias" = x; then
1305 cross_compiling=maybe
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1314 test "$silent" = yes && exec 6>/dev/null
1317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di=`ls -di .` &&
1319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error $? "working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error $? "pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var in $ac_precious_vars; do
1378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_${ac_var}_value=\$${ac_var}
1380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures rygel-gst-0-10-fullscreen-renderer 1.17.4 to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking ...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root
1440 [DATAROOTDIR/doc/rygel-gst-0-10-fullscreen-renderer]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1455 --build=BUILD configure for building on BUILD [guessed]
1456 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1460 if test -n "$ac_init_help"; then
1461 case $ac_init_help in
1462 short | recursive ) echo "Configuration of rygel-gst-0-10-fullscreen-renderer 1.17.4:";;
1467 --disable-option-checking ignore unrecognized --enable/--with options
1468 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1469 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1470 --disable-dependency-tracking speeds up one-time build
1471 --enable-dependency-tracking do not reject slow dependency extractors
1472 --disable-maintainer-mode disable make rules and dependencies not useful
1473 (and sometimes confusing) to the casual installer
1474 --enable-static[=PKGS] build static libraries [default=no]
1475 --enable-shared[=PKGS] build shared libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1479 --enable-debug enable debugging
1480 --enable-strict-cc enable strict C compiler
1481 --enable-plugin Build a Rygel plugin
1482 --disable-nls do not use Native Language Support
1483 --enable-silent-rules less verbose build output (undo: `make V=1')
1484 --disable-silent-rules verbose build output (undo: `make V=0')
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1491 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1492 --with-sysroot=DIR Search for dependent libraries within DIR
1493 (or the compiler's sysroot if not specified).
1495 Some influential environment variables:
1496 CC C compiler command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1499 nonstandard directory <lib dir>
1500 LIBS libraries to pass to the linker, e.g. -l<library>
1501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502 you have headers in a nonstandard directory <include dir>
1504 PKG_CONFIG path to pkg-config utility
1506 directories to add to pkg-config's search path
1508 path overriding pkg-config's built-in search path
1509 DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1510 DEPS_LIBS linker flags for DEPS, overriding pkg-config
1511 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1512 GTK_LIBS linker flags for GTK, overriding pkg-config
1514 Use these variables to override the choices made by `configure' or to help
1515 it to find libraries and programs with nonstandard names/locations.
1517 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
1518 rygel-gst-0-10-fullscreen-renderer home page: <http://live.gnome.org/Rygel>.
1523 if test "$ac_init_help" = "recursive"; then
1524 # If there are subdirs, report their specific --help.
1525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526 test -d "$ac_dir" ||
1527 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1535 # A ".." for each directory in $ac_dir_suffix.
1536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1537 case $ac_top_builddir_sub in
1538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1548 .) # We are building in place.
1550 ac_top_srcdir=$ac_top_builddir_sub
1551 ac_abs_top_srcdir=$ac_pwd ;;
1552 [\\/]* | ?:[\\/]* ) # Absolute name.
1553 ac_srcdir=$srcdir$ac_dir_suffix;
1554 ac_top_srcdir=$srcdir
1555 ac_abs_top_srcdir=$srcdir ;;
1557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558 ac_top_srcdir=$ac_top_build_prefix$srcdir
1559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563 cd "$ac_dir" || { ac_status=$?; continue; }
1564 # Check for guested configure.
1565 if test -f "$ac_srcdir/configure.gnu"; then
1567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568 elif test -f "$ac_srcdir/configure"; then
1570 $SHELL "$ac_srcdir/configure" --help=recursive
1572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574 cd "$ac_pwd" || { ac_status=$?; break; }
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1581 rygel-gst-0-10-fullscreen-renderer configure 1.17.4
1582 generated by GNU Autoconf 2.69
1584 Copyright (C) 2012 Free Software Foundation, Inc.
1585 This configure script is free software; the Free Software Foundation
1586 gives unlimited permission to copy, distribute and modify it.
1591 ## ------------------------ ##
1592 ## Autoconf initialization. ##
1593 ## ------------------------ ##
1595 # ac_fn_c_try_compile LINENO
1596 # --------------------------
1597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_compile ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext
1602 if { { ac_try="$ac_compile"
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_compile") 2>conftest.err
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest.$ac_objext; then :
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1631 } # ac_fn_c_try_compile
1633 # ac_fn_c_try_link LINENO
1634 # -----------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded.
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 rm -f conftest.$ac_objext conftest$ac_exeext
1640 if { { ac_try="$ac_link"
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_link") 2>conftest.err
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest$ac_exeext && {
1659 test "$cross_compiling" = yes ||
1660 test -x conftest$ac_exeext
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1669 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1670 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1671 # interfere with the next link command; also delete a directory that is
1672 # left behind by Apple's compiler. We do this before executing the actions.
1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 as_fn_set_status $ac_retval
1677 } # ac_fn_c_try_link
1679 # ac_fn_c_try_cpp LINENO
1680 # ----------------------
1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { { ac_try="$ac_cpp conftest.$ac_ext"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } > conftest.i && {
1701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1734 { { case "(($ac_try" in
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_try") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; }; }; then :
1746 $as_echo "$as_me: program exited with status $ac_status" >&5
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=$ac_status
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1758 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759 # -------------------------------------------------------
1760 # Tests whether HEADER exists and can be compiled using the include files in
1761 # INCLUDES, setting the cache variable VAR accordingly.
1762 ac_fn_c_check_header_compile ()
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768 $as_echo_n "(cached) " >&6
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1775 if ac_fn_c_try_compile "$LINENO"; then :
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 } # ac_fn_c_check_header_compile
1789 # ac_fn_c_check_func LINENO FUNC VAR
1790 # ----------------------------------
1791 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1792 ac_fn_c_check_func ()
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798 $as_echo_n "(cached) " >&6
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1804 #define $2 innocuous_$2
1806 /* System header to define __stub macros and hopefully few prototypes,
1807 which can conflict with char $2 (); below.
1808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809 <limits.h> exists even on freestanding compilers. */
1812 # include <limits.h>
1814 # include <assert.h>
1819 /* Override any GCC internal prototype to avoid an error.
1820 Use char because int might match the return type of a GCC
1821 builtin and then its argument prototype would still apply. */
1826 /* The GNU C library defines this for functions which it implements
1827 to always fail with ENOSYS. Some functions are actually named
1828 something starting with __ and the normal name is an alias. */
1829 #if defined __stub_$2 || defined __stub___$2
1841 if ac_fn_c_try_link "$LINENO"; then :
1846 rm -f core conftest.err conftest.$ac_objext \
1847 conftest$ac_exeext conftest.$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 } # ac_fn_c_check_func
1856 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1859 # the include files in INCLUDES and setting the cache variable VAR
1861 ac_fn_c_check_header_mongrel ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if eval \${$3+:} false; then :
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868 $as_echo_n "(cached) " >&6
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1874 # Is the header compilable?
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1876 $as_echo_n "checking $2 usability... " >&6; }
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883 ac_header_compiler=yes
1885 ac_header_compiler=no
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1889 $as_echo "$ac_header_compiler" >&6; }
1891 # Is the header present?
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1893 $as_echo_n "checking $2 presence... " >&6; }
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1898 if ac_fn_c_try_cpp "$LINENO"; then :
1899 ac_header_preproc=yes
1901 ac_header_preproc=no
1903 rm -f conftest.err conftest.i conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1905 $as_echo "$ac_header_preproc" >&6; }
1907 # So? What about this header?
1908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1911 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1913 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1917 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1919 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1921 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1923 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 ( $as_echo "## -------------------------------------------------------------------- ##
1927 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ##
1928 ## -------------------------------------------------------------------- ##"
1929 ) | sed "s/^/$as_me: WARNING: /" >&2
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval \${$3+:} false; then :
1935 $as_echo_n "(cached) " >&6
1937 eval "$3=\$ac_header_compiler"
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 } # ac_fn_c_check_header_mongrel
1946 cat >config.log <<_ACEOF
1947 This file contains any messages produced by compilers while
1948 running configure, to aid debugging if configure makes a mistake.
1950 It was created by rygel-gst-0-10-fullscreen-renderer $as_me 1.17.4, which was
1951 generated by GNU Autoconf 2.69. Invocation command line was
1963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1975 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 $as_echo "PATH: $as_dir"
2003 # Keep a trace of the command line.
2004 # Strip out --no-create and --no-recursion so they do not pile up.
2005 # Strip out --silent because we don't want to record it for future runs.
2006 # Also quote any args containing shell meta-characters.
2007 # Make two passes to allow for proper duplicate-argument suppression.
2011 ac_must_keep_next=false
2017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019 | -silent | --silent | --silen | --sile | --sil)
2022 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2025 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2027 as_fn_append ac_configure_args1 " '$ac_arg'"
2028 if test $ac_must_keep_next = true; then
2029 ac_must_keep_next=false # Got value, back to normal.
2032 *=* | --config-cache | -C | -disable-* | --disable-* \
2033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2035 | -with-* | --with-* | -without-* | --without-* | --x)
2036 case "$ac_configure_args0 " in
2037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2040 -* ) ac_must_keep_next=true ;;
2043 as_fn_append ac_configure_args " '$ac_arg'"
2048 { ac_configure_args0=; unset ac_configure_args0;}
2049 { ac_configure_args1=; unset ac_configure_args1;}
2051 # When interrupted or exit'd, cleanup temporary files, and complete
2052 # config.log. We remove comments because anyway the quotes in there
2053 # would cause problems or look ugly.
2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2056 trap 'exit_status=$?
2057 # Save into config.log some information that might help in debugging.
2061 $as_echo "## ---------------- ##
2062 ## Cache variables. ##
2063 ## ---------------- ##"
2065 # The following way of writing the cache mishandles newlines in values,
2067 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2068 eval ac_val=\$$ac_var
2072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2076 _ | IFS | as_nl) ;; #(
2077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2078 *) { eval $ac_var=; unset $ac_var;} ;;
2083 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2084 *${as_nl}ac_space=\ *)
2086 "s/'\''/'\''\\\\'\'''\''/g;
2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2097 $as_echo "## ----------------- ##
2098 ## Output variables. ##
2099 ## ----------------- ##"
2101 for ac_var in $ac_subst_vars
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -n "$ac_subst_files"; then
2112 $as_echo "## ------------------- ##
2113 ## File substitutions. ##
2114 ## ------------------- ##"
2116 for ac_var in $ac_subst_files
2118 eval ac_val=\$$ac_var
2120 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122 $as_echo "$ac_var='\''$ac_val'\''"
2127 if test -s confdefs.h; then
2128 $as_echo "## ----------- ##
2135 test "$ac_signal" != 0 &&
2136 $as_echo "$as_me: caught signal $ac_signal"
2137 $as_echo "$as_me: exit $exit_status"
2139 rm -f core *.core core.conftest.* &&
2140 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2143 for ac_signal in 1 2 13 15; do
2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2149 rm -f -r conftest* confdefs.h
2151 $as_echo "/* confdefs.h */" > confdefs.h
2153 # Predefined preprocessor variables.
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_NAME "$PACKAGE_NAME"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_STRING "$PACKAGE_STRING"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_URL "$PACKAGE_URL"
2180 # Let the site file select an alternate cache file if it wants to.
2181 # Prefer an explicitly selected file to automatically selected ones.
2184 if test -n "$CONFIG_SITE"; then
2185 # We do not want a PATH search for config.site.
2186 case $CONFIG_SITE in #((
2187 -*) ac_site_file1=./$CONFIG_SITE;;
2188 */*) ac_site_file1=$CONFIG_SITE;;
2189 *) ac_site_file1=./$CONFIG_SITE;;
2191 elif test "x$prefix" != xNONE; then
2192 ac_site_file1=$prefix/share/config.site
2193 ac_site_file2=$prefix/etc/config.site
2195 ac_site_file1=$ac_default_prefix/share/config.site
2196 ac_site_file2=$ac_default_prefix/etc/config.site
2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200 test "x$ac_site_file" = xNONE && continue
2201 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2204 sed 's/^/| /' "$ac_site_file" >&5
2206 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 as_fn_error $? "failed to load site script $ac_site_file
2209 See \`config.log' for more details" "$LINENO" 5; }
2213 if test -r "$cache_file"; then
2214 # Some versions of bash will fail to source /dev/null (special files
2215 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2216 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
2220 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2221 *) . "./$cache_file";;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
2230 as_fn_append ac_header_list " stdlib.h"
2231 as_fn_append ac_header_list " unistd.h"
2232 as_fn_append ac_header_list " sys/param.h"
2233 # Check that the precious variables saved in the cache have kept the same
2235 ac_cache_corrupted=false
2236 for ac_var in $ac_precious_vars; do
2237 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2238 eval ac_new_set=\$ac_env_${ac_var}_set
2239 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2240 eval ac_new_val=\$ac_env_${ac_var}_value
2241 case $ac_old_set,$ac_new_set in
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2244 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2245 ac_cache_corrupted=: ;;
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2249 ac_cache_corrupted=: ;;
2252 if test "x$ac_old_val" != "x$ac_new_val"; then
2253 # differences in whitespace do not lead to failure.
2254 ac_old_val_w=`echo x $ac_old_val`
2255 ac_new_val_w=`echo x $ac_new_val`
2256 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2258 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2259 ac_cache_corrupted=:
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2262 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2263 eval $ac_var=\$ac_old_val
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2266 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2268 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2271 # Pass precious variables to config.status.
2272 if test "$ac_new_set" = set; then
2274 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2275 *) ac_arg=$ac_var=$ac_new_val ;;
2277 case " $ac_configure_args " in
2278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2279 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2283 if $ac_cache_corrupted; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2287 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2288 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2290 ## -------------------- ##
2291 ## Main body of script. ##
2292 ## -------------------- ##
2295 ac_cpp='$CPP $CPPFLAGS'
2296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2302 for ac_dir in build-aux "$srcdir"/build-aux; do
2303 if test -f "$ac_dir/install-sh"; then
2305 ac_install_sh="$ac_aux_dir/install-sh -c"
2307 elif test -f "$ac_dir/install.sh"; then
2309 ac_install_sh="$ac_aux_dir/install.sh -c"
2311 elif test -f "$ac_dir/shtool"; then
2313 ac_install_sh="$ac_aux_dir/shtool install -c"
2317 if test -z "$ac_aux_dir"; then
2318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2332 ac_config_headers="$ac_config_headers config.h"
2337 ac_cpp='$CPP $CPPFLAGS'
2338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2341 if test -n "$ac_tool_prefix"; then
2342 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2343 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if ${ac_cv_prog_CC+:} false; then :
2347 $as_echo_n "(cached) " >&6
2349 if test -n "$CC"; then
2350 ac_cv_prog_CC="$CC" # Let the user override the test.
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2359 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 if test -n "$CC"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2372 $as_echo "$CC" >&6; }
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2380 if test -z "$ac_cv_prog_CC"; then
2382 # Extract the first word of "gcc", so it can be a program name with args.
2383 set dummy gcc; ac_word=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2387 $as_echo_n "(cached) " >&6
2389 if test -n "$ac_ct_CC"; then
2390 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2399 ac_cv_prog_ac_ct_CC="gcc"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2410 if test -n "$ac_ct_CC"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2412 $as_echo "$ac_ct_CC" >&6; }
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2418 if test "x$ac_ct_CC" = x; then
2421 case $cross_compiling:$ac_tool_warned in
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2425 ac_tool_warned=yes ;;
2433 if test -z "$CC"; then
2434 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2436 set dummy ${ac_tool_prefix}cc; ac_word=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if ${ac_cv_prog_CC+:} false; then :
2440 $as_echo_n "(cached) " >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC="$CC" # Let the user override the test.
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452 ac_cv_prog_CC="${ac_tool_prefix}cc"
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$CC"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2465 $as_echo "$CC" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2474 if test -z "$CC"; then
2475 # Extract the first word of "cc", so it can be a program name with args.
2476 set dummy cc; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_CC+:} false; then :
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$CC"; then
2483 ac_cv_prog_CC="$CC" # Let the user override the test.
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir=.
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2493 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2494 ac_prog_rejected=yes
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test $ac_prog_rejected = yes; then
2506 # We found a bogon in the path, so make sure we never use it.
2507 set dummy $ac_cv_prog_CC
2509 if test $# != 0; then
2510 # We chose a different compiler from the bogus one.
2511 # However, it has the same basename, so the bogon will be chosen
2512 # first if we set CC to just the basename; use the full file name.
2514 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2520 if test -n "$CC"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2522 $as_echo "$CC" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2530 if test -z "$CC"; then
2531 if test -n "$ac_tool_prefix"; then
2532 for ac_prog in cl.exe
2534 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2535 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2537 $as_echo_n "checking for $ac_word... " >&6; }
2538 if ${ac_cv_prog_CC+:} false; then :
2539 $as_echo_n "(cached) " >&6
2541 if test -n "$CC"; then
2542 ac_cv_prog_CC="$CC" # Let the user override the test.
2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 test -z "$as_dir" && as_dir=.
2549 for ac_exec_ext in '' $ac_executable_extensions; do
2550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2551 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 if test -n "$CC"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2564 $as_echo "$CC" >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2567 $as_echo "no" >&6; }
2571 test -n "$CC" && break
2574 if test -z "$CC"; then
2576 for ac_prog in cl.exe
2578 # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy $ac_prog; ac_word=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_CC="$ac_prog"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2615 test -n "$ac_ct_CC" && break
2618 if test "x$ac_ct_CC" = x; then
2621 case $cross_compiling:$ac_tool_warned in
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2625 ac_tool_warned=yes ;;
2634 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2636 as_fn_error $? "no acceptable C compiler found in \$PATH
2637 See \`config.log' for more details" "$LINENO" 5; }
2639 # Provide some information about the compiler.
2640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2643 for ac_option in --version -v -V -qversion; do
2644 { { ac_try="$ac_compiler $ac_option >&5"
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2653 if test -s conftest.err; then
2655 ... rest of stderr output deleted ...
2656 10q' conftest.err >conftest.er1
2657 cat conftest.er1 >&5
2659 rm -f conftest.er1 conftest.err
2660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661 test $ac_status = 0; }
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2675 ac_clean_files_save=$ac_clean_files
2676 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2677 # Try to create an executable without -o first, disregard a.out.
2678 # It will help us diagnose broken compilers, and finding out an intuition
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2681 $as_echo_n "checking whether the C compiler works... " >&6; }
2682 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2684 # The possible output files:
2685 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2688 for ac_file in $ac_files
2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2692 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2697 if { { ac_try="$ac_link_default"
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704 (eval "$ac_link_default") 2>&5
2706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2707 test $ac_status = 0; }; then :
2708 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2709 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2710 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2711 # so that the user can short-circuit this test for compilers unknown to
2713 for ac_file in $ac_files ''
2715 test -f "$ac_file" || continue
2717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2720 # We found the default executable, but exeext='' is most
2724 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2726 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2728 # We set ac_cv_exeext here because the later test for it is not
2729 # safe: cross compilers may not add the suffix if given an `-o'
2730 # argument, so we may need to know it at that point already.
2731 # Even if this section looks crufty: it has the advantage of
2738 test "$ac_cv_exeext" = no && ac_cv_exeext=
2743 if test -z "$ac_file"; then :
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2746 $as_echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751 as_fn_error 77 "C compiler cannot create executables
2752 See \`config.log' for more details" "$LINENO" 5; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2758 $as_echo_n "checking for C compiler default output file name... " >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2760 $as_echo "$ac_file" >&6; }
2761 ac_exeext=$ac_cv_exeext
2763 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2766 $as_echo_n "checking for suffix of executables... " >&6; }
2767 if { { ac_try="$ac_link"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 $as_echo "$ac_try_echo"; } >&5
2774 (eval "$ac_link") 2>&5
2776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; }; then :
2778 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2779 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2780 # work properly (i.e., refer to `conftest.exe'), while it won't with
2782 for ac_file in conftest.exe conftest conftest.*; do
2783 test -f "$ac_file" || continue
2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2786 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2794 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details" "$LINENO" 5; }
2797 rm -f conftest conftest$ac_cv_exeext
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2799 $as_echo "$ac_cv_exeext" >&6; }
2801 rm -f conftest.$ac_ext
2802 EXEEXT=$ac_cv_exeext
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2810 FILE *f = fopen ("conftest.out", "w");
2811 return ferror (f) || fclose (f) != 0;
2817 ac_clean_files="$ac_clean_files conftest.out"
2818 # Check that the compiler produces executables we can run. If not, either
2819 # the compiler is broken, or we cross compile.
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2821 $as_echo_n "checking whether we are cross compiling... " >&6; }
2822 if test "$cross_compiling" != yes; then
2823 { { ac_try="$ac_link"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2829 $as_echo "$ac_try_echo"; } >&5
2830 (eval "$ac_link") 2>&5
2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833 test $ac_status = 0; }
2834 if { ac_try='./conftest$ac_cv_exeext'
2835 { { case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_try") 2>&5
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; }; }; then
2847 if test "$cross_compiling" = maybe; then
2850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2852 as_fn_error $? "cannot run C compiled programs.
2853 If you meant to cross compile, use \`--host'.
2854 See \`config.log' for more details" "$LINENO" 5; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2859 $as_echo "$cross_compiling" >&6; }
2861 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2862 ac_clean_files=$ac_clean_files_save
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2864 $as_echo_n "checking for suffix of object files... " >&6; }
2865 if ${ac_cv_objext+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2879 rm -f conftest.o conftest.obj
2880 if { { ac_try="$ac_compile"
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_compile") 2>&5
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; }; then :
2891 for ac_file in conftest.o conftest.obj conftest.*; do
2892 test -f "$ac_file" || continue;
2894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2895 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2900 $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 as_fn_error $? "cannot compute suffix of object files: cannot compile
2906 See \`config.log' for more details" "$LINENO" 5; }
2908 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2911 $as_echo "$ac_cv_objext" >&6; }
2912 OBJEXT=$ac_cv_objext
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2915 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2916 if ${ac_cv_c_compiler_gnu+:} false; then :
2917 $as_echo_n "(cached) " >&6
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2933 if ac_fn_c_try_compile "$LINENO"; then :
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2943 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2944 if test $ac_compiler_gnu = yes; then
2949 ac_test_CFLAGS=${CFLAGS+set}
2950 ac_save_CFLAGS=$CFLAGS
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2952 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2953 if ${ac_cv_prog_cc_g+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 ac_save_c_werror_flag=$ac_c_werror_flag
2957 ac_c_werror_flag=yes
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2971 if ac_fn_c_try_compile "$LINENO"; then :
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2986 if ac_fn_c_try_compile "$LINENO"; then :
2989 ac_c_werror_flag=$ac_save_c_werror_flag
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3002 if ac_fn_c_try_compile "$LINENO"; then :
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 ac_c_werror_flag=$ac_save_c_werror_flag
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3013 $as_echo "$ac_cv_prog_cc_g" >&6; }
3014 if test "$ac_test_CFLAGS" = set; then
3015 CFLAGS=$ac_save_CFLAGS
3016 elif test $ac_cv_prog_cc_g = yes; then
3017 if test "$GCC" = yes; then
3023 if test "$GCC" = yes; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3030 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3031 if ${ac_cv_prog_cc_c89+:} false; then :
3032 $as_echo_n "(cached) " >&6
3034 ac_cv_prog_cc_c89=no
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3042 struct buf { int x; };
3043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3044 static char *e (p, i)
3050 static char *f (char * (*g) (char **, int), char **p, ...)
3055 s = g (p, va_arg (v,int));
3060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3061 function prototypes and stuff, but not '\xHH' hex character constants.
3062 These don't provoke an error unfortunately, instead are silently treated
3063 as 'x'. The following induces an error, until -std is added to get
3064 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3065 array size at least. It's necessary to write '\x00'==0 to get something
3066 that's true only with -std. */
3067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3069 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3070 inside strings and character constants. */
3072 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3074 int test (int i, double x);
3075 struct s1 {int (*f) (int a);};
3076 struct s2 {int (*f) (double a);};
3077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3083 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3089 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3091 CC="$ac_save_CC $ac_arg"
3092 if ac_fn_c_try_compile "$LINENO"; then :
3093 ac_cv_prog_cc_c89=$ac_arg
3095 rm -f core conftest.err conftest.$ac_objext
3096 test "x$ac_cv_prog_cc_c89" != "xno" && break
3098 rm -f conftest.$ac_ext
3103 case "x$ac_cv_prog_cc_c89" in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3106 $as_echo "none needed" >&6; } ;;
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3109 $as_echo "unsupported" >&6; } ;;
3111 CC="$CC $ac_cv_prog_cc_c89"
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3113 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3115 if test "x$ac_cv_prog_cc_c89" != xno; then :
3120 ac_cpp='$CPP $CPPFLAGS'
3121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3127 $as_echo_n "checking for library containing strerror... " >&6; }
3128 if ${ac_cv_search_strerror+:} false; then :
3129 $as_echo_n "(cached) " >&6
3131 ac_func_search_save_LIBS=$LIBS
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3135 /* Override any GCC internal prototype to avoid an error.
3136 Use char because int might match the return type of a GCC
3137 builtin and then its argument prototype would still apply. */
3150 for ac_lib in '' cposix; do
3151 if test -z "$ac_lib"; then
3152 ac_res="none required"
3155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3157 if ac_fn_c_try_link "$LINENO"; then :
3158 ac_cv_search_strerror=$ac_res
3160 rm -f core conftest.err conftest.$ac_objext \
3162 if ${ac_cv_search_strerror+:} false; then :
3166 if ${ac_cv_search_strerror+:} false; then :
3169 ac_cv_search_strerror=no
3172 LIBS=$ac_func_search_save_LIBS
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3175 $as_echo "$ac_cv_search_strerror" >&6; }
3176 ac_res=$ac_cv_search_strerror
3177 if test "$ac_res" != no; then :
3178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3183 ac_cpp='$CPP $CPPFLAGS'
3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3187 if test -n "$ac_tool_prefix"; then
3188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3189 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_CC+:} false; then :
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$CC"; then
3196 ac_cv_prog_CC="$CC" # Let the user override the test.
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 if test -n "$CC"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3226 if test -z "$ac_cv_prog_CC"; then
3228 # Extract the first word of "gcc", so it can be a program name with args.
3229 set dummy gcc; ac_word=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3233 $as_echo_n "(cached) " >&6
3235 if test -n "$ac_ct_CC"; then
3236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245 ac_cv_prog_ac_ct_CC="gcc"
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3256 if test -n "$ac_ct_CC"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3258 $as_echo "$ac_ct_CC" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3264 if test "x$ac_ct_CC" = x; then
3267 case $cross_compiling:$ac_tool_warned in
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271 ac_tool_warned=yes ;;
3279 if test -z "$CC"; then
3280 if test -n "$ac_tool_prefix"; then
3281 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3282 set dummy ${ac_tool_prefix}cc; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_CC+:} false; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$CC"; then
3289 ac_cv_prog_CC="$CC" # Let the user override the test.
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir=.
3296 for ac_exec_ext in '' $ac_executable_extensions; do
3297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_CC="${ac_tool_prefix}cc"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test -n "$CC"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3311 $as_echo "$CC" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3320 if test -z "$CC"; then
3321 # Extract the first word of "cc", so it can be a program name with args.
3322 set dummy cc; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326 $as_echo_n "(cached) " >&6
3328 if test -n "$CC"; then
3329 ac_cv_prog_CC="$CC" # Let the user override the test.
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3340 ac_prog_rejected=yes
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 if test $ac_prog_rejected = yes; then
3352 # We found a bogon in the path, so make sure we never use it.
3353 set dummy $ac_cv_prog_CC
3355 if test $# != 0; then
3356 # We chose a different compiler from the bogus one.
3357 # However, it has the same basename, so the bogon will be chosen
3358 # first if we set CC to just the basename; use the full file name.
3360 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3366 if test -n "$CC"; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3368 $as_echo "$CC" >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3376 if test -z "$CC"; then
3377 if test -n "$ac_tool_prefix"; then
3378 for ac_prog in cl.exe
3380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if ${ac_cv_prog_CC+:} false; then :
3385 $as_echo_n "(cached) " >&6
3387 if test -n "$CC"; then
3388 ac_cv_prog_CC="$CC" # Let the user override the test.
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir=.
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$CC"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3410 $as_echo "$CC" >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3417 test -n "$CC" && break
3420 if test -z "$CC"; then
3422 for ac_prog in cl.exe
3424 # Extract the first word of "$ac_prog", so it can be a program name with args.
3425 set dummy $ac_prog; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 if test -n "$ac_ct_CC"; then
3432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441 ac_cv_prog_ac_ct_CC="$ac_prog"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3452 if test -n "$ac_ct_CC"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3454 $as_echo "$ac_ct_CC" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3461 test -n "$ac_ct_CC" && break
3464 if test "x$ac_ct_CC" = x; then
3467 case $cross_compiling:$ac_tool_warned in
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471 ac_tool_warned=yes ;;
3480 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3482 as_fn_error $? "no acceptable C compiler found in \$PATH
3483 See \`config.log' for more details" "$LINENO" 5; }
3485 # Provide some information about the compiler.
3486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3489 for ac_option in --version -v -V -qversion; do
3490 { { ac_try="$ac_compiler $ac_option >&5"
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3496 $as_echo "$ac_try_echo"; } >&5
3497 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3499 if test -s conftest.err; then
3501 ... rest of stderr output deleted ...
3502 10q' conftest.err >conftest.er1
3503 cat conftest.er1 >&5
3505 rm -f conftest.er1 conftest.err
3506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507 test $ac_status = 0; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3511 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3512 if ${ac_cv_c_compiler_gnu+:} false; then :
3513 $as_echo_n "(cached) " >&6
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3529 if ac_fn_c_try_compile "$LINENO"; then :
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3539 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3540 if test $ac_compiler_gnu = yes; then
3545 ac_test_CFLAGS=${CFLAGS+set}
3546 ac_save_CFLAGS=$CFLAGS
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3548 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3549 if ${ac_cv_prog_cc_g+:} false; then :
3550 $as_echo_n "(cached) " >&6
3552 ac_save_c_werror_flag=$ac_c_werror_flag
3553 ac_c_werror_flag=yes
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3567 if ac_fn_c_try_compile "$LINENO"; then :
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3582 if ac_fn_c_try_compile "$LINENO"; then :
3585 ac_c_werror_flag=$ac_save_c_werror_flag
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3598 if ac_fn_c_try_compile "$LINENO"; then :
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 ac_c_werror_flag=$ac_save_c_werror_flag
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3609 $as_echo "$ac_cv_prog_cc_g" >&6; }
3610 if test "$ac_test_CFLAGS" = set; then
3611 CFLAGS=$ac_save_CFLAGS
3612 elif test $ac_cv_prog_cc_g = yes; then
3613 if test "$GCC" = yes; then
3619 if test "$GCC" = yes; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3626 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3627 if ${ac_cv_prog_cc_c89+:} false; then :
3628 $as_echo_n "(cached) " >&6
3630 ac_cv_prog_cc_c89=no
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3638 struct buf { int x; };
3639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3640 static char *e (p, i)
3646 static char *f (char * (*g) (char **, int), char **p, ...)
3651 s = g (p, va_arg (v,int));
3656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3657 function prototypes and stuff, but not '\xHH' hex character constants.
3658 These don't provoke an error unfortunately, instead are silently treated
3659 as 'x'. The following induces an error, until -std is added to get
3660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3661 array size at least. It's necessary to write '\x00'==0 to get something
3662 that's true only with -std. */
3663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3665 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3666 inside strings and character constants. */
3668 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3670 int test (int i, double x);
3671 struct s1 {int (*f) (int a);};
3672 struct s2 {int (*f) (double a);};
3673 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3679 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3684 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3685 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3687 CC="$ac_save_CC $ac_arg"
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689 ac_cv_prog_cc_c89=$ac_arg
3691 rm -f core conftest.err conftest.$ac_objext
3692 test "x$ac_cv_prog_cc_c89" != "xno" && break
3694 rm -f conftest.$ac_ext
3699 case "x$ac_cv_prog_cc_c89" in
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3702 $as_echo "none needed" >&6; } ;;
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3705 $as_echo "unsupported" >&6; } ;;
3707 CC="$CC $ac_cv_prog_cc_c89"
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3709 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3711 if test "x$ac_cv_prog_cc_c89" != xno; then :
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3727 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3728 # On Suns, sometimes $CPP names a directory.
3729 if test -n "$CPP" && test -d "$CPP"; then
3732 if test -z "$CPP"; then
3733 if ${ac_cv_prog_CPP+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 # Double quotes because CPP needs to be expanded
3737 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3740 for ac_c_preproc_warn_flag in '' yes
3742 # Use a header file that comes with gcc, so configuring glibc
3743 # with a fresh cross-compiler works.
3744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3745 # <limits.h> exists even on freestanding compilers.
3746 # On the NeXT, cc -E runs the code through the compiler's parser,
3747 # not just through cpp. "Syntax error" is here to catch this case.
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3751 # include <limits.h>
3753 # include <assert.h>
3757 if ac_fn_c_try_cpp "$LINENO"; then :
3760 # Broken: fails on valid input.
3763 rm -f conftest.err conftest.i conftest.$ac_ext
3765 # OK, works on sane cases. Now check whether nonexistent headers
3766 # can be detected and how.
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3771 if ac_fn_c_try_cpp "$LINENO"; then :
3772 # Broken: success on invalid input.
3775 # Passes both tests.
3779 rm -f conftest.err conftest.i conftest.$ac_ext
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.i conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then :
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3797 $as_echo "$CPP" >&6; }
3799 for ac_c_preproc_warn_flag in '' yes
3801 # Use a header file that comes with gcc, so configuring glibc
3802 # with a fresh cross-compiler works.
3803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804 # <limits.h> exists even on freestanding compilers.
3805 # On the NeXT, cc -E runs the code through the compiler's parser,
3806 # not just through cpp. "Syntax error" is here to catch this case.
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3810 # include <limits.h>
3812 # include <assert.h>
3816 if ac_fn_c_try_cpp "$LINENO"; then :
3819 # Broken: fails on valid input.
3822 rm -f conftest.err conftest.i conftest.$ac_ext
3824 # OK, works on sane cases. Now check whether nonexistent headers
3825 # can be detected and how.
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3828 #include <ac_nonexistent.h>
3830 if ac_fn_c_try_cpp "$LINENO"; then :
3831 # Broken: success on invalid input.
3834 # Passes both tests.
3838 rm -f conftest.err conftest.i conftest.$ac_ext
3841 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3842 rm -f conftest.i conftest.err conftest.$ac_ext
3843 if $ac_preproc_ok; then :
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3849 See \`config.log' for more details" "$LINENO" 5; }
3853 ac_cpp='$CPP $CPPFLAGS'
3854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3860 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3861 if ${ac_cv_path_GREP+:} false; then :
3862 $as_echo_n "(cached) " >&6
3864 if test -z "$GREP"; then
3865 ac_path_GREP_found=false
3866 # Loop through the user's path and test for each of PROGNAME-LIST
3867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3871 test -z "$as_dir" && as_dir=.
3872 for ac_prog in grep ggrep; do
3873 for ac_exec_ext in '' $ac_executable_extensions; do
3874 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3875 as_fn_executable_p "$ac_path_GREP" || continue
3876 # Check for GNU ac_path_GREP and select it if it is found.
3877 # Check for GNU $ac_path_GREP
3878 case `"$ac_path_GREP" --version 2>&1` in
3880 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3883 $as_echo_n 0123456789 >"conftest.in"
3886 cat "conftest.in" "conftest.in" >"conftest.tmp"
3887 mv "conftest.tmp" "conftest.in"
3888 cp "conftest.in" "conftest.nl"
3889 $as_echo 'GREP' >> "conftest.nl"
3890 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3891 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3892 as_fn_arith $ac_count + 1 && ac_count=$as_val
3893 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3894 # Best one so far, save it but keep looking for a better one
3895 ac_cv_path_GREP="$ac_path_GREP"
3896 ac_path_GREP_max=$ac_count
3898 # 10*(2^10) chars as input seems more than enough
3899 test $ac_count -gt 10 && break
3901 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3904 $ac_path_GREP_found && break 3
3909 if test -z "$ac_cv_path_GREP"; then
3910 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3913 ac_cv_path_GREP=$GREP
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3918 $as_echo "$ac_cv_path_GREP" >&6; }
3919 GREP="$ac_cv_path_GREP"
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3923 $as_echo_n "checking for egrep... " >&6; }
3924 if ${ac_cv_path_EGREP+:} false; then :
3925 $as_echo_n "(cached) " >&6
3927 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3928 then ac_cv_path_EGREP="$GREP -E"
3930 if test -z "$EGREP"; then
3931 ac_path_EGREP_found=false
3932 # Loop through the user's path and test for each of PROGNAME-LIST
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3937 test -z "$as_dir" && as_dir=.
3938 for ac_prog in egrep; do
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3941 as_fn_executable_p "$ac_path_EGREP" || continue
3942 # Check for GNU ac_path_EGREP and select it if it is found.
3943 # Check for GNU $ac_path_EGREP
3944 case `"$ac_path_EGREP" --version 2>&1` in
3946 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3949 $as_echo_n 0123456789 >"conftest.in"
3952 cat "conftest.in" "conftest.in" >"conftest.tmp"
3953 mv "conftest.tmp" "conftest.in"
3954 cp "conftest.in" "conftest.nl"
3955 $as_echo 'EGREP' >> "conftest.nl"
3956 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3957 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3958 as_fn_arith $ac_count + 1 && ac_count=$as_val
3959 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3960 # Best one so far, save it but keep looking for a better one
3961 ac_cv_path_EGREP="$ac_path_EGREP"
3962 ac_path_EGREP_max=$ac_count
3964 # 10*(2^10) chars as input seems more than enough
3965 test $ac_count -gt 10 && break
3967 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3970 $ac_path_EGREP_found && break 3
3975 if test -z "$ac_cv_path_EGREP"; then
3976 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3979 ac_cv_path_EGREP=$EGREP
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3985 $as_echo "$ac_cv_path_EGREP" >&6; }
3986 EGREP="$ac_cv_path_EGREP"
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3990 $as_echo_n "checking for ANSI C header files... " >&6; }
3991 if ${ac_cv_header_stdc+:} false; then :
3992 $as_echo_n "(cached) " >&6
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 ac_cv_header_stdc=yes
4012 ac_cv_header_stdc=no
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4016 if test $ac_cv_header_stdc = yes; then
4017 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4024 $EGREP "memchr" >/dev/null 2>&1; then :
4027 ac_cv_header_stdc=no
4033 if test $ac_cv_header_stdc = yes; then
4034 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4041 $EGREP "free" >/dev/null 2>&1; then :
4044 ac_cv_header_stdc=no
4050 if test $ac_cv_header_stdc = yes; then
4051 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4052 if test "$cross_compiling" = yes; then :
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4059 #if ((' ' & 0x0FF) == 0x020)
4060 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4061 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4063 # define ISLOWER(c) \
4064 (('a' <= (c) && (c) <= 'i') \
4065 || ('j' <= (c) && (c) <= 'r') \
4066 || ('s' <= (c) && (c) <= 'z'))
4067 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4075 for (i = 0; i < 256; i++)
4076 if (XOR (islower (i), ISLOWER (i))
4077 || toupper (i) != TOUPPER (i))
4082 if ac_fn_c_try_run "$LINENO"; then :
4085 ac_cv_header_stdc=no
4087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4088 conftest.$ac_objext conftest.beam conftest.$ac_ext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4094 $as_echo "$ac_cv_header_stdc" >&6; }
4095 if test $ac_cv_header_stdc = yes; then
4097 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4101 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4102 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4103 inttypes.h stdint.h unistd.h
4105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4109 cat >>confdefs.h <<_ACEOF
4110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4121 for ac_header in $ac_header_list
4123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4124 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4127 cat >>confdefs.h <<_ACEOF
4128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4142 for ac_func in getpagesize
4144 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4145 if test "x$ac_cv_func_getpagesize" = xyes; then :
4146 cat >>confdefs.h <<_ACEOF
4147 #define HAVE_GETPAGESIZE 1
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4154 $as_echo_n "checking for working mmap... " >&6; }
4155 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4156 $as_echo_n "(cached) " >&6
4158 if test "$cross_compiling" = yes; then :
4159 ac_cv_func_mmap_fixed_mapped=no
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4163 $ac_includes_default
4164 /* malloc might have been renamed as rpl_malloc. */
4167 /* Thanks to Mike Haertel and Jim Avera for this test.
4168 Here is a matrix of mmap possibilities:
4169 mmap private not fixed
4170 mmap private fixed at somewhere currently unmapped
4171 mmap private fixed at somewhere already mapped
4172 mmap shared not fixed
4173 mmap shared fixed at somewhere currently unmapped
4174 mmap shared fixed at somewhere already mapped
4175 For private mappings, we should verify that changes cannot be read()
4176 back from the file, nor mmap's back from the file at a different
4177 address. (There have been systems where private was not correctly
4178 implemented like the infamous i386 svr4.0, and systems where the
4179 VM page cache was not coherent with the file system buffer cache
4180 like early versions of FreeBSD and possibly contemporary NetBSD.)
4181 For shared mappings, we should conversely verify that changes get
4182 propagated back to all the places they're supposed to be.
4184 Grep wants private fixed already mapped.
4185 The main things grep needs to know about mmap are:
4186 * does it exist and is it safe to write into the mmap'd area
4187 * how to use it (BSD variants) */
4190 #include <sys/mman.h>
4192 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4196 /* This mess was copied from the GNU getpagesize.h. */
4197 #ifndef HAVE_GETPAGESIZE
4198 # ifdef _SC_PAGESIZE
4199 # define getpagesize() sysconf(_SC_PAGESIZE)
4200 # else /* no _SC_PAGESIZE */
4201 # ifdef HAVE_SYS_PARAM_H
4202 # include <sys/param.h>
4203 # ifdef EXEC_PAGESIZE
4204 # define getpagesize() EXEC_PAGESIZE
4205 # else /* no EXEC_PAGESIZE */
4207 # define getpagesize() NBPG * CLSIZE
4210 # endif /* no CLSIZE */
4211 # else /* no NBPG */
4213 # define getpagesize() NBPC
4214 # else /* no NBPC */
4216 # define getpagesize() PAGESIZE
4217 # endif /* PAGESIZE */
4218 # endif /* no NBPC */
4219 # endif /* no NBPG */
4220 # endif /* no EXEC_PAGESIZE */
4221 # else /* no HAVE_SYS_PARAM_H */
4222 # define getpagesize() 8192 /* punt totally */
4223 # endif /* no HAVE_SYS_PARAM_H */
4224 # endif /* no _SC_PAGESIZE */
4226 #endif /* no HAVE_GETPAGESIZE */
4231 char *data, *data2, *data3;
4236 pagesize = getpagesize ();
4238 /* First, make a file with some known garbage in it. */
4239 data = (char *) malloc (pagesize);
4242 for (i = 0; i < pagesize; ++i)
4243 *(data + i) = rand ();
4245 fd = creat ("conftest.mmap", 0600);
4248 if (write (fd, data, pagesize) != pagesize)
4252 /* Next, check that the tail of a page is zero-filled. File must have
4253 non-zero length, otherwise we risk SIGBUS for entire page. */
4254 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4258 if (write (fd2, cdata2, 1) != 1)
4260 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4261 if (data2 == MAP_FAILED)
4263 for (i = 0; i < pagesize; ++i)
4267 if (munmap (data2, pagesize))
4270 /* Next, try to mmap the file at a fixed address which already has
4271 something else allocated at it. If we can, also make sure that
4272 we see the same garbage. */
4273 fd = open ("conftest.mmap", O_RDWR);
4276 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4277 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4279 for (i = 0; i < pagesize; ++i)
4280 if (*(data + i) != *(data2 + i))
4283 /* Finally, make sure that changes to the mapped area do not
4284 percolate back to the file as seen by read(). (This is a bug on
4285 some variants of i386 svr4.0.) */
4286 for (i = 0; i < pagesize; ++i)
4287 *(data2 + i) = *(data2 + i) + 1;
4288 data3 = (char *) malloc (pagesize);
4291 if (read (fd, data3, pagesize) != pagesize)
4293 for (i = 0; i < pagesize; ++i)
4294 if (*(data + i) != *(data3 + i))
4300 if ac_fn_c_try_run "$LINENO"; then :
4301 ac_cv_func_mmap_fixed_mapped=yes
4303 ac_cv_func_mmap_fixed_mapped=no
4305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4306 conftest.$ac_objext conftest.beam conftest.$ac_ext
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4311 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4312 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4314 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4317 rm -f conftest.mmap conftest.txt
4322 am__api_version='1.11'
4324 # Find a good install program. We prefer a C program (faster),
4325 # so one script is as good as another. But avoid the broken or
4326 # incompatible versions:
4327 # SysV /etc/install, /usr/sbin/install
4328 # SunOS /usr/etc/install
4329 # IRIX /sbin/install
4331 # AmigaOS /C/install, which installs bootblocks on floppy discs
4332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4335 # OS/2's system install, which has a completely different semantic
4336 # ./install, which can be erroneously created by make from ./install.sh.
4337 # Reject install programs that cannot install multiple files.
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4339 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4340 if test -z "$INSTALL"; then
4341 if ${ac_cv_path_install+:} false; then :
4342 $as_echo_n "(cached) " >&6
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir=.
4349 # Account for people who put trailing slashes in PATH elements.
4350 case $as_dir/ in #((
4351 ./ | .// | /[cC]/* | \
4352 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4353 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4356 # OSF1 and SCO ODT 3.0 have their own names for install.
4357 # Don't use installbsd from OSF since it installs stuff as root
4359 for ac_prog in ginstall scoinst install; do
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4362 if test $ac_prog = install &&
4363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4364 # AIX install. It has an incompatible calling convention.
4366 elif test $ac_prog = install &&
4367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4368 # program-specific install script used by HP pwplus--don't use.
4371 rm -rf conftest.one conftest.two conftest.dir
4372 echo one > conftest.one
4373 echo two > conftest.two
4375 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4376 test -s conftest.one && test -s conftest.two &&
4377 test -s conftest.dir/conftest.one &&
4378 test -s conftest.dir/conftest.two
4380 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4393 rm -rf conftest.one conftest.two conftest.dir
4396 if test "${ac_cv_path_install+set}" = set; then
4397 INSTALL=$ac_cv_path_install
4399 # As a last resort, use the slow shell script. Don't cache a
4400 # value for INSTALL within a source directory, because that will
4401 # break other packages using the cache if that directory is
4402 # removed, or if the value is a relative name.
4403 INSTALL=$ac_install_sh
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4407 $as_echo "$INSTALL" >&6; }
4409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4410 # It thinks the first close brace ends the variable substitution.
4411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4418 $as_echo_n "checking whether build environment is sane... " >&6; }
4421 echo timestamp > conftest.file
4422 # Reject unsafe characters in $srcdir or the absolute working directory
4423 # name. Accept space and tab only in the latter.
4427 *[\\\"\#\$\&\'\`$am_lf]*)
4428 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4431 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4432 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4435 # Do `set' in a subshell so we don't clobber the current shell's
4436 # arguments. Must try -L first in case configure is actually a
4437 # symlink; some systems play weird games with the mod time of symlinks
4438 # (eg FreeBSD returns the mod time of the symlink's containing
4441 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4442 if test "$*" = "X"; then
4444 set X `ls -t "$srcdir/configure" conftest.file`
4447 if test "$*" != "X $srcdir/configure conftest.file" \
4448 && test "$*" != "X conftest.file $srcdir/configure"; then
4450 # If neither matched, then we have a broken ls. This can happen
4451 # if, for instance, CONFIG_SHELL is bash and it inherits a
4452 # broken ls alias from the environment. This has actually
4453 # happened. Such a system could not be considered "sane".
4454 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4455 alias in your environment" "$LINENO" 5
4458 test "$2" = conftest.file
4464 as_fn_error $? "newly created file is older than distributed files!
4465 Check your system clock" "$LINENO" 5
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4468 $as_echo "yes" >&6; }
4469 test "$program_prefix" != NONE &&
4470 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4471 # Use a double $ so make ignores it.
4472 test "$program_suffix" != NONE &&
4473 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4474 # Double any \ or $.
4475 # By default was `s,x,x', remove it if useless.
4476 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4477 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4479 # expand $ac_aux_dir to an absolute path
4480 am_aux_dir=`cd $ac_aux_dir && pwd`
4482 if test x"${MISSING+set}" != xset; then
4485 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4487 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4490 # Use eval to expand $SHELL
4491 if eval "$MISSING --run true"; then
4492 am_missing_run="$MISSING --run "
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4496 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4499 if test x"${install_sh}" != xset; then
4502 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4504 install_sh="\${SHELL} $am_aux_dir/install-sh"
4508 # Installed binaries are usually stripped using `strip' when the user
4509 # run `make install-strip'. However `strip' might not be the right
4510 # tool to use in cross-compilation environments, therefore Automake
4511 # will honor the `STRIP' environment variable to overrule this program.
4512 if test "$cross_compiling" != no; then
4513 if test -n "$ac_tool_prefix"; then
4514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4515 set dummy ${ac_tool_prefix}strip; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_STRIP+:} false; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -n "$STRIP"; then
4522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 STRIP=$ac_cv_prog_STRIP
4542 if test -n "$STRIP"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4544 $as_echo "$STRIP" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4552 if test -z "$ac_cv_prog_STRIP"; then
4554 # Extract the first word of "strip", so it can be a program name with args.
4555 set dummy strip; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4559 $as_echo_n "(cached) " >&6
4561 if test -n "$ac_ct_STRIP"; then
4562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_ac_ct_STRIP="strip"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4582 if test -n "$ac_ct_STRIP"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4584 $as_echo "$ac_ct_STRIP" >&6; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4590 if test "x$ac_ct_STRIP" = x; then
4593 case $cross_compiling:$ac_tool_warned in
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4597 ac_tool_warned=yes ;;
4602 STRIP="$ac_cv_prog_STRIP"
4606 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4609 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4610 if test -z "$MKDIR_P"; then
4611 if ${ac_cv_path_mkdir+:} false; then :
4612 $as_echo_n "(cached) " >&6
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4618 test -z "$as_dir" && as_dir=.
4619 for ac_prog in mkdir gmkdir; do
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4622 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4623 'mkdir (GNU coreutils) '* | \
4624 'mkdir (coreutils) '* | \
4625 'mkdir (fileutils) '4.1*)
4626 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4636 test -d ./--version && rmdir ./--version
4637 if test "${ac_cv_path_mkdir+set}" = set; then
4638 MKDIR_P="$ac_cv_path_mkdir -p"
4640 # As a last resort, use the slow shell script. Don't cache a
4641 # value for MKDIR_P within a source directory, because that will
4642 # break other packages using the cache if that directory is
4643 # removed, or if the value is a relative name.
4644 MKDIR_P="$ac_install_sh -d"
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4648 $as_echo "$MKDIR_P" >&6; }
4652 [\\/$]* | ?:[\\/]*) ;;
4653 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4656 for ac_prog in gawk mawk nawk awk
4658 # Extract the first word of "$ac_prog", so it can be a program name with args.
4659 set dummy $ac_prog; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_AWK+:} false; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -n "$AWK"; then
4666 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir=.
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_AWK="$ac_prog"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 if test -n "$AWK"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4688 $as_echo "$AWK" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4695 test -n "$AWK" && break
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4699 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4701 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4702 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 cat >conftest.make <<\_ACEOF
4708 @echo '@@@%%%=$(MAKE)=@@@%%%'
4710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4713 eval ac_cv_prog_make_${ac_make}_set=yes;;
4715 eval ac_cv_prog_make_${ac_make}_set=no;;
4719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4726 SET_MAKE="MAKE=${MAKE-make}"
4729 rm -rf .tst 2>/dev/null
4730 mkdir .tst 2>/dev/null
4731 if test -d .tst; then
4736 rmdir .tst 2>/dev/null
4738 DEPDIR="${am__leading_dot}deps"
4740 ac_config_commands="$ac_config_commands depfiles"
4743 am_make=${MAKE-make}
4744 cat > confinc << 'END'
4746 @echo this is the am__doit target
4749 # If we don't find an include directive, just comment out the code.
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4751 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4755 # First try GNU make style include.
4756 echo "include confinc" > confmf
4757 # Ignore all kinds of additional output from `make'.
4758 case `$am_make -s -f confmf 2> /dev/null` in #(
4759 *the\ am__doit\ target*)
4765 # Now try BSD make style include.
4766 if test "$am__include" = "#"; then
4767 echo '.include "confinc"' > confmf
4768 case `$am_make -s -f confmf 2> /dev/null` in #(
4769 *the\ am__doit\ target*)
4770 am__include=.include
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4779 $as_echo "$_am_result" >&6; }
4780 rm -f confinc confmf
4782 # Check whether --enable-dependency-tracking was given.
4783 if test "${enable_dependency_tracking+set}" = set; then :
4784 enableval=$enable_dependency_tracking;
4787 if test "x$enable_dependency_tracking" != xno; then
4788 am_depcomp="$ac_aux_dir/depcomp"
4792 if test "x$enable_dependency_tracking" != xno; then
4801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4803 # is not polluted with repeated "-I."
4804 am__isrc=' -I$(srcdir)'
4805 # test to see if srcdir already configured
4806 if test -f $srcdir/config.status; then
4807 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4811 # test whether we have cygpath
4812 if test -z "$CYGPATH_W"; then
4813 if (cygpath --version) >/dev/null 2>/dev/null; then
4814 CYGPATH_W='cygpath -w'
4821 # Define the identity of the package.
4822 PACKAGE='rygel-gst-0-10-fullscreen-renderer'
4826 cat >>confdefs.h <<_ACEOF
4827 #define PACKAGE "$PACKAGE"
4831 cat >>confdefs.h <<_ACEOF
4832 #define VERSION "$VERSION"
4835 # Some tools Automake needs.
4837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4851 # We need awk for the "check" target. The system "awk" is bad on
4853 # Always define AMTAR for backward compatibility. Yes, it's still used
4854 # in the wild :-( We should find a proper way to deprecate it ...
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4859 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4860 # Loop over all known methods to create a tar archive until one works.
4861 _am_tools='gnutar plaintar pax cpio none'
4862 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4863 # Do not fold the above two line into one, because Tru64 sh and
4864 # Solaris sh will not grok spaces in the rhs of `-'.
4865 for _am_tool in $_am_tools
4869 for _am_tar in tar gnutar gtar;
4871 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4872 ($_am_tar --version) >&5 2>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } && break
4877 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4878 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4879 am__untar="$_am_tar -xf -"
4882 # Must skip GNU tar: if it does not support --format= it doesn't create
4883 # ustar tarball either.
4884 (tar --version) >/dev/null 2>&1 && continue
4885 am__tar='tar chf - "$$tardir"'
4886 am__tar_='tar chf - "$tardir"'
4887 am__untar='tar xf -'
4890 am__tar='pax -L -x ustar -w "$$tardir"'
4891 am__tar_='pax -L -x ustar -w "$tardir"'
4895 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4896 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4897 am__untar='cpio -i -H ustar -d'
4906 # If the value was cached, stop now. We just wanted to have am__tar
4907 # and am__untar set.
4908 test -n "${am_cv_prog_tar_ustar}" && break
4910 # tar/untar a dummy directory, and stop if the command works
4913 echo GrepMe > conftest.dir/file
4914 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4915 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }
4920 if test -s conftest.tar; then
4921 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4922 ($am__untar <conftest.tar) >&5 2>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }
4926 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4931 if ${am_cv_prog_tar_ustar+:} false; then :
4932 $as_echo_n "(cached) " >&6
4934 am_cv_prog_tar_ustar=$_am_tool
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4938 $as_echo "$am_cv_prog_tar_ustar" >&6; }
4943 depcc="$CC" am_compiler_list=
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4946 $as_echo_n "checking dependency style of $depcc... " >&6; }
4947 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4951 # We make a subdir and do the tests there. Otherwise we can end up
4952 # making bogus files that we don't know about and never remove. For
4953 # instance it was reported that on HP-UX the gcc test will end up
4954 # making a dummy file named `D' -- because `-MD' means `put the output
4958 # Copy depcomp to subdir because otherwise we won't find it if we're
4959 # using a relative directory.
4960 cp "$am_depcomp" conftest.dir
4962 # We will build objects and dependencies in a subdirectory because
4963 # it helps to detect inapplicable dependency modes. For instance
4964 # both Tru64's cc and ICC support -MD to output dependencies as a
4965 # side effect of compilation, but ICC will put the dependencies in
4966 # the current directory while Tru64 will put them in the object
4970 am_cv_CC_dependencies_compiler_type=none
4971 if test "$am_compiler_list" = ""; then
4972 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4975 case " $depcc " in #(
4976 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4979 for depmode in $am_compiler_list; do
4980 # Setup a source with many dependencies, because some compilers
4981 # like to wrap large dependency lists on column 80 (with \), and
4982 # we should not choose a depcomp mode which is confused by this.
4984 # We need to recreate these files for each test, as the compiler may
4985 # overwrite some of them when testing with obscure command lines.
4986 # This happens at least with the AIX C compiler.
4988 for i in 1 2 3 4 5 6; do
4989 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4990 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4991 # Solaris 8's {/usr,}/bin/sh.
4992 touch sub/conftst$i.h
4994 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4997 # mode. It turns out that the SunPro C++ compiler does not properly
4998 # handle `-M -o', and we need to detect this. Also, some Intel
4999 # versions had trouble with output in subdirs
5000 am__obj=sub/conftest.${OBJEXT-o}
5001 am__minus_obj="-o $am__obj"
5004 # This depmode causes a compiler race in universal mode.
5005 test "$am__universal" = false || continue
5008 # after this tag, mechanisms are not by side-effect, so they'll
5009 # only be used when explicitly requested
5010 if test "x$enable_dependency_tracking" = xyes; then
5016 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5017 # This compiler won't grok `-c -o', but also, the minuso test has
5018 # not run yet. These depmodes are late enough in the game, and
5019 # so weak that their functioning should not be impacted.
5020 am__obj=conftest.${OBJEXT-o}
5025 if depmode=$depmode \
5026 source=sub/conftest.c object=$am__obj \
5027 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5028 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5029 >/dev/null 2>conftest.err &&
5030 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5031 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5032 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5033 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5034 # icc doesn't choke on unknown options, it will just issue warnings
5035 # or remarks (even with -Werror). So we grep stderr for any message
5036 # that says an option was ignored or not supported.
5037 # When given -MP, icc 7.0 and 7.1 complain thusly:
5038 # icc: Command line warning: ignoring option '-M'; no argument required
5039 # The diagnosis changed in icc 8.0:
5040 # icc: Command line remark: option '-MP' not supported
5041 if (grep 'ignoring option' conftest.err ||
5042 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5043 am_cv_CC_dependencies_compiler_type=$depmode
5052 am_cv_CC_dependencies_compiler_type=none
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5057 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5058 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5061 test "x$enable_dependency_tracking" != xno \
5062 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5064 am__fastdepCC_FALSE='#'
5066 am__fastdepCC_TRUE='#'
5067 am__fastdepCC_FALSE=
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5074 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5075 # Check whether --enable-maintainer-mode was given.
5076 if test "${enable_maintainer_mode+set}" = set; then :
5077 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5079 USE_MAINTAINER_MODE=yes
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5083 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5084 if test $USE_MAINTAINER_MODE = yes; then
5085 MAINTAINER_MODE_TRUE=
5086 MAINTAINER_MODE_FALSE='#'
5088 MAINTAINER_MODE_TRUE='#'
5089 MAINTAINER_MODE_FALSE=
5092 MAINT=$MAINTAINER_MODE_TRUE
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5100 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5105 macro_version='2.4.2'
5106 macro_revision='1.3337'
5120 ltmain="$ac_aux_dir/ltmain.sh"
5122 # Make sure we can run config.sub.
5123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5124 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5127 $as_echo_n "checking build system type... " >&6; }
5128 if ${ac_cv_build+:} false; then :
5129 $as_echo_n "(cached) " >&6
5131 ac_build_alias=$build_alias
5132 test "x$ac_build_alias" = x &&
5133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5134 test "x$ac_build_alias" = x &&
5135 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5137 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5141 $as_echo "$ac_cv_build" >&6; }
5142 case $ac_cv_build in
5144 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5147 ac_save_IFS=$IFS; IFS='-'
5153 # Remember, the first character of IFS is used to create $*,
5154 # except with old shells:
5157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5161 $as_echo_n "checking host system type... " >&6; }
5162 if ${ac_cv_host+:} false; then :
5163 $as_echo_n "(cached) " >&6
5165 if test "x$host_alias" = x; then
5166 ac_cv_host=$ac_cv_build
5168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5174 $as_echo "$ac_cv_host" >&6; }
5177 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5180 ac_save_IFS=$IFS; IFS='-'
5186 # Remember, the first character of IFS is used to create $*,
5187 # except with old shells:
5190 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5193 # Backslashify metacharacters that are still active within
5194 # double-quoted strings.
5195 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5197 # Same as above, but do not quote variable references.
5198 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5200 # Sed substitution to delay expansion of an escaped shell variable in a
5201 # double_quote_subst'ed string.
5202 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5204 # Sed substitution to delay expansion of an escaped single quote.
5205 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5207 # Sed substitution to avoid accidental globbing in evaled expressions
5208 no_glob_subst='s/\*/\\\*/g'
5210 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5211 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5212 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5215 $as_echo_n "checking how to print strings... " >&6; }
5216 # Test print first, because it will be a builtin if present.
5217 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5218 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5220 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5223 # Use this function as a fallback that always works.
5224 func_fallback_echo ()
5226 eval 'cat <<_LTECHO_EOF
5230 ECHO='func_fallback_echo'
5233 # func_echo_all arg...
5234 # Invoke $ECHO with all args, space-separated.
5241 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5242 $as_echo "printf" >&6; } ;;
5243 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5244 $as_echo "print -r" >&6; } ;;
5245 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5246 $as_echo "cat" >&6; } ;;
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5263 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5264 if ${ac_cv_path_SED+:} false; then :
5265 $as_echo_n "(cached) " >&6
5267 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5268 for ac_i in 1 2 3 4 5 6 7; do
5269 ac_script="$ac_script$as_nl$ac_script"
5271 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5272 { ac_script=; unset ac_script;}
5273 if test -z "$SED"; then
5274 ac_path_SED_found=false
5275 # Loop through the user's path and test for each of PROGNAME-LIST
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir=.
5281 for ac_prog in sed gsed; do
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5284 as_fn_executable_p "$ac_path_SED" || continue
5285 # Check for GNU ac_path_SED and select it if it is found.
5286 # Check for GNU $ac_path_SED
5287 case `"$ac_path_SED" --version 2>&1` in
5289 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5292 $as_echo_n 0123456789 >"conftest.in"
5295 cat "conftest.in" "conftest.in" >"conftest.tmp"
5296 mv "conftest.tmp" "conftest.in"
5297 cp "conftest.in" "conftest.nl"
5298 $as_echo '' >> "conftest.nl"
5299 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5300 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5301 as_fn_arith $ac_count + 1 && ac_count=$as_val
5302 if test $ac_count -gt ${ac_path_SED_max-0}; then
5303 # Best one so far, save it but keep looking for a better one
5304 ac_cv_path_SED="$ac_path_SED"
5305 ac_path_SED_max=$ac_count
5307 # 10*(2^10) chars as input seems more than enough
5308 test $ac_count -gt 10 && break
5310 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5313 $ac_path_SED_found && break 3
5318 if test -z "$ac_cv_path_SED"; then
5319 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5327 $as_echo "$ac_cv_path_SED" >&6; }
5328 SED="$ac_cv_path_SED"
5331 test -z "$SED" && SED=sed
5332 Xsed="$SED -e 1s/^X//"
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5345 $as_echo_n "checking for fgrep... " >&6; }
5346 if ${ac_cv_path_FGREP+:} false; then :
5347 $as_echo_n "(cached) " >&6
5349 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5350 then ac_cv_path_FGREP="$GREP -F"
5352 if test -z "$FGREP"; then
5353 ac_path_FGREP_found=false
5354 # Loop through the user's path and test for each of PROGNAME-LIST
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5359 test -z "$as_dir" && as_dir=.
5360 for ac_prog in fgrep; do
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5363 as_fn_executable_p "$ac_path_FGREP" || continue
5364 # Check for GNU ac_path_FGREP and select it if it is found.
5365 # Check for GNU $ac_path_FGREP
5366 case `"$ac_path_FGREP" --version 2>&1` in
5368 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5371 $as_echo_n 0123456789 >"conftest.in"
5374 cat "conftest.in" "conftest.in" >"conftest.tmp"
5375 mv "conftest.tmp" "conftest.in"
5376 cp "conftest.in" "conftest.nl"
5377 $as_echo 'FGREP' >> "conftest.nl"
5378 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5380 as_fn_arith $ac_count + 1 && ac_count=$as_val
5381 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5382 # Best one so far, save it but keep looking for a better one
5383 ac_cv_path_FGREP="$ac_path_FGREP"
5384 ac_path_FGREP_max=$ac_count
5386 # 10*(2^10) chars as input seems more than enough
5387 test $ac_count -gt 10 && break
5389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5392 $ac_path_FGREP_found && break 3
5397 if test -z "$ac_cv_path_FGREP"; then
5398 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5401 ac_cv_path_FGREP=$FGREP
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5407 $as_echo "$ac_cv_path_FGREP" >&6; }
5408 FGREP="$ac_cv_path_FGREP"
5411 test -z "$GREP" && GREP=grep
5431 # Check whether --with-gnu-ld was given.
5432 if test "${with_gnu_ld+set}" = set; then :
5433 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5439 if test "$GCC" = yes; then
5440 # Check if gcc -print-prog-name=ld gives a path.
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5442 $as_echo_n "checking for ld used by $CC... " >&6; }
5445 # gcc leaves a trailing carriage return which upsets mingw
5446 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5448 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5451 # Accept absolute paths.
5453 re_direlt='/[^/][^/]*/\.\./'
5454 # Canonicalize the pathname of ld
5455 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5456 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5457 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5459 test -z "$LD" && LD="$ac_prog"
5462 # If it fails, then pretend we aren't using GCC.
5466 # If it is relative, then search for the first ld in PATH.
5470 elif test "$with_gnu_ld" = yes; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5472 $as_echo_n "checking for GNU ld... " >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5475 $as_echo_n "checking for non-GNU ld... " >&6; }
5477 if ${lt_cv_path_LD+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -z "$LD"; then
5481 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5482 for ac_dir in $PATH; do
5484 test -z "$ac_dir" && ac_dir=.
5485 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5486 lt_cv_path_LD="$ac_dir/$ac_prog"
5487 # Check to see if the program is GNU ld. I'd rather use --version,
5488 # but apparently some variants of GNU ld only accept -v.
5489 # Break only if it was the GNU/non-GNU ld that we prefer.
5490 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5491 *GNU* | *'with BFD'*)
5492 test "$with_gnu_ld" != no && break
5495 test "$with_gnu_ld" != yes && break
5502 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5507 if test -n "$LD"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5509 $as_echo "$LD" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5514 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5516 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5517 if ${lt_cv_prog_gnu_ld+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5521 case `$LD -v 2>&1 </dev/null` in
5522 *GNU* | *'with BFD'*)
5523 lt_cv_prog_gnu_ld=yes
5526 lt_cv_prog_gnu_ld=no
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5531 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5532 with_gnu_ld=$lt_cv_prog_gnu_ld
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5543 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5544 if ${lt_cv_path_NM+:} false; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$NM"; then
5548 # Let the user override the test.
5551 lt_nm_to_check="${ac_tool_prefix}nm"
5552 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5553 lt_nm_to_check="$lt_nm_to_check nm"
5555 for lt_tmp_nm in $lt_nm_to_check; do
5556 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5557 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5559 test -z "$ac_dir" && ac_dir=.
5560 tmp_nm="$ac_dir/$lt_tmp_nm"
5561 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5562 # Check to see if the nm accepts a BSD-compat flag.
5563 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5564 # nm: unknown option "B" ignored
5565 # Tru64's nm complains that /dev/null is an invalid object file
5566 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5567 */dev/null* | *'Invalid file or object type'*)
5568 lt_cv_path_NM="$tmp_nm -B"
5572 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5574 lt_cv_path_NM="$tmp_nm -p"
5578 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5579 continue # so that we can try to find one that supports BSD flags
5588 : ${lt_cv_path_NM=no}
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5592 $as_echo "$lt_cv_path_NM" >&6; }
5593 if test "$lt_cv_path_NM" != "no"; then
5596 # Didn't find any BSD compatible name lister, look for dumpbin.
5597 if test -n "$DUMPBIN"; then :
5598 # Let the user override the test.
5600 if test -n "$ac_tool_prefix"; then
5601 for ac_prog in dumpbin "link -dump"
5603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_DUMPBIN+:} false; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$DUMPBIN"; then
5611 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 DUMPBIN=$ac_cv_prog_DUMPBIN
5631 if test -n "$DUMPBIN"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5633 $as_echo "$DUMPBIN" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 test -n "$DUMPBIN" && break
5643 if test -z "$DUMPBIN"; then
5644 ac_ct_DUMPBIN=$DUMPBIN
5645 for ac_prog in dumpbin "link -dump"
5647 # Extract the first word of "$ac_prog", so it can be a program name with args.
5648 set dummy $ac_prog; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_DUMPBIN"; then
5655 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5675 if test -n "$ac_ct_DUMPBIN"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5677 $as_echo "$ac_ct_DUMPBIN" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5684 test -n "$ac_ct_DUMPBIN" && break
5687 if test "x$ac_ct_DUMPBIN" = x; then
5690 case $cross_compiling:$ac_tool_warned in
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned=yes ;;
5696 DUMPBIN=$ac_ct_DUMPBIN
5700 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5702 DUMPBIN="$DUMPBIN -symbols"
5710 if test "$DUMPBIN" != ":"; then
5714 test -z "$NM" && NM=nm
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5722 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5723 if ${lt_cv_nm_interface+:} false; then :
5724 $as_echo_n "(cached) " >&6
5726 lt_cv_nm_interface="BSD nm"
5727 echo "int some_variable = 0;" > conftest.$ac_ext
5728 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5729 (eval "$ac_compile" 2>conftest.err)
5730 cat conftest.err >&5
5731 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5732 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5733 cat conftest.err >&5
5734 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5735 cat conftest.out >&5
5736 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5737 lt_cv_nm_interface="MS dumpbin"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5742 $as_echo "$lt_cv_nm_interface" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5745 $as_echo_n "checking whether ln -s works... " >&6; }
5747 if test "$LN_S" = "ln -s"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5749 $as_echo "yes" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5752 $as_echo "no, using $LN_S" >&6; }
5755 # find the maximum length of command line arguments
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5757 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5758 if ${lt_cv_sys_max_cmd_len+:} false; then :
5759 $as_echo_n "(cached) " >&6
5766 # On DJGPP, this test can blow up pretty badly due to problems in libc
5767 # (any single argument exceeding 2000 bytes causes a buffer overrun
5768 # during glob expansion). Even if it were fixed, the result of this
5769 # check would be larger than it should be.
5770 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5774 # Under GNU Hurd, this test is not required because there is
5775 # no limit to the length of command line arguments.
5776 # Libtool will interpret -1 as no limit whatsoever
5777 lt_cv_sys_max_cmd_len=-1;
5780 cygwin* | mingw* | cegcc*)
5781 # On Win9x/ME, this test blows up -- it succeeds, but takes
5782 # about 5 minutes as the teststring grows exponentially.
5783 # Worse, since 9x/ME are not pre-emptively multitasking,
5784 # you end up with a "frozen" computer, even though with patience
5785 # the test eventually succeeds (with a max line length of 256k).
5786 # Instead, let's just punt: use the minimum linelength reported by
5787 # all of the supported platforms: 8192 (on NT/2K/XP).
5788 lt_cv_sys_max_cmd_len=8192;
5792 # On MiNT this can take a long time and run out of memory.
5793 lt_cv_sys_max_cmd_len=8192;
5797 # On AmigaOS with pdksh, this test takes hours, literally.
5798 # So we just punt and use a minimum line length of 8192.
5799 lt_cv_sys_max_cmd_len=8192;
5802 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5803 # This has been around since 386BSD, at least. Likely further.
5804 if test -x /sbin/sysctl; then
5805 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5806 elif test -x /usr/sbin/sysctl; then
5807 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5809 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5811 # And add a safety zone
5812 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5813 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5817 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5818 lt_cv_sys_max_cmd_len=196608
5822 # The test takes a long time on OS/2.
5823 lt_cv_sys_max_cmd_len=8192
5827 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5828 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5829 # nice to cause kernel panics so lets avoid the loop below.
5830 # First set a reasonable default.
5831 lt_cv_sys_max_cmd_len=16384
5833 if test -x /sbin/sysconfig; then
5834 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5835 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5840 lt_cv_sys_max_cmd_len=102400
5842 sysv5* | sco5v6* | sysv4.2uw2*)
5843 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5844 if test -n "$kargmax"; then
5845 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5847 lt_cv_sys_max_cmd_len=32768
5851 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5852 if test -n "$lt_cv_sys_max_cmd_len"; then
5853 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5854 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5856 # Make teststring a little bigger before we do anything with it.
5857 # a 1K string should be a reasonable start.
5858 for i in 1 2 3 4 5 6 7 8 ; do
5859 teststring=$teststring$teststring
5861 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5862 # If test is not a shell built-in, we'll probably end up computing a
5863 # maximum length that is only half of the actual maximum length, but
5865 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5866 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5867 test $i != 17 # 1/2 MB should be enough
5870 teststring=$teststring$teststring
5872 # Only check the string length outside the loop.
5873 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5875 # Add a significant safety factor because C++ compilers can tack on
5876 # massive amounts of additional arguments before passing them to the
5877 # linker. It appears as though 1/2 is a usable value.
5878 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5885 if test -n $lt_cv_sys_max_cmd_len ; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5887 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5890 $as_echo "none" >&6; }
5892 max_cmd_len=$lt_cv_sys_max_cmd_len
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5904 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5905 # Try some XSI features
5908 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5910 && eval 'test $(( 1 + 1 )) -eq 2 \
5911 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5914 $as_echo "$xsi_shell" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5918 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5920 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5922 && lt_shell_append=yes
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5924 $as_echo "$lt_shell_append" >&6; }
5927 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5937 # test EBCDIC or ASCII
5938 case `echo X|tr X '\101'` in
5939 A) # ASCII based system
5940 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5941 lt_SP2NL='tr \040 \012'
5942 lt_NL2SP='tr \015\012 \040\040'
5944 *) # EBCDIC based system
5945 lt_SP2NL='tr \100 \n'
5946 lt_NL2SP='tr \r\n \100\100'
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5959 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5960 if ${lt_cv_to_host_file_cmd+:} false; then :
5961 $as_echo_n "(cached) " >&6
5966 *-*-mingw* ) # actually msys
5967 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5970 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5972 * ) # otherwise, assume *nix
5973 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5979 *-*-mingw* ) # actually msys
5980 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5983 lt_cv_to_host_file_cmd=func_convert_file_noop
5985 * ) # otherwise, assume *nix
5986 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5990 * ) # unhandled hosts (and "normal" native builds)
5991 lt_cv_to_host_file_cmd=func_convert_file_noop
5997 to_host_file_cmd=$lt_cv_to_host_file_cmd
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5999 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6006 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6007 if ${lt_cv_to_tool_file_cmd+:} false; then :
6008 $as_echo_n "(cached) " >&6
6010 #assume ordinary cross tools, or native build.
6011 lt_cv_to_tool_file_cmd=func_convert_file_noop
6015 *-*-mingw* ) # actually msys
6016 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6024 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6026 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6033 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6034 if ${lt_cv_ld_reload_flag+:} false; then :
6035 $as_echo_n "(cached) " >&6
6037 lt_cv_ld_reload_flag='-r'
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6040 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6041 reload_flag=$lt_cv_ld_reload_flag
6042 case $reload_flag in
6044 *) reload_flag=" $reload_flag" ;;
6046 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6048 cygwin* | mingw* | pw32* | cegcc*)
6049 if test "$GCC" != yes; then
6054 if test "$GCC" = yes; then
6055 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6057 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6070 if test -n "$ac_tool_prefix"; then
6071 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_OBJDUMP+:} false; then :
6076 $as_echo_n "(cached) " >&6
6078 if test -n "$OBJDUMP"; then
6079 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 OBJDUMP=$ac_cv_prog_OBJDUMP
6099 if test -n "$OBJDUMP"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6101 $as_echo "$OBJDUMP" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 if test -z "$ac_cv_prog_OBJDUMP"; then
6110 ac_ct_OBJDUMP=$OBJDUMP
6111 # Extract the first word of "objdump", so it can be a program name with args.
6112 set dummy objdump; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6116 $as_echo_n "(cached) " >&6
6118 if test -n "$ac_ct_OBJDUMP"; then
6119 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6139 if test -n "$ac_ct_OBJDUMP"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6141 $as_echo "$ac_ct_OBJDUMP" >&6; }
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6147 if test "x$ac_ct_OBJDUMP" = x; then
6150 case $cross_compiling:$ac_tool_warned in
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6156 OBJDUMP=$ac_ct_OBJDUMP
6159 OBJDUMP="$ac_cv_prog_OBJDUMP"
6162 test -z "$OBJDUMP" && OBJDUMP=objdump
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6173 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6174 if ${lt_cv_deplibs_check_method+:} false; then :
6175 $as_echo_n "(cached) " >&6
6177 lt_cv_file_magic_cmd='$MAGIC_CMD'
6178 lt_cv_file_magic_test_file=
6179 lt_cv_deplibs_check_method='unknown'
6180 # Need to set the preceding variable on all platforms that support
6181 # interlibrary dependencies.
6182 # 'none' -- dependencies not supported.
6183 # `unknown' -- same as none, but documents that we really don't know.
6184 # 'pass_all' -- all dependencies passed with no checks.
6185 # 'test_compile' -- check by making test program.
6186 # 'file_magic [[regex]]' -- check by looking for files in library path
6187 # which responds to the $file_magic_cmd with a given extended regex.
6188 # If you have `file' or equivalent on your system and you're not sure
6189 # whether `pass_all' will *always* work, you probably want this one.
6193 lt_cv_deplibs_check_method=pass_all
6197 lt_cv_deplibs_check_method=pass_all
6201 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6202 lt_cv_file_magic_cmd='/usr/bin/file -L'
6203 lt_cv_file_magic_test_file=/shlib/libc.so
6207 # func_win32_libid is a shell function defined in ltmain.sh
6208 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6209 lt_cv_file_magic_cmd='func_win32_libid'
6213 # Base MSYS/MinGW do not provide the 'file' command needed by
6214 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6215 # unless we find 'file', for example because we are cross-compiling.
6216 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6217 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6218 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6219 lt_cv_file_magic_cmd='func_win32_libid'
6221 # Keep this pattern in sync with the one in func_win32_libid.
6222 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6223 lt_cv_file_magic_cmd='$OBJDUMP -f'
6228 # use the weaker test based on 'objdump'. See mingw*.
6229 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6230 lt_cv_file_magic_cmd='$OBJDUMP -f'
6233 darwin* | rhapsody*)
6234 lt_cv_deplibs_check_method=pass_all
6237 freebsd* | dragonfly*)
6238 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6241 # Not sure whether the presence of OpenBSD here was a mistake.
6242 # Let's accept both of them until this is cleared up.
6243 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6244 lt_cv_file_magic_cmd=/usr/bin/file
6245 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6249 lt_cv_deplibs_check_method=pass_all
6254 lt_cv_deplibs_check_method=pass_all
6258 lt_cv_deplibs_check_method=pass_all
6261 hpux10.20* | hpux11*)
6262 lt_cv_file_magic_cmd=/usr/bin/file
6265 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6266 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6269 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]'
6270 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6274 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6280 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6284 irix5* | irix6* | nonstopux*)
6286 *-32|*"-32 ") libmagic=32-bit;;
6287 *-n32|*"-n32 ") libmagic=N32;;
6288 *-64|*"-64 ") libmagic=64-bit;;
6289 *) libmagic=never-match;;
6291 lt_cv_deplibs_check_method=pass_all
6294 # This must be glibc/ELF.
6295 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6296 lt_cv_deplibs_check_method=pass_all
6299 netbsd* | netbsdelf*-gnu)
6300 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6303 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6308 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6309 lt_cv_file_magic_cmd=/usr/bin/file
6310 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6314 lt_cv_deplibs_check_method=pass_all
6318 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6325 osf3* | osf4* | osf5*)
6326 lt_cv_deplibs_check_method=pass_all
6330 lt_cv_deplibs_check_method=pass_all
6334 lt_cv_deplibs_check_method=pass_all
6337 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6338 lt_cv_deplibs_check_method=pass_all
6342 case $host_vendor in
6344 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]'
6345 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6348 lt_cv_deplibs_check_method=pass_all
6351 lt_cv_file_magic_cmd='/bin/file'
6352 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6355 lt_cv_file_magic_cmd='/bin/file'
6356 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6357 lt_cv_file_magic_test_file=/lib/libc.so
6360 lt_cv_deplibs_check_method=pass_all
6363 lt_cv_deplibs_check_method=pass_all
6369 lt_cv_deplibs_check_method=pass_all
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6375 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6379 if test "$build" = "$host"; then
6382 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6385 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6391 file_magic_cmd=$lt_cv_file_magic_cmd
6392 deplibs_check_method=$lt_cv_deplibs_check_method
6393 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if ${ac_cv_prog_DLLTOOL+:} false; then :
6422 $as_echo_n "(cached) " >&6
6424 if test -n "$DLLTOOL"; then
6425 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6434 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 DLLTOOL=$ac_cv_prog_DLLTOOL
6445 if test -n "$DLLTOOL"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6447 $as_echo "$DLLTOOL" >&6; }
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6455 if test -z "$ac_cv_prog_DLLTOOL"; then
6456 ac_ct_DLLTOOL=$DLLTOOL
6457 # Extract the first word of "dlltool", so it can be a program name with args.
6458 set dummy dlltool; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6462 $as_echo_n "(cached) " >&6
6464 if test -n "$ac_ct_DLLTOOL"; then
6465 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6485 if test -n "$ac_ct_DLLTOOL"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6487 $as_echo "$ac_ct_DLLTOOL" >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6493 if test "x$ac_ct_DLLTOOL" = x; then
6496 case $cross_compiling:$ac_tool_warned in
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6502 DLLTOOL=$ac_ct_DLLTOOL
6505 DLLTOOL="$ac_cv_prog_DLLTOOL"
6508 test -z "$DLLTOOL" && DLLTOOL=dlltool
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6520 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6521 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6522 $as_echo_n "(cached) " >&6
6524 lt_cv_sharedlib_from_linklib_cmd='unknown'
6527 cygwin* | mingw* | pw32* | cegcc*)
6528 # two different shell functions defined in ltmain.sh
6529 # decide which to use based on capabilities of $DLLTOOL
6530 case `$DLLTOOL --help 2>&1` in
6531 *--identify-strict*)
6532 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6535 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6540 # fallback: assume linklib IS sharedlib
6541 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6547 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6548 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6549 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6557 if test -n "$ac_tool_prefix"; then
6560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_AR+:} false; then :
6565 $as_echo_n "(cached) " >&6
6567 if test -n "$AR"; then
6568 ac_cv_prog_AR="$AR" # Let the user override the test.
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574 test -z "$as_dir" && as_dir=.
6575 for ac_exec_ext in '' $ac_executable_extensions; do
6576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 if test -n "$AR"; then
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6590 $as_echo "$AR" >&6; }
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6597 test -n "$AR" && break
6600 if test -z "$AR"; then
6604 # Extract the first word of "$ac_prog", so it can be a program name with args.
6605 set dummy $ac_prog; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6609 $as_echo_n "(cached) " >&6
6611 if test -n "$ac_ct_AR"; then
6612 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_ac_ct_AR="$ac_prog"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6632 if test -n "$ac_ct_AR"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6634 $as_echo "$ac_ct_AR" >&6; }
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6641 test -n "$ac_ct_AR" && break
6644 if test "x$ac_ct_AR" = x; then
6647 case $cross_compiling:$ac_tool_warned in
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6651 ac_tool_warned=yes ;;
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6671 $as_echo_n "checking for archiver @FILE support... " >&6; }
6672 if ${lt_cv_ar_at_file+:} false; then :
6673 $as_echo_n "(cached) " >&6
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6687 if ac_fn_c_try_compile "$LINENO"; then :
6688 echo conftest.$ac_objext > conftest.lst
6689 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6690 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6691 (eval $lt_ar_try) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6694 test $ac_status = 0; }
6695 if test "$ac_status" -eq 0; then
6696 # Ensure the archiver fails upon bogus file names.
6697 rm -f conftest.$ac_objext libconftest.a
6698 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6699 (eval $lt_ar_try) 2>&5
6701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6702 test $ac_status = 0; }
6703 if test "$ac_status" -ne 0; then
6707 rm -f conftest.* libconftest.a
6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6714 $as_echo "$lt_cv_ar_at_file" >&6; }
6716 if test "x$lt_cv_ar_at_file" = xno; then
6719 archiver_list_spec=$lt_cv_ar_at_file
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}strip; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_STRIP+:} false; then :
6734 $as_echo_n "(cached) " >&6
6736 if test -n "$STRIP"; then
6737 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756 STRIP=$ac_cv_prog_STRIP
6757 if test -n "$STRIP"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6759 $as_echo "$STRIP" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6767 if test -z "$ac_cv_prog_STRIP"; then
6769 # Extract the first word of "strip", so it can be a program name with args.
6770 set dummy strip; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6774 $as_echo_n "(cached) " >&6
6776 if test -n "$ac_ct_STRIP"; then
6777 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_ac_ct_STRIP="strip"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6796 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6797 if test -n "$ac_ct_STRIP"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6799 $as_echo "$ac_ct_STRIP" >&6; }
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6805 if test "x$ac_ct_STRIP" = x; then
6808 case $cross_compiling:$ac_tool_warned in
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6817 STRIP="$ac_cv_prog_STRIP"
6820 test -z "$STRIP" && STRIP=:
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_RANLIB+:} false; then :
6833 $as_echo_n "(cached) " >&6
6835 if test -n "$RANLIB"; then
6836 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 RANLIB=$ac_cv_prog_RANLIB
6856 if test -n "$RANLIB"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6858 $as_echo "$RANLIB" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6866 if test -z "$ac_cv_prog_RANLIB"; then
6867 ac_ct_RANLIB=$RANLIB
6868 # Extract the first word of "ranlib", so it can be a program name with args.
6869 set dummy ranlib; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$ac_ct_RANLIB"; then
6876 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885 ac_cv_prog_ac_ct_RANLIB="ranlib"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6896 if test -n "$ac_ct_RANLIB"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6898 $as_echo "$ac_ct_RANLIB" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6904 if test "x$ac_ct_RANLIB" = x; then
6907 case $cross_compiling:$ac_tool_warned in
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6913 RANLIB=$ac_ct_RANLIB
6916 RANLIB="$ac_cv_prog_RANLIB"
6919 test -z "$RANLIB" && RANLIB=:
6926 # Determine commands to create old-style static archives.
6927 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6928 old_postinstall_cmds='chmod 644 $oldlib'
6929 old_postuninstall_cmds=
6931 if test -n "$RANLIB"; then
6934 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6937 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6940 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6945 lock_old_archive_extraction=yes ;;
6947 lock_old_archive_extraction=no ;;
6988 # If no C compiler was specified, use CC.
6991 # If no C compiler flags were specified, use CFLAGS.
6992 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6994 # Allow CC to be a program name with arguments.
6998 # Check for command to grab the raw symbol name followed by C symbol from nm.
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7000 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7001 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7002 $as_echo_n "(cached) " >&6
7005 # These are sane defaults that work on at least a few old systems.
7006 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7008 # Character class describing NM global symbol codes.
7009 symcode='[BCDEGRST]'
7011 # Regexp to match symbols that can be accessed directly from C.
7012 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7014 # Define system-specific variables.
7019 cygwin* | mingw* | pw32* | cegcc*)
7020 symcode='[ABCDGISTW]'
7023 if test "$host_cpu" = ia64; then
7024 symcode='[ABCDEGRST]'
7028 symcode='[BCDEGRST]'
7031 symcode='[BCDEGQRST]'
7042 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7050 # If we're using GNU nm, then use its standard symbol codes.
7051 case `$NM -V 2>&1` in
7052 *GNU* | *'with BFD'*)
7053 symcode='[ABCDGIRSTW]' ;;
7056 # Transform an extracted symbol line into a proper C declaration.
7057 # Some systems (esp. on ia64) link data and code symbols differently,
7058 # so use this general approach.
7059 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7061 # Transform an extracted symbol line into symbol name and symbol address
7062 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7063 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'"
7065 # Handle CRLF in mingw tool chain
7069 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7073 # Try without a prefix underscore, then with it.
7074 for ac_symprfx in "" "_"; do
7076 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7077 symxfrm="\\1 $ac_symprfx\\2 \\2"
7079 # Write the raw and C identifiers.
7080 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7081 # Fake it for dumpbin and say T for any non-static function
7082 # and D for any global variable.
7083 # Also find C++ and __fastcall symbols from MSVC++,
7084 # which start with @ or ?.
7085 lt_cv_sys_global_symbol_pipe="$AWK '"\
7086 " {last_section=section; section=\$ 3};"\
7087 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7088 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7089 " \$ 0!~/External *\|/{next};"\
7090 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7091 " {if(hide[section]) next};"\
7092 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7093 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7094 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7095 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7096 " ' prfx=^$ac_symprfx"
7098 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7100 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7102 # Check to see that the pipe works correctly.
7106 cat > conftest.$ac_ext <<_LT_EOF
7111 void nm_test_func(void);
7112 void nm_test_func(void){}
7116 int main(){nm_test_var='a';nm_test_func();return(0);}
7119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7120 (eval $ac_compile) 2>&5
7122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7123 test $ac_status = 0; }; then
7124 # Now try to grab the symbols.
7126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7127 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7130 test $ac_status = 0; } && test -s "$nlist"; then
7131 # Try sorting and uniquifying the output.
7132 if sort "$nlist" | uniq > "$nlist"T; then
7133 mv -f "$nlist"T "$nlist"
7138 # Make sure that we snagged all the symbols we need.
7139 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7140 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7141 cat <<_LT_EOF > conftest.$ac_ext
7142 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7143 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7144 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7145 relocations are performed -- see ld's documentation on pseudo-relocs. */
7146 # define LT_DLSYM_CONST
7147 #elif defined(__osf__)
7148 /* This system does not cope well with relocations in const data. */
7149 # define LT_DLSYM_CONST
7151 # define LT_DLSYM_CONST const
7159 # Now generate the symbol file.
7160 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7162 cat <<_LT_EOF >> conftest.$ac_ext
7164 /* The mapping between symbol names and symbols. */
7165 LT_DLSYM_CONST struct {
7169 lt__PROGRAM__LTX_preloaded_symbols[] =
7171 { "@PROGRAM@", (void *) 0 },
7173 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7174 cat <<\_LT_EOF >> conftest.$ac_ext
7178 /* This works around a problem in FreeBSD linker */
7179 #ifdef FREEBSD_WORKAROUND
7180 static const void *lt_preloaded_setup() {
7181 return lt__PROGRAM__LTX_preloaded_symbols;
7189 # Now try linking the two files.
7190 mv conftest.$ac_objext conftstm.$ac_objext
7191 lt_globsym_save_LIBS=$LIBS
7192 lt_globsym_save_CFLAGS=$CFLAGS
7193 LIBS="conftstm.$ac_objext"
7194 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7196 (eval $ac_link) 2>&5
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7202 LIBS=$lt_globsym_save_LIBS
7203 CFLAGS=$lt_globsym_save_CFLAGS
7205 echo "cannot find nm_test_func in $nlist" >&5
7208 echo "cannot find nm_test_var in $nlist" >&5
7211 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7214 echo "$progname: failed program was:" >&5
7215 cat conftest.$ac_ext >&5
7217 rm -rf conftest* conftst*
7219 # Do not use the global_symbol_pipe unless it works.
7220 if test "$pipe_works" = yes; then
7223 lt_cv_sys_global_symbol_pipe=
7229 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7230 lt_cv_sys_global_symbol_to_cdecl=
7232 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7234 $as_echo "failed" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7237 $as_echo "ok" >&6; }
7240 # Response file support.
7241 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7242 nm_file_list_spec='@'
7243 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7244 nm_file_list_spec='@'
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7274 $as_echo_n "checking for sysroot... " >&6; }
7276 # Check whether --with-sysroot was given.
7277 if test "${with_sysroot+set}" = set; then :
7278 withval=$with_sysroot;
7285 case ${with_sysroot} in #(
7287 if test "$GCC" = yes; then
7288 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7292 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7298 $as_echo "${with_sysroot}" >&6; }
7299 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7304 $as_echo "${lt_sysroot:-no}" >&6; }
7310 # Check whether --enable-libtool-lock was given.
7311 if test "${enable_libtool_lock+set}" = set; then :
7312 enableval=$enable_libtool_lock;
7315 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7317 # Some flags need to be propagated to the compiler or linker for good
7321 # Find out which ABI we are using.
7322 echo 'int i;' > conftest.$ac_ext
7323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7324 (eval $ac_compile) 2>&5
7326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7327 test $ac_status = 0; }; then
7328 case `/usr/bin/file conftest.$ac_objext` in
7340 # Find out which ABI we are using.
7341 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343 (eval $ac_compile) 2>&5
7345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7346 test $ac_status = 0; }; then
7347 if test "$lt_cv_prog_gnu_ld" = yes; then
7348 case `/usr/bin/file conftest.$ac_objext` in
7350 LD="${LD-ld} -melf32bsmip"
7353 LD="${LD-ld} -melf32bmipn32"
7356 LD="${LD-ld} -melf64bmip"
7360 case `/usr/bin/file conftest.$ac_objext` in
7376 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7377 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7378 # Find out which ABI we are using.
7379 echo 'int i;' > conftest.$ac_ext
7380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7381 (eval $ac_compile) 2>&5
7383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7384 test $ac_status = 0; }; then
7385 case `/usr/bin/file conftest.o` in
7388 x86_64-*kfreebsd*-gnu)
7389 LD="${LD-ld} -m elf_i386_fbsd"
7392 LD="${LD-ld} -m elf_i386"
7394 ppc64-*linux*|powerpc64-*linux*)
7395 LD="${LD-ld} -m elf32ppclinux"
7398 LD="${LD-ld} -m elf_s390"
7401 LD="${LD-ld} -m elf32_sparc"
7407 x86_64-*kfreebsd*-gnu)
7408 LD="${LD-ld} -m elf_x86_64_fbsd"
7411 LD="${LD-ld} -m elf_x86_64"
7413 ppc*-*linux*|powerpc*-*linux*)
7414 LD="${LD-ld} -m elf64ppc"
7416 s390*-*linux*|s390*-*tpf*)
7417 LD="${LD-ld} -m elf64_s390"
7420 LD="${LD-ld} -m elf64_sparc"
7430 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7431 SAVE_CFLAGS="$CFLAGS"
7432 CFLAGS="$CFLAGS -belf"
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7434 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7435 if ${lt_cv_cc_needs_belf+:} false; then :
7436 $as_echo_n "(cached) " >&6
7439 ac_cpp='$CPP $CPPFLAGS'
7440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7455 if ac_fn_c_try_link "$LINENO"; then :
7456 lt_cv_cc_needs_belf=yes
7458 lt_cv_cc_needs_belf=no
7460 rm -f core conftest.err conftest.$ac_objext \
7461 conftest$ac_exeext conftest.$ac_ext
7463 ac_cpp='$CPP $CPPFLAGS'
7464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7470 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7471 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7472 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7473 CFLAGS="$SAVE_CFLAGS"
7477 # Find out which ABI we are using.
7478 echo 'int i;' > conftest.$ac_ext
7479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7480 (eval $ac_compile) 2>&5
7482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7483 test $ac_status = 0; }; then
7484 case `/usr/bin/file conftest.o` in
7486 case $lt_cv_prog_gnu_ld in
7490 LD="${LD-ld} -m elf_x86_64"
7493 LD="${LD-ld} -m elf64_sparc"
7496 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7497 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7502 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7514 need_locks="$enable_libtool_lock"
7516 if test -n "$ac_tool_prefix"; then
7517 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7518 set dummy ${ac_tool_prefix}mt; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7522 $as_echo_n "(cached) " >&6
7524 if test -n "$MANIFEST_TOOL"; then
7525 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7545 if test -n "$MANIFEST_TOOL"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7547 $as_echo "$MANIFEST_TOOL" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7555 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7556 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7557 # Extract the first word of "mt", so it can be a program name with args.
7558 set dummy mt; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7562 $as_echo_n "(cached) " >&6
7564 if test -n "$ac_ct_MANIFEST_TOOL"; then
7565 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7585 if test -n "$ac_ct_MANIFEST_TOOL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7587 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7593 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7596 case $cross_compiling:$ac_tool_warned in
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7600 ac_tool_warned=yes ;;
7602 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7605 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7608 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7610 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7611 if ${lt_cv_path_mainfest_tool+:} false; then :
7612 $as_echo_n "(cached) " >&6
7614 lt_cv_path_mainfest_tool=no
7615 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7616 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7617 cat conftest.err >&5
7618 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7619 lt_cv_path_mainfest_tool=yes
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7624 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7625 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7635 rhapsody* | darwin*)
7636 if test -n "$ac_tool_prefix"; then
7637 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7638 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7642 $as_echo_n "(cached) " >&6
7644 if test -n "$DSYMUTIL"; then
7645 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7654 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7665 if test -n "$DSYMUTIL"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7667 $as_echo "$DSYMUTIL" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7675 if test -z "$ac_cv_prog_DSYMUTIL"; then
7676 ac_ct_DSYMUTIL=$DSYMUTIL
7677 # Extract the first word of "dsymutil", so it can be a program name with args.
7678 set dummy dsymutil; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7682 $as_echo_n "(cached) " >&6
7684 if test -n "$ac_ct_DSYMUTIL"; then
7685 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7694 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7705 if test -n "$ac_ct_DSYMUTIL"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7707 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7713 if test "x$ac_ct_DSYMUTIL" = x; then
7716 case $cross_compiling:$ac_tool_warned in
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7720 ac_tool_warned=yes ;;
7722 DSYMUTIL=$ac_ct_DSYMUTIL
7725 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7728 if test -n "$ac_tool_prefix"; then
7729 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7730 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_NMEDIT+:} false; then :
7734 $as_echo_n "(cached) " >&6
7736 if test -n "$NMEDIT"; then
7737 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 NMEDIT=$ac_cv_prog_NMEDIT
7757 if test -n "$NMEDIT"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7759 $as_echo "$NMEDIT" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7767 if test -z "$ac_cv_prog_NMEDIT"; then
7768 ac_ct_NMEDIT=$NMEDIT
7769 # Extract the first word of "nmedit", so it can be a program name with args.
7770 set dummy nmedit; ac_word=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772 $as_echo_n "checking for $ac_word... " >&6; }
7773 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7774 $as_echo_n "(cached) " >&6
7776 if test -n "$ac_ct_NMEDIT"; then
7777 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir=.
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7786 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7797 if test -n "$ac_ct_NMEDIT"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7799 $as_echo "$ac_ct_NMEDIT" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7805 if test "x$ac_ct_NMEDIT" = x; then
7808 case $cross_compiling:$ac_tool_warned in
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7812 ac_tool_warned=yes ;;
7814 NMEDIT=$ac_ct_NMEDIT
7817 NMEDIT="$ac_cv_prog_NMEDIT"
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 $as_echo_n "checking for $ac_word... " >&6; }
7825 if ${ac_cv_prog_LIPO+:} false; then :
7826 $as_echo_n "(cached) " >&6
7828 if test -n "$LIPO"; then
7829 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848 LIPO=$ac_cv_prog_LIPO
7849 if test -n "$LIPO"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7851 $as_echo "$LIPO" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7859 if test -z "$ac_cv_prog_LIPO"; then
7861 # Extract the first word of "lipo", so it can be a program name with args.
7862 set dummy lipo; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7866 $as_echo_n "(cached) " >&6
7868 if test -n "$ac_ct_LIPO"; then
7869 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_ac_ct_LIPO="lipo"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7889 if test -n "$ac_ct_LIPO"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7891 $as_echo "$ac_ct_LIPO" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7897 if test "x$ac_ct_LIPO" = x; then
7900 case $cross_compiling:$ac_tool_warned in
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904 ac_tool_warned=yes ;;
7909 LIPO="$ac_cv_prog_LIPO"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}otool; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_OTOOL+:} false; then :
7918 $as_echo_n "(cached) " >&6
7920 if test -n "$OTOOL"; then
7921 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 OTOOL=$ac_cv_prog_OTOOL
7941 if test -n "$OTOOL"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7943 $as_echo "$OTOOL" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7951 if test -z "$ac_cv_prog_OTOOL"; then
7953 # Extract the first word of "otool", so it can be a program name with args.
7954 set dummy otool; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7958 $as_echo_n "(cached) " >&6
7960 if test -n "$ac_ct_OTOOL"; then
7961 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_ac_ct_OTOOL="otool"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7981 if test -n "$ac_ct_OTOOL"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7983 $as_echo "$ac_ct_OTOOL" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7989 if test "x$ac_ct_OTOOL" = x; then
7992 case $cross_compiling:$ac_tool_warned in
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned=yes ;;
8001 OTOOL="$ac_cv_prog_OTOOL"
8004 if test -n "$ac_tool_prefix"; then
8005 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8006 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008 $as_echo_n "checking for $ac_word... " >&6; }
8009 if ${ac_cv_prog_OTOOL64+:} false; then :
8010 $as_echo_n "(cached) " >&6
8012 if test -n "$OTOOL64"; then
8013 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 test -z "$as_dir" && as_dir=.
8020 for ac_exec_ext in '' $ac_executable_extensions; do
8021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8022 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 OTOOL64=$ac_cv_prog_OTOOL64
8033 if test -n "$OTOOL64"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8035 $as_echo "$OTOOL64" >&6; }
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8043 if test -z "$ac_cv_prog_OTOOL64"; then
8044 ac_ct_OTOOL64=$OTOOL64
8045 # Extract the first word of "otool64", so it can be a program name with args.
8046 set dummy otool64; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8050 $as_echo_n "(cached) " >&6
8052 if test -n "$ac_ct_OTOOL64"; then
8053 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_ac_ct_OTOOL64="otool64"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8073 if test -n "$ac_ct_OTOOL64"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8075 $as_echo "$ac_ct_OTOOL64" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8081 if test "x$ac_ct_OTOOL64" = x; then
8084 case $cross_compiling:$ac_tool_warned in
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8088 ac_tool_warned=yes ;;
8090 OTOOL64=$ac_ct_OTOOL64
8093 OTOOL64="$ac_cv_prog_OTOOL64"
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8123 $as_echo_n "checking for -single_module linker flag... " >&6; }
8124 if ${lt_cv_apple_cc_single_mod+:} false; then :
8125 $as_echo_n "(cached) " >&6
8127 lt_cv_apple_cc_single_mod=no
8128 if test -z "${LT_MULTI_MODULE}"; then
8129 # By default we will add the -single_module flag. You can override
8130 # by either setting the environment variable LT_MULTI_MODULE
8131 # non-empty at configure time, or by adding -multi_module to the
8133 rm -rf libconftest.dylib*
8134 echo "int foo(void){return 1;}" > conftest.c
8135 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8136 -dynamiclib -Wl,-single_module conftest.c" >&5
8137 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8138 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8140 # If there is a non-empty error log, and "single_module"
8141 # appears in it, assume the flag caused a linker warning
8142 if test -s conftest.err && $GREP single_module conftest.err; then
8143 cat conftest.err >&5
8144 # Otherwise, if the output was created with a 0 exit code from
8145 # the compiler, it worked.
8146 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8147 lt_cv_apple_cc_single_mod=yes
8149 cat conftest.err >&5
8151 rm -rf libconftest.dylib*
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8156 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8159 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8160 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8161 $as_echo_n "(cached) " >&6
8163 lt_cv_ld_exported_symbols_list=no
8164 save_LDFLAGS=$LDFLAGS
8165 echo "_main" > conftest.sym
8166 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 lt_cv_ld_exported_symbols_list=yes
8181 lt_cv_ld_exported_symbols_list=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 LDFLAGS="$save_LDFLAGS"
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8189 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8192 $as_echo_n "checking for -force_load linker flag... " >&6; }
8193 if ${lt_cv_ld_force_load+:} false; then :
8194 $as_echo_n "(cached) " >&6
8196 lt_cv_ld_force_load=no
8197 cat > conftest.c << _LT_EOF
8198 int forced_loaded() { return 2;}
8200 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8201 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8202 echo "$AR cru libconftest.a conftest.o" >&5
8203 $AR cru libconftest.a conftest.o 2>&5
8204 echo "$RANLIB libconftest.a" >&5
8205 $RANLIB libconftest.a 2>&5
8206 cat > conftest.c << _LT_EOF
8207 int main() { return 0;}
8209 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8210 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8212 if test -s conftest.err && $GREP force_load conftest.err; then
8213 cat conftest.err >&5
8214 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8215 lt_cv_ld_force_load=yes
8217 cat conftest.err >&5
8219 rm -f conftest.err libconftest.a conftest conftest.c
8220 rm -rf conftest.dSYM
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8224 $as_echo "$lt_cv_ld_force_load" >&6; }
8226 rhapsody* | darwin1.[012])
8227 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8229 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8230 darwin*) # darwin 5.x on
8231 # if running on 10.5 or later, the deployment target defaults
8232 # to the OS version, if on x86, and 10.4, the deployment
8233 # target defaults to 10.4. Don't you love it?
8234 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8235 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8236 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8238 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8240 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8244 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8245 _lt_dar_single_mod='$single_module'
8247 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8248 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8250 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8252 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8253 _lt_dsymutil='~$DSYMUTIL $lib || :'
8260 for ac_header in dlfcn.h
8262 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8264 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8265 cat >>confdefs.h <<_ACEOF
8266 #define HAVE_DLFCN_H 1
8279 # Check whether --enable-static was given.
8280 if test "${enable_static+set}" = set; then :
8281 enableval=$enable_static; p=${PACKAGE-default}
8283 yes) enable_static=yes ;;
8284 no) enable_static=no ;;
8287 # Look at the argument we got. We use all the common list separators.
8288 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8289 for pkg in $enableval; do
8291 if test "X$pkg" = "X$p"; then
8315 # Check whether --enable-shared was given.
8316 if test "${enable_shared+set}" = set; then :
8317 enableval=$enable_shared; p=${PACKAGE-default}
8319 yes) enable_shared=yes ;;
8320 no) enable_shared=no ;;
8323 # Look at the argument we got. We use all the common list separators.
8324 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8325 for pkg in $enableval; do
8327 if test "X$pkg" = "X$p"; then
8348 # Check whether --with-pic was given.
8349 if test "${with_pic+set}" = set; then :
8350 withval=$with_pic; lt_p=${PACKAGE-default}
8352 yes|no) pic_mode=$withval ;;
8355 # Look at the argument we got. We use all the common list separators.
8356 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8357 for lt_pkg in $withval; do
8359 if test "X$lt_pkg" = "X$lt_p"; then
8371 test -z "$pic_mode" && pic_mode=default
8379 # Check whether --enable-fast-install was given.
8380 if test "${enable_fast_install+set}" = set; then :
8381 enableval=$enable_fast_install; p=${PACKAGE-default}
8383 yes) enable_fast_install=yes ;;
8384 no) enable_fast_install=no ;;
8386 enable_fast_install=no
8387 # Look at the argument we got. We use all the common list separators.
8388 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8389 for pkg in $enableval; do
8391 if test "X$pkg" = "X$p"; then
8392 enable_fast_install=yes
8399 enable_fast_install=yes
8412 # This can be used to rebuild libtool when needed
8413 LIBTOOL_DEPS="$ltmain"
8415 # Always use our own libtool.
8416 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8447 test -z "$LN_S" && LN_S="ln -s"
8462 if test -n "${ZSH_VERSION+set}" ; then
8463 setopt NO_GLOB_SUBST
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8467 $as_echo_n "checking for objdir... " >&6; }
8468 if ${lt_cv_objdir+:} false; then :
8469 $as_echo_n "(cached) " >&6
8471 rm -f .libs 2>/dev/null
8472 mkdir .libs 2>/dev/null
8473 if test -d .libs; then
8476 # MS-DOS does not allow filenames that begin with a dot.
8479 rmdir .libs 2>/dev/null
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8482 $as_echo "$lt_cv_objdir" >&6; }
8483 objdir=$lt_cv_objdir
8489 cat >>confdefs.h <<_ACEOF
8490 #define LT_OBJDIR "$lt_cv_objdir/"
8498 # AIX sometimes has problems with the GCC collect2 program. For some
8499 # reason, if we set the COLLECT_NAMES environment variable, the problems
8500 # vanish in a puff of smoke.
8501 if test "X${COLLECT_NAMES+set}" != Xset; then
8503 export COLLECT_NAMES
8510 can_build_shared=yes
8512 # All known linkers require a `.a' archive for static linking (except MSVC,
8513 # which needs '.lib').
8516 with_gnu_ld="$lt_cv_prog_gnu_ld"
8519 old_CFLAGS="$CFLAGS"
8521 # Set sane defaults for various variables
8522 test -z "$CC" && CC=cc
8523 test -z "$LTCC" && LTCC=$CC
8524 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8525 test -z "$LD" && LD=ld
8526 test -z "$ac_objext" && ac_objext=o
8528 for cc_temp in $compiler""; do
8530 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8531 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8536 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8539 # Only perform the check for file, if the check method requires it
8540 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8541 case $deplibs_check_method in
8543 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8545 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8546 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8547 $as_echo_n "(cached) " >&6
8551 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8554 lt_save_MAGIC_CMD="$MAGIC_CMD"
8555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8556 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8557 for ac_dir in $ac_dummy; do
8559 test -z "$ac_dir" && ac_dir=.
8560 if test -f $ac_dir/${ac_tool_prefix}file; then
8561 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8562 if test -n "$file_magic_test_file"; then
8563 case $deplibs_check_method in
8565 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8566 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8568 $EGREP "$file_magic_regex" > /dev/null; then
8573 *** Warning: the command libtool uses to detect shared libraries,
8574 *** $file_magic_cmd, produces output that libtool cannot recognize.
8575 *** The result is that libtool may fail to recognize shared libraries
8576 *** as such. This will affect the creation of libtool libraries that
8577 *** depend on shared libraries, but programs linked with such libtool
8578 *** libraries will work regardless of this problem. Nevertheless, you
8579 *** may want to report the problem to your system manager and/or to
8580 *** bug-libtool@gnu.org
8590 MAGIC_CMD="$lt_save_MAGIC_CMD"
8595 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8596 if test -n "$MAGIC_CMD"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8598 $as_echo "$MAGIC_CMD" >&6; }
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8601 $as_echo "no" >&6; }
8608 if test -z "$lt_cv_path_MAGIC_CMD"; then
8609 if test -n "$ac_tool_prefix"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8611 $as_echo_n "checking for file... " >&6; }
8612 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8613 $as_echo_n "(cached) " >&6
8617 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8620 lt_save_MAGIC_CMD="$MAGIC_CMD"
8621 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8622 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8623 for ac_dir in $ac_dummy; do
8625 test -z "$ac_dir" && ac_dir=.
8626 if test -f $ac_dir/file; then
8627 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8628 if test -n "$file_magic_test_file"; then
8629 case $deplibs_check_method in
8631 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8632 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8633 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8634 $EGREP "$file_magic_regex" > /dev/null; then
8639 *** Warning: the command libtool uses to detect shared libraries,
8640 *** $file_magic_cmd, produces output that libtool cannot recognize.
8641 *** The result is that libtool may fail to recognize shared libraries
8642 *** as such. This will affect the creation of libtool libraries that
8643 *** depend on shared libraries, but programs linked with such libtool
8644 *** libraries will work regardless of this problem. Nevertheless, you
8645 *** may want to report the problem to your system manager and/or to
8646 *** bug-libtool@gnu.org
8656 MAGIC_CMD="$lt_save_MAGIC_CMD"
8661 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8662 if test -n "$MAGIC_CMD"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8664 $as_echo "$MAGIC_CMD" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8667 $as_echo "no" >&6; }
8680 # Use C for the default configuration in the libtool script
8684 ac_cpp='$CPP $CPPFLAGS'
8685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8690 # Source file extension for C test sources.
8693 # Object file extension for compiled C test sources.
8697 # Code to be used in simple compile tests
8698 lt_simple_compile_test_code="int some_variable = 0;"
8700 # Code to be used in simple link tests
8701 lt_simple_link_test_code='int main(){return(0);}'
8709 # If no C compiler was specified, use CC.
8712 # If no C compiler flags were specified, use CFLAGS.
8713 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8715 # Allow CC to be a program name with arguments.
8718 # Save the default compiler, since it gets overwritten when the other
8719 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8720 compiler_DEFAULT=$CC
8722 # save warnings/boilerplate of simple test code
8723 ac_outfile=conftest.$ac_objext
8724 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8725 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8726 _lt_compiler_boilerplate=`cat conftest.err`
8729 ac_outfile=conftest.$ac_objext
8730 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8731 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8732 _lt_linker_boilerplate=`cat conftest.err`
8737 ## There is no encapsulation within the following macros, do not change
8738 ## the running order or otherwise move them around unless you know exactly
8739 ## what you are doing...
8740 if test -n "$compiler"; then
8742 lt_prog_compiler_no_builtin_flag=
8744 if test "$GCC" = yes; then
8745 case $cc_basename in
8747 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8749 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8753 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8754 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8755 $as_echo_n "(cached) " >&6
8757 lt_cv_prog_compiler_rtti_exceptions=no
8758 ac_outfile=conftest.$ac_objext
8759 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8760 lt_compiler_flag="-fno-rtti -fno-exceptions"
8761 # Insert the option either (1) after the last *FLAGS variable, or
8762 # (2) before a word containing "conftest.", or (3) at the end.
8763 # Note that $ac_compile itself does not contain backslashes and begins
8764 # with a dollar sign (not a hyphen), so the echo should work correctly.
8765 # The option is referenced via a variable to avoid confusing sed.
8766 lt_compile=`echo "$ac_compile" | $SED \
8767 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8769 -e 's:$: $lt_compiler_flag:'`
8770 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8771 (eval "$lt_compile" 2>conftest.err)
8773 cat conftest.err >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 if (exit $ac_status) && test -s "$ac_outfile"; then
8776 # The compiler can only warn and ignore the option if not recognized
8777 # So say no if there are warnings other than the usual output.
8778 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8779 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8780 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8781 lt_cv_prog_compiler_rtti_exceptions=yes
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8788 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8790 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8791 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8803 lt_prog_compiler_wl=
8804 lt_prog_compiler_pic=
8805 lt_prog_compiler_static=
8808 if test "$GCC" = yes; then
8809 lt_prog_compiler_wl='-Wl,'
8810 lt_prog_compiler_static='-static'
8814 # All AIX code is PIC.
8815 if test "$host_cpu" = ia64; then
8816 # AIX 5 now supports IA64 processor
8817 lt_prog_compiler_static='-Bstatic'
8824 # see comment about AmigaOS4 .so support
8825 lt_prog_compiler_pic='-fPIC'
8828 # FIXME: we need at least 68020 code to build shared libraries, but
8829 # adding the `-m68020' flag to GCC prevents building anything better,
8831 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8836 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8837 # PIC is the default for these OSes.
8840 mingw* | cygwin* | pw32* | os2* | cegcc*)
8841 # This hack is so that the source file can tell whether it is being
8842 # built for inclusion in a dll (and should export symbols for example).
8843 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8844 # (--disable-auto-import) libraries
8845 lt_prog_compiler_pic='-DDLL_EXPORT'
8848 darwin* | rhapsody*)
8849 # PIC is the default on this platform
8850 # Common symbols not allowed in MH_DYLIB files
8851 lt_prog_compiler_pic='-fno-common'
8855 # PIC is the default for Haiku.
8856 # The "-static" flag exists, but is broken.
8857 lt_prog_compiler_static=
8861 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8862 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8863 # sets the default TLS model and affects inlining.
8869 lt_prog_compiler_pic='-fPIC'
8875 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8876 # Instead, we relocate shared libraries at runtime.
8880 # Just because we use GCC doesn't mean we suddenly get shared libraries
8881 # on systems that don't support them.
8882 lt_prog_compiler_can_build_shared=no
8887 # QNX uses GNU C++, but need to define -shared option too, otherwise
8889 lt_prog_compiler_pic='-fPIC -shared'
8893 if test -d /usr/nec; then
8894 lt_prog_compiler_pic=-Kconform_pic
8899 lt_prog_compiler_pic='-fPIC'
8903 case $cc_basename in
8904 nvcc*) # Cuda Compiler Driver 2.2
8905 lt_prog_compiler_wl='-Xlinker '
8906 if test -n "$lt_prog_compiler_pic"; then
8907 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8912 # PORTME Check for flag to pass linker flags through the system compiler.
8915 lt_prog_compiler_wl='-Wl,'
8916 if test "$host_cpu" = ia64; then
8917 # AIX 5 now supports IA64 processor
8918 lt_prog_compiler_static='-Bstatic'
8920 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8924 mingw* | cygwin* | pw32* | os2* | cegcc*)
8925 # This hack is so that the source file can tell whether it is being
8926 # built for inclusion in a dll (and should export symbols for example).
8927 lt_prog_compiler_pic='-DDLL_EXPORT'
8930 hpux9* | hpux10* | hpux11*)
8931 lt_prog_compiler_wl='-Wl,'
8932 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8939 lt_prog_compiler_pic='+Z'
8942 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8943 lt_prog_compiler_static='${wl}-a ${wl}archive'
8946 irix5* | irix6* | nonstopux*)
8947 lt_prog_compiler_wl='-Wl,'
8948 # PIC (with -KPIC) is the default.
8949 lt_prog_compiler_static='-non_shared'
8952 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8953 case $cc_basename in
8954 # old Intel for x86_64 which still supported -KPIC.
8956 lt_prog_compiler_wl='-Wl,'
8957 lt_prog_compiler_pic='-KPIC'
8958 lt_prog_compiler_static='-static'
8960 # icc used to be incompatible with GCC.
8961 # ICC 10 doesn't accept -KPIC any more.
8963 lt_prog_compiler_wl='-Wl,'
8964 lt_prog_compiler_pic='-fPIC'
8965 lt_prog_compiler_static='-static'
8967 # Lahey Fortran 8.1.
8969 lt_prog_compiler_wl='-Wl,'
8970 lt_prog_compiler_pic='--shared'
8971 lt_prog_compiler_static='--static'
8974 # NAG Fortran compiler
8975 lt_prog_compiler_wl='-Wl,-Wl,,'
8976 lt_prog_compiler_pic='-PIC'
8977 lt_prog_compiler_static='-Bstatic'
8979 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8980 # Portland Group compilers (*not* the Pentium gcc compiler,
8981 # which looks to be a dead project)
8982 lt_prog_compiler_wl='-Wl,'
8983 lt_prog_compiler_pic='-fpic'
8984 lt_prog_compiler_static='-Bstatic'
8987 lt_prog_compiler_wl='-Wl,'
8988 # All Alpha code is PIC.
8989 lt_prog_compiler_static='-non_shared'
8991 xl* | bgxl* | bgf* | mpixl*)
8992 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8993 lt_prog_compiler_wl='-Wl,'
8994 lt_prog_compiler_pic='-qpic'
8995 lt_prog_compiler_static='-qstaticlink'
8998 case `$CC -V 2>&1 | sed 5q` in
8999 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9000 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9001 lt_prog_compiler_pic='-KPIC'
9002 lt_prog_compiler_static='-Bstatic'
9003 lt_prog_compiler_wl=''
9005 *Sun\ F* | *Sun*Fortran*)
9006 lt_prog_compiler_pic='-KPIC'
9007 lt_prog_compiler_static='-Bstatic'
9008 lt_prog_compiler_wl='-Qoption ld '
9012 lt_prog_compiler_pic='-KPIC'
9013 lt_prog_compiler_static='-Bstatic'
9014 lt_prog_compiler_wl='-Wl,'
9016 *Intel*\ [CF]*Compiler*)
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_pic='-fPIC'
9019 lt_prog_compiler_static='-static'
9022 lt_prog_compiler_wl='-Wl,'
9023 lt_prog_compiler_pic='-fpic'
9024 lt_prog_compiler_static='-Bstatic'
9032 lt_prog_compiler_pic='-KPIC'
9033 lt_prog_compiler_static='-Bstatic'
9037 # QNX uses GNU C++, but need to define -shared option too, otherwise
9039 lt_prog_compiler_pic='-fPIC -shared'
9042 osf3* | osf4* | osf5*)
9043 lt_prog_compiler_wl='-Wl,'
9044 # All OSF/1 code is PIC.
9045 lt_prog_compiler_static='-non_shared'
9049 lt_prog_compiler_static='-non_shared'
9053 lt_prog_compiler_pic='-KPIC'
9054 lt_prog_compiler_static='-Bstatic'
9055 case $cc_basename in
9056 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9057 lt_prog_compiler_wl='-Qoption ld ';;
9059 lt_prog_compiler_wl='-Wl,';;
9064 lt_prog_compiler_wl='-Qoption ld '
9065 lt_prog_compiler_pic='-PIC'
9066 lt_prog_compiler_static='-Bstatic'
9069 sysv4 | sysv4.2uw2* | sysv4.3*)
9070 lt_prog_compiler_wl='-Wl,'
9071 lt_prog_compiler_pic='-KPIC'
9072 lt_prog_compiler_static='-Bstatic'
9076 if test -d /usr/nec ;then
9077 lt_prog_compiler_pic='-Kconform_pic'
9078 lt_prog_compiler_static='-Bstatic'
9082 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9083 lt_prog_compiler_wl='-Wl,'
9084 lt_prog_compiler_pic='-KPIC'
9085 lt_prog_compiler_static='-Bstatic'
9089 lt_prog_compiler_wl='-Wl,'
9090 lt_prog_compiler_can_build_shared=no
9094 lt_prog_compiler_pic='-pic'
9095 lt_prog_compiler_static='-Bstatic'
9099 lt_prog_compiler_can_build_shared=no
9105 # For platforms which do not support PIC, -DPIC is meaningless:
9107 lt_prog_compiler_pic=
9110 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9115 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9116 if ${lt_cv_prog_compiler_pic+:} false; then :
9117 $as_echo_n "(cached) " >&6
9119 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9122 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9123 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9126 # Check to make sure the PIC flag actually works.
9128 if test -n "$lt_prog_compiler_pic"; then
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9130 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9131 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9132 $as_echo_n "(cached) " >&6
9134 lt_cv_prog_compiler_pic_works=no
9135 ac_outfile=conftest.$ac_objext
9136 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9137 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9138 # Insert the option either (1) after the last *FLAGS variable, or
9139 # (2) before a word containing "conftest.", or (3) at the end.
9140 # Note that $ac_compile itself does not contain backslashes and begins
9141 # with a dollar sign (not a hyphen), so the echo should work correctly.
9142 # The option is referenced via a variable to avoid confusing sed.
9143 lt_compile=`echo "$ac_compile" | $SED \
9144 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9146 -e 's:$: $lt_compiler_flag:'`
9147 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9148 (eval "$lt_compile" 2>conftest.err)
9150 cat conftest.err >&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 if (exit $ac_status) && test -s "$ac_outfile"; then
9153 # The compiler can only warn and ignore the option if not recognized
9154 # So say no if there are warnings other than the usual output.
9155 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9156 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9157 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9158 lt_cv_prog_compiler_pic_works=yes
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9165 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9167 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9168 case $lt_prog_compiler_pic in
9170 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9173 lt_prog_compiler_pic=
9174 lt_prog_compiler_can_build_shared=no
9190 # Check to make sure the static flag actually works.
9192 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9194 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9195 if ${lt_cv_prog_compiler_static_works+:} false; then :
9196 $as_echo_n "(cached) " >&6
9198 lt_cv_prog_compiler_static_works=no
9199 save_LDFLAGS="$LDFLAGS"
9200 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9201 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9202 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9203 # The linker can only warn and ignore the option if not recognized
9204 # So say no if there are warnings
9205 if test -s conftest.err; then
9206 # Append any errors to the config.log.
9207 cat conftest.err 1>&5
9208 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9209 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9210 if diff conftest.exp conftest.er2 >/dev/null; then
9211 lt_cv_prog_compiler_static_works=yes
9214 lt_cv_prog_compiler_static_works=yes
9218 LDFLAGS="$save_LDFLAGS"
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9222 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9224 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9227 lt_prog_compiler_static=
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9237 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9238 if ${lt_cv_prog_compiler_c_o+:} false; then :
9239 $as_echo_n "(cached) " >&6
9241 lt_cv_prog_compiler_c_o=no
9242 $RM -r conftest 2>/dev/null
9246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9248 lt_compiler_flag="-o out/conftest2.$ac_objext"
9249 # Insert the option either (1) after the last *FLAGS variable, or
9250 # (2) before a word containing "conftest.", or (3) at the end.
9251 # Note that $ac_compile itself does not contain backslashes and begins
9252 # with a dollar sign (not a hyphen), so the echo should work correctly.
9253 lt_compile=`echo "$ac_compile" | $SED \
9254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9256 -e 's:$: $lt_compiler_flag:'`
9257 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9258 (eval "$lt_compile" 2>out/conftest.err)
9260 cat out/conftest.err >&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9264 # The compiler can only warn and ignore the option if not recognized
9265 # So say no if there are warnings
9266 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9267 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9268 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9269 lt_cv_prog_compiler_c_o=yes
9274 # SGI C++ compiler will create directory out/ii_files/ for
9275 # template instantiation
9276 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9277 $RM out/* && rmdir out
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9284 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9292 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9293 if ${lt_cv_prog_compiler_c_o+:} false; then :
9294 $as_echo_n "(cached) " >&6
9296 lt_cv_prog_compiler_c_o=no
9297 $RM -r conftest 2>/dev/null
9301 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9303 lt_compiler_flag="-o out/conftest2.$ac_objext"
9304 # Insert the option either (1) after the last *FLAGS variable, or
9305 # (2) before a word containing "conftest.", or (3) at the end.
9306 # Note that $ac_compile itself does not contain backslashes and begins
9307 # with a dollar sign (not a hyphen), so the echo should work correctly.
9308 lt_compile=`echo "$ac_compile" | $SED \
9309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9311 -e 's:$: $lt_compiler_flag:'`
9312 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9313 (eval "$lt_compile" 2>out/conftest.err)
9315 cat out/conftest.err >&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9319 # The compiler can only warn and ignore the option if not recognized
9320 # So say no if there are warnings
9321 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9322 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9323 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9324 lt_cv_prog_compiler_c_o=yes
9329 # SGI C++ compiler will create directory out/ii_files/ for
9330 # template instantiation
9331 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9332 $RM out/* && rmdir out
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9339 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9344 hard_links="nottested"
9345 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9346 # do not overwrite the value of need_locks provided by the user
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9348 $as_echo_n "checking if we can lock with hard links... " >&6; }
9351 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9353 ln conftest.a conftest.b 2>&5 || hard_links=no
9354 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9356 $as_echo "$hard_links" >&6; }
9357 if test "$hard_links" = no; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9372 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9375 allow_undefined_flag=
9376 always_export_symbols=no
9378 archive_expsym_cmds=
9379 compiler_needs_object=no
9380 enable_shared_with_static_runtimes=no
9381 export_dynamic_flag_spec=
9382 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9383 hardcode_automatic=no
9385 hardcode_direct_absolute=no
9386 hardcode_libdir_flag_spec=
9387 hardcode_libdir_separator=
9389 hardcode_shlibpath_var=unsupported
9391 link_all_deplibs=unknown
9394 old_archive_from_new_cmds=
9395 old_archive_from_expsyms_cmds=
9396 thread_safe_flag_spec=
9397 whole_archive_flag_spec=
9398 # include_expsyms should be a list of space-separated symbols to be *always*
9399 # included in the symbol list
9401 # exclude_expsyms can be an extended regexp of symbols to exclude
9402 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9403 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9404 # as well as any symbol that contains `d'.
9405 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9406 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9407 # platforms (ab)use it in PIC code, but their linkers get confused if
9408 # the symbol is explicitly referenced. Since portable code cannot
9409 # rely on this symbol name, it's probably fine to never include it in
9410 # preloaded symbol tables.
9411 # Exclude shared library initialization/finalization symbols.
9412 extract_expsyms_cmds=
9415 cygwin* | mingw* | pw32* | cegcc*)
9416 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9417 # When not using gcc, we currently assume that we are using
9418 # Microsoft Visual C++.
9419 if test "$GCC" != yes; then
9424 # we just hope/assume this is gcc and not c89 (= MSVC++)
9430 linux* | k*bsd*-gnu | gnu*)
9437 # On some targets, GNU ld is compatible enough with the native linker
9438 # that we're better off using the native interface for both.
9439 lt_use_gnu_ld_interface=no
9440 if test "$with_gnu_ld" = yes; then
9443 # The AIX port of GNU ld has always aspired to compatibility
9444 # with the native linker. However, as the warning in the GNU ld
9445 # block says, versions before 2.19.5* couldn't really create working
9446 # shared libraries, regardless of the interface used.
9447 case `$LD -v 2>&1` in
9448 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9449 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9450 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9452 lt_use_gnu_ld_interface=yes
9457 lt_use_gnu_ld_interface=yes
9462 if test "$lt_use_gnu_ld_interface" = yes; then
9463 # If archive_cmds runs LD, not CC, wlarc should be empty
9466 # Set some defaults for GNU ld with shared library support. These
9467 # are reset later if shared libraries are not supported. Putting them
9468 # here allows them to be overridden if necessary.
9469 runpath_var=LD_RUN_PATH
9470 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9471 export_dynamic_flag_spec='${wl}--export-dynamic'
9472 # ancient GNU ld didn't support --whole-archive et. al.
9473 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9474 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9476 whole_archive_flag_spec=
9478 supports_anon_versioning=no
9479 case `$LD -v 2>&1` in
9480 *GNU\ gold*) supports_anon_versioning=yes ;;
9481 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9482 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9483 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9484 *\ 2.11.*) ;; # other 2.11 versions
9485 *) supports_anon_versioning=yes ;;
9488 # See if GNU ld supports shared libraries.
9491 # On AIX/PPC, the GNU linker is very broken
9492 if test "$host_cpu" != ia64; then
9496 *** Warning: the GNU linker, at least up to release 2.19, is reported
9497 *** to be unable to reliably create shared libraries on AIX.
9498 *** Therefore, libtool is disabling shared libraries support. If you
9499 *** really care for shared libraries, you may want to install binutils
9500 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9501 *** You will then need to restart the configuration process.
9510 # see comment about AmigaOS4 .so support
9511 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9512 archive_expsym_cmds=''
9515 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)'
9516 hardcode_libdir_flag_spec='-L$libdir'
9517 hardcode_minus_L=yes
9523 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9524 allow_undefined_flag=unsupported
9525 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9526 # support --undefined. This deserves some investigation. FIXME
9527 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533 cygwin* | mingw* | pw32* | cegcc*)
9534 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9535 # as there is no search path for DLLs.
9536 hardcode_libdir_flag_spec='-L$libdir'
9537 export_dynamic_flag_spec='${wl}--export-all-symbols'
9538 allow_undefined_flag=unsupported
9539 always_export_symbols=no
9540 enable_shared_with_static_runtimes=yes
9541 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'
9542 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9544 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9546 # If the export-symbols file already is a .def file (1st line
9547 # is EXPORTS), use it as is; otherwise, prepend...
9548 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9549 cp $export_symbols $output_objdir/$soname.def;
9551 echo EXPORTS > $output_objdir/$soname.def;
9552 cat $export_symbols >> $output_objdir/$soname.def;
9554 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 link_all_deplibs=yes
9567 hardcode_shlibpath_var=no
9568 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9569 export_dynamic_flag_spec='${wl}-E'
9570 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9571 # Instead, shared libraries are loaded at an image base (0x10000000 by
9572 # default) and relocated if they conflict, which is a slow very memory
9573 # consuming and fragmenting process. To avoid this, we pick a random,
9574 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9575 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9576 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9577 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'
9580 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9582 if test "$host_os" = linux-dietlibc; then
9583 case $cc_basename in
9584 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9587 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9588 && test "$tmp_diet" = no
9590 tmp_addflag=' $pic_flag'
9591 tmp_sharedflag='-shared'
9592 case $cc_basename,$host_cpu in
9593 pgcc*) # Portland Group C compiler
9594 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'
9595 tmp_addflag=' $pic_flag'
9597 pgf77* | pgf90* | pgf95* | pgfortran*)
9598 # Portland Group f77 and f90 compilers
9599 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'
9600 tmp_addflag=' $pic_flag -Mnomain' ;;
9601 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9602 tmp_addflag=' -i_dynamic' ;;
9603 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9604 tmp_addflag=' -i_dynamic -nofor_main' ;;
9605 ifc* | ifort*) # Intel Fortran compiler
9606 tmp_addflag=' -nofor_main' ;;
9607 lf95*) # Lahey Fortran 8.1
9608 whole_archive_flag_spec=
9609 tmp_sharedflag='--shared' ;;
9610 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9611 tmp_sharedflag='-qmkshrobj'
9613 nvcc*) # Cuda Compiler Driver 2.2
9614 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'
9615 compiler_needs_object=yes
9618 case `$CC -V 2>&1 | sed 5q` in
9619 *Sun\ C*) # Sun C 5.9
9620 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'
9621 compiler_needs_object=yes
9622 tmp_sharedflag='-G' ;;
9623 *Sun\ F*) # Sun Fortran 8.3
9624 tmp_sharedflag='-G' ;;
9626 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9628 if test "x$supports_anon_versioning" = xyes; then
9629 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9630 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9631 echo "local: *; };" >> $output_objdir/$libname.ver~
9632 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9635 case $cc_basename in
9636 xlf* | bgf* | bgxlf* | mpixlf*)
9637 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9638 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9639 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9640 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9641 if test "x$supports_anon_versioning" = xyes; then
9642 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9643 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9644 echo "local: *; };" >> $output_objdir/$libname.ver~
9645 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9654 netbsd* | netbsdelf*-gnu)
9655 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9656 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9659 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9660 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9665 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9669 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9670 *** create shared libraries on Solaris systems. Therefore, libtool
9671 *** is disabling shared libraries support. We urge you to upgrade GNU
9672 *** binutils to release 2.9.1 or newer. Another option is to modify
9673 *** your PATH or compiler configuration so that the native linker is
9674 *** used, and then restart.
9677 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9678 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9679 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9685 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9686 case `$LD -v 2>&1` in
9687 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9691 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9692 *** reliably create shared libraries on SCO systems. Therefore, libtool
9693 *** is disabling shared libraries support. We urge you to upgrade GNU
9694 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9695 *** your PATH or compiler configuration so that the native linker is
9696 *** used, and then restart.
9701 # For security reasons, it is highly recommended that you always
9702 # use absolute paths for naming shared libraries, and exclude the
9703 # DT_RUNPATH tag from executables and libraries. But doing so
9704 # requires that you compile everything twice, which is a pain.
9705 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9706 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9707 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9708 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9717 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9720 hardcode_shlibpath_var=no
9724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9725 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9726 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9733 if test "$ld_shlibs" = no; then
9735 hardcode_libdir_flag_spec=
9736 export_dynamic_flag_spec=
9737 whole_archive_flag_spec=
9740 # PORTME fill in a description of your system's linker (not GNU ld)
9743 allow_undefined_flag=unsupported
9744 always_export_symbols=yes
9745 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'
9746 # Note: this linker hardcodes the directories in LIBPATH if there
9747 # are no directories specified by -L.
9748 hardcode_minus_L=yes
9749 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9750 # Neither direct hardcoding nor static linking is supported with a
9752 hardcode_direct=unsupported
9757 if test "$host_cpu" = ia64; then
9758 # On IA64, the linker does run time linking by default, so we don't
9759 # have to do anything special.
9760 aix_use_runtimelinking=no
9761 exp_sym_flag='-Bexport'
9764 # If we're using GNU nm, then we don't want the "-C" option.
9765 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9766 # Also, AIX nm treats weak defined symbols like other global
9767 # defined symbols, whereas GNU nm marks them as "W".
9768 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9769 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'
9771 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'
9773 aix_use_runtimelinking=no
9775 # Test if we are trying to use run time linking or normal
9776 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9777 # need to do runtime linking.
9778 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9779 for ld_flag in $LDFLAGS; do
9780 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9781 aix_use_runtimelinking=yes
9788 exp_sym_flag='-bexport'
9789 no_entry_flag='-bnoentry'
9792 # When large executables or shared objects are built, AIX ld can
9793 # have problems creating the table of contents. If linking a library
9794 # or program results in "error TOC overflow" add -mminimal-toc to
9795 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9796 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9800 hardcode_direct_absolute=yes
9801 hardcode_libdir_separator=':'
9802 link_all_deplibs=yes
9803 file_list_spec='${wl}-f,'
9805 if test "$GCC" = yes; then
9806 case $host_os in aix4.[012]|aix4.[012].*)
9807 # We only want to do this on AIX 4.2 and lower, the check
9808 # below for broken collect2 doesn't work under 4.3+
9809 collect2name=`${CC} -print-prog-name=collect2`
9810 if test -f "$collect2name" &&
9811 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9813 # We have reworked collect2
9816 # We have old collect2
9817 hardcode_direct=unsupported
9818 # It fails to find uninstalled libraries when the uninstalled
9819 # path is not listed in the libpath. Setting hardcode_minus_L
9820 # to unsupported forces relinking
9821 hardcode_minus_L=yes
9822 hardcode_libdir_flag_spec='-L$libdir'
9823 hardcode_libdir_separator=
9827 shared_flag='-shared'
9828 if test "$aix_use_runtimelinking" = yes; then
9829 shared_flag="$shared_flag "'${wl}-G'
9834 if test "$host_cpu" = ia64; then
9835 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9836 # chokes on -Wl,-G. The following line is correct:
9839 if test "$aix_use_runtimelinking" = yes; then
9840 shared_flag='${wl}-G'
9842 shared_flag='${wl}-bM:SRE'
9847 export_dynamic_flag_spec='${wl}-bexpall'
9848 # It seems that -bexpall does not export symbols beginning with
9849 # underscore (_), so it is better to generate a list of symbols to export.
9850 always_export_symbols=yes
9851 if test "$aix_use_runtimelinking" = yes; then
9852 # Warning - without using the other runtime loading flags (-brtl),
9853 # -berok will link without error, but may produce a broken library.
9854 allow_undefined_flag='-berok'
9855 # Determine the default libpath from the value encoded in an
9857 if test "${lt_cv_aix_libpath+set}" = set; then
9858 aix_libpath=$lt_cv_aix_libpath
9860 if ${lt_cv_aix_libpath_+:} false; then :
9861 $as_echo_n "(cached) " >&6
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9874 if ac_fn_c_try_link "$LINENO"; then :
9876 lt_aix_libpath_sed='
9877 /Import File Strings/,/^$/ {
9879 s/^0 *\([^ ]*\) *$/\1/
9883 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9884 # Check for a 64-bit object if we didn't find anything.
9885 if test -z "$lt_cv_aix_libpath_"; then
9886 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9889 rm -f core conftest.err conftest.$ac_objext \
9890 conftest$ac_exeext conftest.$ac_ext
9891 if test -z "$lt_cv_aix_libpath_"; then
9892 lt_cv_aix_libpath_="/usr/lib:/lib"
9897 aix_libpath=$lt_cv_aix_libpath_
9900 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9901 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"
9903 if test "$host_cpu" = ia64; then
9904 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9905 allow_undefined_flag="-z nodefs"
9906 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"
9908 # Determine the default libpath from the value encoded in an
9910 if test "${lt_cv_aix_libpath+set}" = set; then
9911 aix_libpath=$lt_cv_aix_libpath
9913 if ${lt_cv_aix_libpath_+:} false; then :
9914 $as_echo_n "(cached) " >&6
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9927 if ac_fn_c_try_link "$LINENO"; then :
9929 lt_aix_libpath_sed='
9930 /Import File Strings/,/^$/ {
9932 s/^0 *\([^ ]*\) *$/\1/
9936 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9937 # Check for a 64-bit object if we didn't find anything.
9938 if test -z "$lt_cv_aix_libpath_"; then
9939 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 if test -z "$lt_cv_aix_libpath_"; then
9945 lt_cv_aix_libpath_="/usr/lib:/lib"
9950 aix_libpath=$lt_cv_aix_libpath_
9953 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9954 # Warning - without using the other run time loading flags,
9955 # -berok will link without error, but may produce a broken library.
9956 no_undefined_flag=' ${wl}-bernotok'
9957 allow_undefined_flag=' ${wl}-berok'
9958 if test "$with_gnu_ld" = yes; then
9959 # We only use this code for GNU lds that support --whole-archive.
9960 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9962 # Exported symbols can be pulled into shared objects from archives
9963 whole_archive_flag_spec='$convenience'
9965 archive_cmds_need_lc=yes
9966 # This is similar to how AIX traditionally builds its shared libraries.
9967 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'
9975 # see comment about AmigaOS4 .so support
9976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 archive_expsym_cmds=''
9980 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)'
9981 hardcode_libdir_flag_spec='-L$libdir'
9982 hardcode_minus_L=yes
9988 export_dynamic_flag_spec=-rdynamic
9991 cygwin* | mingw* | pw32* | cegcc*)
9992 # When not using gcc, we currently assume that we are using
9993 # Microsoft Visual C++.
9994 # hardcode_libdir_flag_spec is actually meaningless, as there is
9995 # no search path for DLLs.
9996 case $cc_basename in
9999 hardcode_libdir_flag_spec=' '
10000 allow_undefined_flag=unsupported
10001 always_export_symbols=yes
10003 # Tell ltmain to make .lib files, not .a files.
10005 # Tell ltmain to make .dll files, not .so files.
10007 # FIXME: Setting linknames here is a bad hack.
10008 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10009 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10010 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10012 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10014 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10016 # The linker will not automatically build a static lib if we build a DLL.
10017 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10018 enable_shared_with_static_runtimes=yes
10019 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10020 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10022 old_postinstall_cmds='chmod 644 $oldlib'
10023 postlink_cmds='lt_outputfile="@OUTPUT@"~
10024 lt_tool_outputfile="@TOOL_OUTPUT@"~
10025 case $lt_outputfile in
10028 lt_outputfile="$lt_outputfile.exe"
10029 lt_tool_outputfile="$lt_tool_outputfile.exe"
10032 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10033 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10034 $RM "$lt_outputfile.manifest";
10038 # Assume MSVC wrapper
10039 hardcode_libdir_flag_spec=' '
10040 allow_undefined_flag=unsupported
10041 # Tell ltmain to make .lib files, not .a files.
10043 # Tell ltmain to make .dll files, not .so files.
10045 # FIXME: Setting linknames here is a bad hack.
10046 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10047 # The linker will automatically build a .lib file if we build a DLL.
10048 old_archive_from_new_cmds='true'
10049 # FIXME: Should let the user specify the lib program.
10050 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10051 enable_shared_with_static_runtimes=yes
10056 darwin* | rhapsody*)
10059 archive_cmds_need_lc=no
10061 hardcode_automatic=yes
10062 hardcode_shlibpath_var=unsupported
10063 if test "$lt_cv_ld_force_load" = "yes"; then
10064 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\"`'
10067 whole_archive_flag_spec=''
10069 link_all_deplibs=yes
10070 allow_undefined_flag="$_lt_dar_allow_undefined"
10071 case $cc_basename in
10072 ifort*) _lt_dar_can_shared=yes ;;
10073 *) _lt_dar_can_shared=$GCC ;;
10075 if test "$_lt_dar_can_shared" = "yes"; then
10076 output_verbose_link_cmd=func_echo_all
10077 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10078 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10079 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}"
10080 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}"
10089 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10090 hardcode_libdir_flag_spec='-L$libdir'
10091 hardcode_shlibpath_var=no
10094 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10095 # support. Future versions do this automatically, but an explicit c++rt0.o
10096 # does not break anything, and helps significantly (at the cost of a little
10099 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10100 hardcode_libdir_flag_spec='-R$libdir'
10101 hardcode_direct=yes
10102 hardcode_shlibpath_var=no
10105 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10107 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10108 hardcode_direct=yes
10109 hardcode_minus_L=yes
10110 hardcode_shlibpath_var=no
10113 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10114 freebsd* | dragonfly*)
10115 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10116 hardcode_libdir_flag_spec='-R$libdir'
10117 hardcode_direct=yes
10118 hardcode_shlibpath_var=no
10122 if test "$GCC" = yes; then
10123 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'
10125 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'
10127 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10128 hardcode_libdir_separator=:
10129 hardcode_direct=yes
10131 # hardcode_minus_L: Not really in the search PATH,
10132 # but as the default location of the library.
10133 hardcode_minus_L=yes
10134 export_dynamic_flag_spec='${wl}-E'
10138 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10139 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10141 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10143 if test "$with_gnu_ld" = no; then
10144 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10145 hardcode_libdir_separator=:
10146 hardcode_direct=yes
10147 hardcode_direct_absolute=yes
10148 export_dynamic_flag_spec='${wl}-E'
10149 # hardcode_minus_L: Not really in the search PATH,
10150 # but as the default location of the library.
10151 hardcode_minus_L=yes
10156 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10159 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10165 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10178 # Older versions of the 11.00 compiler do not understand -b yet
10179 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10181 $as_echo_n "checking if $CC understands -b... " >&6; }
10182 if ${lt_cv_prog_compiler__b+:} false; then :
10183 $as_echo_n "(cached) " >&6
10185 lt_cv_prog_compiler__b=no
10186 save_LDFLAGS="$LDFLAGS"
10187 LDFLAGS="$LDFLAGS -b"
10188 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10189 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10190 # The linker can only warn and ignore the option if not recognized
10191 # So say no if there are warnings
10192 if test -s conftest.err; then
10193 # Append any errors to the config.log.
10194 cat conftest.err 1>&5
10195 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10196 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10197 if diff conftest.exp conftest.er2 >/dev/null; then
10198 lt_cv_prog_compiler__b=yes
10201 lt_cv_prog_compiler__b=yes
10205 LDFLAGS="$save_LDFLAGS"
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10209 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10211 if test x"$lt_cv_prog_compiler__b" = xyes; then
10212 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10220 if test "$with_gnu_ld" = no; then
10221 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10222 hardcode_libdir_separator=:
10227 hardcode_shlibpath_var=no
10230 hardcode_direct=yes
10231 hardcode_direct_absolute=yes
10232 export_dynamic_flag_spec='${wl}-E'
10234 # hardcode_minus_L: Not really in the search PATH,
10235 # but as the default location of the library.
10236 hardcode_minus_L=yes
10242 irix5* | irix6* | nonstopux*)
10243 if test "$GCC" = yes; then
10244 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'
10245 # Try to use the -exported_symbol ld option, if it does not
10246 # work, assume that -exports_file does not work either and
10247 # implicitly export all symbols.
10248 # This should be the same for all languages, so no per-tag cache variable.
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10250 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10251 if ${lt_cv_irix_exported_symbol+:} false; then :
10252 $as_echo_n "(cached) " >&6
10254 save_LDFLAGS="$LDFLAGS"
10255 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int foo (void) { return 0; }
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 lt_cv_irix_exported_symbol=yes
10263 lt_cv_irix_exported_symbol=no
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LDFLAGS="$save_LDFLAGS"
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10270 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10271 if test "$lt_cv_irix_exported_symbol" = yes; then
10272 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'
10275 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'
10276 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'
10278 archive_cmds_need_lc='no'
10279 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10280 hardcode_libdir_separator=:
10282 link_all_deplibs=yes
10285 netbsd* | netbsdelf*-gnu)
10286 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10287 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10289 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10291 hardcode_libdir_flag_spec='-R$libdir'
10292 hardcode_direct=yes
10293 hardcode_shlibpath_var=no
10297 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10298 hardcode_direct=yes
10299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10300 hardcode_libdir_separator=:
10301 hardcode_shlibpath_var=no
10308 if test -f /usr/libexec/ld.so; then
10309 hardcode_direct=yes
10310 hardcode_shlibpath_var=no
10311 hardcode_direct_absolute=yes
10312 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10313 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10314 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10315 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10316 export_dynamic_flag_spec='${wl}-E'
10319 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10320 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10321 hardcode_libdir_flag_spec='-R$libdir'
10324 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10325 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10335 hardcode_libdir_flag_spec='-L$libdir'
10336 hardcode_minus_L=yes
10337 allow_undefined_flag=unsupported
10338 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'
10339 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10343 if test "$GCC" = yes; then
10344 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10345 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'
10347 allow_undefined_flag=' -expect_unresolved \*'
10348 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'
10350 archive_cmds_need_lc='no'
10351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10352 hardcode_libdir_separator=:
10355 osf4* | osf5*) # as osf3* with the addition of -msym flag
10356 if test "$GCC" = yes; then
10357 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10358 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'
10359 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10361 allow_undefined_flag=' -expect_unresolved \*'
10362 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'
10363 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~
10364 $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'
10366 # Both c and cxx compiler support -rpath directly
10367 hardcode_libdir_flag_spec='-rpath $libdir'
10369 archive_cmds_need_lc='no'
10370 hardcode_libdir_separator=:
10374 no_undefined_flag=' -z defs'
10375 if test "$GCC" = yes; then
10377 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10378 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10379 $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'
10381 case `$CC -V 2>&1` in
10384 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10385 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10386 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10390 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10391 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10392 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10396 hardcode_libdir_flag_spec='-R$libdir'
10397 hardcode_shlibpath_var=no
10399 solaris2.[0-5] | solaris2.[0-5].*) ;;
10401 # The compiler driver will combine and reorder linker options,
10402 # but understands `-z linker_flag'. GCC discards it without `$wl',
10403 # but is careful enough not to reorder.
10404 # Supported since Solaris 2.6 (maybe 2.5.1?)
10405 if test "$GCC" = yes; then
10406 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10408 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10412 link_all_deplibs=yes
10416 if test "x$host_vendor" = xsequent; then
10417 # Use $CC to link under sequent, because it throws in some extra .o
10418 # files that make .init and .fini sections work.
10419 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10421 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10423 hardcode_libdir_flag_spec='-L$libdir'
10424 hardcode_direct=yes
10425 hardcode_minus_L=yes
10426 hardcode_shlibpath_var=no
10430 case $host_vendor in
10432 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10433 hardcode_direct=yes # is this really true???
10436 ## LD is ld it makes a PLAMLIB
10437 ## CC just makes a GrossModule.
10438 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10439 reload_cmds='$CC -r -o $output$reload_objs'
10443 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10444 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10447 runpath_var='LD_RUN_PATH'
10448 hardcode_shlibpath_var=no
10452 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10453 hardcode_shlibpath_var=no
10454 export_dynamic_flag_spec='-Bexport'
10458 if test -d /usr/nec; then
10459 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10460 hardcode_shlibpath_var=no
10461 runpath_var=LD_RUN_PATH
10462 hardcode_runpath_var=yes
10467 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10468 no_undefined_flag='${wl}-z,text'
10469 archive_cmds_need_lc=no
10470 hardcode_shlibpath_var=no
10471 runpath_var='LD_RUN_PATH'
10473 if test "$GCC" = yes; then
10474 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10477 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10482 sysv5* | sco3.2v5* | sco5v6*)
10483 # Note: We can NOT use -z defs as we might desire, because we do not
10484 # link with -lc, and that would cause any symbols used from libc to
10485 # always be unresolved, which means just about no library would
10486 # ever link correctly. If we're not using GNU ld we use -z text
10487 # though, which does catch some bad symbols but isn't as heavy-handed
10489 no_undefined_flag='${wl}-z,text'
10490 allow_undefined_flag='${wl}-z,nodefs'
10491 archive_cmds_need_lc=no
10492 hardcode_shlibpath_var=no
10493 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10494 hardcode_libdir_separator=':'
10495 link_all_deplibs=yes
10496 export_dynamic_flag_spec='${wl}-Bexport'
10497 runpath_var='LD_RUN_PATH'
10499 if test "$GCC" = yes; then
10500 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10501 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10503 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10504 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10509 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10510 hardcode_libdir_flag_spec='-L$libdir'
10511 hardcode_shlibpath_var=no
10519 if test x$host_vendor = xsni; then
10521 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10522 export_dynamic_flag_spec='${wl}-Blargedynsym'
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10529 $as_echo "$ld_shlibs" >&6; }
10530 test "$ld_shlibs" = no && can_build_shared=no
10532 with_gnu_ld=$with_gnu_ld
10549 # Do we need to explicitly link libc?
10551 case "x$archive_cmds_need_lc" in
10553 # Assume -lc should be added
10554 archive_cmds_need_lc=yes
10556 if test "$enable_shared" = yes && test "$GCC" = yes; then
10557 case $archive_cmds in
10559 # FIXME: we may have to deal with multi-command sequences.
10562 # Test whether the compiler implicitly links with -lc since on some
10563 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10564 # to ld, don't add -lc before -lgcc.
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10566 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10567 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10568 $as_echo_n "(cached) " >&6
10571 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10573 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10574 (eval $ac_compile) 2>&5
10576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10577 test $ac_status = 0; } 2>conftest.err; then
10580 libobjs=conftest.$ac_objext
10582 wl=$lt_prog_compiler_wl
10583 pic_flag=$lt_prog_compiler_pic
10589 lt_save_allow_undefined_flag=$allow_undefined_flag
10590 allow_undefined_flag=
10591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10592 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10595 test $ac_status = 0; }
10597 lt_cv_archive_cmds_need_lc=no
10599 lt_cv_archive_cmds_need_lc=yes
10601 allow_undefined_flag=$lt_save_allow_undefined_flag
10603 cat conftest.err 1>&5
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10609 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10610 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10769 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10771 if test "$GCC" = yes; then
10773 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10774 *) lt_awk_arg="/^libraries:/" ;;
10777 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10778 *) lt_sed_strip_eq="s,=/,/,g" ;;
10780 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10781 case $lt_search_path_spec in
10783 # if the path contains ";" then we assume it to be the separator
10784 # otherwise default to the standard path separator (i.e. ":") - it is
10785 # assumed that no part of a normal pathname contains ";" but that should
10786 # okay in the real world where ";" in dirpaths is itself problematic.
10787 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10790 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10793 # Ok, now we have the path, separated by spaces, we can step through it
10794 # and add multilib dir if necessary.
10795 lt_tmp_lt_search_path_spec=
10796 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10797 for lt_sys_path in $lt_search_path_spec; do
10798 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10799 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10801 test -d "$lt_sys_path" && \
10802 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10805 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10806 BEGIN {RS=" "; FS="/|\n";} {
10809 for (lt_i = NF; lt_i > 0; lt_i--) {
10810 if ($lt_i != "" && $lt_i != ".") {
10811 if ($lt_i == "..") {
10814 if (lt_count == 0) {
10815 lt_foo="/" $lt_i lt_foo;
10822 if (lt_foo != "") { lt_freq[lt_foo]++; }
10823 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10825 # AWK program above erroneously prepends '/' to C:/dos/paths
10828 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10829 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10831 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10833 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10835 library_names_spec=
10836 libname_spec='lib$name'
10840 postuninstall_cmds=
10844 shlibpath_overrides_runpath=unknown
10846 dynamic_linker="$host_os ld.so"
10847 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10848 need_lib_prefix=unknown
10849 hardcode_into_libs=no
10851 # when you set need_version to no, make sure it does not cause -set_version
10852 # flags to be left without arguments
10853 need_version=unknown
10857 version_type=linux # correct to gnu/linux during the next big refactor
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10859 shlibpath_var=LIBPATH
10861 # AIX 3 has no versioning support, so we append a major version to the name.
10862 soname_spec='${libname}${release}${shared_ext}$major'
10866 version_type=linux # correct to gnu/linux during the next big refactor
10869 hardcode_into_libs=yes
10870 if test "$host_cpu" = ia64; then
10871 # AIX 5 supports IA64
10872 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10873 shlibpath_var=LD_LIBRARY_PATH
10875 # With GCC up to 2.95.x, collect2 would create an import file
10876 # for dependence libraries. The import file would start with
10877 # the line `#! .'. This would cause the generated library to
10878 # depend on `.', always an invalid library. This was fixed in
10879 # development snapshots of GCC prior to 3.0.
10881 aix4 | aix4.[01] | aix4.[01].*)
10882 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10884 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10887 can_build_shared=no
10891 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10892 # soname into executable. Probably we can add versioning support to
10893 # collect2, so additional links can be useful in future.
10894 if test "$aix_use_runtimelinking" = yes; then
10895 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10896 # instead of lib<name>.a to let people know that these are not
10897 # typical AIX shared libraries.
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10900 # We preserve .a as extension for shared libraries through AIX4.2
10901 # and later when we are not doing run time linking.
10902 library_names_spec='${libname}${release}.a $libname.a'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10905 shlibpath_var=LIBPATH
10912 # Since July 2007 AmigaOS4 officially supports .so libraries.
10913 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 library_names_spec='$libname.ixlibrary $libname.a'
10918 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10919 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'
10925 library_names_spec='${libname}${shared_ext}'
10926 dynamic_linker="$host_os ld.so"
10927 shlibpath_var=LIBRARY_PATH
10931 version_type=linux # correct to gnu/linux during the next big refactor
10933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10934 soname_spec='${libname}${release}${shared_ext}$major'
10935 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10936 shlibpath_var=LD_LIBRARY_PATH
10937 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10938 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10939 # the default ld.so.conf also contains /usr/contrib/lib and
10940 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10941 # libtool to hard-code these into programs
10944 cygwin* | mingw* | pw32* | cegcc*)
10945 version_type=windows
10950 case $GCC,$cc_basename in
10953 library_names_spec='$libname.dll.a'
10954 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10955 postinstall_cmds='base_file=`basename \${file}`~
10956 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10957 dldir=$destdir/`dirname \$dlpath`~
10958 test -d \$dldir || mkdir -p \$dldir~
10959 $install_prog $dir/$dlname \$dldir/$dlname~
10960 chmod a+x \$dldir/$dlname~
10961 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10962 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10964 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10965 dlpath=$dir/\$dldll~
10967 shlibpath_overrides_runpath=yes
10971 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10972 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10974 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10977 # MinGW DLLs use traditional 'lib' prefix
10978 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10981 # pw32 DLLs use 'pw' prefix rather than 'lib'
10982 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10985 dynamic_linker='Win32 ld.exe'
10990 libname_spec='$name'
10991 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10992 library_names_spec='${libname}.dll.lib'
10996 sys_lib_search_path_spec=
10999 for lt_path in $LIB
11002 # Let DOS variable expansion print the short 8.3 style file name.
11003 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11004 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11007 # Convert to MSYS style.
11008 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11011 # Convert to unix form, then to dos form, then back to unix form
11012 # but this time dos style (no spaces!) so that the unix form looks
11013 # like /cygdrive/c/PROGRA~1:/cygdr...
11014 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11015 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11016 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11019 sys_lib_search_path_spec="$LIB"
11020 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11021 # It is most probably a Windows format PATH.
11022 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11024 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11026 # FIXME: find the short name or the path components, as spaces are
11027 # common. (e.g. "Program Files" -> "PROGRA~1")
11031 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11032 postinstall_cmds='base_file=`basename \${file}`~
11033 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11034 dldir=$destdir/`dirname \$dlpath`~
11035 test -d \$dldir || mkdir -p \$dldir~
11036 $install_prog $dir/$dlname \$dldir/$dlname'
11037 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11038 dlpath=$dir/\$dldll~
11040 shlibpath_overrides_runpath=yes
11041 dynamic_linker='Win32 link.exe'
11045 # Assume MSVC wrapper
11046 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11047 dynamic_linker='Win32 ld.exe'
11050 # FIXME: first we should search . and the directory the executable is in
11054 darwin* | rhapsody*)
11055 dynamic_linker="$host_os dyld"
11056 version_type=darwin
11059 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11060 soname_spec='${libname}${release}${major}$shared_ext'
11061 shlibpath_overrides_runpath=yes
11062 shlibpath_var=DYLD_LIBRARY_PATH
11063 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11065 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11066 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11070 version_type=linux # correct to gnu/linux during the next big refactor
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11078 freebsd* | dragonfly*)
11079 # DragonFly does not have aout. When/if they implement a new
11080 # versioning mechanism, adjust this.
11081 if test -x /usr/bin/objformat; then
11082 objformat=`/usr/bin/objformat`
11085 freebsd[23].*) objformat=aout ;;
11086 *) objformat=elf ;;
11089 version_type=freebsd-$objformat
11090 case $version_type in
11092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11097 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11101 shlibpath_var=LD_LIBRARY_PATH
11104 shlibpath_overrides_runpath=yes
11106 freebsd3.[01]* | freebsdelf3.[01]*)
11107 shlibpath_overrides_runpath=yes
11108 hardcode_into_libs=yes
11110 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11111 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11112 shlibpath_overrides_runpath=no
11113 hardcode_into_libs=yes
11115 *) # from 4.6 on, and DragonFly
11116 shlibpath_overrides_runpath=yes
11117 hardcode_into_libs=yes
11123 version_type=linux # correct to gnu/linux during the next big refactor
11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11127 soname_spec='${libname}${release}${shared_ext}$major'
11128 shlibpath_var=LD_LIBRARY_PATH
11129 shlibpath_overrides_runpath=no
11130 hardcode_into_libs=yes
11134 version_type=linux # correct to gnu/linux during the next big refactor
11137 dynamic_linker="$host_os runtime_loader"
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LIBRARY_PATH
11141 shlibpath_overrides_runpath=yes
11142 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11143 hardcode_into_libs=yes
11146 hpux9* | hpux10* | hpux11*)
11147 # Give a soname corresponding to the major version so that dld.sl refuses to
11148 # link against other versions.
11155 hardcode_into_libs=yes
11156 dynamic_linker="$host_os dld.so"
11157 shlibpath_var=LD_LIBRARY_PATH
11158 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11160 soname_spec='${libname}${release}${shared_ext}$major'
11161 if test "X$HPUX_IA64_MODE" = X32; then
11162 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11164 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11166 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11170 hardcode_into_libs=yes
11171 dynamic_linker="$host_os dld.sl"
11172 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11173 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11175 soname_spec='${libname}${release}${shared_ext}$major'
11176 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11177 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11181 dynamic_linker="$host_os dld.sl"
11182 shlibpath_var=SHLIB_PATH
11183 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11185 soname_spec='${libname}${release}${shared_ext}$major'
11188 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11189 postinstall_cmds='chmod 555 $lib'
11190 # or fails outright, so override atomically:
11191 install_override_mode=555
11195 version_type=linux # correct to gnu/linux during the next big refactor
11198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11199 soname_spec='${libname}${release}${shared_ext}$major'
11200 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11201 shlibpath_var=LD_LIBRARY_PATH
11202 shlibpath_overrides_runpath=no
11203 hardcode_into_libs=yes
11206 irix5* | irix6* | nonstopux*)
11208 nonstopux*) version_type=nonstopux ;;
11210 if test "$lt_cv_prog_gnu_ld" = yes; then
11211 version_type=linux # correct to gnu/linux during the next big refactor
11218 soname_spec='${libname}${release}${shared_ext}$major'
11219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11221 irix5* | nonstopux*)
11222 libsuff= shlibsuff=
11225 case $LD in # libtool.m4 will add one of these switches to LD
11226 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11227 libsuff= shlibsuff= libmagic=32-bit;;
11228 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11229 libsuff=32 shlibsuff=N32 libmagic=N32;;
11230 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11231 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11232 *) libsuff= shlibsuff= libmagic=never-match;;
11236 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11237 shlibpath_overrides_runpath=no
11238 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11239 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11240 hardcode_into_libs=yes
11243 # No shared lib support for Linux oldld, aout, or coff.
11244 linux*oldld* | linux*aout* | linux*coff*)
11248 # This must be glibc/ELF.
11249 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11250 version_type=linux # correct to gnu/linux during the next big refactor
11253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11254 soname_spec='${libname}${release}${shared_ext}$major'
11255 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11256 shlibpath_var=LD_LIBRARY_PATH
11257 shlibpath_overrides_runpath=no
11259 # Some binutils ld are patched to set DT_RUNPATH
11260 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11261 $as_echo_n "(cached) " >&6
11263 lt_cv_shlibpath_overrides_runpath=no
11264 save_LDFLAGS=$LDFLAGS
11265 save_libdir=$libdir
11266 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11267 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11281 lt_cv_shlibpath_overrides_runpath=yes
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LDFLAGS=$save_LDFLAGS
11287 libdir=$save_libdir
11291 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11293 # This implies no fast_install, which is unacceptable.
11294 # Some rework will be needed to allow for fast_install
11295 # before this can be enabled.
11296 hardcode_into_libs=yes
11298 # Append ld.so.conf contents to the search path
11299 if test -f /etc/ld.so.conf; then
11300 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' ' '`
11301 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11304 # We used to test for /lib/ld.so.1 and disable shared libraries on
11305 # powerpc, because MkLinux only supported shared libraries with the
11306 # GNU dynamic linker. Since this was broken with cross compilers,
11307 # most powerpc-linux boxes support dynamic linking these days and
11308 # people can always --disable-shared, the test was removed, and we
11309 # assume the GNU/Linux dynamic linker is in use.
11310 dynamic_linker='GNU/Linux ld.so'
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11320 shlibpath_overrides_runpath=no
11321 hardcode_into_libs=yes
11322 dynamic_linker='NetBSD ld.elf_so'
11329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11331 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11332 dynamic_linker='NetBSD (a.out) ld.so'
11334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11335 soname_spec='${libname}${release}${shared_ext}$major'
11336 dynamic_linker='NetBSD ld.elf_so'
11338 shlibpath_var=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath=yes
11340 hardcode_into_libs=yes
11344 version_type=linux # correct to gnu/linux during the next big refactor
11345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 shlibpath_var=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath=yes
11354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355 soname_spec='${libname}${release}${shared_ext}$major'
11356 shlibpath_var=LD_LIBRARY_PATH
11357 shlibpath_overrides_runpath=no
11358 hardcode_into_libs=yes
11359 dynamic_linker='ldqnx.so'
11364 sys_lib_dlsearch_path_spec="/usr/lib"
11366 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11368 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11369 *) need_version=no ;;
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11372 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11376 openbsd2.[89] | openbsd2.[89].*)
11377 shlibpath_overrides_runpath=no
11380 shlibpath_overrides_runpath=yes
11384 shlibpath_overrides_runpath=yes
11389 libname_spec='$name'
11392 library_names_spec='$libname${shared_ext} $libname.a'
11393 dynamic_linker='OS/2 ld.exe'
11394 shlibpath_var=LIBPATH
11397 osf3* | osf4* | osf5*)
11401 soname_spec='${libname}${release}${shared_ext}$major'
11402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403 shlibpath_var=LD_LIBRARY_PATH
11404 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11405 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11413 version_type=linux # correct to gnu/linux during the next big refactor
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417 soname_spec='${libname}${release}${shared_ext}$major'
11418 shlibpath_var=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath=yes
11420 hardcode_into_libs=yes
11421 # ldd complains unless libraries are executable
11422 postinstall_cmds='chmod +x $lib'
11427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11428 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11429 shlibpath_var=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath=yes
11431 if test "$with_gnu_ld" = yes; then
11438 version_type=linux # correct to gnu/linux during the next big refactor
11439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec='${libname}${release}${shared_ext}$major'
11441 shlibpath_var=LD_LIBRARY_PATH
11442 case $host_vendor in
11444 shlibpath_overrides_runpath=no
11446 runpath_var=LD_RUN_PATH
11454 shlibpath_overrides_runpath=no
11455 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11461 if test -d /usr/nec ;then
11462 version_type=linux # correct to gnu/linux during the next big refactor
11463 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11464 soname_spec='$libname${shared_ext}.$major'
11465 shlibpath_var=LD_LIBRARY_PATH
11469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11470 version_type=freebsd-elf
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11474 soname_spec='${libname}${release}${shared_ext}$major'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 shlibpath_overrides_runpath=yes
11477 hardcode_into_libs=yes
11478 if test "$with_gnu_ld" = yes; then
11479 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11481 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11484 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11488 sys_lib_dlsearch_path_spec='/usr/lib'
11492 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11493 version_type=linux # correct to gnu/linux during the next big refactor
11496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 shlibpath_var=LD_LIBRARY_PATH
11498 shlibpath_overrides_runpath=no
11499 hardcode_into_libs=yes
11503 version_type=linux # correct to gnu/linux during the next big refactor
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 soname_spec='${libname}${release}${shared_ext}$major'
11506 shlibpath_var=LD_LIBRARY_PATH
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11514 $as_echo "$dynamic_linker" >&6; }
11515 test "$dynamic_linker" = no && can_build_shared=no
11517 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11518 if test "$GCC" = yes; then
11519 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11522 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11523 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11525 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11526 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11621 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11623 if test -n "$hardcode_libdir_flag_spec" ||
11624 test -n "$runpath_var" ||
11625 test "X$hardcode_automatic" = "Xyes" ; then
11627 # We can hardcode non-existent directories.
11628 if test "$hardcode_direct" != no &&
11629 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11630 # have to relink, otherwise we might link with an installed library
11631 # when we should be linking with a yet-to-be-installed one
11632 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11633 test "$hardcode_minus_L" != no; then
11634 # Linking always hardcodes the temporary library directory.
11635 hardcode_action=relink
11637 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11638 hardcode_action=immediate
11641 # We cannot hardcode anything, or else we can only hardcode existing
11643 hardcode_action=unsupported
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11646 $as_echo "$hardcode_action" >&6; }
11648 if test "$hardcode_action" = relink ||
11649 test "$inherit_rpath" = yes; then
11650 # Fast installation is not supported
11651 enable_fast_install=no
11652 elif test "$shlibpath_overrides_runpath" = yes ||
11653 test "$enable_shared" = no; then
11654 # Fast installation is not necessary
11655 enable_fast_install=needless
11663 if test "x$enable_dlopen" != xyes; then
11664 enable_dlopen=unknown
11665 enable_dlopen_self=unknown
11666 enable_dlopen_self_static=unknown
11673 lt_cv_dlopen="load_add_on"
11675 lt_cv_dlopen_self=yes
11678 mingw* | pw32* | cegcc*)
11679 lt_cv_dlopen="LoadLibrary"
11684 lt_cv_dlopen="dlopen"
11689 # if libdl is installed we need to link against it
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11691 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11692 if ${ac_cv_lib_dl_dlopen+:} false; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_check_lib_save_LIBS=$LIBS
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11715 if ac_fn_c_try_link "$LINENO"; then :
11716 ac_cv_lib_dl_dlopen=yes
11718 ac_cv_lib_dl_dlopen=no
11720 rm -f core conftest.err conftest.$ac_objext \
11721 conftest$ac_exeext conftest.$ac_ext
11722 LIBS=$ac_check_lib_save_LIBS
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11725 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11726 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11727 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11730 lt_cv_dlopen="dyld"
11732 lt_cv_dlopen_self=yes
11739 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11740 if test "x$ac_cv_func_shl_load" = xyes; then :
11741 lt_cv_dlopen="shl_load"
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11744 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11745 if ${ac_cv_lib_dld_shl_load+:} false; then :
11746 $as_echo_n "(cached) " >&6
11748 ac_check_lib_save_LIBS=$LIBS
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11763 return shl_load ();
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 ac_cv_lib_dld_shl_load=yes
11771 ac_cv_lib_dld_shl_load=no
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_lib_save_LIBS
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11778 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11779 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11780 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11782 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11783 if test "x$ac_cv_func_dlopen" = xyes; then :
11784 lt_cv_dlopen="dlopen"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11788 if ${ac_cv_lib_dl_dlopen+:} false; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_check_lib_save_LIBS=$LIBS
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 ac_cv_lib_dl_dlopen=yes
11814 ac_cv_lib_dl_dlopen=no
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_lib_save_LIBS
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11822 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11823 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11826 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11827 if ${ac_cv_lib_svld_dlopen+:} false; then :
11828 $as_echo_n "(cached) " >&6
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lsvld $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 ac_cv_lib_svld_dlopen=yes
11853 ac_cv_lib_svld_dlopen=no
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11860 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11861 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11862 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11865 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11866 if ${ac_cv_lib_dld_dld_link+:} false; then :
11867 $as_echo_n "(cached) " >&6
11869 ac_check_lib_save_LIBS=$LIBS
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11884 return dld_link ();
11889 if ac_fn_c_try_link "$LINENO"; then :
11890 ac_cv_lib_dld_dld_link=yes
11892 ac_cv_lib_dld_dld_link=no
11894 rm -f core conftest.err conftest.$ac_objext \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11899 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11900 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11901 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11922 if test "x$lt_cv_dlopen" != xno; then
11928 case $lt_cv_dlopen in
11930 save_CPPFLAGS="$CPPFLAGS"
11931 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11933 save_LDFLAGS="$LDFLAGS"
11934 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11937 LIBS="$lt_cv_dlopen_libs $LIBS"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11940 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11941 if ${lt_cv_dlopen_self+:} false; then :
11942 $as_echo_n "(cached) " >&6
11944 if test "$cross_compiling" = yes; then :
11945 lt_cv_dlopen_self=cross
11947 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11948 lt_status=$lt_dlunknown
11949 cat > conftest.$ac_ext <<_LT_EOF
11950 #line $LINENO "configure"
11951 #include "confdefs.h"
11960 # define LT_DLGLOBAL RTLD_GLOBAL
11963 # define LT_DLGLOBAL DL_GLOBAL
11965 # define LT_DLGLOBAL 0
11969 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11970 find out it does not work in some platform. */
11971 #ifndef LT_DLLAZY_OR_NOW
11973 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11976 # define LT_DLLAZY_OR_NOW DL_LAZY
11979 # define LT_DLLAZY_OR_NOW RTLD_NOW
11982 # define LT_DLLAZY_OR_NOW DL_NOW
11984 # define LT_DLLAZY_OR_NOW 0
11991 /* When -fvisbility=hidden is used, assume the code has been annotated
11992 correspondingly for the symbols needed. */
11993 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11994 int fnord () __attribute__((visibility("default")));
11997 int fnord () { return 42; }
12000 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12001 int status = $lt_dlunknown;
12005 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12008 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12009 else puts (dlerror ());
12011 /* dlclose (self); */
12019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12020 (eval $ac_link) 2>&5
12022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12024 (./conftest; exit; ) >&5 2>/dev/null
12026 case x$lt_status in
12027 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12028 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12029 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12032 # compilation failed
12033 lt_cv_dlopen_self=no
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12041 $as_echo "$lt_cv_dlopen_self" >&6; }
12043 if test "x$lt_cv_dlopen_self" = xyes; then
12044 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12046 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12047 if ${lt_cv_dlopen_self_static+:} false; then :
12048 $as_echo_n "(cached) " >&6
12050 if test "$cross_compiling" = yes; then :
12051 lt_cv_dlopen_self_static=cross
12053 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12054 lt_status=$lt_dlunknown
12055 cat > conftest.$ac_ext <<_LT_EOF
12056 #line $LINENO "configure"
12057 #include "confdefs.h"
12066 # define LT_DLGLOBAL RTLD_GLOBAL
12069 # define LT_DLGLOBAL DL_GLOBAL
12071 # define LT_DLGLOBAL 0
12075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12076 find out it does not work in some platform. */
12077 #ifndef LT_DLLAZY_OR_NOW
12079 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12082 # define LT_DLLAZY_OR_NOW DL_LAZY
12085 # define LT_DLLAZY_OR_NOW RTLD_NOW
12088 # define LT_DLLAZY_OR_NOW DL_NOW
12090 # define LT_DLLAZY_OR_NOW 0
12097 /* When -fvisbility=hidden is used, assume the code has been annotated
12098 correspondingly for the symbols needed. */
12099 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12100 int fnord () __attribute__((visibility("default")));
12103 int fnord () { return 42; }
12106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12107 int status = $lt_dlunknown;
12111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12114 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12115 else puts (dlerror ());
12117 /* dlclose (self); */
12125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12126 (eval $ac_link) 2>&5
12128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12129 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12130 (./conftest; exit; ) >&5 2>/dev/null
12132 case x$lt_status in
12133 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12134 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12135 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12138 # compilation failed
12139 lt_cv_dlopen_self_static=no
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12147 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12150 CPPFLAGS="$save_CPPFLAGS"
12151 LDFLAGS="$save_LDFLAGS"
12156 case $lt_cv_dlopen_self in
12157 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12158 *) enable_dlopen_self=unknown ;;
12161 case $lt_cv_dlopen_self_static in
12162 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12163 *) enable_dlopen_self_static=unknown ;;
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12186 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12187 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12188 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12189 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191 $as_echo "yes" >&6; }
12193 # FIXME - insert some real tests, host_os isn't really good enough
12196 if test -n "$STRIP" ; then
12197 striplib="$STRIP -x"
12198 old_striplib="$STRIP -S"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12200 $as_echo "yes" >&6; }
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12203 $as_echo "no" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12224 # Report which library types will actually be built
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12226 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12228 $as_echo "$can_build_shared" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12231 $as_echo_n "checking whether to build shared libraries... " >&6; }
12232 test "$can_build_shared" = "no" && enable_shared=no
12234 # On AIX, shared libraries and static libraries use the same namespace, and
12235 # are all built from PIC.
12238 test "$enable_shared" = yes && enable_static=no
12239 if test -n "$RANLIB"; then
12240 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12241 postinstall_cmds='$RANLIB $lib'
12246 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12247 test "$enable_shared" = yes && enable_static=no
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12252 $as_echo "$enable_shared" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12255 $as_echo_n "checking whether to build static libraries... " >&6; }
12256 # Make sure either enable_shared or enable_static is yes.
12257 test "$enable_shared" = yes || enable_static=yes
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12259 $as_echo "$enable_static" >&6; }
12266 ac_cpp='$CPP $CPPFLAGS'
12267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12287 ac_config_commands="$ac_config_commands libtool"
12292 # Only expand once:
12296 LIBRYGEL_RENDERER_GST_REQUIRED=0.17.4
12297 GSTREAMER_REQUIRED=0.10.36
12299 REQUIRED_MODULES='gio-2.0 rygel-renderer-2.0 >= $LIBRYGEL_RENDERER_GST_REQUIRED
12300 gstreamer-0.10 >= $GSTREAMER_REQUIRED
12301 gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED
12302 gstreamer-video-0.10 >= $GSTREAMER_REQUIRED
12303 gstreamer-interfaces-0.10 >= $GSTREAMER_REQUIRED'
12311 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12312 if test -n "$ac_tool_prefix"; then
12313 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12314 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12316 $as_echo_n "checking for $ac_word... " >&6; }
12317 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12318 $as_echo_n "(cached) " >&6
12320 case $PKG_CONFIG in
12322 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12326 for as_dir in $PATH
12329 test -z "$as_dir" && as_dir=.
12330 for ac_exec_ext in '' $ac_executable_extensions; do
12331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12332 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12343 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12344 if test -n "$PKG_CONFIG"; then
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12346 $as_echo "$PKG_CONFIG" >&6; }
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12349 $as_echo "no" >&6; }
12354 if test -z "$ac_cv_path_PKG_CONFIG"; then
12355 ac_pt_PKG_CONFIG=$PKG_CONFIG
12356 # Extract the first word of "pkg-config", so it can be a program name with args.
12357 set dummy pkg-config; ac_word=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12359 $as_echo_n "checking for $ac_word... " >&6; }
12360 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12361 $as_echo_n "(cached) " >&6
12363 case $ac_pt_PKG_CONFIG in
12365 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369 for as_dir in $PATH
12372 test -z "$as_dir" && as_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12375 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12386 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12387 if test -n "$ac_pt_PKG_CONFIG"; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12389 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392 $as_echo "no" >&6; }
12395 if test "x$ac_pt_PKG_CONFIG" = x; then
12398 case $cross_compiling:$ac_tool_warned in
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12402 ac_tool_warned=yes ;;
12404 PKG_CONFIG=$ac_pt_PKG_CONFIG
12407 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12411 if test -n "$PKG_CONFIG"; then
12412 _pkg_min_version=0.9.0
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12414 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12415 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12417 $as_echo "yes" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12427 $as_echo_n "checking for DEPS... " >&6; }
12429 if test -n "$DEPS_CFLAGS"; then
12430 pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12431 elif test -n "$PKG_CONFIG"; then
12432 if test -n "$PKG_CONFIG" && \
12433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12434 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12437 test $ac_status = 0; }; then
12438 pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES" 2>/dev/null`
12439 test "x$?" != "x0" && pkg_failed=yes
12446 if test -n "$DEPS_LIBS"; then
12447 pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12448 elif test -n "$PKG_CONFIG"; then
12449 if test -n "$PKG_CONFIG" && \
12450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12451 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12454 test $ac_status = 0; }; then
12455 pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES" 2>/dev/null`
12456 test "x$?" != "x0" && pkg_failed=yes
12466 if test $pkg_failed = yes; then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12471 _pkg_short_errors_supported=yes
12473 _pkg_short_errors_supported=no
12475 if test $_pkg_short_errors_supported = yes; then
12476 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12478 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12480 # Put the nasty error message in config.log where it belongs
12481 echo "$DEPS_PKG_ERRORS" >&5
12483 as_fn_error $? "Package requirements ($REQUIRED_MODULES) were not met:
12487 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12488 installed software in a non-standard prefix.
12490 Alternatively, you may set the environment variables DEPS_CFLAGS
12491 and DEPS_LIBS to avoid the need to call pkg-config.
12492 See the pkg-config man page for more details." "$LINENO" 5
12493 elif test $pkg_failed = untried; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12498 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12499 is in your PATH or set the PKG_CONFIG environment variable to the full
12500 path to pkg-config.
12502 Alternatively, you may set the environment variables DEPS_CFLAGS
12503 and DEPS_LIBS to avoid the need to call pkg-config.
12504 See the pkg-config man page for more details.
12506 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12507 See \`config.log' for more details" "$LINENO" 5; }
12509 DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12510 DEPS_LIBS=$pkg_cv_DEPS_LIBS
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12512 $as_echo "yes" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12518 $as_echo_n "checking for GTK... " >&6; }
12520 if test -n "$GTK_CFLAGS"; then
12521 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12522 elif test -n "$PKG_CONFIG"; then
12523 if test -n "$PKG_CONFIG" && \
12524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12525 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
12527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528 test $ac_status = 0; }; then
12529 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
12530 test "x$?" != "x0" && pkg_failed=yes
12537 if test -n "$GTK_LIBS"; then
12538 pkg_cv_GTK_LIBS="$GTK_LIBS"
12539 elif test -n "$PKG_CONFIG"; then
12540 if test -n "$PKG_CONFIG" && \
12541 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12542 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
12544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12545 test $ac_status = 0; }; then
12546 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
12547 test "x$?" != "x0" && pkg_failed=yes
12557 if test $pkg_failed = yes; then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12559 $as_echo "no" >&6; }
12561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12562 _pkg_short_errors_supported=yes
12564 _pkg_short_errors_supported=no
12566 if test $_pkg_short_errors_supported = yes; then
12567 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
12569 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
12571 # Put the nasty error message in config.log where it belongs
12572 echo "$GTK_PKG_ERRORS" >&5
12575 elif test $pkg_failed = untried; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12580 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12581 GTK_LIBS=$pkg_cv_GTK_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12583 $as_echo "yes" >&6; }
12587 if test "x$have_gtk" = "xyes"; then
12596 # Check whether --enable-debug was given.
12597 if test "${enable_debug+set}" = set; then :
12598 enableval=$enable_debug;
12603 if test "x$enable_debug" = "xyes"; then
12604 CFLAGS="$CFLAGS -O0 -g"
12607 # Check whether --enable-strict-cc was given.
12608 if test "${enable_strict_cc+set}" = set; then :
12609 enableval=$enable_strict_cc;
12611 enable_strict_cc=no
12614 if test "x$enable_strict_cc" = "xyes"; then
12615 CFLAGS="$CFLAGS -Wall -Werror"
12618 # Check whether --enable-plugin was given.
12619 if test "${enable_plugin+set}" = set; then :
12620 enableval=$enable_plugin;
12625 if test "x$enable_plugin" = "xyes"; then
12627 BUILD_PLUGIN_FALSE='#'
12629 BUILD_PLUGIN_TRUE='#'
12630 BUILD_PLUGIN_FALSE=
12633 if test "x$enable_plugin" = "xyes"; then :
12635 RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags rygel-core-2.0`"
12637 RYGEL_PLUGIN_DIR="`$PKG_CONFIG --variable=plugindir rygel-core-2.0`"
12642 GETTEXT_PACKAGE=rygel-gst-0-10-fullscreen-renderer
12645 cat >>confdefs.h <<_ACEOF
12646 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12651 for ac_header in locale.h
12653 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12654 if test "x$ac_cv_header_locale_h" = xyes; then :
12655 cat >>confdefs.h <<_ACEOF
12656 #define HAVE_LOCALE_H 1
12663 if test $ac_cv_header_locale_h = yes; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12665 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12666 if ${am_cv_val_LC_MESSAGES+:} false; then :
12667 $as_echo_n "(cached) " >&6
12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12671 #include <locale.h>
12680 if ac_fn_c_try_link "$LINENO"; then :
12681 am_cv_val_LC_MESSAGES=yes
12683 am_cv_val_LC_MESSAGES=no
12685 rm -f core conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12689 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12690 if test $am_cv_val_LC_MESSAGES = yes; then
12692 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12699 gt_cv_have_gettext=no
12705 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12706 if test "x$ac_cv_header_libintl_h" = xyes; then :
12707 gt_cv_func_dgettext_libintl="no"
12708 libintl_extra_libs=""
12711 # First check in libc
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12714 $as_echo_n "checking for ngettext in libc... " >&6; }
12715 if ${gt_cv_func_ngettext_libc+:} false; then :
12716 $as_echo_n "(cached) " >&6
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 #include <libintl.h>
12726 return !ngettext ("","", 1)
12731 if ac_fn_c_try_link "$LINENO"; then :
12732 gt_cv_func_ngettext_libc=yes
12734 gt_cv_func_ngettext_libc=no
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12741 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12743 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12745 $as_echo_n "checking for dgettext in libc... " >&6; }
12746 if ${gt_cv_func_dgettext_libc+:} false; then :
12747 $as_echo_n "(cached) " >&6
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 #include <libintl.h>
12757 return !dgettext ("","")
12762 if ac_fn_c_try_link "$LINENO"; then :
12763 gt_cv_func_dgettext_libc=yes
12765 gt_cv_func_dgettext_libc=no
12767 rm -f core conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12772 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12775 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12776 for ac_func in bind_textdomain_codeset
12778 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12779 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12780 cat >>confdefs.h <<_ACEOF
12781 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12790 # If we don't have everything we want, check in libintl
12792 if test "$gt_cv_func_dgettext_libc" != "yes" \
12793 || test "$gt_cv_func_ngettext_libc" != "yes" \
12794 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12797 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12798 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12799 $as_echo_n "(cached) " >&6
12801 ac_check_lib_save_LIBS=$LIBS
12802 LIBS="-lintl $LIBS"
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12806 /* Override any GCC internal prototype to avoid an error.
12807 Use char because int might match the return type of a GCC
12808 builtin and then its argument prototype would still apply. */
12812 char bindtextdomain ();
12816 return bindtextdomain ();
12821 if ac_fn_c_try_link "$LINENO"; then :
12822 ac_cv_lib_intl_bindtextdomain=yes
12824 ac_cv_lib_intl_bindtextdomain=no
12826 rm -f core conftest.err conftest.$ac_objext \
12827 conftest$ac_exeext conftest.$ac_ext
12828 LIBS=$ac_check_lib_save_LIBS
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12831 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12832 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12834 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12835 if ${ac_cv_lib_intl_ngettext+:} false; then :
12836 $as_echo_n "(cached) " >&6
12838 ac_check_lib_save_LIBS=$LIBS
12839 LIBS="-lintl $LIBS"
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12843 /* Override any GCC internal prototype to avoid an error.
12844 Use char because int might match the return type of a GCC
12845 builtin and then its argument prototype would still apply. */
12853 return ngettext ();
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 ac_cv_lib_intl_ngettext=yes
12861 ac_cv_lib_intl_ngettext=no
12863 rm -f core conftest.err conftest.$ac_objext \
12864 conftest$ac_exeext conftest.$ac_ext
12865 LIBS=$ac_check_lib_save_LIBS
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12868 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12869 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12871 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12872 if ${ac_cv_lib_intl_dgettext+:} false; then :
12873 $as_echo_n "(cached) " >&6
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lintl $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12890 return dgettext ();
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 ac_cv_lib_intl_dgettext=yes
12898 ac_cv_lib_intl_dgettext=no
12900 rm -f core conftest.err conftest.$ac_objext \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12905 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12906 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12907 gt_cv_func_dgettext_libintl=yes
12915 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12917 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12921 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12922 if ${ac_cv_lib_intl_ngettext+:} false; then :
12923 $as_echo_n "(cached) " >&6
12925 ac_check_lib_save_LIBS=$LIBS
12926 LIBS="-lintl -liconv $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12940 return ngettext ();
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 ac_cv_lib_intl_ngettext=yes
12948 ac_cv_lib_intl_ngettext=no
12950 rm -f core conftest.err conftest.$ac_objext \
12951 conftest$ac_exeext conftest.$ac_ext
12952 LIBS=$ac_check_lib_save_LIBS
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12955 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12956 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12958 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12959 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12960 $as_echo_n "(cached) " >&6
12962 ac_check_lib_save_LIBS=$LIBS
12963 LIBS="-lintl -liconv $LIBS"
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 /* Override any GCC internal prototype to avoid an error.
12968 Use char because int might match the return type of a GCC
12969 builtin and then its argument prototype would still apply. */
12977 return dcgettext ();
12982 if ac_fn_c_try_link "$LINENO"; then :
12983 ac_cv_lib_intl_dcgettext=yes
12985 ac_cv_lib_intl_dcgettext=no
12987 rm -f core conftest.err conftest.$ac_objext \
12988 conftest$ac_exeext conftest.$ac_ext
12989 LIBS=$ac_check_lib_save_LIBS
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12992 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12993 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12994 gt_cv_func_dgettext_libintl=yes
12995 libintl_extra_libs=-liconv
13007 # If we found libintl, then check in it for bind_textdomain_codeset();
13008 # we'll prefer libc if neither have bind_textdomain_codeset(),
13009 # and both have dgettext and ngettext
13011 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13012 glib_save_LIBS="$LIBS"
13013 LIBS="$LIBS -lintl $libintl_extra_libs"
13014 unset ac_cv_func_bind_textdomain_codeset
13015 for ac_func in bind_textdomain_codeset
13017 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13018 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13019 cat >>confdefs.h <<_ACEOF
13020 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
13026 LIBS="$glib_save_LIBS"
13028 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13029 gt_cv_func_dgettext_libc=no
13031 if test "$gt_cv_func_dgettext_libc" = "yes" \
13032 && test "$gt_cv_func_ngettext_libc" = "yes"; then
13033 gt_cv_func_dgettext_libintl=no
13039 if test "$gt_cv_func_dgettext_libc" = "yes" \
13040 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13041 gt_cv_have_gettext=yes
13044 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13045 INTLLIBS="-lintl $libintl_extra_libs"
13048 if test "$gt_cv_have_gettext" = "yes"; then
13050 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13052 # Extract the first word of "msgfmt", so it can be a program name with args.
13053 set dummy msgfmt; ac_word=$2
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13055 $as_echo_n "checking for $ac_word... " >&6; }
13056 if ${ac_cv_path_MSGFMT+:} false; then :
13057 $as_echo_n "(cached) " >&6
13061 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13065 for ac_dir in $PATH; do
13066 test -z "$ac_dir" && ac_dir=.
13067 if test -f $ac_dir/$ac_word; then
13068 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13069 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13075 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13079 MSGFMT="$ac_cv_path_MSGFMT"
13080 if test "$MSGFMT" != "no"; then
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13082 $as_echo "$MSGFMT" >&6; }
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13085 $as_echo "no" >&6; }
13087 if test "$MSGFMT" != "no"; then
13088 glib_save_LIBS="$LIBS"
13089 LIBS="$LIBS $INTLLIBS"
13090 for ac_func in dcgettext
13092 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13093 if test "x$ac_cv_func_dcgettext" = xyes; then :
13094 cat >>confdefs.h <<_ACEOF
13095 #define HAVE_DCGETTEXT 1
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13103 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
13104 cat >conftest.foo <<_ACEOF
13108 "Content-Type: text/plain; charset=UTF-8\n"
13109 "Project-Id-Version: test 1.0\n"
13110 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
13111 "Last-Translator: test <foo@bar.xx>\n"
13112 "Language-Team: C <LL@li.org>\n"
13113 "MIME-Version: 1.0\n"
13114 "Content-Transfer-Encoding: 8bit\n"
13117 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13118 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 test $ac_status = 0; }; then
13122 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13123 $as_echo "yes" >&6; }
13124 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13126 echo "$as_me: failed input was:" >&5
13127 sed 's/^/| /' conftest.foo >&5
13130 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13131 set dummy gmsgfmt; ac_word=$2
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13133 $as_echo_n "checking for $ac_word... " >&6; }
13134 if ${ac_cv_path_GMSGFMT+:} false; then :
13135 $as_echo_n "(cached) " >&6
13139 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143 for as_dir in $PATH
13146 test -z "$as_dir" && as_dir=.
13147 for ac_exec_ext in '' $ac_executable_extensions; do
13148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13149 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13157 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13161 GMSGFMT=$ac_cv_path_GMSGFMT
13162 if test -n "$GMSGFMT"; then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13164 $as_echo "$GMSGFMT" >&6; }
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13171 # Extract the first word of "xgettext", so it can be a program name with args.
13172 set dummy xgettext; ac_word=$2
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13174 $as_echo_n "checking for $ac_word... " >&6; }
13175 if ${ac_cv_path_XGETTEXT+:} false; then :
13176 $as_echo_n "(cached) " >&6
13178 case "$XGETTEXT" in
13180 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13184 for ac_dir in $PATH; do
13185 test -z "$ac_dir" && ac_dir=.
13186 if test -f $ac_dir/$ac_word; then
13187 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13188 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13194 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13198 XGETTEXT="$ac_cv_path_XGETTEXT"
13199 if test "$XGETTEXT" != ":"; then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13201 $as_echo "$XGETTEXT" >&6; }
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13204 $as_echo "no" >&6; }
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13213 extern int _nl_msg_cat_cntr;
13214 return _nl_msg_cat_cntr
13219 if ac_fn_c_try_link "$LINENO"; then :
13225 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13226 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13245 rm -f core conftest.err conftest.$ac_objext \
13246 conftest$ac_exeext conftest.$ac_ext
13247 LIBS="$glib_save_LIBS"
13250 gt_cv_have_gettext=no
13258 if test "$gt_cv_have_gettext" = "yes" ; then
13260 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13264 if test "$XGETTEXT" != ":"; then
13265 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13269 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13274 # We need to process the po/ directory.
13277 ac_config_commands="$ac_config_commands default-1"
13280 for lang in $ALL_LINGUAS; do
13281 GMOFILES="$GMOFILES $lang.gmo"
13282 POFILES="$POFILES $lang.po"
13297 if test "$gt_cv_have_gettext" = "yes"; then
13298 if test "x$ALL_LINGUAS" = "x"; then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13302 $as_echo_n "checking for catalogs to be installed... " >&6; }
13304 for presentlang in $ALL_LINGUAS; do
13306 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13307 desiredlanguages="$LINGUAS"
13309 desiredlanguages="$ALL_LINGUAS"
13311 for desiredlang in $desiredlanguages; do
13312 # Use the presentlang catalog if desiredlang is
13313 # a. equal to presentlang, or
13314 # b. a variant of presentlang (because in this case,
13315 # presentlang can be used as a fallback for messages
13316 # which are not translated in the desiredlang catalog).
13317 case "$desiredlang" in
13318 "$presentlang"*) useit=yes;;
13321 if test $useit = yes; then
13322 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13325 LINGUAS=$NEW_LINGUAS
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13327 $as_echo "$LINGUAS" >&6; }
13330 if test -n "$LINGUAS"; then
13331 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13336 if test -n "$ac_aux_dir"; then
13337 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13339 if test -z "$MKINSTALLDIRS"; then
13340 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13344 test -d po || mkdir po
13345 if test "x$srcdir" != "x."; then
13346 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13347 posrcprefix="$srcdir/"
13349 posrcprefix="../$srcdir/"
13355 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13356 < $srcdir/po/POTFILES.in > po/POTFILES
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13360 $as_echo_n "checking whether NLS is requested... " >&6; }
13361 # Check whether --enable-nls was given.
13362 if test "${enable_nls+set}" = set; then :
13363 enableval=$enable_nls; USE_NLS=$enableval
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13369 $as_echo "$USE_NLS" >&6; }
13374 case "$am__api_version" in
13376 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13382 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13383 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13384 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13385 if test -n "0.40.0"; then
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
13387 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13389 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13390 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13391 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
13394 # Extract the first word of "intltool-update", so it can be a program name with args.
13395 set dummy intltool-update; ac_word=$2
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13397 $as_echo_n "checking for $ac_word... " >&6; }
13398 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13399 $as_echo_n "(cached) " >&6
13401 case $INTLTOOL_UPDATE in
13403 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13407 for as_dir in $PATH
13410 test -z "$as_dir" && as_dir=.
13411 for ac_exec_ext in '' $ac_executable_extensions; do
13412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13413 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13424 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13425 if test -n "$INTLTOOL_UPDATE"; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13427 $as_echo "$INTLTOOL_UPDATE" >&6; }
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13430 $as_echo "no" >&6; }
13434 # Extract the first word of "intltool-merge", so it can be a program name with args.
13435 set dummy intltool-merge; ac_word=$2
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13437 $as_echo_n "checking for $ac_word... " >&6; }
13438 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13439 $as_echo_n "(cached) " >&6
13441 case $INTLTOOL_MERGE in
13443 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13447 for as_dir in $PATH
13450 test -z "$as_dir" && as_dir=.
13451 for ac_exec_ext in '' $ac_executable_extensions; do
13452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13453 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13464 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13465 if test -n "$INTLTOOL_MERGE"; then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13467 $as_echo "$INTLTOOL_MERGE" >&6; }
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13470 $as_echo "no" >&6; }
13474 # Extract the first word of "intltool-extract", so it can be a program name with args.
13475 set dummy intltool-extract; ac_word=$2
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13477 $as_echo_n "checking for $ac_word... " >&6; }
13478 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13479 $as_echo_n "(cached) " >&6
13481 case $INTLTOOL_EXTRACT in
13483 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13487 for as_dir in $PATH
13490 test -z "$as_dir" && as_dir=.
13491 for ac_exec_ext in '' $ac_executable_extensions; do
13492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13504 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13505 if test -n "$INTLTOOL_EXTRACT"; then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13507 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13510 $as_echo "no" >&6; }
13514 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13515 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13518 if test -z "$AM_DEFAULT_VERBOSITY"; then
13519 AM_DEFAULT_VERBOSITY=1
13523 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13524 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13525 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
13530 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13531 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13532 intltool__v_merge_options_0='-q'
13537 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13538 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13539 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13540 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13541 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
13542 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13543 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13544 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13545 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13546 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13547 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13548 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13549 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
13551 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
13553 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13554 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13555 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13556 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13557 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13558 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13559 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13657 # Check the gettext tools to make sure they are GNU
13658 # Extract the first word of "xgettext", so it can be a program name with args.
13659 set dummy xgettext; ac_word=$2
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13661 $as_echo_n "checking for $ac_word... " >&6; }
13662 if ${ac_cv_path_XGETTEXT+:} false; then :
13663 $as_echo_n "(cached) " >&6
13667 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13671 for as_dir in $PATH
13674 test -z "$as_dir" && as_dir=.
13675 for ac_exec_ext in '' $ac_executable_extensions; do
13676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13677 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13688 XGETTEXT=$ac_cv_path_XGETTEXT
13689 if test -n "$XGETTEXT"; then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13691 $as_echo "$XGETTEXT" >&6; }
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13694 $as_echo "no" >&6; }
13698 # Extract the first word of "msgmerge", so it can be a program name with args.
13699 set dummy msgmerge; ac_word=$2
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13701 $as_echo_n "checking for $ac_word... " >&6; }
13702 if ${ac_cv_path_MSGMERGE+:} false; then :
13703 $as_echo_n "(cached) " >&6
13707 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13711 for as_dir in $PATH
13714 test -z "$as_dir" && as_dir=.
13715 for ac_exec_ext in '' $ac_executable_extensions; do
13716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13717 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13728 MSGMERGE=$ac_cv_path_MSGMERGE
13729 if test -n "$MSGMERGE"; then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13731 $as_echo "$MSGMERGE" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13734 $as_echo "no" >&6; }
13738 # Extract the first word of "msgfmt", so it can be a program name with args.
13739 set dummy msgfmt; ac_word=$2
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13741 $as_echo_n "checking for $ac_word... " >&6; }
13742 if ${ac_cv_path_MSGFMT+:} false; then :
13743 $as_echo_n "(cached) " >&6
13747 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13751 for as_dir in $PATH
13754 test -z "$as_dir" && as_dir=.
13755 for ac_exec_ext in '' $ac_executable_extensions; do
13756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13757 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13768 MSGFMT=$ac_cv_path_MSGFMT
13769 if test -n "$MSGFMT"; then
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13771 $as_echo "$MSGFMT" >&6; }
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13774 $as_echo "no" >&6; }
13778 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13779 set dummy gmsgfmt; ac_word=$2
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13781 $as_echo_n "checking for $ac_word... " >&6; }
13782 if ${ac_cv_path_GMSGFMT+:} false; then :
13783 $as_echo_n "(cached) " >&6
13787 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13791 for as_dir in $PATH
13794 test -z "$as_dir" && as_dir=.
13795 for ac_exec_ext in '' $ac_executable_extensions; do
13796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13797 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13805 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13809 GMSGFMT=$ac_cv_path_GMSGFMT
13810 if test -n "$GMSGFMT"; then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13812 $as_echo "$GMSGFMT" >&6; }
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13815 $as_echo "no" >&6; }
13819 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13820 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13822 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13823 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13824 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13825 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13826 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13829 # Extract the first word of "perl", so it can be a program name with args.
13830 set dummy perl; ac_word=$2
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13832 $as_echo_n "checking for $ac_word... " >&6; }
13833 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13834 $as_echo_n "(cached) " >&6
13836 case $INTLTOOL_PERL in
13838 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 for as_dir in $PATH
13845 test -z "$as_dir" && as_dir=.
13846 for ac_exec_ext in '' $ac_executable_extensions; do
13847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13848 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13859 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13860 if test -n "$INTLTOOL_PERL"; then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13862 $as_echo "$INTLTOOL_PERL" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865 $as_echo "no" >&6; }
13869 if test -z "$INTLTOOL_PERL"; then
13870 as_fn_error $? "perl not found" "$LINENO" 5
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13873 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13874 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13875 if test $? -ne 0; then
13876 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13878 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13880 $as_echo "$IT_PERL_VERSION" >&6; }
13882 if test "x" != "xno-xml"; then
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13884 $as_echo_n "checking for XML::Parser... " >&6; }
13885 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13887 $as_echo "ok" >&6; }
13889 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13893 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13896 # Set DATADIRNAME correctly if it is not set yet
13897 # (copied from glib-gettext.m4)
13898 if test -z "$DATADIRNAME"; then
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13905 extern int _nl_msg_cat_cntr;
13906 return _nl_msg_cat_cntr
13911 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13917 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13929 rm -f core conftest.err conftest.$ac_objext \
13930 conftest$ac_exeext conftest.$ac_ext
13938 # Check whether --enable-silent-rules was given.
13939 if test "${enable_silent_rules+set}" = set; then :
13940 enableval=$enable_silent_rules;
13943 case $enable_silent_rules in
13944 yes) AM_DEFAULT_VERBOSITY=0;;
13945 no) AM_DEFAULT_VERBOSITY=1;;
13946 *) AM_DEFAULT_VERBOSITY=0;;
13948 am_make=${MAKE-make}
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13950 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13951 if ${am_cv_make_support_nested_variables+:} false; then :
13952 $as_echo_n "(cached) " >&6
13954 if $as_echo 'TRUE=$(BAR$(V))
13960 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13961 am_cv_make_support_nested_variables=yes
13963 am_cv_make_support_nested_variables=no
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13967 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13968 if test $am_cv_make_support_nested_variables = yes; then
13970 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13972 AM_V=$AM_DEFAULT_VERBOSITY
13973 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13978 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
13980 cat >confcache <<\_ACEOF
13981 # This file is a shell script that caches the results of configure
13982 # tests run on this system so they can be shared between configure
13983 # scripts and configure runs, see configure's option --config-cache.
13984 # It is not useful on other systems. If it contains results you don't
13985 # want to keep, you may remove or edit it.
13987 # config.status only pays attention to the cache file if you give it
13988 # the --recheck option to rerun configure.
13990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13992 # following values.
13996 # The following way of writing the cache mishandles newlines in values,
13997 # but we know of no workaround that is simple, portable, and efficient.
13998 # So, we kill variables containing newlines.
13999 # Ultrix sh set writes to stderr and can't be redirected directly,
14000 # and sets the high bit in the cache file unless we assign to the vars.
14002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14003 eval ac_val=\$$ac_var
14007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14011 _ | IFS | as_nl) ;; #(
14012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14013 *) { eval $ac_var=; unset $ac_var;} ;;
14019 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14020 *${as_nl}ac_space=\ *)
14021 # `set' does not quote correctly, so add quotes: double-quote
14022 # substitution turns \\\\ into \\, and sed turns \\ into \.
14025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14028 # `set' quotes correctly as required by POSIX, so do not add quotes.
14029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14040 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14042 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14043 if test -w "$cache_file"; then
14044 if test "x$cache_file" != "x/dev/null"; then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14046 $as_echo "$as_me: updating cache $cache_file" >&6;}
14047 if test ! -f "$cache_file" || test -h "$cache_file"; then
14048 cat confcache >"$cache_file"
14050 case $cache_file in #(
14052 mv -f confcache "$cache_file"$$ &&
14053 mv -f "$cache_file"$$ "$cache_file" ;; #(
14055 mv -f confcache "$cache_file" ;;
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14067 # Let make expand exec_prefix.
14068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14070 DEFS=-DHAVE_CONFIG_H
14075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14076 # 1. Remove the extension, and $U if already installed.
14077 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14078 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14079 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14080 # will be set to the directory where LIBOBJS objects are built.
14081 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14082 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14084 LIBOBJS=$ac_libobjs
14086 LTLIBOBJS=$ac_ltlibobjs
14089 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14090 as_fn_error $? "conditional \"AMDEP\" was never defined.
14091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14093 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14094 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14097 if test -n "$EXEEXT"; then
14099 am__EXEEXT_FALSE='#'
14101 am__EXEEXT_TRUE='#'
14105 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14106 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14109 if test -z "${BUILD_UI_TRUE}" && test -z "${BUILD_UI_FALSE}"; then
14110 as_fn_error $? "conditional \"BUILD_UI\" was never defined.
14111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14113 if test -z "${BUILD_PLUGIN_TRUE}" && test -z "${BUILD_PLUGIN_FALSE}"; then
14114 as_fn_error $? "conditional \"BUILD_PLUGIN\" was never defined.
14115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14118 ac_config_commands="$ac_config_commands po/stamp-it"
14122 : "${CONFIG_STATUS=./config.status}"
14124 ac_clean_files_save=$ac_clean_files
14125 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14127 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14129 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14131 # Generated by $as_me.
14132 # Run this file to recreate the current configuration.
14133 # Compiler output produced by configure, useful for debugging
14134 # configure, is in config.log if it exists.
14137 ac_cs_recheck=false
14140 SHELL=\${CONFIG_SHELL-$SHELL}
14143 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14144 ## -------------------- ##
14145 ## M4sh Initialization. ##
14146 ## -------------------- ##
14148 # Be more Bourne compatible
14149 DUALCASE=1; export DUALCASE # for MKS sh
14150 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14153 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14154 # is contrary to our usage. Disable this feature.
14155 alias -g '${1+"$@"}'='"$@"'
14156 setopt NO_GLOB_SUBST
14158 case `(set -o) 2>/dev/null` in #(
14170 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14171 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14174 # Prefer a ksh shell builtin over an external printf program on Solaris,
14175 # but without wasting forks for bash or zsh.
14176 if test -z "$BASH_VERSION$ZSH_VERSION" \
14177 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14178 as_echo='print -r --'
14179 as_echo_n='print -rn --'
14180 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14181 as_echo='printf %s\n'
14182 as_echo_n='printf %s'
14184 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14185 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14186 as_echo_n='/usr/ucb/echo -n'
14188 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14189 as_echo_n_body='eval
14193 expr "X$arg" : "X\\(.*\\)$as_nl";
14194 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14196 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14198 export as_echo_n_body
14199 as_echo_n='sh -c $as_echo_n_body as_echo'
14201 export as_echo_body
14202 as_echo='sh -c $as_echo_body as_echo'
14205 # The user is always right.
14206 if test "${PATH_SEPARATOR+set}" != set; then
14208 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14209 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14216 # We need space, tab and new line, in precisely that order. Quoting is
14217 # there to prevent editors from complaining about space-tab.
14218 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14219 # splitting by setting IFS to empty value.)
14222 # Find who we are. Look in the path if we contain no directory separator.
14225 *[\\/]* ) as_myself=$0 ;;
14226 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14227 for as_dir in $PATH
14230 test -z "$as_dir" && as_dir=.
14231 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14237 # We did not find ourselves, most probably we were run as `sh COMMAND'
14238 # in which case we are not to be found in the path.
14239 if test "x$as_myself" = x; then
14242 if test ! -f "$as_myself"; then
14243 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14247 # Unset variables that we do not need and which cause bugs (e.g. in
14248 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14249 # suppresses any "Segmentation fault" message there. '((' could
14250 # trigger a bug in pdksh 5.2.14.
14251 for as_var in BASH_ENV ENV MAIL MAILPATH
14252 do eval test x\${$as_var+set} = xset \
14253 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14266 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14269 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14270 # ----------------------------------------
14271 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14272 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14273 # script with STATUS, using 1 if that was 0.
14276 as_status=$1; test $as_status -eq 0 && as_status=1
14278 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14279 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14281 $as_echo "$as_me: error: $2" >&2
14282 as_fn_exit $as_status
14286 # as_fn_set_status STATUS
14287 # -----------------------
14288 # Set $? to STATUS, without forking.
14289 as_fn_set_status ()
14292 } # as_fn_set_status
14294 # as_fn_exit STATUS
14295 # -----------------
14296 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14300 as_fn_set_status $1
14306 # Portably unset VAR.
14309 { eval $1=; unset $1;}
14311 as_unset=as_fn_unset
14312 # as_fn_append VAR VALUE
14313 # ----------------------
14314 # Append the text in VALUE to the end of the definition contained in VAR. Take
14315 # advantage of any shell optimizations that allow amortized linear growth over
14316 # repeated appends, instead of the typical quadratic growth present in naive
14318 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14319 eval 'as_fn_append ()
14330 # as_fn_arith ARG...
14331 # ------------------
14332 # Perform arithmetic evaluation on the ARGs, and store the result in the
14333 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14334 # must be portable across $(()) and expr.
14335 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14336 eval 'as_fn_arith ()
14343 as_val=`expr "$@" || test $? -eq 1`
14348 if expr a : '\(a\)' >/dev/null 2>&1 &&
14349 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14355 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14356 as_basename=basename
14361 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14367 as_me=`$as_basename -- "$0" ||
14368 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14369 X"$0" : 'X\(//\)$' \| \
14370 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14372 sed '/^.*\/\([^/][^/]*\)\/*$/{
14386 # Avoid depending upon Character Ranges.
14387 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14388 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14389 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14390 as_cr_digits='0123456789'
14391 as_cr_alnum=$as_cr_Letters$as_cr_digits
14393 ECHO_C= ECHO_N= ECHO_T=
14394 case `echo -n x` in #(((((
14396 case `echo 'xy\c'` in
14397 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14399 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14406 rm -f conf$$ conf$$.exe conf$$.file
14407 if test -d conf$$.dir; then
14408 rm -f conf$$.dir/conf$$.file
14411 mkdir conf$$.dir 2>/dev/null
14413 if (echo >conf$$.file) 2>/dev/null; then
14414 if ln -s conf$$.file conf$$ 2>/dev/null; then
14416 # ... but there are two gotchas:
14417 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14418 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14419 # In both cases, we have to default to `cp -pR'.
14420 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14422 elif ln conf$$.file conf$$ 2>/dev/null; then
14430 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14431 rmdir conf$$.dir 2>/dev/null
14436 # Create "$as_dir" as a directory, including parents if necessary.
14441 -*) as_dir=./$as_dir;;
14443 test -d "$as_dir" || eval $as_mkdir_p || {
14447 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14448 *) as_qdir=$as_dir;;
14450 as_dirs="'$as_qdir' $as_dirs"
14451 as_dir=`$as_dirname -- "$as_dir" ||
14452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14453 X"$as_dir" : 'X\(//\)[^/]' \| \
14454 X"$as_dir" : 'X\(//\)$' \| \
14455 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14456 $as_echo X"$as_dir" |
14457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14461 /^X\(\/\/\)[^/].*/{
14474 test -d "$as_dir" && break
14476 test -z "$as_dirs" || eval "mkdir $as_dirs"
14477 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14481 if mkdir -p . 2>/dev/null; then
14482 as_mkdir_p='mkdir -p "$as_dir"'
14484 test -d ./-p && rmdir ./-p
14489 # as_fn_executable_p FILE
14490 # -----------------------
14491 # Test if FILE is an executable regular file.
14492 as_fn_executable_p ()
14494 test -f "$1" && test -x "$1"
14495 } # as_fn_executable_p
14496 as_test_x='test -x'
14497 as_executable_p=as_fn_executable_p
14499 # Sed expression to map a string onto a valid CPP name.
14500 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14502 # Sed expression to map a string onto a valid variable name.
14503 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14507 ## ----------------------------------- ##
14508 ## Main body of $CONFIG_STATUS script. ##
14509 ## ----------------------------------- ##
14511 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14514 # Save the log message, to keep $0 and so on meaningful, and to
14515 # report actual input values of CONFIG_FILES etc. instead of their
14516 # values after options handling.
14518 This file was extended by rygel-gst-0-10-fullscreen-renderer $as_me 1.17.4, which was
14519 generated by GNU Autoconf 2.69. Invocation command line was
14521 CONFIG_FILES = $CONFIG_FILES
14522 CONFIG_HEADERS = $CONFIG_HEADERS
14523 CONFIG_LINKS = $CONFIG_LINKS
14524 CONFIG_COMMANDS = $CONFIG_COMMANDS
14527 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14532 case $ac_config_files in *"
14533 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14536 case $ac_config_headers in *"
14537 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14542 # Files that config.status was made for.
14543 config_files="$ac_config_files"
14544 config_headers="$ac_config_headers"
14545 config_commands="$ac_config_commands"
14549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14551 \`$as_me' instantiates files and other configuration actions
14552 from templates according to the current configuration. Unless the files
14553 and actions are specified as TAGs, all are instantiated by default.
14555 Usage: $0 [OPTION]... [TAG]...
14557 -h, --help print this help, then exit
14558 -V, --version print version number and configuration settings, then exit
14559 --config print configuration, then exit
14560 -q, --quiet, --silent
14561 do not print progress messages
14562 -d, --debug don't remove temporary files
14563 --recheck update $as_me by reconfiguring in the same conditions
14564 --file=FILE[:TEMPLATE]
14565 instantiate the configuration file FILE
14566 --header=FILE[:TEMPLATE]
14567 instantiate the configuration header FILE
14569 Configuration files:
14572 Configuration headers:
14575 Configuration commands:
14578 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
14579 rygel-gst-0-10-fullscreen-renderer home page: <http://live.gnome.org/Rygel>."
14582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14585 rygel-gst-0-10-fullscreen-renderer config.status 1.17.4
14586 configured by $0, generated by GNU Autoconf 2.69,
14587 with options \\"\$ac_cs_config\\"
14589 Copyright (C) 2012 Free Software Foundation, Inc.
14590 This config.status script is free software; the Free Software Foundation
14591 gives unlimited permission to copy, distribute and modify it."
14598 test -n "\$AWK" || AWK=awk
14601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14602 # The default lists apply if the user does not specify any file.
14608 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14609 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14625 # Handling of the options.
14626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14629 $as_echo "$ac_cs_version"; exit ;;
14630 --config | --confi | --conf | --con | --co | --c )
14631 $as_echo "$ac_cs_config"; exit ;;
14632 --debug | --debu | --deb | --de | --d | -d )
14634 --file | --fil | --fi | --f )
14637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14638 '') as_fn_error $? "missing file argument" ;;
14640 as_fn_append CONFIG_FILES " '$ac_optarg'"
14641 ac_need_defaults=false;;
14642 --header | --heade | --head | --hea )
14645 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14647 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14648 ac_need_defaults=false;;
14650 # Conflict between --help and --header
14651 as_fn_error $? "ambiguous option: \`$1'
14652 Try \`$0 --help' for more information.";;
14653 --help | --hel | -h )
14654 $as_echo "$ac_cs_usage"; exit ;;
14655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14659 # This is an error.
14660 -*) as_fn_error $? "unrecognized option: \`$1'
14661 Try \`$0 --help' for more information." ;;
14663 *) as_fn_append ac_config_targets " $1"
14664 ac_need_defaults=false ;;
14670 ac_configure_extra_args=
14672 if $ac_cs_silent; then
14674 ac_configure_extra_args="$ac_configure_extra_args --silent"
14678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14679 if \$ac_cs_recheck; then
14680 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14682 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14683 CONFIG_SHELL='$SHELL'
14684 export CONFIG_SHELL
14689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14694 ## Running $as_me. ##
14700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14707 # The HP-UX ksh and POSIX shell print the target directory to stdout
14708 # if CDPATH is set.
14709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14711 sed_quote_subst='$sed_quote_subst'
14712 double_quote_subst='$double_quote_subst'
14713 delay_variable_subst='$delay_variable_subst'
14714 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14715 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14716 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14717 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14718 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14719 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14720 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14721 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14722 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14723 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14724 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14725 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14726 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14727 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14728 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14729 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14730 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14731 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14732 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14733 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14734 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14735 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14736 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14737 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14738 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14739 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14740 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14741 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14742 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14743 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14744 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14745 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14746 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14747 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14750 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14751 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14752 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14753 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14754 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14755 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14756 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14770 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"`'
14771 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14772 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14773 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14774 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14775 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14777 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14778 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14779 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14780 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14781 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14782 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14783 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14784 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14785 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14786 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14787 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14788 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14789 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14790 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14791 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14792 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14793 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14794 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14795 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14796 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14797 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14798 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14799 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14800 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14801 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14802 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14803 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14804 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14805 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14806 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14807 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14808 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14809 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14810 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14811 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14812 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14818 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14819 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14820 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14821 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14822 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14823 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14824 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14825 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14826 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14827 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14828 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14829 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14830 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14831 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14832 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14833 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14834 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14835 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14836 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14837 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14838 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14839 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14840 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14841 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14842 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14843 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14846 LTCFLAGS='$LTCFLAGS'
14847 compiler='$compiler_DEFAULT'
14849 # A function that is used when there is no print builtin or printf.
14850 func_fallback_echo ()
14852 eval 'cat <<_LTECHO_EOF
14857 # Quote evaled strings.
14872 deplibs_check_method \
14877 sharedlib_from_linklib_cmd \
14880 archiver_list_spec \
14886 lt_cv_sys_global_symbol_pipe \
14887 lt_cv_sys_global_symbol_to_cdecl \
14888 lt_cv_sys_global_symbol_to_c_name_address \
14889 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14890 nm_file_list_spec \
14891 lt_prog_compiler_no_builtin_flag \
14892 lt_prog_compiler_pic \
14893 lt_prog_compiler_wl \
14894 lt_prog_compiler_static \
14895 lt_cv_prog_compiler_c_o \
14904 export_dynamic_flag_spec \
14905 whole_archive_flag_spec \
14906 compiler_needs_object \
14908 allow_undefined_flag \
14909 no_undefined_flag \
14910 hardcode_libdir_flag_spec \
14911 hardcode_libdir_separator \
14915 variables_saved_for_relink \
14917 library_names_spec \
14919 install_override_mode \
14923 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14924 *[\\\\\\\`\\"\\\$]*)
14925 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14928 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14933 # Double-quote double-evaled strings.
14934 for var in reload_cmds \
14935 old_postinstall_cmds \
14936 old_postuninstall_cmds \
14938 extract_expsyms_cmds \
14939 old_archive_from_new_cmds \
14940 old_archive_from_expsyms_cmds \
14942 archive_expsym_cmds \
14944 module_expsym_cmds \
14945 export_symbols_cmds \
14949 postuninstall_cmds \
14951 sys_lib_search_path_spec \
14952 sys_lib_dlsearch_path_spec; do
14953 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14954 *[\\\\\\\`\\"\\\$]*)
14955 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14958 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14963 ac_aux_dir='$ac_aux_dir'
14964 xsi_shell='$xsi_shell'
14965 lt_shell_append='$lt_shell_append'
14967 # See if we are running on zsh, and set the options which allow our
14968 # commands through without removal of \ escapes INIT.
14969 if test -n "\${ZSH_VERSION+set}" ; then
14970 setopt NO_GLOB_SUBST
14976 TIMESTAMP='$TIMESTAMP'
14986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14988 # Handling of arguments.
14989 for ac_config_target in $ac_config_targets
14991 case $ac_config_target in
14992 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14993 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14994 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14995 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14996 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14997 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14998 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14999 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15001 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15006 # If the user did not use the arguments to specify the items to instantiate,
15007 # then the envvar interface is used. Set only those that are not.
15008 # We use the long form for the default assignment because of an extremely
15009 # bizarre bug on SunOS 4.1.3.
15010 if $ac_need_defaults; then
15011 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15012 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15013 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15016 # Have a temporary directory for convenience. Make it in the build tree
15017 # simply because there is no reason against having it here, and in addition,
15018 # creating and moving files from /tmp can sometimes cause problems.
15019 # Hook for its removal unless debugging.
15020 # Note that there is a small window in which the directory will not be cleaned:
15021 # after its creation but before its name has been assigned to `$tmp'.
15025 trap 'exit_status=$?
15026 : "${ac_tmp:=$tmp}"
15027 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15029 trap 'as_fn_exit 1' 1 2 13 15
15031 # Create a (secure) tmp directory for tmp files.
15034 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15038 tmp=./conf$$-$RANDOM
15039 (umask 077 && mkdir "$tmp")
15040 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15043 # Set up the scripts for CONFIG_FILES section.
15044 # No need to generate them if there are no CONFIG_FILES.
15045 # This happens for instance with `./config.status config.h'.
15046 if test -n "$CONFIG_FILES"; then
15049 ac_cr=`echo X | tr X '\015'`
15050 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15051 # But we know of no other shell where ac_cr would be empty at this
15052 # point, so we can use a bashism as a fallback.
15053 if test "x$ac_cr" = x; then
15054 eval ac_cr=\$\'\\r\'
15056 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15057 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15060 ac_cs_awk_cr=$ac_cr
15063 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15068 echo "cat >conf$$subs.awk <<_ACEOF" &&
15069 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15071 } >conf$$subs.sh ||
15072 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15073 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15075 for ac_last_try in false false false false false :; do
15076 . ./conf$$subs.sh ||
15077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15079 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15080 if test $ac_delim_n = $ac_delim_num; then
15082 elif $ac_last_try; then
15083 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15088 rm -f conf$$subs.sh
15090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15091 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15095 s/^/S["/; s/!.*/"]=/
15105 s/\(.\{148\}\)..*/\1/
15107 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15112 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15119 s/\(.\{148\}\)..*/\1/
15121 s/["\\]/\\&/g; s/^/"/; s/$/"/
15125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15130 ' <conf$$subs.awk | sed '
15135 ' >>$CONFIG_STATUS || ac_write_fail=1
15136 rm -f conf$$subs.awk
15137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15139 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15140 for (key in S) S_is_set[key] = 1
15146 nfields = split(line, field, "@")
15148 len = length(field[1])
15149 for (i = 2; i < nfields; i++) {
15151 keylen = length(key)
15152 if (S_is_set[key]) {
15154 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15155 len += length(value) + length(field[++i])
15166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15167 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15168 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15171 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15172 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15175 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15176 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15177 # trailing colons and then remove the whole line if VPATH becomes empty
15178 # (actually we leave an empty line to preserve line numbers).
15179 if test "x$srcdir" = x.; then
15180 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15199 fi # test -n "$CONFIG_FILES"
15201 # Set up the scripts for CONFIG_HEADERS section.
15202 # No need to generate them if there are no CONFIG_HEADERS.
15203 # This happens for instance with `./config.status Makefile'.
15204 if test -n "$CONFIG_HEADERS"; then
15205 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15209 # Transform confdefs.h into an awk script `defines.awk', embedded as
15210 # here-document in config.status, that substitutes the proper values into
15211 # config.h.in to produce config.h.
15213 # Create a delimiter string that does not exist in confdefs.h, to ease
15214 # handling of long lines.
15216 for ac_last_try in false false :; do
15217 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15218 if test -z "$ac_tt"; then
15220 elif $ac_last_try; then
15221 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15227 # For the awk script, D is an array of macro values keyed by name,
15228 # likewise P contains macro parameters if any. Preserve backslash
15229 # newline sequences.
15231 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15233 s/.\{148\}/&'"$ac_delim"'/g
15236 s/^[ ]*#[ ]*define[ ][ ]*/ /
15243 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15249 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15250 D["\1"]=" \3\\\\\\n"\\/p
15252 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15257 s/.\{148\}/&'"$ac_delim"'/g
15262 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15265 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15267 ' <confdefs.h | sed '
15268 s/'"$ac_delim"'/"\\\
15269 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15272 for (key in D) D_is_set[key] = 1
15275 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15277 split(line, arg, " ")
15278 if (arg[1] == "#") {
15282 defundef = substr(arg[1], 2)
15285 split(mac1, mac2, "(") #)
15287 prefix = substr(line, 1, index(line, defundef) - 1)
15288 if (D_is_set[macro]) {
15289 # Preserve the white space surrounding the "#".
15290 print prefix "define", macro P[macro] D[macro]
15293 # Replace #undef with comments. This is necessary, for example,
15294 # in the case of _POSIX_SOURCE, which is predefined and required
15295 # on some systems where configure will not decide to define it.
15296 if (defundef == "undef") {
15297 print "/*", prefix defundef, macro, "*/"
15305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15306 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15307 fi # test -n "$CONFIG_HEADERS"
15310 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15315 :[FHLC]) ac_mode=$ac_tag; continue;;
15317 case $ac_mode$ac_tag in
15319 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15320 :[FH]-) ac_tag=-:-;;
15321 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15338 -) ac_f="$ac_tmp/stdin";;
15339 *) # Look for the file first in the build tree, then in the source tree
15340 # (if the path is not absolute). The absolute path cannot be DOS-style,
15341 # because $ac_f cannot contain `:'.
15345 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15347 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15349 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15350 as_fn_append ac_file_inputs " '$ac_f'"
15353 # Let's still pretend it is `configure' which instantiates (i.e., don't
15354 # use $as_me), people would be surprised to read:
15355 # /* config.h. Generated by config.status. */
15356 configure_input='Generated from '`
15357 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15359 if test x"$ac_file" != x-; then
15360 configure_input="$ac_file. $configure_input"
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15362 $as_echo "$as_me: creating $ac_file" >&6;}
15364 # Neutralize special characters interpreted by sed in replacement strings.
15365 case $configure_input in #(
15366 *\&* | *\|* | *\\* )
15367 ac_sed_conf_input=`$as_echo "$configure_input" |
15368 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15369 *) ac_sed_conf_input=$configure_input;;
15373 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15374 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15379 ac_dir=`$as_dirname -- "$ac_file" ||
15380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15381 X"$ac_file" : 'X\(//\)[^/]' \| \
15382 X"$ac_file" : 'X\(//\)$' \| \
15383 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15384 $as_echo X"$ac_file" |
15385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15389 /^X\(\/\/\)[^/].*/{
15402 as_dir="$ac_dir"; as_fn_mkdir_p
15406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15409 # A ".." for each directory in $ac_dir_suffix.
15410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15411 case $ac_top_builddir_sub in
15412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15416 ac_abs_top_builddir=$ac_pwd
15417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15418 # for backward compatibility:
15419 ac_top_builddir=$ac_top_build_prefix
15422 .) # We are building in place.
15424 ac_top_srcdir=$ac_top_builddir_sub
15425 ac_abs_top_srcdir=$ac_pwd ;;
15426 [\\/]* | ?:[\\/]* ) # Absolute name.
15427 ac_srcdir=$srcdir$ac_dir_suffix;
15428 ac_top_srcdir=$srcdir
15429 ac_abs_top_srcdir=$srcdir ;;
15430 *) # Relative name.
15431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15432 ac_top_srcdir=$ac_top_build_prefix$srcdir
15433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15445 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15446 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15448 ac_MKDIR_P=$MKDIR_P
15450 [\\/$]* | ?:[\\/]* ) ;;
15451 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15456 # If the template does not know about datarootdir, expand it.
15457 # FIXME: This hack should be removed a few years after 2.60.
15458 ac_datarootdir_hack=; ac_datarootdir_seen=
15469 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15470 *datarootdir*) ac_datarootdir_seen=yes;;
15471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15473 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15476 ac_datarootdir_hack='
15477 s&@datadir@&$datadir&g
15478 s&@docdir@&$docdir&g
15479 s&@infodir@&$infodir&g
15480 s&@localedir@&$localedir&g
15481 s&@mandir@&$mandir&g
15482 s&\\\${datarootdir}&$datarootdir&g' ;;
15486 # Neutralize VPATH when `$srcdir' = `.'.
15487 # Shell code in configure.ac might set extrasub.
15488 # FIXME: do we really want to maintain this feature?
15489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15490 ac_sed_extra="$ac_vpsub
15493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15496 s|@configure_input@|$ac_sed_conf_input|;t t
15497 s&@top_builddir@&$ac_top_builddir_sub&;t t
15498 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15499 s&@srcdir@&$ac_srcdir&;t t
15500 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15501 s&@top_srcdir@&$ac_top_srcdir&;t t
15502 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15503 s&@builddir@&$ac_builddir&;t t
15504 s&@abs_builddir@&$ac_abs_builddir&;t t
15505 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15506 s&@INSTALL@&$ac_INSTALL&;t t
15507 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15508 $ac_datarootdir_hack
15510 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15511 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15514 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15516 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15518 which seems to be undefined. Please make sure it is defined" >&5
15519 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15520 which seems to be undefined. Please make sure it is defined" >&2;}
15522 rm -f "$ac_tmp/stdin"
15524 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15525 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15527 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15533 if test x"$ac_file" != x-; then
15535 $as_echo "/* $configure_input */" \
15536 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15537 } >"$ac_tmp/config.h" \
15538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15539 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15541 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15544 mv "$ac_tmp/config.h" "$ac_file" \
15545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15548 $as_echo "/* $configure_input */" \
15549 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15550 || as_fn_error $? "could not create -" "$LINENO" 5
15552 # Compute "$ac_file"'s index in $config_headers.
15555 for _am_header in $config_headers :; do
15556 case $_am_header in
15557 $_am_arg | $_am_arg:* )
15560 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15563 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15564 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15565 X"$_am_arg" : 'X\(//\)[^/]' \| \
15566 X"$_am_arg" : 'X\(//\)$' \| \
15567 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15568 $as_echo X"$_am_arg" |
15569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15573 /^X\(\/\/\)[^/].*/{
15585 s/.*/./; q'`/stamp-h$_am_stamp_count
15588 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15589 $as_echo "$as_me: executing $ac_file commands" >&6;}
15594 case $ac_file$ac_mode in
15595 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15596 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15597 # are listed without --file. Let's play safe and only enable the eval
15598 # if we detect the quoting.
15599 case $CONFIG_FILES in
15600 *\'*) eval set x "$CONFIG_FILES" ;;
15601 *) set x $CONFIG_FILES ;;
15606 # Strip MF so we end up with the name of the file.
15607 mf=`echo "$mf" | sed -e 's/:.*$//'`
15608 # Check whether this is an Automake generated Makefile or not.
15609 # We used to match only the files named `Makefile.in', but
15610 # some people rename them; so instead we look at the file content.
15611 # Grep'ing the first line is not enough: some people post-process
15612 # each Makefile.in and add a new line on top of each file to say so.
15613 # Grep'ing the whole file is not good either: AIX grep has a line
15614 # limit of 2048, but all sed's we know have understand at least 4000.
15615 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15616 dirpart=`$as_dirname -- "$mf" ||
15617 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15618 X"$mf" : 'X\(//\)[^/]' \| \
15619 X"$mf" : 'X\(//\)$' \| \
15620 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15626 /^X\(\/\/\)[^/].*/{
15642 # Extract the definition of DEPDIR, am__include, and am__quote
15643 # from the Makefile without running `make'.
15644 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15645 test -z "$DEPDIR" && continue
15646 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15647 test -z "am__include" && continue
15648 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15649 # When using ansi2knr, U may be empty or an underscore; expand it
15650 U=`sed -n 's/^U = //p' < "$mf"`
15651 # Find all dependency output files, they are included files with
15652 # $(DEPDIR) in their names. We invoke sed twice because it is the
15653 # simplest approach to changing $(DEPDIR) to its actual value in the
15655 for file in `sed -n "
15656 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15657 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15658 # Make sure the directory exists.
15659 test -f "$dirpart/$file" && continue
15660 fdir=`$as_dirname -- "$file" ||
15661 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15662 X"$file" : 'X\(//\)[^/]' \| \
15663 X"$file" : 'X\(//\)$' \| \
15664 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15665 $as_echo X"$file" |
15666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15670 /^X\(\/\/\)[^/].*/{
15683 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15684 # echo "creating $dirpart/$file"
15685 echo '# dummy' > "$dirpart/$file"
15692 # See if we are running on zsh, and set the options which allow our
15693 # commands through without removal of \ escapes.
15694 if test -n "${ZSH_VERSION+set}" ; then
15695 setopt NO_GLOB_SUBST
15698 cfgfile="${ofile}T"
15699 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15702 cat <<_LT_EOF >> "$cfgfile"
15705 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15706 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15707 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15708 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15710 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15711 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15713 # Written by Gordon Matzigkeit, 1996
15715 # This file is part of GNU Libtool.
15717 # GNU Libtool is free software; you can redistribute it and/or
15718 # modify it under the terms of the GNU General Public License as
15719 # published by the Free Software Foundation; either version 2 of
15720 # the License, or (at your option) any later version.
15722 # As a special exception to the GNU General Public License,
15723 # if you distribute this file as part of a program or library that
15724 # is built using GNU Libtool, you may include this file under the
15725 # same distribution terms that you use for the rest of that program.
15727 # GNU Libtool is distributed in the hope that it will be useful,
15728 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15729 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15730 # GNU General Public License for more details.
15732 # You should have received a copy of the GNU General Public License
15733 # along with GNU Libtool; see the file COPYING. If not, a copy
15734 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15735 # obtained by writing to the Free Software Foundation, Inc.,
15736 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15739 # The names of the tagged configurations supported by this script.
15742 # ### BEGIN LIBTOOL CONFIG
15744 # Which release of libtool.m4 was used?
15745 macro_version=$macro_version
15746 macro_revision=$macro_revision
15748 # Whether or not to build static libraries.
15749 build_old_libs=$enable_static
15751 # Whether or not to build shared libraries.
15752 build_libtool_libs=$enable_shared
15754 # What type of objects to build.
15757 # Whether or not to optimize for fast installation.
15758 fast_install=$enable_fast_install
15760 # Shell to use when invoking shell scripts.
15763 # An echo program that protects backslashes.
15766 # The PATH separator for the build system.
15767 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15770 host_alias=$host_alias
15774 # The build system.
15775 build_alias=$build_alias
15779 # A sed program that does not truncate output.
15782 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15783 Xsed="\$SED -e 1s/^X//"
15785 # A grep program that handles long lines.
15791 # A literal string matcher.
15794 # A BSD- or MS-compatible name lister.
15797 # Whether we need soft or hard links.
15800 # What is the maximum length of a command?
15801 max_cmd_len=$max_cmd_len
15803 # Object file suffix (normally "o").
15806 # Executable file suffix (normally "").
15809 # whether the shell understands "unset".
15812 # turn spaces into newlines.
15815 # turn newlines into spaces.
15818 # convert \$build file names to \$host format.
15819 to_host_file_cmd=$lt_cv_to_host_file_cmd
15821 # convert \$build files to toolchain format.
15822 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15824 # An object symbol dumper.
15825 OBJDUMP=$lt_OBJDUMP
15827 # Method to check whether dependent libraries are shared objects.
15828 deplibs_check_method=$lt_deplibs_check_method
15830 # Command to use when deplibs_check_method = "file_magic".
15831 file_magic_cmd=$lt_file_magic_cmd
15833 # How to find potential files when deplibs_check_method = "file_magic".
15834 file_magic_glob=$lt_file_magic_glob
15836 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15837 want_nocaseglob=$lt_want_nocaseglob
15839 # DLL creation program.
15840 DLLTOOL=$lt_DLLTOOL
15842 # Command to associate shared and link libraries.
15843 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15848 # Flags to create an archive.
15849 AR_FLAGS=$lt_AR_FLAGS
15851 # How to feed a file listing to the archiver.
15852 archiver_list_spec=$lt_archiver_list_spec
15854 # A symbol stripping program.
15857 # Commands used to install an old-style archive.
15859 old_postinstall_cmds=$lt_old_postinstall_cmds
15860 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15862 # Whether to use a lock for old archive extraction.
15863 lock_old_archive_extraction=$lock_old_archive_extraction
15868 # LTCC compiler flags.
15869 LTCFLAGS=$lt_CFLAGS
15871 # Take the output of nm and produce a listing of raw symbols and C names.
15872 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15874 # Transform the output of nm in a proper C declaration.
15875 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15877 # Transform the output of nm in a C name address pair.
15878 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15880 # Transform the output of nm in a C name address pair when lib prefix is needed.
15881 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15883 # Specify filename containing input files for \$NM.
15884 nm_file_list_spec=$lt_nm_file_list_spec
15886 # The root where to search for dependent libraries,and in which our libraries should be installed.
15887 lt_sysroot=$lt_sysroot
15889 # The name of the directory that contains temporary libtool files.
15892 # Used to examine libraries when file_magic_cmd begins with "file".
15893 MAGIC_CMD=$MAGIC_CMD
15895 # Must we lock files when doing compilation?
15896 need_locks=$lt_need_locks
15899 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15901 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15902 DSYMUTIL=$lt_DSYMUTIL
15904 # Tool to change global to local symbols on Mac OS X.
15907 # Tool to manipulate fat objects and archives on Mac OS X.
15910 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15913 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15914 OTOOL64=$lt_OTOOL64
15916 # Old archive suffix (normally "a").
15919 # Shared library suffix (normally ".so").
15920 shrext_cmds=$lt_shrext_cmds
15922 # The commands to extract the exported symbol list from a shared archive.
15923 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15925 # Variables whose values should be saved in libtool wrapper scripts and
15926 # restored at link time.
15927 variables_saved_for_relink=$lt_variables_saved_for_relink
15929 # Do we need the "lib" prefix for modules?
15930 need_lib_prefix=$need_lib_prefix
15932 # Do we need a version for libraries?
15933 need_version=$need_version
15935 # Library versioning type.
15936 version_type=$version_type
15938 # Shared library runtime path variable.
15939 runpath_var=$runpath_var
15941 # Shared library path variable.
15942 shlibpath_var=$shlibpath_var
15944 # Is shlibpath searched before the hard-coded library search path?
15945 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15947 # Format of library name prefix.
15948 libname_spec=$lt_libname_spec
15950 # List of archive names. First name is the real one, the rest are links.
15951 # The last name is the one that the linker finds with -lNAME
15952 library_names_spec=$lt_library_names_spec
15954 # The coded name of the library, if different from the real name.
15955 soname_spec=$lt_soname_spec
15957 # Permission mode override for installation of shared libraries.
15958 install_override_mode=$lt_install_override_mode
15960 # Command to use after installation of a shared archive.
15961 postinstall_cmds=$lt_postinstall_cmds
15963 # Command to use after uninstallation of a shared archive.
15964 postuninstall_cmds=$lt_postuninstall_cmds
15966 # Commands used to finish a libtool library installation in a directory.
15967 finish_cmds=$lt_finish_cmds
15969 # As "finish_cmds", except a single script fragment to be evaled but
15971 finish_eval=$lt_finish_eval
15973 # Whether we should hardcode library paths into libraries.
15974 hardcode_into_libs=$hardcode_into_libs
15976 # Compile-time system search path for libraries.
15977 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15979 # Run-time system search path for libraries.
15980 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15982 # Whether dlopen is supported.
15983 dlopen_support=$enable_dlopen
15985 # Whether dlopen of programs is supported.
15986 dlopen_self=$enable_dlopen_self
15988 # Whether dlopen of statically linked programs is supported.
15989 dlopen_self_static=$enable_dlopen_self_static
15991 # Commands to strip libraries.
15992 old_striplib=$lt_old_striplib
15993 striplib=$lt_striplib
15996 # The linker used to build libraries.
15999 # How to create reloadable object files.
16000 reload_flag=$lt_reload_flag
16001 reload_cmds=$lt_reload_cmds
16003 # Commands used to build an old-style archive.
16004 old_archive_cmds=$lt_old_archive_cmds
16006 # A language specific compiler.
16009 # Is the compiler the GNU compiler?
16012 # Compiler flag to turn off builtin functions.
16013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16015 # Additional compiler flags for building library objects.
16016 pic_flag=$lt_lt_prog_compiler_pic
16018 # How to pass a linker flag through the compiler.
16019 wl=$lt_lt_prog_compiler_wl
16021 # Compiler flag to prevent dynamic linking.
16022 link_static_flag=$lt_lt_prog_compiler_static
16024 # Does compiler simultaneously support -c and -o options?
16025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16027 # Whether or not to add -lc for building shared libraries.
16028 build_libtool_need_lc=$archive_cmds_need_lc
16030 # Whether or not to disallow shared libs when runtime libs are static.
16031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16033 # Compiler flag to allow reflexive dlopens.
16034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16036 # Compiler flag to generate shared objects directly from archives.
16037 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16039 # Whether the compiler copes with passing no objects directly.
16040 compiler_needs_object=$lt_compiler_needs_object
16042 # Create an old-style archive from a shared archive.
16043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16045 # Create a temporary old-style archive to link instead of a shared archive.
16046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16048 # Commands used to build a shared archive.
16049 archive_cmds=$lt_archive_cmds
16050 archive_expsym_cmds=$lt_archive_expsym_cmds
16052 # Commands used to build a loadable module if different from building
16053 # a shared archive.
16054 module_cmds=$lt_module_cmds
16055 module_expsym_cmds=$lt_module_expsym_cmds
16057 # Whether we are building with GNU ld or not.
16058 with_gnu_ld=$lt_with_gnu_ld
16060 # Flag that allows shared libraries with undefined symbols to be built.
16061 allow_undefined_flag=$lt_allow_undefined_flag
16063 # Flag that enforces no undefined symbols.
16064 no_undefined_flag=$lt_no_undefined_flag
16066 # Flag to hardcode \$libdir into a binary during linking.
16067 # This must work even if \$libdir does not exist
16068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16070 # Whether we need a single "-rpath" flag with a separated argument.
16071 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16074 # DIR into the resulting binary.
16075 hardcode_direct=$hardcode_direct
16077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16078 # DIR into the resulting binary and the resulting library dependency is
16079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16080 # library is relocated.
16081 hardcode_direct_absolute=$hardcode_direct_absolute
16083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16084 # into the resulting binary.
16085 hardcode_minus_L=$hardcode_minus_L
16087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16088 # into the resulting binary.
16089 hardcode_shlibpath_var=$hardcode_shlibpath_var
16091 # Set to "yes" if building a shared library automatically hardcodes DIR
16092 # into the library and all subsequent libraries and executables linked
16094 hardcode_automatic=$hardcode_automatic
16096 # Set to yes if linker adds runtime paths of dependent libraries
16097 # to runtime path list.
16098 inherit_rpath=$inherit_rpath
16100 # Whether libtool must link a program against all its dependency libraries.
16101 link_all_deplibs=$link_all_deplibs
16103 # Set to "yes" if exported symbols are required.
16104 always_export_symbols=$always_export_symbols
16106 # The commands to list exported symbols.
16107 export_symbols_cmds=$lt_export_symbols_cmds
16109 # Symbols that should not be listed in the preloaded symbols.
16110 exclude_expsyms=$lt_exclude_expsyms
16112 # Symbols that must always be exported.
16113 include_expsyms=$lt_include_expsyms
16115 # Commands necessary for linking programs (against libraries) with templates.
16116 prelink_cmds=$lt_prelink_cmds
16118 # Commands necessary for finishing linking programs.
16119 postlink_cmds=$lt_postlink_cmds
16121 # Specify filename containing input files.
16122 file_list_spec=$lt_file_list_spec
16124 # How to hardcode a shared library path into an executable.
16125 hardcode_action=$hardcode_action
16127 # ### END LIBTOOL CONFIG
16133 cat <<\_LT_EOF >> "$cfgfile"
16134 # AIX sometimes has problems with the GCC collect2 program. For some
16135 # reason, if we set the COLLECT_NAMES environment variable, the problems
16136 # vanish in a puff of smoke.
16137 if test "X${COLLECT_NAMES+set}" != Xset; then
16139 export COLLECT_NAMES
16146 ltmain="$ac_aux_dir/ltmain.sh"
16149 # We use sed instead of cat because bash on DJGPP gets confused if
16150 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16151 # text mode, it properly converts lines to CR/LF. This bash problem
16152 # is reportedly fixed, but why not run on old versions too?
16153 sed '$q' "$ltmain" >> "$cfgfile" \
16154 || (rm -f "$cfgfile"; exit 1)
16156 if test x"$xsi_shell" = xyes; then
16157 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16161 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16162 \ * ) func_dirname_result="${3}" ;;\
16164 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16165 && mv -f "$cfgfile.tmp" "$cfgfile" \
16166 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16167 test 0 -eq $? || _lt_function_replace_fail=:
16170 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16173 \ func_basename_result="${1##*/}"\
16174 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16175 && mv -f "$cfgfile.tmp" "$cfgfile" \
16176 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16177 test 0 -eq $? || _lt_function_replace_fail=:
16180 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16181 func_dirname_and_basename ()\
16184 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16185 \ * ) func_dirname_result="${3}" ;;\
16187 \ func_basename_result="${1##*/}"\
16188 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16189 && mv -f "$cfgfile.tmp" "$cfgfile" \
16190 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16191 test 0 -eq $? || _lt_function_replace_fail=:
16194 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16197 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16198 \ # positional parameters, so assign one to ordinary parameter first.\
16199 \ func_stripname_result=${3}\
16200 \ func_stripname_result=${func_stripname_result#"${1}"}\
16201 \ func_stripname_result=${func_stripname_result%"${2}"}\
16202 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16203 && mv -f "$cfgfile.tmp" "$cfgfile" \
16204 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16205 test 0 -eq $? || _lt_function_replace_fail=:
16208 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16209 func_split_long_opt ()\
16211 \ func_split_long_opt_name=${1%%=*}\
16212 \ func_split_long_opt_arg=${1#*=}\
16213 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16214 && mv -f "$cfgfile.tmp" "$cfgfile" \
16215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16216 test 0 -eq $? || _lt_function_replace_fail=:
16219 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16220 func_split_short_opt ()\
16222 \ func_split_short_opt_arg=${1#??}\
16223 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16224 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16225 && mv -f "$cfgfile.tmp" "$cfgfile" \
16226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16227 test 0 -eq $? || _lt_function_replace_fail=:
16230 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16234 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16235 \ *) func_lo2o_result=${1} ;;\
16237 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16238 && mv -f "$cfgfile.tmp" "$cfgfile" \
16239 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16240 test 0 -eq $? || _lt_function_replace_fail=:
16243 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16246 func_xform_result=${1%.*}.lo\
16247 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16248 && mv -f "$cfgfile.tmp" "$cfgfile" \
16249 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16250 test 0 -eq $? || _lt_function_replace_fail=:
16253 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16256 func_arith_result=$(( $* ))\
16257 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16258 && mv -f "$cfgfile.tmp" "$cfgfile" \
16259 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16260 test 0 -eq $? || _lt_function_replace_fail=:
16263 sed -e '/^func_len ()$/,/^} # func_len /c\
16266 func_len_result=${#1}\
16267 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16268 && mv -f "$cfgfile.tmp" "$cfgfile" \
16269 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16270 test 0 -eq $? || _lt_function_replace_fail=:
16274 if test x"$lt_shell_append" = xyes; then
16275 sed -e '/^func_append ()$/,/^} # func_append /c\
16278 eval "${1}+=\\${2}"\
16279 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16280 && mv -f "$cfgfile.tmp" "$cfgfile" \
16281 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16282 test 0 -eq $? || _lt_function_replace_fail=:
16285 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16286 func_append_quoted ()\
16288 \ func_quote_for_eval "${2}"\
16289 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16290 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16291 && mv -f "$cfgfile.tmp" "$cfgfile" \
16292 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16293 test 0 -eq $? || _lt_function_replace_fail=:
16296 # Save a `func_append' function call where possible by direct use of '+='
16297 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16298 && mv -f "$cfgfile.tmp" "$cfgfile" \
16299 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16300 test 0 -eq $? || _lt_function_replace_fail=:
16302 # Save a `func_append' function call even when '+=' is not available
16303 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16304 && mv -f "$cfgfile.tmp" "$cfgfile" \
16305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16306 test 0 -eq $? || _lt_function_replace_fail=:
16309 if test x"$_lt_function_replace_fail" = x":"; then
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16311 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16315 mv -f "$cfgfile" "$ofile" ||
16316 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16320 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16321 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16324 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16325 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16327 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16332 '"s|^| $ac_top_srcdir/|" \
16333 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16335 sed '/^POTFILES =/,/[^\\]$/ {
16339 ' "po/Makefile.in" >"po/Makefile"
16340 rm -f "po/Makefile.tmp"
16341 mv "po/stamp-it.tmp" "po/stamp-it"
16350 ac_clean_files=$ac_clean_files_save
16352 test $ac_write_fail = 0 ||
16353 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16356 # configure is writing to config.log, and then calls config.status.
16357 # config.status does its own redirection, appending to config.log.
16358 # Unfortunately, on DOS this fails, as config.log is still kept open
16359 # by configure, so config.status won't be able to write to it; its
16360 # output is simply discarded. So we exec the FD to /dev/null,
16361 # effectively closing config.log, so it can be properly (re)opened and
16362 # appended to by config.status. When coming back to configure, we
16363 # need to make the FD available again.
16364 if test "$no_create" != yes; then
16366 ac_config_status_args=
16367 test "$silent" = yes &&
16368 ac_config_status_args="$ac_config_status_args --quiet"
16370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16373 # would make configure fail if this is the last instruction.
16374 $ac_cs_success || as_fn_exit 1
16376 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16378 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16384 ${PACKAGE} ${VERSION}
16389 Source code location: ${srcdir}
16392 Fullscreen renderer: ${have_gtk}
16393 Plugin: ${enable_plugin}