2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for rygel-gst-0-10-media-engine 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-media-engine'
593 PACKAGE_TARNAME='rygel-gst-0-10-media-engine'
594 PACKAGE_VERSION='1.17.4'
595 PACKAGE_STRING='rygel-gst-0-10-media-engine 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/rygel-gst-utils.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
642 RYGEL_PLUGIN_LINKER_FLAGS
650 INTLTOOL_SERVICE_RULE
652 INTLTOOL_SCHEMAS_RULE
654 INTLTOOL_XML_NOMERGE_RULE
659 INTLTOOL_SOUNDLIST_RULE
666 INTLTOOL_DIRECTORY_RULE
667 INTLTOOL_DESKTOP_RULE
668 intltool__v_merge_options_0
669 intltool__v_merge_options_
670 INTLTOOL_V_MERGE_OPTIONS
728 MAINTAINER_MODE_FALSE
748 INSTALL_STRIP_PROGRAM
800 program_transform_name
813 enable_option_checking
814 enable_dependency_tracking
815 enable_maintainer_mode
828 ac_precious_vars='build_alias
844 # Initialize some variables set by options.
846 ac_init_version=false
847 ac_unrecognized_opts=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name=s,x,x,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\$ac_option
904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
920 -build | --build | --buil | --bui | --bu)
921 ac_prev=build_alias ;;
922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923 build_alias=$ac_optarg ;;
925 -cache-file | --cache-file | --cache-fil | --cache-fi \
926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927 ac_prev=cache_file ;;
928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930 cache_file=$ac_optarg ;;
933 cache_file=config.cache ;;
935 -datadir | --datadir | --datadi | --datad)
937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
938 datadir=$ac_optarg ;;
940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941 | --dataroo | --dataro | --datar)
942 ac_prev=datarootdir ;;
943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945 datarootdir=$ac_optarg ;;
947 -disable-* | --disable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error $? "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
961 eval enable_$ac_useropt=no ;;
963 -docdir | --docdir | --docdi | --doc | --do)
965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
973 -enable-* | --enable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
987 eval enable_$ac_useropt=\$ac_optarg ;;
989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991 | --exec | --exe | --ex)
992 ac_prev=exec_prefix ;;
993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995 | --exec=* | --exe=* | --ex=*)
996 exec_prefix=$ac_optarg ;;
998 -gas | --gas | --ga | --g)
999 # Obsolete; use --with-gas.
1002 -help | --help | --hel | --he | -h)
1003 ac_init_help=long ;;
1004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005 ac_init_help=recursive ;;
1006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007 ac_init_help=short ;;
1009 -host | --host | --hos | --ho)
1010 ac_prev=host_alias ;;
1011 -host=* | --host=* | --hos=* | --ho=*)
1012 host_alias=$ac_optarg ;;
1014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1018 htmldir=$ac_optarg ;;
1020 -includedir | --includedir | --includedi | --included | --include \
1021 | --includ | --inclu | --incl | --inc)
1022 ac_prev=includedir ;;
1023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024 | --includ=* | --inclu=* | --incl=* | --inc=*)
1025 includedir=$ac_optarg ;;
1027 -infodir | --infodir | --infodi | --infod | --info | --inf)
1029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030 infodir=$ac_optarg ;;
1032 -libdir | --libdir | --libdi | --libd)
1034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035 libdir=$ac_optarg ;;
1037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038 | --libexe | --libex | --libe)
1039 ac_prev=libexecdir ;;
1040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041 | --libexe=* | --libex=* | --libe=*)
1042 libexecdir=$ac_optarg ;;
1044 -localedir | --localedir | --localedi | --localed | --locale)
1045 ac_prev=localedir ;;
1046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047 localedir=$ac_optarg ;;
1049 -localstatedir | --localstatedir | --localstatedi | --localstated \
1050 | --localstate | --localstat | --localsta | --localst | --locals)
1051 ac_prev=localstatedir ;;
1052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054 localstatedir=$ac_optarg ;;
1056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059 mandir=$ac_optarg ;;
1061 -nfp | --nfp | --nf)
1062 # Obsolete; use --without-fp.
1065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066 | --no-cr | --no-c | -n)
1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075 | --oldin | --oldi | --old | --ol | --o)
1076 ac_prev=oldincludedir ;;
1077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080 oldincludedir=$ac_optarg ;;
1082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085 prefix=$ac_optarg ;;
1087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088 | --program-pre | --program-pr | --program-p)
1089 ac_prev=program_prefix ;;
1090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092 program_prefix=$ac_optarg ;;
1094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095 | --program-suf | --program-su | --program-s)
1096 ac_prev=program_suffix ;;
1097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099 program_suffix=$ac_optarg ;;
1101 -program-transform-name | --program-transform-name \
1102 | --program-transform-nam | --program-transform-na \
1103 | --program-transform-n | --program-transform- \
1104 | --program-transform | --program-transfor \
1105 | --program-transfo | --program-transf \
1106 | --program-trans | --program-tran \
1107 | --progr-tra | --program-tr | --program-t)
1108 ac_prev=program_transform_name ;;
1109 -program-transform-name=* | --program-transform-name=* \
1110 | --program-transform-nam=* | --program-transform-na=* \
1111 | --program-transform-n=* | --program-transform-=* \
1112 | --program-transform=* | --program-transfor=* \
1113 | --program-transfo=* | --program-transf=* \
1114 | --program-trans=* | --program-tran=* \
1115 | --progr-tra=* | --program-tr=* | --program-t=*)
1116 program_transform_name=$ac_optarg ;;
1118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121 pdfdir=$ac_optarg ;;
1123 -psdir | --psdir | --psdi | --psd | --ps)
1125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129 | -silent | --silent | --silen | --sile | --sil)
1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1136 sbindir=$ac_optarg ;;
1138 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140 | --sharedst | --shareds | --shared | --share | --shar \
1142 ac_prev=sharedstatedir ;;
1143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1147 sharedstatedir=$ac_optarg ;;
1149 -site | --site | --sit)
1151 -site=* | --site=* | --sit=*)
1154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157 srcdir=$ac_optarg ;;
1159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160 | --syscon | --sysco | --sysc | --sys | --sy)
1161 ac_prev=sysconfdir ;;
1162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164 sysconfdir=$ac_optarg ;;
1166 -target | --target | --targe | --targ | --tar | --ta | --t)
1167 ac_prev=target_alias ;;
1168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169 target_alias=$ac_optarg ;;
1171 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1174 -version | --version | --versio | --versi | --vers | -V)
1175 ac_init_version=: ;;
1178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=\$ac_optarg ;;
1193 -without-* | --without-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1207 eval with_$ac_useropt=no ;;
1210 # Obsolete; use --with-x.
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' | [0-9]* | *[!_$as_cr_alnum]* )
1236 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error $? "missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265 # Check all directory arguments for consistency.
1266 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val=\$$ac_var
1272 # Remove trailing slashes.
1275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\$ac_val;;
1278 # Be sure to have absolute directory names.
1280 [\\/$]* | ?:[\\/]* ) continue;;
1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1291 target=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295 if test "x$build_alias" = x; then
1296 cross_compiling=maybe
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305 test "$silent" = yes && exec 6>/dev/null
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $? "pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var in $ac_precious_vars; do
1369 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_${ac_var}_value=\$${ac_var}
1371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures rygel-gst-0-10-media-engine 1.17.4 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root
1431 [DATAROOTDIR/doc/rygel-gst-0-10-media-engine]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1446 --build=BUILD configure for building on BUILD [guessed]
1447 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive ) echo "Configuration of rygel-gst-0-10-media-engine 1.17.4:";;
1458 --disable-option-checking ignore unrecognized --enable/--with options
1459 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1460 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1461 --disable-dependency-tracking speeds up one-time build
1462 --enable-dependency-tracking do not reject slow dependency extractors
1463 --disable-maintainer-mode disable make rules and dependencies not useful
1464 (and sometimes confusing) to the casual installer
1465 --enable-static[=PKGS] build static libraries [default=no]
1466 --enable-shared[=PKGS] build shared libraries [default=yes]
1467 --enable-fast-install[=PKGS]
1468 optimize for fast installation [default=yes]
1469 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --enable-debug enable debugging
1471 --enable-strict-cc enable strict C compiler
1472 --disable-nls do not use Native Language Support
1473 --enable-silent-rules less verbose build output (undo: `make V=1')
1474 --disable-silent-rules verbose build output (undo: `make V=0')
1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1479 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1481 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1482 --with-sysroot=DIR Search for dependent libraries within DIR
1483 (or the compiler's sysroot if not specified).
1485 Some influential environment variables:
1486 CC C compiler command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1489 nonstandard directory <lib dir>
1490 LIBS libraries to pass to the linker, e.g. -l<library>
1491 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492 you have headers in a nonstandard directory <include dir>
1494 PKG_CONFIG path to pkg-config utility
1496 directories to add to pkg-config's search path
1498 path overriding pkg-config's built-in search path
1499 DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1500 DEPS_LIBS linker flags for DEPS, overriding pkg-config
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
1506 rygel-gst-0-10-media-engine home page: <http://live.gnome.org/Rygel>.
1511 if test "$ac_init_help" = "recursive"; then
1512 # If there are subdirs, report their specific --help.
1513 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514 test -d "$ac_dir" ||
1515 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 rygel-gst-0-10-media-engine configure 1.17.4
1570 generated by GNU Autoconf 2.69
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1583 # ac_fn_c_try_compile LINENO
1584 # --------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_c_try_compile ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 rm -f conftest.$ac_objext
1590 if { { ac_try="$ac_compile"
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_compile") 2>conftest.err
1599 if test -s conftest.err; then
1600 grep -v '^ *+' conftest.err >conftest.er1
1601 cat conftest.er1 >&5
1602 mv -f conftest.er1 conftest.err
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && {
1606 test -z "$ac_c_werror_flag" ||
1607 test ! -s conftest.err
1608 } && test -s conftest.$ac_objext; then :
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1619 } # ac_fn_c_try_compile
1621 # ac_fn_c_try_link LINENO
1622 # -----------------------
1623 # Try to link conftest.$ac_ext, and return whether this succeeded.
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 rm -f conftest.$ac_objext conftest$ac_exeext
1628 if { { ac_try="$ac_link"
1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_link") 2>conftest.err
1637 if test -s conftest.err; then
1638 grep -v '^ *+' conftest.err >conftest.er1
1639 cat conftest.er1 >&5
1640 mv -f conftest.er1 conftest.err
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } && {
1644 test -z "$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1646 } && test -s conftest$ac_exeext && {
1647 test "$cross_compiling" = yes ||
1648 test -x conftest$ac_exeext
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1658 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1659 # interfere with the next link command; also delete a directory that is
1660 # left behind by Apple's compiler. We do this before executing the actions.
1661 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1665 } # ac_fn_c_try_link
1667 # ac_fn_c_try_cpp LINENO
1668 # ----------------------
1669 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_cpp conftest.$ac_ext"
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682 if test -s conftest.err; then
1683 grep -v '^ *+' conftest.err >conftest.er1
1684 cat conftest.er1 >&5
1685 mv -f conftest.er1 conftest.err
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } > conftest.i && {
1689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1690 test ! -s conftest.err
1694 $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status $ac_retval
1704 # ac_fn_c_try_run LINENO
1705 # ----------------------
1706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1707 # that executables *can* be run.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 if { { ac_try="$ac_link"
1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_link") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1722 { { case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_try") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; }; }; then :
1734 $as_echo "$as_me: program exited with status $ac_status" >&5
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1738 ac_retval=$ac_status
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status $ac_retval
1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747 # -------------------------------------------------------
1748 # Tests whether HEADER exists and can be compiled using the include files in
1749 # INCLUDES, setting the cache variable VAR accordingly.
1750 ac_fn_c_check_header_compile ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756 $as_echo_n "(cached) " >&6
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1763 if ac_fn_c_try_compile "$LINENO"; then :
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 } # ac_fn_c_check_header_compile
1777 # ac_fn_c_check_func LINENO FUNC VAR
1778 # ----------------------------------
1779 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1780 ac_fn_c_check_func ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1792 #define $2 innocuous_$2
1794 /* System header to define __stub macros and hopefully few prototypes,
1795 which can conflict with char $2 (); below.
1796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1797 <limits.h> exists even on freestanding compilers. */
1800 # include <limits.h>
1802 # include <assert.h>
1807 /* Override any GCC internal prototype to avoid an error.
1808 Use char because int might match the return type of a GCC
1809 builtin and then its argument prototype would still apply. */
1814 /* The GNU C library defines this for functions which it implements
1815 to always fail with ENOSYS. Some functions are actually named
1816 something starting with __ and the normal name is an alias. */
1817 #if defined __stub_$2 || defined __stub___$2
1829 if ac_fn_c_try_link "$LINENO"; then :
1834 rm -f core conftest.err conftest.$ac_objext \
1835 conftest$ac_exeext conftest.$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 } # ac_fn_c_check_func
1844 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1845 # -------------------------------------------------------
1846 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1847 # the include files in INCLUDES and setting the cache variable VAR
1849 ac_fn_c_check_header_mongrel ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if eval \${$3+:} false; then :
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1862 # Is the header compilable?
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1864 $as_echo_n "checking $2 usability... " >&6; }
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1870 if ac_fn_c_try_compile "$LINENO"; then :
1871 ac_header_compiler=yes
1873 ac_header_compiler=no
1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1877 $as_echo "$ac_header_compiler" >&6; }
1879 # Is the header present?
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1881 $as_echo_n "checking $2 presence... " >&6; }
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1886 if ac_fn_c_try_cpp "$LINENO"; then :
1887 ac_header_preproc=yes
1889 ac_header_preproc=no
1891 rm -f conftest.err conftest.i conftest.$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1893 $as_echo "$ac_header_preproc" >&6; }
1895 # So? What about this header?
1896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1899 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1901 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1905 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1907 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1909 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1911 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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;}
1914 ( $as_echo "## -------------------------------------------------------------------- ##
1915 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ##
1916 ## -------------------------------------------------------------------- ##"
1917 ) | sed "s/^/$as_me: WARNING: /" >&2
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1925 eval "$3=\$ac_header_compiler"
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 } # ac_fn_c_check_header_mongrel
1934 cat >config.log <<_ACEOF
1935 This file contains any messages produced by compilers while
1936 running configure, to aid debugging if configure makes a mistake.
1938 It was created by rygel-gst-0-10-media-engine $as_me 1.17.4, which was
1939 generated by GNU Autoconf 2.69. Invocation command line was
1951 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1952 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1953 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1954 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1955 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1957 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1958 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1960 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1961 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1962 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1963 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1964 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1965 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1966 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 $as_echo "PATH: $as_dir"
1991 # Keep a trace of the command line.
1992 # Strip out --no-create and --no-recursion so they do not pile up.
1993 # Strip out --silent because we don't want to record it for future runs.
1994 # Also quote any args containing shell meta-characters.
1995 # Make two passes to allow for proper duplicate-argument suppression.
1999 ac_must_keep_next=false
2005 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2007 | -silent | --silent | --silen | --sile | --sil)
2010 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2013 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2015 as_fn_append ac_configure_args1 " '$ac_arg'"
2016 if test $ac_must_keep_next = true; then
2017 ac_must_keep_next=false # Got value, back to normal.
2020 *=* | --config-cache | -C | -disable-* | --disable-* \
2021 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2022 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2023 | -with-* | --with-* | -without-* | --without-* | --x)
2024 case "$ac_configure_args0 " in
2025 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2028 -* ) ac_must_keep_next=true ;;
2031 as_fn_append ac_configure_args " '$ac_arg'"
2036 { ac_configure_args0=; unset ac_configure_args0;}
2037 { ac_configure_args1=; unset ac_configure_args1;}
2039 # When interrupted or exit'd, cleanup temporary files, and complete
2040 # config.log. We remove comments because anyway the quotes in there
2041 # would cause problems or look ugly.
2042 # WARNING: Use '\'' to represent an apostrophe within the trap.
2043 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2044 trap 'exit_status=$?
2045 # Save into config.log some information that might help in debugging.
2049 $as_echo "## ---------------- ##
2050 ## Cache variables. ##
2051 ## ---------------- ##"
2053 # The following way of writing the cache mishandles newlines in values,
2055 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2056 eval ac_val=\$$ac_var
2060 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2064 _ | IFS | as_nl) ;; #(
2065 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2066 *) { eval $ac_var=; unset $ac_var;} ;;
2071 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2072 *${as_nl}ac_space=\ *)
2074 "s/'\''/'\''\\\\'\'''\''/g;
2075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2085 $as_echo "## ----------------- ##
2086 ## Output variables. ##
2087 ## ----------------- ##"
2089 for ac_var in $ac_subst_vars
2091 eval ac_val=\$$ac_var
2093 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2095 $as_echo "$ac_var='\''$ac_val'\''"
2099 if test -n "$ac_subst_files"; then
2100 $as_echo "## ------------------- ##
2101 ## File substitutions. ##
2102 ## ------------------- ##"
2104 for ac_var in $ac_subst_files
2106 eval ac_val=\$$ac_var
2108 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -s confdefs.h; then
2116 $as_echo "## ----------- ##
2123 test "$ac_signal" != 0 &&
2124 $as_echo "$as_me: caught signal $ac_signal"
2125 $as_echo "$as_me: exit $exit_status"
2127 rm -f core *.core core.conftest.* &&
2128 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2131 for ac_signal in 1 2 13 15; do
2132 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2137 rm -f -r conftest* confdefs.h
2139 $as_echo "/* confdefs.h */" > confdefs.h
2141 # Predefined preprocessor variables.
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_NAME "$PACKAGE_NAME"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_STRING "$PACKAGE_STRING"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_URL "$PACKAGE_URL"
2168 # Let the site file select an alternate cache file if it wants to.
2169 # Prefer an explicitly selected file to automatically selected ones.
2172 if test -n "$CONFIG_SITE"; then
2173 # We do not want a PATH search for config.site.
2174 case $CONFIG_SITE in #((
2175 -*) ac_site_file1=./$CONFIG_SITE;;
2176 */*) ac_site_file1=$CONFIG_SITE;;
2177 *) ac_site_file1=./$CONFIG_SITE;;
2179 elif test "x$prefix" != xNONE; then
2180 ac_site_file1=$prefix/share/config.site
2181 ac_site_file2=$prefix/etc/config.site
2183 ac_site_file1=$ac_default_prefix/share/config.site
2184 ac_site_file2=$ac_default_prefix/etc/config.site
2186 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2188 test "x$ac_site_file" = xNONE && continue
2189 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2191 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2192 sed 's/^/| /' "$ac_site_file" >&5
2194 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 as_fn_error $? "failed to load site script $ac_site_file
2197 See \`config.log' for more details" "$LINENO" 5; }
2201 if test -r "$cache_file"; then
2202 # Some versions of bash will fail to source /dev/null (special files
2203 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2204 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2206 $as_echo "$as_me: loading cache $cache_file" >&6;}
2208 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2209 *) . "./$cache_file";;
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2214 $as_echo "$as_me: creating cache $cache_file" >&6;}
2218 as_fn_append ac_header_list " stdlib.h"
2219 as_fn_append ac_header_list " unistd.h"
2220 as_fn_append ac_header_list " sys/param.h"
2221 # Check that the precious variables saved in the cache have kept the same
2223 ac_cache_corrupted=false
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2226 eval ac_new_set=\$ac_env_${ac_var}_set
2227 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2228 eval ac_new_val=\$ac_env_${ac_var}_value
2229 case $ac_old_set,$ac_new_set in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2232 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233 ac_cache_corrupted=: ;;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2237 ac_cache_corrupted=: ;;
2240 if test "x$ac_old_val" != "x$ac_new_val"; then
2241 # differences in whitespace do not lead to failure.
2242 ac_old_val_w=`echo x $ac_old_val`
2243 ac_new_val_w=`echo x $ac_new_val`
2244 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2247 ac_cache_corrupted=:
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251 eval $ac_var=\$ac_old_val
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2254 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2259 # Pass precious variables to config.status.
2260 if test "$ac_new_set" = set; then
2262 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2263 *) ac_arg=$ac_var=$ac_new_val ;;
2265 case " $ac_configure_args " in
2266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2267 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2271 if $ac_cache_corrupted; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2290 for ac_dir in build-aux "$srcdir"/build-aux; do
2291 if test -f "$ac_dir/install-sh"; then
2293 ac_install_sh="$ac_aux_dir/install-sh -c"
2295 elif test -f "$ac_dir/install.sh"; then
2297 ac_install_sh="$ac_aux_dir/install.sh -c"
2299 elif test -f "$ac_dir/shtool"; then
2301 ac_install_sh="$ac_aux_dir/shtool install -c"
2305 if test -z "$ac_aux_dir"; then
2306 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2309 # These three variables are undocumented and unsupported,
2310 # and are intended to be withdrawn in a future Autoconf release.
2311 # They can cause serious problems if a builder's source tree is in a directory
2312 # whose full name contains unusual characters.
2313 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2314 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2315 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2320 ac_config_headers="$ac_config_headers config.h"
2325 ac_cpp='$CPP $CPPFLAGS'
2326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2329 if test -n "$ac_tool_prefix"; then
2330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_CC+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC="$CC" # Let the user override the test.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$CC"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2368 if test -z "$ac_cv_prog_CC"; then
2370 # Extract the first word of "gcc", so it can be a program name with args.
2371 set dummy gcc; ac_word=$2
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2375 $as_echo_n "(cached) " >&6
2377 if test -n "$ac_ct_CC"; then
2378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387 ac_cv_prog_ac_ct_CC="gcc"
2388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2398 if test -n "$ac_ct_CC"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2400 $as_echo "$ac_ct_CC" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2406 if test "x$ac_ct_CC" = x; then
2409 case $cross_compiling:$ac_tool_warned in
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2413 ac_tool_warned=yes ;;
2421 if test -z "$CC"; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}cc; ac_word=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if ${ac_cv_prog_CC+:} false; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2440 ac_cv_prog_CC="${ac_tool_prefix}cc"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2462 if test -z "$CC"; then
2463 # Extract the first word of "cc", so it can be a program name with args.
2464 set dummy cc; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_CC+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$CC"; then
2471 ac_cv_prog_CC="$CC" # Let the user override the test.
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir=.
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2482 ac_prog_rejected=yes
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test $ac_prog_rejected = yes; then
2494 # We found a bogon in the path, so make sure we never use it.
2495 set dummy $ac_cv_prog_CC
2497 if test $# != 0; then
2498 # We chose a different compiler from the bogus one.
2499 # However, it has the same basename, so the bogon will be chosen
2500 # first if we set CC to just the basename; use the full file name.
2502 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2508 if test -n "$CC"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2510 $as_echo "$CC" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 for ac_prog in cl.exe
2522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_CC+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552 $as_echo "$CC" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2559 test -n "$CC" && break
2562 if test -z "$CC"; then
2564 for ac_prog in cl.exe
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy $ac_prog; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$ac_ct_CC"; then
2574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583 ac_cv_prog_ac_ct_CC="$ac_prog"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2594 if test -n "$ac_ct_CC"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2596 $as_echo "$ac_ct_CC" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2603 test -n "$ac_ct_CC" && break
2606 if test "x$ac_ct_CC" = x; then
2609 case $cross_compiling:$ac_tool_warned in
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613 ac_tool_warned=yes ;;
2622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error $? "no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details" "$LINENO" 5; }
2627 # Provide some information about the compiler.
2628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2631 for ac_option in --version -v -V -qversion; do
2632 { { ac_try="$ac_compiler $ac_option >&5"
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2641 if test -s conftest.err; then
2643 ... rest of stderr output deleted ...
2644 10q' conftest.err >conftest.er1
2645 cat conftest.er1 >&5
2647 rm -f conftest.er1 conftest.err
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; }
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2663 ac_clean_files_save=$ac_clean_files
2664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2665 # Try to create an executable without -o first, disregard a.out.
2666 # It will help us diagnose broken compilers, and finding out an intuition
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2669 $as_echo_n "checking whether the C compiler works... " >&6; }
2670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2672 # The possible output files:
2673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2676 for ac_file in $ac_files
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2685 if { { ac_try="$ac_link_default"
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_link_default") 2>&5
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; then :
2696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2699 # so that the user can short-circuit this test for compilers unknown to
2701 for ac_file in $ac_files ''
2703 test -f "$ac_file" || continue
2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2708 # We found the default executable, but exeext='' is most
2712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716 # We set ac_cv_exeext here because the later test for it is not
2717 # safe: cross compilers may not add the suffix if given an `-o'
2718 # argument, so we may need to know it at that point already.
2719 # Even if this section looks crufty: it has the advantage of
2726 test "$ac_cv_exeext" = no && ac_cv_exeext=
2731 if test -z "$ac_file"; then :
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2739 as_fn_error 77 "C compiler cannot create executables
2740 See \`config.log' for more details" "$LINENO" 5; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2743 $as_echo "yes" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2746 $as_echo_n "checking for C compiler default output file name... " >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2748 $as_echo "$ac_file" >&6; }
2749 ac_exeext=$ac_cv_exeext
2751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2752 ac_clean_files=$ac_clean_files_save
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2754 $as_echo_n "checking for suffix of executables... " >&6; }
2755 if { { ac_try="$ac_link"
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_link") 2>&5
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; }; then :
2766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2768 # work properly (i.e., refer to `conftest.exe'), while it won't with
2770 for ac_file in conftest.exe conftest conftest.*; do
2771 test -f "$ac_file" || continue
2773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details" "$LINENO" 5; }
2785 rm -f conftest conftest$ac_cv_exeext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2787 $as_echo "$ac_cv_exeext" >&6; }
2789 rm -f conftest.$ac_ext
2790 EXEEXT=$ac_cv_exeext
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2798 FILE *f = fopen ("conftest.out", "w");
2799 return ferror (f) || fclose (f) != 0;
2805 ac_clean_files="$ac_clean_files conftest.out"
2806 # Check that the compiler produces executables we can run. If not, either
2807 # the compiler is broken, or we cross compile.
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2809 $as_echo_n "checking whether we are cross compiling... " >&6; }
2810 if test "$cross_compiling" != yes; then
2811 { { ac_try="$ac_link"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817 $as_echo "$ac_try_echo"; } >&5
2818 (eval "$ac_link") 2>&5
2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821 test $ac_status = 0; }
2822 if { ac_try='./conftest$ac_cv_exeext'
2823 { { case "(($ac_try" in
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828 $as_echo "$ac_try_echo"; } >&5
2829 (eval "$ac_try") 2>&5
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; }; }; then
2835 if test "$cross_compiling" = maybe; then
2838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 as_fn_error $? "cannot run C compiled programs.
2841 If you meant to cross compile, use \`--host'.
2842 See \`config.log' for more details" "$LINENO" 5; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2847 $as_echo "$cross_compiling" >&6; }
2849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2850 ac_clean_files=$ac_clean_files_save
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2852 $as_echo_n "checking for suffix of object files... " >&6; }
2853 if ${ac_cv_objext+:} false; then :
2854 $as_echo_n "(cached) " >&6
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2867 rm -f conftest.o conftest.obj
2868 if { { ac_try="$ac_compile"
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875 (eval "$ac_compile") 2>&5
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; }; then :
2879 for ac_file in conftest.o conftest.obj conftest.*; do
2880 test -f "$ac_file" || continue;
2882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2883 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2888 $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2893 as_fn_error $? "cannot compute suffix of object files: cannot compile
2894 See \`config.log' for more details" "$LINENO" 5; }
2896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2899 $as_echo "$ac_cv_objext" >&6; }
2900 OBJEXT=$ac_cv_objext
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2904 if ${ac_cv_c_compiler_gnu+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2921 if ac_fn_c_try_compile "$LINENO"; then :
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2932 if test $ac_compiler_gnu = yes; then
2937 ac_test_CFLAGS=${CFLAGS+set}
2938 ac_save_CFLAGS=$CFLAGS
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2941 if ${ac_cv_prog_cc_g+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 ac_save_c_werror_flag=$ac_c_werror_flag
2945 ac_c_werror_flag=yes
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2959 if ac_fn_c_try_compile "$LINENO"; then :
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2974 if ac_fn_c_try_compile "$LINENO"; then :
2977 ac_c_werror_flag=$ac_save_c_werror_flag
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2990 if ac_fn_c_try_compile "$LINENO"; then :
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 ac_c_werror_flag=$ac_save_c_werror_flag
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3001 $as_echo "$ac_cv_prog_cc_g" >&6; }
3002 if test "$ac_test_CFLAGS" = set; then
3003 CFLAGS=$ac_save_CFLAGS
3004 elif test $ac_cv_prog_cc_g = yes; then
3005 if test "$GCC" = yes; then
3011 if test "$GCC" = yes; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3019 if ${ac_cv_prog_cc_c89+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 ac_cv_prog_cc_c89=no
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3030 struct buf { int x; };
3031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3032 static char *e (p, i)
3038 static char *f (char * (*g) (char **, int), char **p, ...)
3043 s = g (p, va_arg (v,int));
3048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3049 function prototypes and stuff, but not '\xHH' hex character constants.
3050 These don't provoke an error unfortunately, instead are silently treated
3051 as 'x'. The following induces an error, until -std is added to get
3052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3053 array size at least. It's necessary to write '\x00'==0 to get something
3054 that's true only with -std. */
3055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3058 inside strings and character constants. */
3060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3062 int test (int i, double x);
3063 struct s1 {int (*f) (int a);};
3064 struct s2 {int (*f) (double a);};
3065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3079 CC="$ac_save_CC $ac_arg"
3080 if ac_fn_c_try_compile "$LINENO"; then :
3081 ac_cv_prog_cc_c89=$ac_arg
3083 rm -f core conftest.err conftest.$ac_objext
3084 test "x$ac_cv_prog_cc_c89" != "xno" && break
3086 rm -f conftest.$ac_ext
3091 case "x$ac_cv_prog_cc_c89" in
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3094 $as_echo "none needed" >&6; } ;;
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3097 $as_echo "unsupported" >&6; } ;;
3099 CC="$CC $ac_cv_prog_cc_c89"
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3103 if test "x$ac_cv_prog_cc_c89" != xno; then :
3108 ac_cpp='$CPP $CPPFLAGS'
3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3115 $as_echo_n "checking for library containing strerror... " >&6; }
3116 if ${ac_cv_search_strerror+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 ac_func_search_save_LIBS=$LIBS
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3123 /* Override any GCC internal prototype to avoid an error.
3124 Use char because int might match the return type of a GCC
3125 builtin and then its argument prototype would still apply. */
3138 for ac_lib in '' cposix; do
3139 if test -z "$ac_lib"; then
3140 ac_res="none required"
3143 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3145 if ac_fn_c_try_link "$LINENO"; then :
3146 ac_cv_search_strerror=$ac_res
3148 rm -f core conftest.err conftest.$ac_objext \
3150 if ${ac_cv_search_strerror+:} false; then :
3154 if ${ac_cv_search_strerror+:} false; then :
3157 ac_cv_search_strerror=no
3160 LIBS=$ac_func_search_save_LIBS
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3163 $as_echo "$ac_cv_search_strerror" >&6; }
3164 ac_res=$ac_cv_search_strerror
3165 if test "$ac_res" != no; then :
3166 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3171 ac_cpp='$CPP $CPPFLAGS'
3172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3175 if test -n "$ac_tool_prefix"; then
3176 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3177 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_CC+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$CC"; then
3184 ac_cv_prog_CC="$CC" # Let the user override the test.
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 if test -n "$CC"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3206 $as_echo "$CC" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3214 if test -z "$ac_cv_prog_CC"; then
3216 # Extract the first word of "gcc", so it can be a program name with args.
3217 set dummy gcc; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$ac_ct_CC"; then
3224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_ac_ct_CC="gcc"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3244 if test -n "$ac_ct_CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3246 $as_echo "$ac_ct_CC" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3252 if test "x$ac_ct_CC" = x; then
3255 case $cross_compiling:$ac_tool_warned in
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3259 ac_tool_warned=yes ;;
3267 if test -z "$CC"; then
3268 if test -n "$ac_tool_prefix"; then
3269 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3270 set dummy ${ac_tool_prefix}cc; ac_word=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false; then :
3274 $as_echo_n "(cached) " >&6
3276 if test -n "$CC"; then
3277 ac_cv_prog_CC="$CC" # Let the user override the test.
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3286 ac_cv_prog_CC="${ac_tool_prefix}cc"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$CC"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299 $as_echo "$CC" >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3308 if test -z "$CC"; then
3309 # Extract the first word of "cc", so it can be a program name with args.
3310 set dummy cc; ac_word=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_CC+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$CC"; then
3317 ac_cv_prog_CC="$CC" # Let the user override the test.
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir=.
3325 for ac_exec_ext in '' $ac_executable_extensions; do
3326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3328 ac_prog_rejected=yes
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 if test $ac_prog_rejected = yes; then
3340 # We found a bogon in the path, so make sure we never use it.
3341 set dummy $ac_cv_prog_CC
3343 if test $# != 0; then
3344 # We chose a different compiler from the bogus one.
3345 # However, it has the same basename, so the bogon will be chosen
3346 # first if we set CC to just the basename; use the full file name.
3348 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3354 if test -n "$CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3364 if test -z "$CC"; then
3365 if test -n "$ac_tool_prefix"; then
3366 for ac_prog in cl.exe
3368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if ${ac_cv_prog_CC+:} false; then :
3373 $as_echo_n "(cached) " >&6
3375 if test -n "$CC"; then
3376 ac_cv_prog_CC="$CC" # Let the user override the test.
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 if test -n "$CC"; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3398 $as_echo "$CC" >&6; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3405 test -n "$CC" && break
3408 if test -z "$CC"; then
3410 for ac_prog in cl.exe
3412 # Extract the first word of "$ac_prog", so it can be a program name with args.
3413 set dummy $ac_prog; ac_word=$2
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415 $as_echo_n "checking for $ac_word... " >&6; }
3416 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3417 $as_echo_n "(cached) " >&6
3419 if test -n "$ac_ct_CC"; then
3420 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3426 test -z "$as_dir" && as_dir=.
3427 for ac_exec_ext in '' $ac_executable_extensions; do
3428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3429 ac_cv_prog_ac_ct_CC="$ac_prog"
3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3440 if test -n "$ac_ct_CC"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3442 $as_echo "$ac_ct_CC" >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3449 test -n "$ac_ct_CC" && break
3452 if test "x$ac_ct_CC" = x; then
3455 case $cross_compiling:$ac_tool_warned in
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned=yes ;;
3468 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $? "no acceptable C compiler found in \$PATH
3471 See \`config.log' for more details" "$LINENO" 5; }
3473 # Provide some information about the compiler.
3474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3477 for ac_option in --version -v -V -qversion; do
3478 { { ac_try="$ac_compiler $ac_option >&5"
3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3487 if test -s conftest.err; then
3489 ... rest of stderr output deleted ...
3490 10q' conftest.err >conftest.er1
3491 cat conftest.er1 >&5
3493 rm -f conftest.er1 conftest.err
3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495 test $ac_status = 0; }
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500 if ${ac_cv_c_compiler_gnu+:} false; then :
3501 $as_echo_n "(cached) " >&6
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3517 if ac_fn_c_try_compile "$LINENO"; then :
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528 if test $ac_compiler_gnu = yes; then
3533 ac_test_CFLAGS=${CFLAGS+set}
3534 ac_save_CFLAGS=$CFLAGS
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3537 if ${ac_cv_prog_cc_g+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3570 if ac_fn_c_try_compile "$LINENO"; then :
3573 ac_c_werror_flag=$ac_save_c_werror_flag
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 ac_c_werror_flag=$ac_save_c_werror_flag
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597 $as_echo "$ac_cv_prog_cc_g" >&6; }
3598 if test "$ac_test_CFLAGS" = set; then
3599 CFLAGS=$ac_save_CFLAGS
3600 elif test $ac_cv_prog_cc_g = yes; then
3601 if test "$GCC" = yes; then
3607 if test "$GCC" = yes; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615 if ${ac_cv_prog_cc_c89+:} false; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_cv_prog_cc_c89=no
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3625 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3626 struct buf { int x; };
3627 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628 static char *e (p, i)
3634 static char *f (char * (*g) (char **, int), char **p, ...)
3639 s = g (p, va_arg (v,int));
3644 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3645 function prototypes and stuff, but not '\xHH' hex character constants.
3646 These don't provoke an error unfortunately, instead are silently treated
3647 as 'x'. The following induces an error, until -std is added to get
3648 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3649 array size at least. It's necessary to write '\x00'==0 to get something
3650 that's true only with -std. */
3651 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3653 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3654 inside strings and character constants. */
3656 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3658 int test (int i, double x);
3659 struct s1 {int (*f) (int a);};
3660 struct s2 {int (*f) (double a);};
3661 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3667 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3672 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3673 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3675 CC="$ac_save_CC $ac_arg"
3676 if ac_fn_c_try_compile "$LINENO"; then :
3677 ac_cv_prog_cc_c89=$ac_arg
3679 rm -f core conftest.err conftest.$ac_objext
3680 test "x$ac_cv_prog_cc_c89" != "xno" && break
3682 rm -f conftest.$ac_ext
3687 case "x$ac_cv_prog_cc_c89" in
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3690 $as_echo "none needed" >&6; } ;;
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3693 $as_echo "unsupported" >&6; } ;;
3695 CC="$CC $ac_cv_prog_cc_c89"
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3697 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3699 if test "x$ac_cv_prog_cc_c89" != xno; then :
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3710 ac_cpp='$CPP $CPPFLAGS'
3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3715 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3716 # On Suns, sometimes $CPP names a directory.
3717 if test -n "$CPP" && test -d "$CPP"; then
3720 if test -z "$CPP"; then
3721 if ${ac_cv_prog_CPP+:} false; then :
3722 $as_echo_n "(cached) " >&6
3724 # Double quotes because CPP needs to be expanded
3725 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3728 for ac_c_preproc_warn_flag in '' yes
3730 # Use a header file that comes with gcc, so configuring glibc
3731 # with a fresh cross-compiler works.
3732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3733 # <limits.h> exists even on freestanding compilers.
3734 # On the NeXT, cc -E runs the code through the compiler's parser,
3735 # not just through cpp. "Syntax error" is here to catch this case.
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3739 # include <limits.h>
3741 # include <assert.h>
3745 if ac_fn_c_try_cpp "$LINENO"; then :
3748 # Broken: fails on valid input.
3751 rm -f conftest.err conftest.i conftest.$ac_ext
3753 # OK, works on sane cases. Now check whether nonexistent headers
3754 # can be detected and how.
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3757 #include <ac_nonexistent.h>
3759 if ac_fn_c_try_cpp "$LINENO"; then :
3760 # Broken: success on invalid input.
3763 # Passes both tests.
3767 rm -f conftest.err conftest.i conftest.$ac_ext
3770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3771 rm -f conftest.i conftest.err conftest.$ac_ext
3772 if $ac_preproc_ok; then :
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3785 $as_echo "$CPP" >&6; }
3787 for ac_c_preproc_warn_flag in '' yes
3789 # Use a header file that comes with gcc, so configuring glibc
3790 # with a fresh cross-compiler works.
3791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792 # <limits.h> exists even on freestanding compilers.
3793 # On the NeXT, cc -E runs the code through the compiler's parser,
3794 # not just through cpp. "Syntax error" is here to catch this case.
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3798 # include <limits.h>
3800 # include <assert.h>
3804 if ac_fn_c_try_cpp "$LINENO"; then :
3807 # Broken: fails on valid input.
3810 rm -f conftest.err conftest.i conftest.$ac_ext
3812 # OK, works on sane cases. Now check whether nonexistent headers
3813 # can be detected and how.
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3816 #include <ac_nonexistent.h>
3818 if ac_fn_c_try_cpp "$LINENO"; then :
3819 # Broken: success on invalid input.
3822 # Passes both tests.
3826 rm -f conftest.err conftest.i conftest.$ac_ext
3829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3830 rm -f conftest.i conftest.err conftest.$ac_ext
3831 if $ac_preproc_ok; then :
3834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3837 See \`config.log' for more details" "$LINENO" 5; }
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3848 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3849 if ${ac_cv_path_GREP+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -z "$GREP"; then
3853 ac_path_GREP_found=false
3854 # Loop through the user's path and test for each of PROGNAME-LIST
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3859 test -z "$as_dir" && as_dir=.
3860 for ac_prog in grep ggrep; do
3861 for ac_exec_ext in '' $ac_executable_extensions; do
3862 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3863 as_fn_executable_p "$ac_path_GREP" || continue
3864 # Check for GNU ac_path_GREP and select it if it is found.
3865 # Check for GNU $ac_path_GREP
3866 case `"$ac_path_GREP" --version 2>&1` in
3868 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3871 $as_echo_n 0123456789 >"conftest.in"
3874 cat "conftest.in" "conftest.in" >"conftest.tmp"
3875 mv "conftest.tmp" "conftest.in"
3876 cp "conftest.in" "conftest.nl"
3877 $as_echo 'GREP' >> "conftest.nl"
3878 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3879 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3880 as_fn_arith $ac_count + 1 && ac_count=$as_val
3881 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3882 # Best one so far, save it but keep looking for a better one
3883 ac_cv_path_GREP="$ac_path_GREP"
3884 ac_path_GREP_max=$ac_count
3886 # 10*(2^10) chars as input seems more than enough
3887 test $ac_count -gt 10 && break
3889 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3892 $ac_path_GREP_found && break 3
3897 if test -z "$ac_cv_path_GREP"; then
3898 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3901 ac_cv_path_GREP=$GREP
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3906 $as_echo "$ac_cv_path_GREP" >&6; }
3907 GREP="$ac_cv_path_GREP"
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3911 $as_echo_n "checking for egrep... " >&6; }
3912 if ${ac_cv_path_EGREP+:} false; then :
3913 $as_echo_n "(cached) " >&6
3915 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3916 then ac_cv_path_EGREP="$GREP -E"
3918 if test -z "$EGREP"; then
3919 ac_path_EGREP_found=false
3920 # Loop through the user's path and test for each of PROGNAME-LIST
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3925 test -z "$as_dir" && as_dir=.
3926 for ac_prog in egrep; do
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3929 as_fn_executable_p "$ac_path_EGREP" || continue
3930 # Check for GNU ac_path_EGREP and select it if it is found.
3931 # Check for GNU $ac_path_EGREP
3932 case `"$ac_path_EGREP" --version 2>&1` in
3934 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3937 $as_echo_n 0123456789 >"conftest.in"
3940 cat "conftest.in" "conftest.in" >"conftest.tmp"
3941 mv "conftest.tmp" "conftest.in"
3942 cp "conftest.in" "conftest.nl"
3943 $as_echo 'EGREP' >> "conftest.nl"
3944 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3945 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3946 as_fn_arith $ac_count + 1 && ac_count=$as_val
3947 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3948 # Best one so far, save it but keep looking for a better one
3949 ac_cv_path_EGREP="$ac_path_EGREP"
3950 ac_path_EGREP_max=$ac_count
3952 # 10*(2^10) chars as input seems more than enough
3953 test $ac_count -gt 10 && break
3955 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3958 $ac_path_EGREP_found && break 3
3963 if test -z "$ac_cv_path_EGREP"; then
3964 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3967 ac_cv_path_EGREP=$EGREP
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3973 $as_echo "$ac_cv_path_EGREP" >&6; }
3974 EGREP="$ac_cv_path_EGREP"
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3978 $as_echo_n "checking for ANSI C header files... " >&6; }
3979 if ${ac_cv_header_stdc+:} false; then :
3980 $as_echo_n "(cached) " >&6
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998 ac_cv_header_stdc=yes
4000 ac_cv_header_stdc=no
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4004 if test $ac_cv_header_stdc = yes; then
4005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4012 $EGREP "memchr" >/dev/null 2>&1; then :
4015 ac_cv_header_stdc=no
4021 if test $ac_cv_header_stdc = yes; then
4022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4029 $EGREP "free" >/dev/null 2>&1; then :
4032 ac_cv_header_stdc=no
4038 if test $ac_cv_header_stdc = yes; then
4039 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4040 if test "$cross_compiling" = yes; then :
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4047 #if ((' ' & 0x0FF) == 0x020)
4048 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4049 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4051 # define ISLOWER(c) \
4052 (('a' <= (c) && (c) <= 'i') \
4053 || ('j' <= (c) && (c) <= 'r') \
4054 || ('s' <= (c) && (c) <= 'z'))
4055 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4058 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4063 for (i = 0; i < 256; i++)
4064 if (XOR (islower (i), ISLOWER (i))
4065 || toupper (i) != TOUPPER (i))
4070 if ac_fn_c_try_run "$LINENO"; then :
4073 ac_cv_header_stdc=no
4075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4076 conftest.$ac_objext conftest.beam conftest.$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4082 $as_echo "$ac_cv_header_stdc" >&6; }
4083 if test $ac_cv_header_stdc = yes; then
4085 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4089 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4090 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4091 inttypes.h stdint.h unistd.h
4093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4097 cat >>confdefs.h <<_ACEOF
4098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4109 for ac_header in $ac_header_list
4111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4114 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4115 cat >>confdefs.h <<_ACEOF
4116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4130 for ac_func in getpagesize
4132 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4133 if test "x$ac_cv_func_getpagesize" = xyes; then :
4134 cat >>confdefs.h <<_ACEOF
4135 #define HAVE_GETPAGESIZE 1
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4142 $as_echo_n "checking for working mmap... " >&6; }
4143 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4144 $as_echo_n "(cached) " >&6
4146 if test "$cross_compiling" = yes; then :
4147 ac_cv_func_mmap_fixed_mapped=no
4149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4151 $ac_includes_default
4152 /* malloc might have been renamed as rpl_malloc. */
4155 /* Thanks to Mike Haertel and Jim Avera for this test.
4156 Here is a matrix of mmap possibilities:
4157 mmap private not fixed
4158 mmap private fixed at somewhere currently unmapped
4159 mmap private fixed at somewhere already mapped
4160 mmap shared not fixed
4161 mmap shared fixed at somewhere currently unmapped
4162 mmap shared fixed at somewhere already mapped
4163 For private mappings, we should verify that changes cannot be read()
4164 back from the file, nor mmap's back from the file at a different
4165 address. (There have been systems where private was not correctly
4166 implemented like the infamous i386 svr4.0, and systems where the
4167 VM page cache was not coherent with the file system buffer cache
4168 like early versions of FreeBSD and possibly contemporary NetBSD.)
4169 For shared mappings, we should conversely verify that changes get
4170 propagated back to all the places they're supposed to be.
4172 Grep wants private fixed already mapped.
4173 The main things grep needs to know about mmap are:
4174 * does it exist and is it safe to write into the mmap'd area
4175 * how to use it (BSD variants) */
4178 #include <sys/mman.h>
4180 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4184 /* This mess was copied from the GNU getpagesize.h. */
4185 #ifndef HAVE_GETPAGESIZE
4186 # ifdef _SC_PAGESIZE
4187 # define getpagesize() sysconf(_SC_PAGESIZE)
4188 # else /* no _SC_PAGESIZE */
4189 # ifdef HAVE_SYS_PARAM_H
4190 # include <sys/param.h>
4191 # ifdef EXEC_PAGESIZE
4192 # define getpagesize() EXEC_PAGESIZE
4193 # else /* no EXEC_PAGESIZE */
4195 # define getpagesize() NBPG * CLSIZE
4198 # endif /* no CLSIZE */
4199 # else /* no NBPG */
4201 # define getpagesize() NBPC
4202 # else /* no NBPC */
4204 # define getpagesize() PAGESIZE
4205 # endif /* PAGESIZE */
4206 # endif /* no NBPC */
4207 # endif /* no NBPG */
4208 # endif /* no EXEC_PAGESIZE */
4209 # else /* no HAVE_SYS_PARAM_H */
4210 # define getpagesize() 8192 /* punt totally */
4211 # endif /* no HAVE_SYS_PARAM_H */
4212 # endif /* no _SC_PAGESIZE */
4214 #endif /* no HAVE_GETPAGESIZE */
4219 char *data, *data2, *data3;
4224 pagesize = getpagesize ();
4226 /* First, make a file with some known garbage in it. */
4227 data = (char *) malloc (pagesize);
4230 for (i = 0; i < pagesize; ++i)
4231 *(data + i) = rand ();
4233 fd = creat ("conftest.mmap", 0600);
4236 if (write (fd, data, pagesize) != pagesize)
4240 /* Next, check that the tail of a page is zero-filled. File must have
4241 non-zero length, otherwise we risk SIGBUS for entire page. */
4242 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4246 if (write (fd2, cdata2, 1) != 1)
4248 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4249 if (data2 == MAP_FAILED)
4251 for (i = 0; i < pagesize; ++i)
4255 if (munmap (data2, pagesize))
4258 /* Next, try to mmap the file at a fixed address which already has
4259 something else allocated at it. If we can, also make sure that
4260 we see the same garbage. */
4261 fd = open ("conftest.mmap", O_RDWR);
4264 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4265 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4267 for (i = 0; i < pagesize; ++i)
4268 if (*(data + i) != *(data2 + i))
4271 /* Finally, make sure that changes to the mapped area do not
4272 percolate back to the file as seen by read(). (This is a bug on
4273 some variants of i386 svr4.0.) */
4274 for (i = 0; i < pagesize; ++i)
4275 *(data2 + i) = *(data2 + i) + 1;
4276 data3 = (char *) malloc (pagesize);
4279 if (read (fd, data3, pagesize) != pagesize)
4281 for (i = 0; i < pagesize; ++i)
4282 if (*(data + i) != *(data3 + i))
4288 if ac_fn_c_try_run "$LINENO"; then :
4289 ac_cv_func_mmap_fixed_mapped=yes
4291 ac_cv_func_mmap_fixed_mapped=no
4293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4294 conftest.$ac_objext conftest.beam conftest.$ac_ext
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4299 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4300 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4302 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4305 rm -f conftest.mmap conftest.txt
4310 am__api_version='1.11'
4312 # Find a good install program. We prefer a C program (faster),
4313 # so one script is as good as another. But avoid the broken or
4314 # incompatible versions:
4315 # SysV /etc/install, /usr/sbin/install
4316 # SunOS /usr/etc/install
4317 # IRIX /sbin/install
4319 # AmigaOS /C/install, which installs bootblocks on floppy discs
4320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4323 # OS/2's system install, which has a completely different semantic
4324 # ./install, which can be erroneously created by make from ./install.sh.
4325 # Reject install programs that cannot install multiple files.
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4327 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4328 if test -z "$INSTALL"; then
4329 if ${ac_cv_path_install+:} false; then :
4330 $as_echo_n "(cached) " >&6
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir=.
4337 # Account for people who put trailing slashes in PATH elements.
4338 case $as_dir/ in #((
4339 ./ | .// | /[cC]/* | \
4340 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4341 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4344 # OSF1 and SCO ODT 3.0 have their own names for install.
4345 # Don't use installbsd from OSF since it installs stuff as root
4347 for ac_prog in ginstall scoinst install; do
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4350 if test $ac_prog = install &&
4351 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4352 # AIX install. It has an incompatible calling convention.
4354 elif test $ac_prog = install &&
4355 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4356 # program-specific install script used by HP pwplus--don't use.
4359 rm -rf conftest.one conftest.two conftest.dir
4360 echo one > conftest.one
4361 echo two > conftest.two
4363 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4364 test -s conftest.one && test -s conftest.two &&
4365 test -s conftest.dir/conftest.one &&
4366 test -s conftest.dir/conftest.two
4368 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4381 rm -rf conftest.one conftest.two conftest.dir
4384 if test "${ac_cv_path_install+set}" = set; then
4385 INSTALL=$ac_cv_path_install
4387 # As a last resort, use the slow shell script. Don't cache a
4388 # value for INSTALL within a source directory, because that will
4389 # break other packages using the cache if that directory is
4390 # removed, or if the value is a relative name.
4391 INSTALL=$ac_install_sh
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4395 $as_echo "$INSTALL" >&6; }
4397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4398 # It thinks the first close brace ends the variable substitution.
4399 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4401 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4403 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4406 $as_echo_n "checking whether build environment is sane... " >&6; }
4409 echo timestamp > conftest.file
4410 # Reject unsafe characters in $srcdir or the absolute working directory
4411 # name. Accept space and tab only in the latter.
4415 *[\\\"\#\$\&\'\`$am_lf]*)
4416 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4419 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4420 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4423 # Do `set' in a subshell so we don't clobber the current shell's
4424 # arguments. Must try -L first in case configure is actually a
4425 # symlink; some systems play weird games with the mod time of symlinks
4426 # (eg FreeBSD returns the mod time of the symlink's containing
4429 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4430 if test "$*" = "X"; then
4432 set X `ls -t "$srcdir/configure" conftest.file`
4435 if test "$*" != "X $srcdir/configure conftest.file" \
4436 && test "$*" != "X conftest.file $srcdir/configure"; then
4438 # If neither matched, then we have a broken ls. This can happen
4439 # if, for instance, CONFIG_SHELL is bash and it inherits a
4440 # broken ls alias from the environment. This has actually
4441 # happened. Such a system could not be considered "sane".
4442 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4443 alias in your environment" "$LINENO" 5
4446 test "$2" = conftest.file
4452 as_fn_error $? "newly created file is older than distributed files!
4453 Check your system clock" "$LINENO" 5
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456 $as_echo "yes" >&6; }
4457 test "$program_prefix" != NONE &&
4458 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4459 # Use a double $ so make ignores it.
4460 test "$program_suffix" != NONE &&
4461 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4462 # Double any \ or $.
4463 # By default was `s,x,x', remove it if useless.
4464 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4465 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4467 # expand $ac_aux_dir to an absolute path
4468 am_aux_dir=`cd $ac_aux_dir && pwd`
4470 if test x"${MISSING+set}" != xset; then
4473 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4475 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4478 # Use eval to expand $SHELL
4479 if eval "$MISSING --run true"; then
4480 am_missing_run="$MISSING --run "
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4484 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4487 if test x"${install_sh}" != xset; then
4490 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4492 install_sh="\${SHELL} $am_aux_dir/install-sh"
4496 # Installed binaries are usually stripped using `strip' when the user
4497 # run `make install-strip'. However `strip' might not be the right
4498 # tool to use in cross-compilation environments, therefore Automake
4499 # will honor the `STRIP' environment variable to overrule this program.
4500 if test "$cross_compiling" != no; then
4501 if test -n "$ac_tool_prefix"; then
4502 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4503 set dummy ${ac_tool_prefix}strip; ac_word=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if ${ac_cv_prog_STRIP+:} false; then :
4507 $as_echo_n "(cached) " >&6
4509 if test -n "$STRIP"; then
4510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 STRIP=$ac_cv_prog_STRIP
4530 if test -n "$STRIP"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4532 $as_echo "$STRIP" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4540 if test -z "$ac_cv_prog_STRIP"; then
4542 # Extract the first word of "strip", so it can be a program name with args.
4543 set dummy strip; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4547 $as_echo_n "(cached) " >&6
4549 if test -n "$ac_ct_STRIP"; then
4550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_ac_ct_STRIP="strip"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4570 if test -n "$ac_ct_STRIP"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4572 $as_echo "$ac_ct_STRIP" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4578 if test "x$ac_ct_STRIP" = x; then
4581 case $cross_compiling:$ac_tool_warned in
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4585 ac_tool_warned=yes ;;
4590 STRIP="$ac_cv_prog_STRIP"
4594 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4597 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4598 if test -z "$MKDIR_P"; then
4599 if ${ac_cv_path_mkdir+:} false; then :
4600 $as_echo_n "(cached) " >&6
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4606 test -z "$as_dir" && as_dir=.
4607 for ac_prog in mkdir gmkdir; do
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4610 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4611 'mkdir (GNU coreutils) '* | \
4612 'mkdir (coreutils) '* | \
4613 'mkdir (fileutils) '4.1*)
4614 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4624 test -d ./--version && rmdir ./--version
4625 if test "${ac_cv_path_mkdir+set}" = set; then
4626 MKDIR_P="$ac_cv_path_mkdir -p"
4628 # As a last resort, use the slow shell script. Don't cache a
4629 # value for MKDIR_P within a source directory, because that will
4630 # break other packages using the cache if that directory is
4631 # removed, or if the value is a relative name.
4632 MKDIR_P="$ac_install_sh -d"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4636 $as_echo "$MKDIR_P" >&6; }
4640 [\\/$]* | ?:[\\/]*) ;;
4641 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4644 for ac_prog in gawk mawk nawk awk
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_AWK+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$AWK"; then
4654 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_AWK="$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 if test -n "$AWK"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4676 $as_echo "$AWK" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$AWK" && break
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4687 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4689 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4690 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4691 $as_echo_n "(cached) " >&6
4693 cat >conftest.make <<\_ACEOF
4696 @echo '@@@%%%=$(MAKE)=@@@%%%'
4698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4701 eval ac_cv_prog_make_${ac_make}_set=yes;;
4703 eval ac_cv_prog_make_${ac_make}_set=no;;
4707 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4709 $as_echo "yes" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4714 SET_MAKE="MAKE=${MAKE-make}"
4717 rm -rf .tst 2>/dev/null
4718 mkdir .tst 2>/dev/null
4719 if test -d .tst; then
4724 rmdir .tst 2>/dev/null
4726 DEPDIR="${am__leading_dot}deps"
4728 ac_config_commands="$ac_config_commands depfiles"
4731 am_make=${MAKE-make}
4732 cat > confinc << 'END'
4734 @echo this is the am__doit target
4737 # If we don't find an include directive, just comment out the code.
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4739 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4743 # First try GNU make style include.
4744 echo "include confinc" > confmf
4745 # Ignore all kinds of additional output from `make'.
4746 case `$am_make -s -f confmf 2> /dev/null` in #(
4747 *the\ am__doit\ target*)
4753 # Now try BSD make style include.
4754 if test "$am__include" = "#"; then
4755 echo '.include "confinc"' > confmf
4756 case `$am_make -s -f confmf 2> /dev/null` in #(
4757 *the\ am__doit\ target*)
4758 am__include=.include
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4767 $as_echo "$_am_result" >&6; }
4768 rm -f confinc confmf
4770 # Check whether --enable-dependency-tracking was given.
4771 if test "${enable_dependency_tracking+set}" = set; then :
4772 enableval=$enable_dependency_tracking;
4775 if test "x$enable_dependency_tracking" != xno; then
4776 am_depcomp="$ac_aux_dir/depcomp"
4780 if test "x$enable_dependency_tracking" != xno; then
4789 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4790 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4791 # is not polluted with repeated "-I."
4792 am__isrc=' -I$(srcdir)'
4793 # test to see if srcdir already configured
4794 if test -f $srcdir/config.status; then
4795 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4799 # test whether we have cygpath
4800 if test -z "$CYGPATH_W"; then
4801 if (cygpath --version) >/dev/null 2>/dev/null; then
4802 CYGPATH_W='cygpath -w'
4809 # Define the identity of the package.
4810 PACKAGE='rygel-gst-0-10-media-engine'
4814 cat >>confdefs.h <<_ACEOF
4815 #define PACKAGE "$PACKAGE"
4819 cat >>confdefs.h <<_ACEOF
4820 #define VERSION "$VERSION"
4823 # Some tools Automake needs.
4825 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4828 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4831 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4834 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4837 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4839 # We need awk for the "check" target. The system "awk" is bad on
4841 # Always define AMTAR for backward compatibility. Yes, it's still used
4842 # in the wild :-( We should find a proper way to deprecate it ...
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4847 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4848 # Loop over all known methods to create a tar archive until one works.
4849 _am_tools='gnutar plaintar pax cpio none'
4850 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4851 # Do not fold the above two line into one, because Tru64 sh and
4852 # Solaris sh will not grok spaces in the rhs of `-'.
4853 for _am_tool in $_am_tools
4857 for _am_tar in tar gnutar gtar;
4859 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4860 ($_am_tar --version) >&5 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } && break
4865 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4866 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4867 am__untar="$_am_tar -xf -"
4870 # Must skip GNU tar: if it does not support --format= it doesn't create
4871 # ustar tarball either.
4872 (tar --version) >/dev/null 2>&1 && continue
4873 am__tar='tar chf - "$$tardir"'
4874 am__tar_='tar chf - "$tardir"'
4875 am__untar='tar xf -'
4878 am__tar='pax -L -x ustar -w "$$tardir"'
4879 am__tar_='pax -L -x ustar -w "$tardir"'
4883 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4884 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4885 am__untar='cpio -i -H ustar -d'
4894 # If the value was cached, stop now. We just wanted to have am__tar
4895 # and am__untar set.
4896 test -n "${am_cv_prog_tar_ustar}" && break
4898 # tar/untar a dummy directory, and stop if the command works
4901 echo GrepMe > conftest.dir/file
4902 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4903 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }
4908 if test -s conftest.tar; then
4909 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4910 ($am__untar <conftest.tar) >&5 2>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }
4914 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4919 if ${am_cv_prog_tar_ustar+:} false; then :
4920 $as_echo_n "(cached) " >&6
4922 am_cv_prog_tar_ustar=$_am_tool
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4926 $as_echo "$am_cv_prog_tar_ustar" >&6; }
4931 depcc="$CC" am_compiler_list=
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4934 $as_echo_n "checking dependency style of $depcc... " >&6; }
4935 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4939 # We make a subdir and do the tests there. Otherwise we can end up
4940 # making bogus files that we don't know about and never remove. For
4941 # instance it was reported that on HP-UX the gcc test will end up
4942 # making a dummy file named `D' -- because `-MD' means `put the output
4946 # Copy depcomp to subdir because otherwise we won't find it if we're
4947 # using a relative directory.
4948 cp "$am_depcomp" conftest.dir
4950 # We will build objects and dependencies in a subdirectory because
4951 # it helps to detect inapplicable dependency modes. For instance
4952 # both Tru64's cc and ICC support -MD to output dependencies as a
4953 # side effect of compilation, but ICC will put the dependencies in
4954 # the current directory while Tru64 will put them in the object
4958 am_cv_CC_dependencies_compiler_type=none
4959 if test "$am_compiler_list" = ""; then
4960 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4963 case " $depcc " in #(
4964 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4967 for depmode in $am_compiler_list; do
4968 # Setup a source with many dependencies, because some compilers
4969 # like to wrap large dependency lists on column 80 (with \), and
4970 # we should not choose a depcomp mode which is confused by this.
4972 # We need to recreate these files for each test, as the compiler may
4973 # overwrite some of them when testing with obscure command lines.
4974 # This happens at least with the AIX C compiler.
4976 for i in 1 2 3 4 5 6; do
4977 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4978 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4979 # Solaris 8's {/usr,}/bin/sh.
4980 touch sub/conftst$i.h
4982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4984 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4985 # mode. It turns out that the SunPro C++ compiler does not properly
4986 # handle `-M -o', and we need to detect this. Also, some Intel
4987 # versions had trouble with output in subdirs
4988 am__obj=sub/conftest.${OBJEXT-o}
4989 am__minus_obj="-o $am__obj"
4992 # This depmode causes a compiler race in universal mode.
4993 test "$am__universal" = false || continue
4996 # after this tag, mechanisms are not by side-effect, so they'll
4997 # only be used when explicitly requested
4998 if test "x$enable_dependency_tracking" = xyes; then
5004 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5005 # This compiler won't grok `-c -o', but also, the minuso test has
5006 # not run yet. These depmodes are late enough in the game, and
5007 # so weak that their functioning should not be impacted.
5008 am__obj=conftest.${OBJEXT-o}
5013 if depmode=$depmode \
5014 source=sub/conftest.c object=$am__obj \
5015 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5016 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5017 >/dev/null 2>conftest.err &&
5018 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5019 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5020 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5021 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5022 # icc doesn't choke on unknown options, it will just issue warnings
5023 # or remarks (even with -Werror). So we grep stderr for any message
5024 # that says an option was ignored or not supported.
5025 # When given -MP, icc 7.0 and 7.1 complain thusly:
5026 # icc: Command line warning: ignoring option '-M'; no argument required
5027 # The diagnosis changed in icc 8.0:
5028 # icc: Command line remark: option '-MP' not supported
5029 if (grep 'ignoring option' conftest.err ||
5030 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5031 am_cv_CC_dependencies_compiler_type=$depmode
5040 am_cv_CC_dependencies_compiler_type=none
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5045 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5046 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5049 test "x$enable_dependency_tracking" != xno \
5050 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5052 am__fastdepCC_FALSE='#'
5054 am__fastdepCC_TRUE='#'
5055 am__fastdepCC_FALSE=
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5062 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5063 # Check whether --enable-maintainer-mode was given.
5064 if test "${enable_maintainer_mode+set}" = set; then :
5065 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5067 USE_MAINTAINER_MODE=yes
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5071 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5072 if test $USE_MAINTAINER_MODE = yes; then
5073 MAINTAINER_MODE_TRUE=
5074 MAINTAINER_MODE_FALSE='#'
5076 MAINTAINER_MODE_TRUE='#'
5077 MAINTAINER_MODE_FALSE=
5080 MAINT=$MAINTAINER_MODE_TRUE
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5088 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5093 macro_version='2.4.2'
5094 macro_revision='1.3337'
5108 ltmain="$ac_aux_dir/ltmain.sh"
5110 # Make sure we can run config.sub.
5111 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5112 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5115 $as_echo_n "checking build system type... " >&6; }
5116 if ${ac_cv_build+:} false; then :
5117 $as_echo_n "(cached) " >&6
5119 ac_build_alias=$build_alias
5120 test "x$ac_build_alias" = x &&
5121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5122 test "x$ac_build_alias" = x &&
5123 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5124 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5125 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5129 $as_echo "$ac_cv_build" >&6; }
5130 case $ac_cv_build in
5132 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5135 ac_save_IFS=$IFS; IFS='-'
5141 # Remember, the first character of IFS is used to create $*,
5142 # except with old shells:
5145 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5149 $as_echo_n "checking host system type... " >&6; }
5150 if ${ac_cv_host+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 if test "x$host_alias" = x; then
5154 ac_cv_host=$ac_cv_build
5156 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5157 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5162 $as_echo "$ac_cv_host" >&6; }
5165 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5168 ac_save_IFS=$IFS; IFS='-'
5174 # Remember, the first character of IFS is used to create $*,
5175 # except with old shells:
5178 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5181 # Backslashify metacharacters that are still active within
5182 # double-quoted strings.
5183 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5185 # Same as above, but do not quote variable references.
5186 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5188 # Sed substitution to delay expansion of an escaped shell variable in a
5189 # double_quote_subst'ed string.
5190 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5192 # Sed substitution to delay expansion of an escaped single quote.
5193 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5195 # Sed substitution to avoid accidental globbing in evaled expressions
5196 no_glob_subst='s/\*/\\\*/g'
5198 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5199 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5200 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5203 $as_echo_n "checking how to print strings... " >&6; }
5204 # Test print first, because it will be a builtin if present.
5205 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5206 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5208 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5211 # Use this function as a fallback that always works.
5212 func_fallback_echo ()
5214 eval 'cat <<_LTECHO_EOF
5218 ECHO='func_fallback_echo'
5221 # func_echo_all arg...
5222 # Invoke $ECHO with all args, space-separated.
5229 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5230 $as_echo "printf" >&6; } ;;
5231 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5232 $as_echo "print -r" >&6; } ;;
5233 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5234 $as_echo "cat" >&6; } ;;
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5251 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5252 if ${ac_cv_path_SED+:} false; then :
5253 $as_echo_n "(cached) " >&6
5255 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5256 for ac_i in 1 2 3 4 5 6 7; do
5257 ac_script="$ac_script$as_nl$ac_script"
5259 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5260 { ac_script=; unset ac_script;}
5261 if test -z "$SED"; then
5262 ac_path_SED_found=false
5263 # Loop through the user's path and test for each of PROGNAME-LIST
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_prog in sed gsed; do
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5272 as_fn_executable_p "$ac_path_SED" || continue
5273 # Check for GNU ac_path_SED and select it if it is found.
5274 # Check for GNU $ac_path_SED
5275 case `"$ac_path_SED" --version 2>&1` in
5277 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5280 $as_echo_n 0123456789 >"conftest.in"
5283 cat "conftest.in" "conftest.in" >"conftest.tmp"
5284 mv "conftest.tmp" "conftest.in"
5285 cp "conftest.in" "conftest.nl"
5286 $as_echo '' >> "conftest.nl"
5287 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5288 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5289 as_fn_arith $ac_count + 1 && ac_count=$as_val
5290 if test $ac_count -gt ${ac_path_SED_max-0}; then
5291 # Best one so far, save it but keep looking for a better one
5292 ac_cv_path_SED="$ac_path_SED"
5293 ac_path_SED_max=$ac_count
5295 # 10*(2^10) chars as input seems more than enough
5296 test $ac_count -gt 10 && break
5298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5301 $ac_path_SED_found && break 3
5306 if test -z "$ac_cv_path_SED"; then
5307 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5315 $as_echo "$ac_cv_path_SED" >&6; }
5316 SED="$ac_cv_path_SED"
5319 test -z "$SED" && SED=sed
5320 Xsed="$SED -e 1s/^X//"
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5333 $as_echo_n "checking for fgrep... " >&6; }
5334 if ${ac_cv_path_FGREP+:} false; then :
5335 $as_echo_n "(cached) " >&6
5337 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5338 then ac_cv_path_FGREP="$GREP -F"
5340 if test -z "$FGREP"; then
5341 ac_path_FGREP_found=false
5342 # Loop through the user's path and test for each of PROGNAME-LIST
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5347 test -z "$as_dir" && as_dir=.
5348 for ac_prog in fgrep; do
5349 for ac_exec_ext in '' $ac_executable_extensions; do
5350 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5351 as_fn_executable_p "$ac_path_FGREP" || continue
5352 # Check for GNU ac_path_FGREP and select it if it is found.
5353 # Check for GNU $ac_path_FGREP
5354 case `"$ac_path_FGREP" --version 2>&1` in
5356 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5359 $as_echo_n 0123456789 >"conftest.in"
5362 cat "conftest.in" "conftest.in" >"conftest.tmp"
5363 mv "conftest.tmp" "conftest.in"
5364 cp "conftest.in" "conftest.nl"
5365 $as_echo 'FGREP' >> "conftest.nl"
5366 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5367 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5368 as_fn_arith $ac_count + 1 && ac_count=$as_val
5369 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5370 # Best one so far, save it but keep looking for a better one
5371 ac_cv_path_FGREP="$ac_path_FGREP"
5372 ac_path_FGREP_max=$ac_count
5374 # 10*(2^10) chars as input seems more than enough
5375 test $ac_count -gt 10 && break
5377 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5380 $ac_path_FGREP_found && break 3
5385 if test -z "$ac_cv_path_FGREP"; then
5386 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5389 ac_cv_path_FGREP=$FGREP
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5395 $as_echo "$ac_cv_path_FGREP" >&6; }
5396 FGREP="$ac_cv_path_FGREP"
5399 test -z "$GREP" && GREP=grep
5419 # Check whether --with-gnu-ld was given.
5420 if test "${with_gnu_ld+set}" = set; then :
5421 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5427 if test "$GCC" = yes; then
5428 # Check if gcc -print-prog-name=ld gives a path.
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5430 $as_echo_n "checking for ld used by $CC... " >&6; }
5433 # gcc leaves a trailing carriage return which upsets mingw
5434 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5436 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5439 # Accept absolute paths.
5441 re_direlt='/[^/][^/]*/\.\./'
5442 # Canonicalize the pathname of ld
5443 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5444 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5445 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5447 test -z "$LD" && LD="$ac_prog"
5450 # If it fails, then pretend we aren't using GCC.
5454 # If it is relative, then search for the first ld in PATH.
5458 elif test "$with_gnu_ld" = yes; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5460 $as_echo_n "checking for GNU ld... " >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5463 $as_echo_n "checking for non-GNU ld... " >&6; }
5465 if ${lt_cv_path_LD+:} false; then :
5466 $as_echo_n "(cached) " >&6
5468 if test -z "$LD"; then
5469 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5470 for ac_dir in $PATH; do
5472 test -z "$ac_dir" && ac_dir=.
5473 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5474 lt_cv_path_LD="$ac_dir/$ac_prog"
5475 # Check to see if the program is GNU ld. I'd rather use --version,
5476 # but apparently some variants of GNU ld only accept -v.
5477 # Break only if it was the GNU/non-GNU ld that we prefer.
5478 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5479 *GNU* | *'with BFD'*)
5480 test "$with_gnu_ld" != no && break
5483 test "$with_gnu_ld" != yes && break
5490 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5495 if test -n "$LD"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5497 $as_echo "$LD" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5502 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5504 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5505 if ${lt_cv_prog_gnu_ld+:} false; then :
5506 $as_echo_n "(cached) " >&6
5508 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5509 case `$LD -v 2>&1 </dev/null` in
5510 *GNU* | *'with BFD'*)
5511 lt_cv_prog_gnu_ld=yes
5514 lt_cv_prog_gnu_ld=no
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5519 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5520 with_gnu_ld=$lt_cv_prog_gnu_ld
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5531 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5532 if ${lt_cv_path_NM+:} false; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$NM"; then
5536 # Let the user override the test.
5539 lt_nm_to_check="${ac_tool_prefix}nm"
5540 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5541 lt_nm_to_check="$lt_nm_to_check nm"
5543 for lt_tmp_nm in $lt_nm_to_check; do
5544 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5545 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5547 test -z "$ac_dir" && ac_dir=.
5548 tmp_nm="$ac_dir/$lt_tmp_nm"
5549 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5550 # Check to see if the nm accepts a BSD-compat flag.
5551 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5552 # nm: unknown option "B" ignored
5553 # Tru64's nm complains that /dev/null is an invalid object file
5554 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5555 */dev/null* | *'Invalid file or object type'*)
5556 lt_cv_path_NM="$tmp_nm -B"
5560 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5562 lt_cv_path_NM="$tmp_nm -p"
5566 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5567 continue # so that we can try to find one that supports BSD flags
5576 : ${lt_cv_path_NM=no}
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5580 $as_echo "$lt_cv_path_NM" >&6; }
5581 if test "$lt_cv_path_NM" != "no"; then
5584 # Didn't find any BSD compatible name lister, look for dumpbin.
5585 if test -n "$DUMPBIN"; then :
5586 # Let the user override the test.
5588 if test -n "$ac_tool_prefix"; then
5589 for ac_prog in dumpbin "link -dump"
5591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_DUMPBIN+:} false; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -n "$DUMPBIN"; then
5599 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 DUMPBIN=$ac_cv_prog_DUMPBIN
5619 if test -n "$DUMPBIN"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5621 $as_echo "$DUMPBIN" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$DUMPBIN" && break
5631 if test -z "$DUMPBIN"; then
5632 ac_ct_DUMPBIN=$DUMPBIN
5633 for ac_prog in dumpbin "link -dump"
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy $ac_prog; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5640 $as_echo_n "(cached) " >&6
5642 if test -n "$ac_ct_DUMPBIN"; then
5643 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5663 if test -n "$ac_ct_DUMPBIN"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5665 $as_echo "$ac_ct_DUMPBIN" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5672 test -n "$ac_ct_DUMPBIN" && break
5675 if test "x$ac_ct_DUMPBIN" = x; then
5678 case $cross_compiling:$ac_tool_warned in
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5682 ac_tool_warned=yes ;;
5684 DUMPBIN=$ac_ct_DUMPBIN
5688 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5690 DUMPBIN="$DUMPBIN -symbols"
5698 if test "$DUMPBIN" != ":"; then
5702 test -z "$NM" && NM=nm
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5710 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5711 if ${lt_cv_nm_interface+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 lt_cv_nm_interface="BSD nm"
5715 echo "int some_variable = 0;" > conftest.$ac_ext
5716 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5717 (eval "$ac_compile" 2>conftest.err)
5718 cat conftest.err >&5
5719 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5720 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5721 cat conftest.err >&5
5722 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5723 cat conftest.out >&5
5724 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5725 lt_cv_nm_interface="MS dumpbin"
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5730 $as_echo "$lt_cv_nm_interface" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5733 $as_echo_n "checking whether ln -s works... " >&6; }
5735 if test "$LN_S" = "ln -s"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5737 $as_echo "yes" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5740 $as_echo "no, using $LN_S" >&6; }
5743 # find the maximum length of command line arguments
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5745 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5746 if ${lt_cv_sys_max_cmd_len+:} false; then :
5747 $as_echo_n "(cached) " >&6
5754 # On DJGPP, this test can blow up pretty badly due to problems in libc
5755 # (any single argument exceeding 2000 bytes causes a buffer overrun
5756 # during glob expansion). Even if it were fixed, the result of this
5757 # check would be larger than it should be.
5758 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5762 # Under GNU Hurd, this test is not required because there is
5763 # no limit to the length of command line arguments.
5764 # Libtool will interpret -1 as no limit whatsoever
5765 lt_cv_sys_max_cmd_len=-1;
5768 cygwin* | mingw* | cegcc*)
5769 # On Win9x/ME, this test blows up -- it succeeds, but takes
5770 # about 5 minutes as the teststring grows exponentially.
5771 # Worse, since 9x/ME are not pre-emptively multitasking,
5772 # you end up with a "frozen" computer, even though with patience
5773 # the test eventually succeeds (with a max line length of 256k).
5774 # Instead, let's just punt: use the minimum linelength reported by
5775 # all of the supported platforms: 8192 (on NT/2K/XP).
5776 lt_cv_sys_max_cmd_len=8192;
5780 # On MiNT this can take a long time and run out of memory.
5781 lt_cv_sys_max_cmd_len=8192;
5785 # On AmigaOS with pdksh, this test takes hours, literally.
5786 # So we just punt and use a minimum line length of 8192.
5787 lt_cv_sys_max_cmd_len=8192;
5790 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5791 # This has been around since 386BSD, at least. Likely further.
5792 if test -x /sbin/sysctl; then
5793 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5794 elif test -x /usr/sbin/sysctl; then
5795 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5797 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5799 # And add a safety zone
5800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5805 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5806 lt_cv_sys_max_cmd_len=196608
5810 # The test takes a long time on OS/2.
5811 lt_cv_sys_max_cmd_len=8192
5815 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5816 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5817 # nice to cause kernel panics so lets avoid the loop below.
5818 # First set a reasonable default.
5819 lt_cv_sys_max_cmd_len=16384
5821 if test -x /sbin/sysconfig; then
5822 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5823 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5828 lt_cv_sys_max_cmd_len=102400
5830 sysv5* | sco5v6* | sysv4.2uw2*)
5831 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5832 if test -n "$kargmax"; then
5833 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5835 lt_cv_sys_max_cmd_len=32768
5839 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5840 if test -n "$lt_cv_sys_max_cmd_len"; then
5841 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5844 # Make teststring a little bigger before we do anything with it.
5845 # a 1K string should be a reasonable start.
5846 for i in 1 2 3 4 5 6 7 8 ; do
5847 teststring=$teststring$teststring
5849 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5850 # If test is not a shell built-in, we'll probably end up computing a
5851 # maximum length that is only half of the actual maximum length, but
5853 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5854 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5855 test $i != 17 # 1/2 MB should be enough
5858 teststring=$teststring$teststring
5860 # Only check the string length outside the loop.
5861 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5863 # Add a significant safety factor because C++ compilers can tack on
5864 # massive amounts of additional arguments before passing them to the
5865 # linker. It appears as though 1/2 is a usable value.
5866 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5873 if test -n $lt_cv_sys_max_cmd_len ; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5875 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5878 $as_echo "none" >&6; }
5880 max_cmd_len=$lt_cv_sys_max_cmd_len
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5892 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5893 # Try some XSI features
5896 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5898 && eval 'test $(( 1 + 1 )) -eq 2 \
5899 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5902 $as_echo "$xsi_shell" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5906 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5908 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5910 && lt_shell_append=yes
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5912 $as_echo "$lt_shell_append" >&6; }
5915 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5925 # test EBCDIC or ASCII
5926 case `echo X|tr X '\101'` in
5927 A) # ASCII based system
5928 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5929 lt_SP2NL='tr \040 \012'
5930 lt_NL2SP='tr \015\012 \040\040'
5932 *) # EBCDIC based system
5933 lt_SP2NL='tr \100 \n'
5934 lt_NL2SP='tr \r\n \100\100'
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5947 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5948 if ${lt_cv_to_host_file_cmd+:} false; then :
5949 $as_echo_n "(cached) " >&6
5954 *-*-mingw* ) # actually msys
5955 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5958 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5960 * ) # otherwise, assume *nix
5961 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5967 *-*-mingw* ) # actually msys
5968 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5971 lt_cv_to_host_file_cmd=func_convert_file_noop
5973 * ) # otherwise, assume *nix
5974 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5978 * ) # unhandled hosts (and "normal" native builds)
5979 lt_cv_to_host_file_cmd=func_convert_file_noop
5985 to_host_file_cmd=$lt_cv_to_host_file_cmd
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5987 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5994 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5995 if ${lt_cv_to_tool_file_cmd+:} false; then :
5996 $as_echo_n "(cached) " >&6
5998 #assume ordinary cross tools, or native build.
5999 lt_cv_to_tool_file_cmd=func_convert_file_noop
6003 *-*-mingw* ) # actually msys
6004 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6012 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6014 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6021 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6022 if ${lt_cv_ld_reload_flag+:} false; then :
6023 $as_echo_n "(cached) " >&6
6025 lt_cv_ld_reload_flag='-r'
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6028 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6029 reload_flag=$lt_cv_ld_reload_flag
6030 case $reload_flag in
6032 *) reload_flag=" $reload_flag" ;;
6034 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6036 cygwin* | mingw* | pw32* | cegcc*)
6037 if test "$GCC" != yes; then
6042 if test "$GCC" = yes; then
6043 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6045 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_OBJDUMP+:} false; then :
6064 $as_echo_n "(cached) " >&6
6066 if test -n "$OBJDUMP"; then
6067 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 OBJDUMP=$ac_cv_prog_OBJDUMP
6087 if test -n "$OBJDUMP"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6089 $as_echo "$OBJDUMP" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6097 if test -z "$ac_cv_prog_OBJDUMP"; then
6098 ac_ct_OBJDUMP=$OBJDUMP
6099 # Extract the first word of "objdump", so it can be a program name with args.
6100 set dummy objdump; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$ac_ct_OBJDUMP"; then
6107 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6127 if test -n "$ac_ct_OBJDUMP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6129 $as_echo "$ac_ct_OBJDUMP" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6135 if test "x$ac_ct_OBJDUMP" = x; then
6138 case $cross_compiling:$ac_tool_warned in
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6144 OBJDUMP=$ac_ct_OBJDUMP
6147 OBJDUMP="$ac_cv_prog_OBJDUMP"
6150 test -z "$OBJDUMP" && OBJDUMP=objdump
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6161 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6162 if ${lt_cv_deplibs_check_method+:} false; then :
6163 $as_echo_n "(cached) " >&6
6165 lt_cv_file_magic_cmd='$MAGIC_CMD'
6166 lt_cv_file_magic_test_file=
6167 lt_cv_deplibs_check_method='unknown'
6168 # Need to set the preceding variable on all platforms that support
6169 # interlibrary dependencies.
6170 # 'none' -- dependencies not supported.
6171 # `unknown' -- same as none, but documents that we really don't know.
6172 # 'pass_all' -- all dependencies passed with no checks.
6173 # 'test_compile' -- check by making test program.
6174 # 'file_magic [[regex]]' -- check by looking for files in library path
6175 # which responds to the $file_magic_cmd with a given extended regex.
6176 # If you have `file' or equivalent on your system and you're not sure
6177 # whether `pass_all' will *always* work, you probably want this one.
6181 lt_cv_deplibs_check_method=pass_all
6185 lt_cv_deplibs_check_method=pass_all
6189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6190 lt_cv_file_magic_cmd='/usr/bin/file -L'
6191 lt_cv_file_magic_test_file=/shlib/libc.so
6195 # func_win32_libid is a shell function defined in ltmain.sh
6196 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6197 lt_cv_file_magic_cmd='func_win32_libid'
6201 # Base MSYS/MinGW do not provide the 'file' command needed by
6202 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6203 # unless we find 'file', for example because we are cross-compiling.
6204 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6205 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6206 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6207 lt_cv_file_magic_cmd='func_win32_libid'
6209 # Keep this pattern in sync with the one in func_win32_libid.
6210 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6211 lt_cv_file_magic_cmd='$OBJDUMP -f'
6216 # use the weaker test based on 'objdump'. See mingw*.
6217 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6218 lt_cv_file_magic_cmd='$OBJDUMP -f'
6221 darwin* | rhapsody*)
6222 lt_cv_deplibs_check_method=pass_all
6225 freebsd* | dragonfly*)
6226 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6229 # Not sure whether the presence of OpenBSD here was a mistake.
6230 # Let's accept both of them until this is cleared up.
6231 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6232 lt_cv_file_magic_cmd=/usr/bin/file
6233 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6237 lt_cv_deplibs_check_method=pass_all
6242 lt_cv_deplibs_check_method=pass_all
6246 lt_cv_deplibs_check_method=pass_all
6249 hpux10.20* | hpux11*)
6250 lt_cv_file_magic_cmd=/usr/bin/file
6253 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6254 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6257 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]'
6258 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6261 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6262 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6268 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6272 irix5* | irix6* | nonstopux*)
6274 *-32|*"-32 ") libmagic=32-bit;;
6275 *-n32|*"-n32 ") libmagic=N32;;
6276 *-64|*"-64 ") libmagic=64-bit;;
6277 *) libmagic=never-match;;
6279 lt_cv_deplibs_check_method=pass_all
6282 # This must be glibc/ELF.
6283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6284 lt_cv_deplibs_check_method=pass_all
6287 netbsd* | netbsdelf*-gnu)
6288 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6296 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6297 lt_cv_file_magic_cmd=/usr/bin/file
6298 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6302 lt_cv_deplibs_check_method=pass_all
6306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6313 osf3* | osf4* | osf5*)
6314 lt_cv_deplibs_check_method=pass_all
6318 lt_cv_deplibs_check_method=pass_all
6322 lt_cv_deplibs_check_method=pass_all
6325 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6326 lt_cv_deplibs_check_method=pass_all
6330 case $host_vendor in
6332 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]'
6333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6336 lt_cv_deplibs_check_method=pass_all
6339 lt_cv_file_magic_cmd='/bin/file'
6340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6343 lt_cv_file_magic_cmd='/bin/file'
6344 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6345 lt_cv_file_magic_test_file=/lib/libc.so
6348 lt_cv_deplibs_check_method=pass_all
6351 lt_cv_deplibs_check_method=pass_all
6357 lt_cv_deplibs_check_method=pass_all
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6363 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6367 if test "$build" = "$host"; then
6370 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6373 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6379 file_magic_cmd=$lt_cv_file_magic_cmd
6380 deplibs_check_method=$lt_cv_deplibs_check_method
6381 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_DLLTOOL+:} false; then :
6410 $as_echo_n "(cached) " >&6
6412 if test -n "$DLLTOOL"; then
6413 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 DLLTOOL=$ac_cv_prog_DLLTOOL
6433 if test -n "$DLLTOOL"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6435 $as_echo "$DLLTOOL" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6443 if test -z "$ac_cv_prog_DLLTOOL"; then
6444 ac_ct_DLLTOOL=$DLLTOOL
6445 # Extract the first word of "dlltool", so it can be a program name with args.
6446 set dummy dlltool; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6450 $as_echo_n "(cached) " >&6
6452 if test -n "$ac_ct_DLLTOOL"; then
6453 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6473 if test -n "$ac_ct_DLLTOOL"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6475 $as_echo "$ac_ct_DLLTOOL" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6481 if test "x$ac_ct_DLLTOOL" = x; then
6484 case $cross_compiling:$ac_tool_warned in
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6488 ac_tool_warned=yes ;;
6490 DLLTOOL=$ac_ct_DLLTOOL
6493 DLLTOOL="$ac_cv_prog_DLLTOOL"
6496 test -z "$DLLTOOL" && DLLTOOL=dlltool
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6508 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6509 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6510 $as_echo_n "(cached) " >&6
6512 lt_cv_sharedlib_from_linklib_cmd='unknown'
6515 cygwin* | mingw* | pw32* | cegcc*)
6516 # two different shell functions defined in ltmain.sh
6517 # decide which to use based on capabilities of $DLLTOOL
6518 case `$DLLTOOL --help 2>&1` in
6519 *--identify-strict*)
6520 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6523 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6528 # fallback: assume linklib IS sharedlib
6529 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6535 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6536 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6537 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6545 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_AR+:} false; then :
6553 $as_echo_n "(cached) " >&6
6555 if test -n "$AR"; then
6556 ac_cv_prog_AR="$AR" # Let the user override the test.
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 if test -n "$AR"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6578 $as_echo "$AR" >&6; }
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6585 test -n "$AR" && break
6588 if test -z "$AR"; then
6592 # Extract the first word of "$ac_prog", so it can be a program name with args.
6593 set dummy $ac_prog; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6597 $as_echo_n "(cached) " >&6
6599 if test -n "$ac_ct_AR"; then
6600 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_ac_ct_AR="$ac_prog"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6620 if test -n "$ac_ct_AR"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6622 $as_echo "$ac_ct_AR" >&6; }
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6629 test -n "$ac_ct_AR" && break
6632 if test "x$ac_ct_AR" = x; then
6635 case $cross_compiling:$ac_tool_warned in
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6639 ac_tool_warned=yes ;;
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6659 $as_echo_n "checking for archiver @FILE support... " >&6; }
6660 if ${lt_cv_ar_at_file+:} false; then :
6661 $as_echo_n "(cached) " >&6
6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6675 if ac_fn_c_try_compile "$LINENO"; then :
6676 echo conftest.$ac_objext > conftest.lst
6677 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6678 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6679 (eval $lt_ar_try) 2>&5
6681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6682 test $ac_status = 0; }
6683 if test "$ac_status" -eq 0; then
6684 # Ensure the archiver fails upon bogus file names.
6685 rm -f conftest.$ac_objext libconftest.a
6686 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6687 (eval $lt_ar_try) 2>&5
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 test $ac_status = 0; }
6691 if test "$ac_status" -ne 0; then
6695 rm -f conftest.* libconftest.a
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6702 $as_echo "$lt_cv_ar_at_file" >&6; }
6704 if test "x$lt_cv_ar_at_file" = xno; then
6707 archiver_list_spec=$lt_cv_ar_at_file
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}strip; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if ${ac_cv_prog_STRIP+:} false; then :
6722 $as_echo_n "(cached) " >&6
6724 if test -n "$STRIP"; then
6725 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 STRIP=$ac_cv_prog_STRIP
6745 if test -n "$STRIP"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6747 $as_echo "$STRIP" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_STRIP"; then
6757 # Extract the first word of "strip", so it can be a program name with args.
6758 set dummy strip; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6762 $as_echo_n "(cached) " >&6
6764 if test -n "$ac_ct_STRIP"; then
6765 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_STRIP="strip"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 $as_echo "$ac_ct_STRIP" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_STRIP" = x; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6805 STRIP="$ac_cv_prog_STRIP"
6808 test -z "$STRIP" && STRIP=:
6815 if test -n "$ac_tool_prefix"; then
6816 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_RANLIB+:} false; then :
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$RANLIB"; then
6824 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 RANLIB=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 $as_echo "$RANLIB" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855 ac_ct_RANLIB=$RANLIB
6856 # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6861 $as_echo_n "(cached) " >&6
6863 if test -n "$ac_ct_RANLIB"; then
6864 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_ac_ct_RANLIB="ranlib"
6874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6884 if test -n "$ac_ct_RANLIB"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6886 $as_echo "$ac_ct_RANLIB" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6892 if test "x$ac_ct_RANLIB" = x; then
6895 case $cross_compiling:$ac_tool_warned in
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned=yes ;;
6901 RANLIB=$ac_ct_RANLIB
6904 RANLIB="$ac_cv_prog_RANLIB"
6907 test -z "$RANLIB" && RANLIB=:
6914 # Determine commands to create old-style static archives.
6915 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6916 old_postinstall_cmds='chmod 644 $oldlib'
6917 old_postuninstall_cmds=
6919 if test -n "$RANLIB"; then
6922 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6925 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6928 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6933 lock_old_archive_extraction=yes ;;
6935 lock_old_archive_extraction=no ;;
6976 # If no C compiler was specified, use CC.
6979 # If no C compiler flags were specified, use CFLAGS.
6980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6982 # Allow CC to be a program name with arguments.
6986 # Check for command to grab the raw symbol name followed by C symbol from nm.
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6988 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6989 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6990 $as_echo_n "(cached) " >&6
6993 # These are sane defaults that work on at least a few old systems.
6994 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6996 # Character class describing NM global symbol codes.
6997 symcode='[BCDEGRST]'
6999 # Regexp to match symbols that can be accessed directly from C.
7000 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7002 # Define system-specific variables.
7007 cygwin* | mingw* | pw32* | cegcc*)
7008 symcode='[ABCDGISTW]'
7011 if test "$host_cpu" = ia64; then
7012 symcode='[ABCDEGRST]'
7016 symcode='[BCDEGRST]'
7019 symcode='[BCDEGQRST]'
7030 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7038 # If we're using GNU nm, then use its standard symbol codes.
7039 case `$NM -V 2>&1` in
7040 *GNU* | *'with BFD'*)
7041 symcode='[ABCDGIRSTW]' ;;
7044 # Transform an extracted symbol line into a proper C declaration.
7045 # Some systems (esp. on ia64) link data and code symbols differently,
7046 # so use this general approach.
7047 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7049 # Transform an extracted symbol line into symbol name and symbol address
7050 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7051 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'"
7053 # Handle CRLF in mingw tool chain
7057 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7061 # Try without a prefix underscore, then with it.
7062 for ac_symprfx in "" "_"; do
7064 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7065 symxfrm="\\1 $ac_symprfx\\2 \\2"
7067 # Write the raw and C identifiers.
7068 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7069 # Fake it for dumpbin and say T for any non-static function
7070 # and D for any global variable.
7071 # Also find C++ and __fastcall symbols from MSVC++,
7072 # which start with @ or ?.
7073 lt_cv_sys_global_symbol_pipe="$AWK '"\
7074 " {last_section=section; section=\$ 3};"\
7075 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7076 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7077 " \$ 0!~/External *\|/{next};"\
7078 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7079 " {if(hide[section]) next};"\
7080 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7081 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7082 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7083 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7084 " ' prfx=^$ac_symprfx"
7086 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7088 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7090 # Check to see that the pipe works correctly.
7094 cat > conftest.$ac_ext <<_LT_EOF
7099 void nm_test_func(void);
7100 void nm_test_func(void){}
7104 int main(){nm_test_var='a';nm_test_func();return(0);}
7107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7108 (eval $ac_compile) 2>&5
7110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7111 test $ac_status = 0; }; then
7112 # Now try to grab the symbols.
7114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7115 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7118 test $ac_status = 0; } && test -s "$nlist"; then
7119 # Try sorting and uniquifying the output.
7120 if sort "$nlist" | uniq > "$nlist"T; then
7121 mv -f "$nlist"T "$nlist"
7126 # Make sure that we snagged all the symbols we need.
7127 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7128 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7129 cat <<_LT_EOF > conftest.$ac_ext
7130 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7131 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7132 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7133 relocations are performed -- see ld's documentation on pseudo-relocs. */
7134 # define LT_DLSYM_CONST
7135 #elif defined(__osf__)
7136 /* This system does not cope well with relocations in const data. */
7137 # define LT_DLSYM_CONST
7139 # define LT_DLSYM_CONST const
7147 # Now generate the symbol file.
7148 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7150 cat <<_LT_EOF >> conftest.$ac_ext
7152 /* The mapping between symbol names and symbols. */
7153 LT_DLSYM_CONST struct {
7157 lt__PROGRAM__LTX_preloaded_symbols[] =
7159 { "@PROGRAM@", (void *) 0 },
7161 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7162 cat <<\_LT_EOF >> conftest.$ac_ext
7166 /* This works around a problem in FreeBSD linker */
7167 #ifdef FREEBSD_WORKAROUND
7168 static const void *lt_preloaded_setup() {
7169 return lt__PROGRAM__LTX_preloaded_symbols;
7177 # Now try linking the two files.
7178 mv conftest.$ac_objext conftstm.$ac_objext
7179 lt_globsym_save_LIBS=$LIBS
7180 lt_globsym_save_CFLAGS=$CFLAGS
7181 LIBS="conftstm.$ac_objext"
7182 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7184 (eval $ac_link) 2>&5
7186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7187 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7190 LIBS=$lt_globsym_save_LIBS
7191 CFLAGS=$lt_globsym_save_CFLAGS
7193 echo "cannot find nm_test_func in $nlist" >&5
7196 echo "cannot find nm_test_var in $nlist" >&5
7199 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7202 echo "$progname: failed program was:" >&5
7203 cat conftest.$ac_ext >&5
7205 rm -rf conftest* conftst*
7207 # Do not use the global_symbol_pipe unless it works.
7208 if test "$pipe_works" = yes; then
7211 lt_cv_sys_global_symbol_pipe=
7217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7218 lt_cv_sys_global_symbol_to_cdecl=
7220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7222 $as_echo "failed" >&6; }
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7225 $as_echo "ok" >&6; }
7228 # Response file support.
7229 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7230 nm_file_list_spec='@'
7231 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7232 nm_file_list_spec='@'
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7262 $as_echo_n "checking for sysroot... " >&6; }
7264 # Check whether --with-sysroot was given.
7265 if test "${with_sysroot+set}" = set; then :
7266 withval=$with_sysroot;
7273 case ${with_sysroot} in #(
7275 if test "$GCC" = yes; then
7276 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7280 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7286 $as_echo "${with_sysroot}" >&6; }
7287 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7292 $as_echo "${lt_sysroot:-no}" >&6; }
7298 # Check whether --enable-libtool-lock was given.
7299 if test "${enable_libtool_lock+set}" = set; then :
7300 enableval=$enable_libtool_lock;
7303 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7305 # Some flags need to be propagated to the compiler or linker for good
7309 # Find out which ABI we are using.
7310 echo 'int i;' > conftest.$ac_ext
7311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312 (eval $ac_compile) 2>&5
7314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7315 test $ac_status = 0; }; then
7316 case `/usr/bin/file conftest.$ac_objext` in
7328 # Find out which ABI we are using.
7329 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7331 (eval $ac_compile) 2>&5
7333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7334 test $ac_status = 0; }; then
7335 if test "$lt_cv_prog_gnu_ld" = yes; then
7336 case `/usr/bin/file conftest.$ac_objext` in
7338 LD="${LD-ld} -melf32bsmip"
7341 LD="${LD-ld} -melf32bmipn32"
7344 LD="${LD-ld} -melf64bmip"
7348 case `/usr/bin/file conftest.$ac_objext` in
7364 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7365 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7366 # Find out which ABI we are using.
7367 echo 'int i;' > conftest.$ac_ext
7368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369 (eval $ac_compile) 2>&5
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7372 test $ac_status = 0; }; then
7373 case `/usr/bin/file conftest.o` in
7376 x86_64-*kfreebsd*-gnu)
7377 LD="${LD-ld} -m elf_i386_fbsd"
7380 LD="${LD-ld} -m elf_i386"
7382 ppc64-*linux*|powerpc64-*linux*)
7383 LD="${LD-ld} -m elf32ppclinux"
7386 LD="${LD-ld} -m elf_s390"
7389 LD="${LD-ld} -m elf32_sparc"
7395 x86_64-*kfreebsd*-gnu)
7396 LD="${LD-ld} -m elf_x86_64_fbsd"
7399 LD="${LD-ld} -m elf_x86_64"
7401 ppc*-*linux*|powerpc*-*linux*)
7402 LD="${LD-ld} -m elf64ppc"
7404 s390*-*linux*|s390*-*tpf*)
7405 LD="${LD-ld} -m elf64_s390"
7408 LD="${LD-ld} -m elf64_sparc"
7418 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7419 SAVE_CFLAGS="$CFLAGS"
7420 CFLAGS="$CFLAGS -belf"
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7422 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7423 if ${lt_cv_cc_needs_belf+:} false; then :
7424 $as_echo_n "(cached) " >&6
7427 ac_cpp='$CPP $CPPFLAGS'
7428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7443 if ac_fn_c_try_link "$LINENO"; then :
7444 lt_cv_cc_needs_belf=yes
7446 lt_cv_cc_needs_belf=no
7448 rm -f core conftest.err conftest.$ac_objext \
7449 conftest$ac_exeext conftest.$ac_ext
7451 ac_cpp='$CPP $CPPFLAGS'
7452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7458 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7459 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7460 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7461 CFLAGS="$SAVE_CFLAGS"
7465 # Find out which ABI we are using.
7466 echo 'int i;' > conftest.$ac_ext
7467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7468 (eval $ac_compile) 2>&5
7470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7471 test $ac_status = 0; }; then
7472 case `/usr/bin/file conftest.o` in
7474 case $lt_cv_prog_gnu_ld in
7478 LD="${LD-ld} -m elf_x86_64"
7481 LD="${LD-ld} -m elf64_sparc"
7484 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7485 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7490 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7502 need_locks="$enable_libtool_lock"
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}mt; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$MANIFEST_TOOL"; then
7513 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7533 if test -n "$MANIFEST_TOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7535 $as_echo "$MANIFEST_TOOL" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7543 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7544 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7545 # Extract the first word of "mt", so it can be a program name with args.
7546 set dummy mt; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7550 $as_echo_n "(cached) " >&6
7552 if test -n "$ac_ct_MANIFEST_TOOL"; then
7553 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7573 if test -n "$ac_ct_MANIFEST_TOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7575 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7581 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7584 case $cross_compiling:$ac_tool_warned in
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7590 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7593 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7596 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7598 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7599 if ${lt_cv_path_mainfest_tool+:} false; then :
7600 $as_echo_n "(cached) " >&6
7602 lt_cv_path_mainfest_tool=no
7603 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7604 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7605 cat conftest.err >&5
7606 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7607 lt_cv_path_mainfest_tool=yes
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7612 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7613 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7623 rhapsody* | darwin*)
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$DSYMUTIL"; then
7633 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7653 if test -n "$DSYMUTIL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7655 $as_echo "$DSYMUTIL" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7663 if test -z "$ac_cv_prog_DSYMUTIL"; then
7664 ac_ct_DSYMUTIL=$DSYMUTIL
7665 # Extract the first word of "dsymutil", so it can be a program name with args.
7666 set dummy dsymutil; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7670 $as_echo_n "(cached) " >&6
7672 if test -n "$ac_ct_DSYMUTIL"; then
7673 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7682 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7693 if test -n "$ac_ct_DSYMUTIL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7695 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7701 if test "x$ac_ct_DSYMUTIL" = x; then
7704 case $cross_compiling:$ac_tool_warned in
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7710 DSYMUTIL=$ac_ct_DSYMUTIL
7713 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_NMEDIT+:} false; then :
7722 $as_echo_n "(cached) " >&6
7724 if test -n "$NMEDIT"; then
7725 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 NMEDIT=$ac_cv_prog_NMEDIT
7745 if test -n "$NMEDIT"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7747 $as_echo "$NMEDIT" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7755 if test -z "$ac_cv_prog_NMEDIT"; then
7756 ac_ct_NMEDIT=$NMEDIT
7757 # Extract the first word of "nmedit", so it can be a program name with args.
7758 set dummy nmedit; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7762 $as_echo_n "(cached) " >&6
7764 if test -n "$ac_ct_NMEDIT"; then
7765 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7785 if test -n "$ac_ct_NMEDIT"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7787 $as_echo "$ac_ct_NMEDIT" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 if test "x$ac_ct_NMEDIT" = x; then
7796 case $cross_compiling:$ac_tool_warned in
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7802 NMEDIT=$ac_ct_NMEDIT
7805 NMEDIT="$ac_cv_prog_NMEDIT"
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812 $as_echo_n "checking for $ac_word... " >&6; }
7813 if ${ac_cv_prog_LIPO+:} false; then :
7814 $as_echo_n "(cached) " >&6
7816 if test -n "$LIPO"; then
7817 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 LIPO=$ac_cv_prog_LIPO
7837 if test -n "$LIPO"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7839 $as_echo "$LIPO" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7847 if test -z "$ac_cv_prog_LIPO"; then
7849 # Extract the first word of "lipo", so it can be a program name with args.
7850 set dummy lipo; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7854 $as_echo_n "(cached) " >&6
7856 if test -n "$ac_ct_LIPO"; then
7857 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_ac_ct_LIPO="lipo"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7877 if test -n "$ac_ct_LIPO"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7879 $as_echo "$ac_ct_LIPO" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7885 if test "x$ac_ct_LIPO" = x; then
7888 case $cross_compiling:$ac_tool_warned in
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7892 ac_tool_warned=yes ;;
7897 LIPO="$ac_cv_prog_LIPO"
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}otool; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if ${ac_cv_prog_OTOOL+:} false; then :
7906 $as_echo_n "(cached) " >&6
7908 if test -n "$OTOOL"; then
7909 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 OTOOL=$ac_cv_prog_OTOOL
7929 if test -n "$OTOOL"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7931 $as_echo "$OTOOL" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7939 if test -z "$ac_cv_prog_OTOOL"; then
7941 # Extract the first word of "otool", so it can be a program name with args.
7942 set dummy otool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7946 $as_echo_n "(cached) " >&6
7948 if test -n "$ac_ct_OTOOL"; then
7949 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_OTOOL="otool"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7969 if test -n "$ac_ct_OTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7971 $as_echo "$ac_ct_OTOOL" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7977 if test "x$ac_ct_OTOOL" = x; then
7980 case $cross_compiling:$ac_tool_warned in
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984 ac_tool_warned=yes ;;
7989 OTOOL="$ac_cv_prog_OTOOL"
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_OTOOL64+:} false; then :
7998 $as_echo_n "(cached) " >&6
8000 if test -n "$OTOOL64"; then
8001 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 OTOOL64=$ac_cv_prog_OTOOL64
8021 if test -n "$OTOOL64"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8023 $as_echo "$OTOOL64" >&6; }
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8031 if test -z "$ac_cv_prog_OTOOL64"; then
8032 ac_ct_OTOOL64=$OTOOL64
8033 # Extract the first word of "otool64", so it can be a program name with args.
8034 set dummy otool64; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8038 $as_echo_n "(cached) " >&6
8040 if test -n "$ac_ct_OTOOL64"; then
8041 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_ac_ct_OTOOL64="otool64"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8061 if test -n "$ac_ct_OTOOL64"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8063 $as_echo "$ac_ct_OTOOL64" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8069 if test "x$ac_ct_OTOOL64" = x; then
8072 case $cross_compiling:$ac_tool_warned in
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076 ac_tool_warned=yes ;;
8078 OTOOL64=$ac_ct_OTOOL64
8081 OTOOL64="$ac_cv_prog_OTOOL64"
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8111 $as_echo_n "checking for -single_module linker flag... " >&6; }
8112 if ${lt_cv_apple_cc_single_mod+:} false; then :
8113 $as_echo_n "(cached) " >&6
8115 lt_cv_apple_cc_single_mod=no
8116 if test -z "${LT_MULTI_MODULE}"; then
8117 # By default we will add the -single_module flag. You can override
8118 # by either setting the environment variable LT_MULTI_MODULE
8119 # non-empty at configure time, or by adding -multi_module to the
8121 rm -rf libconftest.dylib*
8122 echo "int foo(void){return 1;}" > conftest.c
8123 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8124 -dynamiclib -Wl,-single_module conftest.c" >&5
8125 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8126 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8128 # If there is a non-empty error log, and "single_module"
8129 # appears in it, assume the flag caused a linker warning
8130 if test -s conftest.err && $GREP single_module conftest.err; then
8131 cat conftest.err >&5
8132 # Otherwise, if the output was created with a 0 exit code from
8133 # the compiler, it worked.
8134 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8135 lt_cv_apple_cc_single_mod=yes
8137 cat conftest.err >&5
8139 rm -rf libconftest.dylib*
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8144 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8147 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8148 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8149 $as_echo_n "(cached) " >&6
8151 lt_cv_ld_exported_symbols_list=no
8152 save_LDFLAGS=$LDFLAGS
8153 echo "_main" > conftest.sym
8154 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8156 /* end confdefs.h. */
8166 if ac_fn_c_try_link "$LINENO"; then :
8167 lt_cv_ld_exported_symbols_list=yes
8169 lt_cv_ld_exported_symbols_list=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 LDFLAGS="$save_LDFLAGS"
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8177 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8180 $as_echo_n "checking for -force_load linker flag... " >&6; }
8181 if ${lt_cv_ld_force_load+:} false; then :
8182 $as_echo_n "(cached) " >&6
8184 lt_cv_ld_force_load=no
8185 cat > conftest.c << _LT_EOF
8186 int forced_loaded() { return 2;}
8188 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8189 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8190 echo "$AR cru libconftest.a conftest.o" >&5
8191 $AR cru libconftest.a conftest.o 2>&5
8192 echo "$RANLIB libconftest.a" >&5
8193 $RANLIB libconftest.a 2>&5
8194 cat > conftest.c << _LT_EOF
8195 int main() { return 0;}
8197 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8198 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8200 if test -s conftest.err && $GREP force_load conftest.err; then
8201 cat conftest.err >&5
8202 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8203 lt_cv_ld_force_load=yes
8205 cat conftest.err >&5
8207 rm -f conftest.err libconftest.a conftest conftest.c
8208 rm -rf conftest.dSYM
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8212 $as_echo "$lt_cv_ld_force_load" >&6; }
8214 rhapsody* | darwin1.[012])
8215 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8217 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8218 darwin*) # darwin 5.x on
8219 # if running on 10.5 or later, the deployment target defaults
8220 # to the OS version, if on x86, and 10.4, the deployment
8221 # target defaults to 10.4. Don't you love it?
8222 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8223 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8224 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8226 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8228 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8232 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8233 _lt_dar_single_mod='$single_module'
8235 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8236 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8238 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8240 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8241 _lt_dsymutil='~$DSYMUTIL $lib || :'
8248 for ac_header in dlfcn.h
8250 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8252 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8253 cat >>confdefs.h <<_ACEOF
8254 #define HAVE_DLFCN_H 1
8267 # Check whether --enable-static was given.
8268 if test "${enable_static+set}" = set; then :
8269 enableval=$enable_static; p=${PACKAGE-default}
8271 yes) enable_static=yes ;;
8272 no) enable_static=no ;;
8275 # Look at the argument we got. We use all the common list separators.
8276 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8277 for pkg in $enableval; do
8279 if test "X$pkg" = "X$p"; then
8303 # Check whether --enable-shared was given.
8304 if test "${enable_shared+set}" = set; then :
8305 enableval=$enable_shared; p=${PACKAGE-default}
8307 yes) enable_shared=yes ;;
8308 no) enable_shared=no ;;
8311 # Look at the argument we got. We use all the common list separators.
8312 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8313 for pkg in $enableval; do
8315 if test "X$pkg" = "X$p"; then
8336 # Check whether --with-pic was given.
8337 if test "${with_pic+set}" = set; then :
8338 withval=$with_pic; lt_p=${PACKAGE-default}
8340 yes|no) pic_mode=$withval ;;
8343 # Look at the argument we got. We use all the common list separators.
8344 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8345 for lt_pkg in $withval; do
8347 if test "X$lt_pkg" = "X$lt_p"; then
8359 test -z "$pic_mode" && pic_mode=default
8367 # Check whether --enable-fast-install was given.
8368 if test "${enable_fast_install+set}" = set; then :
8369 enableval=$enable_fast_install; p=${PACKAGE-default}
8371 yes) enable_fast_install=yes ;;
8372 no) enable_fast_install=no ;;
8374 enable_fast_install=no
8375 # Look at the argument we got. We use all the common list separators.
8376 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8377 for pkg in $enableval; do
8379 if test "X$pkg" = "X$p"; then
8380 enable_fast_install=yes
8387 enable_fast_install=yes
8400 # This can be used to rebuild libtool when needed
8401 LIBTOOL_DEPS="$ltmain"
8403 # Always use our own libtool.
8404 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8435 test -z "$LN_S" && LN_S="ln -s"
8450 if test -n "${ZSH_VERSION+set}" ; then
8451 setopt NO_GLOB_SUBST
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8455 $as_echo_n "checking for objdir... " >&6; }
8456 if ${lt_cv_objdir+:} false; then :
8457 $as_echo_n "(cached) " >&6
8459 rm -f .libs 2>/dev/null
8460 mkdir .libs 2>/dev/null
8461 if test -d .libs; then
8464 # MS-DOS does not allow filenames that begin with a dot.
8467 rmdir .libs 2>/dev/null
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8470 $as_echo "$lt_cv_objdir" >&6; }
8471 objdir=$lt_cv_objdir
8477 cat >>confdefs.h <<_ACEOF
8478 #define LT_OBJDIR "$lt_cv_objdir/"
8486 # AIX sometimes has problems with the GCC collect2 program. For some
8487 # reason, if we set the COLLECT_NAMES environment variable, the problems
8488 # vanish in a puff of smoke.
8489 if test "X${COLLECT_NAMES+set}" != Xset; then
8491 export COLLECT_NAMES
8498 can_build_shared=yes
8500 # All known linkers require a `.a' archive for static linking (except MSVC,
8501 # which needs '.lib').
8504 with_gnu_ld="$lt_cv_prog_gnu_ld"
8507 old_CFLAGS="$CFLAGS"
8509 # Set sane defaults for various variables
8510 test -z "$CC" && CC=cc
8511 test -z "$LTCC" && LTCC=$CC
8512 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8513 test -z "$LD" && LD=ld
8514 test -z "$ac_objext" && ac_objext=o
8516 for cc_temp in $compiler""; do
8518 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8519 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8524 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8527 # Only perform the check for file, if the check method requires it
8528 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8529 case $deplibs_check_method in
8531 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8533 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8534 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8535 $as_echo_n "(cached) " >&6
8539 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8542 lt_save_MAGIC_CMD="$MAGIC_CMD"
8543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8544 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8545 for ac_dir in $ac_dummy; do
8547 test -z "$ac_dir" && ac_dir=.
8548 if test -f $ac_dir/${ac_tool_prefix}file; then
8549 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8550 if test -n "$file_magic_test_file"; then
8551 case $deplibs_check_method in
8553 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8555 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8556 $EGREP "$file_magic_regex" > /dev/null; then
8561 *** Warning: the command libtool uses to detect shared libraries,
8562 *** $file_magic_cmd, produces output that libtool cannot recognize.
8563 *** The result is that libtool may fail to recognize shared libraries
8564 *** as such. This will affect the creation of libtool libraries that
8565 *** depend on shared libraries, but programs linked with such libtool
8566 *** libraries will work regardless of this problem. Nevertheless, you
8567 *** may want to report the problem to your system manager and/or to
8568 *** bug-libtool@gnu.org
8578 MAGIC_CMD="$lt_save_MAGIC_CMD"
8583 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8584 if test -n "$MAGIC_CMD"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8586 $as_echo "$MAGIC_CMD" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 $as_echo "no" >&6; }
8596 if test -z "$lt_cv_path_MAGIC_CMD"; then
8597 if test -n "$ac_tool_prefix"; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8599 $as_echo_n "checking for file... " >&6; }
8600 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8601 $as_echo_n "(cached) " >&6
8605 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8608 lt_save_MAGIC_CMD="$MAGIC_CMD"
8609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8610 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8611 for ac_dir in $ac_dummy; do
8613 test -z "$ac_dir" && ac_dir=.
8614 if test -f $ac_dir/file; then
8615 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8616 if test -n "$file_magic_test_file"; then
8617 case $deplibs_check_method in
8619 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8620 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8621 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8622 $EGREP "$file_magic_regex" > /dev/null; then
8627 *** Warning: the command libtool uses to detect shared libraries,
8628 *** $file_magic_cmd, produces output that libtool cannot recognize.
8629 *** The result is that libtool may fail to recognize shared libraries
8630 *** as such. This will affect the creation of libtool libraries that
8631 *** depend on shared libraries, but programs linked with such libtool
8632 *** libraries will work regardless of this problem. Nevertheless, you
8633 *** may want to report the problem to your system manager and/or to
8634 *** bug-libtool@gnu.org
8644 MAGIC_CMD="$lt_save_MAGIC_CMD"
8649 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8650 if test -n "$MAGIC_CMD"; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8652 $as_echo "$MAGIC_CMD" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8655 $as_echo "no" >&6; }
8668 # Use C for the default configuration in the libtool script
8672 ac_cpp='$CPP $CPPFLAGS'
8673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8678 # Source file extension for C test sources.
8681 # Object file extension for compiled C test sources.
8685 # Code to be used in simple compile tests
8686 lt_simple_compile_test_code="int some_variable = 0;"
8688 # Code to be used in simple link tests
8689 lt_simple_link_test_code='int main(){return(0);}'
8697 # If no C compiler was specified, use CC.
8700 # If no C compiler flags were specified, use CFLAGS.
8701 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8703 # Allow CC to be a program name with arguments.
8706 # Save the default compiler, since it gets overwritten when the other
8707 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8708 compiler_DEFAULT=$CC
8710 # save warnings/boilerplate of simple test code
8711 ac_outfile=conftest.$ac_objext
8712 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8713 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8714 _lt_compiler_boilerplate=`cat conftest.err`
8717 ac_outfile=conftest.$ac_objext
8718 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8719 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8720 _lt_linker_boilerplate=`cat conftest.err`
8725 ## There is no encapsulation within the following macros, do not change
8726 ## the running order or otherwise move them around unless you know exactly
8727 ## what you are doing...
8728 if test -n "$compiler"; then
8730 lt_prog_compiler_no_builtin_flag=
8732 if test "$GCC" = yes; then
8733 case $cc_basename in
8735 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8737 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8741 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8742 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8743 $as_echo_n "(cached) " >&6
8745 lt_cv_prog_compiler_rtti_exceptions=no
8746 ac_outfile=conftest.$ac_objext
8747 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8748 lt_compiler_flag="-fno-rtti -fno-exceptions"
8749 # Insert the option either (1) after the last *FLAGS variable, or
8750 # (2) before a word containing "conftest.", or (3) at the end.
8751 # Note that $ac_compile itself does not contain backslashes and begins
8752 # with a dollar sign (not a hyphen), so the echo should work correctly.
8753 # The option is referenced via a variable to avoid confusing sed.
8754 lt_compile=`echo "$ac_compile" | $SED \
8755 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8756 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8757 -e 's:$: $lt_compiler_flag:'`
8758 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8759 (eval "$lt_compile" 2>conftest.err)
8761 cat conftest.err >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 if (exit $ac_status) && test -s "$ac_outfile"; then
8764 # The compiler can only warn and ignore the option if not recognized
8765 # So say no if there are warnings other than the usual output.
8766 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8767 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8768 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8769 lt_cv_prog_compiler_rtti_exceptions=yes
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8776 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8778 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8779 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8791 lt_prog_compiler_wl=
8792 lt_prog_compiler_pic=
8793 lt_prog_compiler_static=
8796 if test "$GCC" = yes; then
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_static='-static'
8802 # All AIX code is PIC.
8803 if test "$host_cpu" = ia64; then
8804 # AIX 5 now supports IA64 processor
8805 lt_prog_compiler_static='-Bstatic'
8812 # see comment about AmigaOS4 .so support
8813 lt_prog_compiler_pic='-fPIC'
8816 # FIXME: we need at least 68020 code to build shared libraries, but
8817 # adding the `-m68020' flag to GCC prevents building anything better,
8819 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8824 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8825 # PIC is the default for these OSes.
8828 mingw* | cygwin* | pw32* | os2* | cegcc*)
8829 # This hack is so that the source file can tell whether it is being
8830 # built for inclusion in a dll (and should export symbols for example).
8831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8832 # (--disable-auto-import) libraries
8833 lt_prog_compiler_pic='-DDLL_EXPORT'
8836 darwin* | rhapsody*)
8837 # PIC is the default on this platform
8838 # Common symbols not allowed in MH_DYLIB files
8839 lt_prog_compiler_pic='-fno-common'
8843 # PIC is the default for Haiku.
8844 # The "-static" flag exists, but is broken.
8845 lt_prog_compiler_static=
8849 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8850 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8851 # sets the default TLS model and affects inlining.
8857 lt_prog_compiler_pic='-fPIC'
8863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8864 # Instead, we relocate shared libraries at runtime.
8868 # Just because we use GCC doesn't mean we suddenly get shared libraries
8869 # on systems that don't support them.
8870 lt_prog_compiler_can_build_shared=no
8875 # QNX uses GNU C++, but need to define -shared option too, otherwise
8877 lt_prog_compiler_pic='-fPIC -shared'
8881 if test -d /usr/nec; then
8882 lt_prog_compiler_pic=-Kconform_pic
8887 lt_prog_compiler_pic='-fPIC'
8891 case $cc_basename in
8892 nvcc*) # Cuda Compiler Driver 2.2
8893 lt_prog_compiler_wl='-Xlinker '
8894 if test -n "$lt_prog_compiler_pic"; then
8895 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8900 # PORTME Check for flag to pass linker flags through the system compiler.
8903 lt_prog_compiler_wl='-Wl,'
8904 if test "$host_cpu" = ia64; then
8905 # AIX 5 now supports IA64 processor
8906 lt_prog_compiler_static='-Bstatic'
8908 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8912 mingw* | cygwin* | pw32* | os2* | cegcc*)
8913 # This hack is so that the source file can tell whether it is being
8914 # built for inclusion in a dll (and should export symbols for example).
8915 lt_prog_compiler_pic='-DDLL_EXPORT'
8918 hpux9* | hpux10* | hpux11*)
8919 lt_prog_compiler_wl='-Wl,'
8920 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8927 lt_prog_compiler_pic='+Z'
8930 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8931 lt_prog_compiler_static='${wl}-a ${wl}archive'
8934 irix5* | irix6* | nonstopux*)
8935 lt_prog_compiler_wl='-Wl,'
8936 # PIC (with -KPIC) is the default.
8937 lt_prog_compiler_static='-non_shared'
8940 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8941 case $cc_basename in
8942 # old Intel for x86_64 which still supported -KPIC.
8944 lt_prog_compiler_wl='-Wl,'
8945 lt_prog_compiler_pic='-KPIC'
8946 lt_prog_compiler_static='-static'
8948 # icc used to be incompatible with GCC.
8949 # ICC 10 doesn't accept -KPIC any more.
8951 lt_prog_compiler_wl='-Wl,'
8952 lt_prog_compiler_pic='-fPIC'
8953 lt_prog_compiler_static='-static'
8955 # Lahey Fortran 8.1.
8957 lt_prog_compiler_wl='-Wl,'
8958 lt_prog_compiler_pic='--shared'
8959 lt_prog_compiler_static='--static'
8962 # NAG Fortran compiler
8963 lt_prog_compiler_wl='-Wl,-Wl,,'
8964 lt_prog_compiler_pic='-PIC'
8965 lt_prog_compiler_static='-Bstatic'
8967 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8968 # Portland Group compilers (*not* the Pentium gcc compiler,
8969 # which looks to be a dead project)
8970 lt_prog_compiler_wl='-Wl,'
8971 lt_prog_compiler_pic='-fpic'
8972 lt_prog_compiler_static='-Bstatic'
8975 lt_prog_compiler_wl='-Wl,'
8976 # All Alpha code is PIC.
8977 lt_prog_compiler_static='-non_shared'
8979 xl* | bgxl* | bgf* | mpixl*)
8980 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8981 lt_prog_compiler_wl='-Wl,'
8982 lt_prog_compiler_pic='-qpic'
8983 lt_prog_compiler_static='-qstaticlink'
8986 case `$CC -V 2>&1 | sed 5q` in
8987 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8988 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8989 lt_prog_compiler_pic='-KPIC'
8990 lt_prog_compiler_static='-Bstatic'
8991 lt_prog_compiler_wl=''
8993 *Sun\ F* | *Sun*Fortran*)
8994 lt_prog_compiler_pic='-KPIC'
8995 lt_prog_compiler_static='-Bstatic'
8996 lt_prog_compiler_wl='-Qoption ld '
9000 lt_prog_compiler_pic='-KPIC'
9001 lt_prog_compiler_static='-Bstatic'
9002 lt_prog_compiler_wl='-Wl,'
9004 *Intel*\ [CF]*Compiler*)
9005 lt_prog_compiler_wl='-Wl,'
9006 lt_prog_compiler_pic='-fPIC'
9007 lt_prog_compiler_static='-static'
9010 lt_prog_compiler_wl='-Wl,'
9011 lt_prog_compiler_pic='-fpic'
9012 lt_prog_compiler_static='-Bstatic'
9020 lt_prog_compiler_pic='-KPIC'
9021 lt_prog_compiler_static='-Bstatic'
9025 # QNX uses GNU C++, but need to define -shared option too, otherwise
9027 lt_prog_compiler_pic='-fPIC -shared'
9030 osf3* | osf4* | osf5*)
9031 lt_prog_compiler_wl='-Wl,'
9032 # All OSF/1 code is PIC.
9033 lt_prog_compiler_static='-non_shared'
9037 lt_prog_compiler_static='-non_shared'
9041 lt_prog_compiler_pic='-KPIC'
9042 lt_prog_compiler_static='-Bstatic'
9043 case $cc_basename in
9044 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9045 lt_prog_compiler_wl='-Qoption ld ';;
9047 lt_prog_compiler_wl='-Wl,';;
9052 lt_prog_compiler_wl='-Qoption ld '
9053 lt_prog_compiler_pic='-PIC'
9054 lt_prog_compiler_static='-Bstatic'
9057 sysv4 | sysv4.2uw2* | sysv4.3*)
9058 lt_prog_compiler_wl='-Wl,'
9059 lt_prog_compiler_pic='-KPIC'
9060 lt_prog_compiler_static='-Bstatic'
9064 if test -d /usr/nec ;then
9065 lt_prog_compiler_pic='-Kconform_pic'
9066 lt_prog_compiler_static='-Bstatic'
9070 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9071 lt_prog_compiler_wl='-Wl,'
9072 lt_prog_compiler_pic='-KPIC'
9073 lt_prog_compiler_static='-Bstatic'
9077 lt_prog_compiler_wl='-Wl,'
9078 lt_prog_compiler_can_build_shared=no
9082 lt_prog_compiler_pic='-pic'
9083 lt_prog_compiler_static='-Bstatic'
9087 lt_prog_compiler_can_build_shared=no
9093 # For platforms which do not support PIC, -DPIC is meaningless:
9095 lt_prog_compiler_pic=
9098 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9103 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9104 if ${lt_cv_prog_compiler_pic+:} false; then :
9105 $as_echo_n "(cached) " >&6
9107 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9110 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9111 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9114 # Check to make sure the PIC flag actually works.
9116 if test -n "$lt_prog_compiler_pic"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9118 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9119 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9120 $as_echo_n "(cached) " >&6
9122 lt_cv_prog_compiler_pic_works=no
9123 ac_outfile=conftest.$ac_objext
9124 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9125 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9126 # Insert the option either (1) after the last *FLAGS variable, or
9127 # (2) before a word containing "conftest.", or (3) at the end.
9128 # Note that $ac_compile itself does not contain backslashes and begins
9129 # with a dollar sign (not a hyphen), so the echo should work correctly.
9130 # The option is referenced via a variable to avoid confusing sed.
9131 lt_compile=`echo "$ac_compile" | $SED \
9132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134 -e 's:$: $lt_compiler_flag:'`
9135 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9136 (eval "$lt_compile" 2>conftest.err)
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 if (exit $ac_status) && test -s "$ac_outfile"; then
9141 # The compiler can only warn and ignore the option if not recognized
9142 # So say no if there are warnings other than the usual output.
9143 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9144 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9145 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9146 lt_cv_prog_compiler_pic_works=yes
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9153 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9155 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9156 case $lt_prog_compiler_pic in
9158 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9161 lt_prog_compiler_pic=
9162 lt_prog_compiler_can_build_shared=no
9178 # Check to make sure the static flag actually works.
9180 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9182 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9183 if ${lt_cv_prog_compiler_static_works+:} false; then :
9184 $as_echo_n "(cached) " >&6
9186 lt_cv_prog_compiler_static_works=no
9187 save_LDFLAGS="$LDFLAGS"
9188 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9189 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9190 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9191 # The linker can only warn and ignore the option if not recognized
9192 # So say no if there are warnings
9193 if test -s conftest.err; then
9194 # Append any errors to the config.log.
9195 cat conftest.err 1>&5
9196 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9197 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9198 if diff conftest.exp conftest.er2 >/dev/null; then
9199 lt_cv_prog_compiler_static_works=yes
9202 lt_cv_prog_compiler_static_works=yes
9206 LDFLAGS="$save_LDFLAGS"
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9210 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9212 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9215 lt_prog_compiler_static=
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9225 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9226 if ${lt_cv_prog_compiler_c_o+:} false; then :
9227 $as_echo_n "(cached) " >&6
9229 lt_cv_prog_compiler_c_o=no
9230 $RM -r conftest 2>/dev/null
9234 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9236 lt_compiler_flag="-o out/conftest2.$ac_objext"
9237 # Insert the option either (1) after the last *FLAGS variable, or
9238 # (2) before a word containing "conftest.", or (3) at the end.
9239 # Note that $ac_compile itself does not contain backslashes and begins
9240 # with a dollar sign (not a hyphen), so the echo should work correctly.
9241 lt_compile=`echo "$ac_compile" | $SED \
9242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9244 -e 's:$: $lt_compiler_flag:'`
9245 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9246 (eval "$lt_compile" 2>out/conftest.err)
9248 cat out/conftest.err >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9252 # The compiler can only warn and ignore the option if not recognized
9253 # So say no if there are warnings
9254 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9255 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9256 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9257 lt_cv_prog_compiler_c_o=yes
9262 # SGI C++ compiler will create directory out/ii_files/ for
9263 # template instantiation
9264 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9265 $RM out/* && rmdir out
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9272 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9280 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9281 if ${lt_cv_prog_compiler_c_o+:} false; then :
9282 $as_echo_n "(cached) " >&6
9284 lt_cv_prog_compiler_c_o=no
9285 $RM -r conftest 2>/dev/null
9289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9291 lt_compiler_flag="-o out/conftest2.$ac_objext"
9292 # Insert the option either (1) after the last *FLAGS variable, or
9293 # (2) before a word containing "conftest.", or (3) at the end.
9294 # Note that $ac_compile itself does not contain backslashes and begins
9295 # with a dollar sign (not a hyphen), so the echo should work correctly.
9296 lt_compile=`echo "$ac_compile" | $SED \
9297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9299 -e 's:$: $lt_compiler_flag:'`
9300 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9301 (eval "$lt_compile" 2>out/conftest.err)
9303 cat out/conftest.err >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9307 # The compiler can only warn and ignore the option if not recognized
9308 # So say no if there are warnings
9309 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9310 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9311 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9312 lt_cv_prog_compiler_c_o=yes
9317 # SGI C++ compiler will create directory out/ii_files/ for
9318 # template instantiation
9319 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9320 $RM out/* && rmdir out
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9327 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9332 hard_links="nottested"
9333 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9334 # do not overwrite the value of need_locks provided by the user
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9336 $as_echo_n "checking if we can lock with hard links... " >&6; }
9339 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9341 ln conftest.a conftest.b 2>&5 || hard_links=no
9342 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9344 $as_echo "$hard_links" >&6; }
9345 if test "$hard_links" = no; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9347 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9360 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9363 allow_undefined_flag=
9364 always_export_symbols=no
9366 archive_expsym_cmds=
9367 compiler_needs_object=no
9368 enable_shared_with_static_runtimes=no
9369 export_dynamic_flag_spec=
9370 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9371 hardcode_automatic=no
9373 hardcode_direct_absolute=no
9374 hardcode_libdir_flag_spec=
9375 hardcode_libdir_separator=
9377 hardcode_shlibpath_var=unsupported
9379 link_all_deplibs=unknown
9382 old_archive_from_new_cmds=
9383 old_archive_from_expsyms_cmds=
9384 thread_safe_flag_spec=
9385 whole_archive_flag_spec=
9386 # include_expsyms should be a list of space-separated symbols to be *always*
9387 # included in the symbol list
9389 # exclude_expsyms can be an extended regexp of symbols to exclude
9390 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9391 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9392 # as well as any symbol that contains `d'.
9393 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9394 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9395 # platforms (ab)use it in PIC code, but their linkers get confused if
9396 # the symbol is explicitly referenced. Since portable code cannot
9397 # rely on this symbol name, it's probably fine to never include it in
9398 # preloaded symbol tables.
9399 # Exclude shared library initialization/finalization symbols.
9400 extract_expsyms_cmds=
9403 cygwin* | mingw* | pw32* | cegcc*)
9404 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9405 # When not using gcc, we currently assume that we are using
9406 # Microsoft Visual C++.
9407 if test "$GCC" != yes; then
9412 # we just hope/assume this is gcc and not c89 (= MSVC++)
9418 linux* | k*bsd*-gnu | gnu*)
9425 # On some targets, GNU ld is compatible enough with the native linker
9426 # that we're better off using the native interface for both.
9427 lt_use_gnu_ld_interface=no
9428 if test "$with_gnu_ld" = yes; then
9431 # The AIX port of GNU ld has always aspired to compatibility
9432 # with the native linker. However, as the warning in the GNU ld
9433 # block says, versions before 2.19.5* couldn't really create working
9434 # shared libraries, regardless of the interface used.
9435 case `$LD -v 2>&1` in
9436 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9437 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9438 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9440 lt_use_gnu_ld_interface=yes
9445 lt_use_gnu_ld_interface=yes
9450 if test "$lt_use_gnu_ld_interface" = yes; then
9451 # If archive_cmds runs LD, not CC, wlarc should be empty
9454 # Set some defaults for GNU ld with shared library support. These
9455 # are reset later if shared libraries are not supported. Putting them
9456 # here allows them to be overridden if necessary.
9457 runpath_var=LD_RUN_PATH
9458 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459 export_dynamic_flag_spec='${wl}--export-dynamic'
9460 # ancient GNU ld didn't support --whole-archive et. al.
9461 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9462 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9464 whole_archive_flag_spec=
9466 supports_anon_versioning=no
9467 case `$LD -v 2>&1` in
9468 *GNU\ gold*) supports_anon_versioning=yes ;;
9469 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9470 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9471 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9472 *\ 2.11.*) ;; # other 2.11 versions
9473 *) supports_anon_versioning=yes ;;
9476 # See if GNU ld supports shared libraries.
9479 # On AIX/PPC, the GNU linker is very broken
9480 if test "$host_cpu" != ia64; then
9484 *** Warning: the GNU linker, at least up to release 2.19, is reported
9485 *** to be unable to reliably create shared libraries on AIX.
9486 *** Therefore, libtool is disabling shared libraries support. If you
9487 *** really care for shared libraries, you may want to install binutils
9488 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9489 *** You will then need to restart the configuration process.
9498 # see comment about AmigaOS4 .so support
9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds=''
9503 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)'
9504 hardcode_libdir_flag_spec='-L$libdir'
9505 hardcode_minus_L=yes
9511 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9512 allow_undefined_flag=unsupported
9513 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9514 # support --undefined. This deserves some investigation. FIXME
9515 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9521 cygwin* | mingw* | pw32* | cegcc*)
9522 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9523 # as there is no search path for DLLs.
9524 hardcode_libdir_flag_spec='-L$libdir'
9525 export_dynamic_flag_spec='${wl}--export-all-symbols'
9526 allow_undefined_flag=unsupported
9527 always_export_symbols=no
9528 enable_shared_with_static_runtimes=yes
9529 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'
9530 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9532 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9533 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9534 # If the export-symbols file already is a .def file (1st line
9535 # is EXPORTS), use it as is; otherwise, prepend...
9536 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9537 cp $export_symbols $output_objdir/$soname.def;
9539 echo EXPORTS > $output_objdir/$soname.def;
9540 cat $export_symbols >> $output_objdir/$soname.def;
9542 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9549 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 link_all_deplibs=yes
9555 hardcode_shlibpath_var=no
9556 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9557 export_dynamic_flag_spec='${wl}-E'
9558 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9559 # Instead, shared libraries are loaded at an image base (0x10000000 by
9560 # default) and relocated if they conflict, which is a slow very memory
9561 # consuming and fragmenting process. To avoid this, we pick a random,
9562 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9563 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9564 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9565 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'
9568 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9570 if test "$host_os" = linux-dietlibc; then
9571 case $cc_basename in
9572 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9575 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9576 && test "$tmp_diet" = no
9578 tmp_addflag=' $pic_flag'
9579 tmp_sharedflag='-shared'
9580 case $cc_basename,$host_cpu in
9581 pgcc*) # Portland Group C compiler
9582 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'
9583 tmp_addflag=' $pic_flag'
9585 pgf77* | pgf90* | pgf95* | pgfortran*)
9586 # Portland Group f77 and f90 compilers
9587 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'
9588 tmp_addflag=' $pic_flag -Mnomain' ;;
9589 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9590 tmp_addflag=' -i_dynamic' ;;
9591 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9592 tmp_addflag=' -i_dynamic -nofor_main' ;;
9593 ifc* | ifort*) # Intel Fortran compiler
9594 tmp_addflag=' -nofor_main' ;;
9595 lf95*) # Lahey Fortran 8.1
9596 whole_archive_flag_spec=
9597 tmp_sharedflag='--shared' ;;
9598 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9599 tmp_sharedflag='-qmkshrobj'
9601 nvcc*) # Cuda Compiler Driver 2.2
9602 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'
9603 compiler_needs_object=yes
9606 case `$CC -V 2>&1 | sed 5q` in
9607 *Sun\ C*) # Sun C 5.9
9608 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'
9609 compiler_needs_object=yes
9610 tmp_sharedflag='-G' ;;
9611 *Sun\ F*) # Sun Fortran 8.3
9612 tmp_sharedflag='-G' ;;
9614 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9616 if test "x$supports_anon_versioning" = xyes; then
9617 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9618 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9619 echo "local: *; };" >> $output_objdir/$libname.ver~
9620 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9623 case $cc_basename in
9624 xlf* | bgf* | bgxlf* | mpixlf*)
9625 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9626 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9627 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9628 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9629 if test "x$supports_anon_versioning" = xyes; then
9630 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9631 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9632 echo "local: *; };" >> $output_objdir/$libname.ver~
9633 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9642 netbsd* | netbsdelf*-gnu)
9643 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9644 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9647 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9653 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9658 *** create shared libraries on Solaris systems. Therefore, libtool
9659 *** is disabling shared libraries support. We urge you to upgrade GNU
9660 *** binutils to release 2.9.1 or newer. Another option is to modify
9661 *** your PATH or compiler configuration so that the native linker is
9662 *** used, and then restart.
9665 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9666 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9667 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9673 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9674 case `$LD -v 2>&1` in
9675 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9679 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9680 *** reliably create shared libraries on SCO systems. Therefore, libtool
9681 *** is disabling shared libraries support. We urge you to upgrade GNU
9682 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9683 *** your PATH or compiler configuration so that the native linker is
9684 *** used, and then restart.
9689 # For security reasons, it is highly recommended that you always
9690 # use absolute paths for naming shared libraries, and exclude the
9691 # DT_RUNPATH tag from executables and libraries. But doing so
9692 # requires that you compile everything twice, which is a pain.
9693 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9694 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9705 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_shlibpath_var=no
9712 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9713 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9714 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9721 if test "$ld_shlibs" = no; then
9723 hardcode_libdir_flag_spec=
9724 export_dynamic_flag_spec=
9725 whole_archive_flag_spec=
9728 # PORTME fill in a description of your system's linker (not GNU ld)
9731 allow_undefined_flag=unsupported
9732 always_export_symbols=yes
9733 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'
9734 # Note: this linker hardcodes the directories in LIBPATH if there
9735 # are no directories specified by -L.
9736 hardcode_minus_L=yes
9737 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9738 # Neither direct hardcoding nor static linking is supported with a
9740 hardcode_direct=unsupported
9745 if test "$host_cpu" = ia64; then
9746 # On IA64, the linker does run time linking by default, so we don't
9747 # have to do anything special.
9748 aix_use_runtimelinking=no
9749 exp_sym_flag='-Bexport'
9752 # If we're using GNU nm, then we don't want the "-C" option.
9753 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9754 # Also, AIX nm treats weak defined symbols like other global
9755 # defined symbols, whereas GNU nm marks them as "W".
9756 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9757 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'
9759 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'
9761 aix_use_runtimelinking=no
9763 # Test if we are trying to use run time linking or normal
9764 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9765 # need to do runtime linking.
9766 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9767 for ld_flag in $LDFLAGS; do
9768 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9769 aix_use_runtimelinking=yes
9776 exp_sym_flag='-bexport'
9777 no_entry_flag='-bnoentry'
9780 # When large executables or shared objects are built, AIX ld can
9781 # have problems creating the table of contents. If linking a library
9782 # or program results in "error TOC overflow" add -mminimal-toc to
9783 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9784 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9788 hardcode_direct_absolute=yes
9789 hardcode_libdir_separator=':'
9790 link_all_deplibs=yes
9791 file_list_spec='${wl}-f,'
9793 if test "$GCC" = yes; then
9794 case $host_os in aix4.[012]|aix4.[012].*)
9795 # We only want to do this on AIX 4.2 and lower, the check
9796 # below for broken collect2 doesn't work under 4.3+
9797 collect2name=`${CC} -print-prog-name=collect2`
9798 if test -f "$collect2name" &&
9799 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9801 # We have reworked collect2
9804 # We have old collect2
9805 hardcode_direct=unsupported
9806 # It fails to find uninstalled libraries when the uninstalled
9807 # path is not listed in the libpath. Setting hardcode_minus_L
9808 # to unsupported forces relinking
9809 hardcode_minus_L=yes
9810 hardcode_libdir_flag_spec='-L$libdir'
9811 hardcode_libdir_separator=
9815 shared_flag='-shared'
9816 if test "$aix_use_runtimelinking" = yes; then
9817 shared_flag="$shared_flag "'${wl}-G'
9822 if test "$host_cpu" = ia64; then
9823 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9824 # chokes on -Wl,-G. The following line is correct:
9827 if test "$aix_use_runtimelinking" = yes; then
9828 shared_flag='${wl}-G'
9830 shared_flag='${wl}-bM:SRE'
9835 export_dynamic_flag_spec='${wl}-bexpall'
9836 # It seems that -bexpall does not export symbols beginning with
9837 # underscore (_), so it is better to generate a list of symbols to export.
9838 always_export_symbols=yes
9839 if test "$aix_use_runtimelinking" = yes; then
9840 # Warning - without using the other runtime loading flags (-brtl),
9841 # -berok will link without error, but may produce a broken library.
9842 allow_undefined_flag='-berok'
9843 # Determine the default libpath from the value encoded in an
9845 if test "${lt_cv_aix_libpath+set}" = set; then
9846 aix_libpath=$lt_cv_aix_libpath
9848 if ${lt_cv_aix_libpath_+:} false; then :
9849 $as_echo_n "(cached) " >&6
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9862 if ac_fn_c_try_link "$LINENO"; then :
9864 lt_aix_libpath_sed='
9865 /Import File Strings/,/^$/ {
9867 s/^0 *\([^ ]*\) *$/\1/
9871 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9872 # Check for a 64-bit object if we didn't find anything.
9873 if test -z "$lt_cv_aix_libpath_"; then
9874 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 if test -z "$lt_cv_aix_libpath_"; then
9880 lt_cv_aix_libpath_="/usr/lib:/lib"
9885 aix_libpath=$lt_cv_aix_libpath_
9888 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9889 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"
9891 if test "$host_cpu" = ia64; then
9892 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9893 allow_undefined_flag="-z nodefs"
9894 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"
9896 # Determine the default libpath from the value encoded in an
9898 if test "${lt_cv_aix_libpath+set}" = set; then
9899 aix_libpath=$lt_cv_aix_libpath
9901 if ${lt_cv_aix_libpath_+:} false; then :
9902 $as_echo_n "(cached) " >&6
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9915 if ac_fn_c_try_link "$LINENO"; then :
9917 lt_aix_libpath_sed='
9918 /Import File Strings/,/^$/ {
9920 s/^0 *\([^ ]*\) *$/\1/
9924 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9925 # Check for a 64-bit object if we didn't find anything.
9926 if test -z "$lt_cv_aix_libpath_"; then
9927 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 if test -z "$lt_cv_aix_libpath_"; then
9933 lt_cv_aix_libpath_="/usr/lib:/lib"
9938 aix_libpath=$lt_cv_aix_libpath_
9941 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9942 # Warning - without using the other run time loading flags,
9943 # -berok will link without error, but may produce a broken library.
9944 no_undefined_flag=' ${wl}-bernotok'
9945 allow_undefined_flag=' ${wl}-berok'
9946 if test "$with_gnu_ld" = yes; then
9947 # We only use this code for GNU lds that support --whole-archive.
9948 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9950 # Exported symbols can be pulled into shared objects from archives
9951 whole_archive_flag_spec='$convenience'
9953 archive_cmds_need_lc=yes
9954 # This is similar to how AIX traditionally builds its shared libraries.
9955 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'
9963 # see comment about AmigaOS4 .so support
9964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9965 archive_expsym_cmds=''
9968 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)'
9969 hardcode_libdir_flag_spec='-L$libdir'
9970 hardcode_minus_L=yes
9976 export_dynamic_flag_spec=-rdynamic
9979 cygwin* | mingw* | pw32* | cegcc*)
9980 # When not using gcc, we currently assume that we are using
9981 # Microsoft Visual C++.
9982 # hardcode_libdir_flag_spec is actually meaningless, as there is
9983 # no search path for DLLs.
9984 case $cc_basename in
9987 hardcode_libdir_flag_spec=' '
9988 allow_undefined_flag=unsupported
9989 always_export_symbols=yes
9991 # Tell ltmain to make .lib files, not .a files.
9993 # Tell ltmain to make .dll files, not .so files.
9995 # FIXME: Setting linknames here is a bad hack.
9996 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9997 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9998 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10000 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10002 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10004 # The linker will not automatically build a static lib if we build a DLL.
10005 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10006 enable_shared_with_static_runtimes=yes
10007 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10008 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10010 old_postinstall_cmds='chmod 644 $oldlib'
10011 postlink_cmds='lt_outputfile="@OUTPUT@"~
10012 lt_tool_outputfile="@TOOL_OUTPUT@"~
10013 case $lt_outputfile in
10016 lt_outputfile="$lt_outputfile.exe"
10017 lt_tool_outputfile="$lt_tool_outputfile.exe"
10020 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10021 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10022 $RM "$lt_outputfile.manifest";
10026 # Assume MSVC wrapper
10027 hardcode_libdir_flag_spec=' '
10028 allow_undefined_flag=unsupported
10029 # Tell ltmain to make .lib files, not .a files.
10031 # Tell ltmain to make .dll files, not .so files.
10033 # FIXME: Setting linknames here is a bad hack.
10034 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10035 # The linker will automatically build a .lib file if we build a DLL.
10036 old_archive_from_new_cmds='true'
10037 # FIXME: Should let the user specify the lib program.
10038 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10039 enable_shared_with_static_runtimes=yes
10044 darwin* | rhapsody*)
10047 archive_cmds_need_lc=no
10049 hardcode_automatic=yes
10050 hardcode_shlibpath_var=unsupported
10051 if test "$lt_cv_ld_force_load" = "yes"; then
10052 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\"`'
10055 whole_archive_flag_spec=''
10057 link_all_deplibs=yes
10058 allow_undefined_flag="$_lt_dar_allow_undefined"
10059 case $cc_basename in
10060 ifort*) _lt_dar_can_shared=yes ;;
10061 *) _lt_dar_can_shared=$GCC ;;
10063 if test "$_lt_dar_can_shared" = "yes"; then
10064 output_verbose_link_cmd=func_echo_all
10065 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10066 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10067 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}"
10068 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}"
10077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-L$libdir'
10079 hardcode_shlibpath_var=no
10082 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10083 # support. Future versions do this automatically, but an explicit c++rt0.o
10084 # does not break anything, and helps significantly (at the cost of a little
10087 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10088 hardcode_libdir_flag_spec='-R$libdir'
10089 hardcode_direct=yes
10090 hardcode_shlibpath_var=no
10093 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10095 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10096 hardcode_direct=yes
10097 hardcode_minus_L=yes
10098 hardcode_shlibpath_var=no
10101 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10102 freebsd* | dragonfly*)
10103 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10104 hardcode_libdir_flag_spec='-R$libdir'
10105 hardcode_direct=yes
10106 hardcode_shlibpath_var=no
10110 if test "$GCC" = yes; then
10111 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'
10113 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'
10115 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10116 hardcode_libdir_separator=:
10117 hardcode_direct=yes
10119 # hardcode_minus_L: Not really in the search PATH,
10120 # but as the default location of the library.
10121 hardcode_minus_L=yes
10122 export_dynamic_flag_spec='${wl}-E'
10126 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10127 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10131 if test "$with_gnu_ld" = no; then
10132 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10133 hardcode_libdir_separator=:
10134 hardcode_direct=yes
10135 hardcode_direct_absolute=yes
10136 export_dynamic_flag_spec='${wl}-E'
10137 # hardcode_minus_L: Not really in the search PATH,
10138 # but as the default location of the library.
10139 hardcode_minus_L=yes
10144 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10147 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10150 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10153 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10166 # Older versions of the 11.00 compiler do not understand -b yet
10167 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10169 $as_echo_n "checking if $CC understands -b... " >&6; }
10170 if ${lt_cv_prog_compiler__b+:} false; then :
10171 $as_echo_n "(cached) " >&6
10173 lt_cv_prog_compiler__b=no
10174 save_LDFLAGS="$LDFLAGS"
10175 LDFLAGS="$LDFLAGS -b"
10176 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10177 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10178 # The linker can only warn and ignore the option if not recognized
10179 # So say no if there are warnings
10180 if test -s conftest.err; then
10181 # Append any errors to the config.log.
10182 cat conftest.err 1>&5
10183 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10184 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10185 if diff conftest.exp conftest.er2 >/dev/null; then
10186 lt_cv_prog_compiler__b=yes
10189 lt_cv_prog_compiler__b=yes
10193 LDFLAGS="$save_LDFLAGS"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10197 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10199 if test x"$lt_cv_prog_compiler__b" = xyes; then
10200 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10208 if test "$with_gnu_ld" = no; then
10209 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10210 hardcode_libdir_separator=:
10215 hardcode_shlibpath_var=no
10218 hardcode_direct=yes
10219 hardcode_direct_absolute=yes
10220 export_dynamic_flag_spec='${wl}-E'
10222 # hardcode_minus_L: Not really in the search PATH,
10223 # but as the default location of the library.
10224 hardcode_minus_L=yes
10230 irix5* | irix6* | nonstopux*)
10231 if test "$GCC" = yes; then
10232 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'
10233 # Try to use the -exported_symbol ld option, if it does not
10234 # work, assume that -exports_file does not work either and
10235 # implicitly export all symbols.
10236 # This should be the same for all languages, so no per-tag cache variable.
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10238 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10239 if ${lt_cv_irix_exported_symbol+:} false; then :
10240 $as_echo_n "(cached) " >&6
10242 save_LDFLAGS="$LDFLAGS"
10243 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int foo (void) { return 0; }
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 lt_cv_irix_exported_symbol=yes
10251 lt_cv_irix_exported_symbol=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LDFLAGS="$save_LDFLAGS"
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10258 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10259 if test "$lt_cv_irix_exported_symbol" = yes; then
10260 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'
10263 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'
10264 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'
10266 archive_cmds_need_lc='no'
10267 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10268 hardcode_libdir_separator=:
10270 link_all_deplibs=yes
10273 netbsd* | netbsdelf*-gnu)
10274 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10275 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10277 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10279 hardcode_libdir_flag_spec='-R$libdir'
10280 hardcode_direct=yes
10281 hardcode_shlibpath_var=no
10285 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10286 hardcode_direct=yes
10287 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10288 hardcode_libdir_separator=:
10289 hardcode_shlibpath_var=no
10296 if test -f /usr/libexec/ld.so; then
10297 hardcode_direct=yes
10298 hardcode_shlibpath_var=no
10299 hardcode_direct_absolute=yes
10300 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10301 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10302 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10303 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10304 export_dynamic_flag_spec='${wl}-E'
10307 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10308 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10309 hardcode_libdir_flag_spec='-R$libdir'
10312 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10313 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10323 hardcode_libdir_flag_spec='-L$libdir'
10324 hardcode_minus_L=yes
10325 allow_undefined_flag=unsupported
10326 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'
10327 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10331 if test "$GCC" = yes; then
10332 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10333 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'
10335 allow_undefined_flag=' -expect_unresolved \*'
10336 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'
10338 archive_cmds_need_lc='no'
10339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10340 hardcode_libdir_separator=:
10343 osf4* | osf5*) # as osf3* with the addition of -msym flag
10344 if test "$GCC" = yes; then
10345 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10346 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'
10347 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10349 allow_undefined_flag=' -expect_unresolved \*'
10350 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'
10351 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~
10352 $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'
10354 # Both c and cxx compiler support -rpath directly
10355 hardcode_libdir_flag_spec='-rpath $libdir'
10357 archive_cmds_need_lc='no'
10358 hardcode_libdir_separator=:
10362 no_undefined_flag=' -z defs'
10363 if test "$GCC" = yes; then
10365 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10367 $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'
10369 case `$CC -V 2>&1` in
10372 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10374 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10378 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10379 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10380 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_shlibpath_var=no
10387 solaris2.[0-5] | solaris2.[0-5].*) ;;
10389 # The compiler driver will combine and reorder linker options,
10390 # but understands `-z linker_flag'. GCC discards it without `$wl',
10391 # but is careful enough not to reorder.
10392 # Supported since Solaris 2.6 (maybe 2.5.1?)
10393 if test "$GCC" = yes; then
10394 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10396 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10400 link_all_deplibs=yes
10404 if test "x$host_vendor" = xsequent; then
10405 # Use $CC to link under sequent, because it throws in some extra .o
10406 # files that make .init and .fini sections work.
10407 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10409 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10411 hardcode_libdir_flag_spec='-L$libdir'
10412 hardcode_direct=yes
10413 hardcode_minus_L=yes
10414 hardcode_shlibpath_var=no
10418 case $host_vendor in
10420 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10421 hardcode_direct=yes # is this really true???
10424 ## LD is ld it makes a PLAMLIB
10425 ## CC just makes a GrossModule.
10426 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10427 reload_cmds='$CC -r -o $output$reload_objs'
10431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10432 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10435 runpath_var='LD_RUN_PATH'
10436 hardcode_shlibpath_var=no
10440 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441 hardcode_shlibpath_var=no
10442 export_dynamic_flag_spec='-Bexport'
10446 if test -d /usr/nec; then
10447 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10448 hardcode_shlibpath_var=no
10449 runpath_var=LD_RUN_PATH
10450 hardcode_runpath_var=yes
10455 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10456 no_undefined_flag='${wl}-z,text'
10457 archive_cmds_need_lc=no
10458 hardcode_shlibpath_var=no
10459 runpath_var='LD_RUN_PATH'
10461 if test "$GCC" = yes; then
10462 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10463 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10465 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10466 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10470 sysv5* | sco3.2v5* | sco5v6*)
10471 # Note: We can NOT use -z defs as we might desire, because we do not
10472 # link with -lc, and that would cause any symbols used from libc to
10473 # always be unresolved, which means just about no library would
10474 # ever link correctly. If we're not using GNU ld we use -z text
10475 # though, which does catch some bad symbols but isn't as heavy-handed
10477 no_undefined_flag='${wl}-z,text'
10478 allow_undefined_flag='${wl}-z,nodefs'
10479 archive_cmds_need_lc=no
10480 hardcode_shlibpath_var=no
10481 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10482 hardcode_libdir_separator=':'
10483 link_all_deplibs=yes
10484 export_dynamic_flag_spec='${wl}-Bexport'
10485 runpath_var='LD_RUN_PATH'
10487 if test "$GCC" = yes; then
10488 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10489 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10491 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10492 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10497 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498 hardcode_libdir_flag_spec='-L$libdir'
10499 hardcode_shlibpath_var=no
10507 if test x$host_vendor = xsni; then
10509 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10510 export_dynamic_flag_spec='${wl}-Blargedynsym'
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10517 $as_echo "$ld_shlibs" >&6; }
10518 test "$ld_shlibs" = no && can_build_shared=no
10520 with_gnu_ld=$with_gnu_ld
10537 # Do we need to explicitly link libc?
10539 case "x$archive_cmds_need_lc" in
10541 # Assume -lc should be added
10542 archive_cmds_need_lc=yes
10544 if test "$enable_shared" = yes && test "$GCC" = yes; then
10545 case $archive_cmds in
10547 # FIXME: we may have to deal with multi-command sequences.
10550 # Test whether the compiler implicitly links with -lc since on some
10551 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10552 # to ld, don't add -lc before -lgcc.
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10554 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10555 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10556 $as_echo_n "(cached) " >&6
10559 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10562 (eval $ac_compile) 2>&5
10564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10565 test $ac_status = 0; } 2>conftest.err; then
10568 libobjs=conftest.$ac_objext
10570 wl=$lt_prog_compiler_wl
10571 pic_flag=$lt_prog_compiler_pic
10577 lt_save_allow_undefined_flag=$allow_undefined_flag
10578 allow_undefined_flag=
10579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10580 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10583 test $ac_status = 0; }
10585 lt_cv_archive_cmds_need_lc=no
10587 lt_cv_archive_cmds_need_lc=yes
10589 allow_undefined_flag=$lt_save_allow_undefined_flag
10591 cat conftest.err 1>&5
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10597 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10598 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10757 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10759 if test "$GCC" = yes; then
10761 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10762 *) lt_awk_arg="/^libraries:/" ;;
10765 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10766 *) lt_sed_strip_eq="s,=/,/,g" ;;
10768 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10769 case $lt_search_path_spec in
10771 # if the path contains ";" then we assume it to be the separator
10772 # otherwise default to the standard path separator (i.e. ":") - it is
10773 # assumed that no part of a normal pathname contains ";" but that should
10774 # okay in the real world where ";" in dirpaths is itself problematic.
10775 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10778 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10781 # Ok, now we have the path, separated by spaces, we can step through it
10782 # and add multilib dir if necessary.
10783 lt_tmp_lt_search_path_spec=
10784 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10785 for lt_sys_path in $lt_search_path_spec; do
10786 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10787 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10789 test -d "$lt_sys_path" && \
10790 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10793 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10794 BEGIN {RS=" "; FS="/|\n";} {
10797 for (lt_i = NF; lt_i > 0; lt_i--) {
10798 if ($lt_i != "" && $lt_i != ".") {
10799 if ($lt_i == "..") {
10802 if (lt_count == 0) {
10803 lt_foo="/" $lt_i lt_foo;
10810 if (lt_foo != "") { lt_freq[lt_foo]++; }
10811 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10813 # AWK program above erroneously prepends '/' to C:/dos/paths
10816 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10817 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10819 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10821 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10823 library_names_spec=
10824 libname_spec='lib$name'
10828 postuninstall_cmds=
10832 shlibpath_overrides_runpath=unknown
10834 dynamic_linker="$host_os ld.so"
10835 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10836 need_lib_prefix=unknown
10837 hardcode_into_libs=no
10839 # when you set need_version to no, make sure it does not cause -set_version
10840 # flags to be left without arguments
10841 need_version=unknown
10845 version_type=linux # correct to gnu/linux during the next big refactor
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10847 shlibpath_var=LIBPATH
10849 # AIX 3 has no versioning support, so we append a major version to the name.
10850 soname_spec='${libname}${release}${shared_ext}$major'
10854 version_type=linux # correct to gnu/linux during the next big refactor
10857 hardcode_into_libs=yes
10858 if test "$host_cpu" = ia64; then
10859 # AIX 5 supports IA64
10860 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10861 shlibpath_var=LD_LIBRARY_PATH
10863 # With GCC up to 2.95.x, collect2 would create an import file
10864 # for dependence libraries. The import file would start with
10865 # the line `#! .'. This would cause the generated library to
10866 # depend on `.', always an invalid library. This was fixed in
10867 # development snapshots of GCC prior to 3.0.
10869 aix4 | aix4.[01] | aix4.[01].*)
10870 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10872 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10875 can_build_shared=no
10879 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10880 # soname into executable. Probably we can add versioning support to
10881 # collect2, so additional links can be useful in future.
10882 if test "$aix_use_runtimelinking" = yes; then
10883 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10884 # instead of lib<name>.a to let people know that these are not
10885 # typical AIX shared libraries.
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888 # We preserve .a as extension for shared libraries through AIX4.2
10889 # and later when we are not doing run time linking.
10890 library_names_spec='${libname}${release}.a $libname.a'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10893 shlibpath_var=LIBPATH
10900 # Since July 2007 AmigaOS4 officially supports .so libraries.
10901 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 library_names_spec='$libname.ixlibrary $libname.a'
10906 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10907 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'
10913 library_names_spec='${libname}${shared_ext}'
10914 dynamic_linker="$host_os ld.so"
10915 shlibpath_var=LIBRARY_PATH
10919 version_type=linux # correct to gnu/linux during the next big refactor
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10926 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10927 # the default ld.so.conf also contains /usr/contrib/lib and
10928 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10929 # libtool to hard-code these into programs
10932 cygwin* | mingw* | pw32* | cegcc*)
10933 version_type=windows
10938 case $GCC,$cc_basename in
10941 library_names_spec='$libname.dll.a'
10942 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10943 postinstall_cmds='base_file=`basename \${file}`~
10944 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10945 dldir=$destdir/`dirname \$dlpath`~
10946 test -d \$dldir || mkdir -p \$dldir~
10947 $install_prog $dir/$dlname \$dldir/$dlname~
10948 chmod a+x \$dldir/$dlname~
10949 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10950 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10952 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10953 dlpath=$dir/\$dldll~
10955 shlibpath_overrides_runpath=yes
10959 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10960 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10962 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10965 # MinGW DLLs use traditional 'lib' prefix
10966 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10969 # pw32 DLLs use 'pw' prefix rather than 'lib'
10970 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10973 dynamic_linker='Win32 ld.exe'
10978 libname_spec='$name'
10979 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10980 library_names_spec='${libname}.dll.lib'
10984 sys_lib_search_path_spec=
10987 for lt_path in $LIB
10990 # Let DOS variable expansion print the short 8.3 style file name.
10991 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10992 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10995 # Convert to MSYS style.
10996 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10999 # Convert to unix form, then to dos form, then back to unix form
11000 # but this time dos style (no spaces!) so that the unix form looks
11001 # like /cygdrive/c/PROGRA~1:/cygdr...
11002 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11003 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11004 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11007 sys_lib_search_path_spec="$LIB"
11008 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11009 # It is most probably a Windows format PATH.
11010 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11012 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11014 # FIXME: find the short name or the path components, as spaces are
11015 # common. (e.g. "Program Files" -> "PROGRA~1")
11019 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11020 postinstall_cmds='base_file=`basename \${file}`~
11021 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11022 dldir=$destdir/`dirname \$dlpath`~
11023 test -d \$dldir || mkdir -p \$dldir~
11024 $install_prog $dir/$dlname \$dldir/$dlname'
11025 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11026 dlpath=$dir/\$dldll~
11028 shlibpath_overrides_runpath=yes
11029 dynamic_linker='Win32 link.exe'
11033 # Assume MSVC wrapper
11034 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11035 dynamic_linker='Win32 ld.exe'
11038 # FIXME: first we should search . and the directory the executable is in
11042 darwin* | rhapsody*)
11043 dynamic_linker="$host_os dyld"
11044 version_type=darwin
11047 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11048 soname_spec='${libname}${release}${major}$shared_ext'
11049 shlibpath_overrides_runpath=yes
11050 shlibpath_var=DYLD_LIBRARY_PATH
11051 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11054 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11058 version_type=linux # correct to gnu/linux during the next big refactor
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11066 freebsd* | dragonfly*)
11067 # DragonFly does not have aout. When/if they implement a new
11068 # versioning mechanism, adjust this.
11069 if test -x /usr/bin/objformat; then
11070 objformat=`/usr/bin/objformat`
11073 freebsd[23].*) objformat=aout ;;
11074 *) objformat=elf ;;
11077 version_type=freebsd-$objformat
11078 case $version_type in
11080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11089 shlibpath_var=LD_LIBRARY_PATH
11092 shlibpath_overrides_runpath=yes
11094 freebsd3.[01]* | freebsdelf3.[01]*)
11095 shlibpath_overrides_runpath=yes
11096 hardcode_into_libs=yes
11098 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11099 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11100 shlibpath_overrides_runpath=no
11101 hardcode_into_libs=yes
11103 *) # from 4.6 on, and DragonFly
11104 shlibpath_overrides_runpath=yes
11105 hardcode_into_libs=yes
11111 version_type=linux # correct to gnu/linux during the next big refactor
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11116 shlibpath_var=LD_LIBRARY_PATH
11117 shlibpath_overrides_runpath=no
11118 hardcode_into_libs=yes
11122 version_type=linux # correct to gnu/linux during the next big refactor
11125 dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
11129 shlibpath_overrides_runpath=yes
11130 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11131 hardcode_into_libs=yes
11134 hpux9* | hpux10* | hpux11*)
11135 # Give a soname corresponding to the major version so that dld.sl refuses to
11136 # link against other versions.
11143 hardcode_into_libs=yes
11144 dynamic_linker="$host_os dld.so"
11145 shlibpath_var=LD_LIBRARY_PATH
11146 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 if test "X$HPUX_IA64_MODE" = X32; then
11150 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11152 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11154 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11158 hardcode_into_libs=yes
11159 dynamic_linker="$host_os dld.sl"
11160 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11161 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 soname_spec='${libname}${release}${shared_ext}$major'
11164 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11165 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11169 dynamic_linker="$host_os dld.sl"
11170 shlibpath_var=SHLIB_PATH
11171 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 soname_spec='${libname}${release}${shared_ext}$major'
11176 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11177 postinstall_cmds='chmod 555 $lib'
11178 # or fails outright, so override atomically:
11179 install_override_mode=555
11183 version_type=linux # correct to gnu/linux during the next big refactor
11186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11187 soname_spec='${libname}${release}${shared_ext}$major'
11188 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11189 shlibpath_var=LD_LIBRARY_PATH
11190 shlibpath_overrides_runpath=no
11191 hardcode_into_libs=yes
11194 irix5* | irix6* | nonstopux*)
11196 nonstopux*) version_type=nonstopux ;;
11198 if test "$lt_cv_prog_gnu_ld" = yes; then
11199 version_type=linux # correct to gnu/linux during the next big refactor
11206 soname_spec='${libname}${release}${shared_ext}$major'
11207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11209 irix5* | nonstopux*)
11210 libsuff= shlibsuff=
11213 case $LD in # libtool.m4 will add one of these switches to LD
11214 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11215 libsuff= shlibsuff= libmagic=32-bit;;
11216 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11217 libsuff=32 shlibsuff=N32 libmagic=N32;;
11218 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11219 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11220 *) libsuff= shlibsuff= libmagic=never-match;;
11224 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11225 shlibpath_overrides_runpath=no
11226 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11227 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11228 hardcode_into_libs=yes
11231 # No shared lib support for Linux oldld, aout, or coff.
11232 linux*oldld* | linux*aout* | linux*coff*)
11236 # This must be glibc/ELF.
11237 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11238 version_type=linux # correct to gnu/linux during the next big refactor
11241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11242 soname_spec='${libname}${release}${shared_ext}$major'
11243 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11244 shlibpath_var=LD_LIBRARY_PATH
11245 shlibpath_overrides_runpath=no
11247 # Some binutils ld are patched to set DT_RUNPATH
11248 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11249 $as_echo_n "(cached) " >&6
11251 lt_cv_shlibpath_overrides_runpath=no
11252 save_LDFLAGS=$LDFLAGS
11253 save_libdir=$libdir
11254 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11255 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11269 lt_cv_shlibpath_overrides_runpath=yes
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LDFLAGS=$save_LDFLAGS
11275 libdir=$save_libdir
11279 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11281 # This implies no fast_install, which is unacceptable.
11282 # Some rework will be needed to allow for fast_install
11283 # before this can be enabled.
11284 hardcode_into_libs=yes
11286 # Append ld.so.conf contents to the search path
11287 if test -f /etc/ld.so.conf; then
11288 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' ' '`
11289 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11292 # We used to test for /lib/ld.so.1 and disable shared libraries on
11293 # powerpc, because MkLinux only supported shared libraries with the
11294 # GNU dynamic linker. Since this was broken with cross compilers,
11295 # most powerpc-linux boxes support dynamic linking these days and
11296 # people can always --disable-shared, the test was removed, and we
11297 # assume the GNU/Linux dynamic linker is in use.
11298 dynamic_linker='GNU/Linux ld.so'
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11306 soname_spec='${libname}${release}${shared_ext}$major'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=no
11309 hardcode_into_libs=yes
11310 dynamic_linker='NetBSD ld.elf_so'
11317 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11320 dynamic_linker='NetBSD (a.out) ld.so'
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11323 soname_spec='${libname}${release}${shared_ext}$major'
11324 dynamic_linker='NetBSD ld.elf_so'
11326 shlibpath_var=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath=yes
11328 hardcode_into_libs=yes
11332 version_type=linux # correct to gnu/linux during the next big refactor
11333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334 shlibpath_var=LD_LIBRARY_PATH
11335 shlibpath_overrides_runpath=yes
11342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343 soname_spec='${libname}${release}${shared_ext}$major'
11344 shlibpath_var=LD_LIBRARY_PATH
11345 shlibpath_overrides_runpath=no
11346 hardcode_into_libs=yes
11347 dynamic_linker='ldqnx.so'
11352 sys_lib_dlsearch_path_spec="/usr/lib"
11354 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11356 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11357 *) need_version=no ;;
11359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11360 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11361 shlibpath_var=LD_LIBRARY_PATH
11362 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11364 openbsd2.[89] | openbsd2.[89].*)
11365 shlibpath_overrides_runpath=no
11368 shlibpath_overrides_runpath=yes
11372 shlibpath_overrides_runpath=yes
11377 libname_spec='$name'
11380 library_names_spec='$libname${shared_ext} $libname.a'
11381 dynamic_linker='OS/2 ld.exe'
11382 shlibpath_var=LIBPATH
11385 osf3* | osf4* | osf5*)
11389 soname_spec='${libname}${release}${shared_ext}$major'
11390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391 shlibpath_var=LD_LIBRARY_PATH
11392 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11393 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11401 version_type=linux # correct to gnu/linux during the next big refactor
11404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11405 soname_spec='${libname}${release}${shared_ext}$major'
11406 shlibpath_var=LD_LIBRARY_PATH
11407 shlibpath_overrides_runpath=yes
11408 hardcode_into_libs=yes
11409 # ldd complains unless libraries are executable
11410 postinstall_cmds='chmod +x $lib'
11415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11416 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11417 shlibpath_var=LD_LIBRARY_PATH
11418 shlibpath_overrides_runpath=yes
11419 if test "$with_gnu_ld" = yes; then
11426 version_type=linux # correct to gnu/linux during the next big refactor
11427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 shlibpath_var=LD_LIBRARY_PATH
11430 case $host_vendor in
11432 shlibpath_overrides_runpath=no
11434 runpath_var=LD_RUN_PATH
11442 shlibpath_overrides_runpath=no
11443 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11449 if test -d /usr/nec ;then
11450 version_type=linux # correct to gnu/linux during the next big refactor
11451 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11452 soname_spec='$libname${shared_ext}.$major'
11453 shlibpath_var=LD_LIBRARY_PATH
11457 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11458 version_type=freebsd-elf
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11462 soname_spec='${libname}${release}${shared_ext}$major'
11463 shlibpath_var=LD_LIBRARY_PATH
11464 shlibpath_overrides_runpath=yes
11465 hardcode_into_libs=yes
11466 if test "$with_gnu_ld" = yes; then
11467 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11469 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11472 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11476 sys_lib_dlsearch_path_spec='/usr/lib'
11480 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11481 version_type=linux # correct to gnu/linux during the next big refactor
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485 shlibpath_var=LD_LIBRARY_PATH
11486 shlibpath_overrides_runpath=no
11487 hardcode_into_libs=yes
11491 version_type=linux # correct to gnu/linux during the next big refactor
11492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11493 soname_spec='${libname}${release}${shared_ext}$major'
11494 shlibpath_var=LD_LIBRARY_PATH
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11502 $as_echo "$dynamic_linker" >&6; }
11503 test "$dynamic_linker" = no && can_build_shared=no
11505 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11506 if test "$GCC" = yes; then
11507 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11510 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11511 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11513 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11514 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11609 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11611 if test -n "$hardcode_libdir_flag_spec" ||
11612 test -n "$runpath_var" ||
11613 test "X$hardcode_automatic" = "Xyes" ; then
11615 # We can hardcode non-existent directories.
11616 if test "$hardcode_direct" != no &&
11617 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11618 # have to relink, otherwise we might link with an installed library
11619 # when we should be linking with a yet-to-be-installed one
11620 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11621 test "$hardcode_minus_L" != no; then
11622 # Linking always hardcodes the temporary library directory.
11623 hardcode_action=relink
11625 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11626 hardcode_action=immediate
11629 # We cannot hardcode anything, or else we can only hardcode existing
11631 hardcode_action=unsupported
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11634 $as_echo "$hardcode_action" >&6; }
11636 if test "$hardcode_action" = relink ||
11637 test "$inherit_rpath" = yes; then
11638 # Fast installation is not supported
11639 enable_fast_install=no
11640 elif test "$shlibpath_overrides_runpath" = yes ||
11641 test "$enable_shared" = no; then
11642 # Fast installation is not necessary
11643 enable_fast_install=needless
11651 if test "x$enable_dlopen" != xyes; then
11652 enable_dlopen=unknown
11653 enable_dlopen_self=unknown
11654 enable_dlopen_self_static=unknown
11661 lt_cv_dlopen="load_add_on"
11663 lt_cv_dlopen_self=yes
11666 mingw* | pw32* | cegcc*)
11667 lt_cv_dlopen="LoadLibrary"
11672 lt_cv_dlopen="dlopen"
11677 # if libdl is installed we need to link against it
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11679 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11680 if ${ac_cv_lib_dl_dlopen+:} false; then :
11681 $as_echo_n "(cached) " >&6
11683 ac_check_lib_save_LIBS=$LIBS
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 ac_cv_lib_dl_dlopen=yes
11706 ac_cv_lib_dl_dlopen=no
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_lib_save_LIBS
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11714 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11715 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11718 lt_cv_dlopen="dyld"
11720 lt_cv_dlopen_self=yes
11727 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11728 if test "x$ac_cv_func_shl_load" = xyes; then :
11729 lt_cv_dlopen="shl_load"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11732 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11733 if ${ac_cv_lib_dld_shl_load+:} false; then :
11734 $as_echo_n "(cached) " >&6
11736 ac_check_lib_save_LIBS=$LIBS
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739 /* end confdefs.h. */
11741 /* Override any GCC internal prototype to avoid an error.
11742 Use char because int might match the return type of a GCC
11743 builtin and then its argument prototype would still apply. */
11751 return shl_load ();
11756 if ac_fn_c_try_link "$LINENO"; then :
11757 ac_cv_lib_dld_shl_load=yes
11759 ac_cv_lib_dld_shl_load=no
11761 rm -f core conftest.err conftest.$ac_objext \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_lib_save_LIBS
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11766 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11767 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11768 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11770 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11771 if test "x$ac_cv_func_dlopen" = xyes; then :
11772 lt_cv_dlopen="dlopen"
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11776 if ${ac_cv_lib_dl_dlopen+:} false; then :
11777 $as_echo_n "(cached) " >&6
11779 ac_check_lib_save_LIBS=$LIBS
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11799 if ac_fn_c_try_link "$LINENO"; then :
11800 ac_cv_lib_dl_dlopen=yes
11802 ac_cv_lib_dl_dlopen=no
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11810 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11811 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11814 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11815 if ${ac_cv_lib_svld_dlopen+:} false; then :
11816 $as_echo_n "(cached) " >&6
11818 ac_check_lib_save_LIBS=$LIBS
11819 LIBS="-lsvld $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 ac_cv_lib_svld_dlopen=yes
11841 ac_cv_lib_svld_dlopen=no
11843 rm -f core conftest.err conftest.$ac_objext \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_lib_save_LIBS
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11848 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11849 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11850 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11853 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11854 if ${ac_cv_lib_dld_dld_link+:} false; then :
11855 $as_echo_n "(cached) " >&6
11857 ac_check_lib_save_LIBS=$LIBS
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11862 /* Override any GCC internal prototype to avoid an error.
11863 Use char because int might match the return type of a GCC
11864 builtin and then its argument prototype would still apply. */
11872 return dld_link ();
11877 if ac_fn_c_try_link "$LINENO"; then :
11878 ac_cv_lib_dld_dld_link=yes
11880 ac_cv_lib_dld_dld_link=no
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_lib_save_LIBS
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11887 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11888 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11889 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11910 if test "x$lt_cv_dlopen" != xno; then
11916 case $lt_cv_dlopen in
11918 save_CPPFLAGS="$CPPFLAGS"
11919 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11921 save_LDFLAGS="$LDFLAGS"
11922 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11925 LIBS="$lt_cv_dlopen_libs $LIBS"
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11928 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11929 if ${lt_cv_dlopen_self+:} false; then :
11930 $as_echo_n "(cached) " >&6
11932 if test "$cross_compiling" = yes; then :
11933 lt_cv_dlopen_self=cross
11935 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11936 lt_status=$lt_dlunknown
11937 cat > conftest.$ac_ext <<_LT_EOF
11938 #line $LINENO "configure"
11939 #include "confdefs.h"
11948 # define LT_DLGLOBAL RTLD_GLOBAL
11951 # define LT_DLGLOBAL DL_GLOBAL
11953 # define LT_DLGLOBAL 0
11957 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11958 find out it does not work in some platform. */
11959 #ifndef LT_DLLAZY_OR_NOW
11961 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11964 # define LT_DLLAZY_OR_NOW DL_LAZY
11967 # define LT_DLLAZY_OR_NOW RTLD_NOW
11970 # define LT_DLLAZY_OR_NOW DL_NOW
11972 # define LT_DLLAZY_OR_NOW 0
11979 /* When -fvisbility=hidden is used, assume the code has been annotated
11980 correspondingly for the symbols needed. */
11981 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11982 int fnord () __attribute__((visibility("default")));
11985 int fnord () { return 42; }
11988 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11989 int status = $lt_dlunknown;
11993 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11996 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11997 else puts (dlerror ());
11999 /* dlclose (self); */
12007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12008 (eval $ac_link) 2>&5
12010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12011 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12012 (./conftest; exit; ) >&5 2>/dev/null
12014 case x$lt_status in
12015 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12016 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12017 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12020 # compilation failed
12021 lt_cv_dlopen_self=no
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12029 $as_echo "$lt_cv_dlopen_self" >&6; }
12031 if test "x$lt_cv_dlopen_self" = xyes; then
12032 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12034 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12035 if ${lt_cv_dlopen_self_static+:} false; then :
12036 $as_echo_n "(cached) " >&6
12038 if test "$cross_compiling" = yes; then :
12039 lt_cv_dlopen_self_static=cross
12041 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12042 lt_status=$lt_dlunknown
12043 cat > conftest.$ac_ext <<_LT_EOF
12044 #line $LINENO "configure"
12045 #include "confdefs.h"
12054 # define LT_DLGLOBAL RTLD_GLOBAL
12057 # define LT_DLGLOBAL DL_GLOBAL
12059 # define LT_DLGLOBAL 0
12063 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12064 find out it does not work in some platform. */
12065 #ifndef LT_DLLAZY_OR_NOW
12067 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12070 # define LT_DLLAZY_OR_NOW DL_LAZY
12073 # define LT_DLLAZY_OR_NOW RTLD_NOW
12076 # define LT_DLLAZY_OR_NOW DL_NOW
12078 # define LT_DLLAZY_OR_NOW 0
12085 /* When -fvisbility=hidden is used, assume the code has been annotated
12086 correspondingly for the symbols needed. */
12087 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12088 int fnord () __attribute__((visibility("default")));
12091 int fnord () { return 42; }
12094 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12095 int status = $lt_dlunknown;
12099 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12102 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12103 else puts (dlerror ());
12105 /* dlclose (self); */
12113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12114 (eval $ac_link) 2>&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12117 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12118 (./conftest; exit; ) >&5 2>/dev/null
12120 case x$lt_status in
12121 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12122 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12123 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12126 # compilation failed
12127 lt_cv_dlopen_self_static=no
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12135 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12138 CPPFLAGS="$save_CPPFLAGS"
12139 LDFLAGS="$save_LDFLAGS"
12144 case $lt_cv_dlopen_self in
12145 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12146 *) enable_dlopen_self=unknown ;;
12149 case $lt_cv_dlopen_self_static in
12150 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12151 *) enable_dlopen_self_static=unknown ;;
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12174 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12175 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12176 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12177 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12179 $as_echo "yes" >&6; }
12181 # FIXME - insert some real tests, host_os isn't really good enough
12184 if test -n "$STRIP" ; then
12185 striplib="$STRIP -x"
12186 old_striplib="$STRIP -S"
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12188 $as_echo "yes" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12212 # Report which library types will actually be built
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12214 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12216 $as_echo "$can_build_shared" >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12219 $as_echo_n "checking whether to build shared libraries... " >&6; }
12220 test "$can_build_shared" = "no" && enable_shared=no
12222 # On AIX, shared libraries and static libraries use the same namespace, and
12223 # are all built from PIC.
12226 test "$enable_shared" = yes && enable_static=no
12227 if test -n "$RANLIB"; then
12228 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12229 postinstall_cmds='$RANLIB $lib'
12234 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12235 test "$enable_shared" = yes && enable_static=no
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12240 $as_echo "$enable_shared" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12243 $as_echo_n "checking whether to build static libraries... " >&6; }
12244 # Make sure either enable_shared or enable_static is yes.
12245 test "$enable_shared" = yes || enable_static=yes
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12247 $as_echo "$enable_static" >&6; }
12254 ac_cpp='$CPP $CPPFLAGS'
12255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12275 ac_config_commands="$ac_config_commands libtool"
12280 # Only expand once:
12284 LIBRYGEL_SERVER_REQUIRED=0.17.4
12285 GUPNP_DLNA_REQUIRED=0.9.5
12286 GSTREAMER_REQUIRED=0.10.36
12287 GSTPBU_REQUIRED=0.10.35
12288 REQUIRED_MODULES='gio-2.0 rygel-server-2.0 >= $LIBRYGEL_SERVER_REQUIRED gupnp-dlna-2.0 >= $GUPNP_DLNA_REQUIRED gstreamer-0.10 >= $GSTREAMER_REQUIRED gstreamer-base-0.10 >= $GSTREAMER_REQUIRED gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED'
12296 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12297 if test -n "$ac_tool_prefix"; then
12298 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12299 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12303 $as_echo_n "(cached) " >&6
12305 case $PKG_CONFIG in
12307 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12314 test -z "$as_dir" && as_dir=.
12315 for ac_exec_ext in '' $ac_executable_extensions; do
12316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12317 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12329 if test -n "$PKG_CONFIG"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12331 $as_echo "$PKG_CONFIG" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12339 if test -z "$ac_cv_path_PKG_CONFIG"; then
12340 ac_pt_PKG_CONFIG=$PKG_CONFIG
12341 # Extract the first word of "pkg-config", so it can be a program name with args.
12342 set dummy pkg-config; ac_word=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12346 $as_echo_n "(cached) " >&6
12348 case $ac_pt_PKG_CONFIG in
12350 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12372 if test -n "$ac_pt_PKG_CONFIG"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12374 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12380 if test "x$ac_pt_PKG_CONFIG" = x; then
12383 case $cross_compiling:$ac_tool_warned in
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12387 ac_tool_warned=yes ;;
12389 PKG_CONFIG=$ac_pt_PKG_CONFIG
12392 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12396 if test -n "$PKG_CONFIG"; then
12397 _pkg_min_version=0.9.0
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12399 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12400 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402 $as_echo "yes" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405 $as_echo "no" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12412 $as_echo_n "checking for DEPS... " >&6; }
12414 if test -n "$DEPS_CFLAGS"; then
12415 pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12416 elif test -n "$PKG_CONFIG"; then
12417 if test -n "$PKG_CONFIG" && \
12418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12419 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422 test $ac_status = 0; }; then
12423 pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES" 2>/dev/null`
12424 test "x$?" != "x0" && pkg_failed=yes
12431 if test -n "$DEPS_LIBS"; then
12432 pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12433 elif test -n "$PKG_CONFIG"; then
12434 if test -n "$PKG_CONFIG" && \
12435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12436 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12439 test $ac_status = 0; }; then
12440 pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES" 2>/dev/null`
12441 test "x$?" != "x0" && pkg_failed=yes
12451 if test $pkg_failed = yes; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453 $as_echo "no" >&6; }
12455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12456 _pkg_short_errors_supported=yes
12458 _pkg_short_errors_supported=no
12460 if test $_pkg_short_errors_supported = yes; then
12461 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12463 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12465 # Put the nasty error message in config.log where it belongs
12466 echo "$DEPS_PKG_ERRORS" >&5
12468 as_fn_error $? "Package requirements ($REQUIRED_MODULES) were not met:
12472 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12473 installed software in a non-standard prefix.
12475 Alternatively, you may set the environment variables DEPS_CFLAGS
12476 and DEPS_LIBS to avoid the need to call pkg-config.
12477 See the pkg-config man page for more details." "$LINENO" 5
12478 elif test $pkg_failed = untried; then
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12480 $as_echo "no" >&6; }
12481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12483 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12484 is in your PATH or set the PKG_CONFIG environment variable to the full
12485 path to pkg-config.
12487 Alternatively, you may set the environment variables DEPS_CFLAGS
12488 and DEPS_LIBS to avoid the need to call pkg-config.
12489 See the pkg-config man page for more details.
12491 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12492 See \`config.log' for more details" "$LINENO" 5; }
12494 DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12495 DEPS_LIBS=$pkg_cv_DEPS_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12497 $as_echo "yes" >&6; }
12501 # Check whether --enable-debug was given.
12502 if test "${enable_debug+set}" = set; then :
12503 enableval=$enable_debug;
12508 if test "x$enable_debug" = "xyes"; then
12509 CFLAGS="$CFLAGS -O0 -g"
12512 # Check whether --enable-strict-cc was given.
12513 if test "${enable_strict_cc+set}" = set; then :
12514 enableval=$enable_strict_cc;
12516 enable_strict_cc=no
12519 if test "x$enable_strict_cc" = "xyes"; then
12520 CFLAGS="$CFLAGS -Wall -Werror"
12524 GETTEXT_PACKAGE=rygel-gst-0-10-media-engine
12527 cat >>confdefs.h <<_ACEOF
12528 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12533 for ac_header in locale.h
12535 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12536 if test "x$ac_cv_header_locale_h" = xyes; then :
12537 cat >>confdefs.h <<_ACEOF
12538 #define HAVE_LOCALE_H 1
12545 if test $ac_cv_header_locale_h = yes; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12547 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12548 if ${am_cv_val_LC_MESSAGES+:} false; then :
12549 $as_echo_n "(cached) " >&6
12551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12553 #include <locale.h>
12562 if ac_fn_c_try_link "$LINENO"; then :
12563 am_cv_val_LC_MESSAGES=yes
12565 am_cv_val_LC_MESSAGES=no
12567 rm -f core conftest.err conftest.$ac_objext \
12568 conftest$ac_exeext conftest.$ac_ext
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12571 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12572 if test $am_cv_val_LC_MESSAGES = yes; then
12574 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12581 gt_cv_have_gettext=no
12587 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12588 if test "x$ac_cv_header_libintl_h" = xyes; then :
12589 gt_cv_func_dgettext_libintl="no"
12590 libintl_extra_libs=""
12593 # First check in libc
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12596 $as_echo_n "checking for ngettext in libc... " >&6; }
12597 if ${gt_cv_func_ngettext_libc+:} false; then :
12598 $as_echo_n "(cached) " >&6
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 #include <libintl.h>
12608 return !ngettext ("","", 1)
12613 if ac_fn_c_try_link "$LINENO"; then :
12614 gt_cv_func_ngettext_libc=yes
12616 gt_cv_func_ngettext_libc=no
12618 rm -f core conftest.err conftest.$ac_objext \
12619 conftest$ac_exeext conftest.$ac_ext
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12623 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12625 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12627 $as_echo_n "checking for dgettext in libc... " >&6; }
12628 if ${gt_cv_func_dgettext_libc+:} false; then :
12629 $as_echo_n "(cached) " >&6
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 #include <libintl.h>
12639 return !dgettext ("","")
12644 if ac_fn_c_try_link "$LINENO"; then :
12645 gt_cv_func_dgettext_libc=yes
12647 gt_cv_func_dgettext_libc=no
12649 rm -f core conftest.err conftest.$ac_objext \
12650 conftest$ac_exeext conftest.$ac_ext
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12654 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12657 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12658 for ac_func in bind_textdomain_codeset
12660 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12661 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12662 cat >>confdefs.h <<_ACEOF
12663 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12672 # If we don't have everything we want, check in libintl
12674 if test "$gt_cv_func_dgettext_libc" != "yes" \
12675 || test "$gt_cv_func_ngettext_libc" != "yes" \
12676 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12679 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12680 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12681 $as_echo_n "(cached) " >&6
12683 ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lintl $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12694 char bindtextdomain ();
12698 return bindtextdomain ();
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 ac_cv_lib_intl_bindtextdomain=yes
12706 ac_cv_lib_intl_bindtextdomain=no
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12713 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12714 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12716 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12717 if ${ac_cv_lib_intl_ngettext+:} false; then :
12718 $as_echo_n "(cached) " >&6
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lintl $LIBS"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 /* Override any GCC internal prototype to avoid an error.
12726 Use char because int might match the return type of a GCC
12727 builtin and then its argument prototype would still apply. */
12735 return ngettext ();
12740 if ac_fn_c_try_link "$LINENO"; then :
12741 ac_cv_lib_intl_ngettext=yes
12743 ac_cv_lib_intl_ngettext=no
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_lib_save_LIBS
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12750 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12751 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12753 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12754 if ${ac_cv_lib_intl_dgettext+:} false; then :
12755 $as_echo_n "(cached) " >&6
12757 ac_check_lib_save_LIBS=$LIBS
12758 LIBS="-lintl $LIBS"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12772 return dgettext ();
12777 if ac_fn_c_try_link "$LINENO"; then :
12778 ac_cv_lib_intl_dgettext=yes
12780 ac_cv_lib_intl_dgettext=no
12782 rm -f core conftest.err conftest.$ac_objext \
12783 conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_lib_save_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12787 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12788 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12789 gt_cv_func_dgettext_libintl=yes
12797 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12799 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12803 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12804 if ${ac_cv_lib_intl_ngettext+:} false; then :
12805 $as_echo_n "(cached) " >&6
12807 ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lintl -liconv $LIBS"
12809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12822 return ngettext ();
12827 if ac_fn_c_try_link "$LINENO"; then :
12828 ac_cv_lib_intl_ngettext=yes
12830 ac_cv_lib_intl_ngettext=no
12832 rm -f core conftest.err conftest.$ac_objext \
12833 conftest$ac_exeext conftest.$ac_ext
12834 LIBS=$ac_check_lib_save_LIBS
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12837 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12838 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12840 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12841 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12842 $as_echo_n "(cached) " >&6
12844 ac_check_lib_save_LIBS=$LIBS
12845 LIBS="-lintl -liconv $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12859 return dcgettext ();
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 ac_cv_lib_intl_dcgettext=yes
12867 ac_cv_lib_intl_dcgettext=no
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_lib_save_LIBS
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12874 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12875 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12876 gt_cv_func_dgettext_libintl=yes
12877 libintl_extra_libs=-liconv
12889 # If we found libintl, then check in it for bind_textdomain_codeset();
12890 # we'll prefer libc if neither have bind_textdomain_codeset(),
12891 # and both have dgettext and ngettext
12893 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12894 glib_save_LIBS="$LIBS"
12895 LIBS="$LIBS -lintl $libintl_extra_libs"
12896 unset ac_cv_func_bind_textdomain_codeset
12897 for ac_func in bind_textdomain_codeset
12899 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12900 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12901 cat >>confdefs.h <<_ACEOF
12902 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12908 LIBS="$glib_save_LIBS"
12910 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12911 gt_cv_func_dgettext_libc=no
12913 if test "$gt_cv_func_dgettext_libc" = "yes" \
12914 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12915 gt_cv_func_dgettext_libintl=no
12921 if test "$gt_cv_func_dgettext_libc" = "yes" \
12922 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12923 gt_cv_have_gettext=yes
12926 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12927 INTLLIBS="-lintl $libintl_extra_libs"
12930 if test "$gt_cv_have_gettext" = "yes"; then
12932 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12934 # Extract the first word of "msgfmt", so it can be a program name with args.
12935 set dummy msgfmt; ac_word=$2
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12937 $as_echo_n "checking for $ac_word... " >&6; }
12938 if ${ac_cv_path_MSGFMT+:} false; then :
12939 $as_echo_n "(cached) " >&6
12943 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12947 for ac_dir in $PATH; do
12948 test -z "$ac_dir" && ac_dir=.
12949 if test -f $ac_dir/$ac_word; then
12950 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12951 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12957 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12961 MSGFMT="$ac_cv_path_MSGFMT"
12962 if test "$MSGFMT" != "no"; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12964 $as_echo "$MSGFMT" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12967 $as_echo "no" >&6; }
12969 if test "$MSGFMT" != "no"; then
12970 glib_save_LIBS="$LIBS"
12971 LIBS="$LIBS $INTLLIBS"
12972 for ac_func in dcgettext
12974 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12975 if test "x$ac_cv_func_dcgettext" = xyes; then :
12976 cat >>confdefs.h <<_ACEOF
12977 #define HAVE_DCGETTEXT 1
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12985 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12986 cat >conftest.foo <<_ACEOF
12990 "Content-Type: text/plain; charset=UTF-8\n"
12991 "Project-Id-Version: test 1.0\n"
12992 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12993 "Last-Translator: test <foo@bar.xx>\n"
12994 "Language-Team: C <LL@li.org>\n"
12995 "MIME-Version: 1.0\n"
12996 "Content-Transfer-Encoding: 8bit\n"
12999 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13000 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13003 test $ac_status = 0; }; then
13004 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13005 $as_echo "yes" >&6; }
13006 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13007 $as_echo "no" >&6; }
13008 echo "$as_me: failed input was:" >&5
13009 sed 's/^/| /' conftest.foo >&5
13012 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13013 set dummy gmsgfmt; ac_word=$2
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13015 $as_echo_n "checking for $ac_word... " >&6; }
13016 if ${ac_cv_path_GMSGFMT+:} false; then :
13017 $as_echo_n "(cached) " >&6
13021 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13025 for as_dir in $PATH
13028 test -z "$as_dir" && as_dir=.
13029 for ac_exec_ext in '' $ac_executable_extensions; do
13030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13031 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13039 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13043 GMSGFMT=$ac_cv_path_GMSGFMT
13044 if test -n "$GMSGFMT"; then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13046 $as_echo "$GMSGFMT" >&6; }
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }
13053 # Extract the first word of "xgettext", so it can be a program name with args.
13054 set dummy xgettext; ac_word=$2
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13056 $as_echo_n "checking for $ac_word... " >&6; }
13057 if ${ac_cv_path_XGETTEXT+:} false; then :
13058 $as_echo_n "(cached) " >&6
13060 case "$XGETTEXT" in
13062 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13065 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13066 for ac_dir in $PATH; do
13067 test -z "$ac_dir" && ac_dir=.
13068 if test -f $ac_dir/$ac_word; then
13069 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13070 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13076 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13080 XGETTEXT="$ac_cv_path_XGETTEXT"
13081 if test "$XGETTEXT" != ":"; then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13083 $as_echo "$XGETTEXT" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13095 extern int _nl_msg_cat_cntr;
13096 return _nl_msg_cat_cntr
13101 if ac_fn_c_try_link "$LINENO"; then :
13107 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13108 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13127 rm -f core conftest.err conftest.$ac_objext \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS="$glib_save_LIBS"
13132 gt_cv_have_gettext=no
13140 if test "$gt_cv_have_gettext" = "yes" ; then
13142 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13146 if test "$XGETTEXT" != ":"; then
13147 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13151 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13156 # We need to process the po/ directory.
13159 ac_config_commands="$ac_config_commands default-1"
13162 for lang in $ALL_LINGUAS; do
13163 GMOFILES="$GMOFILES $lang.gmo"
13164 POFILES="$POFILES $lang.po"
13179 if test "$gt_cv_have_gettext" = "yes"; then
13180 if test "x$ALL_LINGUAS" = "x"; then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13184 $as_echo_n "checking for catalogs to be installed... " >&6; }
13186 for presentlang in $ALL_LINGUAS; do
13188 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13189 desiredlanguages="$LINGUAS"
13191 desiredlanguages="$ALL_LINGUAS"
13193 for desiredlang in $desiredlanguages; do
13194 # Use the presentlang catalog if desiredlang is
13195 # a. equal to presentlang, or
13196 # b. a variant of presentlang (because in this case,
13197 # presentlang can be used as a fallback for messages
13198 # which are not translated in the desiredlang catalog).
13199 case "$desiredlang" in
13200 "$presentlang"*) useit=yes;;
13203 if test $useit = yes; then
13204 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13207 LINGUAS=$NEW_LINGUAS
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13209 $as_echo "$LINGUAS" >&6; }
13212 if test -n "$LINGUAS"; then
13213 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13218 if test -n "$ac_aux_dir"; then
13219 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13221 if test -z "$MKINSTALLDIRS"; then
13222 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13226 test -d po || mkdir po
13227 if test "x$srcdir" != "x."; then
13228 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13229 posrcprefix="$srcdir/"
13231 posrcprefix="../$srcdir/"
13237 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13238 < $srcdir/po/POTFILES.in > po/POTFILES
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13242 $as_echo_n "checking whether NLS is requested... " >&6; }
13243 # Check whether --enable-nls was given.
13244 if test "${enable_nls+set}" = set; then :
13245 enableval=$enable_nls; USE_NLS=$enableval
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13251 $as_echo "$USE_NLS" >&6; }
13256 case "$am__api_version" in
13258 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13264 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13265 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13266 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13267 if test -n "0.40.0"; then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
13269 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13271 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13272 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13273 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
13276 # Extract the first word of "intltool-update", so it can be a program name with args.
13277 set dummy intltool-update; ac_word=$2
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13279 $as_echo_n "checking for $ac_word... " >&6; }
13280 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13281 $as_echo_n "(cached) " >&6
13283 case $INTLTOOL_UPDATE in
13285 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13289 for as_dir in $PATH
13292 test -z "$as_dir" && as_dir=.
13293 for ac_exec_ext in '' $ac_executable_extensions; do
13294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13295 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13306 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13307 if test -n "$INTLTOOL_UPDATE"; then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13309 $as_echo "$INTLTOOL_UPDATE" >&6; }
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13312 $as_echo "no" >&6; }
13316 # Extract the first word of "intltool-merge", so it can be a program name with args.
13317 set dummy intltool-merge; ac_word=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13319 $as_echo_n "checking for $ac_word... " >&6; }
13320 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13321 $as_echo_n "(cached) " >&6
13323 case $INTLTOOL_MERGE in
13325 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13329 for as_dir in $PATH
13332 test -z "$as_dir" && as_dir=.
13333 for ac_exec_ext in '' $ac_executable_extensions; do
13334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13335 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13346 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13347 if test -n "$INTLTOOL_MERGE"; then
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13349 $as_echo "$INTLTOOL_MERGE" >&6; }
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352 $as_echo "no" >&6; }
13356 # Extract the first word of "intltool-extract", so it can be a program name with args.
13357 set dummy intltool-extract; ac_word=$2
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13359 $as_echo_n "checking for $ac_word... " >&6; }
13360 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13361 $as_echo_n "(cached) " >&6
13363 case $INTLTOOL_EXTRACT in
13365 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13369 for as_dir in $PATH
13372 test -z "$as_dir" && as_dir=.
13373 for ac_exec_ext in '' $ac_executable_extensions; do
13374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13375 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13386 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13387 if test -n "$INTLTOOL_EXTRACT"; then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13389 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13392 $as_echo "no" >&6; }
13396 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13397 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13400 if test -z "$AM_DEFAULT_VERBOSITY"; then
13401 AM_DEFAULT_VERBOSITY=1
13405 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13406 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13407 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
13412 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13413 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13414 intltool__v_merge_options_0='-q'
13419 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 $< $@'
13420 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 $< $@'
13421 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 $< $@'
13422 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 $< $@'
13423 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 $< $@'
13424 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 $< $@'
13425 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 $< $@'
13426 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 $< $@'
13427 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 $< $@'
13428 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 $< $@'
13429 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 $< $@'
13430 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13431 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 $< $@'
13433 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'
13435 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 $< $@'
13436 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 $< $@'
13437 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 $< $@'
13438 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 $< $@'
13439 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 $< $@'
13440 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 $< $@'
13441 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 $< $@'
13539 # Check the gettext tools to make sure they are GNU
13540 # Extract the first word of "xgettext", so it can be a program name with args.
13541 set dummy xgettext; ac_word=$2
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13543 $as_echo_n "checking for $ac_word... " >&6; }
13544 if ${ac_cv_path_XGETTEXT+:} false; then :
13545 $as_echo_n "(cached) " >&6
13549 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13553 for as_dir in $PATH
13556 test -z "$as_dir" && as_dir=.
13557 for ac_exec_ext in '' $ac_executable_extensions; do
13558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13559 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13570 XGETTEXT=$ac_cv_path_XGETTEXT
13571 if test -n "$XGETTEXT"; then
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13573 $as_echo "$XGETTEXT" >&6; }
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13576 $as_echo "no" >&6; }
13580 # Extract the first word of "msgmerge", so it can be a program name with args.
13581 set dummy msgmerge; ac_word=$2
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13583 $as_echo_n "checking for $ac_word... " >&6; }
13584 if ${ac_cv_path_MSGMERGE+:} false; then :
13585 $as_echo_n "(cached) " >&6
13589 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13593 for as_dir in $PATH
13596 test -z "$as_dir" && as_dir=.
13597 for ac_exec_ext in '' $ac_executable_extensions; do
13598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13599 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13610 MSGMERGE=$ac_cv_path_MSGMERGE
13611 if test -n "$MSGMERGE"; then
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13613 $as_echo "$MSGMERGE" >&6; }
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13616 $as_echo "no" >&6; }
13620 # Extract the first word of "msgfmt", so it can be a program name with args.
13621 set dummy msgfmt; ac_word=$2
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13623 $as_echo_n "checking for $ac_word... " >&6; }
13624 if ${ac_cv_path_MSGFMT+:} false; then :
13625 $as_echo_n "(cached) " >&6
13629 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13633 for as_dir in $PATH
13636 test -z "$as_dir" && as_dir=.
13637 for ac_exec_ext in '' $ac_executable_extensions; do
13638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13639 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13650 MSGFMT=$ac_cv_path_MSGFMT
13651 if test -n "$MSGFMT"; then
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13653 $as_echo "$MSGFMT" >&6; }
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13656 $as_echo "no" >&6; }
13660 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13661 set dummy gmsgfmt; ac_word=$2
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13663 $as_echo_n "checking for $ac_word... " >&6; }
13664 if ${ac_cv_path_GMSGFMT+:} false; then :
13665 $as_echo_n "(cached) " >&6
13669 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13673 for as_dir in $PATH
13676 test -z "$as_dir" && as_dir=.
13677 for ac_exec_ext in '' $ac_executable_extensions; do
13678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13679 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13687 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13691 GMSGFMT=$ac_cv_path_GMSGFMT
13692 if test -n "$GMSGFMT"; then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13694 $as_echo "$GMSGFMT" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13701 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13702 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13704 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13705 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13706 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13707 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13708 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13711 # Extract the first word of "perl", so it can be a program name with args.
13712 set dummy perl; ac_word=$2
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13714 $as_echo_n "checking for $ac_word... " >&6; }
13715 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13716 $as_echo_n "(cached) " >&6
13718 case $INTLTOOL_PERL in
13720 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in $PATH
13727 test -z "$as_dir" && as_dir=.
13728 for ac_exec_ext in '' $ac_executable_extensions; do
13729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13730 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13741 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13742 if test -n "$INTLTOOL_PERL"; then
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13744 $as_echo "$INTLTOOL_PERL" >&6; }
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13747 $as_echo "no" >&6; }
13751 if test -z "$INTLTOOL_PERL"; then
13752 as_fn_error $? "perl not found" "$LINENO" 5
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13755 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13756 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13757 if test $? -ne 0; then
13758 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13760 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13762 $as_echo "$IT_PERL_VERSION" >&6; }
13764 if test "x" != "xno-xml"; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13766 $as_echo_n "checking for XML::Parser... " >&6; }
13767 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13769 $as_echo "ok" >&6; }
13771 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13775 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13778 # Set DATADIRNAME correctly if it is not set yet
13779 # (copied from glib-gettext.m4)
13780 if test -z "$DATADIRNAME"; then
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13787 extern int _nl_msg_cat_cntr;
13788 return _nl_msg_cat_cntr
13793 if ac_fn_c_try_link "$LINENO"; then :
13798 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13799 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13811 rm -f core conftest.err conftest.$ac_objext \
13812 conftest$ac_exeext conftest.$ac_ext
13820 # Check whether --enable-silent-rules was given.
13821 if test "${enable_silent_rules+set}" = set; then :
13822 enableval=$enable_silent_rules;
13825 case $enable_silent_rules in
13826 yes) AM_DEFAULT_VERBOSITY=0;;
13827 no) AM_DEFAULT_VERBOSITY=1;;
13828 *) AM_DEFAULT_VERBOSITY=0;;
13830 am_make=${MAKE-make}
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13832 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13833 if ${am_cv_make_support_nested_variables+:} false; then :
13834 $as_echo_n "(cached) " >&6
13836 if $as_echo 'TRUE=$(BAR$(V))
13842 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13843 am_cv_make_support_nested_variables=yes
13845 am_cv_make_support_nested_variables=no
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13849 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13850 if test $am_cv_make_support_nested_variables = yes; then
13852 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13854 AM_V=$AM_DEFAULT_VERBOSITY
13855 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13867 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13868 if test -n "$ac_tool_prefix"; then
13869 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13870 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13872 $as_echo_n "checking for $ac_word... " >&6; }
13873 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13874 $as_echo_n "(cached) " >&6
13876 case $PKG_CONFIG in
13878 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13882 for as_dir in $PATH
13885 test -z "$as_dir" && as_dir=.
13886 for ac_exec_ext in '' $ac_executable_extensions; do
13887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13888 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13899 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13900 if test -n "$PKG_CONFIG"; then
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13902 $as_echo "$PKG_CONFIG" >&6; }
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13905 $as_echo "no" >&6; }
13910 if test -z "$ac_cv_path_PKG_CONFIG"; then
13911 ac_pt_PKG_CONFIG=$PKG_CONFIG
13912 # Extract the first word of "pkg-config", so it can be a program name with args.
13913 set dummy pkg-config; ac_word=$2
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13915 $as_echo_n "checking for $ac_word... " >&6; }
13916 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13917 $as_echo_n "(cached) " >&6
13919 case $ac_pt_PKG_CONFIG in
13921 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13925 for as_dir in $PATH
13928 test -z "$as_dir" && as_dir=.
13929 for ac_exec_ext in '' $ac_executable_extensions; do
13930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13931 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13942 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13943 if test -n "$ac_pt_PKG_CONFIG"; then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13945 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13948 $as_echo "no" >&6; }
13951 if test "x$ac_pt_PKG_CONFIG" = x; then
13954 case $cross_compiling:$ac_tool_warned in
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13958 ac_tool_warned=yes ;;
13960 PKG_CONFIG=$ac_pt_PKG_CONFIG
13963 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13967 if test -n "$PKG_CONFIG"; then
13968 _pkg_min_version=0.9.0
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13970 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13971 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13973 $as_echo "yes" >&6; }
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13976 $as_echo "no" >&6; }
13981 RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags rygel-core-2.0`"
13984 if test "x$RYGEL_PLUGIN_LINKER_FLAGS" = 'x'
13986 as_fn_error $? "Could not get Rygel plugin linker flags" "$LINENO" 5
13989 RYGEL_ENGINE_DIR="`$PKG_CONFIG --variable=enginedir rygel-server-2.0`"
13992 if test "x$RYGEL_ENGINE_DIR" = 'x'
13994 as_fn_error $? "Could not get Rygel media engine installation directory" "$LINENO" 5
13997 ac_config_files="$ac_config_files Makefile data/Makefile src/Makefile tests/Makefile po/Makefile.in"
13999 cat >confcache <<\_ACEOF
14000 # This file is a shell script that caches the results of configure
14001 # tests run on this system so they can be shared between configure
14002 # scripts and configure runs, see configure's option --config-cache.
14003 # It is not useful on other systems. If it contains results you don't
14004 # want to keep, you may remove or edit it.
14006 # config.status only pays attention to the cache file if you give it
14007 # the --recheck option to rerun configure.
14009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14011 # following values.
14015 # The following way of writing the cache mishandles newlines in values,
14016 # but we know of no workaround that is simple, portable, and efficient.
14017 # So, we kill variables containing newlines.
14018 # Ultrix sh set writes to stderr and can't be redirected directly,
14019 # and sets the high bit in the cache file unless we assign to the vars.
14021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14022 eval ac_val=\$$ac_var
14026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14030 _ | IFS | as_nl) ;; #(
14031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14032 *) { eval $ac_var=; unset $ac_var;} ;;
14038 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14039 *${as_nl}ac_space=\ *)
14040 # `set' does not quote correctly, so add quotes: double-quote
14041 # substitution turns \\\\ into \\, and sed turns \\ into \.
14044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14047 # `set' quotes correctly as required by POSIX, so do not add quotes.
14048 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14059 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14061 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14062 if test -w "$cache_file"; then
14063 if test "x$cache_file" != "x/dev/null"; then
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14065 $as_echo "$as_me: updating cache $cache_file" >&6;}
14066 if test ! -f "$cache_file" || test -h "$cache_file"; then
14067 cat confcache >"$cache_file"
14069 case $cache_file in #(
14071 mv -f confcache "$cache_file"$$ &&
14072 mv -f "$cache_file"$$ "$cache_file" ;; #(
14074 mv -f confcache "$cache_file" ;;
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14080 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14085 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14086 # Let make expand exec_prefix.
14087 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14089 DEFS=-DHAVE_CONFIG_H
14094 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14095 # 1. Remove the extension, and $U if already installed.
14096 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14097 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14098 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14099 # will be set to the directory where LIBOBJS objects are built.
14100 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14101 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14103 LIBOBJS=$ac_libobjs
14105 LTLIBOBJS=$ac_ltlibobjs
14108 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14109 as_fn_error $? "conditional \"AMDEP\" was never defined.
14110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14112 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14113 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14116 if test -n "$EXEEXT"; then
14118 am__EXEEXT_FALSE='#'
14120 am__EXEEXT_TRUE='#'
14124 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14125 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14129 ac_config_commands="$ac_config_commands po/stamp-it"
14133 : "${CONFIG_STATUS=./config.status}"
14135 ac_clean_files_save=$ac_clean_files
14136 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14138 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14140 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14142 # Generated by $as_me.
14143 # Run this file to recreate the current configuration.
14144 # Compiler output produced by configure, useful for debugging
14145 # configure, is in config.log if it exists.
14148 ac_cs_recheck=false
14151 SHELL=\${CONFIG_SHELL-$SHELL}
14154 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14155 ## -------------------- ##
14156 ## M4sh Initialization. ##
14157 ## -------------------- ##
14159 # Be more Bourne compatible
14160 DUALCASE=1; export DUALCASE # for MKS sh
14161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14164 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14165 # is contrary to our usage. Disable this feature.
14166 alias -g '${1+"$@"}'='"$@"'
14167 setopt NO_GLOB_SUBST
14169 case `(set -o) 2>/dev/null` in #(
14181 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14182 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14183 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14184 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14185 # Prefer a ksh shell builtin over an external printf program on Solaris,
14186 # but without wasting forks for bash or zsh.
14187 if test -z "$BASH_VERSION$ZSH_VERSION" \
14188 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14189 as_echo='print -r --'
14190 as_echo_n='print -rn --'
14191 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14192 as_echo='printf %s\n'
14193 as_echo_n='printf %s'
14195 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14196 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14197 as_echo_n='/usr/ucb/echo -n'
14199 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14200 as_echo_n_body='eval
14204 expr "X$arg" : "X\\(.*\\)$as_nl";
14205 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14207 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14209 export as_echo_n_body
14210 as_echo_n='sh -c $as_echo_n_body as_echo'
14212 export as_echo_body
14213 as_echo='sh -c $as_echo_body as_echo'
14216 # The user is always right.
14217 if test "${PATH_SEPARATOR+set}" != set; then
14219 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14220 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14227 # We need space, tab and new line, in precisely that order. Quoting is
14228 # there to prevent editors from complaining about space-tab.
14229 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14230 # splitting by setting IFS to empty value.)
14233 # Find who we are. Look in the path if we contain no directory separator.
14236 *[\\/]* ) as_myself=$0 ;;
14237 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14238 for as_dir in $PATH
14241 test -z "$as_dir" && as_dir=.
14242 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14248 # We did not find ourselves, most probably we were run as `sh COMMAND'
14249 # in which case we are not to be found in the path.
14250 if test "x$as_myself" = x; then
14253 if test ! -f "$as_myself"; then
14254 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14258 # Unset variables that we do not need and which cause bugs (e.g. in
14259 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14260 # suppresses any "Segmentation fault" message there. '((' could
14261 # trigger a bug in pdksh 5.2.14.
14262 for as_var in BASH_ENV ENV MAIL MAILPATH
14263 do eval test x\${$as_var+set} = xset \
14264 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14280 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14281 # ----------------------------------------
14282 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14283 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14284 # script with STATUS, using 1 if that was 0.
14287 as_status=$1; test $as_status -eq 0 && as_status=1
14289 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14290 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14292 $as_echo "$as_me: error: $2" >&2
14293 as_fn_exit $as_status
14297 # as_fn_set_status STATUS
14298 # -----------------------
14299 # Set $? to STATUS, without forking.
14300 as_fn_set_status ()
14303 } # as_fn_set_status
14305 # as_fn_exit STATUS
14306 # -----------------
14307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14311 as_fn_set_status $1
14317 # Portably unset VAR.
14320 { eval $1=; unset $1;}
14322 as_unset=as_fn_unset
14323 # as_fn_append VAR VALUE
14324 # ----------------------
14325 # Append the text in VALUE to the end of the definition contained in VAR. Take
14326 # advantage of any shell optimizations that allow amortized linear growth over
14327 # repeated appends, instead of the typical quadratic growth present in naive
14329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14330 eval 'as_fn_append ()
14341 # as_fn_arith ARG...
14342 # ------------------
14343 # Perform arithmetic evaluation on the ARGs, and store the result in the
14344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14345 # must be portable across $(()) and expr.
14346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14347 eval 'as_fn_arith ()
14354 as_val=`expr "$@" || test $? -eq 1`
14359 if expr a : '\(a\)' >/dev/null 2>&1 &&
14360 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14366 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14367 as_basename=basename
14372 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14378 as_me=`$as_basename -- "$0" ||
14379 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14380 X"$0" : 'X\(//\)$' \| \
14381 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14383 sed '/^.*\/\([^/][^/]*\)\/*$/{
14397 # Avoid depending upon Character Ranges.
14398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14401 as_cr_digits='0123456789'
14402 as_cr_alnum=$as_cr_Letters$as_cr_digits
14404 ECHO_C= ECHO_N= ECHO_T=
14405 case `echo -n x` in #(((((
14407 case `echo 'xy\c'` in
14408 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14410 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14417 rm -f conf$$ conf$$.exe conf$$.file
14418 if test -d conf$$.dir; then
14419 rm -f conf$$.dir/conf$$.file
14422 mkdir conf$$.dir 2>/dev/null
14424 if (echo >conf$$.file) 2>/dev/null; then
14425 if ln -s conf$$.file conf$$ 2>/dev/null; then
14427 # ... but there are two gotchas:
14428 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14429 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14430 # In both cases, we have to default to `cp -pR'.
14431 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14433 elif ln conf$$.file conf$$ 2>/dev/null; then
14441 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14442 rmdir conf$$.dir 2>/dev/null
14447 # Create "$as_dir" as a directory, including parents if necessary.
14452 -*) as_dir=./$as_dir;;
14454 test -d "$as_dir" || eval $as_mkdir_p || {
14458 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14459 *) as_qdir=$as_dir;;
14461 as_dirs="'$as_qdir' $as_dirs"
14462 as_dir=`$as_dirname -- "$as_dir" ||
14463 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14464 X"$as_dir" : 'X\(//\)[^/]' \| \
14465 X"$as_dir" : 'X\(//\)$' \| \
14466 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14467 $as_echo X"$as_dir" |
14468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14472 /^X\(\/\/\)[^/].*/{
14485 test -d "$as_dir" && break
14487 test -z "$as_dirs" || eval "mkdir $as_dirs"
14488 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14492 if mkdir -p . 2>/dev/null; then
14493 as_mkdir_p='mkdir -p "$as_dir"'
14495 test -d ./-p && rmdir ./-p
14500 # as_fn_executable_p FILE
14501 # -----------------------
14502 # Test if FILE is an executable regular file.
14503 as_fn_executable_p ()
14505 test -f "$1" && test -x "$1"
14506 } # as_fn_executable_p
14507 as_test_x='test -x'
14508 as_executable_p=as_fn_executable_p
14510 # Sed expression to map a string onto a valid CPP name.
14511 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14513 # Sed expression to map a string onto a valid variable name.
14514 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14518 ## ----------------------------------- ##
14519 ## Main body of $CONFIG_STATUS script. ##
14520 ## ----------------------------------- ##
14522 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14525 # Save the log message, to keep $0 and so on meaningful, and to
14526 # report actual input values of CONFIG_FILES etc. instead of their
14527 # values after options handling.
14529 This file was extended by rygel-gst-0-10-media-engine $as_me 1.17.4, which was
14530 generated by GNU Autoconf 2.69. Invocation command line was
14532 CONFIG_FILES = $CONFIG_FILES
14533 CONFIG_HEADERS = $CONFIG_HEADERS
14534 CONFIG_LINKS = $CONFIG_LINKS
14535 CONFIG_COMMANDS = $CONFIG_COMMANDS
14538 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14543 case $ac_config_files in *"
14544 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14547 case $ac_config_headers in *"
14548 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14553 # Files that config.status was made for.
14554 config_files="$ac_config_files"
14555 config_headers="$ac_config_headers"
14556 config_commands="$ac_config_commands"
14560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14562 \`$as_me' instantiates files and other configuration actions
14563 from templates according to the current configuration. Unless the files
14564 and actions are specified as TAGs, all are instantiated by default.
14566 Usage: $0 [OPTION]... [TAG]...
14568 -h, --help print this help, then exit
14569 -V, --version print version number and configuration settings, then exit
14570 --config print configuration, then exit
14571 -q, --quiet, --silent
14572 do not print progress messages
14573 -d, --debug don't remove temporary files
14574 --recheck update $as_me by reconfiguring in the same conditions
14575 --file=FILE[:TEMPLATE]
14576 instantiate the configuration file FILE
14577 --header=FILE[:TEMPLATE]
14578 instantiate the configuration header FILE
14580 Configuration files:
14583 Configuration headers:
14586 Configuration commands:
14589 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
14590 rygel-gst-0-10-media-engine home page: <http://live.gnome.org/Rygel>."
14593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14594 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14596 rygel-gst-0-10-media-engine config.status 1.17.4
14597 configured by $0, generated by GNU Autoconf 2.69,
14598 with options \\"\$ac_cs_config\\"
14600 Copyright (C) 2012 Free Software Foundation, Inc.
14601 This config.status script is free software; the Free Software Foundation
14602 gives unlimited permission to copy, distribute and modify it."
14609 test -n "\$AWK" || AWK=awk
14612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14613 # The default lists apply if the user does not specify any file.
14619 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14620 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14624 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14636 # Handling of the options.
14637 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14639 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14640 $as_echo "$ac_cs_version"; exit ;;
14641 --config | --confi | --conf | --con | --co | --c )
14642 $as_echo "$ac_cs_config"; exit ;;
14643 --debug | --debu | --deb | --de | --d | -d )
14645 --file | --fil | --fi | --f )
14648 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14649 '') as_fn_error $? "missing file argument" ;;
14651 as_fn_append CONFIG_FILES " '$ac_optarg'"
14652 ac_need_defaults=false;;
14653 --header | --heade | --head | --hea )
14656 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14658 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14659 ac_need_defaults=false;;
14661 # Conflict between --help and --header
14662 as_fn_error $? "ambiguous option: \`$1'
14663 Try \`$0 --help' for more information.";;
14664 --help | --hel | -h )
14665 $as_echo "$ac_cs_usage"; exit ;;
14666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14667 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14670 # This is an error.
14671 -*) as_fn_error $? "unrecognized option: \`$1'
14672 Try \`$0 --help' for more information." ;;
14674 *) as_fn_append ac_config_targets " $1"
14675 ac_need_defaults=false ;;
14681 ac_configure_extra_args=
14683 if $ac_cs_silent; then
14685 ac_configure_extra_args="$ac_configure_extra_args --silent"
14689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14690 if \$ac_cs_recheck; then
14691 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14693 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14694 CONFIG_SHELL='$SHELL'
14695 export CONFIG_SHELL
14700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14705 ## Running $as_me. ##
14711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14715 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14718 # The HP-UX ksh and POSIX shell print the target directory to stdout
14719 # if CDPATH is set.
14720 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14722 sed_quote_subst='$sed_quote_subst'
14723 double_quote_subst='$double_quote_subst'
14724 delay_variable_subst='$delay_variable_subst'
14725 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14726 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14727 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14728 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14729 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14730 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14731 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14732 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14733 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14734 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14735 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14736 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14737 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14738 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14739 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14740 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14741 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14742 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14743 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14744 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14745 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14746 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14747 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14748 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14749 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14750 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14751 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14752 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14753 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14754 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14755 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14756 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14757 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14758 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14759 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14760 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14761 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14762 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14763 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14764 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14765 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14766 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14767 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14768 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14769 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14770 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14771 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14772 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14773 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14774 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14775 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14776 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14777 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14778 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14779 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14780 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14781 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"`'
14782 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14783 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14784 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14785 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14786 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14787 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14788 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14789 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14790 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14791 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14792 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14793 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14794 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14795 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14796 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14797 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14798 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14799 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14800 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14801 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14802 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14803 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14804 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14805 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14806 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14807 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14808 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14809 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14810 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14811 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14812 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14813 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14814 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14815 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14816 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14817 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14818 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14819 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14820 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14821 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14822 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14823 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14824 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14825 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14826 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14827 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14828 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14829 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14830 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14831 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14832 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14833 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14834 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14835 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14836 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14837 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14838 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14839 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14840 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14841 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14842 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14843 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14844 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14845 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14846 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14847 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14848 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14849 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14850 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14851 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14852 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14853 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14854 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14857 LTCFLAGS='$LTCFLAGS'
14858 compiler='$compiler_DEFAULT'
14860 # A function that is used when there is no print builtin or printf.
14861 func_fallback_echo ()
14863 eval 'cat <<_LTECHO_EOF
14868 # Quote evaled strings.
14883 deplibs_check_method \
14888 sharedlib_from_linklib_cmd \
14891 archiver_list_spec \
14897 lt_cv_sys_global_symbol_pipe \
14898 lt_cv_sys_global_symbol_to_cdecl \
14899 lt_cv_sys_global_symbol_to_c_name_address \
14900 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14901 nm_file_list_spec \
14902 lt_prog_compiler_no_builtin_flag \
14903 lt_prog_compiler_pic \
14904 lt_prog_compiler_wl \
14905 lt_prog_compiler_static \
14906 lt_cv_prog_compiler_c_o \
14915 export_dynamic_flag_spec \
14916 whole_archive_flag_spec \
14917 compiler_needs_object \
14919 allow_undefined_flag \
14920 no_undefined_flag \
14921 hardcode_libdir_flag_spec \
14922 hardcode_libdir_separator \
14926 variables_saved_for_relink \
14928 library_names_spec \
14930 install_override_mode \
14934 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14935 *[\\\\\\\`\\"\\\$]*)
14936 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14939 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14944 # Double-quote double-evaled strings.
14945 for var in reload_cmds \
14946 old_postinstall_cmds \
14947 old_postuninstall_cmds \
14949 extract_expsyms_cmds \
14950 old_archive_from_new_cmds \
14951 old_archive_from_expsyms_cmds \
14953 archive_expsym_cmds \
14955 module_expsym_cmds \
14956 export_symbols_cmds \
14960 postuninstall_cmds \
14962 sys_lib_search_path_spec \
14963 sys_lib_dlsearch_path_spec; do
14964 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14965 *[\\\\\\\`\\"\\\$]*)
14966 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14969 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14974 ac_aux_dir='$ac_aux_dir'
14975 xsi_shell='$xsi_shell'
14976 lt_shell_append='$lt_shell_append'
14978 # See if we are running on zsh, and set the options which allow our
14979 # commands through without removal of \ escapes INIT.
14980 if test -n "\${ZSH_VERSION+set}" ; then
14981 setopt NO_GLOB_SUBST
14987 TIMESTAMP='$TIMESTAMP'
14997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14999 # Handling of arguments.
15000 for ac_config_target in $ac_config_targets
15002 case $ac_config_target in
15003 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15004 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15005 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15006 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15007 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15008 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15009 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15010 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15011 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15012 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15014 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15019 # If the user did not use the arguments to specify the items to instantiate,
15020 # then the envvar interface is used. Set only those that are not.
15021 # We use the long form for the default assignment because of an extremely
15022 # bizarre bug on SunOS 4.1.3.
15023 if $ac_need_defaults; then
15024 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15025 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15026 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15029 # Have a temporary directory for convenience. Make it in the build tree
15030 # simply because there is no reason against having it here, and in addition,
15031 # creating and moving files from /tmp can sometimes cause problems.
15032 # Hook for its removal unless debugging.
15033 # Note that there is a small window in which the directory will not be cleaned:
15034 # after its creation but before its name has been assigned to `$tmp'.
15038 trap 'exit_status=$?
15039 : "${ac_tmp:=$tmp}"
15040 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15042 trap 'as_fn_exit 1' 1 2 13 15
15044 # Create a (secure) tmp directory for tmp files.
15047 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15051 tmp=./conf$$-$RANDOM
15052 (umask 077 && mkdir "$tmp")
15053 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15056 # Set up the scripts for CONFIG_FILES section.
15057 # No need to generate them if there are no CONFIG_FILES.
15058 # This happens for instance with `./config.status config.h'.
15059 if test -n "$CONFIG_FILES"; then
15062 ac_cr=`echo X | tr X '\015'`
15063 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15064 # But we know of no other shell where ac_cr would be empty at this
15065 # point, so we can use a bashism as a fallback.
15066 if test "x$ac_cr" = x; then
15067 eval ac_cr=\$\'\\r\'
15069 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15070 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15073 ac_cs_awk_cr=$ac_cr
15076 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15081 echo "cat >conf$$subs.awk <<_ACEOF" &&
15082 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15084 } >conf$$subs.sh ||
15085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15086 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15088 for ac_last_try in false false false false false :; do
15089 . ./conf$$subs.sh ||
15090 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15092 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15093 if test $ac_delim_n = $ac_delim_num; then
15095 elif $ac_last_try; then
15096 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15098 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15101 rm -f conf$$subs.sh
15103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15104 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15108 s/^/S["/; s/!.*/"]=/
15118 s/\(.\{148\}\)..*/\1/
15120 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15132 s/\(.\{148\}\)..*/\1/
15134 s/["\\]/\\&/g; s/^/"/; s/$/"/
15138 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15143 ' <conf$$subs.awk | sed '
15148 ' >>$CONFIG_STATUS || ac_write_fail=1
15149 rm -f conf$$subs.awk
15150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15152 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15153 for (key in S) S_is_set[key] = 1
15159 nfields = split(line, field, "@")
15161 len = length(field[1])
15162 for (i = 2; i < nfields; i++) {
15164 keylen = length(key)
15165 if (S_is_set[key]) {
15167 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15168 len += length(value) + length(field[++i])
15179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15180 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15181 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15184 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15185 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15188 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15189 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15190 # trailing colons and then remove the whole line if VPATH becomes empty
15191 # (actually we leave an empty line to preserve line numbers).
15192 if test "x$srcdir" = x.; then
15193 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15212 fi # test -n "$CONFIG_FILES"
15214 # Set up the scripts for CONFIG_HEADERS section.
15215 # No need to generate them if there are no CONFIG_HEADERS.
15216 # This happens for instance with `./config.status Makefile'.
15217 if test -n "$CONFIG_HEADERS"; then
15218 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15222 # Transform confdefs.h into an awk script `defines.awk', embedded as
15223 # here-document in config.status, that substitutes the proper values into
15224 # config.h.in to produce config.h.
15226 # Create a delimiter string that does not exist in confdefs.h, to ease
15227 # handling of long lines.
15229 for ac_last_try in false false :; do
15230 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15231 if test -z "$ac_tt"; then
15233 elif $ac_last_try; then
15234 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15236 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15240 # For the awk script, D is an array of macro values keyed by name,
15241 # likewise P contains macro parameters if any. Preserve backslash
15242 # newline sequences.
15244 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15246 s/.\{148\}/&'"$ac_delim"'/g
15249 s/^[ ]*#[ ]*define[ ][ ]*/ /
15256 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15258 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15263 D["\1"]=" \3\\\\\\n"\\/p
15265 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15270 s/.\{148\}/&'"$ac_delim"'/g
15275 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15278 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15280 ' <confdefs.h | sed '
15281 s/'"$ac_delim"'/"\\\
15282 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15285 for (key in D) D_is_set[key] = 1
15288 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15290 split(line, arg, " ")
15291 if (arg[1] == "#") {
15295 defundef = substr(arg[1], 2)
15298 split(mac1, mac2, "(") #)
15300 prefix = substr(line, 1, index(line, defundef) - 1)
15301 if (D_is_set[macro]) {
15302 # Preserve the white space surrounding the "#".
15303 print prefix "define", macro P[macro] D[macro]
15306 # Replace #undef with comments. This is necessary, for example,
15307 # in the case of _POSIX_SOURCE, which is predefined and required
15308 # on some systems where configure will not decide to define it.
15309 if (defundef == "undef") {
15310 print "/*", prefix defundef, macro, "*/"
15318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15319 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15320 fi # test -n "$CONFIG_HEADERS"
15323 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15328 :[FHLC]) ac_mode=$ac_tag; continue;;
15330 case $ac_mode$ac_tag in
15332 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15333 :[FH]-) ac_tag=-:-;;
15334 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15351 -) ac_f="$ac_tmp/stdin";;
15352 *) # Look for the file first in the build tree, then in the source tree
15353 # (if the path is not absolute). The absolute path cannot be DOS-style,
15354 # because $ac_f cannot contain `:'.
15358 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15360 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15362 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15363 as_fn_append ac_file_inputs " '$ac_f'"
15366 # Let's still pretend it is `configure' which instantiates (i.e., don't
15367 # use $as_me), people would be surprised to read:
15368 # /* config.h. Generated by config.status. */
15369 configure_input='Generated from '`
15370 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15372 if test x"$ac_file" != x-; then
15373 configure_input="$ac_file. $configure_input"
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15375 $as_echo "$as_me: creating $ac_file" >&6;}
15377 # Neutralize special characters interpreted by sed in replacement strings.
15378 case $configure_input in #(
15379 *\&* | *\|* | *\\* )
15380 ac_sed_conf_input=`$as_echo "$configure_input" |
15381 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15382 *) ac_sed_conf_input=$configure_input;;
15386 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15392 ac_dir=`$as_dirname -- "$ac_file" ||
15393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15394 X"$ac_file" : 'X\(//\)[^/]' \| \
15395 X"$ac_file" : 'X\(//\)$' \| \
15396 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15397 $as_echo X"$ac_file" |
15398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15402 /^X\(\/\/\)[^/].*/{
15415 as_dir="$ac_dir"; as_fn_mkdir_p
15419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15421 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15422 # A ".." for each directory in $ac_dir_suffix.
15423 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15424 case $ac_top_builddir_sub in
15425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15429 ac_abs_top_builddir=$ac_pwd
15430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15431 # for backward compatibility:
15432 ac_top_builddir=$ac_top_build_prefix
15435 .) # We are building in place.
15437 ac_top_srcdir=$ac_top_builddir_sub
15438 ac_abs_top_srcdir=$ac_pwd ;;
15439 [\\/]* | ?:[\\/]* ) # Absolute name.
15440 ac_srcdir=$srcdir$ac_dir_suffix;
15441 ac_top_srcdir=$srcdir
15442 ac_abs_top_srcdir=$srcdir ;;
15443 *) # Relative name.
15444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15445 ac_top_srcdir=$ac_top_build_prefix$srcdir
15446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15458 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15459 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15461 ac_MKDIR_P=$MKDIR_P
15463 [\\/$]* | ?:[\\/]* ) ;;
15464 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15469 # If the template does not know about datarootdir, expand it.
15470 # FIXME: This hack should be removed a few years after 2.60.
15471 ac_datarootdir_hack=; ac_datarootdir_seen=
15482 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15483 *datarootdir*) ac_datarootdir_seen=yes;;
15484 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15486 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15489 ac_datarootdir_hack='
15490 s&@datadir@&$datadir&g
15491 s&@docdir@&$docdir&g
15492 s&@infodir@&$infodir&g
15493 s&@localedir@&$localedir&g
15494 s&@mandir@&$mandir&g
15495 s&\\\${datarootdir}&$datarootdir&g' ;;
15499 # Neutralize VPATH when `$srcdir' = `.'.
15500 # Shell code in configure.ac might set extrasub.
15501 # FIXME: do we really want to maintain this feature?
15502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15503 ac_sed_extra="$ac_vpsub
15506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15508 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15509 s|@configure_input@|$ac_sed_conf_input|;t t
15510 s&@top_builddir@&$ac_top_builddir_sub&;t t
15511 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15512 s&@srcdir@&$ac_srcdir&;t t
15513 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15514 s&@top_srcdir@&$ac_top_srcdir&;t t
15515 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15516 s&@builddir@&$ac_builddir&;t t
15517 s&@abs_builddir@&$ac_abs_builddir&;t t
15518 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15519 s&@INSTALL@&$ac_INSTALL&;t t
15520 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15521 $ac_datarootdir_hack
15523 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15524 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15526 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15527 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15528 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15529 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15531 which seems to be undefined. Please make sure it is defined" >&5
15532 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15533 which seems to be undefined. Please make sure it is defined" >&2;}
15535 rm -f "$ac_tmp/stdin"
15537 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15538 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15546 if test x"$ac_file" != x-; then
15548 $as_echo "/* $configure_input */" \
15549 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15550 } >"$ac_tmp/config.h" \
15551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15552 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15554 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15557 mv "$ac_tmp/config.h" "$ac_file" \
15558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15561 $as_echo "/* $configure_input */" \
15562 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15563 || as_fn_error $? "could not create -" "$LINENO" 5
15565 # Compute "$ac_file"'s index in $config_headers.
15568 for _am_header in $config_headers :; do
15569 case $_am_header in
15570 $_am_arg | $_am_arg:* )
15573 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15576 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15577 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15578 X"$_am_arg" : 'X\(//\)[^/]' \| \
15579 X"$_am_arg" : 'X\(//\)$' \| \
15580 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15581 $as_echo X"$_am_arg" |
15582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15586 /^X\(\/\/\)[^/].*/{
15598 s/.*/./; q'`/stamp-h$_am_stamp_count
15601 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15602 $as_echo "$as_me: executing $ac_file commands" >&6;}
15607 case $ac_file$ac_mode in
15608 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15609 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15610 # are listed without --file. Let's play safe and only enable the eval
15611 # if we detect the quoting.
15612 case $CONFIG_FILES in
15613 *\'*) eval set x "$CONFIG_FILES" ;;
15614 *) set x $CONFIG_FILES ;;
15619 # Strip MF so we end up with the name of the file.
15620 mf=`echo "$mf" | sed -e 's/:.*$//'`
15621 # Check whether this is an Automake generated Makefile or not.
15622 # We used to match only the files named `Makefile.in', but
15623 # some people rename them; so instead we look at the file content.
15624 # Grep'ing the first line is not enough: some people post-process
15625 # each Makefile.in and add a new line on top of each file to say so.
15626 # Grep'ing the whole file is not good either: AIX grep has a line
15627 # limit of 2048, but all sed's we know have understand at least 4000.
15628 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15629 dirpart=`$as_dirname -- "$mf" ||
15630 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15631 X"$mf" : 'X\(//\)[^/]' \| \
15632 X"$mf" : 'X\(//\)$' \| \
15633 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15639 /^X\(\/\/\)[^/].*/{
15655 # Extract the definition of DEPDIR, am__include, and am__quote
15656 # from the Makefile without running `make'.
15657 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15658 test -z "$DEPDIR" && continue
15659 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15660 test -z "am__include" && continue
15661 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15662 # When using ansi2knr, U may be empty or an underscore; expand it
15663 U=`sed -n 's/^U = //p' < "$mf"`
15664 # Find all dependency output files, they are included files with
15665 # $(DEPDIR) in their names. We invoke sed twice because it is the
15666 # simplest approach to changing $(DEPDIR) to its actual value in the
15668 for file in `sed -n "
15669 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15670 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15671 # Make sure the directory exists.
15672 test -f "$dirpart/$file" && continue
15673 fdir=`$as_dirname -- "$file" ||
15674 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15675 X"$file" : 'X\(//\)[^/]' \| \
15676 X"$file" : 'X\(//\)$' \| \
15677 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15678 $as_echo X"$file" |
15679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15683 /^X\(\/\/\)[^/].*/{
15696 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15697 # echo "creating $dirpart/$file"
15698 echo '# dummy' > "$dirpart/$file"
15705 # See if we are running on zsh, and set the options which allow our
15706 # commands through without removal of \ escapes.
15707 if test -n "${ZSH_VERSION+set}" ; then
15708 setopt NO_GLOB_SUBST
15711 cfgfile="${ofile}T"
15712 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15715 cat <<_LT_EOF >> "$cfgfile"
15718 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15719 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15720 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15721 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15723 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15724 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15726 # Written by Gordon Matzigkeit, 1996
15728 # This file is part of GNU Libtool.
15730 # GNU Libtool is free software; you can redistribute it and/or
15731 # modify it under the terms of the GNU General Public License as
15732 # published by the Free Software Foundation; either version 2 of
15733 # the License, or (at your option) any later version.
15735 # As a special exception to the GNU General Public License,
15736 # if you distribute this file as part of a program or library that
15737 # is built using GNU Libtool, you may include this file under the
15738 # same distribution terms that you use for the rest of that program.
15740 # GNU Libtool is distributed in the hope that it will be useful,
15741 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15743 # GNU General Public License for more details.
15745 # You should have received a copy of the GNU General Public License
15746 # along with GNU Libtool; see the file COPYING. If not, a copy
15747 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15748 # obtained by writing to the Free Software Foundation, Inc.,
15749 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15752 # The names of the tagged configurations supported by this script.
15755 # ### BEGIN LIBTOOL CONFIG
15757 # Which release of libtool.m4 was used?
15758 macro_version=$macro_version
15759 macro_revision=$macro_revision
15761 # Whether or not to build static libraries.
15762 build_old_libs=$enable_static
15764 # Whether or not to build shared libraries.
15765 build_libtool_libs=$enable_shared
15767 # What type of objects to build.
15770 # Whether or not to optimize for fast installation.
15771 fast_install=$enable_fast_install
15773 # Shell to use when invoking shell scripts.
15776 # An echo program that protects backslashes.
15779 # The PATH separator for the build system.
15780 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15783 host_alias=$host_alias
15787 # The build system.
15788 build_alias=$build_alias
15792 # A sed program that does not truncate output.
15795 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15796 Xsed="\$SED -e 1s/^X//"
15798 # A grep program that handles long lines.
15804 # A literal string matcher.
15807 # A BSD- or MS-compatible name lister.
15810 # Whether we need soft or hard links.
15813 # What is the maximum length of a command?
15814 max_cmd_len=$max_cmd_len
15816 # Object file suffix (normally "o").
15819 # Executable file suffix (normally "").
15822 # whether the shell understands "unset".
15825 # turn spaces into newlines.
15828 # turn newlines into spaces.
15831 # convert \$build file names to \$host format.
15832 to_host_file_cmd=$lt_cv_to_host_file_cmd
15834 # convert \$build files to toolchain format.
15835 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15837 # An object symbol dumper.
15838 OBJDUMP=$lt_OBJDUMP
15840 # Method to check whether dependent libraries are shared objects.
15841 deplibs_check_method=$lt_deplibs_check_method
15843 # Command to use when deplibs_check_method = "file_magic".
15844 file_magic_cmd=$lt_file_magic_cmd
15846 # How to find potential files when deplibs_check_method = "file_magic".
15847 file_magic_glob=$lt_file_magic_glob
15849 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15850 want_nocaseglob=$lt_want_nocaseglob
15852 # DLL creation program.
15853 DLLTOOL=$lt_DLLTOOL
15855 # Command to associate shared and link libraries.
15856 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15861 # Flags to create an archive.
15862 AR_FLAGS=$lt_AR_FLAGS
15864 # How to feed a file listing to the archiver.
15865 archiver_list_spec=$lt_archiver_list_spec
15867 # A symbol stripping program.
15870 # Commands used to install an old-style archive.
15872 old_postinstall_cmds=$lt_old_postinstall_cmds
15873 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15875 # Whether to use a lock for old archive extraction.
15876 lock_old_archive_extraction=$lock_old_archive_extraction
15881 # LTCC compiler flags.
15882 LTCFLAGS=$lt_CFLAGS
15884 # Take the output of nm and produce a listing of raw symbols and C names.
15885 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15887 # Transform the output of nm in a proper C declaration.
15888 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15890 # Transform the output of nm in a C name address pair.
15891 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15893 # Transform the output of nm in a C name address pair when lib prefix is needed.
15894 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15896 # Specify filename containing input files for \$NM.
15897 nm_file_list_spec=$lt_nm_file_list_spec
15899 # The root where to search for dependent libraries,and in which our libraries should be installed.
15900 lt_sysroot=$lt_sysroot
15902 # The name of the directory that contains temporary libtool files.
15905 # Used to examine libraries when file_magic_cmd begins with "file".
15906 MAGIC_CMD=$MAGIC_CMD
15908 # Must we lock files when doing compilation?
15909 need_locks=$lt_need_locks
15912 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15914 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15915 DSYMUTIL=$lt_DSYMUTIL
15917 # Tool to change global to local symbols on Mac OS X.
15920 # Tool to manipulate fat objects and archives on Mac OS X.
15923 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15926 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15927 OTOOL64=$lt_OTOOL64
15929 # Old archive suffix (normally "a").
15932 # Shared library suffix (normally ".so").
15933 shrext_cmds=$lt_shrext_cmds
15935 # The commands to extract the exported symbol list from a shared archive.
15936 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15938 # Variables whose values should be saved in libtool wrapper scripts and
15939 # restored at link time.
15940 variables_saved_for_relink=$lt_variables_saved_for_relink
15942 # Do we need the "lib" prefix for modules?
15943 need_lib_prefix=$need_lib_prefix
15945 # Do we need a version for libraries?
15946 need_version=$need_version
15948 # Library versioning type.
15949 version_type=$version_type
15951 # Shared library runtime path variable.
15952 runpath_var=$runpath_var
15954 # Shared library path variable.
15955 shlibpath_var=$shlibpath_var
15957 # Is shlibpath searched before the hard-coded library search path?
15958 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15960 # Format of library name prefix.
15961 libname_spec=$lt_libname_spec
15963 # List of archive names. First name is the real one, the rest are links.
15964 # The last name is the one that the linker finds with -lNAME
15965 library_names_spec=$lt_library_names_spec
15967 # The coded name of the library, if different from the real name.
15968 soname_spec=$lt_soname_spec
15970 # Permission mode override for installation of shared libraries.
15971 install_override_mode=$lt_install_override_mode
15973 # Command to use after installation of a shared archive.
15974 postinstall_cmds=$lt_postinstall_cmds
15976 # Command to use after uninstallation of a shared archive.
15977 postuninstall_cmds=$lt_postuninstall_cmds
15979 # Commands used to finish a libtool library installation in a directory.
15980 finish_cmds=$lt_finish_cmds
15982 # As "finish_cmds", except a single script fragment to be evaled but
15984 finish_eval=$lt_finish_eval
15986 # Whether we should hardcode library paths into libraries.
15987 hardcode_into_libs=$hardcode_into_libs
15989 # Compile-time system search path for libraries.
15990 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15992 # Run-time system search path for libraries.
15993 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15995 # Whether dlopen is supported.
15996 dlopen_support=$enable_dlopen
15998 # Whether dlopen of programs is supported.
15999 dlopen_self=$enable_dlopen_self
16001 # Whether dlopen of statically linked programs is supported.
16002 dlopen_self_static=$enable_dlopen_self_static
16004 # Commands to strip libraries.
16005 old_striplib=$lt_old_striplib
16006 striplib=$lt_striplib
16009 # The linker used to build libraries.
16012 # How to create reloadable object files.
16013 reload_flag=$lt_reload_flag
16014 reload_cmds=$lt_reload_cmds
16016 # Commands used to build an old-style archive.
16017 old_archive_cmds=$lt_old_archive_cmds
16019 # A language specific compiler.
16022 # Is the compiler the GNU compiler?
16025 # Compiler flag to turn off builtin functions.
16026 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16028 # Additional compiler flags for building library objects.
16029 pic_flag=$lt_lt_prog_compiler_pic
16031 # How to pass a linker flag through the compiler.
16032 wl=$lt_lt_prog_compiler_wl
16034 # Compiler flag to prevent dynamic linking.
16035 link_static_flag=$lt_lt_prog_compiler_static
16037 # Does compiler simultaneously support -c and -o options?
16038 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16040 # Whether or not to add -lc for building shared libraries.
16041 build_libtool_need_lc=$archive_cmds_need_lc
16043 # Whether or not to disallow shared libs when runtime libs are static.
16044 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16046 # Compiler flag to allow reflexive dlopens.
16047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16049 # Compiler flag to generate shared objects directly from archives.
16050 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16052 # Whether the compiler copes with passing no objects directly.
16053 compiler_needs_object=$lt_compiler_needs_object
16055 # Create an old-style archive from a shared archive.
16056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16058 # Create a temporary old-style archive to link instead of a shared archive.
16059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16061 # Commands used to build a shared archive.
16062 archive_cmds=$lt_archive_cmds
16063 archive_expsym_cmds=$lt_archive_expsym_cmds
16065 # Commands used to build a loadable module if different from building
16066 # a shared archive.
16067 module_cmds=$lt_module_cmds
16068 module_expsym_cmds=$lt_module_expsym_cmds
16070 # Whether we are building with GNU ld or not.
16071 with_gnu_ld=$lt_with_gnu_ld
16073 # Flag that allows shared libraries with undefined symbols to be built.
16074 allow_undefined_flag=$lt_allow_undefined_flag
16076 # Flag that enforces no undefined symbols.
16077 no_undefined_flag=$lt_no_undefined_flag
16079 # Flag to hardcode \$libdir into a binary during linking.
16080 # This must work even if \$libdir does not exist
16081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16083 # Whether we need a single "-rpath" flag with a separated argument.
16084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16087 # DIR into the resulting binary.
16088 hardcode_direct=$hardcode_direct
16090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16091 # DIR into the resulting binary and the resulting library dependency is
16092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16093 # library is relocated.
16094 hardcode_direct_absolute=$hardcode_direct_absolute
16096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16097 # into the resulting binary.
16098 hardcode_minus_L=$hardcode_minus_L
16100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16101 # into the resulting binary.
16102 hardcode_shlibpath_var=$hardcode_shlibpath_var
16104 # Set to "yes" if building a shared library automatically hardcodes DIR
16105 # into the library and all subsequent libraries and executables linked
16107 hardcode_automatic=$hardcode_automatic
16109 # Set to yes if linker adds runtime paths of dependent libraries
16110 # to runtime path list.
16111 inherit_rpath=$inherit_rpath
16113 # Whether libtool must link a program against all its dependency libraries.
16114 link_all_deplibs=$link_all_deplibs
16116 # Set to "yes" if exported symbols are required.
16117 always_export_symbols=$always_export_symbols
16119 # The commands to list exported symbols.
16120 export_symbols_cmds=$lt_export_symbols_cmds
16122 # Symbols that should not be listed in the preloaded symbols.
16123 exclude_expsyms=$lt_exclude_expsyms
16125 # Symbols that must always be exported.
16126 include_expsyms=$lt_include_expsyms
16128 # Commands necessary for linking programs (against libraries) with templates.
16129 prelink_cmds=$lt_prelink_cmds
16131 # Commands necessary for finishing linking programs.
16132 postlink_cmds=$lt_postlink_cmds
16134 # Specify filename containing input files.
16135 file_list_spec=$lt_file_list_spec
16137 # How to hardcode a shared library path into an executable.
16138 hardcode_action=$hardcode_action
16140 # ### END LIBTOOL CONFIG
16146 cat <<\_LT_EOF >> "$cfgfile"
16147 # AIX sometimes has problems with the GCC collect2 program. For some
16148 # reason, if we set the COLLECT_NAMES environment variable, the problems
16149 # vanish in a puff of smoke.
16150 if test "X${COLLECT_NAMES+set}" != Xset; then
16152 export COLLECT_NAMES
16159 ltmain="$ac_aux_dir/ltmain.sh"
16162 # We use sed instead of cat because bash on DJGPP gets confused if
16163 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16164 # text mode, it properly converts lines to CR/LF. This bash problem
16165 # is reportedly fixed, but why not run on old versions too?
16166 sed '$q' "$ltmain" >> "$cfgfile" \
16167 || (rm -f "$cfgfile"; exit 1)
16169 if test x"$xsi_shell" = xyes; then
16170 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16174 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16175 \ * ) func_dirname_result="${3}" ;;\
16177 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16178 && mv -f "$cfgfile.tmp" "$cfgfile" \
16179 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16180 test 0 -eq $? || _lt_function_replace_fail=:
16183 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16186 \ func_basename_result="${1##*/}"\
16187 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16188 && mv -f "$cfgfile.tmp" "$cfgfile" \
16189 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16190 test 0 -eq $? || _lt_function_replace_fail=:
16193 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16194 func_dirname_and_basename ()\
16197 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16198 \ * ) func_dirname_result="${3}" ;;\
16200 \ func_basename_result="${1##*/}"\
16201 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16202 && mv -f "$cfgfile.tmp" "$cfgfile" \
16203 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16204 test 0 -eq $? || _lt_function_replace_fail=:
16207 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16210 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16211 \ # positional parameters, so assign one to ordinary parameter first.\
16212 \ func_stripname_result=${3}\
16213 \ func_stripname_result=${func_stripname_result#"${1}"}\
16214 \ func_stripname_result=${func_stripname_result%"${2}"}\
16215 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16216 && mv -f "$cfgfile.tmp" "$cfgfile" \
16217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16218 test 0 -eq $? || _lt_function_replace_fail=:
16221 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16222 func_split_long_opt ()\
16224 \ func_split_long_opt_name=${1%%=*}\
16225 \ func_split_long_opt_arg=${1#*=}\
16226 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16227 && mv -f "$cfgfile.tmp" "$cfgfile" \
16228 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16229 test 0 -eq $? || _lt_function_replace_fail=:
16232 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16233 func_split_short_opt ()\
16235 \ func_split_short_opt_arg=${1#??}\
16236 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16237 } # Extended-shell func_split_short_opt 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_lo2o ()$/,/^} # func_lo2o /c\
16247 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16248 \ *) func_lo2o_result=${1} ;;\
16250 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16251 && mv -f "$cfgfile.tmp" "$cfgfile" \
16252 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16253 test 0 -eq $? || _lt_function_replace_fail=:
16256 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16259 func_xform_result=${1%.*}.lo\
16260 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16261 && mv -f "$cfgfile.tmp" "$cfgfile" \
16262 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16263 test 0 -eq $? || _lt_function_replace_fail=:
16266 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16269 func_arith_result=$(( $* ))\
16270 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16271 && mv -f "$cfgfile.tmp" "$cfgfile" \
16272 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16273 test 0 -eq $? || _lt_function_replace_fail=:
16276 sed -e '/^func_len ()$/,/^} # func_len /c\
16279 func_len_result=${#1}\
16280 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16281 && mv -f "$cfgfile.tmp" "$cfgfile" \
16282 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16283 test 0 -eq $? || _lt_function_replace_fail=:
16287 if test x"$lt_shell_append" = xyes; then
16288 sed -e '/^func_append ()$/,/^} # func_append /c\
16291 eval "${1}+=\\${2}"\
16292 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16293 && mv -f "$cfgfile.tmp" "$cfgfile" \
16294 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16295 test 0 -eq $? || _lt_function_replace_fail=:
16298 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16299 func_append_quoted ()\
16301 \ func_quote_for_eval "${2}"\
16302 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16303 } # Extended-shell func_append_quoted implementation' "$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 # Save a `func_append' function call where possible by direct use of '+='
16310 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16311 && mv -f "$cfgfile.tmp" "$cfgfile" \
16312 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16313 test 0 -eq $? || _lt_function_replace_fail=:
16315 # Save a `func_append' function call even when '+=' is not available
16316 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16317 && mv -f "$cfgfile.tmp" "$cfgfile" \
16318 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16319 test 0 -eq $? || _lt_function_replace_fail=:
16322 if test x"$_lt_function_replace_fail" = x":"; then
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16324 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16328 mv -f "$cfgfile" "$ofile" ||
16329 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16333 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16334 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16337 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16338 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16340 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16345 '"s|^| $ac_top_srcdir/|" \
16346 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16348 sed '/^POTFILES =/,/[^\\]$/ {
16352 ' "po/Makefile.in" >"po/Makefile"
16353 rm -f "po/Makefile.tmp"
16354 mv "po/stamp-it.tmp" "po/stamp-it"
16363 ac_clean_files=$ac_clean_files_save
16365 test $ac_write_fail = 0 ||
16366 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16369 # configure is writing to config.log, and then calls config.status.
16370 # config.status does its own redirection, appending to config.log.
16371 # Unfortunately, on DOS this fails, as config.log is still kept open
16372 # by configure, so config.status won't be able to write to it; its
16373 # output is simply discarded. So we exec the FD to /dev/null,
16374 # effectively closing config.log, so it can be properly (re)opened and
16375 # appended to by config.status. When coming back to configure, we
16376 # need to make the FD available again.
16377 if test "$no_create" != yes; then
16379 ac_config_status_args=
16380 test "$silent" = yes &&
16381 ac_config_status_args="$ac_config_status_args --quiet"
16383 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16385 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16386 # would make configure fail if this is the last instruction.
16387 $ac_cs_success || as_fn_exit 1
16389 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16391 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16397 ${PACKAGE} ${VERSION}
16402 Source code location: ${srcdir}