2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.65.
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in @%:@(
147 set -o posix ;; @%:@(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
190 case $as_dir in @%:@(
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 @%:@ Portably unset VAR.
254 { eval $1=; unset $1;}
258 @%:@ as_fn_set_status STATUS
259 @%:@ -----------------------
260 @%:@ Set @S|@? to STATUS, without forking.
264 } @%:@ as_fn_set_status
266 @%:@ as_fn_exit STATUS
267 @%:@ -----------------
268 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 @%:@ as_fn_append VAR VALUE
324 @%:@ ----------------------
325 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326 @%:@ advantage of any shell optimizations that allow amortized linear growth over
327 @%:@ repeated appends, instead of the typical quadratic growth present in naive
328 @%:@ implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
341 @%:@ as_fn_arith ARG...
342 @%:@ ------------------
343 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345 @%:@ must be portable across @S|@(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 @%:@ as_fn_error ERROR [LINENO LOG_FD]
360 @%:@ ---------------------------------
361 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 @%:@ script with status @S|@?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in @%:@(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
706 ac_unique_file="configure.ac"
707 # Factoring default headers for most tests.
708 ac_includes_default="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 ac_subst_vars='am__EXEEXT_FALSE
750 DBUS_TOOL_NO_PREFIX_FALSE
751 DBUS_TOOL_NO_PREFIX_TRUE
758 ENABLE_EPIPHANY_EXTENSION_FALSE
759 ENABLE_EPIPHANY_EXTENSION_TRUE
760 EPIPHANY_EXTENSIONS_DIR
761 EPIPHANY_DEPENDENCY_LIBS
762 EPIPHANY_DEPENDENCY_CFLAGS
788 GCONF_SCHEMAS_INSTALL_FALSE
789 GCONF_SCHEMAS_INSTALL_TRUE
790 GCONF_SCHEMA_FILE_DIR
791 GCONF_SCHEMA_CONFIG_SOURCE
844 INTLTOOL_SERVICE_RULE
846 INTLTOOL_SCHEMAS_RULE
848 INTLTOOL_XML_NOMERGE_RULE
853 INTLTOOL_SOUNDLIST_RULE
860 INTLTOOL_DIRECTORY_RULE
861 INTLTOOL_DESKTOP_RULE
875 INSTALL_STRIP_PROGRAM
917 program_transform_name
930 enable_option_checking
932 enable_dependency_tracking
940 with_gconf_schema_file_dir
941 enable_schemas_install
942 enable_epiphany_extension
943 with_epiphany_version
945 with_extension_prefix
947 ac_precious_vars='build_alias
961 EPIPHANY_DEPENDENCY_CFLAGS
962 EPIPHANY_DEPENDENCY_LIBS
967 # Initialize some variables set by options.
969 ac_init_version=false
970 ac_unrecognized_opts=
972 # The variables have the same names as the options, with
973 # dashes changed to underlines.
981 program_transform_name=s,x,x,
989 # Installation directory options.
990 # These are left unexpanded so users can "make install exec_prefix=/foo"
991 # and all the variables that are supposed to be based on exec_prefix
992 # by default will actually change.
993 # Use braces instead of parens because sh, perl, etc. also accept them.
994 # (The list follows the same order as the GNU Coding Standards.)
995 bindir='${exec_prefix}/bin'
996 sbindir='${exec_prefix}/sbin'
997 libexecdir='${exec_prefix}/libexec'
998 datarootdir='${prefix}/share'
999 datadir='${datarootdir}'
1000 sysconfdir='${prefix}/etc'
1001 sharedstatedir='${prefix}/com'
1002 localstatedir='${prefix}/var'
1003 includedir='${prefix}/include'
1004 oldincludedir='/usr/include'
1005 docdir='${datarootdir}/doc/${PACKAGE}'
1006 infodir='${datarootdir}/info'
1011 libdir='${exec_prefix}/lib'
1012 localedir='${datarootdir}/locale'
1013 mandir='${datarootdir}/man'
1019 # If the previous option needs an argument, assign it.
1020 if test -n "$ac_prev"; then
1021 eval $ac_prev=\$ac_option
1027 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1031 # Accept the important Cygnus configure options, so we can diagnose typos.
1033 case $ac_dashdash$ac_option in
1037 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1039 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1040 bindir=$ac_optarg ;;
1042 -build | --build | --buil | --bui | --bu)
1043 ac_prev=build_alias ;;
1044 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1045 build_alias=$ac_optarg ;;
1047 -cache-file | --cache-file | --cache-fil | --cache-fi \
1048 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1049 ac_prev=cache_file ;;
1050 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1051 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1052 cache_file=$ac_optarg ;;
1054 --config-cache | -C)
1055 cache_file=config.cache ;;
1057 -datadir | --datadir | --datadi | --datad)
1059 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1060 datadir=$ac_optarg ;;
1062 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1063 | --dataroo | --dataro | --datar)
1064 ac_prev=datarootdir ;;
1065 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1066 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1067 datarootdir=$ac_optarg ;;
1069 -disable-* | --disable-*)
1070 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073 as_fn_error "invalid feature name: $ac_useropt"
1074 ac_useropt_orig=$ac_useropt
1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1078 "enable_$ac_useropt"
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081 ac_unrecognized_sep=', ';;
1083 eval enable_$ac_useropt=no ;;
1085 -docdir | --docdir | --docdi | --doc | --do)
1087 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1088 docdir=$ac_optarg ;;
1090 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1092 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1093 dvidir=$ac_optarg ;;
1095 -enable-* | --enable-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error "invalid feature name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_$ac_useropt"
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval enable_$ac_useropt=\$ac_optarg ;;
1111 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1112 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1113 | --exec | --exe | --ex)
1114 ac_prev=exec_prefix ;;
1115 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1116 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1117 | --exec=* | --exe=* | --ex=*)
1118 exec_prefix=$ac_optarg ;;
1120 -gas | --gas | --ga | --g)
1121 # Obsolete; use --with-gas.
1124 -help | --help | --hel | --he | -h)
1125 ac_init_help=long ;;
1126 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1127 ac_init_help=recursive ;;
1128 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1129 ac_init_help=short ;;
1131 -host | --host | --hos | --ho)
1132 ac_prev=host_alias ;;
1133 -host=* | --host=* | --hos=* | --ho=*)
1134 host_alias=$ac_optarg ;;
1136 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1138 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1140 htmldir=$ac_optarg ;;
1142 -includedir | --includedir | --includedi | --included | --include \
1143 | --includ | --inclu | --incl | --inc)
1144 ac_prev=includedir ;;
1145 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1146 | --includ=* | --inclu=* | --incl=* | --inc=*)
1147 includedir=$ac_optarg ;;
1149 -infodir | --infodir | --infodi | --infod | --info | --inf)
1151 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1152 infodir=$ac_optarg ;;
1154 -libdir | --libdir | --libdi | --libd)
1156 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1157 libdir=$ac_optarg ;;
1159 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1160 | --libexe | --libex | --libe)
1161 ac_prev=libexecdir ;;
1162 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1163 | --libexe=* | --libex=* | --libe=*)
1164 libexecdir=$ac_optarg ;;
1166 -localedir | --localedir | --localedi | --localed | --locale)
1167 ac_prev=localedir ;;
1168 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1169 localedir=$ac_optarg ;;
1171 -localstatedir | --localstatedir | --localstatedi | --localstated \
1172 | --localstate | --localstat | --localsta | --localst | --locals)
1173 ac_prev=localstatedir ;;
1174 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1175 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1176 localstatedir=$ac_optarg ;;
1178 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1180 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1181 mandir=$ac_optarg ;;
1183 -nfp | --nfp | --nf)
1184 # Obsolete; use --without-fp.
1187 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1188 | --no-cr | --no-c | -n)
1191 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1192 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1195 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1196 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1197 | --oldin | --oldi | --old | --ol | --o)
1198 ac_prev=oldincludedir ;;
1199 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1200 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1201 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1202 oldincludedir=$ac_optarg ;;
1204 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1206 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1207 prefix=$ac_optarg ;;
1209 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1210 | --program-pre | --program-pr | --program-p)
1211 ac_prev=program_prefix ;;
1212 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1213 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1214 program_prefix=$ac_optarg ;;
1216 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1217 | --program-suf | --program-su | --program-s)
1218 ac_prev=program_suffix ;;
1219 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1220 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1221 program_suffix=$ac_optarg ;;
1223 -program-transform-name | --program-transform-name \
1224 | --program-transform-nam | --program-transform-na \
1225 | --program-transform-n | --program-transform- \
1226 | --program-transform | --program-transfor \
1227 | --program-transfo | --program-transf \
1228 | --program-trans | --program-tran \
1229 | --progr-tra | --program-tr | --program-t)
1230 ac_prev=program_transform_name ;;
1231 -program-transform-name=* | --program-transform-name=* \
1232 | --program-transform-nam=* | --program-transform-na=* \
1233 | --program-transform-n=* | --program-transform-=* \
1234 | --program-transform=* | --program-transfor=* \
1235 | --program-transfo=* | --program-transf=* \
1236 | --program-trans=* | --program-tran=* \
1237 | --progr-tra=* | --program-tr=* | --program-t=*)
1238 program_transform_name=$ac_optarg ;;
1240 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1242 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1243 pdfdir=$ac_optarg ;;
1245 -psdir | --psdir | --psdi | --psd | --ps)
1247 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1251 | -silent | --silent | --silen | --sile | --sil)
1254 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1256 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1258 sbindir=$ac_optarg ;;
1260 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1261 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1262 | --sharedst | --shareds | --shared | --share | --shar \
1264 ac_prev=sharedstatedir ;;
1265 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1266 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1267 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1269 sharedstatedir=$ac_optarg ;;
1271 -site | --site | --sit)
1273 -site=* | --site=* | --sit=*)
1276 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1278 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1279 srcdir=$ac_optarg ;;
1281 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1282 | --syscon | --sysco | --sysc | --sys | --sy)
1283 ac_prev=sysconfdir ;;
1284 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1285 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1286 sysconfdir=$ac_optarg ;;
1288 -target | --target | --targe | --targ | --tar | --ta | --t)
1289 ac_prev=target_alias ;;
1290 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1291 target_alias=$ac_optarg ;;
1293 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1296 -version | --version | --versio | --versi | --vers | -V)
1297 ac_init_version=: ;;
1300 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1301 # Reject names that are not valid shell variable names.
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1303 as_fn_error "invalid package name: $ac_useropt"
1304 ac_useropt_orig=$ac_useropt
1305 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306 case $ac_user_opts in
1310 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311 ac_unrecognized_sep=', ';;
1313 eval with_$ac_useropt=\$ac_optarg ;;
1315 -without-* | --without-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1329 eval with_$ac_useropt=no ;;
1332 # Obsolete; use --with-x.
1335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336 | --x-incl | --x-inc | --x-in | --x-i)
1337 ac_prev=x_includes ;;
1338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340 x_includes=$ac_optarg ;;
1342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344 ac_prev=x_libraries ;;
1345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347 x_libraries=$ac_optarg ;;
1349 -*) as_fn_error "unrecognized option: \`$ac_option'
1350 Try \`$0 --help' for more information."
1354 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1355 # Reject names that are not valid shell variable names.
1356 case $ac_envvar in #(
1357 '' | [0-9]* | *[!_$as_cr_alnum]* )
1358 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1360 eval $ac_envvar=\$ac_optarg
1361 export $ac_envvar ;;
1364 # FIXME: should be removed in autoconf 3.0.
1365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1374 if test -n "$ac_prev"; then
1375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376 as_fn_error "missing argument to $ac_option"
1379 if test -n "$ac_unrecognized_opts"; then
1380 case $enable_option_checking in
1382 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1383 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1387 # Check all directory arguments for consistency.
1388 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389 datadir sysconfdir sharedstatedir localstatedir includedir \
1390 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391 libdir localedir mandir
1393 eval ac_val=\$$ac_var
1394 # Remove trailing slashes.
1397 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398 eval $ac_var=\$ac_val;;
1400 # Be sure to have absolute directory names.
1402 [\\/$]* | ?:[\\/]* ) continue;;
1403 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1405 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1408 # There might be people who depend on the old broken behavior: `$host'
1409 # used to hold the argument of --host etc.
1410 # FIXME: To remove some day.
1413 target=$target_alias
1415 # FIXME: To remove some day.
1416 if test "x$host_alias" != x; then
1417 if test "x$build_alias" = x; then
1418 cross_compiling=maybe
1419 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1420 If a cross compiler is detected then cross compile mode will be used." >&2
1421 elif test "x$build_alias" != "x$host_alias"; then
1427 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1429 test "$silent" = yes && exec 6>/dev/null
1432 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1433 ac_ls_di=`ls -di .` &&
1434 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1435 as_fn_error "working directory cannot be determined"
1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1437 as_fn_error "pwd does not report name of working directory"
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442 ac_srcdir_defaulted=yes
1443 # Try the directory containing this script, then the parent directory.
1444 ac_confdir=`$as_dirname -- "$as_myself" ||
1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446 X"$as_myself" : 'X\(//\)[^/]' \| \
1447 X"$as_myself" : 'X\(//\)$' \| \
1448 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449 $as_echo X"$as_myself" |
1450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1472 ac_srcdir_defaulted=no
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1478 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1480 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1482 # When building in place, set srcdir=.
1483 if test "$ac_abs_confdir" = "$ac_pwd"; then
1486 # Remove unnecessary trailing slashes from srcdir.
1487 # Double slashes in file names in object file debugging info
1488 # mess up M-x gdb in Emacs.
1490 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1492 for ac_var in $ac_precious_vars; do
1493 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1494 eval ac_env_${ac_var}_value=\$${ac_var}
1495 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1496 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500 # Report the --help message.
1502 if test "$ac_init_help" = "long"; then
1503 # Omit some internal or obsolete options to make the list less imposing.
1504 # This message is too long to be a string in the A/UX 3.1 sh.
1506 \`configure' configures this package to adapt to many kinds of systems.
1508 Usage: $0 [OPTION]... [VAR=VALUE]...
1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511 VAR=VALUE. See below for descriptions of some of the useful variables.
1513 Defaults for the options are specified in brackets.
1516 -h, --help display this help and exit
1517 --help=short display options specific to this package
1518 --help=recursive display the short help of all the included packages
1519 -V, --version display version information and exit
1520 -q, --quiet, --silent do not print \`checking...' messages
1521 --cache-file=FILE cache test results in FILE [disabled]
1522 -C, --config-cache alias for \`--cache-file=config.cache'
1523 -n, --no-create do not create output files
1524 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1526 Installation directories:
1527 --prefix=PREFIX install architecture-independent files in PREFIX
1528 @<:@@S|@ac_default_prefix@:>@
1529 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1532 By default, \`make install' will install all the files in
1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535 for instance \`--prefix=\$HOME'.
1537 For better control, use the options below.
1539 Fine tuning of the installation directories:
1540 --bindir=DIR user executables [EPREFIX/bin]
1541 --sbindir=DIR system admin executables [EPREFIX/sbin]
1542 --libexecdir=DIR program executables [EPREFIX/libexec]
1543 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1544 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1545 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1546 --libdir=DIR object code libraries [EPREFIX/lib]
1547 --includedir=DIR C header files [PREFIX/include]
1548 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1549 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1550 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1551 --infodir=DIR info documentation [DATAROOTDIR/info]
1552 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1553 --mandir=DIR man documentation [DATAROOTDIR/man]
1554 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1555 --htmldir=DIR html documentation [DOCDIR]
1556 --dvidir=DIR dvi documentation [DOCDIR]
1557 --pdfdir=DIR pdf documentation [DOCDIR]
1558 --psdir=DIR ps documentation [DOCDIR]
1564 --program-prefix=PREFIX prepend PREFIX to installed program names
1565 --program-suffix=SUFFIX append SUFFIX to installed program names
1566 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1569 --build=BUILD configure for building on BUILD [guessed]
1570 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1574 if test -n "$ac_init_help"; then
1579 --disable-option-checking ignore unrecognized --enable/--with options
1580 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1581 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1582 --disable-nls do not use Native Language Support
1583 --disable-dependency-tracking speeds up one-time build
1584 --enable-dependency-tracking do not reject slow dependency extractors
1585 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1586 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1587 --enable-fast-install@<:@=PKGS@:>@
1588 optimize for fast installation @<:@default=yes@:>@
1589 --disable-libtool-lock avoid locking (might break parallel builds)
1590 --disable-schemas-install
1591 Disable the schemas installation
1592 --enable-epiphany-extension Enable Epiphany Extension
1593 --disable-libnotify Disable libnotify support
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1600 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1601 --with-gconf-source=sourceaddress
1602 Config database for installing schema files.
1603 --with-gconf-schema-file-dir=dir
1604 Directory for installing schema files.
1605 --with-epiphany-version@<:@=1.6|1.8|1.10|2.14|2.16|2.18|2.20|2.22|2.24|2.26|2.28@:>@
1606 Whether to use epiphany version 1.6 or 1.8 or 1.10
1607 or 2.14 or 2.16 or 2.18 or 2.20 or 2.22 or 2.24 or
1608 2.26 or 2.28 (default 1.6)
1609 --with-extension-prefix=path Epiphany extension prefix
1611 Some influential environment variables:
1612 CC C compiler command
1613 CFLAGS C compiler flags
1614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1615 nonstandard directory <lib dir>
1616 LIBS libraries to pass to the linker, e.g. -l<library>
1617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1618 you have headers in a nonstandard directory <include dir>
1620 PKG_CONFIG path to pkg-config utility
1622 C compiler flags for GNOME, overriding pkg-config
1623 GNOME_LIBS linker flags for GNOME, overriding pkg-config
1624 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1625 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1626 EPIPHANY_DEPENDENCY_CFLAGS
1627 C compiler flags for EPIPHANY_DEPENDENCY, overriding pkg-config
1628 EPIPHANY_DEPENDENCY_LIBS
1629 linker flags for EPIPHANY_DEPENDENCY, overriding pkg-config
1631 C compiler flags for NOTIFY, overriding pkg-config
1632 NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1667 .) # We are building in place.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1701 generated by GNU Autoconf 2.65
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 @%:@ ac_fn_c_try_compile LINENO
1715 @%:@ --------------------------
1716 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
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_compile") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 as_fn_set_status $ac_retval
1750 } @%:@ ac_fn_c_try_compile
1752 @%:@ ac_fn_c_try_link LINENO
1753 @%:@ -----------------------
1754 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext conftest$ac_exeext
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest$ac_exeext && {
1778 test "$cross_compiling" = yes ||
1779 $as_test_x conftest$ac_exeext
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790 # interfere with the next link command; also delete a directory that is
1791 # left behind by Apple's compiler. We do this before executing the actions.
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 as_fn_set_status $ac_retval
1796 } @%:@ ac_fn_c_try_link
1798 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1799 @%:@ ----------------------------------
1800 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1821 # include <limits.h>
1823 # include <assert.h>
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1850 if ac_fn_c_try_link "$LINENO"; then :
1855 rm -f core conftest.err conftest.$ac_objext \
1856 conftest$ac_exeext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 } @%:@ ac_fn_c_check_func
1865 @%:@ ac_fn_c_try_cpp LINENO
1866 @%:@ ----------------------
1867 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_cpp conftest.$ac_ext"
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1880 if test -s conftest.err; then
1881 grep -v '^ *+' conftest.err >conftest.er1
1882 cat conftest.er1 >&5
1883 mv -f conftest.er1 conftest.err
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } >/dev/null && {
1887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1888 test ! -s conftest.err
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898 as_fn_set_status $ac_retval
1900 } @%:@ ac_fn_c_try_cpp
1902 @%:@ ac_fn_c_try_run LINENO
1903 @%:@ ----------------------
1904 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1905 @%:@ that executables *can* be run.
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1936 ac_retval=$ac_status
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 as_fn_set_status $ac_retval
1942 } @%:@ ac_fn_c_try_run
1944 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 @%:@ -------------------------------------------------------
1946 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1947 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 $as_echo_n "(cached) " >&6
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1961 if ac_fn_c_try_compile "$LINENO"; then :
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } @%:@ ac_fn_c_check_header_compile
1975 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 @%:@ -------------------------------------------------------
1977 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 @%:@ the include files in INCLUDES and setting the cache variable VAR
1980 ac_fn_c_check_header_mongrel ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987 $as_echo_n "(cached) " >&6
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1993 # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_header_compiler=yes
2004 ac_header_compiler=no
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2017 if ac_fn_c_try_cpp "$LINENO"; then :
2018 ac_header_preproc=yes
2020 ac_header_preproc=no
2022 rm -f conftest.err conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2026 # So? What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2052 eval "$3=\$ac_header_compiler"
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2058 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 } @%:@ ac_fn_c_check_header_mongrel
2061 cat >config.log <<_ACEOF
2062 This file contains any messages produced by compilers while
2063 running configure, to aid debugging if configure makes a mistake.
2065 It was created by $as_me, which was
2066 generated by GNU Autoconf 2.65. Invocation command line was
2078 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2079 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2080 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2081 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2082 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2085 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2087 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2088 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2089 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2090 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2091 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2092 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2093 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir=.
2102 $as_echo "PATH: $as_dir"
2118 # Keep a trace of the command line.
2119 # Strip out --no-create and --no-recursion so they do not pile up.
2120 # Strip out --silent because we don't want to record it for future runs.
2121 # Also quote any args containing shell meta-characters.
2122 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_must_keep_next=false
2132 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2134 | -silent | --silent | --silen | --sile | --sil)
2137 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2142 as_fn_append ac_configure_args1 " '$ac_arg'"
2143 if test $ac_must_keep_next = true; then
2144 ac_must_keep_next=false # Got value, back to normal.
2147 *=* | --config-cache | -C | -disable-* | --disable-* \
2148 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2149 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2150 | -with-* | --with-* | -without-* | --without-* | --x)
2151 case "$ac_configure_args0 " in
2152 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 -* ) ac_must_keep_next=true ;;
2158 as_fn_append ac_configure_args " '$ac_arg'"
2163 { ac_configure_args0=; unset ac_configure_args0;}
2164 { ac_configure_args1=; unset ac_configure_args1;}
2166 # When interrupted or exit'd, cleanup temporary files, and complete
2167 # config.log. We remove comments because anyway the quotes in there
2168 # would cause problems or look ugly.
2169 # WARNING: Use '\'' to represent an apostrophe within the trap.
2170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2171 trap 'exit_status=$?
2172 # Save into config.log some information that might help in debugging.
2177 ## ---------------- ##
2178 ## Cache variables. ##
2179 ## ---------------- ##
2182 # The following way of writing the cache mishandles newlines in values,
2184 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2185 eval ac_val=\$$ac_var
2189 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2190 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193 _ | IFS | as_nl) ;; #(
2194 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2195 *) { eval $ac_var=; unset $ac_var;} ;;
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2237 for ac_var in $ac_subst_files
2239 eval ac_val=\$$ac_var
2241 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 $as_echo "$ac_var='\''$ac_val'\''"
2248 if test -s confdefs.h; then
2258 test "$ac_signal" != 0 &&
2259 $as_echo "$as_me: caught signal $ac_signal"
2260 $as_echo "$as_me: exit $exit_status"
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2266 for ac_signal in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2274 $as_echo "/* confdefs.h */" > confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h <<_ACEOF
2279 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h <<_ACEOF
2283 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 cat >>confdefs.h <<_ACEOF
2287 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2290 cat >>confdefs.h <<_ACEOF
2291 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2294 cat >>confdefs.h <<_ACEOF
2295 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 cat >>confdefs.h <<_ACEOF
2299 @%:@define PACKAGE_URL "$PACKAGE_URL"
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer an explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 ac_site_file1=$CONFIG_SITE
2309 elif test "x$prefix" != xNONE; then
2310 ac_site_file1=$prefix/share/config.site
2311 ac_site_file2=$prefix/etc/config.site
2313 ac_site_file1=$ac_default_prefix/share/config.site
2314 ac_site_file2=$ac_default_prefix/etc/config.site
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 test "x$ac_site_file" = xNONE && continue
2319 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2327 if test -r "$cache_file"; then
2328 # Some versions of bash will fail to source /dev/null (special files
2329 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2330 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2334 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335 *) . "./$cache_file";;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2344 # Check that the precious variables saved in the cache have kept the same
2346 ac_cache_corrupted=false
2347 for ac_var in $ac_precious_vars; do
2348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349 eval ac_new_set=\$ac_env_${ac_var}_set
2350 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351 eval ac_new_val=\$ac_env_${ac_var}_value
2352 case $ac_old_set,$ac_new_set in
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2363 if test "x$ac_old_val" != "x$ac_new_val"; then
2364 # differences in whitespace do not lead to failure.
2365 ac_old_val_w=`echo x $ac_old_val`
2366 ac_new_val_w=`echo x $ac_new_val`
2367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370 ac_cache_corrupted=:
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374 eval $ac_var=\$ac_old_val
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2382 # Pass precious variables to config.status.
2383 if test "$ac_new_set" = set; then
2385 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386 *) ac_arg=$ac_var=$ac_new_val ;;
2388 case " $ac_configure_args " in
2389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2390 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2394 if $ac_cache_corrupted; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2412 am__api_version='1.11'
2415 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416 for ac_t in install-sh install.sh shtool; do
2417 if test -f "$ac_dir/$ac_t"; then
2419 ac_install_sh="$ac_aux_dir/$ac_t -c"
2424 if test -z "$ac_aux_dir"; then
2425 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2428 # These three variables are undocumented and unsupported,
2429 # and are intended to be withdrawn in a future Autoconf release.
2430 # They can cause serious problems if a builder's source tree is in a directory
2431 # whose full name contains unusual characters.
2432 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2433 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2434 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2437 # Find a good install program. We prefer a C program (faster),
2438 # so one script is as good as another. But avoid the broken or
2439 # incompatible versions:
2440 # SysV /etc/install, /usr/sbin/install
2441 # SunOS /usr/etc/install
2442 # IRIX /sbin/install
2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448 # OS/2's system install, which has a completely different semantic
2449 # ./install, which can be erroneously created by make from ./install.sh.
2450 # Reject install programs that cannot install multiple files.
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2452 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2453 if test -z "$INSTALL"; then
2454 if test "${ac_cv_path_install+set}" = set; then :
2455 $as_echo_n "(cached) " >&6
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 # Account for people who put trailing slashes in PATH elements.
2463 case $as_dir/ in @%:@((
2464 ./ | .// | /[cC]/* | \
2465 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2466 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2469 # OSF1 and SCO ODT 3.0 have their own names for install.
2470 # Don't use installbsd from OSF since it installs stuff as root
2472 for ac_prog in ginstall scoinst install; do
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475 if test $ac_prog = install &&
2476 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477 # AIX install. It has an incompatible calling convention.
2479 elif test $ac_prog = install &&
2480 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2481 # program-specific install script used by HP pwplus--don't use.
2484 rm -rf conftest.one conftest.two conftest.dir
2485 echo one > conftest.one
2486 echo two > conftest.two
2488 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2489 test -s conftest.one && test -s conftest.two &&
2490 test -s conftest.dir/conftest.one &&
2491 test -s conftest.dir/conftest.two
2493 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2506 rm -rf conftest.one conftest.two conftest.dir
2509 if test "${ac_cv_path_install+set}" = set; then
2510 INSTALL=$ac_cv_path_install
2512 # As a last resort, use the slow shell script. Don't cache a
2513 # value for INSTALL within a source directory, because that will
2514 # break other packages using the cache if that directory is
2515 # removed, or if the value is a relative name.
2516 INSTALL=$ac_install_sh
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2520 $as_echo "$INSTALL" >&6; }
2522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523 # It thinks the first close brace ends the variable substitution.
2524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2528 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2531 $as_echo_n "checking whether build environment is sane... " >&6; }
2534 echo timestamp > conftest.file
2535 # Reject unsafe characters in $srcdir or the absolute working directory
2536 # name. Accept space and tab only in the latter.
2540 *[\\\"\#\$\&\'\`$am_lf]*)
2541 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2544 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2545 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2548 # Do `set' in a subshell so we don't clobber the current shell's
2549 # arguments. Must try -L first in case configure is actually a
2550 # symlink; some systems play weird games with the mod time of symlinks
2551 # (eg FreeBSD returns the mod time of the symlink's containing
2554 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2555 if test "$*" = "X"; then
2557 set X `ls -t "$srcdir/configure" conftest.file`
2560 if test "$*" != "X $srcdir/configure conftest.file" \
2561 && test "$*" != "X conftest.file $srcdir/configure"; then
2563 # If neither matched, then we have a broken ls. This can happen
2564 # if, for instance, CONFIG_SHELL is bash and it inherits a
2565 # broken ls alias from the environment. This has actually
2566 # happened. Such a system could not be considered "sane".
2567 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2568 alias in your environment" "$LINENO" 5
2571 test "$2" = conftest.file
2577 as_fn_error "newly created file is older than distributed files!
2578 Check your system clock" "$LINENO" 5
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2581 $as_echo "yes" >&6; }
2582 test "$program_prefix" != NONE &&
2583 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2584 # Use a double $ so make ignores it.
2585 test "$program_suffix" != NONE &&
2586 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2587 # Double any \ or $.
2588 # By default was `s,x,x', remove it if useless.
2589 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2590 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2592 # expand $ac_aux_dir to an absolute path
2593 am_aux_dir=`cd $ac_aux_dir && pwd`
2595 if test x"${MISSING+set}" != xset; then
2598 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2600 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2603 # Use eval to expand $SHELL
2604 if eval "$MISSING --run true"; then
2605 am_missing_run="$MISSING --run "
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2609 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2612 if test x"${install_sh}" != xset; then
2615 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2617 install_sh="\${SHELL} $am_aux_dir/install-sh"
2621 # Installed binaries are usually stripped using `strip' when the user
2622 # run `make install-strip'. However `strip' might not be the right
2623 # tool to use in cross-compilation environments, therefore Automake
2624 # will honor the `STRIP' environment variable to overrule this program.
2625 if test "$cross_compiling" != no; then
2626 if test -n "$ac_tool_prefix"; then
2627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2628 set dummy ${ac_tool_prefix}strip; ac_word=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_STRIP+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 if test -n "$STRIP"; then
2635 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir=.
2642 for ac_exec_ext in '' $ac_executable_extensions; do
2643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 STRIP=$ac_cv_prog_STRIP
2655 if test -n "$STRIP"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2657 $as_echo "$STRIP" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2665 if test -z "$ac_cv_prog_STRIP"; then
2667 # Extract the first word of "strip", so it can be a program name with args.
2668 set dummy strip; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$ac_ct_STRIP"; then
2675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_ac_ct_STRIP="strip"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2695 if test -n "$ac_ct_STRIP"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2697 $as_echo "$ac_ct_STRIP" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2703 if test "x$ac_ct_STRIP" = x; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710 ac_tool_warned=yes ;;
2715 STRIP="$ac_cv_prog_STRIP"
2719 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2722 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2723 if test -z "$MKDIR_P"; then
2724 if test "${ac_cv_path_mkdir+set}" = set; then :
2725 $as_echo_n "(cached) " >&6
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2731 test -z "$as_dir" && as_dir=.
2732 for ac_prog in mkdir gmkdir; do
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2735 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2736 'mkdir (GNU coreutils) '* | \
2737 'mkdir (coreutils) '* | \
2738 'mkdir (fileutils) '4.1*)
2739 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2749 test -d ./--version && rmdir ./--version
2750 if test "${ac_cv_path_mkdir+set}" = set; then
2751 MKDIR_P="$ac_cv_path_mkdir -p"
2753 # As a last resort, use the slow shell script. Don't cache a
2754 # value for MKDIR_P within a source directory, because that will
2755 # break other packages using the cache if that directory is
2756 # removed, or if the value is a relative name.
2757 MKDIR_P="$ac_install_sh -d"
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2761 $as_echo "$MKDIR_P" >&6; }
2765 [\\/$]* | ?:[\\/]*) ;;
2766 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2769 for ac_prog in gawk mawk nawk awk
2771 # Extract the first word of "$ac_prog", so it can be a program name with args.
2772 set dummy $ac_prog; ac_word=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if test "${ac_cv_prog_AWK+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$AWK"; then
2779 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_AWK="$ac_prog"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$AWK"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2801 $as_echo "$AWK" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2808 test -n "$AWK" && break
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2812 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2814 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2815 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2816 $as_echo_n "(cached) " >&6
2818 cat >conftest.make <<\_ACEOF
2821 @echo '@@@%%%=$(MAKE)=@@@%%%'
2823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2826 eval ac_cv_prog_make_${ac_make}_set=yes;;
2828 eval ac_cv_prog_make_${ac_make}_set=no;;
2832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2839 SET_MAKE="MAKE=${MAKE-make}"
2842 rm -rf .tst 2>/dev/null
2843 mkdir .tst 2>/dev/null
2844 if test -d .tst; then
2849 rmdir .tst 2>/dev/null
2851 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2852 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2853 # is not polluted with repeated "-I."
2854 am__isrc=' -I$(srcdir)'
2855 # test to see if srcdir already configured
2856 if test -f $srcdir/config.status; then
2857 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2861 # test whether we have cygpath
2862 if test -z "$CYGPATH_W"; then
2863 if (cygpath --version) >/dev/null 2>/dev/null; then
2864 CYGPATH_W='cygpath -w'
2871 # Define the identity of the package.
2876 cat >>confdefs.h <<_ACEOF
2877 @%:@define PACKAGE "$PACKAGE"
2881 cat >>confdefs.h <<_ACEOF
2882 @%:@define VERSION "$VERSION"
2885 # Some tools Automake needs.
2887 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2890 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2893 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2896 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2899 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2901 # We need awk for the "check" target. The system "awk" is bad on
2903 # Always define AMTAR for backward compatibility.
2905 AMTAR=${AMTAR-"${am_missing_run}tar"}
2907 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2913 ac_config_headers="$ac_config_headers config.h"
2916 # Extract the first word of "gconftool-2", so it can be a program name with args.
2917 set dummy gconftool-2; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2925 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 GCONFTOOL=$ac_cv_path_GCONFTOOL
2947 if test -n "$GCONFTOOL"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
2949 $as_echo "$GCONFTOOL" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2958 $as_echo_n "checking whether NLS is requested... " >&6; }
2959 @%:@ Check whether --enable-nls was given.
2960 if test "${enable_nls+set}" = set; then :
2961 enableval=$enable_nls; USE_NLS=$enableval
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2967 $as_echo "$USE_NLS" >&6; }
2970 DEPDIR="${am__leading_dot}deps"
2972 ac_config_commands="$ac_config_commands depfiles"
2975 am_make=${MAKE-make}
2976 cat > confinc << 'END'
2978 @echo this is the am__doit target
2981 # If we don't find an include directive, just comment out the code.
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2983 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2987 # First try GNU make style include.
2988 echo "include confinc" > confmf
2989 # Ignore all kinds of additional output from `make'.
2990 case `$am_make -s -f confmf 2> /dev/null` in #(
2991 *the\ am__doit\ target*)
2997 # Now try BSD make style include.
2998 if test "$am__include" = "#"; then
2999 echo '.include "confinc"' > confmf
3000 case `$am_make -s -f confmf 2> /dev/null` in #(
3001 *the\ am__doit\ target*)
3002 am__include=.include
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3011 $as_echo "$_am_result" >&6; }
3012 rm -f confinc confmf
3014 @%:@ Check whether --enable-dependency-tracking was given.
3015 if test "${enable_dependency_tracking+set}" = set; then :
3016 enableval=$enable_dependency_tracking;
3019 if test "x$enable_dependency_tracking" != xno; then
3020 am_depcomp="$ac_aux_dir/depcomp"
3023 if test "x$enable_dependency_tracking" != xno; then
3033 ac_cpp='$CPP $CPPFLAGS'
3034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3037 if test -n "$ac_tool_prefix"; then
3038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if test "${ac_cv_prog_CC+set}" = set; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC="$CC" # Let the user override the test.
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3076 if test -z "$ac_cv_prog_CC"; then
3078 # Extract the first word of "gcc", so it can be a program name with args.
3079 set dummy gcc; ac_word=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$ac_ct_CC"; then
3086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_ac_ct_CC="gcc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3106 if test -n "$ac_ct_CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3108 $as_echo "$ac_ct_CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3114 if test "x$ac_ct_CC" = x; then
3117 case $cross_compiling:$ac_tool_warned in
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3121 ac_tool_warned=yes ;;
3129 if test -z "$CC"; then
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3132 set dummy ${ac_tool_prefix}cc; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_CC+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC="$CC" # Let the user override the test.
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_CC="${ac_tool_prefix}cc"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3170 if test -z "$CC"; then
3171 # Extract the first word of "cc", so it can be a program name with args.
3172 set dummy cc; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_CC+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CC"; then
3179 ac_cv_prog_CC="$CC" # Let the user override the test.
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3190 ac_prog_rejected=yes
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 if test $ac_prog_rejected = yes; then
3202 # We found a bogon in the path, so make sure we never use it.
3203 set dummy $ac_cv_prog_CC
3205 if test $@%:@ != 0; then
3206 # We chose a different compiler from the bogus one.
3207 # However, it has the same basename, so the bogon will be chosen
3208 # first if we set CC to just the basename; use the full file name.
3210 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3216 if test -n "$CC"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3226 if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 for ac_prog in cl.exe
3230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if test "${ac_cv_prog_CC+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3237 if test -n "$CC"; then
3238 ac_cv_prog_CC="$CC" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$CC"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260 $as_echo "$CC" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3267 test -n "$CC" && break
3270 if test -z "$CC"; then
3272 for ac_prog in cl.exe
3274 # Extract the first word of "$ac_prog", so it can be a program name with args.
3275 set dummy $ac_prog; ac_word=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$ac_ct_CC"; then
3282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir=.
3289 for ac_exec_ext in '' $ac_executable_extensions; do
3290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291 ac_cv_prog_ac_ct_CC="$ac_prog"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3302 if test -n "$ac_ct_CC"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3304 $as_echo "$ac_ct_CC" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3311 test -n "$ac_ct_CC" && break
3314 if test "x$ac_ct_CC" = x; then
3317 case $cross_compiling:$ac_tool_warned in
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3321 ac_tool_warned=yes ;;
3330 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3332 as_fn_error "no acceptable C compiler found in \$PATH
3333 See \`config.log' for more details." "$LINENO" 5; }
3335 # Provide some information about the compiler.
3336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3339 for ac_option in --version -v -V -qversion; do
3340 { { ac_try="$ac_compiler $ac_option >&5"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3349 if test -s conftest.err; then
3351 ... rest of stderr output deleted ...
3352 10q' conftest.err >conftest.er1
3353 cat conftest.er1 >&5
3355 rm -f conftest.er1 conftest.err
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 ac_clean_files_save=$ac_clean_files
3372 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3373 # Try to create an executable without -o first, disregard a.out.
3374 # It will help us diagnose broken compilers, and finding out an intuition
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3377 $as_echo_n "checking whether the C compiler works... " >&6; }
3378 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3380 # The possible output files:
3381 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3384 for ac_file in $ac_files
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3393 if { { ac_try="$ac_link_default"
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_link_default") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3406 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3407 # so that the user can short-circuit this test for compilers unknown to
3409 for ac_file in $ac_files ''
3411 test -f "$ac_file" || continue
3413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3416 # We found the default executable, but exeext='' is most
3420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3424 # We set ac_cv_exeext here because the later test for it is not
3425 # safe: cross compilers may not add the suffix if given an `-o'
3426 # argument, so we may need to know it at that point already.
3427 # Even if this section looks crufty: it has the advantage of
3434 test "$ac_cv_exeext" = no && ac_cv_exeext=
3439 if test -z "$ac_file"; then :
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3442 $as_echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.$ac_ext >&5
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 { as_fn_set_status 77
3448 as_fn_error "C compiler cannot create executables
3449 See \`config.log' for more details." "$LINENO" 5; }; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3452 $as_echo "yes" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3455 $as_echo_n "checking for C compiler default output file name... " >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3457 $as_echo "$ac_file" >&6; }
3458 ac_exeext=$ac_cv_exeext
3460 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3461 ac_clean_files=$ac_clean_files_save
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3463 $as_echo_n "checking for suffix of executables... " >&6; }
3464 if { { ac_try="$ac_link"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471 (eval "$ac_link") 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; then :
3475 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3476 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3477 # work properly (i.e., refer to `conftest.exe'), while it won't with
3479 for ac_file in conftest.exe conftest conftest.*; do
3480 test -f "$ac_file" || continue
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error "cannot compute suffix of executables: cannot compile and link
3492 See \`config.log' for more details." "$LINENO" 5; }
3494 rm -f conftest conftest$ac_cv_exeext
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3496 $as_echo "$ac_cv_exeext" >&6; }
3498 rm -f conftest.$ac_ext
3499 EXEEXT=$ac_cv_exeext
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3503 @%:@include <stdio.h>
3507 FILE *f = fopen ("conftest.out", "w");
3508 return ferror (f) || fclose (f) != 0;
3514 ac_clean_files="$ac_clean_files conftest.out"
3515 # Check that the compiler produces executables we can run. If not, either
3516 # the compiler is broken, or we cross compile.
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3518 $as_echo_n "checking whether we are cross compiling... " >&6; }
3519 if test "$cross_compiling" != yes; then
3520 { { ac_try="$ac_link"
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_link") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }
3531 if { ac_try='./conftest$ac_cv_exeext'
3532 { { case "(($ac_try" in
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_try") 2>&5
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }; }; then
3544 if test "$cross_compiling" = maybe; then
3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error "cannot run C compiled programs.
3550 If you meant to cross compile, use \`--host'.
3551 See \`config.log' for more details." "$LINENO" 5; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3556 $as_echo "$cross_compiling" >&6; }
3558 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3559 ac_clean_files=$ac_clean_files_save
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3561 $as_echo_n "checking for suffix of object files... " >&6; }
3562 if test "${ac_cv_objext+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 rm -f conftest.o conftest.obj
3577 if { { ac_try="$ac_compile"
3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584 (eval "$ac_compile") 2>&5
3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587 test $ac_status = 0; }; then :
3588 for ac_file in conftest.o conftest.obj conftest.*; do
3589 test -f "$ac_file" || continue;
3591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3597 $as_echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error "cannot compute suffix of object files: cannot compile
3603 See \`config.log' for more details." "$LINENO" 5; }
3605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3608 $as_echo "$ac_cv_objext" >&6; }
3609 OBJEXT=$ac_cv_objext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3613 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3641 if test $ac_compiler_gnu = yes; then
3646 ac_test_CFLAGS=${CFLAGS+set}
3647 ac_save_CFLAGS=$CFLAGS
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3650 if test "${ac_cv_prog_cc_g+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3653 ac_save_c_werror_flag=$ac_c_werror_flag
3654 ac_c_werror_flag=yes
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile "$LINENO"; then :
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 if ac_fn_c_try_compile "$LINENO"; then :
3686 ac_c_werror_flag=$ac_save_c_werror_flag
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3699 if ac_fn_c_try_compile "$LINENO"; then :
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707 ac_c_werror_flag=$ac_save_c_werror_flag
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3710 $as_echo "$ac_cv_prog_cc_g" >&6; }
3711 if test "$ac_test_CFLAGS" = set; then
3712 CFLAGS=$ac_save_CFLAGS
3713 elif test $ac_cv_prog_cc_g = yes; then
3714 if test "$GCC" = yes; then
3720 if test "$GCC" = yes; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3728 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 ac_cv_prog_cc_c89=no
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3737 #include <sys/types.h>
3738 #include <sys/stat.h>
3739 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3740 struct buf { int x; };
3741 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3742 static char *e (p, i)
3748 static char *f (char * (*g) (char **, int), char **p, ...)
3753 s = g (p, va_arg (v,int));
3758 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3759 function prototypes and stuff, but not '\xHH' hex character constants.
3760 These don't provoke an error unfortunately, instead are silently treated
3761 as 'x'. The following induces an error, until -std is added to get
3762 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3763 array size at least. It's necessary to write '\x00'==0 to get something
3764 that's true only with -std. */
3765 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3767 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3768 inside strings and character constants. */
3770 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3772 int test (int i, double x);
3773 struct s1 {int (*f) (int a);};
3774 struct s2 {int (*f) (double a);};
3775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3781 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3786 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3787 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3789 CC="$ac_save_CC $ac_arg"
3790 if ac_fn_c_try_compile "$LINENO"; then :
3791 ac_cv_prog_cc_c89=$ac_arg
3793 rm -f core conftest.err conftest.$ac_objext
3794 test "x$ac_cv_prog_cc_c89" != "xno" && break
3796 rm -f conftest.$ac_ext
3801 case "x$ac_cv_prog_cc_c89" in
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3804 $as_echo "none needed" >&6; } ;;
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3807 $as_echo "unsupported" >&6; } ;;
3809 CC="$CC $ac_cv_prog_cc_c89"
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3811 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3813 if test "x$ac_cv_prog_cc_c89" != xno; then :
3818 ac_cpp='$CPP $CPPFLAGS'
3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3823 depcc="$CC" am_compiler_list=
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3826 $as_echo_n "checking dependency style of $depcc... " >&6; }
3827 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3831 # We make a subdir and do the tests there. Otherwise we can end up
3832 # making bogus files that we don't know about and never remove. For
3833 # instance it was reported that on HP-UX the gcc test will end up
3834 # making a dummy file named `D' -- because `-MD' means `put the output
3837 # Copy depcomp to subdir because otherwise we won't find it if we're
3838 # using a relative directory.
3839 cp "$am_depcomp" conftest.dir
3841 # We will build objects and dependencies in a subdirectory because
3842 # it helps to detect inapplicable dependency modes. For instance
3843 # both Tru64's cc and ICC support -MD to output dependencies as a
3844 # side effect of compilation, but ICC will put the dependencies in
3845 # the current directory while Tru64 will put them in the object
3849 am_cv_CC_dependencies_compiler_type=none
3850 if test "$am_compiler_list" = ""; then
3851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3854 case " $depcc " in #(
3855 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3858 for depmode in $am_compiler_list; do
3859 # Setup a source with many dependencies, because some compilers
3860 # like to wrap large dependency lists on column 80 (with \), and
3861 # we should not choose a depcomp mode which is confused by this.
3863 # We need to recreate these files for each test, as the compiler may
3864 # overwrite some of them when testing with obscure command lines.
3865 # This happens at least with the AIX C compiler.
3867 for i in 1 2 3 4 5 6; do
3868 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3869 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3870 # Solaris 8's {/usr,}/bin/sh.
3871 touch sub/conftst$i.h
3873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3875 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3876 # mode. It turns out that the SunPro C++ compiler does not properly
3877 # handle `-M -o', and we need to detect this. Also, some Intel
3878 # versions had trouble with output in subdirs
3879 am__obj=sub/conftest.${OBJEXT-o}
3880 am__minus_obj="-o $am__obj"
3883 # This depmode causes a compiler race in universal mode.
3884 test "$am__universal" = false || continue
3887 # after this tag, mechanisms are not by side-effect, so they'll
3888 # only be used when explicitly requested
3889 if test "x$enable_dependency_tracking" = xyes; then
3895 msvisualcpp | msvcmsys)
3896 # This compiler won't grok `-c -o', but also, the minuso test has
3897 # not run yet. These depmodes are late enough in the game, and
3898 # so weak that their functioning should not be impacted.
3899 am__obj=conftest.${OBJEXT-o}
3904 if depmode=$depmode \
3905 source=sub/conftest.c object=$am__obj \
3906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3907 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3908 >/dev/null 2>conftest.err &&
3909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3911 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3913 # icc doesn't choke on unknown options, it will just issue warnings
3914 # or remarks (even with -Werror). So we grep stderr for any message
3915 # that says an option was ignored or not supported.
3916 # When given -MP, icc 7.0 and 7.1 complain thusly:
3917 # icc: Command line warning: ignoring option '-M'; no argument required
3918 # The diagnosis changed in icc 8.0:
3919 # icc: Command line remark: option '-MP' not supported
3920 if (grep 'ignoring option' conftest.err ||
3921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3922 am_cv_CC_dependencies_compiler_type=$depmode
3931 am_cv_CC_dependencies_compiler_type=none
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3940 test "x$enable_dependency_tracking" != xno \
3941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3943 am__fastdepCC_FALSE='#'
3945 am__fastdepCC_TRUE='#'
3946 am__fastdepCC_FALSE=
3953 case "$am__api_version" in
3955 as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3961 if test -n "0.35.0"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3963 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3965 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3966 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3967 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3970 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3971 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3972 as_fn_error "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
3975 # Extract the first word of "intltool-update", so it can be a program name with args.
3976 set dummy intltool-update; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 case $INTLTOOL_UPDATE in
3984 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir=.
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4006 if test -n "$INTLTOOL_UPDATE"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4008 $as_echo "$INTLTOOL_UPDATE" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4015 # Extract the first word of "intltool-merge", so it can be a program name with args.
4016 set dummy intltool-merge; ac_word=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4020 $as_echo_n "(cached) " >&6
4022 case $INTLTOOL_MERGE in
4024 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4046 if test -n "$INTLTOOL_MERGE"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4048 $as_echo "$INTLTOOL_MERGE" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4055 # Extract the first word of "intltool-extract", so it can be a program name with args.
4056 set dummy intltool-extract; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4062 case $INTLTOOL_EXTRACT in
4064 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4071 test -z "$as_dir" && as_dir=.
4072 for ac_exec_ext in '' $ac_executable_extensions; do
4073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4086 if test -n "$INTLTOOL_EXTRACT"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4088 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4095 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4096 as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4099 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4100 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4101 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4102 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4103 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4104 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4105 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4106 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4107 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4108 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4109 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4110 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4111 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4112 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4113 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4114 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4115 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4116 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4117 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4215 # Check the gettext tools to make sure they are GNU
4216 # Extract the first word of "xgettext", so it can be a program name with args.
4217 set dummy xgettext; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4225 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 XGETTEXT=$ac_cv_path_XGETTEXT
4247 if test -n "$XGETTEXT"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4249 $as_echo "$XGETTEXT" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4256 # Extract the first word of "msgmerge", so it can be a program name with args.
4257 set dummy msgmerge; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4265 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 MSGMERGE=$ac_cv_path_MSGMERGE
4287 if test -n "$MSGMERGE"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4289 $as_echo "$MSGMERGE" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 # Extract the first word of "msgfmt", so it can be a program name with args.
4297 set dummy msgfmt; ac_word=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4305 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 MSGFMT=$ac_cv_path_MSGFMT
4327 if test -n "$MSGFMT"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4329 $as_echo "$MSGFMT" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4337 set dummy gmsgfmt; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4345 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir=.
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4367 GMSGFMT=$ac_cv_path_GMSGFMT
4368 if test -n "$GMSGFMT"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4370 $as_echo "$GMSGFMT" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4378 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4380 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4381 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4382 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4383 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4384 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4387 # Extract the first word of "perl", so it can be a program name with args.
4388 set dummy perl; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 case $INTLTOOL_PERL in
4396 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4418 if test -n "$INTLTOOL_PERL"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4420 $as_echo "$INTLTOOL_PERL" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 if test -z "$INTLTOOL_PERL"; then
4428 as_fn_error "perl not found" "$LINENO" 5
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4431 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4432 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4433 if test $? -ne 0; then
4434 as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4436 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4438 $as_echo "$IT_PERL_VERSION" >&6; }
4440 if test "x" != "xno-xml"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4442 $as_echo_n "checking for XML::Parser... " >&6; }
4443 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4445 $as_echo "ok" >&6; }
4447 as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4451 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4454 # Set DATADIRNAME correctly if it is not set yet
4455 # (copied from glib-gettext.m4)
4456 if test -z "$DATADIRNAME"; then
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4463 extern int _nl_msg_cat_cntr;
4464 return _nl_msg_cat_cntr
4469 if ac_fn_c_try_link "$LINENO"; then :
4474 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4475 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4487 rm -f core conftest.err conftest.$ac_objext \
4488 conftest$ac_exeext conftest.$ac_ext
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4497 $as_echo_n "checking for library containing strerror... " >&6; }
4498 if test "${ac_cv_search_strerror+set}" = set; then :
4499 $as_echo_n "(cached) " >&6
4501 ac_func_search_save_LIBS=$LIBS
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4505 /* Override any GCC internal prototype to avoid an error.
4506 Use char because int might match the return type of a GCC
4507 builtin and then its argument prototype would still apply. */
4520 for ac_lib in '' cposix; do
4521 if test -z "$ac_lib"; then
4522 ac_res="none required"
4525 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4527 if ac_fn_c_try_link "$LINENO"; then :
4528 ac_cv_search_strerror=$ac_res
4530 rm -f core conftest.err conftest.$ac_objext \
4532 if test "${ac_cv_search_strerror+set}" = set; then :
4536 if test "${ac_cv_search_strerror+set}" = set; then :
4539 ac_cv_search_strerror=no
4542 LIBS=$ac_func_search_save_LIBS
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4545 $as_echo "$ac_cv_search_strerror" >&6; }
4546 ac_res=$ac_cv_search_strerror
4547 if test "$ac_res" != no; then :
4548 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4553 ac_cpp='$CPP $CPPFLAGS'
4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if test "${ac_cv_prog_CC+set}" = set; then :
4563 $as_echo_n "(cached) " >&6
4565 if test -n "$CC"; then
4566 ac_cv_prog_CC="$CC" # Let the user override the test.
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 if test -n "$CC"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$ac_cv_prog_CC"; then
4598 # Extract the first word of "gcc", so it can be a program name with args.
4599 set dummy gcc; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$ac_ct_CC"; then
4606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615 ac_cv_prog_ac_ct_CC="gcc"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4626 if test -n "$ac_ct_CC"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4628 $as_echo "$ac_ct_CC" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4634 if test "x$ac_ct_CC" = x; then
4637 case $cross_compiling:$ac_tool_warned in
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned=yes ;;
4649 if test -z "$CC"; then
4650 if test -n "$ac_tool_prefix"; then
4651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4652 set dummy ${ac_tool_prefix}cc; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_CC+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$CC"; then
4659 ac_cv_prog_CC="$CC" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_CC="${ac_tool_prefix}cc"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 if test -n "$CC"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4681 $as_echo "$CC" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4690 if test -z "$CC"; then
4691 # Extract the first word of "cc", so it can be a program name with args.
4692 set dummy cc; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if test "${ac_cv_prog_CC+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$CC"; then
4699 ac_cv_prog_CC="$CC" # Let the user override the test.
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4710 ac_prog_rejected=yes
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 if test $ac_prog_rejected = yes; then
4722 # We found a bogon in the path, so make sure we never use it.
4723 set dummy $ac_cv_prog_CC
4725 if test $@%:@ != 0; then
4726 # We chose a different compiler from the bogus one.
4727 # However, it has the same basename, so the bogon will be chosen
4728 # first if we set CC to just the basename; use the full file name.
4730 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4736 if test -n "$CC"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4738 $as_echo "$CC" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$CC"; then
4747 if test -n "$ac_tool_prefix"; then
4748 for ac_prog in cl.exe
4750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if test "${ac_cv_prog_CC+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4757 if test -n "$CC"; then
4758 ac_cv_prog_CC="$CC" # Let the user override the test.
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 if test -n "$CC"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4780 $as_echo "$CC" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4787 test -n "$CC" && break
4790 if test -z "$CC"; then
4792 for ac_prog in cl.exe
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy $ac_prog; ac_word=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$ac_ct_CC"; then
4802 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir=.
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_ac_ct_CC="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4822 if test -n "$ac_ct_CC"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4824 $as_echo "$ac_ct_CC" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$ac_ct_CC" && break
4834 if test "x$ac_ct_CC" = x; then
4837 case $cross_compiling:$ac_tool_warned in
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned=yes ;;
4850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error "no acceptable C compiler found in \$PATH
4853 See \`config.log' for more details." "$LINENO" 5; }
4855 # Provide some information about the compiler.
4856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4859 for ac_option in --version -v -V -qversion; do
4860 { { ac_try="$ac_compiler $ac_option >&5"
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4869 if test -s conftest.err; then
4871 ... rest of stderr output deleted ...
4872 10q' conftest.err >conftest.er1
4873 cat conftest.er1 >&5
4875 rm -f conftest.er1 conftest.err
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4882 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4899 if ac_fn_c_try_compile "$LINENO"; then :
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4915 ac_test_CFLAGS=${CFLAGS+set}
4916 ac_save_CFLAGS=$CFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4919 if test "${ac_cv_prog_cc_g+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 ac_save_c_werror_flag=$ac_c_werror_flag
4923 ac_c_werror_flag=yes
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4937 if ac_fn_c_try_compile "$LINENO"; then :
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4952 if ac_fn_c_try_compile "$LINENO"; then :
4955 ac_c_werror_flag=$ac_save_c_werror_flag
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4968 if ac_fn_c_try_compile "$LINENO"; then :
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_c_werror_flag=$ac_save_c_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
4980 if test "$ac_test_CFLAGS" = set; then
4981 CFLAGS=$ac_save_CFLAGS
4982 elif test $ac_cv_prog_cc_g = yes; then
4983 if test "$GCC" = yes; then
4989 if test "$GCC" = yes; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4997 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4998 $as_echo_n "(cached) " >&6
5000 ac_cv_prog_cc_c89=no
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5006 #include <sys/types.h>
5007 #include <sys/stat.h>
5008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5009 struct buf { int x; };
5010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5011 static char *e (p, i)
5017 static char *f (char * (*g) (char **, int), char **p, ...)
5022 s = g (p, va_arg (v,int));
5027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5028 function prototypes and stuff, but not '\xHH' hex character constants.
5029 These don't provoke an error unfortunately, instead are silently treated
5030 as 'x'. The following induces an error, until -std is added to get
5031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5032 array size at least. It's necessary to write '\x00'==0 to get something
5033 that's true only with -std. */
5034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5037 inside strings and character constants. */
5039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5041 int test (int i, double x);
5042 struct s1 {int (*f) (int a);};
5043 struct s2 {int (*f) (double a);};
5044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5058 CC="$ac_save_CC $ac_arg"
5059 if ac_fn_c_try_compile "$LINENO"; then :
5060 ac_cv_prog_cc_c89=$ac_arg
5062 rm -f core conftest.err conftest.$ac_objext
5063 test "x$ac_cv_prog_cc_c89" != "xno" && break
5065 rm -f conftest.$ac_ext
5070 case "x$ac_cv_prog_cc_c89" in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5073 $as_echo "none needed" >&6; } ;;
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5076 $as_echo "unsupported" >&6; } ;;
5078 CC="$CC $ac_cv_prog_cc_c89"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5080 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5082 if test "x$ac_cv_prog_cc_c89" != xno; then :
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092 depcc="$CC" am_compiler_list=
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5095 $as_echo_n "checking dependency style of $depcc... " >&6; }
5096 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5100 # We make a subdir and do the tests there. Otherwise we can end up
5101 # making bogus files that we don't know about and never remove. For
5102 # instance it was reported that on HP-UX the gcc test will end up
5103 # making a dummy file named `D' -- because `-MD' means `put the output
5106 # Copy depcomp to subdir because otherwise we won't find it if we're
5107 # using a relative directory.
5108 cp "$am_depcomp" conftest.dir
5110 # We will build objects and dependencies in a subdirectory because
5111 # it helps to detect inapplicable dependency modes. For instance
5112 # both Tru64's cc and ICC support -MD to output dependencies as a
5113 # side effect of compilation, but ICC will put the dependencies in
5114 # the current directory while Tru64 will put them in the object
5118 am_cv_CC_dependencies_compiler_type=none
5119 if test "$am_compiler_list" = ""; then
5120 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5123 case " $depcc " in #(
5124 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5127 for depmode in $am_compiler_list; do
5128 # Setup a source with many dependencies, because some compilers
5129 # like to wrap large dependency lists on column 80 (with \), and
5130 # we should not choose a depcomp mode which is confused by this.
5132 # We need to recreate these files for each test, as the compiler may
5133 # overwrite some of them when testing with obscure command lines.
5134 # This happens at least with the AIX C compiler.
5136 for i in 1 2 3 4 5 6; do
5137 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5138 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5139 # Solaris 8's {/usr,}/bin/sh.
5140 touch sub/conftst$i.h
5142 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5145 # mode. It turns out that the SunPro C++ compiler does not properly
5146 # handle `-M -o', and we need to detect this. Also, some Intel
5147 # versions had trouble with output in subdirs
5148 am__obj=sub/conftest.${OBJEXT-o}
5149 am__minus_obj="-o $am__obj"
5152 # This depmode causes a compiler race in universal mode.
5153 test "$am__universal" = false || continue
5156 # after this tag, mechanisms are not by side-effect, so they'll
5157 # only be used when explicitly requested
5158 if test "x$enable_dependency_tracking" = xyes; then
5164 msvisualcpp | msvcmsys)
5165 # This compiler won't grok `-c -o', but also, the minuso test has
5166 # not run yet. These depmodes are late enough in the game, and
5167 # so weak that their functioning should not be impacted.
5168 am__obj=conftest.${OBJEXT-o}
5173 if depmode=$depmode \
5174 source=sub/conftest.c object=$am__obj \
5175 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5176 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5177 >/dev/null 2>conftest.err &&
5178 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5179 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5180 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5181 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5182 # icc doesn't choke on unknown options, it will just issue warnings
5183 # or remarks (even with -Werror). So we grep stderr for any message
5184 # that says an option was ignored or not supported.
5185 # When given -MP, icc 7.0 and 7.1 complain thusly:
5186 # icc: Command line warning: ignoring option '-M'; no argument required
5187 # The diagnosis changed in icc 8.0:
5188 # icc: Command line remark: option '-MP' not supported
5189 if (grep 'ignoring option' conftest.err ||
5190 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5191 am_cv_CC_dependencies_compiler_type=$depmode
5200 am_cv_CC_dependencies_compiler_type=none
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5205 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5206 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5209 test "x$enable_dependency_tracking" != xno \
5210 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5212 am__fastdepCC_FALSE='#'
5214 am__fastdepCC_TRUE='#'
5215 am__fastdepCC_FALSE=
5220 ac_cpp='$CPP $CPPFLAGS'
5221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5225 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5226 # On Suns, sometimes $CPP names a directory.
5227 if test -n "$CPP" && test -d "$CPP"; then
5230 if test -z "$CPP"; then
5231 if test "${ac_cv_prog_CPP+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 # Double quotes because CPP needs to be expanded
5235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5238 for ac_c_preproc_warn_flag in '' yes
5240 # Use a header file that comes with gcc, so configuring glibc
5241 # with a fresh cross-compiler works.
5242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5243 # <limits.h> exists even on freestanding compilers.
5244 # On the NeXT, cc -E runs the code through the compiler's parser,
5245 # not just through cpp. "Syntax error" is here to catch this case.
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5249 @%:@ include <limits.h>
5251 @%:@ include <assert.h>
5255 if ac_fn_c_try_cpp "$LINENO"; then :
5258 # Broken: fails on valid input.
5261 rm -f conftest.err conftest.$ac_ext
5263 # OK, works on sane cases. Now check whether nonexistent headers
5264 # can be detected and how.
5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5266 /* end confdefs.h. */
5267 @%:@include <ac_nonexistent.h>
5269 if ac_fn_c_try_cpp "$LINENO"; then :
5270 # Broken: success on invalid input.
5273 # Passes both tests.
5277 rm -f conftest.err conftest.$ac_ext
5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5281 rm -f conftest.err conftest.$ac_ext
5282 if $ac_preproc_ok; then :
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5295 $as_echo "$CPP" >&6; }
5297 for ac_c_preproc_warn_flag in '' yes
5299 # Use a header file that comes with gcc, so configuring glibc
5300 # with a fresh cross-compiler works.
5301 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5302 # <limits.h> exists even on freestanding compilers.
5303 # On the NeXT, cc -E runs the code through the compiler's parser,
5304 # not just through cpp. "Syntax error" is here to catch this case.
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5308 @%:@ include <limits.h>
5310 @%:@ include <assert.h>
5314 if ac_fn_c_try_cpp "$LINENO"; then :
5317 # Broken: fails on valid input.
5320 rm -f conftest.err conftest.$ac_ext
5322 # OK, works on sane cases. Now check whether nonexistent headers
5323 # can be detected and how.
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5326 @%:@include <ac_nonexistent.h>
5328 if ac_fn_c_try_cpp "$LINENO"; then :
5329 # Broken: success on invalid input.
5332 # Passes both tests.
5336 rm -f conftest.err conftest.$ac_ext
5339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5340 rm -f conftest.err conftest.$ac_ext
5341 if $ac_preproc_ok; then :
5344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5346 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5347 See \`config.log' for more details." "$LINENO" 5; }
5351 ac_cpp='$CPP $CPPFLAGS'
5352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5359 if test "${ac_cv_path_GREP+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -z "$GREP"; then
5363 ac_path_GREP_found=false
5364 # Loop through the user's path and test for each of PROGNAME-LIST
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5369 test -z "$as_dir" && as_dir=.
5370 for ac_prog in grep ggrep; do
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5373 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5374 # Check for GNU ac_path_GREP and select it if it is found.
5375 # Check for GNU $ac_path_GREP
5376 case `"$ac_path_GREP" --version 2>&1` in
5378 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5381 $as_echo_n 0123456789 >"conftest.in"
5384 cat "conftest.in" "conftest.in" >"conftest.tmp"
5385 mv "conftest.tmp" "conftest.in"
5386 cp "conftest.in" "conftest.nl"
5387 $as_echo 'GREP' >> "conftest.nl"
5388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5390 as_fn_arith $ac_count + 1 && ac_count=$as_val
5391 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5392 # Best one so far, save it but keep looking for a better one
5393 ac_cv_path_GREP="$ac_path_GREP"
5394 ac_path_GREP_max=$ac_count
5396 # 10*(2^10) chars as input seems more than enough
5397 test $ac_count -gt 10 && break
5399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5402 $ac_path_GREP_found && break 3
5407 if test -z "$ac_cv_path_GREP"; then
5408 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5411 ac_cv_path_GREP=$GREP
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5416 $as_echo "$ac_cv_path_GREP" >&6; }
5417 GREP="$ac_cv_path_GREP"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5421 $as_echo_n "checking for egrep... " >&6; }
5422 if test "${ac_cv_path_EGREP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5426 then ac_cv_path_EGREP="$GREP -E"
5428 if test -z "$EGREP"; then
5429 ac_path_EGREP_found=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5435 test -z "$as_dir" && as_dir=.
5436 for ac_prog in egrep; do
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5439 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5440 # Check for GNU ac_path_EGREP and select it if it is found.
5441 # Check for GNU $ac_path_EGREP
5442 case `"$ac_path_EGREP" --version 2>&1` in
5444 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'EGREP' >> "conftest.nl"
5454 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5456 as_fn_arith $ac_count + 1 && ac_count=$as_val
5457 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_EGREP="$ac_path_EGREP"
5460 ac_path_EGREP_max=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5468 $ac_path_EGREP_found && break 3
5473 if test -z "$ac_cv_path_EGREP"; then
5474 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 ac_cv_path_EGREP=$EGREP
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5483 $as_echo "$ac_cv_path_EGREP" >&6; }
5484 EGREP="$ac_cv_path_EGREP"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5488 $as_echo_n "checking for ANSI C header files... " >&6; }
5489 if test "${ac_cv_header_stdc+set}" = set; then :
5490 $as_echo_n "(cached) " >&6
5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5507 if ac_fn_c_try_compile "$LINENO"; then :
5508 ac_cv_header_stdc=yes
5510 ac_cv_header_stdc=no
5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5514 if test $ac_cv_header_stdc = yes; then
5515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5522 $EGREP "memchr" >/dev/null 2>&1; then :
5525 ac_cv_header_stdc=no
5531 if test $ac_cv_header_stdc = yes; then
5532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539 $EGREP "free" >/dev/null 2>&1; then :
5542 ac_cv_header_stdc=no
5548 if test $ac_cv_header_stdc = yes; then
5549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5550 if test "$cross_compiling" = yes; then :
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5557 #if ((' ' & 0x0FF) == 0x020)
5558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5561 # define ISLOWER(c) \
5562 (('a' <= (c) && (c) <= 'i') \
5563 || ('j' <= (c) && (c) <= 'r') \
5564 || ('s' <= (c) && (c) <= 'z'))
5565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5573 for (i = 0; i < 256; i++)
5574 if (XOR (islower (i), ISLOWER (i))
5575 || toupper (i) != TOUPPER (i))
5580 if ac_fn_c_try_run "$LINENO"; then :
5583 ac_cv_header_stdc=no
5585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5586 conftest.$ac_objext conftest.beam conftest.$ac_ext
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5592 $as_echo "$ac_cv_header_stdc" >&6; }
5593 if test $ac_cv_header_stdc = yes; then
5595 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5602 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5607 macro_version='2.2.6b'
5608 macro_revision='1.3017'
5622 ltmain="$ac_aux_dir/ltmain.sh"
5624 # Make sure we can run config.sub.
5625 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5626 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5629 $as_echo_n "checking build system type... " >&6; }
5630 if test "${ac_cv_build+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5633 ac_build_alias=$build_alias
5634 test "x$ac_build_alias" = x &&
5635 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5636 test "x$ac_build_alias" = x &&
5637 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5639 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5643 $as_echo "$ac_cv_build" >&6; }
5644 case $ac_cv_build in
5646 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5649 ac_save_IFS=$IFS; IFS='-'
5655 # Remember, the first character of IFS is used to create $*,
5656 # except with old shells:
5659 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5663 $as_echo_n "checking host system type... " >&6; }
5664 if test "${ac_cv_host+set}" = set; then :
5665 $as_echo_n "(cached) " >&6
5667 if test "x$host_alias" = x; then
5668 ac_cv_host=$ac_cv_build
5670 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5671 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5676 $as_echo "$ac_cv_host" >&6; }
5679 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5682 ac_save_IFS=$IFS; IFS='-'
5688 # Remember, the first character of IFS is used to create $*,
5689 # except with old shells:
5692 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5696 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5697 if test "${ac_cv_path_SED+set}" = set; then :
5698 $as_echo_n "(cached) " >&6
5700 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5701 for ac_i in 1 2 3 4 5 6 7; do
5702 ac_script="$ac_script$as_nl$ac_script"
5704 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5705 { ac_script=; unset ac_script;}
5706 if test -z "$SED"; then
5707 ac_path_SED_found=false
5708 # Loop through the user's path and test for each of PROGNAME-LIST
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir=.
5714 for ac_prog in sed gsed; do
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5717 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5718 # Check for GNU ac_path_SED and select it if it is found.
5719 # Check for GNU $ac_path_SED
5720 case `"$ac_path_SED" --version 2>&1` in
5722 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5725 $as_echo_n 0123456789 >"conftest.in"
5728 cat "conftest.in" "conftest.in" >"conftest.tmp"
5729 mv "conftest.tmp" "conftest.in"
5730 cp "conftest.in" "conftest.nl"
5731 $as_echo '' >> "conftest.nl"
5732 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5733 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5734 as_fn_arith $ac_count + 1 && ac_count=$as_val
5735 if test $ac_count -gt ${ac_path_SED_max-0}; then
5736 # Best one so far, save it but keep looking for a better one
5737 ac_cv_path_SED="$ac_path_SED"
5738 ac_path_SED_max=$ac_count
5740 # 10*(2^10) chars as input seems more than enough
5741 test $ac_count -gt 10 && break
5743 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5746 $ac_path_SED_found && break 3
5751 if test -z "$ac_cv_path_SED"; then
5752 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5760 $as_echo "$ac_cv_path_SED" >&6; }
5761 SED="$ac_cv_path_SED"
5764 test -z "$SED" && SED=sed
5765 Xsed="$SED -e 1s/^X//"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5778 $as_echo_n "checking for fgrep... " >&6; }
5779 if test "${ac_cv_path_FGREP+set}" = set; then :
5780 $as_echo_n "(cached) " >&6
5782 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5783 then ac_cv_path_FGREP="$GREP -F"
5785 if test -z "$FGREP"; then
5786 ac_path_FGREP_found=false
5787 # Loop through the user's path and test for each of PROGNAME-LIST
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5792 test -z "$as_dir" && as_dir=.
5793 for ac_prog in fgrep; do
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5796 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5797 # Check for GNU ac_path_FGREP and select it if it is found.
5798 # Check for GNU $ac_path_FGREP
5799 case `"$ac_path_FGREP" --version 2>&1` in
5801 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5804 $as_echo_n 0123456789 >"conftest.in"
5807 cat "conftest.in" "conftest.in" >"conftest.tmp"
5808 mv "conftest.tmp" "conftest.in"
5809 cp "conftest.in" "conftest.nl"
5810 $as_echo 'FGREP' >> "conftest.nl"
5811 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5812 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5813 as_fn_arith $ac_count + 1 && ac_count=$as_val
5814 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5815 # Best one so far, save it but keep looking for a better one
5816 ac_cv_path_FGREP="$ac_path_FGREP"
5817 ac_path_FGREP_max=$ac_count
5819 # 10*(2^10) chars as input seems more than enough
5820 test $ac_count -gt 10 && break
5822 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5825 $ac_path_FGREP_found && break 3
5830 if test -z "$ac_cv_path_FGREP"; then
5831 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5834 ac_cv_path_FGREP=$FGREP
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5840 $as_echo "$ac_cv_path_FGREP" >&6; }
5841 FGREP="$ac_cv_path_FGREP"
5844 test -z "$GREP" && GREP=grep
5864 @%:@ Check whether --with-gnu-ld was given.
5865 if test "${with_gnu_ld+set}" = set; then :
5866 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5872 if test "$GCC" = yes; then
5873 # Check if gcc -print-prog-name=ld gives a path.
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5875 $as_echo_n "checking for ld used by $CC... " >&6; }
5878 # gcc leaves a trailing carriage return which upsets mingw
5879 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5881 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5884 # Accept absolute paths.
5886 re_direlt='/[^/][^/]*/\.\./'
5887 # Canonicalize the pathname of ld
5888 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5889 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5890 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5892 test -z "$LD" && LD="$ac_prog"
5895 # If it fails, then pretend we aren't using GCC.
5899 # If it is relative, then search for the first ld in PATH.
5903 elif test "$with_gnu_ld" = yes; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5905 $as_echo_n "checking for GNU ld... " >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5908 $as_echo_n "checking for non-GNU ld... " >&6; }
5910 if test "${lt_cv_path_LD+set}" = set; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -z "$LD"; then
5914 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5915 for ac_dir in $PATH; do
5917 test -z "$ac_dir" && ac_dir=.
5918 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5919 lt_cv_path_LD="$ac_dir/$ac_prog"
5920 # Check to see if the program is GNU ld. I'd rather use --version,
5921 # but apparently some variants of GNU ld only accept -v.
5922 # Break only if it was the GNU/non-GNU ld that we prefer.
5923 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5924 *GNU* | *'with BFD'*)
5925 test "$with_gnu_ld" != no && break
5928 test "$with_gnu_ld" != yes && break
5935 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5940 if test -n "$LD"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5942 $as_echo "$LD" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5947 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5949 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5950 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5951 $as_echo_n "(cached) " >&6
5953 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5954 case `$LD -v 2>&1 </dev/null` in
5955 *GNU* | *'with BFD'*)
5956 lt_cv_prog_gnu_ld=yes
5959 lt_cv_prog_gnu_ld=no
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5964 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5965 with_gnu_ld=$lt_cv_prog_gnu_ld
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5976 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5977 if test "${lt_cv_path_NM+set}" = set; then :
5978 $as_echo_n "(cached) " >&6
5980 if test -n "$NM"; then
5981 # Let the user override the test.
5984 lt_nm_to_check="${ac_tool_prefix}nm"
5985 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5986 lt_nm_to_check="$lt_nm_to_check nm"
5988 for lt_tmp_nm in $lt_nm_to_check; do
5989 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5990 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5992 test -z "$ac_dir" && ac_dir=.
5993 tmp_nm="$ac_dir/$lt_tmp_nm"
5994 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5995 # Check to see if the nm accepts a BSD-compat flag.
5996 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5997 # nm: unknown option "B" ignored
5998 # Tru64's nm complains that /dev/null is an invalid object file
5999 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6000 */dev/null* | *'Invalid file or object type'*)
6001 lt_cv_path_NM="$tmp_nm -B"
6005 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6007 lt_cv_path_NM="$tmp_nm -p"
6011 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6012 continue # so that we can try to find one that supports BSD flags
6021 : ${lt_cv_path_NM=no}
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6025 $as_echo "$lt_cv_path_NM" >&6; }
6026 if test "$lt_cv_path_NM" != "no"; then
6029 # Didn't find any BSD compatible name lister, look for dumpbin.
6030 if test -n "$ac_tool_prefix"; then
6031 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$DUMPBIN"; then
6041 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 DUMPBIN=$ac_cv_prog_DUMPBIN
6061 if test -n "$DUMPBIN"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6063 $as_echo "$DUMPBIN" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6070 test -n "$DUMPBIN" && break
6073 if test -z "$DUMPBIN"; then
6074 ac_ct_DUMPBIN=$DUMPBIN
6075 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6082 $as_echo_n "(cached) " >&6
6084 if test -n "$ac_ct_DUMPBIN"; then
6085 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6094 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6105 if test -n "$ac_ct_DUMPBIN"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6107 $as_echo "$ac_ct_DUMPBIN" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$ac_ct_DUMPBIN" && break
6117 if test "x$ac_ct_DUMPBIN" = x; then
6120 case $cross_compiling:$ac_tool_warned in
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6124 ac_tool_warned=yes ;;
6126 DUMPBIN=$ac_ct_DUMPBIN
6131 if test "$DUMPBIN" != ":"; then
6135 test -z "$NM" && NM=nm
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6143 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6144 if test "${lt_cv_nm_interface+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6147 lt_cv_nm_interface="BSD nm"
6148 echo "int some_variable = 0;" > conftest.$ac_ext
6149 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
6150 (eval "$ac_compile" 2>conftest.err)
6151 cat conftest.err >&5
6152 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6153 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6154 cat conftest.err >&5
6155 (eval echo "\"\$as_me:__oline__: output\"" >&5)
6156 cat conftest.out >&5
6157 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6158 lt_cv_nm_interface="MS dumpbin"
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6163 $as_echo "$lt_cv_nm_interface" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6166 $as_echo_n "checking whether ln -s works... " >&6; }
6168 if test "$LN_S" = "ln -s"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6170 $as_echo "yes" >&6; }
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6173 $as_echo "no, using $LN_S" >&6; }
6176 # find the maximum length of command line arguments
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6178 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6179 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6180 $as_echo_n "(cached) " >&6
6187 # On DJGPP, this test can blow up pretty badly due to problems in libc
6188 # (any single argument exceeding 2000 bytes causes a buffer overrun
6189 # during glob expansion). Even if it were fixed, the result of this
6190 # check would be larger than it should be.
6191 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6195 # Under GNU Hurd, this test is not required because there is
6196 # no limit to the length of command line arguments.
6197 # Libtool will interpret -1 as no limit whatsoever
6198 lt_cv_sys_max_cmd_len=-1;
6201 cygwin* | mingw* | cegcc*)
6202 # On Win9x/ME, this test blows up -- it succeeds, but takes
6203 # about 5 minutes as the teststring grows exponentially.
6204 # Worse, since 9x/ME are not pre-emptively multitasking,
6205 # you end up with a "frozen" computer, even though with patience
6206 # the test eventually succeeds (with a max line length of 256k).
6207 # Instead, let's just punt: use the minimum linelength reported by
6208 # all of the supported platforms: 8192 (on NT/2K/XP).
6209 lt_cv_sys_max_cmd_len=8192;
6213 # On AmigaOS with pdksh, this test takes hours, literally.
6214 # So we just punt and use a minimum line length of 8192.
6215 lt_cv_sys_max_cmd_len=8192;
6218 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6219 # This has been around since 386BSD, at least. Likely further.
6220 if test -x /sbin/sysctl; then
6221 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6222 elif test -x /usr/sbin/sysctl; then
6223 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6225 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6227 # And add a safety zone
6228 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6229 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6233 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6234 lt_cv_sys_max_cmd_len=196608
6238 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6239 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6240 # nice to cause kernel panics so lets avoid the loop below.
6241 # First set a reasonable default.
6242 lt_cv_sys_max_cmd_len=16384
6244 if test -x /sbin/sysconfig; then
6245 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6246 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6251 lt_cv_sys_max_cmd_len=102400
6253 sysv5* | sco5v6* | sysv4.2uw2*)
6254 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6255 if test -n "$kargmax"; then
6256 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6258 lt_cv_sys_max_cmd_len=32768
6262 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6263 if test -n "$lt_cv_sys_max_cmd_len"; then
6264 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6265 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6267 # Make teststring a little bigger before we do anything with it.
6268 # a 1K string should be a reasonable start.
6269 for i in 1 2 3 4 5 6 7 8 ; do
6270 teststring=$teststring$teststring
6272 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6273 # If test is not a shell built-in, we'll probably end up computing a
6274 # maximum length that is only half of the actual maximum length, but
6276 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6277 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6278 test $i != 17 # 1/2 MB should be enough
6281 teststring=$teststring$teststring
6283 # Only check the string length outside the loop.
6284 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6286 # Add a significant safety factor because C++ compilers can tack on
6287 # massive amounts of additional arguments before passing them to the
6288 # linker. It appears as though 1/2 is a usable value.
6289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6296 if test -n $lt_cv_sys_max_cmd_len ; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6298 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6301 $as_echo "none" >&6; }
6303 max_cmd_len=$lt_cv_sys_max_cmd_len
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6315 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6316 # Try some XSI features
6319 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6321 && eval 'test $(( 1 + 1 )) -eq 2 \
6322 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6325 $as_echo "$xsi_shell" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6329 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6331 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6333 && lt_shell_append=yes
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6335 $as_echo "$lt_shell_append" >&6; }
6338 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6348 # test EBCDIC or ASCII
6349 case `echo X|tr X '\101'` in
6350 A) # ASCII based system
6351 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6352 lt_SP2NL='tr \040 \012'
6353 lt_NL2SP='tr \015\012 \040\040'
6355 *) # EBCDIC based system
6356 lt_SP2NL='tr \100 \n'
6357 lt_NL2SP='tr \r\n \100\100'
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6370 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6371 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6372 $as_echo_n "(cached) " >&6
6374 lt_cv_ld_reload_flag='-r'
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6377 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6378 reload_flag=$lt_cv_ld_reload_flag
6379 case $reload_flag in
6381 *) reload_flag=" $reload_flag" ;;
6383 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6386 if test "$GCC" = yes; then
6387 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6389 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6402 if test -n "$ac_tool_prefix"; then
6403 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6404 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6408 $as_echo_n "(cached) " >&6
6410 if test -n "$OBJDUMP"; then
6411 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6430 OBJDUMP=$ac_cv_prog_OBJDUMP
6431 if test -n "$OBJDUMP"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6433 $as_echo "$OBJDUMP" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436 $as_echo "no" >&6; }
6441 if test -z "$ac_cv_prog_OBJDUMP"; then
6442 ac_ct_OBJDUMP=$OBJDUMP
6443 # Extract the first word of "objdump", so it can be a program name with args.
6444 set dummy objdump; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6448 $as_echo_n "(cached) " >&6
6450 if test -n "$ac_ct_OBJDUMP"; then
6451 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6471 if test -n "$ac_ct_OBJDUMP"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6473 $as_echo "$ac_ct_OBJDUMP" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6479 if test "x$ac_ct_OBJDUMP" = x; then
6482 case $cross_compiling:$ac_tool_warned in
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486 ac_tool_warned=yes ;;
6488 OBJDUMP=$ac_ct_OBJDUMP
6491 OBJDUMP="$ac_cv_prog_OBJDUMP"
6494 test -z "$OBJDUMP" && OBJDUMP=objdump
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6505 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6506 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6509 lt_cv_file_magic_cmd='$MAGIC_CMD'
6510 lt_cv_file_magic_test_file=
6511 lt_cv_deplibs_check_method='unknown'
6512 # Need to set the preceding variable on all platforms that support
6513 # interlibrary dependencies.
6514 # 'none' -- dependencies not supported.
6515 # `unknown' -- same as none, but documents that we really don't know.
6516 # 'pass_all' -- all dependencies passed with no checks.
6517 # 'test_compile' -- check by making test program.
6518 # 'file_magic [[regex]]' -- check by looking for files in library path
6519 # which responds to the $file_magic_cmd with a given extended regex.
6520 # If you have `file' or equivalent on your system and you're not sure
6521 # whether `pass_all' will *always* work, you probably want this one.
6525 lt_cv_deplibs_check_method=pass_all
6529 lt_cv_deplibs_check_method=pass_all
6533 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6534 lt_cv_file_magic_cmd='/usr/bin/file -L'
6535 lt_cv_file_magic_test_file=/shlib/libc.so
6539 # func_win32_libid is a shell function defined in ltmain.sh
6540 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6541 lt_cv_file_magic_cmd='func_win32_libid'
6545 # Base MSYS/MinGW do not provide the 'file' command needed by
6546 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6547 # unless we find 'file', for example because we are cross-compiling.
6548 if ( file / ) >/dev/null 2>&1; then
6549 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6550 lt_cv_file_magic_cmd='func_win32_libid'
6552 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6553 lt_cv_file_magic_cmd='$OBJDUMP -f'
6558 # use the weaker test based on 'objdump'. See mingw*.
6559 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6560 lt_cv_file_magic_cmd='$OBJDUMP -f'
6563 darwin* | rhapsody*)
6564 lt_cv_deplibs_check_method=pass_all
6567 freebsd* | dragonfly*)
6568 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6571 # Not sure whether the presence of OpenBSD here was a mistake.
6572 # Let's accept both of them until this is cleared up.
6573 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6574 lt_cv_file_magic_cmd=/usr/bin/file
6575 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6579 lt_cv_deplibs_check_method=pass_all
6584 lt_cv_deplibs_check_method=pass_all
6587 hpux10.20* | hpux11*)
6588 lt_cv_file_magic_cmd=/usr/bin/file
6591 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6592 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6595 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6596 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6599 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6600 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6606 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6610 irix5* | irix6* | nonstopux*)
6612 *-32|*"-32 ") libmagic=32-bit;;
6613 *-n32|*"-n32 ") libmagic=N32;;
6614 *-64|*"-64 ") libmagic=64-bit;;
6615 *) libmagic=never-match;;
6617 lt_cv_deplibs_check_method=pass_all
6620 # This must be Linux ELF.
6621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6622 lt_cv_deplibs_check_method=pass_all
6625 netbsd* | netbsdelf*-gnu)
6626 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6629 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6634 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6635 lt_cv_file_magic_cmd=/usr/bin/file
6636 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6640 lt_cv_deplibs_check_method=pass_all
6644 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6647 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6651 osf3* | osf4* | osf5*)
6652 lt_cv_deplibs_check_method=pass_all
6656 lt_cv_deplibs_check_method=pass_all
6660 lt_cv_deplibs_check_method=pass_all
6663 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6664 lt_cv_deplibs_check_method=pass_all
6668 case $host_vendor in
6670 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]'
6671 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6674 lt_cv_deplibs_check_method=pass_all
6677 lt_cv_file_magic_cmd='/bin/file'
6678 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6681 lt_cv_file_magic_cmd='/bin/file'
6682 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6683 lt_cv_file_magic_test_file=/lib/libc.so
6686 lt_cv_deplibs_check_method=pass_all
6689 lt_cv_deplibs_check_method=pass_all
6695 lt_cv_deplibs_check_method=pass_all
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6701 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6702 file_magic_cmd=$lt_cv_file_magic_cmd
6703 deplibs_check_method=$lt_cv_deplibs_check_method
6704 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}ar; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_AR+set}" = set; then :
6723 $as_echo_n "(cached) " >&6
6725 if test -n "$AR"; then
6726 ac_cv_prog_AR="$AR" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_AR="${ac_tool_prefix}ar"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 if test -n "$AR"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6748 $as_echo "$AR" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6756 if test -z "$ac_cv_prog_AR"; then
6758 # Extract the first word of "ar", so it can be a program name with args.
6759 set dummy ar; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6763 $as_echo_n "(cached) " >&6
6765 if test -n "$ac_ct_AR"; then
6766 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_AR="ar"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6786 if test -n "$ac_ct_AR"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6788 $as_echo "$ac_ct_AR" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6794 if test "x$ac_ct_AR" = x; then
6797 case $cross_compiling:$ac_tool_warned in
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6801 ac_tool_warned=yes ;;
6809 test -z "$AR" && AR=ar
6810 test -z "$AR_FLAGS" && AR_FLAGS=cru
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}strip; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if test "${ac_cv_prog_STRIP+set}" = set; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$STRIP"; then
6831 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 STRIP=$ac_cv_prog_STRIP
6851 if test -n "$STRIP"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6853 $as_echo "$STRIP" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6861 if test -z "$ac_cv_prog_STRIP"; then
6863 # Extract the first word of "strip", so it can be a program name with args.
6864 set dummy strip; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 $as_echo_n "checking for $ac_word... " >&6; }
6867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6868 $as_echo_n "(cached) " >&6
6870 if test -n "$ac_ct_STRIP"; then
6871 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_ac_ct_STRIP="strip"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6891 if test -n "$ac_ct_STRIP"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6893 $as_echo "$ac_ct_STRIP" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 $as_echo "no" >&6; }
6899 if test "x$ac_ct_STRIP" = x; then
6902 case $cross_compiling:$ac_tool_warned in
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned=yes ;;
6911 STRIP="$ac_cv_prog_STRIP"
6914 test -z "$STRIP" && STRIP=:
6921 if test -n "$ac_tool_prefix"; then
6922 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6923 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6925 $as_echo_n "checking for $ac_word... " >&6; }
6926 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6927 $as_echo_n "(cached) " >&6
6929 if test -n "$RANLIB"; then
6930 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 test -z "$as_dir" && as_dir=.
6937 for ac_exec_ext in '' $ac_executable_extensions; do
6938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6939 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949 RANLIB=$ac_cv_prog_RANLIB
6950 if test -n "$RANLIB"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6952 $as_echo "$RANLIB" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6960 if test -z "$ac_cv_prog_RANLIB"; then
6961 ac_ct_RANLIB=$RANLIB
6962 # Extract the first word of "ranlib", so it can be a program name with args.
6963 set dummy ranlib; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6967 $as_echo_n "(cached) " >&6
6969 if test -n "$ac_ct_RANLIB"; then
6970 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6979 ac_cv_prog_ac_ct_RANLIB="ranlib"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6990 if test -n "$ac_ct_RANLIB"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6992 $as_echo "$ac_ct_RANLIB" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6998 if test "x$ac_ct_RANLIB" = x; then
7001 case $cross_compiling:$ac_tool_warned in
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7005 ac_tool_warned=yes ;;
7007 RANLIB=$ac_ct_RANLIB
7010 RANLIB="$ac_cv_prog_RANLIB"
7013 test -z "$RANLIB" && RANLIB=:
7020 # Determine commands to create old-style static archives.
7021 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7022 old_postinstall_cmds='chmod 644 $oldlib'
7023 old_postuninstall_cmds=
7025 if test -n "$RANLIB"; then
7028 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7031 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7034 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7070 # If no C compiler was specified, use CC.
7073 # If no C compiler flags were specified, use CFLAGS.
7074 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7076 # Allow CC to be a program name with arguments.
7080 # Check for command to grab the raw symbol name followed by C symbol from nm.
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7082 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7083 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7084 $as_echo_n "(cached) " >&6
7087 # These are sane defaults that work on at least a few old systems.
7088 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7090 # Character class describing NM global symbol codes.
7091 symcode='[BCDEGRST]'
7093 # Regexp to match symbols that can be accessed directly from C.
7094 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7096 # Define system-specific variables.
7101 cygwin* | mingw* | pw32* | cegcc*)
7102 symcode='[ABCDGISTW]'
7105 if test "$host_cpu" = ia64; then
7106 symcode='[ABCDEGRST]'
7110 symcode='[BCDEGRST]'
7113 symcode='[BCDEGQRST]'
7124 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7132 # If we're using GNU nm, then use its standard symbol codes.
7133 case `$NM -V 2>&1` in
7134 *GNU* | *'with BFD'*)
7135 symcode='[ABCDGIRSTW]' ;;
7138 # Transform an extracted symbol line into a proper C declaration.
7139 # Some systems (esp. on ia64) link data and code symbols differently,
7140 # so use this general approach.
7141 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7143 # Transform an extracted symbol line into symbol name and symbol address
7144 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7145 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'"
7147 # Handle CRLF in mingw tool chain
7151 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7155 # Try without a prefix underscore, then with it.
7156 for ac_symprfx in "" "_"; do
7158 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7159 symxfrm="\\1 $ac_symprfx\\2 \\2"
7161 # Write the raw and C identifiers.
7162 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7163 # Fake it for dumpbin and say T for any non-static function
7164 # and D for any global variable.
7165 # Also find C++ and __fastcall symbols from MSVC++,
7166 # which start with @ or ?.
7167 lt_cv_sys_global_symbol_pipe="$AWK '"\
7168 " {last_section=section; section=\$ 3};"\
7169 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7170 " \$ 0!~/External *\|/{next};"\
7171 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7172 " {if(hide[section]) next};"\
7173 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7174 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7175 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7176 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7177 " ' prfx=^$ac_symprfx"
7179 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7182 # Check to see that the pipe works correctly.
7186 cat > conftest.$ac_ext <<_LT_EOF
7191 void nm_test_func(void);
7192 void nm_test_func(void){}
7196 int main(){nm_test_var='a';nm_test_func();return(0);}
7199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7200 (eval $ac_compile) 2>&5
7202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7203 test $ac_status = 0; }; then
7204 # Now try to grab the symbols.
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7207 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; } && test -s "$nlist"; then
7211 # Try sorting and uniquifying the output.
7212 if sort "$nlist" | uniq > "$nlist"T; then
7213 mv -f "$nlist"T "$nlist"
7218 # Make sure that we snagged all the symbols we need.
7219 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7220 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7221 cat <<_LT_EOF > conftest.$ac_ext
7227 # Now generate the symbol file.
7228 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7230 cat <<_LT_EOF >> conftest.$ac_ext
7232 /* The mapping between symbol names and symbols. */
7237 lt__PROGRAM__LTX_preloaded_symbols[] =
7239 { "@PROGRAM@", (void *) 0 },
7241 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7242 cat <<\_LT_EOF >> conftest.$ac_ext
7246 /* This works around a problem in FreeBSD linker */
7247 #ifdef FREEBSD_WORKAROUND
7248 static const void *lt_preloaded_setup() {
7249 return lt__PROGRAM__LTX_preloaded_symbols;
7257 # Now try linking the two files.
7258 mv conftest.$ac_objext conftstm.$ac_objext
7259 lt_save_LIBS="$LIBS"
7260 lt_save_CFLAGS="$CFLAGS"
7261 LIBS="conftstm.$ac_objext"
7262 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7264 (eval $ac_link) 2>&5
7266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7267 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7270 LIBS="$lt_save_LIBS"
7271 CFLAGS="$lt_save_CFLAGS"
7273 echo "cannot find nm_test_func in $nlist" >&5
7276 echo "cannot find nm_test_var in $nlist" >&5
7279 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7282 echo "$progname: failed program was:" >&5
7283 cat conftest.$ac_ext >&5
7285 rm -rf conftest* conftst*
7287 # Do not use the global_symbol_pipe unless it works.
7288 if test "$pipe_works" = yes; then
7291 lt_cv_sys_global_symbol_pipe=
7297 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7298 lt_cv_sys_global_symbol_to_cdecl=
7300 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7302 $as_echo "failed" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7305 $as_echo "ok" >&6; }
7329 @%:@ Check whether --enable-libtool-lock was given.
7330 if test "${enable_libtool_lock+set}" = set; then :
7331 enableval=$enable_libtool_lock;
7334 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7336 # Some flags need to be propagated to the compiler or linker for good
7340 # Find out which ABI we are using.
7341 echo 'int i;' > conftest.$ac_ext
7342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343 (eval $ac_compile) 2>&5
7345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7346 test $ac_status = 0; }; then
7347 case `/usr/bin/file conftest.$ac_objext` in
7359 # Find out which ABI we are using.
7360 echo '#line __oline__ "configure"' > conftest.$ac_ext
7361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7362 (eval $ac_compile) 2>&5
7364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7365 test $ac_status = 0; }; then
7366 if test "$lt_cv_prog_gnu_ld" = yes; then
7367 case `/usr/bin/file conftest.$ac_objext` in
7369 LD="${LD-ld} -melf32bsmip"
7372 LD="${LD-ld} -melf32bmipn32"
7375 LD="${LD-ld} -melf64bmip"
7379 case `/usr/bin/file conftest.$ac_objext` in
7395 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7396 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7397 # Find out which ABI we are using.
7398 echo 'int i;' > conftest.$ac_ext
7399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7400 (eval $ac_compile) 2>&5
7402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7403 test $ac_status = 0; }; then
7404 case `/usr/bin/file conftest.o` in
7407 x86_64-*kfreebsd*-gnu)
7408 LD="${LD-ld} -m elf_i386_fbsd"
7411 LD="${LD-ld} -m elf_i386"
7413 ppc64-*linux*|powerpc64-*linux*)
7414 LD="${LD-ld} -m elf32ppclinux"
7417 LD="${LD-ld} -m elf_s390"
7420 LD="${LD-ld} -m elf32_sparc"
7426 x86_64-*kfreebsd*-gnu)
7427 LD="${LD-ld} -m elf_x86_64_fbsd"
7430 LD="${LD-ld} -m elf_x86_64"
7432 ppc*-*linux*|powerpc*-*linux*)
7433 LD="${LD-ld} -m elf64ppc"
7435 s390*-*linux*|s390*-*tpf*)
7436 LD="${LD-ld} -m elf64_s390"
7439 LD="${LD-ld} -m elf64_sparc"
7449 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7450 SAVE_CFLAGS="$CFLAGS"
7451 CFLAGS="$CFLAGS -belf"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7453 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7454 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7455 $as_echo_n "(cached) " >&6
7458 ac_cpp='$CPP $CPPFLAGS'
7459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7474 if ac_fn_c_try_link "$LINENO"; then :
7475 lt_cv_cc_needs_belf=yes
7477 lt_cv_cc_needs_belf=no
7479 rm -f core conftest.err conftest.$ac_objext \
7480 conftest$ac_exeext conftest.$ac_ext
7482 ac_cpp='$CPP $CPPFLAGS'
7483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7489 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7490 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7491 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7492 CFLAGS="$SAVE_CFLAGS"
7496 # Find out which ABI we are using.
7497 echo 'int i;' > conftest.$ac_ext
7498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7499 (eval $ac_compile) 2>&5
7501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7502 test $ac_status = 0; }; then
7503 case `/usr/bin/file conftest.o` in
7505 case $lt_cv_prog_gnu_ld in
7506 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7508 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7520 need_locks="$enable_libtool_lock"
7524 rhapsody* | darwin*)
7525 if test -n "$ac_tool_prefix"; then
7526 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7527 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7531 $as_echo_n "(cached) " >&6
7533 if test -n "$DSYMUTIL"; then
7534 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7554 if test -n "$DSYMUTIL"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7556 $as_echo "$DSYMUTIL" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7564 if test -z "$ac_cv_prog_DSYMUTIL"; then
7565 ac_ct_DSYMUTIL=$DSYMUTIL
7566 # Extract the first word of "dsymutil", so it can be a program name with args.
7567 set dummy dsymutil; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7571 $as_echo_n "(cached) " >&6
7573 if test -n "$ac_ct_DSYMUTIL"; then
7574 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7594 if test -n "$ac_ct_DSYMUTIL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7596 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7602 if test "x$ac_ct_DSYMUTIL" = x; then
7605 case $cross_compiling:$ac_tool_warned in
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609 ac_tool_warned=yes ;;
7611 DSYMUTIL=$ac_ct_DSYMUTIL
7614 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7617 if test -n "$ac_tool_prefix"; then
7618 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7619 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7623 $as_echo_n "(cached) " >&6
7625 if test -n "$NMEDIT"; then
7626 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 NMEDIT=$ac_cv_prog_NMEDIT
7646 if test -n "$NMEDIT"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7648 $as_echo "$NMEDIT" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7656 if test -z "$ac_cv_prog_NMEDIT"; then
7657 ac_ct_NMEDIT=$NMEDIT
7658 # Extract the first word of "nmedit", so it can be a program name with args.
7659 set dummy nmedit; ac_word=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661 $as_echo_n "checking for $ac_word... " >&6; }
7662 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7663 $as_echo_n "(cached) " >&6
7665 if test -n "$ac_ct_NMEDIT"; then
7666 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672 test -z "$as_dir" && as_dir=.
7673 for ac_exec_ext in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7686 if test -n "$ac_ct_NMEDIT"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7688 $as_echo "$ac_ct_NMEDIT" >&6; }
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7694 if test "x$ac_ct_NMEDIT" = x; then
7697 case $cross_compiling:$ac_tool_warned in
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7701 ac_tool_warned=yes ;;
7703 NMEDIT=$ac_ct_NMEDIT
7706 NMEDIT="$ac_cv_prog_NMEDIT"
7709 if test -n "$ac_tool_prefix"; then
7710 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7711 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 $as_echo_n "checking for $ac_word... " >&6; }
7714 if test "${ac_cv_prog_LIPO+set}" = set; then :
7715 $as_echo_n "(cached) " >&6
7717 if test -n "$LIPO"; then
7718 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737 LIPO=$ac_cv_prog_LIPO
7738 if test -n "$LIPO"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7740 $as_echo "$LIPO" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743 $as_echo "no" >&6; }
7748 if test -z "$ac_cv_prog_LIPO"; then
7750 # Extract the first word of "lipo", so it can be a program name with args.
7751 set dummy lipo; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753 $as_echo_n "checking for $ac_word... " >&6; }
7754 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7757 if test -n "$ac_ct_LIPO"; then
7758 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_ac_ct_LIPO="lipo"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7778 if test -n "$ac_ct_LIPO"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7780 $as_echo "$ac_ct_LIPO" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783 $as_echo "no" >&6; }
7786 if test "x$ac_ct_LIPO" = x; then
7789 case $cross_compiling:$ac_tool_warned in
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7793 ac_tool_warned=yes ;;
7798 LIPO="$ac_cv_prog_LIPO"
7801 if test -n "$ac_tool_prefix"; then
7802 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7803 set dummy ${ac_tool_prefix}otool; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7809 if test -n "$OTOOL"; then
7810 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7829 OTOOL=$ac_cv_prog_OTOOL
7830 if test -n "$OTOOL"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7832 $as_echo "$OTOOL" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7840 if test -z "$ac_cv_prog_OTOOL"; then
7842 # Extract the first word of "otool", so it can be a program name with args.
7843 set dummy otool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7847 $as_echo_n "(cached) " >&6
7849 if test -n "$ac_ct_OTOOL"; then
7850 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859 ac_cv_prog_ac_ct_OTOOL="otool"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7870 if test -n "$ac_ct_OTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7872 $as_echo "$ac_ct_OTOOL" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7878 if test "x$ac_ct_OTOOL" = x; then
7881 case $cross_compiling:$ac_tool_warned in
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7885 ac_tool_warned=yes ;;
7890 OTOOL="$ac_cv_prog_OTOOL"
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7899 $as_echo_n "(cached) " >&6
7901 if test -n "$OTOOL64"; then
7902 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921 OTOOL64=$ac_cv_prog_OTOOL64
7922 if test -n "$OTOOL64"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7924 $as_echo "$OTOOL64" >&6; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7932 if test -z "$ac_cv_prog_OTOOL64"; then
7933 ac_ct_OTOOL64=$OTOOL64
7934 # Extract the first word of "otool64", so it can be a program name with args.
7935 set dummy otool64; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7939 $as_echo_n "(cached) " >&6
7941 if test -n "$ac_ct_OTOOL64"; then
7942 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7951 ac_cv_prog_ac_ct_OTOOL64="otool64"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7961 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7962 if test -n "$ac_ct_OTOOL64"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7964 $as_echo "$ac_ct_OTOOL64" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7970 if test "x$ac_ct_OTOOL64" = x; then
7973 case $cross_compiling:$ac_tool_warned in
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7977 ac_tool_warned=yes ;;
7979 OTOOL64=$ac_ct_OTOOL64
7982 OTOOL64="$ac_cv_prog_OTOOL64"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8012 $as_echo_n "checking for -single_module linker flag... " >&6; }
8013 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8014 $as_echo_n "(cached) " >&6
8016 lt_cv_apple_cc_single_mod=no
8017 if test -z "${LT_MULTI_MODULE}"; then
8018 # By default we will add the -single_module flag. You can override
8019 # by either setting the environment variable LT_MULTI_MODULE
8020 # non-empty at configure time, or by adding -multi_module to the
8022 rm -rf libconftest.dylib*
8023 echo "int foo(void){return 1;}" > conftest.c
8024 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8025 -dynamiclib -Wl,-single_module conftest.c" >&5
8026 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8027 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8029 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8030 lt_cv_apple_cc_single_mod=yes
8032 cat conftest.err >&5
8034 rm -rf libconftest.dylib*
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8039 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8041 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8042 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8043 $as_echo_n "(cached) " >&6
8045 lt_cv_ld_exported_symbols_list=no
8046 save_LDFLAGS=$LDFLAGS
8047 echo "_main" > conftest.sym
8048 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8060 if ac_fn_c_try_link "$LINENO"; then :
8061 lt_cv_ld_exported_symbols_list=yes
8063 lt_cv_ld_exported_symbols_list=no
8065 rm -f core conftest.err conftest.$ac_objext \
8066 conftest$ac_exeext conftest.$ac_ext
8067 LDFLAGS="$save_LDFLAGS"
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8071 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8073 rhapsody* | darwin1.[012])
8074 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8076 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8077 darwin*) # darwin 5.x on
8078 # if running on 10.5 or later, the deployment target defaults
8079 # to the OS version, if on x86, and 10.4, the deployment
8080 # target defaults to 10.4. Don't you love it?
8081 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8082 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8083 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8085 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8087 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8091 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8092 _lt_dar_single_mod='$single_module'
8094 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8095 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8097 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8099 if test "$DSYMUTIL" != ":"; then
8100 _lt_dsymutil='~$DSYMUTIL $lib || :'
8107 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8109 inttypes.h stdint.h unistd.h
8111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8114 eval as_val=\$$as_ac_Header
8115 if test "x$as_val" = x""yes; then :
8116 cat >>confdefs.h <<_ACEOF
8117 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8125 for ac_header in dlfcn.h
8127 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8129 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8130 cat >>confdefs.h <<_ACEOF
8131 @%:@define HAVE_DLFCN_H 1
8150 @%:@ Check whether --enable-shared was given.
8151 if test "${enable_shared+set}" = set; then :
8152 enableval=$enable_shared; p=${PACKAGE-default}
8154 yes) enable_shared=yes ;;
8155 no) enable_shared=no ;;
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8162 if test "X$pkg" = "X$p"; then
8181 @%:@ Check whether --enable-static was given.
8182 if test "${enable_static+set}" = set; then :
8183 enableval=$enable_static; p=${PACKAGE-default}
8185 yes) enable_static=yes ;;
8186 no) enable_static=no ;;
8189 # Look at the argument we got. We use all the common list separators.
8190 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8191 for pkg in $enableval; do
8193 if test "X$pkg" = "X$p"; then
8213 @%:@ Check whether --with-pic was given.
8214 if test "${with_pic+set}" = set; then :
8215 withval=$with_pic; pic_mode="$withval"
8221 test -z "$pic_mode" && pic_mode=default
8229 @%:@ Check whether --enable-fast-install was given.
8230 if test "${enable_fast_install+set}" = set; then :
8231 enableval=$enable_fast_install; p=${PACKAGE-default}
8233 yes) enable_fast_install=yes ;;
8234 no) enable_fast_install=no ;;
8236 enable_fast_install=no
8237 # Look at the argument we got. We use all the common list separators.
8238 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8239 for pkg in $enableval; do
8241 if test "X$pkg" = "X$p"; then
8242 enable_fast_install=yes
8249 enable_fast_install=yes
8262 # This can be used to rebuild libtool when needed
8263 LIBTOOL_DEPS="$ltmain"
8265 # Always use our own libtool.
8266 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8292 test -z "$LN_S" && LN_S="ln -s"
8307 if test -n "${ZSH_VERSION+set}" ; then
8308 setopt NO_GLOB_SUBST
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8312 $as_echo_n "checking for objdir... " >&6; }
8313 if test "${lt_cv_objdir+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8316 rm -f .libs 2>/dev/null
8317 mkdir .libs 2>/dev/null
8318 if test -d .libs; then
8321 # MS-DOS does not allow filenames that begin with a dot.
8324 rmdir .libs 2>/dev/null
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8327 $as_echo "$lt_cv_objdir" >&6; }
8328 objdir=$lt_cv_objdir
8334 cat >>confdefs.h <<_ACEOF
8335 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8356 # AIX sometimes has problems with the GCC collect2 program. For some
8357 # reason, if we set the COLLECT_NAMES environment variable, the problems
8358 # vanish in a puff of smoke.
8359 if test "X${COLLECT_NAMES+set}" != Xset; then
8361 export COLLECT_NAMES
8366 # Sed substitution that helps us do robust quoting. It backslashifies
8367 # metacharacters that are still active within double-quoted strings.
8368 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8370 # Same as above, but do not quote variable references.
8371 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8373 # Sed substitution to delay expansion of an escaped shell variable in a
8374 # double_quote_subst'ed string.
8375 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8377 # Sed substitution to delay expansion of an escaped single quote.
8378 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8380 # Sed substitution to avoid accidental globbing in evaled expressions
8381 no_glob_subst='s/\*/\\\*/g'
8385 can_build_shared=yes
8387 # All known linkers require a `.a' archive for static linking (except MSVC,
8388 # which needs '.lib').
8391 with_gnu_ld="$lt_cv_prog_gnu_ld"
8394 old_CFLAGS="$CFLAGS"
8396 # Set sane defaults for various variables
8397 test -z "$CC" && CC=cc
8398 test -z "$LTCC" && LTCC=$CC
8399 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8400 test -z "$LD" && LD=ld
8401 test -z "$ac_objext" && ac_objext=o
8403 for cc_temp in $compiler""; do
8405 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8406 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8411 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8414 # Only perform the check for file, if the check method requires it
8415 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8416 case $deplibs_check_method in
8418 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8420 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8421 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8422 $as_echo_n "(cached) " >&6
8426 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8429 lt_save_MAGIC_CMD="$MAGIC_CMD"
8430 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8431 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8432 for ac_dir in $ac_dummy; do
8434 test -z "$ac_dir" && ac_dir=.
8435 if test -f $ac_dir/${ac_tool_prefix}file; then
8436 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8437 if test -n "$file_magic_test_file"; then
8438 case $deplibs_check_method in
8440 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8442 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8443 $EGREP "$file_magic_regex" > /dev/null; then
8448 *** Warning: the command libtool uses to detect shared libraries,
8449 *** $file_magic_cmd, produces output that libtool cannot recognize.
8450 *** The result is that libtool may fail to recognize shared libraries
8451 *** as such. This will affect the creation of libtool libraries that
8452 *** depend on shared libraries, but programs linked with such libtool
8453 *** libraries will work regardless of this problem. Nevertheless, you
8454 *** may want to report the problem to your system manager and/or to
8455 *** bug-libtool@gnu.org
8465 MAGIC_CMD="$lt_save_MAGIC_CMD"
8470 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8471 if test -n "$MAGIC_CMD"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8473 $as_echo "$MAGIC_CMD" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8483 if test -z "$lt_cv_path_MAGIC_CMD"; then
8484 if test -n "$ac_tool_prefix"; then
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8486 $as_echo_n "checking for file... " >&6; }
8487 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8488 $as_echo_n "(cached) " >&6
8492 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8495 lt_save_MAGIC_CMD="$MAGIC_CMD"
8496 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8497 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8498 for ac_dir in $ac_dummy; do
8500 test -z "$ac_dir" && ac_dir=.
8501 if test -f $ac_dir/file; then
8502 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8503 if test -n "$file_magic_test_file"; then
8504 case $deplibs_check_method in
8506 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8507 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8508 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8509 $EGREP "$file_magic_regex" > /dev/null; then
8514 *** Warning: the command libtool uses to detect shared libraries,
8515 *** $file_magic_cmd, produces output that libtool cannot recognize.
8516 *** The result is that libtool may fail to recognize shared libraries
8517 *** as such. This will affect the creation of libtool libraries that
8518 *** depend on shared libraries, but programs linked with such libtool
8519 *** libraries will work regardless of this problem. Nevertheless, you
8520 *** may want to report the problem to your system manager and/or to
8521 *** bug-libtool@gnu.org
8531 MAGIC_CMD="$lt_save_MAGIC_CMD"
8536 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8537 if test -n "$MAGIC_CMD"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8539 $as_echo "$MAGIC_CMD" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8555 # Use C for the default configuration in the libtool script
8559 ac_cpp='$CPP $CPPFLAGS'
8560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8565 # Source file extension for C test sources.
8568 # Object file extension for compiled C test sources.
8572 # Code to be used in simple compile tests
8573 lt_simple_compile_test_code="int some_variable = 0;"
8575 # Code to be used in simple link tests
8576 lt_simple_link_test_code='int main(){return(0);}'
8584 # If no C compiler was specified, use CC.
8587 # If no C compiler flags were specified, use CFLAGS.
8588 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8590 # Allow CC to be a program name with arguments.
8593 # Save the default compiler, since it gets overwritten when the other
8594 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8595 compiler_DEFAULT=$CC
8597 # save warnings/boilerplate of simple test code
8598 ac_outfile=conftest.$ac_objext
8599 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8600 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8601 _lt_compiler_boilerplate=`cat conftest.err`
8604 ac_outfile=conftest.$ac_objext
8605 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8606 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8607 _lt_linker_boilerplate=`cat conftest.err`
8612 ## There is no encapsulation within the following macros, do not change
8613 ## the running order or otherwise move them around unless you know exactly
8614 ## what you are doing...
8615 if test -n "$compiler"; then
8617 lt_prog_compiler_no_builtin_flag=
8619 if test "$GCC" = yes; then
8620 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8623 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8624 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8625 $as_echo_n "(cached) " >&6
8627 lt_cv_prog_compiler_rtti_exceptions=no
8628 ac_outfile=conftest.$ac_objext
8629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8630 lt_compiler_flag="-fno-rtti -fno-exceptions"
8631 # Insert the option either (1) after the last *FLAGS variable, or
8632 # (2) before a word containing "conftest.", or (3) at the end.
8633 # Note that $ac_compile itself does not contain backslashes and begins
8634 # with a dollar sign (not a hyphen), so the echo should work correctly.
8635 # The option is referenced via a variable to avoid confusing sed.
8636 lt_compile=`echo "$ac_compile" | $SED \
8637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8639 -e 's:$: $lt_compiler_flag:'`
8640 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8641 (eval "$lt_compile" 2>conftest.err)
8643 cat conftest.err >&5
8644 echo "$as_me:__oline__: \$? = $ac_status" >&5
8645 if (exit $ac_status) && test -s "$ac_outfile"; then
8646 # The compiler can only warn and ignore the option if not recognized
8647 # So say no if there are warnings other than the usual output.
8648 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8649 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8650 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8651 lt_cv_prog_compiler_rtti_exceptions=yes
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8658 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8660 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8661 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8673 lt_prog_compiler_wl=
8674 lt_prog_compiler_pic=
8675 lt_prog_compiler_static=
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8678 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8680 if test "$GCC" = yes; then
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_static='-static'
8686 # All AIX code is PIC.
8687 if test "$host_cpu" = ia64; then
8688 # AIX 5 now supports IA64 processor
8689 lt_prog_compiler_static='-Bstatic'
8696 # see comment about AmigaOS4 .so support
8697 lt_prog_compiler_pic='-fPIC'
8700 # FIXME: we need at least 68020 code to build shared libraries, but
8701 # adding the `-m68020' flag to GCC prevents building anything better,
8703 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8708 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8709 # PIC is the default for these OSes.
8712 mingw* | cygwin* | pw32* | os2* | cegcc*)
8713 # This hack is so that the source file can tell whether it is being
8714 # built for inclusion in a dll (and should export symbols for example).
8715 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8716 # (--disable-auto-import) libraries
8717 lt_prog_compiler_pic='-DDLL_EXPORT'
8720 darwin* | rhapsody*)
8721 # PIC is the default on this platform
8722 # Common symbols not allowed in MH_DYLIB files
8723 lt_prog_compiler_pic='-fno-common'
8727 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8728 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8729 # sets the default TLS model and affects inlining.
8735 lt_prog_compiler_pic='-fPIC'
8741 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8742 # Instead, we relocate shared libraries at runtime.
8746 # Just because we use GCC doesn't mean we suddenly get shared libraries
8747 # on systems that don't support them.
8748 lt_prog_compiler_can_build_shared=no
8753 # QNX uses GNU C++, but need to define -shared option too, otherwise
8755 lt_prog_compiler_pic='-fPIC -shared'
8759 if test -d /usr/nec; then
8760 lt_prog_compiler_pic=-Kconform_pic
8765 lt_prog_compiler_pic='-fPIC'
8769 # PORTME Check for flag to pass linker flags through the system compiler.
8772 lt_prog_compiler_wl='-Wl,'
8773 if test "$host_cpu" = ia64; then
8774 # AIX 5 now supports IA64 processor
8775 lt_prog_compiler_static='-Bstatic'
8777 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8781 mingw* | cygwin* | pw32* | os2* | cegcc*)
8782 # This hack is so that the source file can tell whether it is being
8783 # built for inclusion in a dll (and should export symbols for example).
8784 lt_prog_compiler_pic='-DDLL_EXPORT'
8787 hpux9* | hpux10* | hpux11*)
8788 lt_prog_compiler_wl='-Wl,'
8789 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8796 lt_prog_compiler_pic='+Z'
8799 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8800 lt_prog_compiler_static='${wl}-a ${wl}archive'
8803 irix5* | irix6* | nonstopux*)
8804 lt_prog_compiler_wl='-Wl,'
8805 # PIC (with -KPIC) is the default.
8806 lt_prog_compiler_static='-non_shared'
8809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8810 case $cc_basename in
8811 # old Intel for x86_64 which still supported -KPIC.
8813 lt_prog_compiler_wl='-Wl,'
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-static'
8817 # icc used to be incompatible with GCC.
8818 # ICC 10 doesn't accept -KPIC any more.
8820 lt_prog_compiler_wl='-Wl,'
8821 lt_prog_compiler_pic='-fPIC'
8822 lt_prog_compiler_static='-static'
8824 # Lahey Fortran 8.1.
8826 lt_prog_compiler_wl='-Wl,'
8827 lt_prog_compiler_pic='--shared'
8828 lt_prog_compiler_static='--static'
8830 pgcc* | pgf77* | pgf90* | pgf95*)
8831 # Portland Group compilers (*not* the Pentium gcc compiler,
8832 # which looks to be a dead project)
8833 lt_prog_compiler_wl='-Wl,'
8834 lt_prog_compiler_pic='-fpic'
8835 lt_prog_compiler_static='-Bstatic'
8838 lt_prog_compiler_wl='-Wl,'
8839 # All Alpha code is PIC.
8840 lt_prog_compiler_static='-non_shared'
8843 # IBM XL C 8.0/Fortran 10.1 on PPC
8844 lt_prog_compiler_wl='-Wl,'
8845 lt_prog_compiler_pic='-qpic'
8846 lt_prog_compiler_static='-qstaticlink'
8849 case `$CC -V 2>&1 | sed 5q` in
8852 lt_prog_compiler_pic='-KPIC'
8853 lt_prog_compiler_static='-Bstatic'
8854 lt_prog_compiler_wl='-Wl,'
8857 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8858 lt_prog_compiler_pic='-KPIC'
8859 lt_prog_compiler_static='-Bstatic'
8860 lt_prog_compiler_wl=''
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8873 # QNX uses GNU C++, but need to define -shared option too, otherwise
8875 lt_prog_compiler_pic='-fPIC -shared'
8878 osf3* | osf4* | osf5*)
8879 lt_prog_compiler_wl='-Wl,'
8880 # All OSF/1 code is PIC.
8881 lt_prog_compiler_static='-non_shared'
8885 lt_prog_compiler_static='-non_shared'
8889 lt_prog_compiler_pic='-KPIC'
8890 lt_prog_compiler_static='-Bstatic'
8891 case $cc_basename in
8893 lt_prog_compiler_wl='-Qoption ld ';;
8895 lt_prog_compiler_wl='-Wl,';;
8900 lt_prog_compiler_wl='-Qoption ld '
8901 lt_prog_compiler_pic='-PIC'
8902 lt_prog_compiler_static='-Bstatic'
8905 sysv4 | sysv4.2uw2* | sysv4.3*)
8906 lt_prog_compiler_wl='-Wl,'
8907 lt_prog_compiler_pic='-KPIC'
8908 lt_prog_compiler_static='-Bstatic'
8912 if test -d /usr/nec ;then
8913 lt_prog_compiler_pic='-Kconform_pic'
8914 lt_prog_compiler_static='-Bstatic'
8918 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8919 lt_prog_compiler_wl='-Wl,'
8920 lt_prog_compiler_pic='-KPIC'
8921 lt_prog_compiler_static='-Bstatic'
8925 lt_prog_compiler_wl='-Wl,'
8926 lt_prog_compiler_can_build_shared=no
8930 lt_prog_compiler_pic='-pic'
8931 lt_prog_compiler_static='-Bstatic'
8935 lt_prog_compiler_can_build_shared=no
8941 # For platforms which do not support PIC, -DPIC is meaningless:
8943 lt_prog_compiler_pic=
8946 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8950 $as_echo "$lt_prog_compiler_pic" >&6; }
8958 # Check to make sure the PIC flag actually works.
8960 if test -n "$lt_prog_compiler_pic"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8962 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8963 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8964 $as_echo_n "(cached) " >&6
8966 lt_cv_prog_compiler_pic_works=no
8967 ac_outfile=conftest.$ac_objext
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8970 # Insert the option either (1) after the last *FLAGS variable, or
8971 # (2) before a word containing "conftest.", or (3) at the end.
8972 # Note that $ac_compile itself does not contain backslashes and begins
8973 # with a dollar sign (not a hyphen), so the echo should work correctly.
8974 # The option is referenced via a variable to avoid confusing sed.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>conftest.err)
8982 cat conftest.err >&5
8983 echo "$as_me:__oline__: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s "$ac_outfile"; then
8985 # The compiler can only warn and ignore the option if not recognized
8986 # So say no if there are warnings other than the usual output.
8987 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8988 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8989 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8990 lt_cv_prog_compiler_pic_works=yes
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9000 case $lt_prog_compiler_pic in
9002 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9005 lt_prog_compiler_pic=
9006 lt_prog_compiler_can_build_shared=no
9017 # Check to make sure the static flag actually works.
9019 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9021 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9022 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9025 lt_cv_prog_compiler_static_works=no
9026 save_LDFLAGS="$LDFLAGS"
9027 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9028 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9029 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9030 # The linker can only warn and ignore the option if not recognized
9031 # So say no if there are warnings
9032 if test -s conftest.err; then
9033 # Append any errors to the config.log.
9034 cat conftest.err 1>&5
9035 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9036 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9037 if diff conftest.exp conftest.er2 >/dev/null; then
9038 lt_cv_prog_compiler_static_works=yes
9041 lt_cv_prog_compiler_static_works=yes
9045 LDFLAGS="$save_LDFLAGS"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9049 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9051 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9054 lt_prog_compiler_static=
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9064 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9065 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9066 $as_echo_n "(cached) " >&6
9068 lt_cv_prog_compiler_c_o=no
9069 $RM -r conftest 2>/dev/null
9073 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075 lt_compiler_flag="-o out/conftest2.$ac_objext"
9076 # Insert the option either (1) after the last *FLAGS variable, or
9077 # (2) before a word containing "conftest.", or (3) at the end.
9078 # Note that $ac_compile itself does not contain backslashes and begins
9079 # with a dollar sign (not a hyphen), so the echo should work correctly.
9080 lt_compile=`echo "$ac_compile" | $SED \
9081 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083 -e 's:$: $lt_compiler_flag:'`
9084 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9085 (eval "$lt_compile" 2>out/conftest.err)
9087 cat out/conftest.err >&5
9088 echo "$as_me:__oline__: \$? = $ac_status" >&5
9089 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 # The compiler can only warn and ignore the option if not recognized
9092 # So say no if there are warnings
9093 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9094 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9095 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9096 lt_cv_prog_compiler_c_o=yes
9101 # SGI C++ compiler will create directory out/ii_files/ for
9102 # template instantiation
9103 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9104 $RM out/* && rmdir out
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9111 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9119 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9120 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9121 $as_echo_n "(cached) " >&6
9123 lt_cv_prog_compiler_c_o=no
9124 $RM -r conftest 2>/dev/null
9128 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9130 lt_compiler_flag="-o out/conftest2.$ac_objext"
9131 # Insert the option either (1) after the last *FLAGS variable, or
9132 # (2) before a word containing "conftest.", or (3) at the end.
9133 # Note that $ac_compile itself does not contain backslashes and begins
9134 # with a dollar sign (not a hyphen), so the echo should work correctly.
9135 lt_compile=`echo "$ac_compile" | $SED \
9136 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9137 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9138 -e 's:$: $lt_compiler_flag:'`
9139 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9140 (eval "$lt_compile" 2>out/conftest.err)
9142 cat out/conftest.err >&5
9143 echo "$as_me:__oline__: \$? = $ac_status" >&5
9144 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9146 # The compiler can only warn and ignore the option if not recognized
9147 # So say no if there are warnings
9148 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9149 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9150 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9151 lt_cv_prog_compiler_c_o=yes
9156 # SGI C++ compiler will create directory out/ii_files/ for
9157 # template instantiation
9158 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9159 $RM out/* && rmdir out
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9166 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9171 hard_links="nottested"
9172 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9173 # do not overwrite the value of need_locks provided by the user
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9175 $as_echo_n "checking if we can lock with hard links... " >&6; }
9178 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9180 ln conftest.a conftest.b 2>&5 || hard_links=no
9181 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9183 $as_echo "$hard_links" >&6; }
9184 if test "$hard_links" = no; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9186 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9199 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9202 allow_undefined_flag=
9203 always_export_symbols=no
9205 archive_expsym_cmds=
9206 compiler_needs_object=no
9207 enable_shared_with_static_runtimes=no
9208 export_dynamic_flag_spec=
9209 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9210 hardcode_automatic=no
9212 hardcode_direct_absolute=no
9213 hardcode_libdir_flag_spec=
9214 hardcode_libdir_flag_spec_ld=
9215 hardcode_libdir_separator=
9217 hardcode_shlibpath_var=unsupported
9219 link_all_deplibs=unknown
9222 old_archive_from_new_cmds=
9223 old_archive_from_expsyms_cmds=
9224 thread_safe_flag_spec=
9225 whole_archive_flag_spec=
9226 # include_expsyms should be a list of space-separated symbols to be *always*
9227 # included in the symbol list
9229 # exclude_expsyms can be an extended regexp of symbols to exclude
9230 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9231 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9232 # as well as any symbol that contains `d'.
9233 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9234 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9235 # platforms (ab)use it in PIC code, but their linkers get confused if
9236 # the symbol is explicitly referenced. Since portable code cannot
9237 # rely on this symbol name, it's probably fine to never include it in
9238 # preloaded symbol tables.
9239 # Exclude shared library initialization/finalization symbols.
9240 extract_expsyms_cmds=
9243 cygwin* | mingw* | pw32* | cegcc*)
9244 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9245 # When not using gcc, we currently assume that we are using
9246 # Microsoft Visual C++.
9247 if test "$GCC" != yes; then
9252 # we just hope/assume this is gcc and not c89 (= MSVC++)
9258 linux* | k*bsd*-gnu)
9264 if test "$with_gnu_ld" = yes; then
9265 # If archive_cmds runs LD, not CC, wlarc should be empty
9268 # Set some defaults for GNU ld with shared library support. These
9269 # are reset later if shared libraries are not supported. Putting them
9270 # here allows them to be overridden if necessary.
9271 runpath_var=LD_RUN_PATH
9272 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9273 export_dynamic_flag_spec='${wl}--export-dynamic'
9274 # ancient GNU ld didn't support --whole-archive et. al.
9275 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9276 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9278 whole_archive_flag_spec=
9280 supports_anon_versioning=no
9281 case `$LD -v 2>&1` in
9282 *GNU\ gold*) supports_anon_versioning=yes ;;
9283 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9284 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9285 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9286 *\ 2.11.*) ;; # other 2.11 versions
9287 *) supports_anon_versioning=yes ;;
9290 # See if GNU ld supports shared libraries.
9293 # On AIX/PPC, the GNU linker is very broken
9294 if test "$host_cpu" != ia64; then
9298 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9299 *** to be unable to reliably create shared libraries on AIX.
9300 *** Therefore, libtool is disabling shared libraries support. If you
9301 *** really care for shared libraries, you may want to modify your PATH
9302 *** so that a non-GNU linker is found, and then restart.
9311 # see comment about AmigaOS4 .so support
9312 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313 archive_expsym_cmds=''
9316 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)'
9317 hardcode_libdir_flag_spec='-L$libdir'
9318 hardcode_minus_L=yes
9324 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9325 allow_undefined_flag=unsupported
9326 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9327 # support --undefined. This deserves some investigation. FIXME
9328 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 cygwin* | mingw* | pw32* | cegcc*)
9335 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9336 # as there is no search path for DLLs.
9337 hardcode_libdir_flag_spec='-L$libdir'
9338 allow_undefined_flag=unsupported
9339 always_export_symbols=no
9340 enable_shared_with_static_runtimes=yes
9341 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9343 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9345 # If the export-symbols file already is a .def file (1st line
9346 # is EXPORTS), use it as is; otherwise, prepend...
9347 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9348 cp $export_symbols $output_objdir/$soname.def;
9350 echo EXPORTS > $output_objdir/$soname.def;
9351 cat $export_symbols >> $output_objdir/$soname.def;
9353 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9361 hardcode_shlibpath_var=no
9362 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9363 export_dynamic_flag_spec='${wl}-E'
9364 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9365 # Instead, shared libraries are loaded at an image base (0x10000000 by
9366 # default) and relocated if they conflict, which is a slow very memory
9367 # consuming and fragmenting process. To avoid this, we pick a random,
9368 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9369 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9370 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9371 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'
9374 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9376 if test "$host_os" = linux-dietlibc; then
9377 case $cc_basename in
9378 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9381 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9382 && test "$tmp_diet" = no
9385 tmp_sharedflag='-shared'
9386 case $cc_basename,$host_cpu in
9387 pgcc*) # Portland Group C compiler
9388 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9389 tmp_addflag=' $pic_flag'
9391 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9392 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9393 tmp_addflag=' $pic_flag -Mnomain' ;;
9394 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9395 tmp_addflag=' -i_dynamic' ;;
9396 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9397 tmp_addflag=' -i_dynamic -nofor_main' ;;
9398 ifc* | ifort*) # Intel Fortran compiler
9399 tmp_addflag=' -nofor_main' ;;
9400 lf95*) # Lahey Fortran 8.1
9401 whole_archive_flag_spec=
9402 tmp_sharedflag='--shared' ;;
9403 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9404 tmp_sharedflag='-qmkshrobj'
9407 case `$CC -V 2>&1 | sed 5q` in
9408 *Sun\ C*) # Sun C 5.9
9409 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9410 compiler_needs_object=yes
9411 tmp_sharedflag='-G' ;;
9412 *Sun\ F*) # Sun Fortran 8.3
9413 tmp_sharedflag='-G' ;;
9415 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 if test "x$supports_anon_versioning" = xyes; then
9418 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9419 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9420 echo "local: *; };" >> $output_objdir/$libname.ver~
9421 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9424 case $cc_basename in
9426 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9427 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9428 hardcode_libdir_flag_spec=
9429 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9430 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9431 if test "x$supports_anon_versioning" = xyes; then
9432 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9433 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9434 echo "local: *; };" >> $output_objdir/$libname.ver~
9435 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9444 netbsd* | netbsdelf*-gnu)
9445 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9446 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9455 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9459 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9460 *** create shared libraries on Solaris systems. Therefore, libtool
9461 *** is disabling shared libraries support. We urge you to upgrade GNU
9462 *** binutils to release 2.9.1 or newer. Another option is to modify
9463 *** your PATH or compiler configuration so that the native linker is
9464 *** used, and then restart.
9467 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9468 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9475 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9476 case `$LD -v 2>&1` in
9477 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9481 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9482 *** reliably create shared libraries on SCO systems. Therefore, libtool
9483 *** is disabling shared libraries support. We urge you to upgrade GNU
9484 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9485 *** your PATH or compiler configuration so that the native linker is
9486 *** used, and then restart.
9491 # For security reasons, it is highly recommended that you always
9492 # use absolute paths for naming shared libraries, and exclude the
9493 # DT_RUNPATH tag from executables and libraries. But doing so
9494 # requires that you compile everything twice, which is a pain.
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9497 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9507 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9510 hardcode_shlibpath_var=no
9514 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9515 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9516 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9523 if test "$ld_shlibs" = no; then
9525 hardcode_libdir_flag_spec=
9526 export_dynamic_flag_spec=
9527 whole_archive_flag_spec=
9530 # PORTME fill in a description of your system's linker (not GNU ld)
9533 allow_undefined_flag=unsupported
9534 always_export_symbols=yes
9535 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'
9536 # Note: this linker hardcodes the directories in LIBPATH if there
9537 # are no directories specified by -L.
9538 hardcode_minus_L=yes
9539 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9540 # Neither direct hardcoding nor static linking is supported with a
9542 hardcode_direct=unsupported
9547 if test "$host_cpu" = ia64; then
9548 # On IA64, the linker does run time linking by default, so we don't
9549 # have to do anything special.
9550 aix_use_runtimelinking=no
9551 exp_sym_flag='-Bexport'
9554 # If we're using GNU nm, then we don't want the "-C" option.
9555 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9556 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9557 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9559 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'
9561 aix_use_runtimelinking=no
9563 # Test if we are trying to use run time linking or normal
9564 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9565 # need to do runtime linking.
9566 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9567 for ld_flag in $LDFLAGS; do
9568 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9569 aix_use_runtimelinking=yes
9576 exp_sym_flag='-bexport'
9577 no_entry_flag='-bnoentry'
9580 # When large executables or shared objects are built, AIX ld can
9581 # have problems creating the table of contents. If linking a library
9582 # or program results in "error TOC overflow" add -mminimal-toc to
9583 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9584 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9588 hardcode_direct_absolute=yes
9589 hardcode_libdir_separator=':'
9590 link_all_deplibs=yes
9591 file_list_spec='${wl}-f,'
9593 if test "$GCC" = yes; then
9594 case $host_os in aix4.[012]|aix4.[012].*)
9595 # We only want to do this on AIX 4.2 and lower, the check
9596 # below for broken collect2 doesn't work under 4.3+
9597 collect2name=`${CC} -print-prog-name=collect2`
9598 if test -f "$collect2name" &&
9599 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9601 # We have reworked collect2
9604 # We have old collect2
9605 hardcode_direct=unsupported
9606 # It fails to find uninstalled libraries when the uninstalled
9607 # path is not listed in the libpath. Setting hardcode_minus_L
9608 # to unsupported forces relinking
9609 hardcode_minus_L=yes
9610 hardcode_libdir_flag_spec='-L$libdir'
9611 hardcode_libdir_separator=
9615 shared_flag='-shared'
9616 if test "$aix_use_runtimelinking" = yes; then
9617 shared_flag="$shared_flag "'${wl}-G'
9622 if test "$host_cpu" = ia64; then
9623 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9624 # chokes on -Wl,-G. The following line is correct:
9627 if test "$aix_use_runtimelinking" = yes; then
9628 shared_flag='${wl}-G'
9630 shared_flag='${wl}-bM:SRE'
9635 export_dynamic_flag_spec='${wl}-bexpall'
9636 # It seems that -bexpall does not export symbols beginning with
9637 # underscore (_), so it is better to generate a list of symbols to export.
9638 always_export_symbols=yes
9639 if test "$aix_use_runtimelinking" = yes; then
9640 # Warning - without using the other runtime loading flags (-brtl),
9641 # -berok will link without error, but may produce a broken library.
9642 allow_undefined_flag='-berok'
9643 # Determine the default libpath from the value encoded in an
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9656 if ac_fn_c_try_link "$LINENO"; then :
9658 lt_aix_libpath_sed='
9659 /Import File Strings/,/^$/ {
9665 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9666 # Check for a 64-bit object if we didn't find anything.
9667 if test -z "$aix_libpath"; then
9668 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9675 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9676 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9678 if test "$host_cpu" = ia64; then
9679 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9680 allow_undefined_flag="-z nodefs"
9681 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"
9683 # Determine the default libpath from the value encoded in an
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9696 if ac_fn_c_try_link "$LINENO"; then :
9698 lt_aix_libpath_sed='
9699 /Import File Strings/,/^$/ {
9705 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 # Check for a 64-bit object if we didn't find anything.
9707 if test -z "$aix_libpath"; then
9708 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9716 # Warning - without using the other run time loading flags,
9717 # -berok will link without error, but may produce a broken library.
9718 no_undefined_flag=' ${wl}-bernotok'
9719 allow_undefined_flag=' ${wl}-berok'
9720 # Exported symbols can be pulled into shared objects from archives
9721 whole_archive_flag_spec='$convenience'
9722 archive_cmds_need_lc=yes
9723 # This is similar to how AIX traditionally builds its shared libraries.
9724 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'
9732 # see comment about AmigaOS4 .so support
9733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9734 archive_expsym_cmds=''
9737 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)'
9738 hardcode_libdir_flag_spec='-L$libdir'
9739 hardcode_minus_L=yes
9745 export_dynamic_flag_spec=-rdynamic
9748 cygwin* | mingw* | pw32* | cegcc*)
9749 # When not using gcc, we currently assume that we are using
9750 # Microsoft Visual C++.
9751 # hardcode_libdir_flag_spec is actually meaningless, as there is
9752 # no search path for DLLs.
9753 hardcode_libdir_flag_spec=' '
9754 allow_undefined_flag=unsupported
9755 # Tell ltmain to make .lib files, not .a files.
9757 # Tell ltmain to make .dll files, not .so files.
9759 # FIXME: Setting linknames here is a bad hack.
9760 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9761 # The linker will automatically build a .lib file if we build a DLL.
9762 old_archive_from_new_cmds='true'
9763 # FIXME: Should let the user specify the lib program.
9764 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9765 fix_srcfile_path='`cygpath -w "$srcfile"`'
9766 enable_shared_with_static_runtimes=yes
9769 darwin* | rhapsody*)
9772 archive_cmds_need_lc=no
9774 hardcode_automatic=yes
9775 hardcode_shlibpath_var=unsupported
9776 whole_archive_flag_spec=''
9777 link_all_deplibs=yes
9778 allow_undefined_flag="$_lt_dar_allow_undefined"
9779 case $cc_basename in
9780 ifort*) _lt_dar_can_shared=yes ;;
9781 *) _lt_dar_can_shared=$GCC ;;
9783 if test "$_lt_dar_can_shared" = "yes"; then
9784 output_verbose_link_cmd=echo
9785 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9786 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9787 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}"
9788 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}"
9797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_libdir_flag_spec='-L$libdir'
9799 hardcode_shlibpath_var=no
9806 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9807 # support. Future versions do this automatically, but an explicit c++rt0.o
9808 # does not break anything, and helps significantly (at the cost of a little
9811 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9812 hardcode_libdir_flag_spec='-R$libdir'
9814 hardcode_shlibpath_var=no
9817 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9819 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9821 hardcode_minus_L=yes
9822 hardcode_shlibpath_var=no
9825 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9826 freebsd* | dragonfly*)
9827 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9828 hardcode_libdir_flag_spec='-R$libdir'
9830 hardcode_shlibpath_var=no
9834 if test "$GCC" = yes; then
9835 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9837 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'
9839 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9840 hardcode_libdir_separator=:
9843 # hardcode_minus_L: Not really in the search PATH,
9844 # but as the default location of the library.
9845 hardcode_minus_L=yes
9846 export_dynamic_flag_spec='${wl}-E'
9850 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9851 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9855 if test "$with_gnu_ld" = no; then
9856 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9857 hardcode_libdir_flag_spec_ld='+b $libdir'
9858 hardcode_libdir_separator=:
9860 hardcode_direct_absolute=yes
9861 export_dynamic_flag_spec='${wl}-E'
9862 # hardcode_minus_L: Not really in the search PATH,
9863 # but as the default location of the library.
9864 hardcode_minus_L=yes
9869 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9872 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9894 if test "$with_gnu_ld" = no; then
9895 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9896 hardcode_libdir_separator=:
9901 hardcode_shlibpath_var=no
9905 hardcode_direct_absolute=yes
9906 export_dynamic_flag_spec='${wl}-E'
9908 # hardcode_minus_L: Not really in the search PATH,
9909 # but as the default location of the library.
9910 hardcode_minus_L=yes
9916 irix5* | irix6* | nonstopux*)
9917 if test "$GCC" = yes; then
9918 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9919 # Try to use the -exported_symbol ld option, if it does not
9920 # work, assume that -exports_file does not work either and
9921 # implicitly export all symbols.
9922 save_LDFLAGS="$LDFLAGS"
9923 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LDFLAGS="$save_LDFLAGS"
9936 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9937 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9939 archive_cmds_need_lc='no'
9940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941 hardcode_libdir_separator=:
9943 link_all_deplibs=yes
9946 netbsd* | netbsdelf*-gnu)
9947 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9950 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9952 hardcode_libdir_flag_spec='-R$libdir'
9954 hardcode_shlibpath_var=no
9958 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9961 hardcode_libdir_separator=:
9962 hardcode_shlibpath_var=no
9969 if test -f /usr/libexec/ld.so; then
9971 hardcode_shlibpath_var=no
9972 hardcode_direct_absolute=yes
9973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9974 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9976 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9977 export_dynamic_flag_spec='${wl}-E'
9980 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9981 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9982 hardcode_libdir_flag_spec='-R$libdir'
9985 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9986 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9996 hardcode_libdir_flag_spec='-L$libdir'
9997 hardcode_minus_L=yes
9998 allow_undefined_flag=unsupported
9999 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'
10000 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10004 if test "$GCC" = yes; then
10005 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10006 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10008 allow_undefined_flag=' -expect_unresolved \*'
10009 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10011 archive_cmds_need_lc='no'
10012 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10013 hardcode_libdir_separator=:
10016 osf4* | osf5*) # as osf3* with the addition of -msym flag
10017 if test "$GCC" = yes; then
10018 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10019 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10020 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10022 allow_undefined_flag=' -expect_unresolved \*'
10023 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10024 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~
10025 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10027 # Both c and cxx compiler support -rpath directly
10028 hardcode_libdir_flag_spec='-rpath $libdir'
10030 archive_cmds_need_lc='no'
10031 hardcode_libdir_separator=:
10035 no_undefined_flag=' -z defs'
10036 if test "$GCC" = yes; then
10038 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10040 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10042 case `$CC -V 2>&1` in
10045 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10047 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10051 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10057 hardcode_libdir_flag_spec='-R$libdir'
10058 hardcode_shlibpath_var=no
10060 solaris2.[0-5] | solaris2.[0-5].*) ;;
10062 # The compiler driver will combine and reorder linker options,
10063 # but understands `-z linker_flag'. GCC discards it without `$wl',
10064 # but is careful enough not to reorder.
10065 # Supported since Solaris 2.6 (maybe 2.5.1?)
10066 if test "$GCC" = yes; then
10067 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10069 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10073 link_all_deplibs=yes
10077 if test "x$host_vendor" = xsequent; then
10078 # Use $CC to link under sequent, because it throws in some extra .o
10079 # files that make .init and .fini sections work.
10080 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10084 hardcode_libdir_flag_spec='-L$libdir'
10085 hardcode_direct=yes
10086 hardcode_minus_L=yes
10087 hardcode_shlibpath_var=no
10091 case $host_vendor in
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_direct=yes # is this really true???
10097 ## LD is ld it makes a PLAMLIB
10098 ## CC just makes a GrossModule.
10099 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10100 reload_cmds='$CC -r -o $output$reload_objs'
10104 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10105 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10108 runpath_var='LD_RUN_PATH'
10109 hardcode_shlibpath_var=no
10113 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114 hardcode_shlibpath_var=no
10115 export_dynamic_flag_spec='-Bexport'
10119 if test -d /usr/nec; then
10120 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_shlibpath_var=no
10122 runpath_var=LD_RUN_PATH
10123 hardcode_runpath_var=yes
10128 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10129 no_undefined_flag='${wl}-z,text'
10130 archive_cmds_need_lc=no
10131 hardcode_shlibpath_var=no
10132 runpath_var='LD_RUN_PATH'
10134 if test "$GCC" = yes; then
10135 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 sysv5* | sco3.2v5* | sco5v6*)
10144 # Note: We can NOT use -z defs as we might desire, because we do not
10145 # link with -lc, and that would cause any symbols used from libc to
10146 # always be unresolved, which means just about no library would
10147 # ever link correctly. If we're not using GNU ld we use -z text
10148 # though, which does catch some bad symbols but isn't as heavy-handed
10150 no_undefined_flag='${wl}-z,text'
10151 allow_undefined_flag='${wl}-z,nodefs'
10152 archive_cmds_need_lc=no
10153 hardcode_shlibpath_var=no
10154 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10155 hardcode_libdir_separator=':'
10156 link_all_deplibs=yes
10157 export_dynamic_flag_spec='${wl}-Bexport'
10158 runpath_var='LD_RUN_PATH'
10160 if test "$GCC" = yes; then
10161 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10164 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10165 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10171 hardcode_libdir_flag_spec='-L$libdir'
10172 hardcode_shlibpath_var=no
10180 if test x$host_vendor = xsni; then
10182 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10183 export_dynamic_flag_spec='${wl}-Blargedynsym'
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10190 $as_echo "$ld_shlibs" >&6; }
10191 test "$ld_shlibs" = no && can_build_shared=no
10193 with_gnu_ld=$with_gnu_ld
10210 # Do we need to explicitly link libc?
10212 case "x$archive_cmds_need_lc" in
10214 # Assume -lc should be added
10215 archive_cmds_need_lc=yes
10217 if test "$enable_shared" = yes && test "$GCC" = yes; then
10218 case $archive_cmds in
10220 # FIXME: we may have to deal with multi-command sequences.
10223 # Test whether the compiler implicitly links with -lc since on some
10224 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10225 # to ld, don't add -lc before -lgcc.
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10227 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10229 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10232 (eval $ac_compile) 2>&5
10234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10235 test $ac_status = 0; } 2>conftest.err; then
10238 libobjs=conftest.$ac_objext
10240 wl=$lt_prog_compiler_wl
10241 pic_flag=$lt_prog_compiler_pic
10247 lt_save_allow_undefined_flag=$allow_undefined_flag
10248 allow_undefined_flag=
10249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10250 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10253 test $ac_status = 0; }
10255 archive_cmds_need_lc=no
10257 archive_cmds_need_lc=yes
10259 allow_undefined_flag=$lt_save_allow_undefined_flag
10261 cat conftest.err 1>&5
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10265 $as_echo "$archive_cmds_need_lc" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10429 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10431 if test "$GCC" = yes; then
10433 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10434 *) lt_awk_arg="/^libraries:/" ;;
10436 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10437 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10438 # if the path contains ";" then we assume it to be the separator
10439 # otherwise default to the standard path separator (i.e. ":") - it is
10440 # assumed that no part of a normal pathname contains ";" but that should
10441 # okay in the real world where ";" in dirpaths is itself problematic.
10442 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10444 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10446 # Ok, now we have the path, separated by spaces, we can step through it
10447 # and add multilib dir if necessary.
10448 lt_tmp_lt_search_path_spec=
10449 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10450 for lt_sys_path in $lt_search_path_spec; do
10451 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10452 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10454 test -d "$lt_sys_path" && \
10455 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10458 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10459 BEGIN {RS=" "; FS="/|\n";} {
10462 for (lt_i = NF; lt_i > 0; lt_i--) {
10463 if ($lt_i != "" && $lt_i != ".") {
10464 if ($lt_i == "..") {
10467 if (lt_count == 0) {
10468 lt_foo="/" $lt_i lt_foo;
10475 if (lt_foo != "") { lt_freq[lt_foo]++; }
10476 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10478 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10480 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10482 library_names_spec=
10483 libname_spec='lib$name'
10487 postuninstall_cmds=
10491 shlibpath_overrides_runpath=unknown
10493 dynamic_linker="$host_os ld.so"
10494 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10495 need_lib_prefix=unknown
10496 hardcode_into_libs=no
10498 # when you set need_version to no, make sure it does not cause -set_version
10499 # flags to be left without arguments
10500 need_version=unknown
10505 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10506 shlibpath_var=LIBPATH
10508 # AIX 3 has no versioning support, so we append a major version to the name.
10509 soname_spec='${libname}${release}${shared_ext}$major'
10516 hardcode_into_libs=yes
10517 if test "$host_cpu" = ia64; then
10518 # AIX 5 supports IA64
10519 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10520 shlibpath_var=LD_LIBRARY_PATH
10522 # With GCC up to 2.95.x, collect2 would create an import file
10523 # for dependence libraries. The import file would start with
10524 # the line `#! .'. This would cause the generated library to
10525 # depend on `.', always an invalid library. This was fixed in
10526 # development snapshots of GCC prior to 3.0.
10528 aix4 | aix4.[01] | aix4.[01].*)
10529 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10531 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10534 can_build_shared=no
10538 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10539 # soname into executable. Probably we can add versioning support to
10540 # collect2, so additional links can be useful in future.
10541 if test "$aix_use_runtimelinking" = yes; then
10542 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10543 # instead of lib<name>.a to let people know that these are not
10544 # typical AIX shared libraries.
10545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10547 # We preserve .a as extension for shared libraries through AIX4.2
10548 # and later when we are not doing run time linking.
10549 library_names_spec='${libname}${release}.a $libname.a'
10550 soname_spec='${libname}${release}${shared_ext}$major'
10552 shlibpath_var=LIBPATH
10559 # Since July 2007 AmigaOS4 officially supports .so libraries.
10560 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10564 library_names_spec='$libname.ixlibrary $libname.a'
10565 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10566 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10572 library_names_spec='${libname}${shared_ext}'
10573 dynamic_linker="$host_os ld.so"
10574 shlibpath_var=LIBRARY_PATH
10580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10581 soname_spec='${libname}${release}${shared_ext}$major'
10582 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10583 shlibpath_var=LD_LIBRARY_PATH
10584 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10585 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10586 # the default ld.so.conf also contains /usr/contrib/lib and
10587 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10588 # libtool to hard-code these into programs
10591 cygwin* | mingw* | pw32* | cegcc*)
10592 version_type=windows
10597 case $GCC,$host_os in
10598 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10599 library_names_spec='$libname.dll.a'
10600 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10601 postinstall_cmds='base_file=`basename \${file}`~
10602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10603 dldir=$destdir/`dirname \$dlpath`~
10604 test -d \$dldir || mkdir -p \$dldir~
10605 $install_prog $dir/$dlname \$dldir/$dlname~
10606 chmod a+x \$dldir/$dlname~
10607 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10608 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10610 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10611 dlpath=$dir/\$dldll~
10613 shlibpath_overrides_runpath=yes
10617 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10618 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10619 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10622 # MinGW DLLs use traditional 'lib' prefix
10623 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10624 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10625 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10626 # It is most probably a Windows format PATH printed by
10627 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10628 # path with ; separators, and with drive letters. We can handle the
10629 # drive letters (cygwin fileutils understands them), so leave them,
10630 # especially as we might pass files found there to a mingw objdump,
10631 # which wouldn't understand a cygwinified path. Ahh.
10632 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10634 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10638 # pw32 DLLs use 'pw' prefix rather than 'lib'
10639 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10648 dynamic_linker='Win32 ld.exe'
10649 # FIXME: first we should search . and the directory the executable is in
10653 darwin* | rhapsody*)
10654 dynamic_linker="$host_os dyld"
10655 version_type=darwin
10658 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10659 soname_spec='${libname}${release}${major}$shared_ext'
10660 shlibpath_overrides_runpath=yes
10661 shlibpath_var=DYLD_LIBRARY_PATH
10662 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10664 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10665 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10673 soname_spec='${libname}${release}${shared_ext}$major'
10674 shlibpath_var=LD_LIBRARY_PATH
10681 freebsd* | dragonfly*)
10682 # DragonFly does not have aout. When/if they implement a new
10683 # versioning mechanism, adjust this.
10684 if test -x /usr/bin/objformat; then
10685 objformat=`/usr/bin/objformat`
10688 freebsd[123]*) objformat=aout ;;
10689 *) objformat=elf ;;
10692 version_type=freebsd-$objformat
10693 case $version_type in
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10704 shlibpath_var=LD_LIBRARY_PATH
10707 shlibpath_overrides_runpath=yes
10709 freebsd3.[01]* | freebsdelf3.[01]*)
10710 shlibpath_overrides_runpath=yes
10711 hardcode_into_libs=yes
10713 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10714 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10715 shlibpath_overrides_runpath=no
10716 hardcode_into_libs=yes
10718 *) # from 4.6 on, and DragonFly
10719 shlibpath_overrides_runpath=yes
10720 hardcode_into_libs=yes
10729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10730 soname_spec='${libname}${release}${shared_ext}$major'
10731 shlibpath_var=LD_LIBRARY_PATH
10732 hardcode_into_libs=yes
10735 hpux9* | hpux10* | hpux11*)
10736 # Give a soname corresponding to the major version so that dld.sl refuses to
10737 # link against other versions.
10744 hardcode_into_libs=yes
10745 dynamic_linker="$host_os dld.so"
10746 shlibpath_var=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749 soname_spec='${libname}${release}${shared_ext}$major'
10750 if test "X$HPUX_IA64_MODE" = X32; then
10751 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10753 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10759 hardcode_into_libs=yes
10760 dynamic_linker="$host_os dld.sl"
10761 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10762 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764 soname_spec='${libname}${release}${shared_ext}$major'
10765 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10766 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10770 dynamic_linker="$host_os dld.sl"
10771 shlibpath_var=SHLIB_PATH
10772 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 soname_spec='${libname}${release}${shared_ext}$major'
10777 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10778 postinstall_cmds='chmod 555 $lib'
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10786 soname_spec='${libname}${release}${shared_ext}$major'
10787 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10788 shlibpath_var=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath=no
10790 hardcode_into_libs=yes
10793 irix5* | irix6* | nonstopux*)
10795 nonstopux*) version_type=nonstopux ;;
10797 if test "$lt_cv_prog_gnu_ld" = yes; then
10805 soname_spec='${libname}${release}${shared_ext}$major'
10806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10808 irix5* | nonstopux*)
10809 libsuff= shlibsuff=
10812 case $LD in # libtool.m4 will add one of these switches to LD
10813 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10814 libsuff= shlibsuff= libmagic=32-bit;;
10815 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10816 libsuff=32 shlibsuff=N32 libmagic=N32;;
10817 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10818 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10819 *) libsuff= shlibsuff= libmagic=never-match;;
10823 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10824 shlibpath_overrides_runpath=no
10825 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10826 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10827 hardcode_into_libs=yes
10830 # No shared lib support for Linux oldld, aout, or coff.
10831 linux*oldld* | linux*aout* | linux*coff*)
10835 # This must be Linux ELF.
10836 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10843 shlibpath_var=LD_LIBRARY_PATH
10844 shlibpath_overrides_runpath=no
10845 # Some binutils ld are patched to set DT_RUNPATH
10846 save_LDFLAGS=$LDFLAGS
10847 save_libdir=$libdir
10848 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10849 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10863 shlibpath_overrides_runpath=yes
10866 rm -f core conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10868 LDFLAGS=$save_LDFLAGS
10869 libdir=$save_libdir
10871 # This implies no fast_install, which is unacceptable.
10872 # Some rework will be needed to allow for fast_install
10873 # before this can be enabled.
10874 hardcode_into_libs=yes
10876 # Append ld.so.conf contents to the search path
10877 if test -f /etc/ld.so.conf; then
10878 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;/^$/d' | tr '\n' ' '`
10879 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10882 # We used to test for /lib/ld.so.1 and disable shared libraries on
10883 # powerpc, because MkLinux only supported shared libraries with the
10884 # GNU dynamic linker. Since this was broken with cross compilers,
10885 # most powerpc-linux boxes support dynamic linking these days and
10886 # people can always --disable-shared, the test was removed, and we
10887 # assume the GNU/Linux dynamic linker is in use.
10888 dynamic_linker='GNU/Linux ld.so'
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10896 soname_spec='${libname}${release}${shared_ext}$major'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899 hardcode_into_libs=yes
10900 dynamic_linker='NetBSD ld.elf_so'
10907 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10910 dynamic_linker='NetBSD (a.out) ld.so'
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10913 soname_spec='${libname}${release}${shared_ext}$major'
10914 dynamic_linker='NetBSD ld.elf_so'
10916 shlibpath_var=LD_LIBRARY_PATH
10917 shlibpath_overrides_runpath=yes
10918 hardcode_into_libs=yes
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 shlibpath_overrides_runpath=yes
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 soname_spec='${libname}${release}${shared_ext}$major'
10934 shlibpath_var=LD_LIBRARY_PATH
10935 shlibpath_overrides_runpath=no
10936 hardcode_into_libs=yes
10937 dynamic_linker='ldqnx.so'
10942 sys_lib_dlsearch_path_spec="/usr/lib"
10944 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10946 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10947 *) need_version=no ;;
10949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10950 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10951 shlibpath_var=LD_LIBRARY_PATH
10952 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10954 openbsd2.[89] | openbsd2.[89].*)
10955 shlibpath_overrides_runpath=no
10958 shlibpath_overrides_runpath=yes
10962 shlibpath_overrides_runpath=yes
10967 libname_spec='$name'
10970 library_names_spec='$libname${shared_ext} $libname.a'
10971 dynamic_linker='OS/2 ld.exe'
10972 shlibpath_var=LIBPATH
10975 osf3* | osf4* | osf5*)
10979 soname_spec='${libname}${release}${shared_ext}$major'
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10983 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 soname_spec='${libname}${release}${shared_ext}$major'
10996 shlibpath_var=LD_LIBRARY_PATH
10997 shlibpath_overrides_runpath=yes
10998 hardcode_into_libs=yes
10999 # ldd complains unless libraries are executable
11000 postinstall_cmds='chmod +x $lib'
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 shlibpath_overrides_runpath=yes
11009 if test "$with_gnu_ld" = yes; then
11017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018 soname_spec='${libname}${release}${shared_ext}$major'
11019 shlibpath_var=LD_LIBRARY_PATH
11020 case $host_vendor in
11022 shlibpath_overrides_runpath=no
11024 runpath_var=LD_RUN_PATH
11032 shlibpath_overrides_runpath=no
11033 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11039 if test -d /usr/nec ;then
11041 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11042 soname_spec='$libname${shared_ext}.$major'
11043 shlibpath_var=LD_LIBRARY_PATH
11047 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11048 version_type=freebsd-elf
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath=yes
11055 hardcode_into_libs=yes
11056 if test "$with_gnu_ld" = yes; then
11057 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11059 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11062 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11066 sys_lib_dlsearch_path_spec='/usr/lib'
11070 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 shlibpath_overrides_runpath=no
11077 hardcode_into_libs=yes
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 shlibpath_var=LD_LIBRARY_PATH
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11092 $as_echo "$dynamic_linker" >&6; }
11093 test "$dynamic_linker" = no && can_build_shared=no
11095 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11096 if test "$GCC" = yes; then
11097 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11100 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11101 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11103 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11104 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11194 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11196 if test -n "$hardcode_libdir_flag_spec" ||
11197 test -n "$runpath_var" ||
11198 test "X$hardcode_automatic" = "Xyes" ; then
11200 # We can hardcode non-existent directories.
11201 if test "$hardcode_direct" != no &&
11202 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11203 # have to relink, otherwise we might link with an installed library
11204 # when we should be linking with a yet-to-be-installed one
11205 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11206 test "$hardcode_minus_L" != no; then
11207 # Linking always hardcodes the temporary library directory.
11208 hardcode_action=relink
11210 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11211 hardcode_action=immediate
11214 # We cannot hardcode anything, or else we can only hardcode existing
11216 hardcode_action=unsupported
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11219 $as_echo "$hardcode_action" >&6; }
11221 if test "$hardcode_action" = relink ||
11222 test "$inherit_rpath" = yes; then
11223 # Fast installation is not supported
11224 enable_fast_install=no
11225 elif test "$shlibpath_overrides_runpath" = yes ||
11226 test "$enable_shared" = no; then
11227 # Fast installation is not necessary
11228 enable_fast_install=needless
11236 if test "x$enable_dlopen" != xyes; then
11237 enable_dlopen=unknown
11238 enable_dlopen_self=unknown
11239 enable_dlopen_self_static=unknown
11246 lt_cv_dlopen="load_add_on"
11248 lt_cv_dlopen_self=yes
11251 mingw* | pw32* | cegcc*)
11252 lt_cv_dlopen="LoadLibrary"
11257 lt_cv_dlopen="dlopen"
11262 # if libdl is installed we need to link against it
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11265 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11266 $as_echo_n "(cached) " >&6
11268 ac_check_lib_save_LIBS=$LIBS
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_dl_dlopen=yes
11291 ac_cv_lib_dl_dlopen=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11299 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11300 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11303 lt_cv_dlopen="dyld"
11305 lt_cv_dlopen_self=yes
11312 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11313 if test "x$ac_cv_func_shl_load" = x""yes; then :
11314 lt_cv_dlopen="shl_load"
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11317 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11318 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11319 $as_echo_n "(cached) " >&6
11321 ac_check_lib_save_LIBS=$LIBS
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 /* Override any GCC internal prototype to avoid an error.
11327 Use char because int might match the return type of a GCC
11328 builtin and then its argument prototype would still apply. */
11336 return shl_load ();
11341 if ac_fn_c_try_link "$LINENO"; then :
11342 ac_cv_lib_dld_shl_load=yes
11344 ac_cv_lib_dld_shl_load=no
11346 rm -f core conftest.err conftest.$ac_objext \
11347 conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11351 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11352 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11353 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11355 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11356 if test "x$ac_cv_func_dlopen" = x""yes; then :
11357 lt_cv_dlopen="dlopen"
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11361 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11362 $as_echo_n "(cached) " >&6
11364 ac_check_lib_save_LIBS=$LIBS
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 ac_cv_lib_svld_dlopen=yes
11426 ac_cv_lib_svld_dlopen=no
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_lib_save_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11433 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11434 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11435 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11438 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11439 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11442 ac_check_lib_save_LIBS=$LIBS
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11457 return dld_link ();
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dld_dld_link=yes
11465 ac_cv_lib_dld_dld_link=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11472 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11473 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11474 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11495 if test "x$lt_cv_dlopen" != xno; then
11501 case $lt_cv_dlopen in
11503 save_CPPFLAGS="$CPPFLAGS"
11504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11506 save_LDFLAGS="$LDFLAGS"
11507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11510 LIBS="$lt_cv_dlopen_libs $LIBS"
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11513 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11514 if test "${lt_cv_dlopen_self+set}" = set; then :
11515 $as_echo_n "(cached) " >&6
11517 if test "$cross_compiling" = yes; then :
11518 lt_cv_dlopen_self=cross
11520 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11521 lt_status=$lt_dlunknown
11522 cat > conftest.$ac_ext <<_LT_EOF
11523 #line __oline__ "configure"
11524 #include "confdefs.h"
11533 # define LT_DLGLOBAL RTLD_GLOBAL
11536 # define LT_DLGLOBAL DL_GLOBAL
11538 # define LT_DLGLOBAL 0
11542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11543 find out it does not work in some platform. */
11544 #ifndef LT_DLLAZY_OR_NOW
11546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11549 # define LT_DLLAZY_OR_NOW DL_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_NOW
11555 # define LT_DLLAZY_OR_NOW DL_NOW
11557 # define LT_DLLAZY_OR_NOW 0
11564 void fnord() { int i=42;}
11567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11568 int status = $lt_dlunknown;
11572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11573 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11574 /* dlclose (self); */
11582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11583 (eval $ac_link) 2>&5
11585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11586 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11587 (./conftest; exit; ) >&5 2>/dev/null
11589 case x$lt_status in
11590 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11591 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11592 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11595 # compilation failed
11596 lt_cv_dlopen_self=no
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11604 $as_echo "$lt_cv_dlopen_self" >&6; }
11606 if test "x$lt_cv_dlopen_self" = xyes; then
11607 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11609 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11610 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11611 $as_echo_n "(cached) " >&6
11613 if test "$cross_compiling" = yes; then :
11614 lt_cv_dlopen_self_static=cross
11616 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11617 lt_status=$lt_dlunknown
11618 cat > conftest.$ac_ext <<_LT_EOF
11619 #line __oline__ "configure"
11620 #include "confdefs.h"
11629 # define LT_DLGLOBAL RTLD_GLOBAL
11632 # define LT_DLGLOBAL DL_GLOBAL
11634 # define LT_DLGLOBAL 0
11638 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11639 find out it does not work in some platform. */
11640 #ifndef LT_DLLAZY_OR_NOW
11642 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW DL_LAZY
11648 # define LT_DLLAZY_OR_NOW RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW DL_NOW
11653 # define LT_DLLAZY_OR_NOW 0
11660 void fnord() { int i=42;}
11663 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11664 int status = $lt_dlunknown;
11668 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11669 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11670 /* dlclose (self); */
11678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11679 (eval $ac_link) 2>&5
11681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11683 (./conftest; exit; ) >&5 2>/dev/null
11685 case x$lt_status in
11686 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11687 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11688 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11691 # compilation failed
11692 lt_cv_dlopen_self_static=no
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11700 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11703 CPPFLAGS="$save_CPPFLAGS"
11704 LDFLAGS="$save_LDFLAGS"
11709 case $lt_cv_dlopen_self in
11710 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11711 *) enable_dlopen_self=unknown ;;
11714 case $lt_cv_dlopen_self_static in
11715 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11716 *) enable_dlopen_self_static=unknown ;;
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11739 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11740 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11741 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11742 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11744 $as_echo "yes" >&6; }
11746 # FIXME - insert some real tests, host_os isn't really good enough
11749 if test -n "$STRIP" ; then
11750 striplib="$STRIP -x"
11751 old_striplib="$STRIP -S"
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11753 $as_echo "yes" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761 $as_echo "no" >&6; }
11777 # Report which library types will actually be built
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11779 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11781 $as_echo "$can_build_shared" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11784 $as_echo_n "checking whether to build shared libraries... " >&6; }
11785 test "$can_build_shared" = "no" && enable_shared=no
11787 # On AIX, shared libraries and static libraries use the same namespace, and
11788 # are all built from PIC.
11791 test "$enable_shared" = yes && enable_static=no
11792 if test -n "$RANLIB"; then
11793 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11794 postinstall_cmds='$RANLIB $lib'
11799 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11800 test "$enable_shared" = yes && enable_static=no
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11805 $as_echo "$enable_shared" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11808 $as_echo_n "checking whether to build static libraries... " >&6; }
11809 # Make sure either enable_shared or enable_static is yes.
11810 test "$enable_shared" = yes || enable_static=yes
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11812 $as_echo "$enable_static" >&6; }
11819 ac_cpp='$CPP $CPPFLAGS'
11820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11838 ac_config_commands="$ac_config_commands libtool"
11843 # Only expand once:
11848 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
11849 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
11851 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
11855 @%:@ Check whether --with-gconf-source was given.
11856 if test "${with_gconf_source+set}" = set; then :
11857 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
11863 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
11865 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
11866 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
11870 @%:@ Check whether --with-gconf-schema-file-dir was given.
11871 if test "${with_gconf_schema_file_dir+set}" = set; then :
11872 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
11878 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
11880 @%:@ Check whether --enable-schemas-install was given.
11881 if test "${enable_schemas_install+set}" = set; then :
11882 enableval=$enable_schemas_install; case ${enableval} in
11884 *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
11888 if test "$enable_schemas_install" != no; then
11889 GCONF_SCHEMAS_INSTALL_TRUE=
11890 GCONF_SCHEMAS_INSTALL_FALSE='#'
11892 GCONF_SCHEMAS_INSTALL_TRUE='#'
11893 GCONF_SCHEMAS_INSTALL_FALSE=
11898 LIBGNOMEUI_REQUIRED=2.0.0
11899 LIBGNOME_REQUIRED=2.0.0
11901 GCONF_REQUIRED=1.1.11
11902 DBUS_GLIB_REQUIRED=0.33
11903 GIO_REQUIRED=2.16.0
11907 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11908 if test -n "$ac_tool_prefix"; then
11909 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11910 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11912 $as_echo_n "checking for $ac_word... " >&6; }
11913 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11914 $as_echo_n "(cached) " >&6
11916 case $PKG_CONFIG in
11918 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11922 for as_dir in $PATH
11925 test -z "$as_dir" && as_dir=.
11926 for ac_exec_ext in '' $ac_executable_extensions; do
11927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11928 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11940 if test -n "$PKG_CONFIG"; then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11942 $as_echo "$PKG_CONFIG" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11945 $as_echo "no" >&6; }
11950 if test -z "$ac_cv_path_PKG_CONFIG"; then
11951 ac_pt_PKG_CONFIG=$PKG_CONFIG
11952 # Extract the first word of "pkg-config", so it can be a program name with args.
11953 set dummy pkg-config; ac_word=$2
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11955 $as_echo_n "checking for $ac_word... " >&6; }
11956 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11957 $as_echo_n "(cached) " >&6
11959 case $ac_pt_PKG_CONFIG in
11961 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11965 for as_dir in $PATH
11968 test -z "$as_dir" && as_dir=.
11969 for ac_exec_ext in '' $ac_executable_extensions; do
11970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11971 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11982 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11983 if test -n "$ac_pt_PKG_CONFIG"; then
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11985 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11988 $as_echo "no" >&6; }
11991 if test "x$ac_pt_PKG_CONFIG" = x; then
11994 case $cross_compiling:$ac_tool_warned in
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11998 ac_tool_warned=yes ;;
12000 PKG_CONFIG=$ac_pt_PKG_CONFIG
12003 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12007 if test -n "$PKG_CONFIG"; then
12008 _pkg_min_version=0.9.0
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12010 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12011 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12013 $as_echo "yes" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
12024 $as_echo_n "checking for GNOME... " >&6; }
12026 if test -n "$PKG_CONFIG"; then
12027 if test -n "$GNOME_CFLAGS"; then
12028 pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
12030 if test -n "$PKG_CONFIG" && \
12031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12032 gtk+-2.0 >= \$GTK_REQUIRED
12034 gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
12035 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12036 gtk+-2.0 >= $GTK_REQUIRED
12038 gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
12040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12041 test $ac_status = 0; }; then
12042 pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12043 gtk+-2.0 >= $GTK_REQUIRED
12045 gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
12053 if test -n "$PKG_CONFIG"; then
12054 if test -n "$GNOME_LIBS"; then
12055 pkg_cv_GNOME_LIBS="$GNOME_LIBS"
12057 if test -n "$PKG_CONFIG" && \
12058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12059 gtk+-2.0 >= \$GTK_REQUIRED
12061 gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
12062 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12063 gtk+-2.0 >= $GTK_REQUIRED
12065 gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
12067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12068 test $ac_status = 0; }; then
12069 pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12070 gtk+-2.0 >= $GTK_REQUIRED
12072 gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
12083 if test $pkg_failed = yes; then
12085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12086 _pkg_short_errors_supported=yes
12088 _pkg_short_errors_supported=no
12090 if test $_pkg_short_errors_supported = yes; then
12091 GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12092 gtk+-2.0 >= $GTK_REQUIRED
12094 gio-unix-2.0 >= $GIO_REQUIRED"`
12096 GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12097 gtk+-2.0 >= $GTK_REQUIRED
12099 gio-unix-2.0 >= $GIO_REQUIRED"`
12101 # Put the nasty error message in config.log where it belongs
12102 echo "$GNOME_PKG_ERRORS" >&5
12104 as_fn_error "Package requirements (libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12105 gtk+-2.0 >= $GTK_REQUIRED
12107 gio-unix-2.0 >= $GIO_REQUIRED) were not met:
12111 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12112 installed software in a non-standard prefix.
12114 Alternatively, you may set the environment variables GNOME_CFLAGS
12115 and GNOME_LIBS to avoid the need to call pkg-config.
12116 See the pkg-config man page for more details.
12118 elif test $pkg_failed = untried; then
12119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12121 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12122 is in your PATH or set the PKG_CONFIG environment variable to the full
12123 path to pkg-config.
12125 Alternatively, you may set the environment variables GNOME_CFLAGS
12126 and GNOME_LIBS to avoid the need to call pkg-config.
12127 See the pkg-config man page for more details.
12129 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12130 See \`config.log' for more details." "$LINENO" 5; }
12132 GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
12133 GNOME_LIBS=$pkg_cv_GNOME_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12135 $as_echo "yes" >&6; }
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12147 $as_echo_n "checking for DBUS... " >&6; }
12149 if test -n "$PKG_CONFIG"; then
12150 if test -n "$DBUS_CFLAGS"; then
12151 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12153 if test -n "$PKG_CONFIG" && \
12154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
12155 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
12157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158 test $ac_status = 0; }; then
12159 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
12167 if test -n "$PKG_CONFIG"; then
12168 if test -n "$DBUS_LIBS"; then
12169 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12171 if test -n "$PKG_CONFIG" && \
12172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
12173 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12176 test $ac_status = 0; }; then
12177 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
12188 if test $pkg_failed = yes; then
12190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12191 _pkg_short_errors_supported=yes
12193 _pkg_short_errors_supported=no
12195 if test $_pkg_short_errors_supported = yes; then
12196 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
12198 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
12200 # Put the nasty error message in config.log where it belongs
12201 echo "$DBUS_PKG_ERRORS" >&5
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12206 elif test $pkg_failed = untried; then
12209 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12210 DBUS_LIBS=$pkg_cv_DBUS_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12212 $as_echo "yes" >&6; }
12218 if test "x$enable_dbus" = "xno"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: DBUS support is disabled since dbus $DBUS_GLIB_REQUIRED or higher was not found" >&5
12220 $as_echo "$as_me: WARNING: DBUS support is disabled since dbus $DBUS_GLIB_REQUIRED or higher was not found" >&2;}
12223 if test "x$enable_dbus" = "xyes" ; then
12224 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
12225 set dummy dbus-binding-tool; ac_word=$2
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12227 $as_echo_n "checking for $ac_word... " >&6; }
12228 if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
12229 $as_echo_n "(cached) " >&6
12231 case $DBUS_BINDING_TOOL in
12233 ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
12236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $PATH
12240 test -z "$as_dir" && as_dir=.
12241 for ac_exec_ext in '' $ac_executable_extensions; do
12242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12243 ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
12244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
12255 DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
12256 if test -n "$DBUS_BINDING_TOOL"; then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
12258 $as_echo "$DBUS_BINDING_TOOL" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12261 $as_echo "no" >&6; }
12266 if test x$DBUS_BINDING_TOOL = "xno" ; then
12267 as_fn_error "dbus-binding-tool executable not found in your path - should be installed with dbus glib bindings" "$LINENO" 5
12271 $as_echo "@%:@define ENABLE_DBUS 1" >>confdefs.h
12274 DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0\.\([0-9]*\)\.\{0,1\}\([0-9]*\)/\1/'`
12276 cat >>confdefs.h <<_ACEOF
12277 @%:@define DBUS_VERSION $DBUS_VERSION
12282 GETTEXT_PACKAGE=gwget
12285 cat >>confdefs.h <<_ACEOF
12286 @%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12289 ALL_LINGUAS="ar bg ca cs da de dz el en_CA en_GB es eu fi fr hu it ja lt lv mk ne nl oc pa pl pt pt_BR ro ru rw sk sq sv tr uk vi zh_CN zh_HK zh_TW"
12291 for ac_header in locale.h
12293 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12294 if test "x$ac_cv_header_locale_h" = x""yes; then :
12295 cat >>confdefs.h <<_ACEOF
12296 @%:@define HAVE_LOCALE_H 1
12303 if test $ac_cv_header_locale_h = yes; then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12305 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12306 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12307 $as_echo_n "(cached) " >&6
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12311 #include <locale.h>
12320 if ac_fn_c_try_link "$LINENO"; then :
12321 am_cv_val_LC_MESSAGES=yes
12323 am_cv_val_LC_MESSAGES=no
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12329 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12330 if test $am_cv_val_LC_MESSAGES = yes; then
12332 $as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
12339 gt_cv_have_gettext=no
12345 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12346 if test "x$ac_cv_header_libintl_h" = x""yes; then :
12347 gt_cv_func_dgettext_libintl="no"
12348 libintl_extra_libs=""
12351 # First check in libc
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12354 $as_echo_n "checking for ngettext in libc... " >&6; }
12355 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12356 $as_echo_n "(cached) " >&6
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 #include <libintl.h>
12366 return !ngettext ("","", 1)
12371 if ac_fn_c_try_link "$LINENO"; then :
12372 gt_cv_func_ngettext_libc=yes
12374 gt_cv_func_ngettext_libc=no
12376 rm -f core conftest.err conftest.$ac_objext \
12377 conftest$ac_exeext conftest.$ac_ext
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12381 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12383 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12385 $as_echo_n "checking for dgettext in libc... " >&6; }
12386 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12387 $as_echo_n "(cached) " >&6
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12392 #include <libintl.h>
12397 return !dgettext ("","")
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 gt_cv_func_dgettext_libc=yes
12405 gt_cv_func_dgettext_libc=no
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12412 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12415 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12416 for ac_func in bind_textdomain_codeset
12418 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12419 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12420 cat >>confdefs.h <<_ACEOF
12421 @%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
12430 # If we don't have everything we want, check in libintl
12432 if test "$gt_cv_func_dgettext_libc" != "yes" \
12433 || test "$gt_cv_func_ngettext_libc" != "yes" \
12434 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12437 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12438 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12439 $as_echo_n "(cached) " >&6
12441 ac_check_lib_save_LIBS=$LIBS
12442 LIBS="-lintl $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 /* Override any GCC internal prototype to avoid an error.
12447 Use char because int might match the return type of a GCC
12448 builtin and then its argument prototype would still apply. */
12452 char bindtextdomain ();
12456 return bindtextdomain ();
12461 if ac_fn_c_try_link "$LINENO"; then :
12462 ac_cv_lib_intl_bindtextdomain=yes
12464 ac_cv_lib_intl_bindtextdomain=no
12466 rm -f core conftest.err conftest.$ac_objext \
12467 conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_lib_save_LIBS
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12471 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12472 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12474 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12475 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12476 $as_echo_n "(cached) " >&6
12478 ac_check_lib_save_LIBS=$LIBS
12479 LIBS="-lintl $LIBS"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 /* Override any GCC internal prototype to avoid an error.
12484 Use char because int might match the return type of a GCC
12485 builtin and then its argument prototype would still apply. */
12493 return ngettext ();
12498 if ac_fn_c_try_link "$LINENO"; then :
12499 ac_cv_lib_intl_ngettext=yes
12501 ac_cv_lib_intl_ngettext=no
12503 rm -f core conftest.err conftest.$ac_objext \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_lib_save_LIBS
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12508 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12509 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12511 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12512 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12513 $as_echo_n "(cached) " >&6
12515 ac_check_lib_save_LIBS=$LIBS
12516 LIBS="-lintl $LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12530 return dgettext ();
12535 if ac_fn_c_try_link "$LINENO"; then :
12536 ac_cv_lib_intl_dgettext=yes
12538 ac_cv_lib_intl_dgettext=no
12540 rm -f core conftest.err conftest.$ac_objext \
12541 conftest$ac_exeext conftest.$ac_ext
12542 LIBS=$ac_check_lib_save_LIBS
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12545 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12546 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12547 gt_cv_func_dgettext_libintl=yes
12555 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12557 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12561 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12562 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12563 $as_echo_n "(cached) " >&6
12565 ac_check_lib_save_LIBS=$LIBS
12566 LIBS="-lintl -liconv $LIBS"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12580 return ngettext ();
12585 if ac_fn_c_try_link "$LINENO"; then :
12586 ac_cv_lib_intl_ngettext=yes
12588 ac_cv_lib_intl_ngettext=no
12590 rm -f core conftest.err conftest.$ac_objext \
12591 conftest$ac_exeext conftest.$ac_ext
12592 LIBS=$ac_check_lib_save_LIBS
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12595 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12596 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12598 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12599 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12600 $as_echo_n "(cached) " >&6
12602 ac_check_lib_save_LIBS=$LIBS
12603 LIBS="-lintl -liconv $LIBS"
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12607 /* Override any GCC internal prototype to avoid an error.
12608 Use char because int might match the return type of a GCC
12609 builtin and then its argument prototype would still apply. */
12617 return dcgettext ();
12622 if ac_fn_c_try_link "$LINENO"; then :
12623 ac_cv_lib_intl_dcgettext=yes
12625 ac_cv_lib_intl_dcgettext=no
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_lib_save_LIBS
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12632 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12633 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
12634 gt_cv_func_dgettext_libintl=yes
12635 libintl_extra_libs=-liconv
12647 # If we found libintl, then check in it for bind_textdomain_codeset();
12648 # we'll prefer libc if neither have bind_textdomain_codeset(),
12649 # and both have dgettext and ngettext
12651 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12652 glib_save_LIBS="$LIBS"
12653 LIBS="$LIBS -lintl $libintl_extra_libs"
12654 unset ac_cv_func_bind_textdomain_codeset
12655 for ac_func in bind_textdomain_codeset
12657 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12658 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12659 cat >>confdefs.h <<_ACEOF
12660 @%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
12666 LIBS="$glib_save_LIBS"
12668 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12669 gt_cv_func_dgettext_libc=no
12671 if test "$gt_cv_func_dgettext_libc" = "yes" \
12672 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12673 gt_cv_func_dgettext_libintl=no
12679 if test "$gt_cv_func_dgettext_libc" = "yes" \
12680 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12681 gt_cv_have_gettext=yes
12684 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12685 INTLLIBS="-lintl $libintl_extra_libs"
12688 if test "$gt_cv_have_gettext" = "yes"; then
12690 $as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
12692 # Extract the first word of "msgfmt", so it can be a program name with args.
12693 set dummy msgfmt; ac_word=$2
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12695 $as_echo_n "checking for $ac_word... " >&6; }
12696 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12697 $as_echo_n "(cached) " >&6
12701 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12705 for ac_dir in $PATH; do
12706 test -z "$ac_dir" && ac_dir=.
12707 if test -f $ac_dir/$ac_word; then
12708 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12709 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12715 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12719 MSGFMT="$ac_cv_path_MSGFMT"
12720 if test "$MSGFMT" != "no"; then
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12722 $as_echo "$MSGFMT" >&6; }
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12725 $as_echo "no" >&6; }
12727 if test "$MSGFMT" != "no"; then
12728 glib_save_LIBS="$LIBS"
12729 LIBS="$LIBS $INTLLIBS"
12730 for ac_func in dcgettext
12732 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12733 if test "x$ac_cv_func_dcgettext" = x""yes; then :
12734 cat >>confdefs.h <<_ACEOF
12735 @%:@define HAVE_DCGETTEXT 1
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12743 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12744 cat >conftest.foo <<_ACEOF
12748 "Content-Type: text/plain; charset=UTF-8\n"
12749 "Project-Id-Version: test 1.0\n"
12750 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12751 "Last-Translator: test <foo@bar.xx>\n"
12752 "Language-Team: C <LL@li.org>\n"
12753 "MIME-Version: 1.0\n"
12754 "Content-Transfer-Encoding: 8bit\n"
12757 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12758 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761 test $ac_status = 0; }; then
12762 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12763 $as_echo "yes" >&6; }
12764 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12766 echo "$as_me: failed input was:" >&5
12767 sed 's/^/| /' conftest.foo >&5
12770 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12771 set dummy gmsgfmt; ac_word=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12773 $as_echo_n "checking for $ac_word... " >&6; }
12774 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12775 $as_echo_n "(cached) " >&6
12779 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12801 GMSGFMT=$ac_cv_path_GMSGFMT
12802 if test -n "$GMSGFMT"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12804 $as_echo "$GMSGFMT" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12811 # Extract the first word of "xgettext", so it can be a program name with args.
12812 set dummy xgettext; ac_word=$2
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12814 $as_echo_n "checking for $ac_word... " >&6; }
12815 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12816 $as_echo_n "(cached) " >&6
12818 case "$XGETTEXT" in
12820 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12824 for ac_dir in $PATH; do
12825 test -z "$ac_dir" && ac_dir=.
12826 if test -f $ac_dir/$ac_word; then
12827 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12828 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12834 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12838 XGETTEXT="$ac_cv_path_XGETTEXT"
12839 if test "$XGETTEXT" != ":"; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12841 $as_echo "$XGETTEXT" >&6; }
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12853 extern int _nl_msg_cat_cntr;
12854 return _nl_msg_cat_cntr
12859 if ac_fn_c_try_link "$LINENO"; then :
12865 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12866 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS="$glib_save_LIBS"
12886 gt_cv_have_gettext=no
12894 if test "$gt_cv_have_gettext" = "yes" ; then
12896 $as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
12900 if test "$XGETTEXT" != ":"; then
12901 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12905 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12910 # We need to process the po/ directory.
12913 ac_config_commands="$ac_config_commands default-1"
12916 for lang in $ALL_LINGUAS; do
12917 GMOFILES="$GMOFILES $lang.gmo"
12918 POFILES="$POFILES $lang.po"
12933 if test "$gt_cv_have_gettext" = "yes"; then
12934 if test "x$ALL_LINGUAS" = "x"; then
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12938 $as_echo_n "checking for catalogs to be installed... " >&6; }
12940 for presentlang in $ALL_LINGUAS; do
12942 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12943 desiredlanguages="$LINGUAS"
12945 desiredlanguages="$ALL_LINGUAS"
12947 for desiredlang in $desiredlanguages; do
12948 # Use the presentlang catalog if desiredlang is
12949 # a. equal to presentlang, or
12950 # b. a variant of presentlang (because in this case,
12951 # presentlang can be used as a fallback for messages
12952 # which are not translated in the desiredlang catalog).
12953 case "$desiredlang" in
12954 "$presentlang"*) useit=yes;;
12957 if test $useit = yes; then
12958 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12961 LINGUAS=$NEW_LINGUAS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12963 $as_echo "$LINGUAS" >&6; }
12966 if test -n "$LINGUAS"; then
12967 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12972 if test -n "$ac_aux_dir"; then
12973 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12975 if test -z "$MKINSTALLDIRS"; then
12976 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12980 test -d po || mkdir po
12981 if test "x$srcdir" != "x."; then
12982 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12983 posrcprefix="$srcdir/"
12985 posrcprefix="../$srcdir/"
12991 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12992 < $srcdir/po/POTFILES.in > po/POTFILES
12995 GWGET_CFLAGS="$DBUS_CFLAGS"
12996 GWGET_LIBS="$DBUS_LIBS -lz"
13004 if test "x${prefix}" = "xNONE"; then
13006 cat >>confdefs.h <<_ACEOF
13007 @%:@define GNOME_ICONDIR "${ac_default_prefix}/share/pixmaps"
13012 cat >>confdefs.h <<_ACEOF
13013 @%:@define GNOME_ICONDIR "${prefix}/share/pixmaps"
13018 if test "x${prefix}" = "xNONE"; then
13020 cat >>confdefs.h <<_ACEOF
13021 @%:@define PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13024 pixmapsdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13027 cat >>confdefs.h <<_ACEOF
13028 @%:@define PIXMAPS_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13031 pixmapsdir="${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13036 @%:@ Check whether --enable-epiphany-extension was given.
13037 if test "${enable_epiphany_extension+set}" = set; then :
13038 enableval=$enable_epiphany_extension; enable_epiphany_extension=$enableval
13040 enable_epiphany_extension=yes
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which epiphany to use" >&5
13047 $as_echo_n "checking which epiphany to use... " >&6; }
13051 @%:@ Check whether --with-epiphany-version was given.
13052 if test "${with_epiphany_version+set}" = set; then :
13053 withval=$with_epiphany_version; EPHY_VER="$withval"
13057 EPHY_AUTODETECT="(autodetect)"
13058 if pkg-config --exists epiphany-2.28; then
13060 elif pkg-config --exists epiphany-2.27; then
13062 elif pkg-config --exists epiphany-2.26; then
13064 elif pkg-config --exists epiphany-2.25; then
13066 elif pkg-config --exists epiphany-2.24; then
13068 elif pkg-config --exists epiphany-2.23; then
13070 elif pkg-config --exists epiphany-2.22; then
13072 elif pkg-config --exists epiphany-2.21; then
13074 elif pkg-config --exists epiphany-2.20; then
13076 elif pkg-config --exists epiphany-2.19; then
13078 elif pkg-config --exists epiphany-2.18; then
13080 elif pkg-config --exists epiphany-2.17; then
13082 elif pkg-config --exists epiphany-2.16; then
13084 elif pkg-config --exists epiphany-2.15; then
13086 elif pkg-config --exists epiphany-2.14; then
13088 elif pkg-config --exists epiphany-1.10; then
13090 elif pkg-config --exists epiphany-1.8; then
13092 elif pkg-config --exists epiphany-1.6; then
13094 elif pkg-config --exists epiphany-1.4; then
13096 elif pkg-config --exists epiphany-1.2; then
13102 EPIPHANY_PKGCONFIG=
13105 if test "x$EPHY_VER" = "x1.2"; then
13106 EPIPHANY_PKGCONFIG=epiphany-1.2
13107 EPIPHANY_REQUIRED=1.2.0
13108 EPIPHANY_SHORTVER=12
13109 elif test "x$EPHY_VER" = "x1.4"; then
13110 EPIPHANY_PKGCONFIG=epiphany-1.4
13111 EPIPHANY_REQUIRED=1.4.0
13112 EPIPHANY_SHORTVER=14
13113 elif test "x$EPHY_VER" = "x1.6"; then
13114 EPIPHANY_PKGCONFIG=epiphany-1.6
13115 EPIPHANY_REQUIRED=1.6.0
13116 EPIPHANY_SHORTVER=16
13117 elif test "x$EPHY_VER" = "x1.8"; then
13118 EPIPHANY_PKGCONFIG=epiphany-1.8
13119 EPIPHANY_REQUIRED=1.7.0
13120 EPIPHANY_SHORTVER=18
13121 elif test "x$EPHY_VER" = "x1.10"; then
13122 EPIPHANY_PKGCONFIG=epiphany-1.10
13123 EPIPHANY_REQUIRED=1.9.0
13124 EPIPHANY_SHORTVER=110
13125 elif test "x$EPHY_VER" = "x2.14"; then
13126 EPIPHANY_PKGCONFIG=epiphany-2.14
13127 EPIPHANY_REQUIRED=2.14
13128 EPIPHANY_SHORTVER=214
13129 elif test "x$EPHY_VER" = "x2.15"; then
13130 EPIPHANY_PKGCONFIG=epiphany-2.15
13131 EPIPHANY_REQUIRED=2.15
13132 EPIPHANY_SHORTVER=215
13133 elif test "x$EPHY_VER" = "x2.16"; then
13134 EPIPHANY_PKGCONFIG=epiphany-2.16
13135 EPIPHANY_REQUIRED=2.16
13136 EPIPHANY_SHORTVER=216
13137 elif test "x$EPHY_VER" = "x2.17"; then
13138 EPIPHANY_PKGCONFIG=epiphany-2.17
13139 EPIPHANY_REQUIRED=2.17
13140 EPIPHANY_SHORTVER=217
13141 elif test "x$EPHY_VER" = "x2.18"; then
13142 EPIPHANY_PKGCONFIG=epiphany-2.18
13143 EPIPHANY_REQUIRED=2.18
13144 EPIPHANY_SHORTVER=218
13145 elif test "x$EPHY_VER" = "x2.19"; then
13146 EPIPHANY_PKGCONFIG=epiphany-2.19
13147 EPIPHANY_REQUIRED=2.19
13148 EPIPHANY_SHORTVER=219
13149 elif test "x$EPHY_VER" = "x2.20"; then
13150 EPIPHANY_PKGCONFIG=epiphany-2.20
13151 EPIPHANY_REQUIRED=2.20
13152 EPIPHANY_SHORTVER=220
13153 elif test "x$EPHY_VER" = "x2.21"; then
13154 EPIPHANY_PKGCONFIG=epiphany-2.21
13155 EPIPHANY_REQUIRED=2.21
13156 EPIPHANY_SHORTVER=221
13157 elif test "x$EPHY_VER" = "x2.22"; then
13158 EPIPHANY_PKGCONFIG=epiphany-2.22
13159 EPIPHANY_REQUIRED=2.22
13160 EPIPHANY_SHORTVER=222
13161 elif test "x$EPHY_VER" = "x2.23"; then
13162 EPIPHANY_PKGCONFIG=epiphany-2.23
13163 EPIPHANY_REQUIRED=2.23
13164 EPIPHANY_SHORTVER=223
13165 elif test "x$EPHY_VER" = "x2.24"; then
13166 EPIPHANY_PKGCONFIG=epiphany-2.24
13167 EPIPHANY_REQUIRED=2.24
13168 EPIPHANY_SHORTVER=224
13169 elif test "x$EPHY_VER" = "x2.25"; then
13170 EPIPHANY_PKGCONFIG=epiphany-2.25
13171 EPIPHANY_REQUIRED=2.25
13172 EPIPHANY_SHORTVER=225
13173 elif test "x$EPHY_VER" = "x2.26"; then
13174 EPIPHANY_PKGCONFIG=epiphany-2.26
13175 EPIPHANY_REQUIRED=2.26
13176 EPIPHANY_SHORTVER=226
13177 elif test "x$EPHY_VER" = "x2.27"; then
13178 EPIPHANY_PKGCONFIG=epiphany-2.27
13179 EPIPHANY_REQUIRED=2.27
13180 EPIPHANY_SHORTVER=227
13181 elif test "x$EPHY_VER" = "x2.28"; then
13182 EPIPHANY_PKGCONFIG=epiphany-2.28
13183 EPIPHANY_REQUIRED=2.28
13184 EPIPHANY_SHORTVER=228
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no epiphany installed" >&5
13187 $as_echo "no epiphany installed" >&6; }
13190 if test -n "$EPIPHANY_SHORTVER" ; then
13192 cat >>confdefs.h <<_ACEOF
13193 @%:@define EPHY_VERSION $EPIPHANY_SHORTVER
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPHY_VER $EPHY_AUTODETECT" >&5
13197 $as_echo "$EPHY_VER $EPHY_AUTODETECT" >&6; }
13199 LIBGLIB_REQUIRED=2.4.0
13200 LIBGTK_REQUIRED=2.4.0
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPIPHANY_DEPENDENCY" >&5
13209 $as_echo_n "checking for EPIPHANY_DEPENDENCY... " >&6; }
13211 if test -n "$PKG_CONFIG"; then
13212 if test -n "$EPIPHANY_DEPENDENCY_CFLAGS"; then
13213 pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS="$EPIPHANY_DEPENDENCY_CFLAGS"
13215 if test -n "$PKG_CONFIG" && \
13216 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13217 glib-2.0 >= \$LIBGLIB_REQUIRED \\
13219 gtk+-2.0 >= \$LIBGTK_REQUIRED \\
13220 \$EPIPHANY_PKGCONFIG >= \$EPIPHANY_REQUIRED \\
13222 ($PKG_CONFIG --exists --print-errors "\
13223 glib-2.0 >= $LIBGLIB_REQUIRED \
13225 gtk+-2.0 >= $LIBGTK_REQUIRED \
13226 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13230 test $ac_status = 0; }; then
13231 pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "\
13232 glib-2.0 >= $LIBGLIB_REQUIRED \
13234 gtk+-2.0 >= $LIBGTK_REQUIRED \
13235 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13244 if test -n "$PKG_CONFIG"; then
13245 if test -n "$EPIPHANY_DEPENDENCY_LIBS"; then
13246 pkg_cv_EPIPHANY_DEPENDENCY_LIBS="$EPIPHANY_DEPENDENCY_LIBS"
13248 if test -n "$PKG_CONFIG" && \
13249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13250 glib-2.0 >= \$LIBGLIB_REQUIRED \\
13252 gtk+-2.0 >= \$LIBGTK_REQUIRED \\
13253 \$EPIPHANY_PKGCONFIG >= \$EPIPHANY_REQUIRED \\
13255 ($PKG_CONFIG --exists --print-errors "\
13256 glib-2.0 >= $LIBGLIB_REQUIRED \
13258 gtk+-2.0 >= $LIBGTK_REQUIRED \
13259 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263 test $ac_status = 0; }; then
13264 pkg_cv_EPIPHANY_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "\
13265 glib-2.0 >= $LIBGLIB_REQUIRED \
13267 gtk+-2.0 >= $LIBGTK_REQUIRED \
13268 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13280 if test $pkg_failed = yes; then
13282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13283 _pkg_short_errors_supported=yes
13285 _pkg_short_errors_supported=no
13287 if test $_pkg_short_errors_supported = yes; then
13288 EPIPHANY_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
13289 glib-2.0 >= $LIBGLIB_REQUIRED \
13291 gtk+-2.0 >= $LIBGTK_REQUIRED \
13292 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13295 EPIPHANY_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13296 glib-2.0 >= $LIBGLIB_REQUIRED \
13298 gtk+-2.0 >= $LIBGTK_REQUIRED \
13299 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13302 # Put the nasty error message in config.log where it belongs
13303 echo "$EPIPHANY_DEPENDENCY_PKG_ERRORS" >&5
13305 as_fn_error "Package requirements (\
13306 glib-2.0 >= $LIBGLIB_REQUIRED \
13308 gtk+-2.0 >= $LIBGTK_REQUIRED \
13309 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13312 $EPIPHANY_DEPENDENCY_PKG_ERRORS
13314 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13315 installed software in a non-standard prefix.
13317 Alternatively, you may set the environment variables EPIPHANY_DEPENDENCY_CFLAGS
13318 and EPIPHANY_DEPENDENCY_LIBS to avoid the need to call pkg-config.
13319 See the pkg-config man page for more details.
13321 elif test $pkg_failed = untried; then
13322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13324 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13325 is in your PATH or set the PKG_CONFIG environment variable to the full
13326 path to pkg-config.
13328 Alternatively, you may set the environment variables EPIPHANY_DEPENDENCY_CFLAGS
13329 and EPIPHANY_DEPENDENCY_LIBS to avoid the need to call pkg-config.
13330 See the pkg-config man page for more details.
13332 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13333 See \`config.log' for more details." "$LINENO" 5; }
13335 EPIPHANY_DEPENDENCY_CFLAGS=$pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS
13336 EPIPHANY_DEPENDENCY_LIBS=$pkg_cv_EPIPHANY_DEPENDENCY_LIBS
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13338 $as_echo "yes" >&6; }
13344 if test "x$EPHY_VER" = "x1.2"; then
13345 EPIPHANY_EXTENSIONS_DIR="`$PKG_CONFIG --variable=libdir epiphany-1.2`/epiphany/extensions"
13347 EPIPHANY_EXTENSIONS_DIR="`$PKG_CONFIG --variable=extensionsdir epiphany-$EPHY_VER`"
13352 enable_epiphany_extension=no
13354 if test "x$enable_epiphany_extension" = "xyes"; then
13355 ENABLE_EPIPHANY_EXTENSION_TRUE=
13356 ENABLE_EPIPHANY_EXTENSION_FALSE='#'
13358 ENABLE_EPIPHANY_EXTENSION_TRUE='#'
13359 ENABLE_EPIPHANY_EXTENSION_FALSE=
13365 # Check for libnotify
13367 LIBNOTIFY_REQUIRED=0.2.2
13368 @%:@ Check whether --enable-libnotify was given.
13369 if test "${enable_libnotify+set}" = set; then :
13370 enableval=$enable_libnotify;
13372 enable_libnotify=auto
13375 if test "x$enable_libnotify" != "xno"; then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
13379 $as_echo_n "checking for NOTIFY... " >&6; }
13381 if test -n "$PKG_CONFIG"; then
13382 if test -n "$NOTIFY_CFLAGS"; then
13383 pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
13385 if test -n "$PKG_CONFIG" && \
13386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13387 libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13388 ($PKG_CONFIG --exists --print-errors "\
13389 libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13392 test $ac_status = 0; }; then
13393 pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "\
13394 libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13402 if test -n "$PKG_CONFIG"; then
13403 if test -n "$NOTIFY_LIBS"; then
13404 pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
13406 if test -n "$PKG_CONFIG" && \
13407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13408 libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13409 ($PKG_CONFIG --exists --print-errors "\
13410 libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13413 test $ac_status = 0; }; then
13414 pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "\
13415 libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13426 if test $pkg_failed = yes; then
13428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13429 _pkg_short_errors_supported=yes
13431 _pkg_short_errors_supported=no
13433 if test $_pkg_short_errors_supported = yes; then
13434 NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
13435 libnotify >= $LIBNOTIFY_REQUIRED"`
13437 NOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13438 libnotify >= $LIBNOTIFY_REQUIRED"`
13440 # Put the nasty error message in config.log where it belongs
13441 echo "$NOTIFY_PKG_ERRORS" >&5
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13444 $as_echo "no" >&6; }
13446 elif test $pkg_failed = untried; then
13449 NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
13450 NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13452 $as_echo "yes" >&6; }
13455 if test "x$have_libnotify" = "xno" -a "x$enable_libnotify" = "xyes"; then
13456 as_fn_error "libnotify support explicitly requested, but libnotify couldn't be found" "$LINENO" 5
13458 if test "x$have_libnotify" = "xyes"; then
13459 enable_libnotify=yes
13462 if test x"$enable_libnotify" = xyes; then
13464 USE_NOTIFY_FALSE='#'
13466 USE_NOTIFY_TRUE='#'
13470 if test x$enable_libnotify = xyes ; then
13471 # Find out the version of LIBNOTIFY we're using
13472 libnotify_version=`pkg-config --modversion libnotify`
13473 LIBNOTIFY_VERSION_MAJOR=`echo $libnotify_version | awk -F. '{print $1}'`
13474 LIBNOTIFY_VERSION_MINOR=`echo $libnotify_version | awk -F. '{print $2}'`
13475 LIBNOTIFY_VERSION_MICRO=`echo $libnotify_version | awk -F. '{print $3}'`
13476 if test "z$LIBNOTIFY_VERSION_MAJOR" = "z"; then
13477 LIBNOTIFY_VERSION_MAJOR="0"
13479 if test "z$LIBNOTIFY_VERSION_MINOR" = "z"; then
13480 LIBNOTIFY_VERSION_MINOR="0"
13482 if test "z$LIBNOTIFY_VERSION_MICRO" = "z"; then
13483 LIBNOTIFY_VERSION_MICRO="0"
13485 echo "Your libnotify version is $LIBNOTIFY_VERSION_MAJOR,$LIBNOTIFY_VERSION_MINOR,$LIBNOTIFY_VERSION_MICRO."
13486 NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MAJOR=$LIBNOTIFY_VERSION_MAJOR"
13487 NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MINOR=$LIBNOTIFY_VERSION_MINOR"
13488 NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MICRO=$LIBNOTIFY_VERSION_MICRO"
13491 $as_echo "@%:@define HAVE_NOTIFY 1" >>confdefs.h
13499 if test "x$enable_dbus" = "xyes"; then
13501 ENABLE_DBUS_FALSE='#'
13503 ENABLE_DBUS_TRUE='#'
13507 if test "x$DBUS_VERSION" = "x33"; then
13508 DBUS_TOOL_NO_PREFIX_TRUE=
13509 DBUS_TOOL_NO_PREFIX_FALSE='#'
13511 DBUS_TOOL_NO_PREFIX_TRUE='#'
13512 DBUS_TOOL_NO_PREFIX_FALSE=
13517 @%:@ Check whether --with-extension-prefix was given.
13518 if test "${with_extension_prefix+set}" = set; then :
13519 withval=$with_extension_prefix; extension_prefix=$withval
13525 EXTENSION_PREFIX="$extension_prefix"
13528 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13529 set dummy glib-genmarshal; ac_word=$2
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13531 $as_echo_n "checking for $ac_word... " >&6; }
13532 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
13533 $as_echo_n "(cached) " >&6
13535 case $GLIB_GENMARSHAL in
13537 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13541 for as_dir in $PATH
13544 test -z "$as_dir" && as_dir=.
13545 for ac_exec_ext in '' $ac_executable_extensions; do
13546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13547 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13558 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13559 if test -n "$GLIB_GENMARSHAL"; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13561 $as_echo "$GLIB_GENMARSHAL" >&6; }
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
13569 ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
13572 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile pixmaps/Makefile data/Makefile epiphany-extension/Makefile"
13574 cat >confcache <<\_ACEOF
13575 # This file is a shell script that caches the results of configure
13576 # tests run on this system so they can be shared between configure
13577 # scripts and configure runs, see configure's option --config-cache.
13578 # It is not useful on other systems. If it contains results you don't
13579 # want to keep, you may remove or edit it.
13581 # config.status only pays attention to the cache file if you give it
13582 # the --recheck option to rerun configure.
13584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13586 # following values.
13590 # The following way of writing the cache mishandles newlines in values,
13591 # but we know of no workaround that is simple, portable, and efficient.
13592 # So, we kill variables containing newlines.
13593 # Ultrix sh set writes to stderr and can't be redirected directly,
13594 # and sets the high bit in the cache file unless we assign to the vars.
13596 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13597 eval ac_val=\$$ac_var
13601 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13605 _ | IFS | as_nl) ;; #(
13606 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13607 *) { eval $ac_var=; unset $ac_var;} ;;
13613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13614 *${as_nl}ac_space=\ *)
13615 # `set' does not quote correctly, so add quotes: double-quote
13616 # substitution turns \\\\ into \\, and sed turns \\ into \.
13619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13622 # `set' quotes correctly as required by POSIX, so do not add quotes.
13623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13637 if test -w "$cache_file"; then
13638 test "x$cache_file" != "x/dev/null" &&
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13640 $as_echo "$as_me: updating cache $cache_file" >&6;}
13641 cat confcache >$cache_file
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13644 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13649 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13650 # Let make expand exec_prefix.
13651 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13653 DEFS=-DHAVE_CONFIG_H
13657 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13658 # 1. Remove the extension, and $U if already installed.
13659 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13660 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13661 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13662 # will be set to the directory where LIBOBJS objects are built.
13663 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13664 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13666 LIB@&t@OBJS=$ac_libobjs
13668 LTLIBOBJS=$ac_ltlibobjs
13671 if test -n "$EXEEXT"; then
13673 am__EXEEXT_FALSE='#'
13675 am__EXEEXT_TRUE='#'
13679 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13680 as_fn_error "conditional \"AMDEP\" was never defined.
13681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13683 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13684 as_fn_error "conditional \"am__fastdepCC\" was never defined.
13685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13688 ac_config_commands="$ac_config_commands po/stamp-it"
13691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13692 as_fn_error "conditional \"am__fastdepCC\" was never defined.
13693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13695 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
13696 as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
13697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13699 if test -z "${ENABLE_EPIPHANY_EXTENSION_TRUE}" && test -z "${ENABLE_EPIPHANY_EXTENSION_FALSE}"; then
13700 as_fn_error "conditional \"ENABLE_EPIPHANY_EXTENSION\" was never defined.
13701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13703 if test -z "${USE_NOTIFY_TRUE}" && test -z "${USE_NOTIFY_FALSE}"; then
13704 as_fn_error "conditional \"USE_NOTIFY\" was never defined.
13705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13707 if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
13708 as_fn_error "conditional \"ENABLE_DBUS\" was never defined.
13709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13711 if test -z "${DBUS_TOOL_NO_PREFIX_TRUE}" && test -z "${DBUS_TOOL_NO_PREFIX_FALSE}"; then
13712 as_fn_error "conditional \"DBUS_TOOL_NO_PREFIX\" was never defined.
13713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13716 : ${CONFIG_STATUS=./config.status}
13718 ac_clean_files_save=$ac_clean_files
13719 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13721 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13723 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13725 # Generated by $as_me.
13726 # Run this file to recreate the current configuration.
13727 # Compiler output produced by configure, useful for debugging
13728 # configure, is in config.log if it exists.
13731 ac_cs_recheck=false
13734 SHELL=\${CONFIG_SHELL-$SHELL}
13737 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13738 ## -------------------- ##
13739 ## M4sh Initialization. ##
13740 ## -------------------- ##
13742 # Be more Bourne compatible
13743 DUALCASE=1; export DUALCASE # for MKS sh
13744 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13747 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13748 # is contrary to our usage. Disable this feature.
13749 alias -g '${1+"$@"}'='"$@"'
13750 setopt NO_GLOB_SUBST
13752 case `(set -o) 2>/dev/null` in @%:@(
13754 set -o posix ;; @%:@(
13764 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13765 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13768 # Prefer a ksh shell builtin over an external printf program on Solaris,
13769 # but without wasting forks for bash or zsh.
13770 if test -z "$BASH_VERSION$ZSH_VERSION" \
13771 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13772 as_echo='print -r --'
13773 as_echo_n='print -rn --'
13774 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13775 as_echo='printf %s\n'
13776 as_echo_n='printf %s'
13778 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13779 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13780 as_echo_n='/usr/ucb/echo -n'
13782 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13783 as_echo_n_body='eval
13787 expr "X$arg" : "X\\(.*\\)$as_nl";
13788 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13790 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13792 export as_echo_n_body
13793 as_echo_n='sh -c $as_echo_n_body as_echo'
13795 export as_echo_body
13796 as_echo='sh -c $as_echo_body as_echo'
13799 # The user is always right.
13800 if test "${PATH_SEPARATOR+set}" != set; then
13802 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13803 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13810 # We need space, tab and new line, in precisely that order. Quoting is
13811 # there to prevent editors from complaining about space-tab.
13812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13813 # splitting by setting IFS to empty value.)
13816 # Find who we are. Look in the path if we contain no directory separator.
13818 *[\\/]* ) as_myself=$0 ;;
13819 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13820 for as_dir in $PATH
13823 test -z "$as_dir" && as_dir=.
13824 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13830 # We did not find ourselves, most probably we were run as `sh COMMAND'
13831 # in which case we are not to be found in the path.
13832 if test "x$as_myself" = x; then
13835 if test ! -f "$as_myself"; then
13836 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13840 # Unset variables that we do not need and which cause bugs (e.g. in
13841 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13842 # suppresses any "Segmentation fault" message there. '((' could
13843 # trigger a bug in pdksh 5.2.14.
13844 for as_var in BASH_ENV ENV MAIL MAILPATH
13845 do eval test x\${$as_var+set} = xset \
13846 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13862 @%:@ as_fn_error ERROR [LINENO LOG_FD]
13863 @%:@ ---------------------------------
13864 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13865 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13866 @%:@ script with status @S|@?, using 1 if that was 0.
13869 as_status=$?; test $as_status -eq 0 && as_status=1
13871 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13872 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13874 $as_echo "$as_me: error: $1" >&2
13875 as_fn_exit $as_status
13879 @%:@ as_fn_set_status STATUS
13880 @%:@ -----------------------
13881 @%:@ Set @S|@? to STATUS, without forking.
13882 as_fn_set_status ()
13885 } @%:@ as_fn_set_status
13887 @%:@ as_fn_exit STATUS
13888 @%:@ -----------------
13889 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13893 as_fn_set_status $1
13897 @%:@ as_fn_unset VAR
13898 @%:@ ---------------
13899 @%:@ Portably unset VAR.
13902 { eval $1=; unset $1;}
13904 as_unset=as_fn_unset
13905 @%:@ as_fn_append VAR VALUE
13906 @%:@ ----------------------
13907 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13908 @%:@ advantage of any shell optimizations that allow amortized linear growth over
13909 @%:@ repeated appends, instead of the typical quadratic growth present in naive
13910 @%:@ implementations.
13911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13912 eval 'as_fn_append ()
13923 @%:@ as_fn_arith ARG...
13924 @%:@ ------------------
13925 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13926 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13927 @%:@ must be portable across @S|@(()) and expr.
13928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13929 eval 'as_fn_arith ()
13936 as_val=`expr "$@" || test $? -eq 1`
13941 if expr a : '\(a\)' >/dev/null 2>&1 &&
13942 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13949 as_basename=basename
13954 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13960 as_me=`$as_basename -- "$0" ||
13961 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13962 X"$0" : 'X\(//\)$' \| \
13963 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13965 sed '/^.*\/\([^/][^/]*\)\/*$/{
13979 # Avoid depending upon Character Ranges.
13980 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13981 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13982 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13983 as_cr_digits='0123456789'
13984 as_cr_alnum=$as_cr_Letters$as_cr_digits
13986 ECHO_C= ECHO_N= ECHO_T=
13987 case `echo -n x` in @%:@(((((
13989 case `echo 'xy\c'` in
13990 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13992 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13999 rm -f conf$$ conf$$.exe conf$$.file
14000 if test -d conf$$.dir; then
14001 rm -f conf$$.dir/conf$$.file
14004 mkdir conf$$.dir 2>/dev/null
14006 if (echo >conf$$.file) 2>/dev/null; then
14007 if ln -s conf$$.file conf$$ 2>/dev/null; then
14009 # ... but there are two gotchas:
14010 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14011 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14012 # In both cases, we have to default to `cp -p'.
14013 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14015 elif ln conf$$.file conf$$ 2>/dev/null; then
14023 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14024 rmdir conf$$.dir 2>/dev/null
14029 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
14034 -*) as_dir=./$as_dir;;
14036 test -d "$as_dir" || eval $as_mkdir_p || {
14040 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14041 *) as_qdir=$as_dir;;
14043 as_dirs="'$as_qdir' $as_dirs"
14044 as_dir=`$as_dirname -- "$as_dir" ||
14045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14046 X"$as_dir" : 'X\(//\)[^/]' \| \
14047 X"$as_dir" : 'X\(//\)$' \| \
14048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14049 $as_echo X"$as_dir" |
14050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14054 /^X\(\/\/\)[^/].*/{
14067 test -d "$as_dir" && break
14069 test -z "$as_dirs" || eval "mkdir $as_dirs"
14070 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14073 } @%:@ as_fn_mkdir_p
14074 if mkdir -p . 2>/dev/null; then
14075 as_mkdir_p='mkdir -p "$as_dir"'
14077 test -d ./-p && rmdir ./-p
14081 if test -x / >/dev/null 2>&1; then
14082 as_test_x='test -x'
14084 if ls -dL / >/dev/null 2>&1; then
14091 if test -d "$1"; then
14097 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
14098 ???[sx]*):;;*)false;;esac;fi
14102 as_executable_p=$as_test_x
14104 # Sed expression to map a string onto a valid CPP name.
14105 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14107 # Sed expression to map a string onto a valid variable name.
14108 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14112 ## ----------------------------------- ##
14113 ## Main body of $CONFIG_STATUS script. ##
14114 ## ----------------------------------- ##
14116 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14119 # Save the log message, to keep $0 and so on meaningful, and to
14120 # report actual input values of CONFIG_FILES etc. instead of their
14121 # values after options handling.
14123 This file was extended by $as_me, which was
14124 generated by GNU Autoconf 2.65. Invocation command line was
14126 CONFIG_FILES = $CONFIG_FILES
14127 CONFIG_HEADERS = $CONFIG_HEADERS
14128 CONFIG_LINKS = $CONFIG_LINKS
14129 CONFIG_COMMANDS = $CONFIG_COMMANDS
14132 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14137 case $ac_config_files in *"
14138 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14141 case $ac_config_headers in *"
14142 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14147 # Files that config.status was made for.
14148 config_files="$ac_config_files"
14149 config_headers="$ac_config_headers"
14150 config_commands="$ac_config_commands"
14154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14156 \`$as_me' instantiates files and other configuration actions
14157 from templates according to the current configuration. Unless the files
14158 and actions are specified as TAGs, all are instantiated by default.
14160 Usage: $0 [OPTION]... [TAG]...
14162 -h, --help print this help, then exit
14163 -V, --version print version number and configuration settings, then exit
14164 --config print configuration, then exit
14165 -q, --quiet, --silent
14166 do not print progress messages
14167 -d, --debug don't remove temporary files
14168 --recheck update $as_me by reconfiguring in the same conditions
14169 --file=FILE[:TEMPLATE]
14170 instantiate the configuration file FILE
14171 --header=FILE[:TEMPLATE]
14172 instantiate the configuration header FILE
14174 Configuration files:
14177 Configuration headers:
14180 Configuration commands:
14183 Report bugs to the package provider."
14186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14187 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14190 configured by $0, generated by GNU Autoconf 2.65,
14191 with options \\"\$ac_cs_config\\"
14193 Copyright (C) 2009 Free Software Foundation, Inc.
14194 This config.status script is free software; the Free Software Foundation
14195 gives unlimited permission to copy, distribute and modify it."
14202 test -n "\$AWK" || AWK=awk
14205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14206 # The default lists apply if the user does not specify any file.
14212 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14213 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14224 # Handling of the options.
14225 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14227 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14228 $as_echo "$ac_cs_version"; exit ;;
14229 --config | --confi | --conf | --con | --co | --c )
14230 $as_echo "$ac_cs_config"; exit ;;
14231 --debug | --debu | --deb | --de | --d | -d )
14233 --file | --fil | --fi | --f )
14236 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14238 as_fn_append CONFIG_FILES " '$ac_optarg'"
14239 ac_need_defaults=false;;
14240 --header | --heade | --head | --hea )
14243 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14245 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14246 ac_need_defaults=false;;
14248 # Conflict between --help and --header
14249 as_fn_error "ambiguous option: \`$1'
14250 Try \`$0 --help' for more information.";;
14251 --help | --hel | -h )
14252 $as_echo "$ac_cs_usage"; exit ;;
14253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14254 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14257 # This is an error.
14258 -*) as_fn_error "unrecognized option: \`$1'
14259 Try \`$0 --help' for more information." ;;
14261 *) as_fn_append ac_config_targets " $1"
14262 ac_need_defaults=false ;;
14268 ac_configure_extra_args=
14270 if $ac_cs_silent; then
14272 ac_configure_extra_args="$ac_configure_extra_args --silent"
14276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14277 if \$ac_cs_recheck; then
14278 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14280 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14281 CONFIG_SHELL='$SHELL'
14282 export CONFIG_SHELL
14287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14291 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
14292 @%:@@%:@ Running $as_me. @%:@@%:@
14298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14302 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14305 # The HP-UX ksh and POSIX shell print the target directory to stdout
14306 # if CDPATH is set.
14307 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14309 sed_quote_subst='$sed_quote_subst'
14310 double_quote_subst='$double_quote_subst'
14311 delay_variable_subst='$delay_variable_subst'
14312 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14313 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14314 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14315 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14316 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14317 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14318 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14319 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14320 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14321 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14322 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14323 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14324 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14325 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14326 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14327 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14328 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14329 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14330 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14331 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14332 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14333 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14334 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14335 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14336 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14337 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14338 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14339 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14340 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14341 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14342 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14343 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14344 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14345 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14346 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14347 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14348 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14349 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14350 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14351 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14352 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14353 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14354 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14355 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14356 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14357 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14358 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14359 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14360 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14361 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14362 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14363 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14364 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14365 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14366 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14367 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14368 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14369 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14370 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14371 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14372 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14373 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14374 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14375 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14376 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14377 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14378 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14379 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14380 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14381 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14382 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14383 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14384 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14385 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14386 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14387 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14388 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14389 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14390 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14391 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14392 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14393 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14394 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14395 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14396 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14397 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14398 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14399 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14400 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14401 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14402 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14403 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14404 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14405 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14406 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14407 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14408 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14409 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14410 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14411 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14412 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14413 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14414 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14415 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14416 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14417 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14418 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14419 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14420 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14421 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14422 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14423 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14424 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14425 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14426 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14427 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14428 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14429 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14432 LTCFLAGS='$LTCFLAGS'
14433 compiler='$compiler_DEFAULT'
14435 # Quote evaled strings.
14447 deplibs_check_method \
14456 lt_cv_sys_global_symbol_pipe \
14457 lt_cv_sys_global_symbol_to_cdecl \
14458 lt_cv_sys_global_symbol_to_c_name_address \
14459 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14462 lt_prog_compiler_no_builtin_flag \
14463 lt_prog_compiler_wl \
14464 lt_prog_compiler_pic \
14465 lt_prog_compiler_static \
14466 lt_cv_prog_compiler_c_o \
14474 export_dynamic_flag_spec \
14475 whole_archive_flag_spec \
14476 compiler_needs_object \
14478 allow_undefined_flag \
14479 no_undefined_flag \
14480 hardcode_libdir_flag_spec \
14481 hardcode_libdir_flag_spec_ld \
14482 hardcode_libdir_separator \
14487 variables_saved_for_relink \
14489 library_names_spec \
14494 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14495 *[\\\\\\\`\\"\\\$]*)
14496 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14499 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14504 # Double-quote double-evaled strings.
14505 for var in reload_cmds \
14506 old_postinstall_cmds \
14507 old_postuninstall_cmds \
14509 extract_expsyms_cmds \
14510 old_archive_from_new_cmds \
14511 old_archive_from_expsyms_cmds \
14513 archive_expsym_cmds \
14515 module_expsym_cmds \
14516 export_symbols_cmds \
14519 postuninstall_cmds \
14521 sys_lib_search_path_spec \
14522 sys_lib_dlsearch_path_spec; do
14523 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14524 *[\\\\\\\`\\"\\\$]*)
14525 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14528 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14533 # Fix-up fallback echo if it was mangled by the above quoting rules.
14535 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14539 ac_aux_dir='$ac_aux_dir'
14540 xsi_shell='$xsi_shell'
14541 lt_shell_append='$lt_shell_append'
14543 # See if we are running on zsh, and set the options which allow our
14544 # commands through without removal of \ escapes INIT.
14545 if test -n "\${ZSH_VERSION+set}" ; then
14546 setopt NO_GLOB_SUBST
14552 TIMESTAMP='$TIMESTAMP'
14562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14564 # Handling of arguments.
14565 for ac_config_target in $ac_config_targets
14567 case $ac_config_target in
14568 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14569 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14570 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14571 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14572 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14573 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14574 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14575 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
14576 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14577 "epiphany-extension/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany-extension/Makefile" ;;
14578 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14580 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14585 # If the user did not use the arguments to specify the items to instantiate,
14586 # then the envvar interface is used. Set only those that are not.
14587 # We use the long form for the default assignment because of an extremely
14588 # bizarre bug on SunOS 4.1.3.
14589 if $ac_need_defaults; then
14590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14592 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14595 # Have a temporary directory for convenience. Make it in the build tree
14596 # simply because there is no reason against having it here, and in addition,
14597 # creating and moving files from /tmp can sometimes cause problems.
14598 # Hook for its removal unless debugging.
14599 # Note that there is a small window in which the directory will not be cleaned:
14600 # after its creation but before its name has been assigned to `$tmp'.
14604 trap 'exit_status=$?
14605 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14607 trap 'as_fn_exit 1' 1 2 13 15
14609 # Create a (secure) tmp directory for tmp files.
14612 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14613 test -n "$tmp" && test -d "$tmp"
14616 tmp=./conf$$-$RANDOM
14617 (umask 077 && mkdir "$tmp")
14618 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14620 # Set up the scripts for CONFIG_FILES section.
14621 # No need to generate them if there are no CONFIG_FILES.
14622 # This happens for instance with `./config.status config.h'.
14623 if test -n "$CONFIG_FILES"; then
14626 ac_cr=`echo X | tr X '\015'`
14627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14628 # But we know of no other shell where ac_cr would be empty at this
14629 # point, so we can use a bashism as a fallback.
14630 if test "x$ac_cr" = x; then
14631 eval ac_cr=\$\'\\r\'
14633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14637 ac_cs_awk_cr=$ac_cr
14640 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14645 echo "cat >conf$$subs.awk <<_ACEOF" &&
14646 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14648 } >conf$$subs.sh ||
14649 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14652 for ac_last_try in false false false false false :; do
14653 . ./conf$$subs.sh ||
14654 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14656 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14657 if test $ac_delim_n = $ac_delim_num; then
14659 elif $ac_last_try; then
14660 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14665 rm -f conf$$subs.sh
14667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14668 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14672 s/^/S["/; s/!.*/"]=/
14682 s/\(.\{148\}\)..*/\1/
14684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14696 s/\(.\{148\}\)..*/\1/
14698 s/["\\]/\\&/g; s/^/"/; s/$/"/
14702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14707 ' <conf$$subs.awk | sed '
14712 ' >>$CONFIG_STATUS || ac_write_fail=1
14713 rm -f conf$$subs.awk
14714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14716 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14717 for (key in S) S_is_set[key] = 1
14723 nfields = split(line, field, "@")
14725 len = length(field[1])
14726 for (i = 2; i < nfields; i++) {
14728 keylen = length(key)
14729 if (S_is_set[key]) {
14731 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14732 len += length(value) + length(field[++i])
14743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14745 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14748 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14749 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14754 # trailing colons and then remove the whole line if VPATH becomes empty
14755 # (actually we leave an empty line to preserve line numbers).
14756 if test "x$srcdir" = x.; then
14757 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14758 s/:*\$(srcdir):*/:/
14759 s/:*\${srcdir}:*/:/
14761 s/^\([^=]*=[ ]*\):*/\1/
14767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14768 fi # test -n "$CONFIG_FILES"
14770 # Set up the scripts for CONFIG_HEADERS section.
14771 # No need to generate them if there are no CONFIG_HEADERS.
14772 # This happens for instance with `./config.status Makefile'.
14773 if test -n "$CONFIG_HEADERS"; then
14774 cat >"$tmp/defines.awk" <<\_ACAWK ||
14778 # Transform confdefs.h into an awk script `defines.awk', embedded as
14779 # here-document in config.status, that substitutes the proper values into
14780 # config.h.in to produce config.h.
14782 # Create a delimiter string that does not exist in confdefs.h, to ease
14783 # handling of long lines.
14785 for ac_last_try in false false :; do
14786 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14787 if test -z "$ac_t"; then
14789 elif $ac_last_try; then
14790 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14792 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14796 # For the awk script, D is an array of macro values keyed by name,
14797 # likewise P contains macro parameters if any. Preserve backslash
14798 # newline sequences.
14800 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14802 s/.\{148\}/&'"$ac_delim"'/g
14805 s/^[ ]*#[ ]*define[ ][ ]*/ /
14812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14814 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14818 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14819 D["\1"]=" \3\\\\\\n"\\/p
14821 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14826 s/.\{148\}/&'"$ac_delim"'/g
14831 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14834 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14836 ' <confdefs.h | sed '
14837 s/'"$ac_delim"'/"\\\
14838 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14841 for (key in D) D_is_set[key] = 1
14844 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14846 split(line, arg, " ")
14847 if (arg[1] == "#") {
14851 defundef = substr(arg[1], 2)
14854 split(mac1, mac2, "(") #)
14856 prefix = substr(line, 1, index(line, defundef) - 1)
14857 if (D_is_set[macro]) {
14858 # Preserve the white space surrounding the "#".
14859 print prefix "define", macro P[macro] D[macro]
14862 # Replace #undef with comments. This is necessary, for example,
14863 # in the case of _POSIX_SOURCE, which is predefined and required
14864 # on some systems where configure will not decide to define it.
14865 if (defundef == "undef") {
14866 print "/*", prefix defundef, macro, "*/"
14874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14875 as_fn_error "could not setup config headers machinery" "$LINENO" 5
14876 fi # test -n "$CONFIG_HEADERS"
14879 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14884 :[FHLC]) ac_mode=$ac_tag; continue;;
14886 case $ac_mode$ac_tag in
14888 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14889 :[FH]-) ac_tag=-:-;;
14890 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14907 -) ac_f="$tmp/stdin";;
14908 *) # Look for the file first in the build tree, then in the source tree
14909 # (if the path is not absolute). The absolute path cannot be DOS-style,
14910 # because $ac_f cannot contain `:'.
14914 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14916 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14918 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14919 as_fn_append ac_file_inputs " '$ac_f'"
14922 # Let's still pretend it is `configure' which instantiates (i.e., don't
14923 # use $as_me), people would be surprised to read:
14924 # /* config.h. Generated by config.status. */
14925 configure_input='Generated from '`
14926 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14928 if test x"$ac_file" != x-; then
14929 configure_input="$ac_file. $configure_input"
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14931 $as_echo "$as_me: creating $ac_file" >&6;}
14933 # Neutralize special characters interpreted by sed in replacement strings.
14934 case $configure_input in #(
14935 *\&* | *\|* | *\\* )
14936 ac_sed_conf_input=`$as_echo "$configure_input" |
14937 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14938 *) ac_sed_conf_input=$configure_input;;
14942 *:-:* | *:-) cat >"$tmp/stdin" \
14943 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14948 ac_dir=`$as_dirname -- "$ac_file" ||
14949 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14950 X"$ac_file" : 'X\(//\)[^/]' \| \
14951 X"$ac_file" : 'X\(//\)$' \| \
14952 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14953 $as_echo X"$ac_file" |
14954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14958 /^X\(\/\/\)[^/].*/{
14971 as_dir="$ac_dir"; as_fn_mkdir_p
14975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14977 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14978 # A ".." for each directory in $ac_dir_suffix.
14979 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14980 case $ac_top_builddir_sub in
14981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14985 ac_abs_top_builddir=$ac_pwd
14986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14987 # for backward compatibility:
14988 ac_top_builddir=$ac_top_build_prefix
14991 .) # We are building in place.
14993 ac_top_srcdir=$ac_top_builddir_sub
14994 ac_abs_top_srcdir=$ac_pwd ;;
14995 [\\/]* | ?:[\\/]* ) # Absolute name.
14996 ac_srcdir=$srcdir$ac_dir_suffix;
14997 ac_top_srcdir=$srcdir
14998 ac_abs_top_srcdir=$srcdir ;;
14999 *) # Relative name.
15000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15001 ac_top_srcdir=$ac_top_build_prefix$srcdir
15002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15014 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15015 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15017 ac_MKDIR_P=$MKDIR_P
15019 [\\/$]* | ?:[\\/]* ) ;;
15020 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15025 # If the template does not know about datarootdir, expand it.
15026 # FIXME: This hack should be removed a few years after 2.60.
15027 ac_datarootdir_hack=; ac_datarootdir_seen=
15038 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15039 *datarootdir*) ac_datarootdir_seen=yes;;
15040 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15042 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15045 ac_datarootdir_hack='
15046 s&@datadir@&$datadir&g
15047 s&@docdir@&$docdir&g
15048 s&@infodir@&$infodir&g
15049 s&@localedir@&$localedir&g
15050 s&@mandir@&$mandir&g
15051 s&\\\${datarootdir}&$datarootdir&g' ;;
15055 # Neutralize VPATH when `$srcdir' = `.'.
15056 # Shell code in configure.ac might set extrasub.
15057 # FIXME: do we really want to maintain this feature?
15058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15059 ac_sed_extra="$ac_vpsub
15062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15065 s|@configure_input@|$ac_sed_conf_input|;t t
15066 s&@top_builddir@&$ac_top_builddir_sub&;t t
15067 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15068 s&@srcdir@&$ac_srcdir&;t t
15069 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15070 s&@top_srcdir@&$ac_top_srcdir&;t t
15071 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15072 s&@builddir@&$ac_builddir&;t t
15073 s&@abs_builddir@&$ac_abs_builddir&;t t
15074 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15075 s&@INSTALL@&$ac_INSTALL&;t t
15076 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15077 $ac_datarootdir_hack
15079 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15080 || as_fn_error "could not create $ac_file" "$LINENO" 5
15082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15083 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15084 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15086 which seems to be undefined. Please make sure it is defined." >&5
15087 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15088 which seems to be undefined. Please make sure it is defined." >&2;}
15092 -) cat "$tmp/out" && rm -f "$tmp/out";;
15093 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15095 || as_fn_error "could not create $ac_file" "$LINENO" 5
15101 if test x"$ac_file" != x-; then
15103 $as_echo "/* $configure_input */" \
15104 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15105 } >"$tmp/config.h" \
15106 || as_fn_error "could not create $ac_file" "$LINENO" 5
15107 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15109 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15112 mv "$tmp/config.h" "$ac_file" \
15113 || as_fn_error "could not create $ac_file" "$LINENO" 5
15116 $as_echo "/* $configure_input */" \
15117 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15118 || as_fn_error "could not create -" "$LINENO" 5
15120 # Compute "$ac_file"'s index in $config_headers.
15123 for _am_header in $config_headers :; do
15124 case $_am_header in
15125 $_am_arg | $_am_arg:* )
15128 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15131 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15132 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15133 X"$_am_arg" : 'X\(//\)[^/]' \| \
15134 X"$_am_arg" : 'X\(//\)$' \| \
15135 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15136 $as_echo X"$_am_arg" |
15137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15141 /^X\(\/\/\)[^/].*/{
15153 s/.*/./; q'`/stamp-h$_am_stamp_count
15156 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15157 $as_echo "$as_me: executing $ac_file commands" >&6;}
15162 case $ac_file$ac_mode in
15163 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15164 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15165 # are listed without --file. Let's play safe and only enable the eval
15166 # if we detect the quoting.
15167 case $CONFIG_FILES in
15168 *\'*) eval set x "$CONFIG_FILES" ;;
15169 *) set x $CONFIG_FILES ;;
15174 # Strip MF so we end up with the name of the file.
15175 mf=`echo "$mf" | sed -e 's/:.*$//'`
15176 # Check whether this is an Automake generated Makefile or not.
15177 # We used to match only the files named `Makefile.in', but
15178 # some people rename them; so instead we look at the file content.
15179 # Grep'ing the first line is not enough: some people post-process
15180 # each Makefile.in and add a new line on top of each file to say so.
15181 # Grep'ing the whole file is not good either: AIX grep has a line
15182 # limit of 2048, but all sed's we know have understand at least 4000.
15183 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15184 dirpart=`$as_dirname -- "$mf" ||
15185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15186 X"$mf" : 'X\(//\)[^/]' \| \
15187 X"$mf" : 'X\(//\)$' \| \
15188 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15194 /^X\(\/\/\)[^/].*/{
15210 # Extract the definition of DEPDIR, am__include, and am__quote
15211 # from the Makefile without running `make'.
15212 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15213 test -z "$DEPDIR" && continue
15214 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15215 test -z "am__include" && continue
15216 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15217 # When using ansi2knr, U may be empty or an underscore; expand it
15218 U=`sed -n 's/^U = //p' < "$mf"`
15219 # Find all dependency output files, they are included files with
15220 # $(DEPDIR) in their names. We invoke sed twice because it is the
15221 # simplest approach to changing $(DEPDIR) to its actual value in the
15223 for file in `sed -n "
15224 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15225 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15226 # Make sure the directory exists.
15227 test -f "$dirpart/$file" && continue
15228 fdir=`$as_dirname -- "$file" ||
15229 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15230 X"$file" : 'X\(//\)[^/]' \| \
15231 X"$file" : 'X\(//\)$' \| \
15232 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15233 $as_echo X"$file" |
15234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15238 /^X\(\/\/\)[^/].*/{
15251 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15252 # echo "creating $dirpart/$file"
15253 echo '# dummy' > "$dirpart/$file"
15260 # See if we are running on zsh, and set the options which allow our
15261 # commands through without removal of \ escapes.
15262 if test -n "${ZSH_VERSION+set}" ; then
15263 setopt NO_GLOB_SUBST
15266 cfgfile="${ofile}T"
15267 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15270 cat <<_LT_EOF >> "$cfgfile"
15273 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15274 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15275 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15276 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15278 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15279 # 2006, 2007, 2008 Free Software Foundation, Inc.
15280 # Written by Gordon Matzigkeit, 1996
15282 # This file is part of GNU Libtool.
15284 # GNU Libtool is free software; you can redistribute it and/or
15285 # modify it under the terms of the GNU General Public License as
15286 # published by the Free Software Foundation; either version 2 of
15287 # the License, or (at your option) any later version.
15289 # As a special exception to the GNU General Public License,
15290 # if you distribute this file as part of a program or library that
15291 # is built using GNU Libtool, you may include this file under the
15292 # same distribution terms that you use for the rest of that program.
15294 # GNU Libtool is distributed in the hope that it will be useful,
15295 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15296 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15297 # GNU General Public License for more details.
15299 # You should have received a copy of the GNU General Public License
15300 # along with GNU Libtool; see the file COPYING. If not, a copy
15301 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15302 # obtained by writing to the Free Software Foundation, Inc.,
15303 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15306 # The names of the tagged configurations supported by this script.
15309 # ### BEGIN LIBTOOL CONFIG
15311 # Which release of libtool.m4 was used?
15312 macro_version=$macro_version
15313 macro_revision=$macro_revision
15315 # Whether or not to build shared libraries.
15316 build_libtool_libs=$enable_shared
15318 # Whether or not to build static libraries.
15319 build_old_libs=$enable_static
15321 # What type of objects to build.
15324 # Whether or not to optimize for fast installation.
15325 fast_install=$enable_fast_install
15328 host_alias=$host_alias
15332 # The build system.
15333 build_alias=$build_alias
15337 # A sed program that does not truncate output.
15340 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15341 Xsed="\$SED -e 1s/^X//"
15343 # A grep program that handles long lines.
15349 # A literal string matcher.
15352 # A BSD- or MS-compatible name lister.
15355 # Whether we need soft or hard links.
15358 # What is the maximum length of a command?
15359 max_cmd_len=$max_cmd_len
15361 # Object file suffix (normally "o").
15364 # Executable file suffix (normally "").
15367 # whether the shell understands "unset".
15370 # turn spaces into newlines.
15373 # turn newlines into spaces.
15376 # How to create reloadable object files.
15377 reload_flag=$lt_reload_flag
15378 reload_cmds=$lt_reload_cmds
15380 # An object symbol dumper.
15381 OBJDUMP=$lt_OBJDUMP
15383 # Method to check whether dependent libraries are shared objects.
15384 deplibs_check_method=$lt_deplibs_check_method
15386 # Command to use when deplibs_check_method == "file_magic".
15387 file_magic_cmd=$lt_file_magic_cmd
15391 AR_FLAGS=$lt_AR_FLAGS
15393 # A symbol stripping program.
15396 # Commands used to install an old-style archive.
15398 old_postinstall_cmds=$lt_old_postinstall_cmds
15399 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15404 # LTCC compiler flags.
15405 LTCFLAGS=$lt_CFLAGS
15407 # Take the output of nm and produce a listing of raw symbols and C names.
15408 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15410 # Transform the output of nm in a proper C declaration.
15411 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15413 # Transform the output of nm in a C name address pair.
15414 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15416 # Transform the output of nm in a C name address pair when lib prefix is needed.
15417 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15419 # The name of the directory that contains temporary libtool files.
15422 # Shell to use when invoking shell scripts.
15425 # An echo program that does not interpret backslashes.
15428 # Used to examine libraries when file_magic_cmd begins with "file".
15429 MAGIC_CMD=$MAGIC_CMD
15431 # Must we lock files when doing compilation?
15432 need_locks=$lt_need_locks
15434 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15435 DSYMUTIL=$lt_DSYMUTIL
15437 # Tool to change global to local symbols on Mac OS X.
15440 # Tool to manipulate fat objects and archives on Mac OS X.
15443 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15446 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15447 OTOOL64=$lt_OTOOL64
15449 # Old archive suffix (normally "a").
15452 # Shared library suffix (normally ".so").
15453 shrext_cmds=$lt_shrext_cmds
15455 # The commands to extract the exported symbol list from a shared archive.
15456 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15458 # Variables whose values should be saved in libtool wrapper scripts and
15459 # restored at link time.
15460 variables_saved_for_relink=$lt_variables_saved_for_relink
15462 # Do we need the "lib" prefix for modules?
15463 need_lib_prefix=$need_lib_prefix
15465 # Do we need a version for libraries?
15466 need_version=$need_version
15468 # Library versioning type.
15469 version_type=$version_type
15471 # Shared library runtime path variable.
15472 runpath_var=$runpath_var
15474 # Shared library path variable.
15475 shlibpath_var=$shlibpath_var
15477 # Is shlibpath searched before the hard-coded library search path?
15478 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15480 # Format of library name prefix.
15481 libname_spec=$lt_libname_spec
15483 # List of archive names. First name is the real one, the rest are links.
15484 # The last name is the one that the linker finds with -lNAME
15485 library_names_spec=$lt_library_names_spec
15487 # The coded name of the library, if different from the real name.
15488 soname_spec=$lt_soname_spec
15490 # Command to use after installation of a shared archive.
15491 postinstall_cmds=$lt_postinstall_cmds
15493 # Command to use after uninstallation of a shared archive.
15494 postuninstall_cmds=$lt_postuninstall_cmds
15496 # Commands used to finish a libtool library installation in a directory.
15497 finish_cmds=$lt_finish_cmds
15499 # As "finish_cmds", except a single script fragment to be evaled but
15501 finish_eval=$lt_finish_eval
15503 # Whether we should hardcode library paths into libraries.
15504 hardcode_into_libs=$hardcode_into_libs
15506 # Compile-time system search path for libraries.
15507 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15509 # Run-time system search path for libraries.
15510 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15512 # Whether dlopen is supported.
15513 dlopen_support=$enable_dlopen
15515 # Whether dlopen of programs is supported.
15516 dlopen_self=$enable_dlopen_self
15518 # Whether dlopen of statically linked programs is supported.
15519 dlopen_self_static=$enable_dlopen_self_static
15521 # Commands to strip libraries.
15522 old_striplib=$lt_old_striplib
15523 striplib=$lt_striplib
15526 # The linker used to build libraries.
15529 # Commands used to build an old-style archive.
15530 old_archive_cmds=$lt_old_archive_cmds
15532 # A language specific compiler.
15535 # Is the compiler the GNU compiler?
15538 # Compiler flag to turn off builtin functions.
15539 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15541 # How to pass a linker flag through the compiler.
15542 wl=$lt_lt_prog_compiler_wl
15544 # Additional compiler flags for building library objects.
15545 pic_flag=$lt_lt_prog_compiler_pic
15547 # Compiler flag to prevent dynamic linking.
15548 link_static_flag=$lt_lt_prog_compiler_static
15550 # Does compiler simultaneously support -c and -o options?
15551 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15553 # Whether or not to add -lc for building shared libraries.
15554 build_libtool_need_lc=$archive_cmds_need_lc
15556 # Whether or not to disallow shared libs when runtime libs are static.
15557 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15559 # Compiler flag to allow reflexive dlopens.
15560 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15562 # Compiler flag to generate shared objects directly from archives.
15563 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15565 # Whether the compiler copes with passing no objects directly.
15566 compiler_needs_object=$lt_compiler_needs_object
15568 # Create an old-style archive from a shared archive.
15569 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15571 # Create a temporary old-style archive to link instead of a shared archive.
15572 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15574 # Commands used to build a shared archive.
15575 archive_cmds=$lt_archive_cmds
15576 archive_expsym_cmds=$lt_archive_expsym_cmds
15578 # Commands used to build a loadable module if different from building
15579 # a shared archive.
15580 module_cmds=$lt_module_cmds
15581 module_expsym_cmds=$lt_module_expsym_cmds
15583 # Whether we are building with GNU ld or not.
15584 with_gnu_ld=$lt_with_gnu_ld
15586 # Flag that allows shared libraries with undefined symbols to be built.
15587 allow_undefined_flag=$lt_allow_undefined_flag
15589 # Flag that enforces no undefined symbols.
15590 no_undefined_flag=$lt_no_undefined_flag
15592 # Flag to hardcode \$libdir into a binary during linking.
15593 # This must work even if \$libdir does not exist
15594 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15596 # If ld is used when linking, flag to hardcode \$libdir into a binary
15597 # during linking. This must work even if \$libdir does not exist.
15598 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15600 # Whether we need a single "-rpath" flag with a separated argument.
15601 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15603 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15604 # DIR into the resulting binary.
15605 hardcode_direct=$hardcode_direct
15607 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15608 # DIR into the resulting binary and the resulting library dependency is
15609 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15610 # library is relocated.
15611 hardcode_direct_absolute=$hardcode_direct_absolute
15613 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15614 # into the resulting binary.
15615 hardcode_minus_L=$hardcode_minus_L
15617 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15618 # into the resulting binary.
15619 hardcode_shlibpath_var=$hardcode_shlibpath_var
15621 # Set to "yes" if building a shared library automatically hardcodes DIR
15622 # into the library and all subsequent libraries and executables linked
15624 hardcode_automatic=$hardcode_automatic
15626 # Set to yes if linker adds runtime paths of dependent libraries
15627 # to runtime path list.
15628 inherit_rpath=$inherit_rpath
15630 # Whether libtool must link a program against all its dependency libraries.
15631 link_all_deplibs=$link_all_deplibs
15633 # Fix the shell variable \$srcfile for the compiler.
15634 fix_srcfile_path=$lt_fix_srcfile_path
15636 # Set to "yes" if exported symbols are required.
15637 always_export_symbols=$always_export_symbols
15639 # The commands to list exported symbols.
15640 export_symbols_cmds=$lt_export_symbols_cmds
15642 # Symbols that should not be listed in the preloaded symbols.
15643 exclude_expsyms=$lt_exclude_expsyms
15645 # Symbols that must always be exported.
15646 include_expsyms=$lt_include_expsyms
15648 # Commands necessary for linking programs (against libraries) with templates.
15649 prelink_cmds=$lt_prelink_cmds
15651 # Specify filename containing input files.
15652 file_list_spec=$lt_file_list_spec
15654 # How to hardcode a shared library path into an executable.
15655 hardcode_action=$hardcode_action
15657 # ### END LIBTOOL CONFIG
15663 cat <<\_LT_EOF >> "$cfgfile"
15664 # AIX sometimes has problems with the GCC collect2 program. For some
15665 # reason, if we set the COLLECT_NAMES environment variable, the problems
15666 # vanish in a puff of smoke.
15667 if test "X${COLLECT_NAMES+set}" != Xset; then
15669 export COLLECT_NAMES
15676 ltmain="$ac_aux_dir/ltmain.sh"
15679 # We use sed instead of cat because bash on DJGPP gets confused if
15680 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15681 # text mode, it properly converts lines to CR/LF. This bash problem
15682 # is reportedly fixed, but why not run on old versions too?
15683 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15684 || (rm -f "$cfgfile"; exit 1)
15688 cat << \_LT_EOF >> "$cfgfile"
15690 # func_dirname file append nondir_replacement
15691 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15692 # otherwise set result to NONDIR_REPLACEMENT.
15696 */*) func_dirname_result="${1%/*}${2}" ;;
15697 * ) func_dirname_result="${3}" ;;
15701 # func_basename file
15704 func_basename_result="${1##*/}"
15707 # func_dirname_and_basename file append nondir_replacement
15708 # perform func_basename and func_dirname in a single function
15710 # dirname: Compute the dirname of FILE. If nonempty,
15711 # add APPEND to the result, otherwise set result
15712 # to NONDIR_REPLACEMENT.
15713 # value returned in "$func_dirname_result"
15714 # basename: Compute filename of FILE.
15715 # value retuned in "$func_basename_result"
15716 # Implementation must be kept synchronized with func_dirname
15717 # and func_basename. For efficiency, we do not delegate to
15718 # those functions but instead duplicate the functionality here.
15719 func_dirname_and_basename ()
15722 */*) func_dirname_result="${1%/*}${2}" ;;
15723 * ) func_dirname_result="${3}" ;;
15725 func_basename_result="${1##*/}"
15728 # func_stripname prefix suffix name
15729 # strip PREFIX and SUFFIX off of NAME.
15730 # PREFIX and SUFFIX must not contain globbing or regex special
15731 # characters, hashes, percent signs, but SUFFIX may contain a leading
15732 # dot (in which case that matches only a dot).
15735 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15736 # positional parameters, so assign one to ordinary parameter first.
15737 func_stripname_result=${3}
15738 func_stripname_result=${func_stripname_result#"${1}"}
15739 func_stripname_result=${func_stripname_result%"${2}"}
15745 func_opt_split_opt=${1%%=*}
15746 func_opt_split_arg=${1#*=}
15753 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15754 *) func_lo2o_result=${1} ;;
15758 # func_xform libobj-or-source
15761 func_xform_result=${1%.*}.lo
15764 # func_arith arithmetic-term...
15767 func_arith_result=$(( $* ))
15771 # STRING may not start with a hyphen.
15774 func_len_result=${#1}
15779 *) # Bourne compatible functions.
15780 cat << \_LT_EOF >> "$cfgfile"
15782 # func_dirname file append nondir_replacement
15783 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15784 # otherwise set result to NONDIR_REPLACEMENT.
15787 # Extract subdirectory from the argument.
15788 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15789 if test "X$func_dirname_result" = "X${1}"; then
15790 func_dirname_result="${3}"
15792 func_dirname_result="$func_dirname_result${2}"
15796 # func_basename file
15799 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15803 # func_stripname prefix suffix name
15804 # strip PREFIX and SUFFIX off of NAME.
15805 # PREFIX and SUFFIX must not contain globbing or regex special
15806 # characters, hashes, percent signs, but SUFFIX may contain a leading
15807 # dot (in which case that matches only a dot).
15808 # func_strip_suffix prefix name
15812 .*) func_stripname_result=`$ECHO "X${3}" \
15813 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15814 *) func_stripname_result=`$ECHO "X${3}" \
15815 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15820 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15821 my_sed_long_arg='1s/^-[^=]*=//'
15826 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15827 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15833 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15836 # func_xform libobj-or-source
15839 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15842 # func_arith arithmetic-term...
15845 func_arith_result=`expr "$@"`
15849 # STRING may not start with a hyphen.
15852 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15858 case $lt_shell_append in
15860 cat << \_LT_EOF >> "$cfgfile"
15862 # func_append var value
15863 # Append VALUE to the end of shell variable VAR.
15871 cat << \_LT_EOF >> "$cfgfile"
15873 # func_append var value
15874 # Append VALUE to the end of shell variable VAR.
15885 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15886 || (rm -f "$cfgfile"; exit 1)
15888 mv -f "$cfgfile" "$ofile" ||
15889 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15893 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15894 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15897 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15898 as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15900 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15905 '"s|^| $ac_top_srcdir/|" \
15906 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15908 sed '/^POTFILES =/,/[^\\]$/ {
15912 ' "po/Makefile.in" >"po/Makefile"
15913 rm -f "po/Makefile.tmp"
15914 mv "po/stamp-it.tmp" "po/stamp-it"
15923 ac_clean_files=$ac_clean_files_save
15925 test $ac_write_fail = 0 ||
15926 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15929 # configure is writing to config.log, and then calls config.status.
15930 # config.status does its own redirection, appending to config.log.
15931 # Unfortunately, on DOS this fails, as config.log is still kept open
15932 # by configure, so config.status won't be able to write to it; its
15933 # output is simply discarded. So we exec the FD to /dev/null,
15934 # effectively closing config.log, so it can be properly (re)opened and
15935 # appended to by config.status. When coming back to configure, we
15936 # need to make the FD available again.
15937 if test "$no_create" != yes; then
15939 ac_config_status_args=
15940 test "$silent" = yes &&
15941 ac_config_status_args="$ac_config_status_args --quiet"
15943 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15945 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15946 # would make configure fail if this is the last instruction.
15947 $ac_cs_success || as_fn_exit $?
15949 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15951 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}