2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for GConf Editor 2.28.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (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 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640 for dir in $PATH /usr/ucb; do
642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X/bin/ksh; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL=/bin/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681 SHELL="$CONFIG_SHELL"
683 ECHO="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev/null 6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix=/usr/local
737 ac_config_libobj_dir=.
743 SHELL=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME='GConf Editor'
747 PACKAGE_TARNAME='gconf-editor'
748 PACKAGE_VERSION='2.28.0'
749 PACKAGE_STRING='GConf Editor 2.28.0'
750 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor'
752 ac_unique_file="src/main.c"
753 # Factoring default headers for most tests.
754 ac_includes_default="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars='am__EXEEXT_FALSE
809 DISABLE_DEPRECATED_CFLAGS
812 HAVE_GNOME_DOC_UTILS_FALSE
813 HAVE_GNOME_DOC_UTILS_TRUE
814 DISTCHECK_CONFIGURE_FLAGS
821 GCONF_SCHEMAS_INSTALL_FALSE
822 GCONF_SCHEMAS_INSTALL_TRUE
823 GCONF_SCHEMA_FILE_DIR
824 GCONF_SCHEMA_CONFIG_SOURCE
878 INTLTOOL_SERVICE_RULE
880 INTLTOOL_SCHEMAS_RULE
882 INTLTOOL_XML_NOMERGE_RULE
887 INTLTOOL_SOUNDLIST_RULE
894 INTLTOOL_DIRECTORY_RULE
895 INTLTOOL_DESKTOP_RULE
901 MAINTAINER_MODE_FALSE
911 INSTALL_STRIP_PROGRAM
953 program_transform_name
965 enable_option_checking
966 enable_maintainer_mode
968 enable_dependency_tracking
976 with_gconf_schema_file_dir
977 enable_schemas_install
982 enable_compile_warnings
984 with_gconf_defaults_source
985 with_gconf_mandatory_source
987 ac_precious_vars='build_alias
1001 # Initialize some variables set by options.
1003 ac_init_version=false
1004 ac_unrecognized_opts=
1005 ac_unrecognized_sep=
1006 # The variables have the same names as the options, with
1007 # dashes changed to underlines.
1008 cache_file=/dev/null
1015 program_transform_name=s,x,x,
1023 # Installation directory options.
1024 # These are left unexpanded so users can "make install exec_prefix=/foo"
1025 # and all the variables that are supposed to be based on exec_prefix
1026 # by default will actually change.
1027 # Use braces instead of parens because sh, perl, etc. also accept them.
1028 # (The list follows the same order as the GNU Coding Standards.)
1029 bindir='${exec_prefix}/bin'
1030 sbindir='${exec_prefix}/sbin'
1031 libexecdir='${exec_prefix}/libexec'
1032 datarootdir='${prefix}/share'
1033 datadir='${datarootdir}'
1034 sysconfdir='${prefix}/etc'
1035 sharedstatedir='${prefix}/com'
1036 localstatedir='${prefix}/var'
1037 includedir='${prefix}/include'
1038 oldincludedir='/usr/include'
1039 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1040 infodir='${datarootdir}/info'
1045 libdir='${exec_prefix}/lib'
1046 localedir='${datarootdir}/locale'
1047 mandir='${datarootdir}/man'
1053 # If the previous option needs an argument, assign it.
1054 if test -n "$ac_prev"; then
1055 eval $ac_prev=\$ac_option
1061 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1065 # Accept the important Cygnus configure options, so we can diagnose typos.
1067 case $ac_dashdash$ac_option in
1071 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1073 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1074 bindir=$ac_optarg ;;
1076 -build | --build | --buil | --bui | --bu)
1077 ac_prev=build_alias ;;
1078 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1079 build_alias=$ac_optarg ;;
1081 -cache-file | --cache-file | --cache-fil | --cache-fi \
1082 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1083 ac_prev=cache_file ;;
1084 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1085 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1086 cache_file=$ac_optarg ;;
1088 --config-cache | -C)
1089 cache_file=config.cache ;;
1091 -datadir | --datadir | --datadi | --datad)
1093 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1094 datadir=$ac_optarg ;;
1096 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1097 | --dataroo | --dataro | --datar)
1098 ac_prev=datarootdir ;;
1099 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1100 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1101 datarootdir=$ac_optarg ;;
1103 -disable-* | --disable-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1113 "enable_$ac_useropt"
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1118 eval enable_$ac_useropt=no ;;
1120 -docdir | --docdir | --docdi | --doc | --do)
1122 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1123 docdir=$ac_optarg ;;
1125 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1127 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1128 dvidir=$ac_optarg ;;
1130 -enable-* | --enable-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1135 { (exit 1); exit 1; }; }
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1140 "enable_$ac_useropt"
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1145 eval enable_$ac_useropt=\$ac_optarg ;;
1147 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1148 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1149 | --exec | --exe | --ex)
1150 ac_prev=exec_prefix ;;
1151 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1152 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1153 | --exec=* | --exe=* | --ex=*)
1154 exec_prefix=$ac_optarg ;;
1156 -gas | --gas | --ga | --g)
1157 # Obsolete; use --with-gas.
1160 -help | --help | --hel | --he | -h)
1161 ac_init_help=long ;;
1162 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1163 ac_init_help=recursive ;;
1164 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1165 ac_init_help=short ;;
1167 -host | --host | --hos | --ho)
1168 ac_prev=host_alias ;;
1169 -host=* | --host=* | --hos=* | --ho=*)
1170 host_alias=$ac_optarg ;;
1172 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1174 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1176 htmldir=$ac_optarg ;;
1178 -includedir | --includedir | --includedi | --included | --include \
1179 | --includ | --inclu | --incl | --inc)
1180 ac_prev=includedir ;;
1181 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1182 | --includ=* | --inclu=* | --incl=* | --inc=*)
1183 includedir=$ac_optarg ;;
1185 -infodir | --infodir | --infodi | --infod | --info | --inf)
1187 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1188 infodir=$ac_optarg ;;
1190 -libdir | --libdir | --libdi | --libd)
1192 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1193 libdir=$ac_optarg ;;
1195 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1196 | --libexe | --libex | --libe)
1197 ac_prev=libexecdir ;;
1198 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1199 | --libexe=* | --libex=* | --libe=*)
1200 libexecdir=$ac_optarg ;;
1202 -localedir | --localedir | --localedi | --localed | --locale)
1203 ac_prev=localedir ;;
1204 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1205 localedir=$ac_optarg ;;
1207 -localstatedir | --localstatedir | --localstatedi | --localstated \
1208 | --localstate | --localstat | --localsta | --localst | --locals)
1209 ac_prev=localstatedir ;;
1210 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1211 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1212 localstatedir=$ac_optarg ;;
1214 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1216 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1217 mandir=$ac_optarg ;;
1219 -nfp | --nfp | --nf)
1220 # Obsolete; use --without-fp.
1223 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1224 | --no-cr | --no-c | -n)
1227 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1228 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1231 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1232 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1233 | --oldin | --oldi | --old | --ol | --o)
1234 ac_prev=oldincludedir ;;
1235 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1236 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1237 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1238 oldincludedir=$ac_optarg ;;
1240 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1242 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1243 prefix=$ac_optarg ;;
1245 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1246 | --program-pre | --program-pr | --program-p)
1247 ac_prev=program_prefix ;;
1248 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1249 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1250 program_prefix=$ac_optarg ;;
1252 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1253 | --program-suf | --program-su | --program-s)
1254 ac_prev=program_suffix ;;
1255 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1256 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1257 program_suffix=$ac_optarg ;;
1259 -program-transform-name | --program-transform-name \
1260 | --program-transform-nam | --program-transform-na \
1261 | --program-transform-n | --program-transform- \
1262 | --program-transform | --program-transfor \
1263 | --program-transfo | --program-transf \
1264 | --program-trans | --program-tran \
1265 | --progr-tra | --program-tr | --program-t)
1266 ac_prev=program_transform_name ;;
1267 -program-transform-name=* | --program-transform-name=* \
1268 | --program-transform-nam=* | --program-transform-na=* \
1269 | --program-transform-n=* | --program-transform-=* \
1270 | --program-transform=* | --program-transfor=* \
1271 | --program-transfo=* | --program-transf=* \
1272 | --program-trans=* | --program-tran=* \
1273 | --progr-tra=* | --program-tr=* | --program-t=*)
1274 program_transform_name=$ac_optarg ;;
1276 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1278 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1279 pdfdir=$ac_optarg ;;
1281 -psdir | --psdir | --psdi | --psd | --ps)
1283 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1286 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1287 | -silent | --silent | --silen | --sile | --sil)
1290 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1292 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1294 sbindir=$ac_optarg ;;
1296 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1297 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1298 | --sharedst | --shareds | --shared | --share | --shar \
1300 ac_prev=sharedstatedir ;;
1301 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1302 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1303 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1305 sharedstatedir=$ac_optarg ;;
1307 -site | --site | --sit)
1309 -site=* | --site=* | --sit=*)
1312 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1314 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1315 srcdir=$ac_optarg ;;
1317 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1318 | --syscon | --sysco | --sysc | --sys | --sy)
1319 ac_prev=sysconfdir ;;
1320 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1321 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1322 sysconfdir=$ac_optarg ;;
1324 -target | --target | --targe | --targ | --tar | --ta | --t)
1325 ac_prev=target_alias ;;
1326 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1327 target_alias=$ac_optarg ;;
1329 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1332 -version | --version | --versio | --versi | --vers | -V)
1333 ac_init_version=: ;;
1336 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1340 { (exit 1); exit 1; }; }
1341 ac_useropt_orig=$ac_useropt
1342 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1343 case $ac_user_opts in
1347 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1348 ac_unrecognized_sep=', ';;
1350 eval with_$ac_useropt=\$ac_optarg ;;
1352 -without-* | --without-*)
1353 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1354 # Reject names that are not valid shell variable names.
1355 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1356 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1357 { (exit 1); exit 1; }; }
1358 ac_useropt_orig=$ac_useropt
1359 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360 case $ac_user_opts in
1364 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1365 ac_unrecognized_sep=', ';;
1367 eval with_$ac_useropt=no ;;
1370 # Obsolete; use --with-x.
1373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374 | --x-incl | --x-inc | --x-in | --x-i)
1375 ac_prev=x_includes ;;
1376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378 x_includes=$ac_optarg ;;
1380 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382 ac_prev=x_libraries ;;
1383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385 x_libraries=$ac_optarg ;;
1387 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1388 Try \`$0 --help' for more information." >&2
1389 { (exit 1); exit 1; }; }
1393 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1394 # Reject names that are not valid shell variable names.
1395 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1396 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397 { (exit 1); exit 1; }; }
1398 eval $ac_envvar=\$ac_optarg
1399 export $ac_envvar ;;
1402 # FIXME: should be removed in autoconf 3.0.
1403 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1405 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1412 if test -n "$ac_prev"; then
1413 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1415 { (exit 1); exit 1; }; }
1418 if test -n "$ac_unrecognized_opts"; then
1419 case $enable_option_checking in
1421 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1422 { (exit 1); exit 1; }; } ;;
1423 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1427 # Check all directory arguments for consistency.
1428 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1429 datadir sysconfdir sharedstatedir localstatedir includedir \
1430 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1431 libdir localedir mandir
1433 eval ac_val=\$$ac_var
1434 # Remove trailing slashes.
1437 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1438 eval $ac_var=\$ac_val;;
1440 # Be sure to have absolute directory names.
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1445 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1454 target=$target_alias
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1470 test "$silent" = yes && exec 6>/dev/null
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$as_myself" ||
1488 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$as_myself" : 'X\(//\)[^/]' \| \
1490 X"$as_myself" : 'X\(//\)$' \| \
1491 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1492 $as_echo X"$as_myself" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1515 ac_srcdir_defaulted=no
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 # Report the --help message.
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1551 \`configure' configures GConf Editor 2.28.0 to adapt to many kinds of systems.
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1558 Defaults for the options are specified in brackets.
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1582 For better control, use the options below.
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/gconf-editor]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1609 --program-prefix=PREFIX prepend PREFIX to installed program names
1610 --program-suffix=SUFFIX append SUFFIX to installed program names
1611 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1614 --build=BUILD configure for building on BUILD [guessed]
1615 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of GConf Editor 2.28.0:";;
1626 --disable-option-checking ignore unrecognized --enable/--with options
1627 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1628 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1629 --disable-maintainer-mode disable make rules and dependencies not useful
1630 (and sometimes confusing) to the casual installer
1631 --disable-nls do not use Native Language Support
1632 --disable-dependency-tracking speeds up one-time build
1633 --enable-dependency-tracking do not reject slow dependency extractors
1634 --enable-shared[=PKGS] build shared libraries [default=yes]
1635 --enable-static[=PKGS] build static libraries [default=yes]
1636 --enable-fast-install[=PKGS]
1637 optimize for fast installation [default=yes]
1638 --disable-libtool-lock avoid locking (might break parallel builds)
1639 --disable-schemas-install
1640 Disable the schemas installation
1641 --disable-scrollkeeper do not make updates to the scrollkeeper database
1642 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1643 Turn on compiler warnings
1644 --enable-iso-c Try to warn if code is not ISO C
1647 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1648 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1649 --with-pic try to use only PIC/non-PIC objects [default=use
1651 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1652 --with-gconf-source=sourceaddress
1653 Config database for installing schema files.
1654 --with-gconf-schema-file-dir=dir
1655 Directory for installing schema files.
1656 --with-help-dir=DIR path to help docs
1657 --with-omf-dir=DIR path to OMF files
1658 --with-help-formats=FORMATS
1660 --with-gconf-defaults-source
1661 The GConf source of the default values
1662 --with-gconf-mandatory-source
1663 The GConf source of the mandatory values
1665 Some influential environment variables:
1666 CC C compiler command
1667 CFLAGS C compiler flags
1668 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1669 nonstandard directory <lib dir>
1670 LIBS libraries to pass to the linker, e.g. -l<library>
1671 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1672 you have headers in a nonstandard directory <include dir>
1674 PKG_CONFIG path to pkg-config utility
1676 C compiler flags for GCONF_EDITOR, overriding pkg-config
1678 linker flags for GCONF_EDITOR, overriding pkg-config
1680 Use these variables to override the choices made by `configure' or to help
1681 it to find libraries and programs with nonstandard names/locations.
1683 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>.
1688 if test "$ac_init_help" = "recursive"; then
1689 # If there are subdirs, report their specific --help.
1690 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1691 test -d "$ac_dir" ||
1692 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1700 # A ".." for each directory in $ac_dir_suffix.
1701 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1702 case $ac_top_builddir_sub in
1703 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1704 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1707 ac_abs_top_builddir=$ac_pwd
1708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1709 # for backward compatibility:
1710 ac_top_builddir=$ac_top_build_prefix
1713 .) # We are building in place.
1715 ac_top_srcdir=$ac_top_builddir_sub
1716 ac_abs_top_srcdir=$ac_pwd ;;
1717 [\\/]* | ?:[\\/]* ) # Absolute name.
1718 ac_srcdir=$srcdir$ac_dir_suffix;
1719 ac_top_srcdir=$srcdir
1720 ac_abs_top_srcdir=$srcdir ;;
1722 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1723 ac_top_srcdir=$ac_top_build_prefix$srcdir
1724 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1728 cd "$ac_dir" || { ac_status=$?; continue; }
1729 # Check for guested configure.
1730 if test -f "$ac_srcdir/configure.gnu"; then
1732 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1733 elif test -f "$ac_srcdir/configure"; then
1735 $SHELL "$ac_srcdir/configure" --help=recursive
1737 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1739 cd "$ac_pwd" || { ac_status=$?; break; }
1743 test -n "$ac_init_help" && exit $ac_status
1744 if $ac_init_version; then
1746 GConf Editor configure 2.28.0
1747 generated by GNU Autoconf 2.63
1749 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1750 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1751 This configure script is free software; the Free Software Foundation
1752 gives unlimited permission to copy, distribute and modify it.
1756 cat >config.log <<_ACEOF
1757 This file contains any messages produced by compilers while
1758 running configure, to aid debugging if configure makes a mistake.
1760 It was created by GConf Editor $as_me 2.28.0, which was
1761 generated by GNU Autoconf 2.63. Invocation command line was
1773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1780 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1782 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1783 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1785 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1786 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1787 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1788 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 $as_echo "PATH: $as_dir"
1813 # Keep a trace of the command line.
1814 # Strip out --no-create and --no-recursion so they do not pile up.
1815 # Strip out --silent because we don't want to record it for future runs.
1816 # Also quote any args containing shell meta-characters.
1817 # Make two passes to allow for proper duplicate-argument suppression.
1821 ac_must_keep_next=false
1827 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1829 | -silent | --silent | --silen | --sile | --sil)
1832 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1835 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1837 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1838 if test $ac_must_keep_next = true; then
1839 ac_must_keep_next=false # Got value, back to normal.
1842 *=* | --config-cache | -C | -disable-* | --disable-* \
1843 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1844 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1845 | -with-* | --with-* | -without-* | --without-* | --x)
1846 case "$ac_configure_args0 " in
1847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1850 -* ) ac_must_keep_next=true ;;
1853 ac_configure_args="$ac_configure_args '$ac_arg'"
1858 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1859 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1861 # When interrupted or exit'd, cleanup temporary files, and complete
1862 # config.log. We remove comments because anyway the quotes in there
1863 # would cause problems or look ugly.
1864 # WARNING: Use '\'' to represent an apostrophe within the trap.
1865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1866 trap 'exit_status=$?
1867 # Save into config.log some information that might help in debugging.
1872 ## ---------------- ##
1873 ## Cache variables. ##
1874 ## ---------------- ##
1877 # The following way of writing the cache mishandles newlines in values,
1879 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1880 eval ac_val=\$$ac_var
1884 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1888 _ | IFS | as_nl) ;; #(
1889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890 *) $as_unset $ac_var ;;
1895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1910 ## ----------------- ##
1911 ## Output variables. ##
1912 ## ----------------- ##
1915 for ac_var in $ac_subst_vars
1917 eval ac_val=\$$ac_var
1919 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1921 $as_echo "$ac_var='\''$ac_val'\''"
1925 if test -n "$ac_subst_files"; then
1927 ## ------------------- ##
1928 ## File substitutions. ##
1929 ## ------------------- ##
1932 for ac_var in $ac_subst_files
1934 eval ac_val=\$$ac_var
1936 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1938 $as_echo "$ac_var='\''$ac_val'\''"
1943 if test -s confdefs.h; then
1953 test "$ac_signal" != 0 &&
1954 $as_echo "$as_me: caught signal $ac_signal"
1955 $as_echo "$as_me: exit $exit_status"
1957 rm -f core *.core core.conftest.* &&
1958 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1961 for ac_signal in 1 2 13 15; do
1962 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1967 rm -f -r conftest* confdefs.h
1969 # Predefined preprocessor variables.
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_NAME "$PACKAGE_NAME"
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE_STRING "$PACKAGE_STRING"
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1996 # Let the site file select an alternate cache file if it wants to.
1997 # Prefer an explicitly selected file to automatically selected ones.
2000 if test -n "$CONFIG_SITE"; then
2001 ac_site_file1=$CONFIG_SITE
2002 elif test "x$prefix" != xNONE; then
2003 ac_site_file1=$prefix/share/config.site
2004 ac_site_file2=$prefix/etc/config.site
2006 ac_site_file1=$ac_default_prefix/share/config.site
2007 ac_site_file2=$ac_default_prefix/etc/config.site
2009 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2011 test "x$ac_site_file" = xNONE && continue
2012 if test -r "$ac_site_file"; then
2013 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2014 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2015 sed 's/^/| /' "$ac_site_file" >&5
2020 if test -r "$cache_file"; then
2021 # Some versions of bash will fail to source /dev/null (special
2022 # files actually), so we avoid doing that.
2023 if test -f "$cache_file"; then
2024 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2025 $as_echo "$as_me: loading cache $cache_file" >&6;}
2027 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2028 *) . "./$cache_file";;
2032 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2033 $as_echo "$as_me: creating cache $cache_file" >&6;}
2037 # Check that the precious variables saved in the cache have kept the same
2039 ac_cache_corrupted=false
2040 for ac_var in $ac_precious_vars; do
2041 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2042 eval ac_new_set=\$ac_env_${ac_var}_set
2043 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2044 eval ac_new_val=\$ac_env_${ac_var}_value
2045 case $ac_old_set,$ac_new_set in
2047 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2048 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2049 ac_cache_corrupted=: ;;
2051 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2052 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2053 ac_cache_corrupted=: ;;
2056 if test "x$ac_old_val" != "x$ac_new_val"; then
2057 # differences in whitespace do not lead to failure.
2058 ac_old_val_w=`echo x $ac_old_val`
2059 ac_new_val_w=`echo x $ac_new_val`
2060 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2061 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2062 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2063 ac_cache_corrupted=:
2065 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2066 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2067 eval $ac_var=\$ac_old_val
2069 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2070 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2071 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2072 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2075 # Pass precious variables to config.status.
2076 if test "$ac_new_set" = set; then
2078 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2079 *) ac_arg=$ac_var=$ac_new_val ;;
2081 case " $ac_configure_args " in
2082 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2083 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2087 if $ac_cache_corrupted; then
2088 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2090 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2091 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2092 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2093 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2094 { (exit 1); exit 1; }; }
2122 ac_cpp='$CPP $CPPFLAGS'
2123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2130 am__api_version='1.11'
2133 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2134 if test -f "$ac_dir/install-sh"; then
2136 ac_install_sh="$ac_aux_dir/install-sh -c"
2138 elif test -f "$ac_dir/install.sh"; then
2140 ac_install_sh="$ac_aux_dir/install.sh -c"
2142 elif test -f "$ac_dir/shtool"; then
2144 ac_install_sh="$ac_aux_dir/shtool install -c"
2148 if test -z "$ac_aux_dir"; then
2149 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2150 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2151 { (exit 1); exit 1; }; }
2154 # These three variables are undocumented and unsupported,
2155 # and are intended to be withdrawn in a future Autoconf release.
2156 # They can cause serious problems if a builder's source tree is in a directory
2157 # whose full name contains unusual characters.
2158 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2159 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2160 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2163 # Find a good install program. We prefer a C program (faster),
2164 # so one script is as good as another. But avoid the broken or
2165 # incompatible versions:
2166 # SysV /etc/install, /usr/sbin/install
2167 # SunOS /usr/etc/install
2168 # IRIX /sbin/install
2170 # AmigaOS /C/install, which installs bootblocks on floppy discs
2171 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2172 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2173 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2174 # OS/2's system install, which has a completely different semantic
2175 # ./install, which can be erroneously created by make from ./install.sh.
2176 # Reject install programs that cannot install multiple files.
2177 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2178 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2179 if test -z "$INSTALL"; then
2180 if test "${ac_cv_path_install+set}" = set; then
2181 $as_echo_n "(cached) " >&6
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir=.
2188 # Account for people who put trailing slashes in PATH elements.
2190 ./ | .// | /cC/* | \
2191 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2192 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2195 # OSF1 and SCO ODT 3.0 have their own names for install.
2196 # Don't use installbsd from OSF since it installs stuff as root
2198 for ac_prog in ginstall scoinst install; do
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2201 if test $ac_prog = install &&
2202 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2203 # AIX install. It has an incompatible calling convention.
2205 elif test $ac_prog = install &&
2206 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2207 # program-specific install script used by HP pwplus--don't use.
2210 rm -rf conftest.one conftest.two conftest.dir
2211 echo one > conftest.one
2212 echo two > conftest.two
2214 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2215 test -s conftest.one && test -s conftest.two &&
2216 test -s conftest.dir/conftest.one &&
2217 test -s conftest.dir/conftest.two
2219 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2232 rm -rf conftest.one conftest.two conftest.dir
2235 if test "${ac_cv_path_install+set}" = set; then
2236 INSTALL=$ac_cv_path_install
2238 # As a last resort, use the slow shell script. Don't cache a
2239 # value for INSTALL within a source directory, because that will
2240 # break other packages using the cache if that directory is
2241 # removed, or if the value is a relative name.
2242 INSTALL=$ac_install_sh
2245 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2246 $as_echo "$INSTALL" >&6; }
2248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2249 # It thinks the first close brace ends the variable substitution.
2250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2256 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2257 $as_echo_n "checking whether build environment is sane... " >&6; }
2260 echo timestamp > conftest.file
2261 # Reject unsafe characters in $srcdir or the absolute working directory
2262 # name. Accept space and tab only in the latter.
2266 *[\\\"\#\$\&\'\`$am_lf]*)
2267 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2268 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2269 { (exit 1); exit 1; }; };;
2272 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2273 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2274 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2275 { (exit 1); exit 1; }; };;
2278 # Do `set' in a subshell so we don't clobber the current shell's
2279 # arguments. Must try -L first in case configure is actually a
2280 # symlink; some systems play weird games with the mod time of symlinks
2281 # (eg FreeBSD returns the mod time of the symlink's containing
2284 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2285 if test "$*" = "X"; then
2287 set X `ls -t "$srcdir/configure" conftest.file`
2290 if test "$*" != "X $srcdir/configure conftest.file" \
2291 && test "$*" != "X conftest.file $srcdir/configure"; then
2293 # If neither matched, then we have a broken ls. This can happen
2294 # if, for instance, CONFIG_SHELL is bash and it inherits a
2295 # broken ls alias from the environment. This has actually
2296 # happened. Such a system could not be considered "sane".
2297 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2298 alias in your environment" >&5
2299 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2300 alias in your environment" >&2;}
2301 { (exit 1); exit 1; }; }
2304 test "$2" = conftest.file
2310 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2311 Check your system clock" >&5
2312 $as_echo "$as_me: error: newly created file is older than distributed files!
2313 Check your system clock" >&2;}
2314 { (exit 1); exit 1; }; }
2316 { $as_echo "$as_me:$LINENO: result: yes" >&5
2317 $as_echo "yes" >&6; }
2318 test "$program_prefix" != NONE &&
2319 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2320 # Use a double $ so make ignores it.
2321 test "$program_suffix" != NONE &&
2322 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2323 # Double any \ or $.
2324 # By default was `s,x,x', remove it if useless.
2325 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2326 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2328 # expand $ac_aux_dir to an absolute path
2329 am_aux_dir=`cd $ac_aux_dir && pwd`
2331 if test x"${MISSING+set}" != xset; then
2334 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2336 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2339 # Use eval to expand $SHELL
2340 if eval "$MISSING --run true"; then
2341 am_missing_run="$MISSING --run "
2344 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2345 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2348 if test x"${install_sh}" != xset; then
2351 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2353 install_sh="\${SHELL} $am_aux_dir/install-sh"
2357 # Installed binaries are usually stripped using `strip' when the user
2358 # run `make install-strip'. However `strip' might not be the right
2359 # tool to use in cross-compilation environments, therefore Automake
2360 # will honor the `STRIP' environment variable to overrule this program.
2361 if test "$cross_compiling" != no; then
2362 if test -n "$ac_tool_prefix"; then
2363 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2364 set dummy ${ac_tool_prefix}strip; ac_word=$2
2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
2367 if test "${ac_cv_prog_STRIP+set}" = set; then
2368 $as_echo_n "(cached) " >&6
2370 if test -n "$STRIP"; then
2371 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 STRIP=$ac_cv_prog_STRIP
2391 if test -n "$STRIP"; then
2392 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2393 $as_echo "$STRIP" >&6; }
2395 { $as_echo "$as_me:$LINENO: result: no" >&5
2396 $as_echo "no" >&6; }
2401 if test -z "$ac_cv_prog_STRIP"; then
2403 # Extract the first word of "strip", so it can be a program name with args.
2404 set dummy strip; ac_word=$2
2405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2408 $as_echo_n "(cached) " >&6
2410 if test -n "$ac_ct_STRIP"; then
2411 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_ac_ct_STRIP="strip"
2421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2431 if test -n "$ac_ct_STRIP"; then
2432 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2433 $as_echo "$ac_ct_STRIP" >&6; }
2435 { $as_echo "$as_me:$LINENO: result: no" >&5
2436 $as_echo "no" >&6; }
2439 if test "x$ac_ct_STRIP" = x; then
2442 case $cross_compiling:$ac_tool_warned in
2444 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2446 ac_tool_warned=yes ;;
2451 STRIP="$ac_cv_prog_STRIP"
2455 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2457 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2458 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2459 if test -z "$MKDIR_P"; then
2460 if test "${ac_cv_path_mkdir+set}" = set; then
2461 $as_echo_n "(cached) " >&6
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2467 test -z "$as_dir" && as_dir=.
2468 for ac_prog in mkdir gmkdir; do
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2471 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2472 'mkdir (GNU coreutils) '* | \
2473 'mkdir (coreutils) '* | \
2474 'mkdir (fileutils) '4.1*)
2475 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2485 if test "${ac_cv_path_mkdir+set}" = set; then
2486 MKDIR_P="$ac_cv_path_mkdir -p"
2488 # As a last resort, use the slow shell script. Don't cache a
2489 # value for MKDIR_P within a source directory, because that will
2490 # break other packages using the cache if that directory is
2491 # removed, or if the value is a relative name.
2492 test -d ./--version && rmdir ./--version
2493 MKDIR_P="$ac_install_sh -d"
2496 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2497 $as_echo "$MKDIR_P" >&6; }
2501 [\\/$]* | ?:[\\/]*) ;;
2502 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2505 for ac_prog in gawk mawk nawk awk
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if test "${ac_cv_prog_AWK+set}" = set; then
2512 $as_echo_n "(cached) " >&6
2514 if test -n "$AWK"; then
2515 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_AWK="$ac_prog"
2525 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 if test -n "$AWK"; then
2536 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2537 $as_echo "$AWK" >&6; }
2539 { $as_echo "$as_me:$LINENO: result: no" >&5
2540 $as_echo "no" >&6; }
2544 test -n "$AWK" && break
2547 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2548 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2550 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2551 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2552 $as_echo_n "(cached) " >&6
2554 cat >conftest.make <<\_ACEOF
2557 @echo '@@@%%%=$(MAKE)=@@@%%%'
2559 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2560 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2562 eval ac_cv_prog_make_${ac_make}_set=yes;;
2564 eval ac_cv_prog_make_${ac_make}_set=no;;
2568 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2569 { $as_echo "$as_me:$LINENO: result: yes" >&5
2570 $as_echo "yes" >&6; }
2573 { $as_echo "$as_me:$LINENO: result: no" >&5
2574 $as_echo "no" >&6; }
2575 SET_MAKE="MAKE=${MAKE-make}"
2578 rm -rf .tst 2>/dev/null
2579 mkdir .tst 2>/dev/null
2580 if test -d .tst; then
2585 rmdir .tst 2>/dev/null
2587 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2588 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2589 # is not polluted with repeated "-I."
2590 am__isrc=' -I$(srcdir)'
2591 # test to see if srcdir already configured
2592 if test -f $srcdir/config.status; then
2593 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2594 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2595 { (exit 1); exit 1; }; }
2599 # test whether we have cygpath
2600 if test -z "$CYGPATH_W"; then
2601 if (cygpath --version) >/dev/null 2>/dev/null; then
2602 CYGPATH_W='cygpath -w'
2609 # Define the identity of the package.
2610 PACKAGE='gconf-editor'
2614 cat >>confdefs.h <<_ACEOF
2615 #define PACKAGE "$PACKAGE"
2619 cat >>confdefs.h <<_ACEOF
2620 #define VERSION "$VERSION"
2623 # Some tools Automake needs.
2625 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2628 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2631 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2634 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2637 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2639 # We need awk for the "check" target. The system "awk" is bad on
2641 # Always define AMTAR for backward compatibility.
2643 AMTAR=${AMTAR-"${am_missing_run}tar"}
2645 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2651 ac_config_headers="$ac_config_headers config.h"
2654 if test -z "$enable_maintainer_mode"; then
2655 enable_maintainer_mode=yes
2658 { $as_echo "$as_me:$LINENO: checking whether to disable maintainer-specific portions of Makefiles" >&5
2659 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2660 # Check whether --enable-maintainer-mode was given.
2661 if test "${enable_maintainer_mode+set}" = set; then
2662 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2664 USE_MAINTAINER_MODE=yes
2667 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2668 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2669 if test $USE_MAINTAINER_MODE = yes; then
2670 MAINTAINER_MODE_TRUE=
2671 MAINTAINER_MODE_FALSE='#'
2673 MAINTAINER_MODE_TRUE='#'
2674 MAINTAINER_MODE_FALSE=
2677 MAINT=$MAINTAINER_MODE_TRUE
2682 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2683 $as_echo_n "checking whether NLS is requested... " >&6; }
2684 # Check whether --enable-nls was given.
2685 if test "${enable_nls+set}" = set; then
2686 enableval=$enable_nls; USE_NLS=$enableval
2691 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
2692 $as_echo "$USE_NLS" >&6; }
2695 DEPDIR="${am__leading_dot}deps"
2697 ac_config_commands="$ac_config_commands depfiles"
2700 am_make=${MAKE-make}
2701 cat > confinc << 'END'
2703 @echo this is the am__doit target
2706 # If we don't find an include directive, just comment out the code.
2707 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2708 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2712 # First try GNU make style include.
2713 echo "include confinc" > confmf
2714 # Ignore all kinds of additional output from `make'.
2715 case `$am_make -s -f confmf 2> /dev/null` in #(
2716 *the\ am__doit\ target*)
2722 # Now try BSD make style include.
2723 if test "$am__include" = "#"; then
2724 echo '.include "confinc"' > confmf
2725 case `$am_make -s -f confmf 2> /dev/null` in #(
2726 *the\ am__doit\ target*)
2727 am__include=.include
2735 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2736 $as_echo "$_am_result" >&6; }
2737 rm -f confinc confmf
2739 # Check whether --enable-dependency-tracking was given.
2740 if test "${enable_dependency_tracking+set}" = set; then
2741 enableval=$enable_dependency_tracking;
2744 if test "x$enable_dependency_tracking" != xno; then
2745 am_depcomp="$ac_aux_dir/depcomp"
2748 if test "x$enable_dependency_tracking" != xno; then
2758 ac_cpp='$CPP $CPPFLAGS'
2759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2765 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$CC"; then
2771 ac_cv_prog_CC="$CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2781 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:$LINENO: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$ac_cv_prog_CC"; then
2803 # Extract the first word of "gcc", so it can be a program name with args.
2804 set dummy gcc; ac_word=$2
2805 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$ac_ct_CC"; then
2811 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_ac_ct_CC="gcc"
2821 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2831 if test -n "$ac_ct_CC"; then
2832 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2833 $as_echo "$ac_ct_CC" >&6; }
2835 { $as_echo "$as_me:$LINENO: result: no" >&5
2836 $as_echo "no" >&6; }
2839 if test "x$ac_ct_CC" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2854 if test -z "$CC"; then
2855 if test -n "$ac_tool_prefix"; then
2856 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2857 set dummy ${ac_tool_prefix}cc; ac_word=$2
2858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if test "${ac_cv_prog_CC+set}" = set; then
2861 $as_echo_n "(cached) " >&6
2863 if test -n "$CC"; then
2864 ac_cv_prog_CC="$CC" # Let the user override the test.
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873 ac_cv_prog_CC="${ac_tool_prefix}cc"
2874 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test -n "$CC"; then
2885 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2886 $as_echo "$CC" >&6; }
2888 { $as_echo "$as_me:$LINENO: result: no" >&5
2889 $as_echo "no" >&6; }
2895 if test -z "$CC"; then
2896 # Extract the first word of "cc", so it can be a program name with args.
2897 set dummy cc; ac_word=$2
2898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC="$CC" # Let the user override the test.
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2915 ac_prog_rejected=yes
2919 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 if test $ac_prog_rejected = yes; then
2927 # We found a bogon in the path, so make sure we never use it.
2928 set dummy $ac_cv_prog_CC
2930 if test $# != 0; then
2931 # We chose a different compiler from the bogus one.
2932 # However, it has the same basename, so the bogon will be chosen
2933 # first if we set CC to just the basename; use the full file name.
2935 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:$LINENO: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$CC"; then
2952 if test -n "$ac_tool_prefix"; then
2953 for ac_prog in cl.exe
2955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if test "${ac_cv_prog_CC+set}" = set; then
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$CC"; then
2963 ac_cv_prog_CC="$CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2973 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 if test -n "$CC"; then
2984 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2985 $as_echo "$CC" >&6; }
2987 { $as_echo "$as_me:$LINENO: result: no" >&5
2988 $as_echo "no" >&6; }
2992 test -n "$CC" && break
2995 if test -z "$CC"; then
2997 for ac_prog in cl.exe
2999 # Extract the first word of "$ac_prog", so it can be a program name with args.
3000 set dummy $ac_prog; ac_word=$2
3001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$ac_ct_CC"; then
3007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_ac_ct_CC="$ac_prog"
3017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3027 if test -n "$ac_ct_CC"; then
3028 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3029 $as_echo "$ac_ct_CC" >&6; }
3031 { $as_echo "$as_me:$LINENO: result: no" >&5
3032 $as_echo "no" >&6; }
3036 test -n "$ac_ct_CC" && break
3039 if test "x$ac_ct_CC" = x; then
3042 case $cross_compiling:$ac_tool_warned in
3044 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046 ac_tool_warned=yes ;;
3055 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3058 See \`config.log' for more details." >&5
3059 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3060 See \`config.log' for more details." >&2;}
3061 { (exit 1); exit 1; }; }; }
3063 # Provide some information about the compiler.
3064 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3067 { (ac_try="$ac_compiler --version >&5"
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3073 $as_echo "$ac_try_echo") >&5
3074 (eval "$ac_compiler --version >&5") 2>&5
3076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }
3078 { (ac_try="$ac_compiler -v >&5"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084 $as_echo "$ac_try_echo") >&5
3085 (eval "$ac_compiler -v >&5") 2>&5
3087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }
3089 { (ac_try="$ac_compiler -V >&5"
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3095 $as_echo "$ac_try_echo") >&5
3096 (eval "$ac_compiler -V >&5") 2>&5
3098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }
3101 cat >conftest.$ac_ext <<_ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3116 ac_clean_files_save=$ac_clean_files
3117 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3118 # Try to create an executable without -o first, disregard a.out.
3119 # It will help us diagnose broken compilers, and finding out an intuition
3121 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3122 $as_echo_n "checking for C compiler default output file name... " >&6; }
3123 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3125 # The possible output files:
3126 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3129 for ac_file in $ac_files
3132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3133 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3138 if { (ac_try="$ac_link_default"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144 $as_echo "$ac_try_echo") >&5
3145 (eval "$ac_link_default") 2>&5
3147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; then
3149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3152 # so that the user can short-circuit this test for compilers unknown to
3154 for ac_file in $ac_files ''
3156 test -f "$ac_file" || continue
3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3161 # We found the default executable, but exeext='' is most
3165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3169 # We set ac_cv_exeext here because the later test for it is not
3170 # safe: cross compilers may not add the suffix if given an `-o'
3171 # argument, so we may need to know it at that point already.
3172 # Even if this section looks crufty: it has the advantage of
3179 test "$ac_cv_exeext" = no && ac_cv_exeext=
3185 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3186 $as_echo "$ac_file" >&6; }
3187 if test -z "$ac_file"; then
3188 $as_echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3191 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3194 See \`config.log' for more details." >&5
3195 $as_echo "$as_me: error: C compiler cannot create executables
3196 See \`config.log' for more details." >&2;}
3197 { (exit 77); exit 77; }; }; }
3200 ac_exeext=$ac_cv_exeext
3202 # Check that the compiler produces executables we can run. If not, either
3203 # the compiler is broken, or we cross compile.
3204 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3205 $as_echo_n "checking whether the C compiler works... " >&6; }
3206 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3207 # If not cross compiling, check that we can run a simple program.
3208 if test "$cross_compiling" != yes; then
3209 if { ac_try='./$ac_file'
3210 { (case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3215 $as_echo "$ac_try_echo") >&5
3216 (eval "$ac_try") 2>&5
3218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; }; then
3222 if test "$cross_compiling" = maybe; then
3225 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3228 If you meant to cross compile, use \`--host'.
3229 See \`config.log' for more details." >&5
3230 $as_echo "$as_me: error: cannot run C compiled programs.
3231 If you meant to cross compile, use \`--host'.
3232 See \`config.log' for more details." >&2;}
3233 { (exit 1); exit 1; }; }; }
3237 { $as_echo "$as_me:$LINENO: result: yes" >&5
3238 $as_echo "yes" >&6; }
3240 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3241 ac_clean_files=$ac_clean_files_save
3242 # Check that the compiler produces executables we can run. If not, either
3243 # the compiler is broken, or we cross compile.
3244 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3245 $as_echo_n "checking whether we are cross compiling... " >&6; }
3246 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3247 $as_echo "$cross_compiling" >&6; }
3249 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3250 $as_echo_n "checking for suffix of executables... " >&6; }
3251 if { (ac_try="$ac_link"
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3257 $as_echo "$ac_try_echo") >&5
3258 (eval "$ac_link") 2>&5
3260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; then
3262 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3263 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3264 # work properly (i.e., refer to `conftest.exe'), while it won't with
3266 for ac_file in conftest.exe conftest conftest.*; do
3267 test -f "$ac_file" || continue
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3270 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3276 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3279 See \`config.log' for more details." >&5
3280 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3281 See \`config.log' for more details." >&2;}
3282 { (exit 1); exit 1; }; }; }
3285 rm -f conftest$ac_cv_exeext
3286 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3287 $as_echo "$ac_cv_exeext" >&6; }
3289 rm -f conftest.$ac_ext
3290 EXEEXT=$ac_cv_exeext
3292 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3293 $as_echo_n "checking for suffix of object files... " >&6; }
3294 if test "${ac_cv_objext+set}" = set; then
3295 $as_echo_n "(cached) " >&6
3297 cat >conftest.$ac_ext <<_ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3312 rm -f conftest.o conftest.obj
3313 if { (ac_try="$ac_compile"
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316 *) ac_try_echo=$ac_try;;
3318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3319 $as_echo "$ac_try_echo") >&5
3320 (eval "$ac_compile") 2>&5
3322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; then
3324 for ac_file in conftest.o conftest.obj conftest.*; do
3325 test -f "$ac_file" || continue;
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3328 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3333 $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3336 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3339 See \`config.log' for more details." >&5
3340 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3341 See \`config.log' for more details." >&2;}
3342 { (exit 1); exit 1; }; }; }
3345 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3347 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3348 $as_echo "$ac_cv_objext" >&6; }
3349 OBJEXT=$ac_cv_objext
3351 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3352 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3353 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3354 $as_echo_n "(cached) " >&6
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3394 $as_echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3404 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3405 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3406 if test $ac_compiler_gnu = yes; then
3411 ac_test_CFLAGS=${CFLAGS+set}
3412 ac_save_CFLAGS=$CFLAGS
3413 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3415 if test "${ac_cv_prog_cc_g+set}" = set; then
3416 $as_echo_n "(cached) " >&6
3418 ac_save_c_werror_flag=$ac_c_werror_flag
3419 ac_c_werror_flag=yes
3422 cat >conftest.$ac_ext <<_ACEOF
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3437 rm -f conftest.$ac_objext
3438 if { (ac_try="$ac_compile"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3444 $as_echo "$ac_try_echo") >&5
3445 (eval "$ac_compile") 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } && {
3452 test -z "$ac_c_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3457 $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3461 cat >conftest.$ac_ext <<_ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3476 rm -f conftest.$ac_objext
3477 if { (ac_try="$ac_compile"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3483 $as_echo "$ac_try_echo") >&5
3484 (eval "$ac_compile") 2>conftest.er1
3486 grep -v '^ *+' conftest.er1 >conftest.err
3488 cat conftest.err >&5
3489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } && {
3491 test -z "$ac_c_werror_flag" ||
3492 test ! -s conftest.err
3493 } && test -s conftest.$ac_objext; then
3496 $as_echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 ac_c_werror_flag=$ac_save_c_werror_flag
3501 cat >conftest.$ac_ext <<_ACEOF
3504 cat confdefs.h >>conftest.$ac_ext
3505 cat >>conftest.$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3516 rm -f conftest.$ac_objext
3517 if { (ac_try="$ac_compile"
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3523 $as_echo "$ac_try_echo") >&5
3524 (eval "$ac_compile") 2>conftest.er1
3526 grep -v '^ *+' conftest.er1 >conftest.err
3528 cat conftest.err >&5
3529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); } && {
3531 test -z "$ac_c_werror_flag" ||
3532 test ! -s conftest.err
3533 } && test -s conftest.$ac_objext; then
3536 $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3549 ac_c_werror_flag=$ac_save_c_werror_flag
3551 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3552 $as_echo "$ac_cv_prog_cc_g" >&6; }
3553 if test "$ac_test_CFLAGS" = set; then
3554 CFLAGS=$ac_save_CFLAGS
3555 elif test $ac_cv_prog_cc_g = yes; then
3556 if test "$GCC" = yes; then
3562 if test "$GCC" = yes; then
3568 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3569 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3570 if test "${ac_cv_prog_cc_c89+set}" = set; then
3571 $as_echo_n "(cached) " >&6
3573 ac_cv_prog_cc_c89=no
3575 cat >conftest.$ac_ext <<_ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3583 #include <sys/types.h>
3584 #include <sys/stat.h>
3585 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3586 struct buf { int x; };
3587 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3588 static char *e (p, i)
3594 static char *f (char * (*g) (char **, int), char **p, ...)
3599 s = g (p, va_arg (v,int));
3604 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3605 function prototypes and stuff, but not '\xHH' hex character constants.
3606 These don't provoke an error unfortunately, instead are silently treated
3607 as 'x'. The following induces an error, until -std is added to get
3608 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3609 array size at least. It's necessary to write '\x00'==0 to get something
3610 that's true only with -std. */
3611 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3613 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3614 inside strings and character constants. */
3616 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3618 int test (int i, double x);
3619 struct s1 {int (*f) (int a);};
3620 struct s2 {int (*f) (double a);};
3621 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3627 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3632 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3633 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3635 CC="$ac_save_CC $ac_arg"
3636 rm -f conftest.$ac_objext
3637 if { (ac_try="$ac_compile"
3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3643 $as_echo "$ac_try_echo") >&5
3644 (eval "$ac_compile") 2>conftest.er1
3646 grep -v '^ *+' conftest.er1 >conftest.err
3648 cat conftest.err >&5
3649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } && {
3651 test -z "$ac_c_werror_flag" ||
3652 test ! -s conftest.err
3653 } && test -s conftest.$ac_objext; then
3654 ac_cv_prog_cc_c89=$ac_arg
3656 $as_echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3662 rm -f core conftest.err conftest.$ac_objext
3663 test "x$ac_cv_prog_cc_c89" != "xno" && break
3665 rm -f conftest.$ac_ext
3670 case "x$ac_cv_prog_cc_c89" in
3672 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3673 $as_echo "none needed" >&6; } ;;
3675 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3676 $as_echo "unsupported" >&6; } ;;
3678 CC="$CC $ac_cv_prog_cc_c89"
3679 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3680 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3685 ac_cpp='$CPP $CPPFLAGS'
3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 depcc="$CC" am_compiler_list=
3692 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3693 $as_echo_n "checking dependency style of $depcc... " >&6; }
3694 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3695 $as_echo_n "(cached) " >&6
3697 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3698 # We make a subdir and do the tests there. Otherwise we can end up
3699 # making bogus files that we don't know about and never remove. For
3700 # instance it was reported that on HP-UX the gcc test will end up
3701 # making a dummy file named `D' -- because `-MD' means `put the output
3704 # Copy depcomp to subdir because otherwise we won't find it if we're
3705 # using a relative directory.
3706 cp "$am_depcomp" conftest.dir
3708 # We will build objects and dependencies in a subdirectory because
3709 # it helps to detect inapplicable dependency modes. For instance
3710 # both Tru64's cc and ICC support -MD to output dependencies as a
3711 # side effect of compilation, but ICC will put the dependencies in
3712 # the current directory while Tru64 will put them in the object
3716 am_cv_CC_dependencies_compiler_type=none
3717 if test "$am_compiler_list" = ""; then
3718 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3721 case " $depcc " in #(
3722 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3725 for depmode in $am_compiler_list; do
3726 # Setup a source with many dependencies, because some compilers
3727 # like to wrap large dependency lists on column 80 (with \), and
3728 # we should not choose a depcomp mode which is confused by this.
3730 # We need to recreate these files for each test, as the compiler may
3731 # overwrite some of them when testing with obscure command lines.
3732 # This happens at least with the AIX C compiler.
3734 for i in 1 2 3 4 5 6; do
3735 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3736 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3737 # Solaris 8's {/usr,}/bin/sh.
3738 touch sub/conftst$i.h
3740 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3742 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3743 # mode. It turns out that the SunPro C++ compiler does not properly
3744 # handle `-M -o', and we need to detect this. Also, some Intel
3745 # versions had trouble with output in subdirs
3746 am__obj=sub/conftest.${OBJEXT-o}
3747 am__minus_obj="-o $am__obj"
3750 # This depmode causes a compiler race in universal mode.
3751 test "$am__universal" = false || continue
3754 # after this tag, mechanisms are not by side-effect, so they'll
3755 # only be used when explicitly requested
3756 if test "x$enable_dependency_tracking" = xyes; then
3762 msvisualcpp | msvcmsys)
3763 # This compiler won't grok `-c -o', but also, the minuso test has
3764 # not run yet. These depmodes are late enough in the game, and
3765 # so weak that their functioning should not be impacted.
3766 am__obj=conftest.${OBJEXT-o}
3771 if depmode=$depmode \
3772 source=sub/conftest.c object=$am__obj \
3773 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3774 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3775 >/dev/null 2>conftest.err &&
3776 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3777 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3778 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3779 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3780 # icc doesn't choke on unknown options, it will just issue warnings
3781 # or remarks (even with -Werror). So we grep stderr for any message
3782 # that says an option was ignored or not supported.
3783 # When given -MP, icc 7.0 and 7.1 complain thusly:
3784 # icc: Command line warning: ignoring option '-M'; no argument required
3785 # The diagnosis changed in icc 8.0:
3786 # icc: Command line remark: option '-MP' not supported
3787 if (grep 'ignoring option' conftest.err ||
3788 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3789 am_cv_CC_dependencies_compiler_type=$depmode
3798 am_cv_CC_dependencies_compiler_type=none
3802 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3803 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3804 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3807 test "x$enable_dependency_tracking" != xno \
3808 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3810 am__fastdepCC_FALSE='#'
3812 am__fastdepCC_TRUE='#'
3813 am__fastdepCC_FALSE=
3820 case "$am__api_version" in
3822 { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3823 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3824 { (exit 1); exit 1; }; }
3830 if test -n "0.35.0"; then
3831 { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
3832 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3834 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3835 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3836 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3838 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3839 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3840 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3841 { { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
3842 $as_echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
3843 { (exit 1); exit 1; }; }
3846 # Extract the first word of "intltool-update", so it can be a program name with args.
3847 set dummy intltool-update; ac_word=$2
3848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3849 $as_echo_n "checking for $ac_word... " >&6; }
3850 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
3851 $as_echo_n "(cached) " >&6
3853 case $INTLTOOL_UPDATE in
3855 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir=.
3863 for ac_exec_ext in '' $ac_executable_extensions; do
3864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3865 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3866 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3877 if test -n "$INTLTOOL_UPDATE"; then
3878 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
3879 $as_echo "$INTLTOOL_UPDATE" >&6; }
3881 { $as_echo "$as_me:$LINENO: result: no" >&5
3882 $as_echo "no" >&6; }
3886 # Extract the first word of "intltool-merge", so it can be a program name with args.
3887 set dummy intltool-merge; ac_word=$2
3888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
3891 $as_echo_n "(cached) " >&6
3893 case $INTLTOOL_MERGE in
3895 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3906 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3917 if test -n "$INTLTOOL_MERGE"; then
3918 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
3919 $as_echo "$INTLTOOL_MERGE" >&6; }
3921 { $as_echo "$as_me:$LINENO: result: no" >&5
3922 $as_echo "no" >&6; }
3926 # Extract the first word of "intltool-extract", so it can be a program name with args.
3927 set dummy intltool-extract; ac_word=$2
3928 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
3931 $as_echo_n "(cached) " >&6
3933 case $INTLTOOL_EXTRACT in
3935 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3957 if test -n "$INTLTOOL_EXTRACT"; then
3958 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
3959 $as_echo "$INTLTOOL_EXTRACT" >&6; }
3961 { $as_echo "$as_me:$LINENO: result: no" >&5
3962 $as_echo "no" >&6; }
3966 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3967 { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
3968 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
3969 { (exit 1); exit 1; }; }
3972 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 $< $@'
3973 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 $< $@'
3974 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 $< $@'
3975 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 $< $@'
3976 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3977 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 $< $@'
3978 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 $< $@'
3979 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 $< $@'
3980 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 $< $@'
3981 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 $< $@'
3982 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 $< $@'
3983 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3984 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 $< $@'
3985 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 $< $@'
3986 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 $< $@'
3987 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 $< $@'
3988 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 $< $@'
3989 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 $< $@'
3990 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 $< $@'
4088 # Check the gettext tools to make sure they are GNU
4089 # Extract the first word of "xgettext", so it can be a program name with args.
4090 set dummy xgettext; ac_word=$2
4091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4094 $as_echo_n "(cached) " >&6
4098 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 XGETTEXT=$ac_cv_path_XGETTEXT
4120 if test -n "$XGETTEXT"; then
4121 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4122 $as_echo "$XGETTEXT" >&6; }
4124 { $as_echo "$as_me:$LINENO: result: no" >&5
4125 $as_echo "no" >&6; }
4129 # Extract the first word of "msgmerge", so it can be a program name with args.
4130 set dummy msgmerge; ac_word=$2
4131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4134 $as_echo_n "(cached) " >&6
4138 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 MSGMERGE=$ac_cv_path_MSGMERGE
4160 if test -n "$MSGMERGE"; then
4161 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4162 $as_echo "$MSGMERGE" >&6; }
4164 { $as_echo "$as_me:$LINENO: result: no" >&5
4165 $as_echo "no" >&6; }
4169 # Extract the first word of "msgfmt", so it can be a program name with args.
4170 set dummy msgfmt; ac_word=$2
4171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if test "${ac_cv_path_MSGFMT+set}" = set; then
4174 $as_echo_n "(cached) " >&6
4178 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir=.
4186 for ac_exec_ext in '' $ac_executable_extensions; do
4187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4188 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 MSGFMT=$ac_cv_path_MSGFMT
4200 if test -n "$MSGFMT"; then
4201 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4202 $as_echo "$MSGFMT" >&6; }
4204 { $as_echo "$as_me:$LINENO: result: no" >&5
4205 $as_echo "no" >&6; }
4209 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4210 set dummy gmsgfmt; ac_word=$2
4211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4214 $as_echo_n "(cached) " >&6
4218 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 test -z "$as_dir" && as_dir=.
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4240 GMSGFMT=$ac_cv_path_GMSGFMT
4241 if test -n "$GMSGFMT"; then
4242 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4243 $as_echo "$GMSGFMT" >&6; }
4245 { $as_echo "$as_me:$LINENO: result: no" >&5
4246 $as_echo "no" >&6; }
4250 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4251 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4252 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4253 { (exit 1); exit 1; }; }
4255 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4256 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4257 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4258 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4259 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4260 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4261 { (exit 1); exit 1; }; }
4264 # Extract the first word of "perl", so it can be a program name with args.
4265 set dummy perl; ac_word=$2
4266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
4269 $as_echo_n "(cached) " >&6
4271 case $INTLTOOL_PERL in
4273 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir=.
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4283 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4295 if test -n "$INTLTOOL_PERL"; then
4296 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
4297 $as_echo "$INTLTOOL_PERL" >&6; }
4299 { $as_echo "$as_me:$LINENO: result: no" >&5
4300 $as_echo "no" >&6; }
4304 if test -z "$INTLTOOL_PERL"; then
4305 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4306 $as_echo "$as_me: error: perl not found" >&2;}
4307 { (exit 1); exit 1; }; }
4309 { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
4310 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4311 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4312 if test $? -ne 0; then
4313 { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4314 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4315 { (exit 1); exit 1; }; }
4317 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4318 { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
4319 $as_echo "$IT_PERL_VERSION" >&6; }
4321 if test "x" != "xno-xml"; then
4322 { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4323 $as_echo_n "checking for XML::Parser... " >&6; }
4324 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4325 { $as_echo "$as_me:$LINENO: result: ok" >&5
4326 $as_echo "ok" >&6; }
4328 { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4329 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4330 { (exit 1); exit 1; }; }
4334 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4337 # Set DATADIRNAME correctly if it is not set yet
4338 # (copied from glib-gettext.m4)
4339 if test -z "$DATADIRNAME"; then
4340 cat >conftest.$ac_ext <<_ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4350 extern int _nl_msg_cat_cntr;
4351 return _nl_msg_cat_cntr
4356 rm -f conftest.$ac_objext conftest$ac_exeext
4357 if { (ac_try="$ac_link"
4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4363 $as_echo "$ac_try_echo") >&5
4364 (eval "$ac_link") 2>conftest.er1
4366 grep -v '^ *+' conftest.er1 >conftest.err
4368 cat conftest.err >&5
4369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } && {
4371 test -z "$ac_c_werror_flag" ||
4372 test ! -s conftest.err
4373 } && test -s conftest$ac_exeext && {
4374 test "$cross_compiling" = yes ||
4375 $as_test_x conftest$ac_exeext
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4384 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4385 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4386 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4387 $as_echo_n "(cached) " >&6
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4395 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4397 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4399 /* System header to define __stub macros and hopefully few prototypes,
4400 which can conflict with char bind_textdomain_codeset (); below.
4401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4402 <limits.h> exists even on freestanding compilers. */
4405 # include <limits.h>
4407 # include <assert.h>
4410 #undef bind_textdomain_codeset
4412 /* Override any GCC internal prototype to avoid an error.
4413 Use char because int might match the return type of a GCC
4414 builtin and then its argument prototype would still apply. */
4418 char bind_textdomain_codeset ();
4419 /* The GNU C library defines this for functions which it implements
4420 to always fail with ENOSYS. Some functions are actually named
4421 something starting with __ and the normal name is an alias. */
4422 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4429 return bind_textdomain_codeset ();
4434 rm -f conftest.$ac_objext conftest$ac_exeext
4435 if { (ac_try="$ac_link"
4437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4438 *) ac_try_echo=$ac_try;;
4440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4441 $as_echo "$ac_try_echo") >&5
4442 (eval "$ac_link") 2>conftest.er1
4444 grep -v '^ *+' conftest.er1 >conftest.err
4446 cat conftest.err >&5
4447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest$ac_exeext && {
4452 test "$cross_compiling" = yes ||
4453 $as_test_x conftest$ac_exeext
4455 ac_cv_func_bind_textdomain_codeset=yes
4457 $as_echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_func_bind_textdomain_codeset=no
4463 rm -rf conftest.dSYM
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4467 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4468 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4469 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4482 rm -rf conftest.dSYM
4483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4484 conftest$ac_exeext conftest.$ac_ext
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497 if test -n "$ac_tool_prefix"; then
4498 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4499 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if test "${ac_cv_prog_CC+set}" = set; then
4503 $as_echo_n "(cached) " >&6
4505 if test -n "$CC"; then
4506 ac_cv_prog_CC="$CC" # Let the user override the test.
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir=.
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4516 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 if test -n "$CC"; then
4527 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4528 $as_echo "$CC" >&6; }
4530 { $as_echo "$as_me:$LINENO: result: no" >&5
4531 $as_echo "no" >&6; }
4536 if test -z "$ac_cv_prog_CC"; then
4538 # Extract the first word of "gcc", so it can be a program name with args.
4539 set dummy gcc; ac_word=$2
4540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$ac_ct_CC"; then
4546 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_ac_ct_CC="gcc"
4556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4566 if test -n "$ac_ct_CC"; then
4567 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4568 $as_echo "$ac_ct_CC" >&6; }
4570 { $as_echo "$as_me:$LINENO: result: no" >&5
4571 $as_echo "no" >&6; }
4574 if test "x$ac_ct_CC" = x; then
4577 case $cross_compiling:$ac_tool_warned in
4579 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581 ac_tool_warned=yes ;;
4589 if test -z "$CC"; then
4590 if test -n "$ac_tool_prefix"; then
4591 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4592 set dummy ${ac_tool_prefix}cc; ac_word=$2
4593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if test "${ac_cv_prog_CC+set}" = set; then
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$CC"; then
4599 ac_cv_prog_CC="$CC" # Let the user override the test.
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4608 ac_cv_prog_CC="${ac_tool_prefix}cc"
4609 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 if test -n "$CC"; then
4620 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4621 $as_echo "$CC" >&6; }
4623 { $as_echo "$as_me:$LINENO: result: no" >&5
4624 $as_echo "no" >&6; }
4630 if test -z "$CC"; then
4631 # Extract the first word of "cc", so it can be a program name with args.
4632 set dummy cc; ac_word=$2
4633 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_CC+set}" = set; then
4636 $as_echo_n "(cached) " >&6
4638 if test -n "$CC"; then
4639 ac_cv_prog_CC="$CC" # Let the user override the test.
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4650 ac_prog_rejected=yes
4654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 if test $ac_prog_rejected = yes; then
4662 # We found a bogon in the path, so make sure we never use it.
4663 set dummy $ac_cv_prog_CC
4665 if test $# != 0; then
4666 # We chose a different compiler from the bogus one.
4667 # However, it has the same basename, so the bogon will be chosen
4668 # first if we set CC to just the basename; use the full file name.
4670 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4676 if test -n "$CC"; then
4677 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4678 $as_echo "$CC" >&6; }
4680 { $as_echo "$as_me:$LINENO: result: no" >&5
4681 $as_echo "no" >&6; }
4686 if test -z "$CC"; then
4687 if test -n "$ac_tool_prefix"; then
4688 for ac_prog in cl.exe
4690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if test "${ac_cv_prog_CC+set}" = set; then
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$CC"; then
4698 ac_cv_prog_CC="$CC" # Let the user override the test.
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4708 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 if test -n "$CC"; then
4719 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4720 $as_echo "$CC" >&6; }
4722 { $as_echo "$as_me:$LINENO: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$CC" && break
4730 if test -z "$CC"; then
4732 for ac_prog in cl.exe
4734 # Extract the first word of "$ac_prog", so it can be a program name with args.
4735 set dummy $ac_prog; ac_word=$2
4736 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4739 $as_echo_n "(cached) " >&6
4741 if test -n "$ac_ct_CC"; then
4742 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751 ac_cv_prog_ac_ct_CC="$ac_prog"
4752 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4762 if test -n "$ac_ct_CC"; then
4763 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4764 $as_echo "$ac_ct_CC" >&6; }
4766 { $as_echo "$as_me:$LINENO: result: no" >&5
4767 $as_echo "no" >&6; }
4771 test -n "$ac_ct_CC" && break
4774 if test "x$ac_ct_CC" = x; then
4777 case $cross_compiling:$ac_tool_warned in
4779 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4781 ac_tool_warned=yes ;;
4790 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4792 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4793 See \`config.log' for more details." >&5
4794 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4795 See \`config.log' for more details." >&2;}
4796 { (exit 1); exit 1; }; }; }
4798 # Provide some information about the compiler.
4799 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4802 { (ac_try="$ac_compiler --version >&5"
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4808 $as_echo "$ac_try_echo") >&5
4809 (eval "$ac_compiler --version >&5") 2>&5
4811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }
4813 { (ac_try="$ac_compiler -v >&5"
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4819 $as_echo "$ac_try_echo") >&5
4820 (eval "$ac_compiler -v >&5") 2>&5
4822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }
4824 { (ac_try="$ac_compiler -V >&5"
4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4830 $as_echo "$ac_try_echo") >&5
4831 (eval "$ac_compiler -V >&5") 2>&5
4833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); }
4836 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4837 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4838 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4839 $as_echo_n "(cached) " >&6
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4859 rm -f conftest.$ac_objext
4860 if { (ac_try="$ac_compile"
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4866 $as_echo "$ac_try_echo") >&5
4867 (eval "$ac_compile") 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } && {
4874 test -z "$ac_c_werror_flag" ||
4875 test ! -s conftest.err
4876 } && test -s conftest.$ac_objext; then
4879 $as_echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4889 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4890 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4891 if test $ac_compiler_gnu = yes; then
4896 ac_test_CFLAGS=${CFLAGS+set}
4897 ac_save_CFLAGS=$CFLAGS
4898 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4899 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4900 if test "${ac_cv_prog_cc_g+set}" = set; then
4901 $as_echo_n "(cached) " >&6
4903 ac_save_c_werror_flag=$ac_c_werror_flag
4904 ac_c_werror_flag=yes
4907 cat >conftest.$ac_ext <<_ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4922 rm -f conftest.$ac_objext
4923 if { (ac_try="$ac_compile"
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4929 $as_echo "$ac_try_echo") >&5
4930 (eval "$ac_compile") 2>conftest.er1
4932 grep -v '^ *+' conftest.er1 >conftest.err
4934 cat conftest.err >&5
4935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest.$ac_objext; then
4942 $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4946 cat >conftest.$ac_ext <<_ACEOF
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4968 $as_echo "$ac_try_echo") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.$ac_objext; then
4981 $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4984 ac_c_werror_flag=$ac_save_c_werror_flag
4986 cat >conftest.$ac_ext <<_ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
5001 rm -f conftest.$ac_objext
5002 if { (ac_try="$ac_compile"
5004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005 *) ac_try_echo=$ac_try;;
5007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5008 $as_echo "$ac_try_echo") >&5
5009 (eval "$ac_compile") 2>conftest.er1
5011 grep -v '^ *+' conftest.er1 >conftest.err
5013 cat conftest.err >&5
5014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } && {
5016 test -z "$ac_c_werror_flag" ||
5017 test ! -s conftest.err
5018 } && test -s conftest.$ac_objext; then
5021 $as_echo "$as_me: failed program was:" >&5
5022 sed 's/^/| /' conftest.$ac_ext >&5
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 ac_c_werror_flag=$ac_save_c_werror_flag
5036 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5037 $as_echo "$ac_cv_prog_cc_g" >&6; }
5038 if test "$ac_test_CFLAGS" = set; then
5039 CFLAGS=$ac_save_CFLAGS
5040 elif test $ac_cv_prog_cc_g = yes; then
5041 if test "$GCC" = yes; then
5047 if test "$GCC" = yes; then
5053 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5054 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5055 if test "${ac_cv_prog_cc_c89+set}" = set; then
5056 $as_echo_n "(cached) " >&6
5058 ac_cv_prog_cc_c89=no
5060 cat >conftest.$ac_ext <<_ACEOF
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5068 #include <sys/types.h>
5069 #include <sys/stat.h>
5070 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5071 struct buf { int x; };
5072 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5073 static char *e (p, i)
5079 static char *f (char * (*g) (char **, int), char **p, ...)
5084 s = g (p, va_arg (v,int));
5089 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5090 function prototypes and stuff, but not '\xHH' hex character constants.
5091 These don't provoke an error unfortunately, instead are silently treated
5092 as 'x'. The following induces an error, until -std is added to get
5093 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5094 array size at least. It's necessary to write '\x00'==0 to get something
5095 that's true only with -std. */
5096 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5098 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5099 inside strings and character constants. */
5101 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5103 int test (int i, double x);
5104 struct s1 {int (*f) (int a);};
5105 struct s2 {int (*f) (double a);};
5106 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5112 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5117 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5118 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5120 CC="$ac_save_CC $ac_arg"
5121 rm -f conftest.$ac_objext
5122 if { (ac_try="$ac_compile"
5124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5125 *) ac_try_echo=$ac_try;;
5127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5128 $as_echo "$ac_try_echo") >&5
5129 (eval "$ac_compile") 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && {
5136 test -z "$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5138 } && test -s conftest.$ac_objext; then
5139 ac_cv_prog_cc_c89=$ac_arg
5141 $as_echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5147 rm -f core conftest.err conftest.$ac_objext
5148 test "x$ac_cv_prog_cc_c89" != "xno" && break
5150 rm -f conftest.$ac_ext
5155 case "x$ac_cv_prog_cc_c89" in
5157 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5158 $as_echo "none needed" >&6; } ;;
5160 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5161 $as_echo "unsupported" >&6; } ;;
5163 CC="$CC $ac_cv_prog_cc_c89"
5164 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5170 ac_cpp='$CPP $CPPFLAGS'
5171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5175 depcc="$CC" am_compiler_list=
5177 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5178 $as_echo_n "checking dependency style of $depcc... " >&6; }
5179 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5180 $as_echo_n "(cached) " >&6
5182 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5183 # We make a subdir and do the tests there. Otherwise we can end up
5184 # making bogus files that we don't know about and never remove. For
5185 # instance it was reported that on HP-UX the gcc test will end up
5186 # making a dummy file named `D' -- because `-MD' means `put the output
5189 # Copy depcomp to subdir because otherwise we won't find it if we're
5190 # using a relative directory.
5191 cp "$am_depcomp" conftest.dir
5193 # We will build objects and dependencies in a subdirectory because
5194 # it helps to detect inapplicable dependency modes. For instance
5195 # both Tru64's cc and ICC support -MD to output dependencies as a
5196 # side effect of compilation, but ICC will put the dependencies in
5197 # the current directory while Tru64 will put them in the object
5201 am_cv_CC_dependencies_compiler_type=none
5202 if test "$am_compiler_list" = ""; then
5203 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5206 case " $depcc " in #(
5207 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5210 for depmode in $am_compiler_list; do
5211 # Setup a source with many dependencies, because some compilers
5212 # like to wrap large dependency lists on column 80 (with \), and
5213 # we should not choose a depcomp mode which is confused by this.
5215 # We need to recreate these files for each test, as the compiler may
5216 # overwrite some of them when testing with obscure command lines.
5217 # This happens at least with the AIX C compiler.
5219 for i in 1 2 3 4 5 6; do
5220 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5221 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5222 # Solaris 8's {/usr,}/bin/sh.
5223 touch sub/conftst$i.h
5225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5227 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5228 # mode. It turns out that the SunPro C++ compiler does not properly
5229 # handle `-M -o', and we need to detect this. Also, some Intel
5230 # versions had trouble with output in subdirs
5231 am__obj=sub/conftest.${OBJEXT-o}
5232 am__minus_obj="-o $am__obj"
5235 # This depmode causes a compiler race in universal mode.
5236 test "$am__universal" = false || continue
5239 # after this tag, mechanisms are not by side-effect, so they'll
5240 # only be used when explicitly requested
5241 if test "x$enable_dependency_tracking" = xyes; then
5247 msvisualcpp | msvcmsys)
5248 # This compiler won't grok `-c -o', but also, the minuso test has
5249 # not run yet. These depmodes are late enough in the game, and
5250 # so weak that their functioning should not be impacted.
5251 am__obj=conftest.${OBJEXT-o}
5256 if depmode=$depmode \
5257 source=sub/conftest.c object=$am__obj \
5258 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5259 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5260 >/dev/null 2>conftest.err &&
5261 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5262 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5263 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5264 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5265 # icc doesn't choke on unknown options, it will just issue warnings
5266 # or remarks (even with -Werror). So we grep stderr for any message
5267 # that says an option was ignored or not supported.
5268 # When given -MP, icc 7.0 and 7.1 complain thusly:
5269 # icc: Command line warning: ignoring option '-M'; no argument required
5270 # The diagnosis changed in icc 8.0:
5271 # icc: Command line remark: option '-MP' not supported
5272 if (grep 'ignoring option' conftest.err ||
5273 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5274 am_cv_CC_dependencies_compiler_type=$depmode
5283 am_cv_CC_dependencies_compiler_type=none
5287 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5288 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5289 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5292 test "x$enable_dependency_tracking" != xno \
5293 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5295 am__fastdepCC_FALSE='#'
5297 am__fastdepCC_TRUE='#'
5298 am__fastdepCC_FALSE=
5303 ac_cpp='$CPP $CPPFLAGS'
5304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5307 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5308 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5309 # On Suns, sometimes $CPP names a directory.
5310 if test -n "$CPP" && test -d "$CPP"; then
5313 if test -z "$CPP"; then
5314 if test "${ac_cv_prog_CPP+set}" = set; then
5315 $as_echo_n "(cached) " >&6
5317 # Double quotes because CPP needs to be expanded
5318 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5321 for ac_c_preproc_warn_flag in '' yes
5323 # Use a header file that comes with gcc, so configuring glibc
5324 # with a fresh cross-compiler works.
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser,
5328 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat >conftest.$ac_ext <<_ACEOF
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5336 # include <limits.h>
5338 # include <assert.h>
5342 if { (ac_try="$ac_cpp conftest.$ac_ext"
5344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345 *) ac_try_echo=$ac_try;;
5347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5348 $as_echo "$ac_try_echo") >&5
5349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5351 grep -v '^ *+' conftest.er1 >conftest.err
5353 cat conftest.err >&5
5354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); } >/dev/null && {
5356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5357 test ! -s conftest.err
5361 $as_echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5364 # Broken: fails on valid input.
5368 rm -f conftest.err conftest.$ac_ext
5370 # OK, works on sane cases. Now check whether nonexistent headers
5371 # can be detected and how.
5372 cat >conftest.$ac_ext <<_ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5378 #include <ac_nonexistent.h>
5380 if { (ac_try="$ac_cpp conftest.$ac_ext"
5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5386 $as_echo "$ac_try_echo") >&5
5387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5389 grep -v '^ *+' conftest.er1 >conftest.err
5391 cat conftest.err >&5
5392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); } >/dev/null && {
5394 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5395 test ! -s conftest.err
5397 # Broken: success on invalid input.
5400 $as_echo "$as_me: failed program was:" >&5
5401 sed 's/^/| /' conftest.$ac_ext >&5
5403 # Passes both tests.
5408 rm -f conftest.err conftest.$ac_ext
5411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5412 rm -f conftest.err conftest.$ac_ext
5413 if $ac_preproc_ok; then
5425 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5426 $as_echo "$CPP" >&6; }
5428 for ac_c_preproc_warn_flag in '' yes
5430 # Use a header file that comes with gcc, so configuring glibc
5431 # with a fresh cross-compiler works.
5432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5433 # <limits.h> exists even on freestanding compilers.
5434 # On the NeXT, cc -E runs the code through the compiler's parser,
5435 # not just through cpp. "Syntax error" is here to catch this case.
5436 cat >conftest.$ac_ext <<_ACEOF
5439 cat confdefs.h >>conftest.$ac_ext
5440 cat >>conftest.$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5443 # include <limits.h>
5445 # include <assert.h>
5449 if { (ac_try="$ac_cpp conftest.$ac_ext"
5451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452 *) ac_try_echo=$ac_try;;
5454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5455 $as_echo "$ac_try_echo") >&5
5456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5458 grep -v '^ *+' conftest.er1 >conftest.err
5460 cat conftest.err >&5
5461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } >/dev/null && {
5463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5464 test ! -s conftest.err
5468 $as_echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5471 # Broken: fails on valid input.
5475 rm -f conftest.err conftest.$ac_ext
5477 # OK, works on sane cases. Now check whether nonexistent headers
5478 # can be detected and how.
5479 cat >conftest.$ac_ext <<_ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485 #include <ac_nonexistent.h>
5487 if { (ac_try="$ac_cpp conftest.$ac_ext"
5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490 *) ac_try_echo=$ac_try;;
5492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5493 $as_echo "$ac_try_echo") >&5
5494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5496 grep -v '^ *+' conftest.er1 >conftest.err
5498 cat conftest.err >&5
5499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); } >/dev/null && {
5501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5502 test ! -s conftest.err
5504 # Broken: success on invalid input.
5507 $as_echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.$ac_ext >&5
5510 # Passes both tests.
5515 rm -f conftest.err conftest.$ac_ext
5518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5519 rm -f conftest.err conftest.$ac_ext
5520 if $ac_preproc_ok; then
5523 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5525 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5526 See \`config.log' for more details." >&5
5527 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5528 See \`config.log' for more details." >&2;}
5529 { (exit 1); exit 1; }; }; }
5533 ac_cpp='$CPP $CPPFLAGS'
5534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5539 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5541 if test "${ac_cv_path_GREP+set}" = set; then
5542 $as_echo_n "(cached) " >&6
5544 if test -z "$GREP"; then
5545 ac_path_GREP_found=false
5546 # Loop through the user's path and test for each of PROGNAME-LIST
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5551 test -z "$as_dir" && as_dir=.
5552 for ac_prog in grep ggrep; do
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5555 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5556 # Check for GNU ac_path_GREP and select it if it is found.
5557 # Check for GNU $ac_path_GREP
5558 case `"$ac_path_GREP" --version 2>&1` in
5560 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5563 $as_echo_n 0123456789 >"conftest.in"
5566 cat "conftest.in" "conftest.in" >"conftest.tmp"
5567 mv "conftest.tmp" "conftest.in"
5568 cp "conftest.in" "conftest.nl"
5569 $as_echo 'GREP' >> "conftest.nl"
5570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5572 ac_count=`expr $ac_count + 1`
5573 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5574 # Best one so far, save it but keep looking for a better one
5575 ac_cv_path_GREP="$ac_path_GREP"
5576 ac_path_GREP_max=$ac_count
5578 # 10*(2^10) chars as input seems more than enough
5579 test $ac_count -gt 10 && break
5581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5584 $ac_path_GREP_found && break 3
5589 if test -z "$ac_cv_path_GREP"; then
5590 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5591 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5592 { (exit 1); exit 1; }; }
5595 ac_cv_path_GREP=$GREP
5599 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5600 $as_echo "$ac_cv_path_GREP" >&6; }
5601 GREP="$ac_cv_path_GREP"
5604 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5605 $as_echo_n "checking for egrep... " >&6; }
5606 if test "${ac_cv_path_EGREP+set}" = set; then
5607 $as_echo_n "(cached) " >&6
5609 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5610 then ac_cv_path_EGREP="$GREP -E"
5612 if test -z "$EGREP"; then
5613 ac_path_EGREP_found=false
5614 # Loop through the user's path and test for each of PROGNAME-LIST
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5619 test -z "$as_dir" && as_dir=.
5620 for ac_prog in egrep; do
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5623 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5624 # Check for GNU ac_path_EGREP and select it if it is found.
5625 # Check for GNU $ac_path_EGREP
5626 case `"$ac_path_EGREP" --version 2>&1` in
5628 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5631 $as_echo_n 0123456789 >"conftest.in"
5634 cat "conftest.in" "conftest.in" >"conftest.tmp"
5635 mv "conftest.tmp" "conftest.in"
5636 cp "conftest.in" "conftest.nl"
5637 $as_echo 'EGREP' >> "conftest.nl"
5638 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5640 ac_count=`expr $ac_count + 1`
5641 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5642 # Best one so far, save it but keep looking for a better one
5643 ac_cv_path_EGREP="$ac_path_EGREP"
5644 ac_path_EGREP_max=$ac_count
5646 # 10*(2^10) chars as input seems more than enough
5647 test $ac_count -gt 10 && break
5649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5652 $ac_path_EGREP_found && break 3
5657 if test -z "$ac_cv_path_EGREP"; then
5658 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5659 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5660 { (exit 1); exit 1; }; }
5663 ac_cv_path_EGREP=$EGREP
5668 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5669 $as_echo "$ac_cv_path_EGREP" >&6; }
5670 EGREP="$ac_cv_path_EGREP"
5673 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5674 $as_echo_n "checking for ANSI C header files... " >&6; }
5675 if test "${ac_cv_header_stdc+set}" = set; then
5676 $as_echo_n "(cached) " >&6
5678 cat >conftest.$ac_ext <<_ACEOF
5681 cat confdefs.h >>conftest.$ac_ext
5682 cat >>conftest.$ac_ext <<_ACEOF
5683 /* end confdefs.h. */
5697 rm -f conftest.$ac_objext
5698 if { (ac_try="$ac_compile"
5700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5701 *) ac_try_echo=$ac_try;;
5703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5704 $as_echo "$ac_try_echo") >&5
5705 (eval "$ac_compile") 2>conftest.er1
5707 grep -v '^ *+' conftest.er1 >conftest.err
5709 cat conftest.err >&5
5710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } && {
5712 test -z "$ac_c_werror_flag" ||
5713 test ! -s conftest.err
5714 } && test -s conftest.$ac_objext; then
5715 ac_cv_header_stdc=yes
5717 $as_echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.$ac_ext >&5
5720 ac_cv_header_stdc=no
5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5725 if test $ac_cv_header_stdc = yes; then
5726 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5727 cat >conftest.$ac_ext <<_ACEOF
5730 cat confdefs.h >>conftest.$ac_ext
5731 cat >>conftest.$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5737 $EGREP "memchr" >/dev/null 2>&1; then
5740 ac_cv_header_stdc=no
5746 if test $ac_cv_header_stdc = yes; then
5747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5748 cat >conftest.$ac_ext <<_ACEOF
5751 cat confdefs.h >>conftest.$ac_ext
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5758 $EGREP "free" >/dev/null 2>&1; then
5761 ac_cv_header_stdc=no
5767 if test $ac_cv_header_stdc = yes; then
5768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5769 if test "$cross_compiling" = yes; then
5772 cat >conftest.$ac_ext <<_ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5780 #if ((' ' & 0x0FF) == 0x020)
5781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5784 # define ISLOWER(c) \
5785 (('a' <= (c) && (c) <= 'i') \
5786 || ('j' <= (c) && (c) <= 'r') \
5787 || ('s' <= (c) && (c) <= 'z'))
5788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5796 for (i = 0; i < 256; i++)
5797 if (XOR (islower (i), ISLOWER (i))
5798 || toupper (i) != TOUPPER (i))
5803 rm -f conftest$ac_exeext
5804 if { (ac_try="$ac_link"
5806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5810 $as_echo "$ac_try_echo") >&5
5811 (eval "$ac_link") 2>&5
5813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5815 { (case "(($ac_try" in
5816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5817 *) ac_try_echo=$ac_try;;
5819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5820 $as_echo "$ac_try_echo") >&5
5821 (eval "$ac_try") 2>&5
5823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); }; }; then
5827 $as_echo "$as_me: program exited with status $ac_status" >&5
5828 $as_echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5832 ac_cv_header_stdc=no
5834 rm -rf conftest.dSYM
5835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5841 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5842 $as_echo "$ac_cv_header_stdc" >&6; }
5843 if test $ac_cv_header_stdc = yes; then
5845 cat >>confdefs.h <<\_ACEOF
5846 #define STDC_HEADERS 1
5853 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5854 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5859 macro_version='2.2.6'
5860 macro_revision='1.3012'
5874 ltmain="$ac_aux_dir/ltmain.sh"
5876 # Make sure we can run config.sub.
5877 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5878 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5879 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5880 { (exit 1); exit 1; }; }
5882 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5883 $as_echo_n "checking build system type... " >&6; }
5884 if test "${ac_cv_build+set}" = set; then
5885 $as_echo_n "(cached) " >&6
5887 ac_build_alias=$build_alias
5888 test "x$ac_build_alias" = x &&
5889 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5890 test "x$ac_build_alias" = x &&
5891 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5892 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5893 { (exit 1); exit 1; }; }
5894 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5895 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5896 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5897 { (exit 1); exit 1; }; }
5900 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5901 $as_echo "$ac_cv_build" >&6; }
5902 case $ac_cv_build in
5904 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5905 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5906 { (exit 1); exit 1; }; };;
5909 ac_save_IFS=$IFS; IFS='-'
5915 # Remember, the first character of IFS is used to create $*,
5916 # except with old shells:
5919 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5922 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5923 $as_echo_n "checking host system type... " >&6; }
5924 if test "${ac_cv_host+set}" = set; then
5925 $as_echo_n "(cached) " >&6
5927 if test "x$host_alias" = x; then
5928 ac_cv_host=$ac_cv_build
5930 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5931 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5932 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5933 { (exit 1); exit 1; }; }
5937 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5938 $as_echo "$ac_cv_host" >&6; }
5941 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5942 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5943 { (exit 1); exit 1; }; };;
5946 ac_save_IFS=$IFS; IFS='-'
5952 # Remember, the first character of IFS is used to create $*,
5953 # except with old shells:
5956 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5959 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5960 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5961 if test "${ac_cv_path_SED+set}" = set; then
5962 $as_echo_n "(cached) " >&6
5964 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5965 for ac_i in 1 2 3 4 5 6 7; do
5966 ac_script="$ac_script$as_nl$ac_script"
5968 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5969 $as_unset ac_script || ac_script=
5970 if test -z "$SED"; then
5971 ac_path_SED_found=false
5972 # Loop through the user's path and test for each of PROGNAME-LIST
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_prog in sed gsed; do
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5981 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5982 # Check for GNU ac_path_SED and select it if it is found.
5983 # Check for GNU $ac_path_SED
5984 case `"$ac_path_SED" --version 2>&1` in
5986 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5989 $as_echo_n 0123456789 >"conftest.in"
5992 cat "conftest.in" "conftest.in" >"conftest.tmp"
5993 mv "conftest.tmp" "conftest.in"
5994 cp "conftest.in" "conftest.nl"
5995 $as_echo '' >> "conftest.nl"
5996 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5997 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5998 ac_count=`expr $ac_count + 1`
5999 if test $ac_count -gt ${ac_path_SED_max-0}; then
6000 # Best one so far, save it but keep looking for a better one
6001 ac_cv_path_SED="$ac_path_SED"
6002 ac_path_SED_max=$ac_count
6004 # 10*(2^10) chars as input seems more than enough
6005 test $ac_count -gt 10 && break
6007 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6010 $ac_path_SED_found && break 3
6015 if test -z "$ac_cv_path_SED"; then
6016 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6017 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6018 { (exit 1); exit 1; }; }
6025 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6026 $as_echo "$ac_cv_path_SED" >&6; }
6027 SED="$ac_cv_path_SED"
6030 test -z "$SED" && SED=sed
6031 Xsed="$SED -e 1s/^X//"
6043 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6044 $as_echo_n "checking for fgrep... " >&6; }
6045 if test "${ac_cv_path_FGREP+set}" = set; then
6046 $as_echo_n "(cached) " >&6
6048 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6049 then ac_cv_path_FGREP="$GREP -F"
6051 if test -z "$FGREP"; then
6052 ac_path_FGREP_found=false
6053 # Loop through the user's path and test for each of PROGNAME-LIST
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6058 test -z "$as_dir" && as_dir=.
6059 for ac_prog in fgrep; do
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6062 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6063 # Check for GNU ac_path_FGREP and select it if it is found.
6064 # Check for GNU $ac_path_FGREP
6065 case `"$ac_path_FGREP" --version 2>&1` in
6067 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6070 $as_echo_n 0123456789 >"conftest.in"
6073 cat "conftest.in" "conftest.in" >"conftest.tmp"
6074 mv "conftest.tmp" "conftest.in"
6075 cp "conftest.in" "conftest.nl"
6076 $as_echo 'FGREP' >> "conftest.nl"
6077 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6078 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6079 ac_count=`expr $ac_count + 1`
6080 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6081 # Best one so far, save it but keep looking for a better one
6082 ac_cv_path_FGREP="$ac_path_FGREP"
6083 ac_path_FGREP_max=$ac_count
6085 # 10*(2^10) chars as input seems more than enough
6086 test $ac_count -gt 10 && break
6088 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6091 $ac_path_FGREP_found && break 3
6096 if test -z "$ac_cv_path_FGREP"; then
6097 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6098 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6099 { (exit 1); exit 1; }; }
6102 ac_cv_path_FGREP=$FGREP
6107 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6108 $as_echo "$ac_cv_path_FGREP" >&6; }
6109 FGREP="$ac_cv_path_FGREP"
6112 test -z "$GREP" && GREP=grep
6132 # Check whether --with-gnu-ld was given.
6133 if test "${with_gnu_ld+set}" = set; then
6134 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6140 if test "$GCC" = yes; then
6141 # Check if gcc -print-prog-name=ld gives a path.
6142 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6143 $as_echo_n "checking for ld used by $CC... " >&6; }
6146 # gcc leaves a trailing carriage return which upsets mingw
6147 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6149 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6152 # Accept absolute paths.
6154 re_direlt='/[^/][^/]*/\.\./'
6155 # Canonicalize the pathname of ld
6156 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6157 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6158 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6160 test -z "$LD" && LD="$ac_prog"
6163 # If it fails, then pretend we aren't using GCC.
6167 # If it is relative, then search for the first ld in PATH.
6171 elif test "$with_gnu_ld" = yes; then
6172 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
6173 $as_echo_n "checking for GNU ld... " >&6; }
6175 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6176 $as_echo_n "checking for non-GNU ld... " >&6; }
6178 if test "${lt_cv_path_LD+set}" = set; then
6179 $as_echo_n "(cached) " >&6
6181 if test -z "$LD"; then
6182 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6183 for ac_dir in $PATH; do
6185 test -z "$ac_dir" && ac_dir=.
6186 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6187 lt_cv_path_LD="$ac_dir/$ac_prog"
6188 # Check to see if the program is GNU ld. I'd rather use --version,
6189 # but apparently some variants of GNU ld only accept -v.
6190 # Break only if it was the GNU/non-GNU ld that we prefer.
6191 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6192 *GNU* | *'with BFD'*)
6193 test "$with_gnu_ld" != no && break
6196 test "$with_gnu_ld" != yes && break
6203 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6208 if test -n "$LD"; then
6209 { $as_echo "$as_me:$LINENO: result: $LD" >&5
6210 $as_echo "$LD" >&6; }
6212 { $as_echo "$as_me:$LINENO: result: no" >&5
6213 $as_echo "no" >&6; }
6215 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6216 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6217 { (exit 1); exit 1; }; }
6218 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6219 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6220 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6221 $as_echo_n "(cached) " >&6
6223 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6224 case `$LD -v 2>&1 </dev/null` in
6225 *GNU* | *'with BFD'*)
6226 lt_cv_prog_gnu_ld=yes
6229 lt_cv_prog_gnu_ld=no
6233 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6234 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6235 with_gnu_ld=$lt_cv_prog_gnu_ld
6245 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6246 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6247 if test "${lt_cv_path_NM+set}" = set; then
6248 $as_echo_n "(cached) " >&6
6250 if test -n "$NM"; then
6251 # Let the user override the test.
6254 lt_nm_to_check="${ac_tool_prefix}nm"
6255 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6256 lt_nm_to_check="$lt_nm_to_check nm"
6258 for lt_tmp_nm in $lt_nm_to_check; do
6259 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6260 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6262 test -z "$ac_dir" && ac_dir=.
6263 tmp_nm="$ac_dir/$lt_tmp_nm"
6264 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6265 # Check to see if the nm accepts a BSD-compat flag.
6266 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6267 # nm: unknown option "B" ignored
6268 # Tru64's nm complains that /dev/null is an invalid object file
6269 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6270 */dev/null* | *'Invalid file or object type'*)
6271 lt_cv_path_NM="$tmp_nm -B"
6275 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6277 lt_cv_path_NM="$tmp_nm -p"
6281 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6282 continue # so that we can try to find one that supports BSD flags
6291 : ${lt_cv_path_NM=no}
6294 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6295 $as_echo "$lt_cv_path_NM" >&6; }
6296 if test "$lt_cv_path_NM" != "no"; then
6299 # Didn't find any BSD compatible name lister, look for dumpbin.
6300 if test -n "$ac_tool_prefix"; then
6301 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6308 $as_echo_n "(cached) " >&6
6310 if test -n "$DUMPBIN"; then
6311 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6321 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 DUMPBIN=$ac_cv_prog_DUMPBIN
6331 if test -n "$DUMPBIN"; then
6332 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6333 $as_echo "$DUMPBIN" >&6; }
6335 { $as_echo "$as_me:$LINENO: result: no" >&5
6336 $as_echo "no" >&6; }
6340 test -n "$DUMPBIN" && break
6343 if test -z "$DUMPBIN"; then
6344 ac_ct_DUMPBIN=$DUMPBIN
6345 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6347 # Extract the first word of "$ac_prog", so it can be a program name with args.
6348 set dummy $ac_prog; ac_word=$2
6349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6352 $as_echo_n "(cached) " >&6
6354 if test -n "$ac_ct_DUMPBIN"; then
6355 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6365 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6375 if test -n "$ac_ct_DUMPBIN"; then
6376 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6377 $as_echo "$ac_ct_DUMPBIN" >&6; }
6379 { $as_echo "$as_me:$LINENO: result: no" >&5
6380 $as_echo "no" >&6; }
6384 test -n "$ac_ct_DUMPBIN" && break
6387 if test "x$ac_ct_DUMPBIN" = x; then
6390 case $cross_compiling:$ac_tool_warned in
6392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6394 ac_tool_warned=yes ;;
6396 DUMPBIN=$ac_ct_DUMPBIN
6401 if test "$DUMPBIN" != ":"; then
6405 test -z "$NM" && NM=nm
6412 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6413 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6414 if test "${lt_cv_nm_interface+set}" = set; then
6415 $as_echo_n "(cached) " >&6
6417 lt_cv_nm_interface="BSD nm"
6418 echo "int some_variable = 0;" > conftest.$ac_ext
6419 (eval echo "\"\$as_me:6419: $ac_compile\"" >&5)
6420 (eval "$ac_compile" 2>conftest.err)
6421 cat conftest.err >&5
6422 (eval echo "\"\$as_me:6422: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6423 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6424 cat conftest.err >&5
6425 (eval echo "\"\$as_me:6425: output\"" >&5)
6426 cat conftest.out >&5
6427 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6428 lt_cv_nm_interface="MS dumpbin"
6432 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6433 $as_echo "$lt_cv_nm_interface" >&6; }
6435 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6436 $as_echo_n "checking whether ln -s works... " >&6; }
6438 if test "$LN_S" = "ln -s"; then
6439 { $as_echo "$as_me:$LINENO: result: yes" >&5
6440 $as_echo "yes" >&6; }
6442 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6443 $as_echo "no, using $LN_S" >&6; }
6446 # find the maximum length of command line arguments
6447 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6448 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6449 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6450 $as_echo_n "(cached) " >&6
6457 # On DJGPP, this test can blow up pretty badly due to problems in libc
6458 # (any single argument exceeding 2000 bytes causes a buffer overrun
6459 # during glob expansion). Even if it were fixed, the result of this
6460 # check would be larger than it should be.
6461 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6465 # Under GNU Hurd, this test is not required because there is
6466 # no limit to the length of command line arguments.
6467 # Libtool will interpret -1 as no limit whatsoever
6468 lt_cv_sys_max_cmd_len=-1;
6471 cygwin* | mingw* | cegcc*)
6472 # On Win9x/ME, this test blows up -- it succeeds, but takes
6473 # about 5 minutes as the teststring grows exponentially.
6474 # Worse, since 9x/ME are not pre-emptively multitasking,
6475 # you end up with a "frozen" computer, even though with patience
6476 # the test eventually succeeds (with a max line length of 256k).
6477 # Instead, let's just punt: use the minimum linelength reported by
6478 # all of the supported platforms: 8192 (on NT/2K/XP).
6479 lt_cv_sys_max_cmd_len=8192;
6483 # On AmigaOS with pdksh, this test takes hours, literally.
6484 # So we just punt and use a minimum line length of 8192.
6485 lt_cv_sys_max_cmd_len=8192;
6488 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6489 # This has been around since 386BSD, at least. Likely further.
6490 if test -x /sbin/sysctl; then
6491 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6492 elif test -x /usr/sbin/sysctl; then
6493 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6495 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6497 # And add a safety zone
6498 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6499 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6503 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6504 lt_cv_sys_max_cmd_len=196608
6508 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6509 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6510 # nice to cause kernel panics so lets avoid the loop below.
6511 # First set a reasonable default.
6512 lt_cv_sys_max_cmd_len=16384
6514 if test -x /sbin/sysconfig; then
6515 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6516 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6521 lt_cv_sys_max_cmd_len=102400
6523 sysv5* | sco5v6* | sysv4.2uw2*)
6524 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6525 if test -n "$kargmax"; then
6526 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6528 lt_cv_sys_max_cmd_len=32768
6532 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6533 if test -n "$lt_cv_sys_max_cmd_len"; then
6534 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6535 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6537 # Make teststring a little bigger before we do anything with it.
6538 # a 1K string should be a reasonable start.
6539 for i in 1 2 3 4 5 6 7 8 ; do
6540 teststring=$teststring$teststring
6542 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6543 # If test is not a shell built-in, we'll probably end up computing a
6544 # maximum length that is only half of the actual maximum length, but
6546 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6547 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6548 test $i != 17 # 1/2 MB should be enough
6551 teststring=$teststring$teststring
6553 # Only check the string length outside the loop.
6554 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6556 # Add a significant safety factor because C++ compilers can tack on
6557 # massive amounts of additional arguments before passing them to the
6558 # linker. It appears as though 1/2 is a usable value.
6559 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6566 if test -n $lt_cv_sys_max_cmd_len ; then
6567 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6568 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6570 { $as_echo "$as_me:$LINENO: result: none" >&5
6571 $as_echo "none" >&6; }
6573 max_cmd_len=$lt_cv_sys_max_cmd_len
6584 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6585 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6586 # Try some XSI features
6589 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6591 && eval 'test $(( 1 + 1 )) -eq 2 \
6592 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6594 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6595 $as_echo "$xsi_shell" >&6; }
6598 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6599 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6601 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6603 && lt_shell_append=yes
6604 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6605 $as_echo "$lt_shell_append" >&6; }
6608 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6618 # test EBCDIC or ASCII
6619 case `echo X|tr X '\101'` in
6620 A) # ASCII based system
6621 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6622 lt_SP2NL='tr \040 \012'
6623 lt_NL2SP='tr \015\012 \040\040'
6625 *) # EBCDIC based system
6626 lt_SP2NL='tr \100 \n'
6627 lt_NL2SP='tr \r\n \100\100'
6639 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6640 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6641 if test "${lt_cv_ld_reload_flag+set}" = set; then
6642 $as_echo_n "(cached) " >&6
6644 lt_cv_ld_reload_flag='-r'
6646 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6647 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6648 reload_flag=$lt_cv_ld_reload_flag
6649 case $reload_flag in
6651 *) reload_flag=" $reload_flag" ;;
6653 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6656 if test "$GCC" = yes; then
6657 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6659 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6672 if test -n "$ac_tool_prefix"; then
6673 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6674 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6678 $as_echo_n "(cached) " >&6
6680 if test -n "$OBJDUMP"; then
6681 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6691 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 OBJDUMP=$ac_cv_prog_OBJDUMP
6701 if test -n "$OBJDUMP"; then
6702 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6703 $as_echo "$OBJDUMP" >&6; }
6705 { $as_echo "$as_me:$LINENO: result: no" >&5
6706 $as_echo "no" >&6; }
6711 if test -z "$ac_cv_prog_OBJDUMP"; then
6712 ac_ct_OBJDUMP=$OBJDUMP
6713 # Extract the first word of "objdump", so it can be a program name with args.
6714 set dummy objdump; ac_word=$2
6715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6718 $as_echo_n "(cached) " >&6
6720 if test -n "$ac_ct_OBJDUMP"; then
6721 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6731 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6741 if test -n "$ac_ct_OBJDUMP"; then
6742 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6743 $as_echo "$ac_ct_OBJDUMP" >&6; }
6745 { $as_echo "$as_me:$LINENO: result: no" >&5
6746 $as_echo "no" >&6; }
6749 if test "x$ac_ct_OBJDUMP" = x; then
6752 case $cross_compiling:$ac_tool_warned in
6754 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6756 ac_tool_warned=yes ;;
6758 OBJDUMP=$ac_ct_OBJDUMP
6761 OBJDUMP="$ac_cv_prog_OBJDUMP"
6764 test -z "$OBJDUMP" && OBJDUMP=objdump
6774 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6775 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6776 if test "${lt_cv_deplibs_check_method+set}" = set; then
6777 $as_echo_n "(cached) " >&6
6779 lt_cv_file_magic_cmd='$MAGIC_CMD'
6780 lt_cv_file_magic_test_file=
6781 lt_cv_deplibs_check_method='unknown'
6782 # Need to set the preceding variable on all platforms that support
6783 # interlibrary dependencies.
6784 # 'none' -- dependencies not supported.
6785 # `unknown' -- same as none, but documents that we really don't know.
6786 # 'pass_all' -- all dependencies passed with no checks.
6787 # 'test_compile' -- check by making test program.
6788 # 'file_magic [[regex]]' -- check by looking for files in library path
6789 # which responds to the $file_magic_cmd with a given extended regex.
6790 # If you have `file' or equivalent on your system and you're not sure
6791 # whether `pass_all' will *always* work, you probably want this one.
6795 lt_cv_deplibs_check_method=pass_all
6799 lt_cv_deplibs_check_method=pass_all
6803 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6804 lt_cv_file_magic_cmd='/usr/bin/file -L'
6805 lt_cv_file_magic_test_file=/shlib/libc.so
6809 # func_win32_libid is a shell function defined in ltmain.sh
6810 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6811 lt_cv_file_magic_cmd='func_win32_libid'
6815 # Base MSYS/MinGW do not provide the 'file' command needed by
6816 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6817 # unless we find 'file', for example because we are cross-compiling.
6818 if ( file / ) >/dev/null 2>&1; then
6819 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6820 lt_cv_file_magic_cmd='func_win32_libid'
6822 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6823 lt_cv_file_magic_cmd='$OBJDUMP -f'
6828 # use the weaker test based on 'objdump'. See mingw*.
6829 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6830 lt_cv_file_magic_cmd='$OBJDUMP -f'
6833 darwin* | rhapsody*)
6834 lt_cv_deplibs_check_method=pass_all
6837 freebsd* | dragonfly*)
6838 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6841 # Not sure whether the presence of OpenBSD here was a mistake.
6842 # Let's accept both of them until this is cleared up.
6843 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6844 lt_cv_file_magic_cmd=/usr/bin/file
6845 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6849 lt_cv_deplibs_check_method=pass_all
6854 lt_cv_deplibs_check_method=pass_all
6857 hpux10.20* | hpux11*)
6858 lt_cv_file_magic_cmd=/usr/bin/file
6861 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6862 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6865 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]'
6866 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6869 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6870 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6876 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6877 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6880 irix5* | irix6* | nonstopux*)
6882 *-32|*"-32 ") libmagic=32-bit;;
6883 *-n32|*"-n32 ") libmagic=N32;;
6884 *-64|*"-64 ") libmagic=64-bit;;
6885 *) libmagic=never-match;;
6887 lt_cv_deplibs_check_method=pass_all
6890 # This must be Linux ELF.
6891 linux* | k*bsd*-gnu)
6892 lt_cv_deplibs_check_method=pass_all
6896 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6897 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6899 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6904 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6905 lt_cv_file_magic_cmd=/usr/bin/file
6906 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6910 lt_cv_deplibs_check_method=pass_all
6914 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6915 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6917 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6921 osf3* | osf4* | osf5*)
6922 lt_cv_deplibs_check_method=pass_all
6926 lt_cv_deplibs_check_method=pass_all
6930 lt_cv_deplibs_check_method=pass_all
6933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6934 lt_cv_deplibs_check_method=pass_all
6938 case $host_vendor in
6940 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]'
6941 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6944 lt_cv_deplibs_check_method=pass_all
6947 lt_cv_file_magic_cmd='/bin/file'
6948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6951 lt_cv_file_magic_cmd='/bin/file'
6952 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6953 lt_cv_file_magic_test_file=/lib/libc.so
6956 lt_cv_deplibs_check_method=pass_all
6959 lt_cv_deplibs_check_method=pass_all
6965 lt_cv_deplibs_check_method=pass_all
6970 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6971 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6972 file_magic_cmd=$lt_cv_file_magic_cmd
6973 deplibs_check_method=$lt_cv_deplibs_check_method
6974 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}ar; ac_word=$2
6990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if test "${ac_cv_prog_AR+set}" = set; then
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$AR"; then
6996 ac_cv_prog_AR="$AR" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005 ac_cv_prog_AR="${ac_tool_prefix}ar"
7006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 if test -n "$AR"; then
7017 { $as_echo "$as_me:$LINENO: result: $AR" >&5
7018 $as_echo "$AR" >&6; }
7020 { $as_echo "$as_me:$LINENO: result: no" >&5
7021 $as_echo "no" >&6; }
7026 if test -z "$ac_cv_prog_AR"; then
7028 # Extract the first word of "ar", so it can be a program name with args.
7029 set dummy ar; ac_word=$2
7030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$ac_ct_AR"; then
7036 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir=.
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045 ac_cv_prog_ac_ct_AR="ar"
7046 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7056 if test -n "$ac_ct_AR"; then
7057 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7058 $as_echo "$ac_ct_AR" >&6; }
7060 { $as_echo "$as_me:$LINENO: result: no" >&5
7061 $as_echo "no" >&6; }
7064 if test "x$ac_ct_AR" = x; then
7067 case $cross_compiling:$ac_tool_warned in
7069 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned=yes ;;
7079 test -z "$AR" && AR=ar
7080 test -z "$AR_FLAGS" && AR_FLAGS=cru
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}strip; ac_word=$2
7095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if test "${ac_cv_prog_STRIP+set}" = set; then
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$STRIP"; then
7101 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 STRIP=$ac_cv_prog_STRIP
7121 if test -n "$STRIP"; then
7122 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7123 $as_echo "$STRIP" >&6; }
7125 { $as_echo "$as_me:$LINENO: result: no" >&5
7126 $as_echo "no" >&6; }
7131 if test -z "$ac_cv_prog_STRIP"; then
7133 # Extract the first word of "strip", so it can be a program name with args.
7134 set dummy strip; ac_word=$2
7135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7138 $as_echo_n "(cached) " >&6
7140 if test -n "$ac_ct_STRIP"; then
7141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7150 ac_cv_prog_ac_ct_STRIP="strip"
7151 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7161 if test -n "$ac_ct_STRIP"; then
7162 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7163 $as_echo "$ac_ct_STRIP" >&6; }
7165 { $as_echo "$as_me:$LINENO: result: no" >&5
7166 $as_echo "no" >&6; }
7169 if test "x$ac_ct_STRIP" = x; then
7172 case $cross_compiling:$ac_tool_warned in
7174 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7181 STRIP="$ac_cv_prog_STRIP"
7184 test -z "$STRIP" && STRIP=:
7191 if test -n "$ac_tool_prefix"; then
7192 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if test "${ac_cv_prog_RANLIB+set}" = set; then
7197 $as_echo_n "(cached) " >&6
7199 if test -n "$RANLIB"; then
7200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7210 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7219 RANLIB=$ac_cv_prog_RANLIB
7220 if test -n "$RANLIB"; then
7221 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7222 $as_echo "$RANLIB" >&6; }
7224 { $as_echo "$as_me:$LINENO: result: no" >&5
7225 $as_echo "no" >&6; }
7230 if test -z "$ac_cv_prog_RANLIB"; then
7231 ac_ct_RANLIB=$RANLIB
7232 # Extract the first word of "ranlib", so it can be a program name with args.
7233 set dummy ranlib; ac_word=$2
7234 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7237 $as_echo_n "(cached) " >&6
7239 if test -n "$ac_ct_RANLIB"; then
7240 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 ac_cv_prog_ac_ct_RANLIB="ranlib"
7250 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7260 if test -n "$ac_ct_RANLIB"; then
7261 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7262 $as_echo "$ac_ct_RANLIB" >&6; }
7264 { $as_echo "$as_me:$LINENO: result: no" >&5
7265 $as_echo "no" >&6; }
7268 if test "x$ac_ct_RANLIB" = x; then
7271 case $cross_compiling:$ac_tool_warned in
7273 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7275 ac_tool_warned=yes ;;
7277 RANLIB=$ac_ct_RANLIB
7280 RANLIB="$ac_cv_prog_RANLIB"
7283 test -z "$RANLIB" && RANLIB=:
7290 # Determine commands to create old-style static archives.
7291 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7292 old_postinstall_cmds='chmod 644 $oldlib'
7293 old_postuninstall_cmds=
7295 if test -n "$RANLIB"; then
7298 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7301 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7304 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7340 # If no C compiler was specified, use CC.
7343 # If no C compiler flags were specified, use CFLAGS.
7344 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7346 # Allow CC to be a program name with arguments.
7350 # Check for command to grab the raw symbol name followed by C symbol from nm.
7351 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7352 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7353 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7354 $as_echo_n "(cached) " >&6
7357 # These are sane defaults that work on at least a few old systems.
7358 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7360 # Character class describing NM global symbol codes.
7361 symcode='[BCDEGRST]'
7363 # Regexp to match symbols that can be accessed directly from C.
7364 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7366 # Define system-specific variables.
7371 cygwin* | mingw* | pw32* | cegcc*)
7372 symcode='[ABCDGISTW]'
7375 if test "$host_cpu" = ia64; then
7376 symcode='[ABCDEGRST]'
7380 symcode='[BCDEGRST]'
7383 symcode='[BCDEGQRST]'
7394 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7402 # If we're using GNU nm, then use its standard symbol codes.
7403 case `$NM -V 2>&1` in
7404 *GNU* | *'with BFD'*)
7405 symcode='[ABCDGIRSTW]' ;;
7408 # Transform an extracted symbol line into a proper C declaration.
7409 # Some systems (esp. on ia64) link data and code symbols differently,
7410 # so use this general approach.
7411 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7413 # Transform an extracted symbol line into symbol name and symbol address
7414 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7415 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'"
7417 # Handle CRLF in mingw tool chain
7421 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7425 # Try without a prefix underscore, then with it.
7426 for ac_symprfx in "" "_"; do
7428 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7429 symxfrm="\\1 $ac_symprfx\\2 \\2"
7431 # Write the raw and C identifiers.
7432 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7433 # Fake it for dumpbin and say T for any non-static function
7434 # and D for any global variable.
7435 # Also find C++ and __fastcall symbols from MSVC++,
7436 # which start with @ or ?.
7437 lt_cv_sys_global_symbol_pipe="$AWK '"\
7438 " {last_section=section; section=\$ 3};"\
7439 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7440 " \$ 0!~/External *\|/{next};"\
7441 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7442 " {if(hide[section]) next};"\
7443 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7444 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7445 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7446 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7447 " ' prfx=^$ac_symprfx"
7449 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7452 # Check to see that the pipe works correctly.
7456 cat > conftest.$ac_ext <<_LT_EOF
7461 void nm_test_func(void);
7462 void nm_test_func(void){}
7466 int main(){nm_test_var='a';nm_test_func();return(0);}
7469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>&5
7472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; then
7474 # Now try to grab the symbols.
7476 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7477 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } && test -s "$nlist"; then
7481 # Try sorting and uniquifying the output.
7482 if sort "$nlist" | uniq > "$nlist"T; then
7483 mv -f "$nlist"T "$nlist"
7488 # Make sure that we snagged all the symbols we need.
7489 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7490 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7491 cat <<_LT_EOF > conftest.$ac_ext
7497 # Now generate the symbol file.
7498 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7500 cat <<_LT_EOF >> conftest.$ac_ext
7502 /* The mapping between symbol names and symbols. */
7507 lt__PROGRAM__LTX_preloaded_symbols[] =
7509 { "@PROGRAM@", (void *) 0 },
7511 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7512 cat <<\_LT_EOF >> conftest.$ac_ext
7516 /* This works around a problem in FreeBSD linker */
7517 #ifdef FREEBSD_WORKAROUND
7518 static const void *lt_preloaded_setup() {
7519 return lt__PROGRAM__LTX_preloaded_symbols;
7527 # Now try linking the two files.
7528 mv conftest.$ac_objext conftstm.$ac_objext
7529 lt_save_LIBS="$LIBS"
7530 lt_save_CFLAGS="$CFLAGS"
7531 LIBS="conftstm.$ac_objext"
7532 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7534 (eval $ac_link) 2>&5
7536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7540 LIBS="$lt_save_LIBS"
7541 CFLAGS="$lt_save_CFLAGS"
7543 echo "cannot find nm_test_func in $nlist" >&5
7546 echo "cannot find nm_test_var in $nlist" >&5
7549 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7552 echo "$progname: failed program was:" >&5
7553 cat conftest.$ac_ext >&5
7555 rm -rf conftest* conftst*
7557 # Do not use the global_symbol_pipe unless it works.
7558 if test "$pipe_works" = yes; then
7561 lt_cv_sys_global_symbol_pipe=
7567 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7568 lt_cv_sys_global_symbol_to_cdecl=
7570 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7571 { $as_echo "$as_me:$LINENO: result: failed" >&5
7572 $as_echo "failed" >&6; }
7574 { $as_echo "$as_me:$LINENO: result: ok" >&5
7575 $as_echo "ok" >&6; }
7599 # Check whether --enable-libtool-lock was given.
7600 if test "${enable_libtool_lock+set}" = set; then
7601 enableval=$enable_libtool_lock;
7604 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7606 # Some flags need to be propagated to the compiler or linker for good
7610 # Find out which ABI we are using.
7611 echo 'int i;' > conftest.$ac_ext
7612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7613 (eval $ac_compile) 2>&5
7615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; then
7617 case `/usr/bin/file conftest.$ac_objext` in
7629 # Find out which ABI we are using.
7630 echo '#line 7630 "configure"' > conftest.$ac_ext
7631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7632 (eval $ac_compile) 2>&5
7634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; then
7636 if test "$lt_cv_prog_gnu_ld" = yes; then
7637 case `/usr/bin/file conftest.$ac_objext` in
7639 LD="${LD-ld} -melf32bsmip"
7642 LD="${LD-ld} -melf32bmipn32"
7645 LD="${LD-ld} -melf64bmip"
7649 case `/usr/bin/file conftest.$ac_objext` in
7665 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7666 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7667 # Find out which ABI we are using.
7668 echo 'int i;' > conftest.$ac_ext
7669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7670 (eval $ac_compile) 2>&5
7672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; then
7674 case `/usr/bin/file conftest.o` in
7677 x86_64-*kfreebsd*-gnu)
7678 LD="${LD-ld} -m elf_i386_fbsd"
7681 LD="${LD-ld} -m elf_i386"
7683 ppc64-*linux*|powerpc64-*linux*)
7684 LD="${LD-ld} -m elf32ppclinux"
7687 LD="${LD-ld} -m elf_s390"
7690 LD="${LD-ld} -m elf32_sparc"
7696 x86_64-*kfreebsd*-gnu)
7697 LD="${LD-ld} -m elf_x86_64_fbsd"
7700 LD="${LD-ld} -m elf_x86_64"
7702 ppc*-*linux*|powerpc*-*linux*)
7703 LD="${LD-ld} -m elf64ppc"
7705 s390*-*linux*|s390*-*tpf*)
7706 LD="${LD-ld} -m elf64_s390"
7709 LD="${LD-ld} -m elf64_sparc"
7719 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7720 SAVE_CFLAGS="$CFLAGS"
7721 CFLAGS="$CFLAGS -belf"
7722 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7723 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7724 if test "${lt_cv_cc_needs_belf+set}" = set; then
7725 $as_echo_n "(cached) " >&6
7728 ac_cpp='$CPP $CPPFLAGS'
7729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7733 cat >conftest.$ac_ext <<_ACEOF
7736 cat confdefs.h >>conftest.$ac_ext
7737 cat >>conftest.$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7748 rm -f conftest.$ac_objext conftest$ac_exeext
7749 if { (ac_try="$ac_link"
7751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7752 *) ac_try_echo=$ac_try;;
7754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7755 $as_echo "$ac_try_echo") >&5
7756 (eval "$ac_link") 2>conftest.er1
7758 grep -v '^ *+' conftest.er1 >conftest.err
7760 cat conftest.err >&5
7761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); } && {
7763 test -z "$ac_c_werror_flag" ||
7764 test ! -s conftest.err
7765 } && test -s conftest$ac_exeext && {
7766 test "$cross_compiling" = yes ||
7767 $as_test_x conftest$ac_exeext
7769 lt_cv_cc_needs_belf=yes
7771 $as_echo "$as_me: failed program was:" >&5
7772 sed 's/^/| /' conftest.$ac_ext >&5
7774 lt_cv_cc_needs_belf=no
7777 rm -rf conftest.dSYM
7778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7779 conftest$ac_exeext conftest.$ac_ext
7781 ac_cpp='$CPP $CPPFLAGS'
7782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7787 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7788 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7789 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7790 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7791 CFLAGS="$SAVE_CFLAGS"
7795 # Find out which ABI we are using.
7796 echo 'int i;' > conftest.$ac_ext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7798 (eval $ac_compile) 2>&5
7800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; then
7802 case `/usr/bin/file conftest.o` in
7804 case $lt_cv_prog_gnu_ld in
7805 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7807 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7819 need_locks="$enable_libtool_lock"
7823 rhapsody* | darwin*)
7824 if test -n "$ac_tool_prefix"; then
7825 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7826 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7827 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7828 $as_echo_n "checking for $ac_word... " >&6; }
7829 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7830 $as_echo_n "(cached) " >&6
7832 if test -n "$DSYMUTIL"; then
7833 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7842 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7843 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7852 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7853 if test -n "$DSYMUTIL"; then
7854 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7855 $as_echo "$DSYMUTIL" >&6; }
7857 { $as_echo "$as_me:$LINENO: result: no" >&5
7858 $as_echo "no" >&6; }
7863 if test -z "$ac_cv_prog_DSYMUTIL"; then
7864 ac_ct_DSYMUTIL=$DSYMUTIL
7865 # Extract the first word of "dsymutil", so it can be a program name with args.
7866 set dummy dsymutil; ac_word=$2
7867 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7868 $as_echo_n "checking for $ac_word... " >&6; }
7869 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7870 $as_echo_n "(cached) " >&6
7872 if test -n "$ac_ct_DSYMUTIL"; then
7873 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7882 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7883 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7893 if test -n "$ac_ct_DSYMUTIL"; then
7894 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7895 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7897 { $as_echo "$as_me:$LINENO: result: no" >&5
7898 $as_echo "no" >&6; }
7901 if test "x$ac_ct_DSYMUTIL" = x; then
7904 case $cross_compiling:$ac_tool_warned in
7906 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7908 ac_tool_warned=yes ;;
7910 DSYMUTIL=$ac_ct_DSYMUTIL
7913 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7919 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7922 $as_echo_n "(cached) " >&6
7924 if test -n "$NMEDIT"; then
7925 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7934 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7935 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 NMEDIT=$ac_cv_prog_NMEDIT
7945 if test -n "$NMEDIT"; then
7946 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7947 $as_echo "$NMEDIT" >&6; }
7949 { $as_echo "$as_me:$LINENO: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_prog_NMEDIT"; then
7956 ac_ct_NMEDIT=$NMEDIT
7957 # Extract the first word of "nmedit", so it can be a program name with args.
7958 set dummy nmedit; ac_word=$2
7959 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7962 $as_echo_n "(cached) " >&6
7964 if test -n "$ac_ct_NMEDIT"; then
7965 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7974 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7975 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7985 if test -n "$ac_ct_NMEDIT"; then
7986 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7987 $as_echo "$ac_ct_NMEDIT" >&6; }
7989 { $as_echo "$as_me:$LINENO: result: no" >&5
7990 $as_echo "no" >&6; }
7993 if test "x$ac_ct_NMEDIT" = x; then
7996 case $cross_compiling:$ac_tool_warned in
7998 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned=yes ;;
8002 NMEDIT=$ac_ct_NMEDIT
8005 NMEDIT="$ac_cv_prog_NMEDIT"
8008 if test -n "$ac_tool_prefix"; then
8009 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8010 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8011 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if test "${ac_cv_prog_LIPO+set}" = set; then
8014 $as_echo_n "(cached) " >&6
8016 if test -n "$LIPO"; then
8017 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8026 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8027 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8036 LIPO=$ac_cv_prog_LIPO
8037 if test -n "$LIPO"; then
8038 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8039 $as_echo "$LIPO" >&6; }
8041 { $as_echo "$as_me:$LINENO: result: no" >&5
8042 $as_echo "no" >&6; }
8047 if test -z "$ac_cv_prog_LIPO"; then
8049 # Extract the first word of "lipo", so it can be a program name with args.
8050 set dummy lipo; ac_word=$2
8051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8054 $as_echo_n "(cached) " >&6
8056 if test -n "$ac_ct_LIPO"; then
8057 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8066 ac_cv_prog_ac_ct_LIPO="lipo"
8067 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8076 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8077 if test -n "$ac_ct_LIPO"; then
8078 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8079 $as_echo "$ac_ct_LIPO" >&6; }
8081 { $as_echo "$as_me:$LINENO: result: no" >&5
8082 $as_echo "no" >&6; }
8085 if test "x$ac_ct_LIPO" = x; then
8088 case $cross_compiling:$ac_tool_warned in
8090 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8092 ac_tool_warned=yes ;;
8097 LIPO="$ac_cv_prog_LIPO"
8100 if test -n "$ac_tool_prefix"; then
8101 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8102 set dummy ${ac_tool_prefix}otool; ac_word=$2
8103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if test "${ac_cv_prog_OTOOL+set}" = set; then
8106 $as_echo_n "(cached) " >&6
8108 if test -n "$OTOOL"; then
8109 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8118 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 OTOOL=$ac_cv_prog_OTOOL
8129 if test -n "$OTOOL"; then
8130 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
8131 $as_echo "$OTOOL" >&6; }
8133 { $as_echo "$as_me:$LINENO: result: no" >&5
8134 $as_echo "no" >&6; }
8139 if test -z "$ac_cv_prog_OTOOL"; then
8141 # Extract the first word of "otool", so it can be a program name with args.
8142 set dummy otool; ac_word=$2
8143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8144 $as_echo_n "checking for $ac_word... " >&6; }
8145 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8146 $as_echo_n "(cached) " >&6
8148 if test -n "$ac_ct_OTOOL"; then
8149 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 test -z "$as_dir" && as_dir=.
8156 for ac_exec_ext in '' $ac_executable_extensions; do
8157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158 ac_cv_prog_ac_ct_OTOOL="otool"
8159 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8169 if test -n "$ac_ct_OTOOL"; then
8170 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8171 $as_echo "$ac_ct_OTOOL" >&6; }
8173 { $as_echo "$as_me:$LINENO: result: no" >&5
8174 $as_echo "no" >&6; }
8177 if test "x$ac_ct_OTOOL" = x; then
8180 case $cross_compiling:$ac_tool_warned in
8182 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8184 ac_tool_warned=yes ;;
8189 OTOOL="$ac_cv_prog_OTOOL"
8192 if test -n "$ac_tool_prefix"; then
8193 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8194 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8196 $as_echo_n "checking for $ac_word... " >&6; }
8197 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8198 $as_echo_n "(cached) " >&6
8200 if test -n "$OTOOL64"; then
8201 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8207 test -z "$as_dir" && as_dir=.
8208 for ac_exec_ext in '' $ac_executable_extensions; do
8209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8210 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8220 OTOOL64=$ac_cv_prog_OTOOL64
8221 if test -n "$OTOOL64"; then
8222 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
8223 $as_echo "$OTOOL64" >&6; }
8225 { $as_echo "$as_me:$LINENO: result: no" >&5
8226 $as_echo "no" >&6; }
8231 if test -z "$ac_cv_prog_OTOOL64"; then
8232 ac_ct_OTOOL64=$OTOOL64
8233 # Extract the first word of "otool64", so it can be a program name with args.
8234 set dummy otool64; ac_word=$2
8235 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8236 $as_echo_n "checking for $ac_word... " >&6; }
8237 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8238 $as_echo_n "(cached) " >&6
8240 if test -n "$ac_ct_OTOOL64"; then
8241 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 test -z "$as_dir" && as_dir=.
8248 for ac_exec_ext in '' $ac_executable_extensions; do
8249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250 ac_cv_prog_ac_ct_OTOOL64="otool64"
8251 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8261 if test -n "$ac_ct_OTOOL64"; then
8262 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8263 $as_echo "$ac_ct_OTOOL64" >&6; }
8265 { $as_echo "$as_me:$LINENO: result: no" >&5
8266 $as_echo "no" >&6; }
8269 if test "x$ac_ct_OTOOL64" = x; then
8272 case $cross_compiling:$ac_tool_warned in
8274 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8276 ac_tool_warned=yes ;;
8278 OTOOL64=$ac_ct_OTOOL64
8281 OTOOL64="$ac_cv_prog_OTOOL64"
8310 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8311 $as_echo_n "checking for -single_module linker flag... " >&6; }
8312 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8313 $as_echo_n "(cached) " >&6
8315 lt_cv_apple_cc_single_mod=no
8316 if test -z "${LT_MULTI_MODULE}"; then
8317 # By default we will add the -single_module flag. You can override
8318 # by either setting the environment variable LT_MULTI_MODULE
8319 # non-empty at configure time, or by adding -multi_module to the
8321 rm -rf libconftest.dylib*
8322 echo "int foo(void){return 1;}" > conftest.c
8323 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8324 -dynamiclib -Wl,-single_module conftest.c" >&5
8325 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8326 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8328 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8329 lt_cv_apple_cc_single_mod=yes
8331 cat conftest.err >&5
8333 rm -rf libconftest.dylib*
8337 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8338 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8339 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8340 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8341 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8342 $as_echo_n "(cached) " >&6
8344 lt_cv_ld_exported_symbols_list=no
8345 save_LDFLAGS=$LDFLAGS
8346 echo "_main" > conftest.sym
8347 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8348 cat >conftest.$ac_ext <<_ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8363 rm -f conftest.$ac_objext conftest$ac_exeext
8364 if { (ac_try="$ac_link"
8366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367 *) ac_try_echo=$ac_try;;
8369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8370 $as_echo "$ac_try_echo") >&5
8371 (eval "$ac_link") 2>conftest.er1
8373 grep -v '^ *+' conftest.er1 >conftest.err
8375 cat conftest.err >&5
8376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest$ac_exeext && {
8381 test "$cross_compiling" = yes ||
8382 $as_test_x conftest$ac_exeext
8384 lt_cv_ld_exported_symbols_list=yes
8386 $as_echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8389 lt_cv_ld_exported_symbols_list=no
8392 rm -rf conftest.dSYM
8393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8394 conftest$ac_exeext conftest.$ac_ext
8395 LDFLAGS="$save_LDFLAGS"
8398 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8399 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8401 rhapsody* | darwin1.[012])
8402 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8404 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8405 darwin*) # darwin 5.x on
8406 # if running on 10.5 or later, the deployment target defaults
8407 # to the OS version, if on x86, and 10.4, the deployment
8408 # target defaults to 10.4. Don't you love it?
8409 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8410 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8411 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8413 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8415 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8419 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8420 _lt_dar_single_mod='$single_module'
8422 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8423 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8425 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8427 if test "$DSYMUTIL" != ":"; then
8428 _lt_dsymutil='~$DSYMUTIL $lib || :'
8435 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8445 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8446 inttypes.h stdint.h unistd.h
8448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8449 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8450 $as_echo_n "checking for $ac_header... " >&6; }
8451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8452 $as_echo_n "(cached) " >&6
8454 cat >conftest.$ac_ext <<_ACEOF
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h. */
8460 $ac_includes_default
8462 #include <$ac_header>
8464 rm -f conftest.$ac_objext
8465 if { (ac_try="$ac_compile"
8467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8468 *) ac_try_echo=$ac_try;;
8470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8471 $as_echo "$ac_try_echo") >&5
8472 (eval "$ac_compile") 2>conftest.er1
8474 grep -v '^ *+' conftest.er1 >conftest.err
8476 cat conftest.err >&5
8477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } && {
8479 test -z "$ac_c_werror_flag" ||
8480 test ! -s conftest.err
8481 } && test -s conftest.$ac_objext; then
8482 eval "$as_ac_Header=yes"
8484 $as_echo "$as_me: failed program was:" >&5
8485 sed 's/^/| /' conftest.$ac_ext >&5
8487 eval "$as_ac_Header=no"
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8492 ac_res=`eval 'as_val=${'$as_ac_Header'}
8493 $as_echo "$as_val"'`
8494 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8495 $as_echo "$ac_res" >&6; }
8496 as_val=`eval 'as_val=${'$as_ac_Header'}
8497 $as_echo "$as_val"'`
8498 if test "x$as_val" = x""yes; then
8499 cat >>confdefs.h <<_ACEOF
8500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8509 for ac_header in dlfcn.h
8511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8512 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8513 $as_echo_n "checking for $ac_header... " >&6; }
8514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8515 $as_echo_n "(cached) " >&6
8517 cat >conftest.$ac_ext <<_ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 $ac_includes_default
8525 #include <$ac_header>
8527 rm -f conftest.$ac_objext
8528 if { (ac_try="$ac_compile"
8530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8531 *) ac_try_echo=$ac_try;;
8533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8534 $as_echo "$ac_try_echo") >&5
8535 (eval "$ac_compile") 2>conftest.er1
8537 grep -v '^ *+' conftest.er1 >conftest.err
8539 cat conftest.err >&5
8540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } && {
8542 test -z "$ac_c_werror_flag" ||
8543 test ! -s conftest.err
8544 } && test -s conftest.$ac_objext; then
8545 eval "$as_ac_Header=yes"
8547 $as_echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.$ac_ext >&5
8550 eval "$as_ac_Header=no"
8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8555 ac_res=`eval 'as_val=${'$as_ac_Header'}
8556 $as_echo "$as_val"'`
8557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8558 $as_echo "$ac_res" >&6; }
8559 as_val=`eval 'as_val=${'$as_ac_Header'}
8560 $as_echo "$as_val"'`
8561 if test "x$as_val" = x""yes; then
8562 cat >>confdefs.h <<_ACEOF
8563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8582 # Check whether --enable-shared was given.
8583 if test "${enable_shared+set}" = set; then
8584 enableval=$enable_shared; p=${PACKAGE-default}
8586 yes) enable_shared=yes ;;
8587 no) enable_shared=no ;;
8590 # Look at the argument we got. We use all the common list separators.
8591 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8592 for pkg in $enableval; do
8594 if test "X$pkg" = "X$p"; then
8613 # Check whether --enable-static was given.
8614 if test "${enable_static+set}" = set; then
8615 enableval=$enable_static; p=${PACKAGE-default}
8617 yes) enable_static=yes ;;
8618 no) enable_static=no ;;
8621 # Look at the argument we got. We use all the common list separators.
8622 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8623 for pkg in $enableval; do
8625 if test "X$pkg" = "X$p"; then
8645 # Check whether --with-pic was given.
8646 if test "${with_pic+set}" = set; then
8647 withval=$with_pic; pic_mode="$withval"
8653 test -z "$pic_mode" && pic_mode=default
8661 # Check whether --enable-fast-install was given.
8662 if test "${enable_fast_install+set}" = set; then
8663 enableval=$enable_fast_install; p=${PACKAGE-default}
8665 yes) enable_fast_install=yes ;;
8666 no) enable_fast_install=no ;;
8668 enable_fast_install=no
8669 # Look at the argument we got. We use all the common list separators.
8670 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8671 for pkg in $enableval; do
8673 if test "X$pkg" = "X$p"; then
8674 enable_fast_install=yes
8681 enable_fast_install=yes
8694 # This can be used to rebuild libtool when needed
8695 LIBTOOL_DEPS="$ltmain"
8697 # Always use our own libtool.
8698 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8724 test -z "$LN_S" && LN_S="ln -s"
8739 if test -n "${ZSH_VERSION+set}" ; then
8740 setopt NO_GLOB_SUBST
8743 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8744 $as_echo_n "checking for objdir... " >&6; }
8745 if test "${lt_cv_objdir+set}" = set; then
8746 $as_echo_n "(cached) " >&6
8748 rm -f .libs 2>/dev/null
8749 mkdir .libs 2>/dev/null
8750 if test -d .libs; then
8753 # MS-DOS does not allow filenames that begin with a dot.
8756 rmdir .libs 2>/dev/null
8758 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8759 $as_echo "$lt_cv_objdir" >&6; }
8760 objdir=$lt_cv_objdir
8766 cat >>confdefs.h <<_ACEOF
8767 #define LT_OBJDIR "$lt_cv_objdir/"
8788 # AIX sometimes has problems with the GCC collect2 program. For some
8789 # reason, if we set the COLLECT_NAMES environment variable, the problems
8790 # vanish in a puff of smoke.
8791 if test "X${COLLECT_NAMES+set}" != Xset; then
8793 export COLLECT_NAMES
8798 # Sed substitution that helps us do robust quoting. It backslashifies
8799 # metacharacters that are still active within double-quoted strings.
8800 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8802 # Same as above, but do not quote variable references.
8803 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8805 # Sed substitution to delay expansion of an escaped shell variable in a
8806 # double_quote_subst'ed string.
8807 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8809 # Sed substitution to delay expansion of an escaped single quote.
8810 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8812 # Sed substitution to avoid accidental globbing in evaled expressions
8813 no_glob_subst='s/\*/\\\*/g'
8817 can_build_shared=yes
8819 # All known linkers require a `.a' archive for static linking (except MSVC,
8820 # which needs '.lib').
8823 with_gnu_ld="$lt_cv_prog_gnu_ld"
8826 old_CFLAGS="$CFLAGS"
8828 # Set sane defaults for various variables
8829 test -z "$CC" && CC=cc
8830 test -z "$LTCC" && LTCC=$CC
8831 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8832 test -z "$LD" && LD=ld
8833 test -z "$ac_objext" && ac_objext=o
8835 for cc_temp in $compiler""; do
8837 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8838 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8843 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8846 # Only perform the check for file, if the check method requires it
8847 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8848 case $deplibs_check_method in
8850 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8851 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8852 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8853 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8854 $as_echo_n "(cached) " >&6
8858 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8861 lt_save_MAGIC_CMD="$MAGIC_CMD"
8862 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8863 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8864 for ac_dir in $ac_dummy; do
8866 test -z "$ac_dir" && ac_dir=.
8867 if test -f $ac_dir/${ac_tool_prefix}file; then
8868 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8869 if test -n "$file_magic_test_file"; then
8870 case $deplibs_check_method in
8872 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8873 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8874 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8875 $EGREP "$file_magic_regex" > /dev/null; then
8880 *** Warning: the command libtool uses to detect shared libraries,
8881 *** $file_magic_cmd, produces output that libtool cannot recognize.
8882 *** The result is that libtool may fail to recognize shared libraries
8883 *** as such. This will affect the creation of libtool libraries that
8884 *** depend on shared libraries, but programs linked with such libtool
8885 *** libraries will work regardless of this problem. Nevertheless, you
8886 *** may want to report the problem to your system manager and/or to
8887 *** bug-libtool@gnu.org
8897 MAGIC_CMD="$lt_save_MAGIC_CMD"
8902 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8903 if test -n "$MAGIC_CMD"; then
8904 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8905 $as_echo "$MAGIC_CMD" >&6; }
8907 { $as_echo "$as_me:$LINENO: result: no" >&5
8908 $as_echo "no" >&6; }
8915 if test -z "$lt_cv_path_MAGIC_CMD"; then
8916 if test -n "$ac_tool_prefix"; then
8917 { $as_echo "$as_me:$LINENO: checking for file" >&5
8918 $as_echo_n "checking for file... " >&6; }
8919 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8920 $as_echo_n "(cached) " >&6
8924 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8927 lt_save_MAGIC_CMD="$MAGIC_CMD"
8928 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8929 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8930 for ac_dir in $ac_dummy; do
8932 test -z "$ac_dir" && ac_dir=.
8933 if test -f $ac_dir/file; then
8934 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8935 if test -n "$file_magic_test_file"; then
8936 case $deplibs_check_method in
8938 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8939 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8940 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8941 $EGREP "$file_magic_regex" > /dev/null; then
8946 *** Warning: the command libtool uses to detect shared libraries,
8947 *** $file_magic_cmd, produces output that libtool cannot recognize.
8948 *** The result is that libtool may fail to recognize shared libraries
8949 *** as such. This will affect the creation of libtool libraries that
8950 *** depend on shared libraries, but programs linked with such libtool
8951 *** libraries will work regardless of this problem. Nevertheless, you
8952 *** may want to report the problem to your system manager and/or to
8953 *** bug-libtool@gnu.org
8963 MAGIC_CMD="$lt_save_MAGIC_CMD"
8968 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8969 if test -n "$MAGIC_CMD"; then
8970 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8971 $as_echo "$MAGIC_CMD" >&6; }
8973 { $as_echo "$as_me:$LINENO: result: no" >&5
8974 $as_echo "no" >&6; }
8987 # Use C for the default configuration in the libtool script
8991 ac_cpp='$CPP $CPPFLAGS'
8992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8997 # Source file extension for C test sources.
9000 # Object file extension for compiled C test sources.
9004 # Code to be used in simple compile tests
9005 lt_simple_compile_test_code="int some_variable = 0;"
9007 # Code to be used in simple link tests
9008 lt_simple_link_test_code='int main(){return(0);}'
9016 # If no C compiler was specified, use CC.
9019 # If no C compiler flags were specified, use CFLAGS.
9020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9022 # Allow CC to be a program name with arguments.
9025 # Save the default compiler, since it gets overwritten when the other
9026 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9027 compiler_DEFAULT=$CC
9029 # save warnings/boilerplate of simple test code
9030 ac_outfile=conftest.$ac_objext
9031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9033 _lt_compiler_boilerplate=`cat conftest.err`
9036 ac_outfile=conftest.$ac_objext
9037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9039 _lt_linker_boilerplate=`cat conftest.err`
9044 ## There is no encapsulation within the following macros, do not change
9045 ## the running order or otherwise move them around unless you know exactly
9046 ## what you are doing...
9047 if test -n "$compiler"; then
9049 lt_prog_compiler_no_builtin_flag=
9051 if test "$GCC" = yes; then
9052 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9054 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9055 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9056 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9057 $as_echo_n "(cached) " >&6
9059 lt_cv_prog_compiler_rtti_exceptions=no
9060 ac_outfile=conftest.$ac_objext
9061 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9062 lt_compiler_flag="-fno-rtti -fno-exceptions"
9063 # Insert the option either (1) after the last *FLAGS variable, or
9064 # (2) before a word containing "conftest.", or (3) at the end.
9065 # Note that $ac_compile itself does not contain backslashes and begins
9066 # with a dollar sign (not a hyphen), so the echo should work correctly.
9067 # The option is referenced via a variable to avoid confusing sed.
9068 lt_compile=`echo "$ac_compile" | $SED \
9069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9071 -e 's:$: $lt_compiler_flag:'`
9072 (eval echo "\"\$as_me:9072: $lt_compile\"" >&5)
9073 (eval "$lt_compile" 2>conftest.err)
9075 cat conftest.err >&5
9076 echo "$as_me:9076: \$? = $ac_status" >&5
9077 if (exit $ac_status) && test -s "$ac_outfile"; then
9078 # The compiler can only warn and ignore the option if not recognized
9079 # So say no if there are warnings other than the usual output.
9080 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9081 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9082 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9083 lt_cv_prog_compiler_rtti_exceptions=yes
9089 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9090 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9092 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9093 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9105 lt_prog_compiler_wl=
9106 lt_prog_compiler_pic=
9107 lt_prog_compiler_static=
9109 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9110 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9112 if test "$GCC" = yes; then
9113 lt_prog_compiler_wl='-Wl,'
9114 lt_prog_compiler_static='-static'
9118 # All AIX code is PIC.
9119 if test "$host_cpu" = ia64; then
9120 # AIX 5 now supports IA64 processor
9121 lt_prog_compiler_static='-Bstatic'
9128 # see comment about AmigaOS4 .so support
9129 lt_prog_compiler_pic='-fPIC'
9132 # FIXME: we need at least 68020 code to build shared libraries, but
9133 # adding the `-m68020' flag to GCC prevents building anything better,
9135 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9140 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9141 # PIC is the default for these OSes.
9144 mingw* | cygwin* | pw32* | os2* | cegcc*)
9145 # This hack is so that the source file can tell whether it is being
9146 # built for inclusion in a dll (and should export symbols for example).
9147 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9148 # (--disable-auto-import) libraries
9149 lt_prog_compiler_pic='-DDLL_EXPORT'
9152 darwin* | rhapsody*)
9153 # PIC is the default on this platform
9154 # Common symbols not allowed in MH_DYLIB files
9155 lt_prog_compiler_pic='-fno-common'
9159 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9160 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9161 # sets the default TLS model and affects inlining.
9167 lt_prog_compiler_pic='-fPIC'
9173 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9174 # Instead, we relocate shared libraries at runtime.
9178 # Just because we use GCC doesn't mean we suddenly get shared libraries
9179 # on systems that don't support them.
9180 lt_prog_compiler_can_build_shared=no
9185 # QNX uses GNU C++, but need to define -shared option too, otherwise
9187 lt_prog_compiler_pic='-fPIC -shared'
9191 if test -d /usr/nec; then
9192 lt_prog_compiler_pic=-Kconform_pic
9197 lt_prog_compiler_pic='-fPIC'
9201 # PORTME Check for flag to pass linker flags through the system compiler.
9204 lt_prog_compiler_wl='-Wl,'
9205 if test "$host_cpu" = ia64; then
9206 # AIX 5 now supports IA64 processor
9207 lt_prog_compiler_static='-Bstatic'
9209 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9213 mingw* | cygwin* | pw32* | os2* | cegcc*)
9214 # This hack is so that the source file can tell whether it is being
9215 # built for inclusion in a dll (and should export symbols for example).
9216 lt_prog_compiler_pic='-DDLL_EXPORT'
9219 hpux9* | hpux10* | hpux11*)
9220 lt_prog_compiler_wl='-Wl,'
9221 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9228 lt_prog_compiler_pic='+Z'
9231 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9232 lt_prog_compiler_static='${wl}-a ${wl}archive'
9235 irix5* | irix6* | nonstopux*)
9236 lt_prog_compiler_wl='-Wl,'
9237 # PIC (with -KPIC) is the default.
9238 lt_prog_compiler_static='-non_shared'
9241 linux* | k*bsd*-gnu)
9242 case $cc_basename in
9243 # old Intel for x86_64 which still supported -KPIC.
9245 lt_prog_compiler_wl='-Wl,'
9246 lt_prog_compiler_pic='-KPIC'
9247 lt_prog_compiler_static='-static'
9249 # icc used to be incompatible with GCC.
9250 # ICC 10 doesn't accept -KPIC any more.
9252 lt_prog_compiler_wl='-Wl,'
9253 lt_prog_compiler_pic='-fPIC'
9254 lt_prog_compiler_static='-static'
9256 # Lahey Fortran 8.1.
9258 lt_prog_compiler_wl='-Wl,'
9259 lt_prog_compiler_pic='--shared'
9260 lt_prog_compiler_static='--static'
9262 pgcc* | pgf77* | pgf90* | pgf95*)
9263 # Portland Group compilers (*not* the Pentium gcc compiler,
9264 # which looks to be a dead project)
9265 lt_prog_compiler_wl='-Wl,'
9266 lt_prog_compiler_pic='-fpic'
9267 lt_prog_compiler_static='-Bstatic'
9270 lt_prog_compiler_wl='-Wl,'
9271 # All Alpha code is PIC.
9272 lt_prog_compiler_static='-non_shared'
9275 # IBM XL C 8.0/Fortran 10.1 on PPC
9276 lt_prog_compiler_wl='-Wl,'
9277 lt_prog_compiler_pic='-qpic'
9278 lt_prog_compiler_static='-qstaticlink'
9281 case `$CC -V 2>&1 | sed 5q` in
9284 lt_prog_compiler_pic='-KPIC'
9285 lt_prog_compiler_static='-Bstatic'
9286 lt_prog_compiler_wl='-Wl,'
9289 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9290 lt_prog_compiler_pic='-KPIC'
9291 lt_prog_compiler_static='-Bstatic'
9292 lt_prog_compiler_wl=''
9300 lt_prog_compiler_pic='-KPIC'
9301 lt_prog_compiler_static='-Bstatic'
9305 # QNX uses GNU C++, but need to define -shared option too, otherwise
9307 lt_prog_compiler_pic='-fPIC -shared'
9310 osf3* | osf4* | osf5*)
9311 lt_prog_compiler_wl='-Wl,'
9312 # All OSF/1 code is PIC.
9313 lt_prog_compiler_static='-non_shared'
9317 lt_prog_compiler_static='-non_shared'
9321 lt_prog_compiler_pic='-KPIC'
9322 lt_prog_compiler_static='-Bstatic'
9323 case $cc_basename in
9325 lt_prog_compiler_wl='-Qoption ld ';;
9327 lt_prog_compiler_wl='-Wl,';;
9332 lt_prog_compiler_wl='-Qoption ld '
9333 lt_prog_compiler_pic='-PIC'
9334 lt_prog_compiler_static='-Bstatic'
9337 sysv4 | sysv4.2uw2* | sysv4.3*)
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-Bstatic'
9344 if test -d /usr/nec ;then
9345 lt_prog_compiler_pic='-Kconform_pic'
9346 lt_prog_compiler_static='-Bstatic'
9350 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='-KPIC'
9353 lt_prog_compiler_static='-Bstatic'
9357 lt_prog_compiler_wl='-Wl,'
9358 lt_prog_compiler_can_build_shared=no
9362 lt_prog_compiler_pic='-pic'
9363 lt_prog_compiler_static='-Bstatic'
9367 lt_prog_compiler_can_build_shared=no
9373 # For platforms which do not support PIC, -DPIC is meaningless:
9375 lt_prog_compiler_pic=
9378 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9381 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9382 $as_echo "$lt_prog_compiler_pic" >&6; }
9390 # Check to make sure the PIC flag actually works.
9392 if test -n "$lt_prog_compiler_pic"; then
9393 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9394 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9395 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9396 $as_echo_n "(cached) " >&6
9398 lt_cv_prog_compiler_pic_works=no
9399 ac_outfile=conftest.$ac_objext
9400 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9401 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9402 # Insert the option either (1) after the last *FLAGS variable, or
9403 # (2) before a word containing "conftest.", or (3) at the end.
9404 # Note that $ac_compile itself does not contain backslashes and begins
9405 # with a dollar sign (not a hyphen), so the echo should work correctly.
9406 # The option is referenced via a variable to avoid confusing sed.
9407 lt_compile=`echo "$ac_compile" | $SED \
9408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9410 -e 's:$: $lt_compiler_flag:'`
9411 (eval echo "\"\$as_me:9411: $lt_compile\"" >&5)
9412 (eval "$lt_compile" 2>conftest.err)
9414 cat conftest.err >&5
9415 echo "$as_me:9415: \$? = $ac_status" >&5
9416 if (exit $ac_status) && test -s "$ac_outfile"; then
9417 # The compiler can only warn and ignore the option if not recognized
9418 # So say no if there are warnings other than the usual output.
9419 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9420 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9421 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9422 lt_cv_prog_compiler_pic_works=yes
9428 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9429 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9431 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9432 case $lt_prog_compiler_pic in
9434 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9437 lt_prog_compiler_pic=
9438 lt_prog_compiler_can_build_shared=no
9449 # Check to make sure the static flag actually works.
9451 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9452 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9453 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9454 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9455 $as_echo_n "(cached) " >&6
9457 lt_cv_prog_compiler_static_works=no
9458 save_LDFLAGS="$LDFLAGS"
9459 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9460 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9461 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9462 # The linker can only warn and ignore the option if not recognized
9463 # So say no if there are warnings
9464 if test -s conftest.err; then
9465 # Append any errors to the config.log.
9466 cat conftest.err 1>&5
9467 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9468 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9469 if diff conftest.exp conftest.er2 >/dev/null; then
9470 lt_cv_prog_compiler_static_works=yes
9473 lt_cv_prog_compiler_static_works=yes
9477 LDFLAGS="$save_LDFLAGS"
9480 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9481 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9483 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9486 lt_prog_compiler_static=
9495 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9496 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9497 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9498 $as_echo_n "(cached) " >&6
9500 lt_cv_prog_compiler_c_o=no
9501 $RM -r conftest 2>/dev/null
9505 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9507 lt_compiler_flag="-o out/conftest2.$ac_objext"
9508 # Insert the option either (1) after the last *FLAGS variable, or
9509 # (2) before a word containing "conftest.", or (3) at the end.
9510 # Note that $ac_compile itself does not contain backslashes and begins
9511 # with a dollar sign (not a hyphen), so the echo should work correctly.
9512 lt_compile=`echo "$ac_compile" | $SED \
9513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9515 -e 's:$: $lt_compiler_flag:'`
9516 (eval echo "\"\$as_me:9516: $lt_compile\"" >&5)
9517 (eval "$lt_compile" 2>out/conftest.err)
9519 cat out/conftest.err >&5
9520 echo "$as_me:9520: \$? = $ac_status" >&5
9521 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9523 # The compiler can only warn and ignore the option if not recognized
9524 # So say no if there are warnings
9525 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9526 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9527 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9528 lt_cv_prog_compiler_c_o=yes
9533 # SGI C++ compiler will create directory out/ii_files/ for
9534 # template instantiation
9535 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9536 $RM out/* && rmdir out
9542 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9543 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9550 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9551 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9552 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9553 $as_echo_n "(cached) " >&6
9555 lt_cv_prog_compiler_c_o=no
9556 $RM -r conftest 2>/dev/null
9560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562 lt_compiler_flag="-o out/conftest2.$ac_objext"
9563 # Insert the option either (1) after the last *FLAGS variable, or
9564 # (2) before a word containing "conftest.", or (3) at the end.
9565 # Note that $ac_compile itself does not contain backslashes and begins
9566 # with a dollar sign (not a hyphen), so the echo should work correctly.
9567 lt_compile=`echo "$ac_compile" | $SED \
9568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9570 -e 's:$: $lt_compiler_flag:'`
9571 (eval echo "\"\$as_me:9571: $lt_compile\"" >&5)
9572 (eval "$lt_compile" 2>out/conftest.err)
9574 cat out/conftest.err >&5
9575 echo "$as_me:9575: \$? = $ac_status" >&5
9576 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9578 # The compiler can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9581 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9582 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9583 lt_cv_prog_compiler_c_o=yes
9588 # SGI C++ compiler will create directory out/ii_files/ for
9589 # template instantiation
9590 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9591 $RM out/* && rmdir out
9597 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9598 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9603 hard_links="nottested"
9604 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9605 # do not overwrite the value of need_locks provided by the user
9606 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9607 $as_echo_n "checking if we can lock with hard links... " >&6; }
9610 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9612 ln conftest.a conftest.b 2>&5 || hard_links=no
9613 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9614 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9615 $as_echo "$hard_links" >&6; }
9616 if test "$hard_links" = no; then
9617 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9618 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9630 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9631 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9634 allow_undefined_flag=
9635 always_export_symbols=no
9637 archive_expsym_cmds=
9638 compiler_needs_object=no
9639 enable_shared_with_static_runtimes=no
9640 export_dynamic_flag_spec=
9641 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9642 hardcode_automatic=no
9644 hardcode_direct_absolute=no
9645 hardcode_libdir_flag_spec=
9646 hardcode_libdir_flag_spec_ld=
9647 hardcode_libdir_separator=
9649 hardcode_shlibpath_var=unsupported
9651 link_all_deplibs=unknown
9654 old_archive_from_new_cmds=
9655 old_archive_from_expsyms_cmds=
9656 thread_safe_flag_spec=
9657 whole_archive_flag_spec=
9658 # include_expsyms should be a list of space-separated symbols to be *always*
9659 # included in the symbol list
9661 # exclude_expsyms can be an extended regexp of symbols to exclude
9662 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9663 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9664 # as well as any symbol that contains `d'.
9665 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9666 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9667 # platforms (ab)use it in PIC code, but their linkers get confused if
9668 # the symbol is explicitly referenced. Since portable code cannot
9669 # rely on this symbol name, it's probably fine to never include it in
9670 # preloaded symbol tables.
9671 # Exclude shared library initialization/finalization symbols.
9672 extract_expsyms_cmds=
9675 cygwin* | mingw* | pw32* | cegcc*)
9676 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9677 # When not using gcc, we currently assume that we are using
9678 # Microsoft Visual C++.
9679 if test "$GCC" != yes; then
9684 # we just hope/assume this is gcc and not c89 (= MSVC++)
9693 if test "$with_gnu_ld" = yes; then
9694 # If archive_cmds runs LD, not CC, wlarc should be empty
9697 # Set some defaults for GNU ld with shared library support. These
9698 # are reset later if shared libraries are not supported. Putting them
9699 # here allows them to be overridden if necessary.
9700 runpath_var=LD_RUN_PATH
9701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9702 export_dynamic_flag_spec='${wl}--export-dynamic'
9703 # ancient GNU ld didn't support --whole-archive et. al.
9704 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9705 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9707 whole_archive_flag_spec=
9709 supports_anon_versioning=no
9710 case `$LD -v 2>&1` in
9711 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9712 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9713 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9714 *\ 2.11.*) ;; # other 2.11 versions
9715 *) supports_anon_versioning=yes ;;
9718 # See if GNU ld supports shared libraries.
9721 # On AIX/PPC, the GNU linker is very broken
9722 if test "$host_cpu" != ia64; then
9726 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9727 *** to be unable to reliably create shared libraries on AIX.
9728 *** Therefore, libtool is disabling shared libraries support. If you
9729 *** really care for shared libraries, you may want to modify your PATH
9730 *** so that a non-GNU linker is found, and then restart.
9739 # see comment about AmigaOS4 .so support
9740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741 archive_expsym_cmds=''
9744 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)'
9745 hardcode_libdir_flag_spec='-L$libdir'
9746 hardcode_minus_L=yes
9752 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9753 allow_undefined_flag=unsupported
9754 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9755 # support --undefined. This deserves some investigation. FIXME
9756 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9762 cygwin* | mingw* | pw32* | cegcc*)
9763 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9764 # as there is no search path for DLLs.
9765 hardcode_libdir_flag_spec='-L$libdir'
9766 allow_undefined_flag=unsupported
9767 always_export_symbols=no
9768 enable_shared_with_static_runtimes=yes
9769 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9771 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9772 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9773 # If the export-symbols file already is a .def file (1st line
9774 # is EXPORTS), use it as is; otherwise, prepend...
9775 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9776 cp $export_symbols $output_objdir/$soname.def;
9778 echo EXPORTS > $output_objdir/$soname.def;
9779 cat $export_symbols >> $output_objdir/$soname.def;
9781 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9789 hardcode_shlibpath_var=no
9790 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9791 export_dynamic_flag_spec='${wl}-E'
9792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9793 # Instead, shared libraries are loaded at an image base (0x10000000 by
9794 # default) and relocated if they conflict, which is a slow very memory
9795 # consuming and fragmenting process. To avoid this, we pick a random,
9796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9798 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9799 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'
9802 gnu* | linux* | tpf* | k*bsd*-gnu)
9804 if test "$host_os" = linux-dietlibc; then
9805 case $cc_basename in
9806 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9809 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9810 && test "$tmp_diet" = no
9813 tmp_sharedflag='-shared'
9814 case $cc_basename,$host_cpu in
9815 pgcc*) # Portland Group C compiler
9816 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'
9817 tmp_addflag=' $pic_flag'
9819 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9820 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'
9821 tmp_addflag=' $pic_flag -Mnomain' ;;
9822 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9823 tmp_addflag=' -i_dynamic' ;;
9824 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9825 tmp_addflag=' -i_dynamic -nofor_main' ;;
9826 ifc* | ifort*) # Intel Fortran compiler
9827 tmp_addflag=' -nofor_main' ;;
9828 lf95*) # Lahey Fortran 8.1
9829 whole_archive_flag_spec=
9830 tmp_sharedflag='--shared' ;;
9831 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9832 tmp_sharedflag='-qmkshrobj'
9835 case `$CC -V 2>&1 | sed 5q` in
9836 *Sun\ C*) # Sun C 5.9
9837 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'
9838 compiler_needs_object=yes
9839 tmp_sharedflag='-G' ;;
9840 *Sun\ F*) # Sun Fortran 8.3
9841 tmp_sharedflag='-G' ;;
9843 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9845 if test "x$supports_anon_versioning" = xyes; then
9846 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9847 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9848 echo "local: *; };" >> $output_objdir/$libname.ver~
9849 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9852 case $cc_basename in
9854 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9855 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9856 hardcode_libdir_flag_spec=
9857 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9858 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9859 if test "x$supports_anon_versioning" = xyes; then
9860 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9861 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9862 echo "local: *; };" >> $output_objdir/$libname.ver~
9863 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9874 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9877 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9883 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9887 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9888 *** create shared libraries on Solaris systems. Therefore, libtool
9889 *** is disabling shared libraries support. We urge you to upgrade GNU
9890 *** binutils to release 2.9.1 or newer. Another option is to modify
9891 *** your PATH or compiler configuration so that the native linker is
9892 *** used, and then restart.
9895 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9896 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9897 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9904 case `$LD -v 2>&1` in
9905 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9909 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9910 *** reliably create shared libraries on SCO systems. Therefore, libtool
9911 *** is disabling shared libraries support. We urge you to upgrade GNU
9912 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9913 *** your PATH or compiler configuration so that the native linker is
9914 *** used, and then restart.
9919 # For security reasons, it is highly recommended that you always
9920 # use absolute paths for naming shared libraries, and exclude the
9921 # DT_RUNPATH tag from executables and libraries. But doing so
9922 # requires that you compile everything twice, which is a pain.
9923 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9924 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9935 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9938 hardcode_shlibpath_var=no
9942 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9943 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9951 if test "$ld_shlibs" = no; then
9953 hardcode_libdir_flag_spec=
9954 export_dynamic_flag_spec=
9955 whole_archive_flag_spec=
9958 # PORTME fill in a description of your system's linker (not GNU ld)
9961 allow_undefined_flag=unsupported
9962 always_export_symbols=yes
9963 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'
9964 # Note: this linker hardcodes the directories in LIBPATH if there
9965 # are no directories specified by -L.
9966 hardcode_minus_L=yes
9967 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9968 # Neither direct hardcoding nor static linking is supported with a
9970 hardcode_direct=unsupported
9975 if test "$host_cpu" = ia64; then
9976 # On IA64, the linker does run time linking by default, so we don't
9977 # have to do anything special.
9978 aix_use_runtimelinking=no
9979 exp_sym_flag='-Bexport'
9982 # If we're using GNU nm, then we don't want the "-C" option.
9983 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9984 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9985 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'
9987 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'
9989 aix_use_runtimelinking=no
9991 # Test if we are trying to use run time linking or normal
9992 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9993 # need to do runtime linking.
9994 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9995 for ld_flag in $LDFLAGS; do
9996 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9997 aix_use_runtimelinking=yes
10004 exp_sym_flag='-bexport'
10005 no_entry_flag='-bnoentry'
10008 # When large executables or shared objects are built, AIX ld can
10009 # have problems creating the table of contents. If linking a library
10010 # or program results in "error TOC overflow" add -mminimal-toc to
10011 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10012 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10015 hardcode_direct=yes
10016 hardcode_direct_absolute=yes
10017 hardcode_libdir_separator=':'
10018 link_all_deplibs=yes
10019 file_list_spec='${wl}-f,'
10021 if test "$GCC" = yes; then
10022 case $host_os in aix4.[012]|aix4.[012].*)
10023 # We only want to do this on AIX 4.2 and lower, the check
10024 # below for broken collect2 doesn't work under 4.3+
10025 collect2name=`${CC} -print-prog-name=collect2`
10026 if test -f "$collect2name" &&
10027 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10029 # We have reworked collect2
10032 # We have old collect2
10033 hardcode_direct=unsupported
10034 # It fails to find uninstalled libraries when the uninstalled
10035 # path is not listed in the libpath. Setting hardcode_minus_L
10036 # to unsupported forces relinking
10037 hardcode_minus_L=yes
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_libdir_separator=
10043 shared_flag='-shared'
10044 if test "$aix_use_runtimelinking" = yes; then
10045 shared_flag="$shared_flag "'${wl}-G'
10049 if test "$host_cpu" = ia64; then
10050 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10051 # chokes on -Wl,-G. The following line is correct:
10054 if test "$aix_use_runtimelinking" = yes; then
10055 shared_flag='${wl}-G'
10057 shared_flag='${wl}-bM:SRE'
10062 export_dynamic_flag_spec='${wl}-bexpall'
10063 # It seems that -bexpall does not export symbols beginning with
10064 # underscore (_), so it is better to generate a list of symbols to export.
10065 always_export_symbols=yes
10066 if test "$aix_use_runtimelinking" = yes; then
10067 # Warning - without using the other runtime loading flags (-brtl),
10068 # -berok will link without error, but may produce a broken library.
10069 allow_undefined_flag='-berok'
10070 # Determine the default libpath from the value encoded in an
10071 # empty executable.
10072 cat >conftest.$ac_ext <<_ACEOF
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h. */
10087 rm -f conftest.$ac_objext conftest$ac_exeext
10088 if { (ac_try="$ac_link"
10089 case "(($ac_try" in
10090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091 *) ac_try_echo=$ac_try;;
10093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10094 $as_echo "$ac_try_echo") >&5
10095 (eval "$ac_link") 2>conftest.er1
10097 grep -v '^ *+' conftest.er1 >conftest.err
10099 cat conftest.err >&5
10100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } && {
10102 test -z "$ac_c_werror_flag" ||
10103 test ! -s conftest.err
10104 } && test -s conftest$ac_exeext && {
10105 test "$cross_compiling" = yes ||
10106 $as_test_x conftest$ac_exeext
10109 lt_aix_libpath_sed='
10110 /Import File Strings/,/^$/ {
10116 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10117 # Check for a 64-bit object if we didn't find anything.
10118 if test -z "$aix_libpath"; then
10119 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10122 $as_echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10128 rm -rf conftest.dSYM
10129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10130 conftest$ac_exeext conftest.$ac_ext
10131 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10133 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10134 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"
10136 if test "$host_cpu" = ia64; then
10137 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10138 allow_undefined_flag="-z nodefs"
10139 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"
10141 # Determine the default libpath from the value encoded in an
10142 # empty executable.
10143 cat >conftest.$ac_ext <<_ACEOF
10146 cat confdefs.h >>conftest.$ac_ext
10147 cat >>conftest.$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10158 rm -f conftest.$ac_objext conftest$ac_exeext
10159 if { (ac_try="$ac_link"
10160 case "(($ac_try" in
10161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10162 *) ac_try_echo=$ac_try;;
10164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10165 $as_echo "$ac_try_echo") >&5
10166 (eval "$ac_link") 2>conftest.er1
10168 grep -v '^ *+' conftest.er1 >conftest.err
10170 cat conftest.err >&5
10171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest$ac_exeext && {
10176 test "$cross_compiling" = yes ||
10177 $as_test_x conftest$ac_exeext
10180 lt_aix_libpath_sed='
10181 /Import File Strings/,/^$/ {
10187 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10188 # Check for a 64-bit object if we didn't find anything.
10189 if test -z "$aix_libpath"; then
10190 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10193 $as_echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10199 rm -rf conftest.dSYM
10200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10201 conftest$ac_exeext conftest.$ac_ext
10202 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10204 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10205 # Warning - without using the other run time loading flags,
10206 # -berok will link without error, but may produce a broken library.
10207 no_undefined_flag=' ${wl}-bernotok'
10208 allow_undefined_flag=' ${wl}-berok'
10209 # Exported symbols can be pulled into shared objects from archives
10210 whole_archive_flag_spec='$convenience'
10211 archive_cmds_need_lc=yes
10212 # This is similar to how AIX traditionally builds its shared libraries.
10213 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'
10221 # see comment about AmigaOS4 .so support
10222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10223 archive_expsym_cmds=''
10226 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)'
10227 hardcode_libdir_flag_spec='-L$libdir'
10228 hardcode_minus_L=yes
10234 export_dynamic_flag_spec=-rdynamic
10237 cygwin* | mingw* | pw32* | cegcc*)
10238 # When not using gcc, we currently assume that we are using
10239 # Microsoft Visual C++.
10240 # hardcode_libdir_flag_spec is actually meaningless, as there is
10241 # no search path for DLLs.
10242 hardcode_libdir_flag_spec=' '
10243 allow_undefined_flag=unsupported
10244 # Tell ltmain to make .lib files, not .a files.
10246 # Tell ltmain to make .dll files, not .so files.
10248 # FIXME: Setting linknames here is a bad hack.
10249 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10250 # The linker will automatically build a .lib file if we build a DLL.
10251 old_archive_from_new_cmds='true'
10252 # FIXME: Should let the user specify the lib program.
10253 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10254 fix_srcfile_path='`cygpath -w "$srcfile"`'
10255 enable_shared_with_static_runtimes=yes
10258 darwin* | rhapsody*)
10261 archive_cmds_need_lc=no
10263 hardcode_automatic=yes
10264 hardcode_shlibpath_var=unsupported
10265 whole_archive_flag_spec=''
10266 link_all_deplibs=yes
10267 allow_undefined_flag="$_lt_dar_allow_undefined"
10268 case $cc_basename in
10269 ifort*) _lt_dar_can_shared=yes ;;
10270 *) _lt_dar_can_shared=$GCC ;;
10272 if test "$_lt_dar_can_shared" = "yes"; then
10273 output_verbose_link_cmd=echo
10274 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10275 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10276 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}"
10277 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}"
10286 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10287 hardcode_libdir_flag_spec='-L$libdir'
10288 hardcode_shlibpath_var=no
10295 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10296 # support. Future versions do this automatically, but an explicit c++rt0.o
10297 # does not break anything, and helps significantly (at the cost of a little
10300 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10301 hardcode_libdir_flag_spec='-R$libdir'
10302 hardcode_direct=yes
10303 hardcode_shlibpath_var=no
10306 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10308 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10309 hardcode_direct=yes
10310 hardcode_minus_L=yes
10311 hardcode_shlibpath_var=no
10314 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10315 freebsd* | dragonfly*)
10316 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10317 hardcode_libdir_flag_spec='-R$libdir'
10318 hardcode_direct=yes
10319 hardcode_shlibpath_var=no
10323 if test "$GCC" = yes; then
10324 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'
10326 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'
10328 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10329 hardcode_libdir_separator=:
10330 hardcode_direct=yes
10332 # hardcode_minus_L: Not really in the search PATH,
10333 # but as the default location of the library.
10334 hardcode_minus_L=yes
10335 export_dynamic_flag_spec='${wl}-E'
10339 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10340 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10342 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10344 if test "$with_gnu_ld" = no; then
10345 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10346 hardcode_libdir_flag_spec_ld='+b $libdir'
10347 hardcode_libdir_separator=:
10348 hardcode_direct=yes
10349 hardcode_direct_absolute=yes
10350 export_dynamic_flag_spec='${wl}-E'
10351 # hardcode_minus_L: Not really in the search PATH,
10352 # but as the default location of the library.
10353 hardcode_minus_L=yes
10358 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10361 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10364 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10367 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10373 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10376 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10379 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10383 if test "$with_gnu_ld" = no; then
10384 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10385 hardcode_libdir_separator=:
10390 hardcode_shlibpath_var=no
10393 hardcode_direct=yes
10394 hardcode_direct_absolute=yes
10395 export_dynamic_flag_spec='${wl}-E'
10397 # hardcode_minus_L: Not really in the search PATH,
10398 # but as the default location of the library.
10399 hardcode_minus_L=yes
10405 irix5* | irix6* | nonstopux*)
10406 if test "$GCC" = yes; then
10407 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'
10408 # Try to use the -exported_symbol ld option, if it does not
10409 # work, assume that -exports_file does not work either and
10410 # implicitly export all symbols.
10411 save_LDFLAGS="$LDFLAGS"
10412 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10413 cat >conftest.$ac_ext <<_ACEOF
10416 rm -f conftest.$ac_objext conftest$ac_exeext
10417 if { (ac_try="$ac_link"
10418 case "(($ac_try" in
10419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10420 *) ac_try_echo=$ac_try;;
10422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10423 $as_echo "$ac_try_echo") >&5
10424 (eval "$ac_link") 2>conftest.er1
10426 grep -v '^ *+' conftest.er1 >conftest.err
10428 cat conftest.err >&5
10429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); } && {
10431 test -z "$ac_c_werror_flag" ||
10432 test ! -s conftest.err
10433 } && test -s conftest$ac_exeext && {
10434 test "$cross_compiling" = yes ||
10435 $as_test_x conftest$ac_exeext
10437 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'
10440 $as_echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10446 rm -rf conftest.dSYM
10447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10448 conftest$ac_exeext conftest.$ac_ext
10449 LDFLAGS="$save_LDFLAGS"
10451 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'
10452 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'
10454 archive_cmds_need_lc='no'
10455 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456 hardcode_libdir_separator=:
10458 link_all_deplibs=yes
10462 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10463 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10465 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10467 hardcode_libdir_flag_spec='-R$libdir'
10468 hardcode_direct=yes
10469 hardcode_shlibpath_var=no
10473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10474 hardcode_direct=yes
10475 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10476 hardcode_libdir_separator=:
10477 hardcode_shlibpath_var=no
10484 if test -f /usr/libexec/ld.so; then
10485 hardcode_direct=yes
10486 hardcode_shlibpath_var=no
10487 hardcode_direct_absolute=yes
10488 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10489 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10490 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10491 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10492 export_dynamic_flag_spec='${wl}-E'
10495 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10496 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10497 hardcode_libdir_flag_spec='-R$libdir'
10500 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10501 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10511 hardcode_libdir_flag_spec='-L$libdir'
10512 hardcode_minus_L=yes
10513 allow_undefined_flag=unsupported
10514 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'
10515 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10519 if test "$GCC" = yes; then
10520 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10521 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'
10523 allow_undefined_flag=' -expect_unresolved \*'
10524 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'
10526 archive_cmds_need_lc='no'
10527 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10528 hardcode_libdir_separator=:
10531 osf4* | osf5*) # as osf3* with the addition of -msym flag
10532 if test "$GCC" = yes; then
10533 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10534 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'
10535 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10537 allow_undefined_flag=' -expect_unresolved \*'
10538 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'
10539 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~
10540 $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'
10542 # Both c and cxx compiler support -rpath directly
10543 hardcode_libdir_flag_spec='-rpath $libdir'
10545 archive_cmds_need_lc='no'
10546 hardcode_libdir_separator=:
10550 no_undefined_flag=' -z defs'
10551 if test "$GCC" = yes; then
10553 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10554 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10555 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10557 case `$CC -V 2>&1` in
10560 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10561 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10562 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10566 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10567 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10568 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10572 hardcode_libdir_flag_spec='-R$libdir'
10573 hardcode_shlibpath_var=no
10575 solaris2.[0-5] | solaris2.[0-5].*) ;;
10577 # The compiler driver will combine and reorder linker options,
10578 # but understands `-z linker_flag'. GCC discards it without `$wl',
10579 # but is careful enough not to reorder.
10580 # Supported since Solaris 2.6 (maybe 2.5.1?)
10581 if test "$GCC" = yes; then
10582 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10584 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10588 link_all_deplibs=yes
10592 if test "x$host_vendor" = xsequent; then
10593 # Use $CC to link under sequent, because it throws in some extra .o
10594 # files that make .init and .fini sections work.
10595 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10597 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_libdir_flag_spec='-L$libdir'
10600 hardcode_direct=yes
10601 hardcode_minus_L=yes
10602 hardcode_shlibpath_var=no
10606 case $host_vendor in
10608 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10609 hardcode_direct=yes # is this really true???
10612 ## LD is ld it makes a PLAMLIB
10613 ## CC just makes a GrossModule.
10614 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10615 reload_cmds='$CC -r -o $output$reload_objs'
10619 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10620 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10623 runpath_var='LD_RUN_PATH'
10624 hardcode_shlibpath_var=no
10628 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10629 hardcode_shlibpath_var=no
10630 export_dynamic_flag_spec='-Bexport'
10634 if test -d /usr/nec; then
10635 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10636 hardcode_shlibpath_var=no
10637 runpath_var=LD_RUN_PATH
10638 hardcode_runpath_var=yes
10643 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10644 no_undefined_flag='${wl}-z,text'
10645 archive_cmds_need_lc=no
10646 hardcode_shlibpath_var=no
10647 runpath_var='LD_RUN_PATH'
10649 if test "$GCC" = yes; then
10650 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10651 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658 sysv5* | sco3.2v5* | sco5v6*)
10659 # Note: We can NOT use -z defs as we might desire, because we do not
10660 # link with -lc, and that would cause any symbols used from libc to
10661 # always be unresolved, which means just about no library would
10662 # ever link correctly. If we're not using GNU ld we use -z text
10663 # though, which does catch some bad symbols but isn't as heavy-handed
10665 no_undefined_flag='${wl}-z,text'
10666 allow_undefined_flag='${wl}-z,nodefs'
10667 archive_cmds_need_lc=no
10668 hardcode_shlibpath_var=no
10669 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10670 hardcode_libdir_separator=':'
10671 link_all_deplibs=yes
10672 export_dynamic_flag_spec='${wl}-Bexport'
10673 runpath_var='LD_RUN_PATH'
10675 if test "$GCC" = yes; then
10676 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10677 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10679 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686 hardcode_libdir_flag_spec='-L$libdir'
10687 hardcode_shlibpath_var=no
10695 if test x$host_vendor = xsni; then
10697 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10698 export_dynamic_flag_spec='${wl}-Blargedynsym'
10704 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10705 $as_echo "$ld_shlibs" >&6; }
10706 test "$ld_shlibs" = no && can_build_shared=no
10708 with_gnu_ld=$with_gnu_ld
10725 # Do we need to explicitly link libc?
10727 case "x$archive_cmds_need_lc" in
10729 # Assume -lc should be added
10730 archive_cmds_need_lc=yes
10732 if test "$enable_shared" = yes && test "$GCC" = yes; then
10733 case $archive_cmds in
10735 # FIXME: we may have to deal with multi-command sequences.
10738 # Test whether the compiler implicitly links with -lc since on some
10739 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10740 # to ld, don't add -lc before -lgcc.
10741 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10742 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10744 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10747 (eval $ac_compile) 2>&5
10749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } 2>conftest.err; then
10753 libobjs=conftest.$ac_objext
10755 wl=$lt_prog_compiler_wl
10756 pic_flag=$lt_prog_compiler_pic
10762 lt_save_allow_undefined_flag=$allow_undefined_flag
10763 allow_undefined_flag=
10764 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10765 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }
10770 archive_cmds_need_lc=no
10772 archive_cmds_need_lc=yes
10774 allow_undefined_flag=$lt_save_allow_undefined_flag
10776 cat conftest.err 1>&5
10779 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10780 $as_echo "$archive_cmds_need_lc" >&6; }
10943 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10944 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10946 if test "$GCC" = yes; then
10948 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10949 *) lt_awk_arg="/^libraries:/" ;;
10951 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10952 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10953 # if the path contains ";" then we assume it to be the separator
10954 # otherwise default to the standard path separator (i.e. ":") - it is
10955 # assumed that no part of a normal pathname contains ";" but that should
10956 # okay in the real world where ";" in dirpaths is itself problematic.
10957 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10959 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10961 # Ok, now we have the path, separated by spaces, we can step through it
10962 # and add multilib dir if necessary.
10963 lt_tmp_lt_search_path_spec=
10964 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10965 for lt_sys_path in $lt_search_path_spec; do
10966 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10967 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10969 test -d "$lt_sys_path" && \
10970 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10973 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10974 BEGIN {RS=" "; FS="/|\n";} {
10977 for (lt_i = NF; lt_i > 0; lt_i--) {
10978 if ($lt_i != "" && $lt_i != ".") {
10979 if ($lt_i == "..") {
10982 if (lt_count == 0) {
10983 lt_foo="/" $lt_i lt_foo;
10990 if (lt_foo != "") { lt_freq[lt_foo]++; }
10991 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10993 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10995 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10997 library_names_spec=
10998 libname_spec='lib$name'
11002 postuninstall_cmds=
11006 shlibpath_overrides_runpath=unknown
11008 dynamic_linker="$host_os ld.so"
11009 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11010 need_lib_prefix=unknown
11011 hardcode_into_libs=no
11013 # when you set need_version to no, make sure it does not cause -set_version
11014 # flags to be left without arguments
11015 need_version=unknown
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11021 shlibpath_var=LIBPATH
11023 # AIX 3 has no versioning support, so we append a major version to the name.
11024 soname_spec='${libname}${release}${shared_ext}$major'
11031 hardcode_into_libs=yes
11032 if test "$host_cpu" = ia64; then
11033 # AIX 5 supports IA64
11034 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11037 # With GCC up to 2.95.x, collect2 would create an import file
11038 # for dependence libraries. The import file would start with
11039 # the line `#! .'. This would cause the generated library to
11040 # depend on `.', always an invalid library. This was fixed in
11041 # development snapshots of GCC prior to 3.0.
11043 aix4 | aix4.[01] | aix4.[01].*)
11044 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11046 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11049 can_build_shared=no
11053 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11054 # soname into executable. Probably we can add versioning support to
11055 # collect2, so additional links can be useful in future.
11056 if test "$aix_use_runtimelinking" = yes; then
11057 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11058 # instead of lib<name>.a to let people know that these are not
11059 # typical AIX shared libraries.
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 # We preserve .a as extension for shared libraries through AIX4.2
11063 # and later when we are not doing run time linking.
11064 library_names_spec='${libname}${release}.a $libname.a'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11067 shlibpath_var=LIBPATH
11074 # Since July 2007 AmigaOS4 officially supports .so libraries.
11075 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 library_names_spec='$libname.ixlibrary $libname.a'
11080 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11081 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'
11087 library_names_spec='${libname}${shared_ext}'
11088 dynamic_linker="$host_os ld.so"
11089 shlibpath_var=LIBRARY_PATH
11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 soname_spec='${libname}${release}${shared_ext}$major'
11097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11098 shlibpath_var=LD_LIBRARY_PATH
11099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11101 # the default ld.so.conf also contains /usr/contrib/lib and
11102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11103 # libtool to hard-code these into programs
11106 cygwin* | mingw* | pw32* | cegcc*)
11107 version_type=windows
11112 case $GCC,$host_os in
11113 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11114 library_names_spec='$libname.dll.a'
11115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11116 postinstall_cmds='base_file=`basename \${file}`~
11117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11118 dldir=$destdir/`dirname \$dlpath`~
11119 test -d \$dldir || mkdir -p \$dldir~
11120 $install_prog $dir/$dlname \$dldir/$dlname~
11121 chmod a+x \$dldir/$dlname~
11122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11126 dlpath=$dir/\$dldll~
11128 shlibpath_overrides_runpath=yes
11132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11137 # MinGW DLLs use traditional 'lib' prefix
11138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11141 # It is most probably a Windows format PATH printed by
11142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11143 # path with ; separators, and with drive letters. We can handle the
11144 # drive letters (cygwin fileutils understands them), so leave them,
11145 # especially as we might pass files found there to a mingw objdump,
11146 # which wouldn't understand a cygwinified path. Ahh.
11147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11153 # pw32 DLLs use 'pw' prefix rather than 'lib'
11154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11163 dynamic_linker='Win32 ld.exe'
11164 # FIXME: first we should search . and the directory the executable is in
11168 darwin* | rhapsody*)
11169 dynamic_linker="$host_os dyld"
11170 version_type=darwin
11173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11174 soname_spec='${libname}${release}${major}$shared_ext'
11175 shlibpath_overrides_runpath=yes
11176 shlibpath_var=DYLD_LIBRARY_PATH
11177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11179 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11180 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11188 soname_spec='${libname}${release}${shared_ext}$major'
11189 shlibpath_var=LD_LIBRARY_PATH
11196 freebsd* | dragonfly*)
11197 # DragonFly does not have aout. When/if they implement a new
11198 # versioning mechanism, adjust this.
11199 if test -x /usr/bin/objformat; then
11200 objformat=`/usr/bin/objformat`
11203 freebsd[123]*) objformat=aout ;;
11204 *) objformat=elf ;;
11207 version_type=freebsd-$objformat
11208 case $version_type in
11210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11215 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11219 shlibpath_var=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath=yes
11224 freebsd3.[01]* | freebsdelf3.[01]*)
11225 shlibpath_overrides_runpath=yes
11226 hardcode_into_libs=yes
11228 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11229 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11230 shlibpath_overrides_runpath=no
11231 hardcode_into_libs=yes
11233 *) # from 4.6 on, and DragonFly
11234 shlibpath_overrides_runpath=yes
11235 hardcode_into_libs=yes
11244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11245 soname_spec='${libname}${release}${shared_ext}$major'
11246 shlibpath_var=LD_LIBRARY_PATH
11247 hardcode_into_libs=yes
11250 hpux9* | hpux10* | hpux11*)
11251 # Give a soname corresponding to the major version so that dld.sl refuses to
11252 # link against other versions.
11259 hardcode_into_libs=yes
11260 dynamic_linker="$host_os dld.so"
11261 shlibpath_var=LD_LIBRARY_PATH
11262 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11264 soname_spec='${libname}${release}${shared_ext}$major'
11265 if test "X$HPUX_IA64_MODE" = X32; then
11266 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11268 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11270 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11274 hardcode_into_libs=yes
11275 dynamic_linker="$host_os dld.sl"
11276 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11277 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11279 soname_spec='${libname}${release}${shared_ext}$major'
11280 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11281 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11285 dynamic_linker="$host_os dld.sl"
11286 shlibpath_var=SHLIB_PATH
11287 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11289 soname_spec='${libname}${release}${shared_ext}$major'
11292 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11293 postinstall_cmds='chmod 555 $lib'
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11301 soname_spec='${libname}${release}${shared_ext}$major'
11302 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11303 shlibpath_var=LD_LIBRARY_PATH
11304 shlibpath_overrides_runpath=no
11305 hardcode_into_libs=yes
11308 irix5* | irix6* | nonstopux*)
11310 nonstopux*) version_type=nonstopux ;;
11312 if test "$lt_cv_prog_gnu_ld" = yes; then
11320 soname_spec='${libname}${release}${shared_ext}$major'
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11323 irix5* | nonstopux*)
11324 libsuff= shlibsuff=
11327 case $LD in # libtool.m4 will add one of these switches to LD
11328 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11329 libsuff= shlibsuff= libmagic=32-bit;;
11330 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11331 libsuff=32 shlibsuff=N32 libmagic=N32;;
11332 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11333 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11334 *) libsuff= shlibsuff= libmagic=never-match;;
11338 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11339 shlibpath_overrides_runpath=no
11340 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11341 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11342 hardcode_into_libs=yes
11345 # No shared lib support for Linux oldld, aout, or coff.
11346 linux*oldld* | linux*aout* | linux*coff*)
11350 # This must be Linux ELF.
11351 linux* | k*bsd*-gnu)
11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356 soname_spec='${libname}${release}${shared_ext}$major'
11357 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11358 shlibpath_var=LD_LIBRARY_PATH
11359 shlibpath_overrides_runpath=no
11360 # Some binutils ld are patched to set DT_RUNPATH
11361 save_LDFLAGS=$LDFLAGS
11362 save_libdir=$libdir
11363 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11364 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11365 cat >conftest.$ac_ext <<_ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11380 rm -f conftest.$ac_objext conftest$ac_exeext
11381 if { (ac_try="$ac_link"
11382 case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11387 $as_echo "$ac_try_echo") >&5
11388 (eval "$ac_link") 2>conftest.er1
11390 grep -v '^ *+' conftest.er1 >conftest.err
11392 cat conftest.err >&5
11393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } && {
11395 test -z "$ac_c_werror_flag" ||
11396 test ! -s conftest.err
11397 } && test -s conftest$ac_exeext && {
11398 test "$cross_compiling" = yes ||
11399 $as_test_x conftest$ac_exeext
11401 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11402 shlibpath_overrides_runpath=yes
11406 $as_echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11412 rm -rf conftest.dSYM
11413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LDFLAGS=$save_LDFLAGS
11416 libdir=$save_libdir
11418 # This implies no fast_install, which is unacceptable.
11419 # Some rework will be needed to allow for fast_install
11420 # before this can be enabled.
11421 hardcode_into_libs=yes
11423 # Add ABI-specific directories to the system library path.
11424 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11426 # Append ld.so.conf contents to the search path
11427 if test -f /etc/ld.so.conf; then
11428 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' ' '`
11429 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11432 # We used to test for /lib/ld.so.1 and disable shared libraries on
11433 # powerpc, because MkLinux only supported shared libraries with the
11434 # GNU dynamic linker. Since this was broken with cross compilers,
11435 # most powerpc-linux boxes support dynamic linking these days and
11436 # people can always --disable-shared, the test was removed, and we
11437 # assume the GNU/Linux dynamic linker is in use.
11438 dynamic_linker='GNU/Linux ld.so'
11445 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11447 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11448 dynamic_linker='NetBSD (a.out) ld.so'
11450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11451 soname_spec='${libname}${release}${shared_ext}$major'
11452 dynamic_linker='NetBSD ld.elf_so'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=yes
11456 hardcode_into_libs=yes
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471 soname_spec='${libname}${release}${shared_ext}$major'
11472 shlibpath_var=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath=no
11474 hardcode_into_libs=yes
11475 dynamic_linker='ldqnx.so'
11480 sys_lib_dlsearch_path_spec="/usr/lib"
11482 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11484 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11485 *) need_version=no ;;
11487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11488 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11489 shlibpath_var=LD_LIBRARY_PATH
11490 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11492 openbsd2.[89] | openbsd2.[89].*)
11493 shlibpath_overrides_runpath=no
11496 shlibpath_overrides_runpath=yes
11500 shlibpath_overrides_runpath=yes
11505 libname_spec='$name'
11508 library_names_spec='$libname${shared_ext} $libname.a'
11509 dynamic_linker='OS/2 ld.exe'
11510 shlibpath_var=LIBPATH
11513 osf3* | osf4* | osf5*)
11517 soname_spec='${libname}${release}${shared_ext}$major'
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 shlibpath_var=LD_LIBRARY_PATH
11520 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11521 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533 soname_spec='${libname}${release}${shared_ext}$major'
11534 shlibpath_var=LD_LIBRARY_PATH
11535 shlibpath_overrides_runpath=yes
11536 hardcode_into_libs=yes
11537 # ldd complains unless libraries are executable
11538 postinstall_cmds='chmod +x $lib'
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11544 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11545 shlibpath_var=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath=yes
11547 if test "$with_gnu_ld" = yes; then
11555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 soname_spec='${libname}${release}${shared_ext}$major'
11557 shlibpath_var=LD_LIBRARY_PATH
11558 case $host_vendor in
11560 shlibpath_overrides_runpath=no
11562 runpath_var=LD_RUN_PATH
11570 shlibpath_overrides_runpath=no
11571 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11577 if test -d /usr/nec ;then
11579 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11580 soname_spec='$libname${shared_ext}.$major'
11581 shlibpath_var=LD_LIBRARY_PATH
11585 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11586 version_type=freebsd-elf
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 shlibpath_var=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath=yes
11593 hardcode_into_libs=yes
11594 if test "$with_gnu_ld" = yes; then
11595 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11597 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11600 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11604 sys_lib_dlsearch_path_spec='/usr/lib'
11608 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11613 shlibpath_var=LD_LIBRARY_PATH
11614 shlibpath_overrides_runpath=no
11615 hardcode_into_libs=yes
11620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11621 soname_spec='${libname}${release}${shared_ext}$major'
11622 shlibpath_var=LD_LIBRARY_PATH
11629 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11630 $as_echo "$dynamic_linker" >&6; }
11631 test "$dynamic_linker" = no && can_build_shared=no
11633 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11634 if test "$GCC" = yes; then
11635 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11638 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11639 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11641 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11642 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11731 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11732 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11734 if test -n "$hardcode_libdir_flag_spec" ||
11735 test -n "$runpath_var" ||
11736 test "X$hardcode_automatic" = "Xyes" ; then
11738 # We can hardcode non-existent directories.
11739 if test "$hardcode_direct" != no &&
11740 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11741 # have to relink, otherwise we might link with an installed library
11742 # when we should be linking with a yet-to-be-installed one
11743 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11744 test "$hardcode_minus_L" != no; then
11745 # Linking always hardcodes the temporary library directory.
11746 hardcode_action=relink
11748 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11749 hardcode_action=immediate
11752 # We cannot hardcode anything, or else we can only hardcode existing
11754 hardcode_action=unsupported
11756 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11757 $as_echo "$hardcode_action" >&6; }
11759 if test "$hardcode_action" = relink ||
11760 test "$inherit_rpath" = yes; then
11761 # Fast installation is not supported
11762 enable_fast_install=no
11763 elif test "$shlibpath_overrides_runpath" = yes ||
11764 test "$enable_shared" = no; then
11765 # Fast installation is not necessary
11766 enable_fast_install=needless
11774 if test "x$enable_dlopen" != xyes; then
11775 enable_dlopen=unknown
11776 enable_dlopen_self=unknown
11777 enable_dlopen_self_static=unknown
11784 lt_cv_dlopen="load_add_on"
11786 lt_cv_dlopen_self=yes
11789 mingw* | pw32* | cegcc*)
11790 lt_cv_dlopen="LoadLibrary"
11795 lt_cv_dlopen="dlopen"
11800 # if libdl is installed we need to link against it
11801 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11802 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11803 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11804 $as_echo_n "(cached) " >&6
11806 ac_check_lib_save_LIBS=$LIBS
11808 cat >conftest.$ac_ext <<_ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11830 rm -f conftest.$ac_objext conftest$ac_exeext
11831 if { (ac_try="$ac_link"
11832 case "(($ac_try" in
11833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11834 *) ac_try_echo=$ac_try;;
11836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11837 $as_echo "$ac_try_echo") >&5
11838 (eval "$ac_link") 2>conftest.er1
11840 grep -v '^ *+' conftest.er1 >conftest.err
11842 cat conftest.err >&5
11843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); } && {
11845 test -z "$ac_c_werror_flag" ||
11846 test ! -s conftest.err
11847 } && test -s conftest$ac_exeext && {
11848 test "$cross_compiling" = yes ||
11849 $as_test_x conftest$ac_exeext
11851 ac_cv_lib_dl_dlopen=yes
11853 $as_echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 ac_cv_lib_dl_dlopen=no
11859 rm -rf conftest.dSYM
11860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_lib_save_LIBS
11864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11865 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11866 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11867 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11870 lt_cv_dlopen="dyld"
11872 lt_cv_dlopen_self=yes
11879 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11880 $as_echo_n "checking for shl_load... " >&6; }
11881 if test "${ac_cv_func_shl_load+set}" = set; then
11882 $as_echo_n "(cached) " >&6
11884 cat >conftest.$ac_ext <<_ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11892 #define shl_load innocuous_shl_load
11894 /* System header to define __stub macros and hopefully few prototypes,
11895 which can conflict with char shl_load (); below.
11896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897 <limits.h> exists even on freestanding compilers. */
11900 # include <limits.h>
11902 # include <assert.h>
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined __stub_shl_load || defined __stub___shl_load
11924 return shl_load ();
11929 rm -f conftest.$ac_objext conftest$ac_exeext
11930 if { (ac_try="$ac_link"
11931 case "(($ac_try" in
11932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11933 *) ac_try_echo=$ac_try;;
11935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11936 $as_echo "$ac_try_echo") >&5
11937 (eval "$ac_link") 2>conftest.er1
11939 grep -v '^ *+' conftest.er1 >conftest.err
11941 cat conftest.err >&5
11942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } && {
11944 test -z "$ac_c_werror_flag" ||
11945 test ! -s conftest.err
11946 } && test -s conftest$ac_exeext && {
11947 test "$cross_compiling" = yes ||
11948 $as_test_x conftest$ac_exeext
11950 ac_cv_func_shl_load=yes
11952 $as_echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11955 ac_cv_func_shl_load=no
11958 rm -rf conftest.dSYM
11959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11960 conftest$ac_exeext conftest.$ac_ext
11962 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11963 $as_echo "$ac_cv_func_shl_load" >&6; }
11964 if test "x$ac_cv_func_shl_load" = x""yes; then
11965 lt_cv_dlopen="shl_load"
11967 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11968 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11969 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11970 $as_echo_n "(cached) " >&6
11972 ac_check_lib_save_LIBS=$LIBS
11974 cat >conftest.$ac_ext <<_ACEOF
11977 cat confdefs.h >>conftest.$ac_ext
11978 cat >>conftest.$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11981 /* Override any GCC internal prototype to avoid an error.
11982 Use char because int might match the return type of a GCC
11983 builtin and then its argument prototype would still apply. */
11991 return shl_load ();
11996 rm -f conftest.$ac_objext conftest$ac_exeext
11997 if { (ac_try="$ac_link"
11998 case "(($ac_try" in
11999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12000 *) ac_try_echo=$ac_try;;
12002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12003 $as_echo "$ac_try_echo") >&5
12004 (eval "$ac_link") 2>conftest.er1
12006 grep -v '^ *+' conftest.er1 >conftest.err
12008 cat conftest.err >&5
12009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } && {
12011 test -z "$ac_c_werror_flag" ||
12012 test ! -s conftest.err
12013 } && test -s conftest$ac_exeext && {
12014 test "$cross_compiling" = yes ||
12015 $as_test_x conftest$ac_exeext
12017 ac_cv_lib_dld_shl_load=yes
12019 $as_echo "$as_me: failed program was:" >&5
12020 sed 's/^/| /' conftest.$ac_ext >&5
12022 ac_cv_lib_dld_shl_load=no
12025 rm -rf conftest.dSYM
12026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12027 conftest$ac_exeext conftest.$ac_ext
12028 LIBS=$ac_check_lib_save_LIBS
12030 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12031 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12032 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12033 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12035 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12036 $as_echo_n "checking for dlopen... " >&6; }
12037 if test "${ac_cv_func_dlopen+set}" = set; then
12038 $as_echo_n "(cached) " >&6
12040 cat >conftest.$ac_ext <<_ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12046 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12048 #define dlopen innocuous_dlopen
12050 /* System header to define __stub macros and hopefully few prototypes,
12051 which can conflict with char dlopen (); below.
12052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12053 <limits.h> exists even on freestanding compilers. */
12056 # include <limits.h>
12058 # include <assert.h>
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12070 /* The GNU C library defines this for functions which it implements
12071 to always fail with ENOSYS. Some functions are actually named
12072 something starting with __ and the normal name is an alias. */
12073 #if defined __stub_dlopen || defined __stub___dlopen
12085 rm -f conftest.$ac_objext conftest$ac_exeext
12086 if { (ac_try="$ac_link"
12087 case "(($ac_try" in
12088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089 *) ac_try_echo=$ac_try;;
12091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12092 $as_echo "$ac_try_echo") >&5
12093 (eval "$ac_link") 2>conftest.er1
12095 grep -v '^ *+' conftest.er1 >conftest.err
12097 cat conftest.err >&5
12098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } && {
12100 test -z "$ac_c_werror_flag" ||
12101 test ! -s conftest.err
12102 } && test -s conftest$ac_exeext && {
12103 test "$cross_compiling" = yes ||
12104 $as_test_x conftest$ac_exeext
12106 ac_cv_func_dlopen=yes
12108 $as_echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.$ac_ext >&5
12111 ac_cv_func_dlopen=no
12114 rm -rf conftest.dSYM
12115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116 conftest$ac_exeext conftest.$ac_ext
12118 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12119 $as_echo "$ac_cv_func_dlopen" >&6; }
12120 if test "x$ac_cv_func_dlopen" = x""yes; then
12121 lt_cv_dlopen="dlopen"
12123 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12124 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12125 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS=$LIBS
12130 cat >conftest.$ac_ext <<_ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12152 rm -f conftest.$ac_objext conftest$ac_exeext
12153 if { (ac_try="$ac_link"
12154 case "(($ac_try" in
12155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12156 *) ac_try_echo=$ac_try;;
12158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12159 $as_echo "$ac_try_echo") >&5
12160 (eval "$ac_link") 2>conftest.er1
12162 grep -v '^ *+' conftest.er1 >conftest.err
12164 cat conftest.err >&5
12165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); } && {
12167 test -z "$ac_c_werror_flag" ||
12168 test ! -s conftest.err
12169 } && test -s conftest$ac_exeext && {
12170 test "$cross_compiling" = yes ||
12171 $as_test_x conftest$ac_exeext
12173 ac_cv_lib_dl_dlopen=yes
12175 $as_echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12178 ac_cv_lib_dl_dlopen=no
12181 rm -rf conftest.dSYM
12182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12187 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12188 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12189 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12191 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12192 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12193 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12194 $as_echo_n "(cached) " >&6
12196 ac_check_lib_save_LIBS=$LIBS
12197 LIBS="-lsvld $LIBS"
12198 cat >conftest.$ac_ext <<_ACEOF
12201 cat confdefs.h >>conftest.$ac_ext
12202 cat >>conftest.$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12220 rm -f conftest.$ac_objext conftest$ac_exeext
12221 if { (ac_try="$ac_link"
12222 case "(($ac_try" in
12223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12224 *) ac_try_echo=$ac_try;;
12226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12227 $as_echo "$ac_try_echo") >&5
12228 (eval "$ac_link") 2>conftest.er1
12230 grep -v '^ *+' conftest.er1 >conftest.err
12232 cat conftest.err >&5
12233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } && {
12235 test -z "$ac_c_werror_flag" ||
12236 test ! -s conftest.err
12237 } && test -s conftest$ac_exeext && {
12238 test "$cross_compiling" = yes ||
12239 $as_test_x conftest$ac_exeext
12241 ac_cv_lib_svld_dlopen=yes
12243 $as_echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12246 ac_cv_lib_svld_dlopen=no
12249 rm -rf conftest.dSYM
12250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12251 conftest$ac_exeext conftest.$ac_ext
12252 LIBS=$ac_check_lib_save_LIBS
12254 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12255 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12256 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12257 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12259 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12260 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12261 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12262 $as_echo_n "(cached) " >&6
12264 ac_check_lib_save_LIBS=$LIBS
12266 cat >conftest.$ac_ext <<_ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12283 return dld_link ();
12288 rm -f conftest.$ac_objext conftest$ac_exeext
12289 if { (ac_try="$ac_link"
12290 case "(($ac_try" in
12291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12292 *) ac_try_echo=$ac_try;;
12294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12295 $as_echo "$ac_try_echo") >&5
12296 (eval "$ac_link") 2>conftest.er1
12298 grep -v '^ *+' conftest.er1 >conftest.err
12300 cat conftest.err >&5
12301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); } && {
12303 test -z "$ac_c_werror_flag" ||
12304 test ! -s conftest.err
12305 } && test -s conftest$ac_exeext && {
12306 test "$cross_compiling" = yes ||
12307 $as_test_x conftest$ac_exeext
12309 ac_cv_lib_dld_dld_link=yes
12311 $as_echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.$ac_ext >&5
12314 ac_cv_lib_dld_dld_link=no
12317 rm -rf conftest.dSYM
12318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_lib_save_LIBS
12322 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12323 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12324 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12325 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12346 if test "x$lt_cv_dlopen" != xno; then
12352 case $lt_cv_dlopen in
12354 save_CPPFLAGS="$CPPFLAGS"
12355 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12357 save_LDFLAGS="$LDFLAGS"
12358 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12361 LIBS="$lt_cv_dlopen_libs $LIBS"
12363 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12364 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12365 if test "${lt_cv_dlopen_self+set}" = set; then
12366 $as_echo_n "(cached) " >&6
12368 if test "$cross_compiling" = yes; then :
12369 lt_cv_dlopen_self=cross
12371 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12372 lt_status=$lt_dlunknown
12373 cat > conftest.$ac_ext <<_LT_EOF
12374 #line 12374 "configure"
12375 #include "confdefs.h"
12384 # define LT_DLGLOBAL RTLD_GLOBAL
12387 # define LT_DLGLOBAL DL_GLOBAL
12389 # define LT_DLGLOBAL 0
12393 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12394 find out it does not work in some platform. */
12395 #ifndef LT_DLLAZY_OR_NOW
12397 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12400 # define LT_DLLAZY_OR_NOW DL_LAZY
12403 # define LT_DLLAZY_OR_NOW RTLD_NOW
12406 # define LT_DLLAZY_OR_NOW DL_NOW
12408 # define LT_DLLAZY_OR_NOW 0
12415 void fnord() { int i=42;}
12418 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12419 int status = $lt_dlunknown;
12423 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12424 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12425 /* dlclose (self); */
12433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12434 (eval $ac_link) 2>&5
12436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12438 (./conftest; exit; ) >&5 2>/dev/null
12440 case x$lt_status in
12441 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12442 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12443 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12446 # compilation failed
12447 lt_cv_dlopen_self=no
12454 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12455 $as_echo "$lt_cv_dlopen_self" >&6; }
12457 if test "x$lt_cv_dlopen_self" = xyes; then
12458 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12459 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12460 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12461 if test "${lt_cv_dlopen_self_static+set}" = set; then
12462 $as_echo_n "(cached) " >&6
12464 if test "$cross_compiling" = yes; then :
12465 lt_cv_dlopen_self_static=cross
12467 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12468 lt_status=$lt_dlunknown
12469 cat > conftest.$ac_ext <<_LT_EOF
12470 #line 12470 "configure"
12471 #include "confdefs.h"
12480 # define LT_DLGLOBAL RTLD_GLOBAL
12483 # define LT_DLGLOBAL DL_GLOBAL
12485 # define LT_DLGLOBAL 0
12489 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12490 find out it does not work in some platform. */
12491 #ifndef LT_DLLAZY_OR_NOW
12493 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12496 # define LT_DLLAZY_OR_NOW DL_LAZY
12499 # define LT_DLLAZY_OR_NOW RTLD_NOW
12502 # define LT_DLLAZY_OR_NOW DL_NOW
12504 # define LT_DLLAZY_OR_NOW 0
12511 void fnord() { int i=42;}
12514 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12515 int status = $lt_dlunknown;
12519 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12520 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12521 /* dlclose (self); */
12529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530 (eval $ac_link) 2>&5
12532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12534 (./conftest; exit; ) >&5 2>/dev/null
12536 case x$lt_status in
12537 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12538 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12539 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12542 # compilation failed
12543 lt_cv_dlopen_self_static=no
12550 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12551 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12554 CPPFLAGS="$save_CPPFLAGS"
12555 LDFLAGS="$save_LDFLAGS"
12560 case $lt_cv_dlopen_self in
12561 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12562 *) enable_dlopen_self=unknown ;;
12565 case $lt_cv_dlopen_self_static in
12566 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12567 *) enable_dlopen_self_static=unknown ;;
12589 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12590 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12591 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12592 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12593 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12594 { $as_echo "$as_me:$LINENO: result: yes" >&5
12595 $as_echo "yes" >&6; }
12597 # FIXME - insert some real tests, host_os isn't really good enough
12600 if test -n "$STRIP" ; then
12601 striplib="$STRIP -x"
12602 old_striplib="$STRIP -S"
12603 { $as_echo "$as_me:$LINENO: result: yes" >&5
12604 $as_echo "yes" >&6; }
12606 { $as_echo "$as_me:$LINENO: result: no" >&5
12607 $as_echo "no" >&6; }
12611 { $as_echo "$as_me:$LINENO: result: no" >&5
12612 $as_echo "no" >&6; }
12628 # Report which library types will actually be built
12629 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12630 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12631 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12632 $as_echo "$can_build_shared" >&6; }
12634 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12635 $as_echo_n "checking whether to build shared libraries... " >&6; }
12636 test "$can_build_shared" = "no" && enable_shared=no
12638 # On AIX, shared libraries and static libraries use the same namespace, and
12639 # are all built from PIC.
12642 test "$enable_shared" = yes && enable_static=no
12643 if test -n "$RANLIB"; then
12644 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12645 postinstall_cmds='$RANLIB $lib'
12650 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12651 test "$enable_shared" = yes && enable_static=no
12655 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12656 $as_echo "$enable_shared" >&6; }
12658 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12659 $as_echo_n "checking whether to build static libraries... " >&6; }
12660 # Make sure either enable_shared or enable_static is yes.
12661 test "$enable_shared" = yes || enable_static=yes
12662 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12663 $as_echo "$enable_static" >&6; }
12670 ac_cpp='$CPP $CPPFLAGS'
12671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689 ac_config_commands="$ac_config_commands libtool"
12694 # Only expand once:
12697 # Extract the first word of "gconftool-2", so it can be a program name with args.
12698 set dummy gconftool-2; ac_word=$2
12699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12700 $as_echo_n "checking for $ac_word... " >&6; }
12701 if test "${ac_cv_path_GCONFTOOL+set}" = set; then
12702 $as_echo_n "(cached) " >&6
12706 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
12709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12710 for as_dir in $PATH
12713 test -z "$as_dir" && as_dir=.
12714 for ac_exec_ext in '' $ac_executable_extensions; do
12715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12716 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
12717 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12727 GCONFTOOL=$ac_cv_path_GCONFTOOL
12728 if test -n "$GCONFTOOL"; then
12729 { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
12730 $as_echo "$GCONFTOOL" >&6; }
12732 { $as_echo "$as_me:$LINENO: result: no" >&5
12733 $as_echo "no" >&6; }
12738 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
12739 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
12741 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
12745 # Check whether --with-gconf-source was given.
12746 if test "${with_gconf_source+set}" = set; then
12747 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
12752 { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
12753 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
12755 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
12756 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
12760 # Check whether --with-gconf-schema-file-dir was given.
12761 if test "${with_gconf_schema_file_dir+set}" = set; then
12762 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
12767 { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
12768 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
12770 # Check whether --enable-schemas-install was given.
12771 if test "${enable_schemas_install+set}" = set; then
12772 enableval=$enable_schemas_install; case ${enableval} in
12774 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
12775 $as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
12776 { (exit 1); exit 1; }; } ;;
12780 if test "$enable_schemas_install" != no; then
12781 GCONF_SCHEMAS_INSTALL_TRUE=
12782 GCONF_SCHEMAS_INSTALL_FALSE='#'
12784 GCONF_SCHEMAS_INSTALL_TRUE='#'
12785 GCONF_SCHEMAS_INSTALL_FALSE=
12793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12794 if test -n "$ac_tool_prefix"; then
12795 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 $as_echo_n "checking for $ac_word... " >&6; }
12799 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12800 $as_echo_n "(cached) " >&6
12802 case $PKG_CONFIG in
12804 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12815 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12826 if test -n "$PKG_CONFIG"; then
12827 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12828 $as_echo "$PKG_CONFIG" >&6; }
12830 { $as_echo "$as_me:$LINENO: result: no" >&5
12831 $as_echo "no" >&6; }
12836 if test -z "$ac_cv_path_PKG_CONFIG"; then
12837 ac_pt_PKG_CONFIG=$PKG_CONFIG
12838 # Extract the first word of "pkg-config", so it can be a program name with args.
12839 set dummy pkg-config; ac_word=$2
12840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12841 $as_echo_n "checking for $ac_word... " >&6; }
12842 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12843 $as_echo_n "(cached) " >&6
12845 case $ac_pt_PKG_CONFIG in
12847 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12851 for as_dir in $PATH
12854 test -z "$as_dir" && as_dir=.
12855 for ac_exec_ext in '' $ac_executable_extensions; do
12856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12857 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12868 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12869 if test -n "$ac_pt_PKG_CONFIG"; then
12870 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12871 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12873 { $as_echo "$as_me:$LINENO: result: no" >&5
12874 $as_echo "no" >&6; }
12877 if test "x$ac_pt_PKG_CONFIG" = x; then
12880 case $cross_compiling:$ac_tool_warned in
12882 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12884 ac_tool_warned=yes ;;
12886 PKG_CONFIG=$ac_pt_PKG_CONFIG
12889 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12893 if test -n "$PKG_CONFIG"; then
12894 _pkg_min_version=0.9.0
12895 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12896 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12897 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12898 { $as_echo "$as_me:$LINENO: result: yes" >&5
12899 $as_echo "yes" >&6; }
12901 { $as_echo "$as_me:$LINENO: result: no" >&5
12902 $as_echo "no" >&6; }
12908 gdu_cv_version_required=0.3.2
12910 { $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12911 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12912 if test -n "$PKG_CONFIG" && \
12913 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
12914 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; then
12918 gdu_cv_have_gdu=yes
12923 if test "$gdu_cv_have_gdu" = "yes"; then
12924 { $as_echo "$as_me:$LINENO: result: yes" >&5
12925 $as_echo "yes" >&6; }
12928 { $as_echo "$as_me:$LINENO: result: no" >&5
12929 $as_echo "no" >&6; }
12930 { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
12931 $as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
12932 { (exit 1); exit 1; }; }
12937 # Check whether --with-help-dir was given.
12938 if test "${with_help_dir+set}" = set; then
12939 withval=$with_help_dir;
12941 with_help_dir='${datadir}/gnome/help'
12944 HELP_DIR="$with_help_dir"
12948 # Check whether --with-omf-dir was given.
12949 if test "${with_omf_dir+set}" = set; then
12950 withval=$with_omf_dir;
12952 with_omf_dir='${datadir}/omf'
12955 OMF_DIR="$with_omf_dir"
12959 # Check whether --with-help-formats was given.
12960 if test "${with_help_formats+set}" = set; then
12961 withval=$with_help_formats;
12963 with_help_formats=''
12966 DOC_USER_FORMATS="$with_help_formats"
12969 # Check whether --enable-scrollkeeper was given.
12970 if test "${enable_scrollkeeper+set}" = set; then
12971 enableval=$enable_scrollkeeper;
12973 enable_scrollkeeper=yes
12976 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12978 ENABLE_SK_FALSE='#'
12985 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12988 if test "$gdu_cv_have_gdu" = "yes"; then
12989 HAVE_GNOME_DOC_UTILS_TRUE=
12990 HAVE_GNOME_DOC_UTILS_FALSE='#'
12992 HAVE_GNOME_DOC_UTILS_TRUE='#'
12993 HAVE_GNOME_DOC_UTILS_FALSE=
12999 if test "x$GCC" = "xyes"; then
13000 case " $CFLAGS " in
13001 *[\ \ ]-Wall[\ \ ]*) ;;
13002 *) CFLAGS="$CFLAGS -Wall" ;;
13008 { $as_echo "$as_me:$LINENO: checking for GCONF_EDITOR" >&5
13009 $as_echo_n "checking for GCONF_EDITOR... " >&6; }
13011 if test -n "$GCONF_EDITOR_CFLAGS"; then
13012 pkg_cv_GCONF_EDITOR_CFLAGS="$GCONF_EDITOR_CFLAGS"
13013 elif test -n "$PKG_CONFIG"; then
13014 if test -n "$PKG_CONFIG" && \
13015 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.9.2
13017 dbus-glib-1\"") >&5
13018 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.9.2
13022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); }; then
13024 pkg_cv_GCONF_EDITOR_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.9.2
13026 dbus-glib-1" 2>/dev/null`
13033 if test -n "$GCONF_EDITOR_LIBS"; then
13034 pkg_cv_GCONF_EDITOR_LIBS="$GCONF_EDITOR_LIBS"
13035 elif test -n "$PKG_CONFIG"; then
13036 if test -n "$PKG_CONFIG" && \
13037 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.9.2
13039 dbus-glib-1\"") >&5
13040 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.9.2
13044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); }; then
13046 pkg_cv_GCONF_EDITOR_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.9.2
13048 dbus-glib-1" 2>/dev/null`
13058 if test $pkg_failed = yes; then
13060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13061 _pkg_short_errors_supported=yes
13063 _pkg_short_errors_supported=no
13065 if test $_pkg_short_errors_supported = yes; then
13066 GCONF_EDITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= 2.9.2
13070 GCONF_EDITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= 2.9.2
13074 # Put the nasty error message in config.log where it belongs
13075 echo "$GCONF_EDITOR_PKG_ERRORS" >&5
13077 { { $as_echo "$as_me:$LINENO: error: Package requirements (gconf-2.0 >= 2.9.2
13079 dbus-glib-1) were not met:
13081 $GCONF_EDITOR_PKG_ERRORS
13083 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13084 installed software in a non-standard prefix.
13086 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13087 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13088 See the pkg-config man page for more details.
13090 $as_echo "$as_me: error: Package requirements (gconf-2.0 >= 2.9.2
13092 dbus-glib-1) were not met:
13094 $GCONF_EDITOR_PKG_ERRORS
13096 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13097 installed software in a non-standard prefix.
13099 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13100 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13101 See the pkg-config man page for more details.
13103 { (exit 1); exit 1; }; }
13104 elif test $pkg_failed = untried; then
13105 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13107 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13108 is in your PATH or set the PKG_CONFIG environment variable to the full
13109 path to pkg-config.
13111 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13112 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13113 See the pkg-config man page for more details.
13115 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13116 See \`config.log' for more details." >&5
13117 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13118 is in your PATH or set the PKG_CONFIG environment variable to the full
13119 path to pkg-config.
13121 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13122 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13123 See the pkg-config man page for more details.
13125 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13126 See \`config.log' for more details." >&2;}
13127 { (exit 1); exit 1; }; }; }
13129 GCONF_EDITOR_CFLAGS=$pkg_cv_GCONF_EDITOR_CFLAGS
13130 GCONF_EDITOR_LIBS=$pkg_cv_GCONF_EDITOR_LIBS
13131 { $as_echo "$as_me:$LINENO: result: yes" >&5
13132 $as_echo "yes" >&6; }
13136 if test "$enable_maintainer_mode" = "yes"; then
13137 DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED \
13138 -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
13142 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13143 set dummy glib-genmarshal; ac_word=$2
13144 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
13147 $as_echo_n "(cached) " >&6
13149 case $GLIB_GENMARSHAL in
13151 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13155 for as_dir in $PATH
13158 test -z "$as_dir" && as_dir=.
13159 for ac_exec_ext in '' $ac_executable_extensions; do
13160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13161 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13162 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13172 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13173 if test -n "$GLIB_GENMARSHAL"; then
13174 { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
13175 $as_echo "$GLIB_GENMARSHAL" >&6; }
13177 { $as_echo "$as_me:$LINENO: result: no" >&5
13178 $as_echo "no" >&6; }
13183 GETTEXT_PACKAGE=gconf-editor
13186 cat >>confdefs.h <<_ACEOF
13187 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13193 for ac_header in locale.h
13195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13197 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 $as_echo_n "checking for $ac_header... " >&6; }
13199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13200 $as_echo_n "(cached) " >&6
13202 ac_res=`eval 'as_val=${'$as_ac_Header'}
13203 $as_echo "$as_val"'`
13204 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13205 $as_echo "$ac_res" >&6; }
13207 # Is the header compilable?
13208 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13209 $as_echo_n "checking $ac_header usability... " >&6; }
13210 cat >conftest.$ac_ext <<_ACEOF
13213 cat confdefs.h >>conftest.$ac_ext
13214 cat >>conftest.$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13216 $ac_includes_default
13217 #include <$ac_header>
13219 rm -f conftest.$ac_objext
13220 if { (ac_try="$ac_compile"
13221 case "(($ac_try" in
13222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13223 *) ac_try_echo=$ac_try;;
13225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13226 $as_echo "$ac_try_echo") >&5
13227 (eval "$ac_compile") 2>conftest.er1
13229 grep -v '^ *+' conftest.er1 >conftest.err
13231 cat conftest.err >&5
13232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } && {
13234 test -z "$ac_c_werror_flag" ||
13235 test ! -s conftest.err
13236 } && test -s conftest.$ac_objext; then
13237 ac_header_compiler=yes
13239 $as_echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.$ac_ext >&5
13242 ac_header_compiler=no
13245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13246 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13247 $as_echo "$ac_header_compiler" >&6; }
13249 # Is the header present?
13250 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13251 $as_echo_n "checking $ac_header presence... " >&6; }
13252 cat >conftest.$ac_ext <<_ACEOF
13255 cat confdefs.h >>conftest.$ac_ext
13256 cat >>conftest.$ac_ext <<_ACEOF
13257 /* end confdefs.h. */
13258 #include <$ac_header>
13260 if { (ac_try="$ac_cpp conftest.$ac_ext"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13266 $as_echo "$ac_try_echo") >&5
13267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13269 grep -v '^ *+' conftest.er1 >conftest.err
13271 cat conftest.err >&5
13272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } >/dev/null && {
13274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13275 test ! -s conftest.err
13277 ac_header_preproc=yes
13279 $as_echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13282 ac_header_preproc=no
13285 rm -f conftest.err conftest.$ac_ext
13286 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13287 $as_echo "$ac_header_preproc" >&6; }
13289 # So? What about this header?
13290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13293 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13295 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13296 ac_header_preproc=yes
13299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13300 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13302 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13304 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13306 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13308 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13310 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13312 ## --------------------------------------------------------------------------- ##
13313 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor ##
13314 ## --------------------------------------------------------------------------- ##
13316 ) | sed "s/^/$as_me: WARNING: /" >&2
13319 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13320 $as_echo_n "checking for $ac_header... " >&6; }
13321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13322 $as_echo_n "(cached) " >&6
13324 eval "$as_ac_Header=\$ac_header_preproc"
13326 ac_res=`eval 'as_val=${'$as_ac_Header'}
13327 $as_echo "$as_val"'`
13328 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13329 $as_echo "$ac_res" >&6; }
13332 as_val=`eval 'as_val=${'$as_ac_Header'}
13333 $as_echo "$as_val"'`
13334 if test "x$as_val" = x""yes; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13343 if test $ac_cv_header_locale_h = yes; then
13344 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
13345 $as_echo_n "checking for LC_MESSAGES... " >&6; }
13346 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
13347 $as_echo_n "(cached) " >&6
13349 cat >conftest.$ac_ext <<_ACEOF
13352 cat confdefs.h >>conftest.$ac_ext
13353 cat >>conftest.$ac_ext <<_ACEOF
13354 /* end confdefs.h. */
13355 #include <locale.h>
13364 rm -f conftest.$ac_objext conftest$ac_exeext
13365 if { (ac_try="$ac_link"
13366 case "(($ac_try" in
13367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13368 *) ac_try_echo=$ac_try;;
13370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13371 $as_echo "$ac_try_echo") >&5
13372 (eval "$ac_link") 2>conftest.er1
13374 grep -v '^ *+' conftest.er1 >conftest.err
13376 cat conftest.err >&5
13377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } && {
13379 test -z "$ac_c_werror_flag" ||
13380 test ! -s conftest.err
13381 } && test -s conftest$ac_exeext && {
13382 test "$cross_compiling" = yes ||
13383 $as_test_x conftest$ac_exeext
13385 am_cv_val_LC_MESSAGES=yes
13387 $as_echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13390 am_cv_val_LC_MESSAGES=no
13393 rm -rf conftest.dSYM
13394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13395 conftest$ac_exeext conftest.$ac_ext
13397 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
13398 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13399 if test $am_cv_val_LC_MESSAGES = yes; then
13401 cat >>confdefs.h <<\_ACEOF
13402 #define HAVE_LC_MESSAGES 1
13410 gt_cv_have_gettext=no
13416 if test "${ac_cv_header_libintl_h+set}" = set; then
13417 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13418 $as_echo_n "checking for libintl.h... " >&6; }
13419 if test "${ac_cv_header_libintl_h+set}" = set; then
13420 $as_echo_n "(cached) " >&6
13422 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13423 $as_echo "$ac_cv_header_libintl_h" >&6; }
13425 # Is the header compilable?
13426 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
13427 $as_echo_n "checking libintl.h usability... " >&6; }
13428 cat >conftest.$ac_ext <<_ACEOF
13431 cat confdefs.h >>conftest.$ac_ext
13432 cat >>conftest.$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 $ac_includes_default
13435 #include <libintl.h>
13437 rm -f conftest.$ac_objext
13438 if { (ac_try="$ac_compile"
13439 case "(($ac_try" in
13440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13441 *) ac_try_echo=$ac_try;;
13443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13444 $as_echo "$ac_try_echo") >&5
13445 (eval "$ac_compile") 2>conftest.er1
13447 grep -v '^ *+' conftest.er1 >conftest.err
13449 cat conftest.err >&5
13450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest.$ac_objext; then
13455 ac_header_compiler=yes
13457 $as_echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13460 ac_header_compiler=no
13463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13464 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13465 $as_echo "$ac_header_compiler" >&6; }
13467 # Is the header present?
13468 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
13469 $as_echo_n "checking libintl.h presence... " >&6; }
13470 cat >conftest.$ac_ext <<_ACEOF
13473 cat confdefs.h >>conftest.$ac_ext
13474 cat >>conftest.$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13476 #include <libintl.h>
13478 if { (ac_try="$ac_cpp conftest.$ac_ext"
13479 case "(($ac_try" in
13480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13481 *) ac_try_echo=$ac_try;;
13483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13484 $as_echo "$ac_try_echo") >&5
13485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13487 grep -v '^ *+' conftest.er1 >conftest.err
13489 cat conftest.err >&5
13490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); } >/dev/null && {
13492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13493 test ! -s conftest.err
13495 ac_header_preproc=yes
13497 $as_echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13500 ac_header_preproc=no
13503 rm -f conftest.err conftest.$ac_ext
13504 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13505 $as_echo "$ac_header_preproc" >&6; }
13507 # So? What about this header?
13508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13510 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
13511 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13512 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
13513 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
13514 ac_header_preproc=yes
13517 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
13518 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
13519 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
13520 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
13521 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
13522 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
13523 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
13524 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
13525 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
13526 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
13527 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
13528 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
13530 ## --------------------------------------------------------------------------- ##
13531 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor ##
13532 ## --------------------------------------------------------------------------- ##
13534 ) | sed "s/^/$as_me: WARNING: /" >&2
13537 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13538 $as_echo_n "checking for libintl.h... " >&6; }
13539 if test "${ac_cv_header_libintl_h+set}" = set; then
13540 $as_echo_n "(cached) " >&6
13542 ac_cv_header_libintl_h=$ac_header_preproc
13544 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13545 $as_echo "$ac_cv_header_libintl_h" >&6; }
13548 if test "x$ac_cv_header_libintl_h" = x""yes; then
13549 gt_cv_func_dgettext_libintl="no"
13550 libintl_extra_libs=""
13553 # First check in libc
13555 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
13556 $as_echo_n "checking for ngettext in libc... " >&6; }
13557 if test "${gt_cv_func_ngettext_libc+set}" = set; then
13558 $as_echo_n "(cached) " >&6
13560 cat >conftest.$ac_ext <<_ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13567 #include <libintl.h>
13572 return !ngettext ("","", 1)
13577 rm -f conftest.$ac_objext conftest$ac_exeext
13578 if { (ac_try="$ac_link"
13579 case "(($ac_try" in
13580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581 *) ac_try_echo=$ac_try;;
13583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13584 $as_echo "$ac_try_echo") >&5
13585 (eval "$ac_link") 2>conftest.er1
13587 grep -v '^ *+' conftest.er1 >conftest.err
13589 cat conftest.err >&5
13590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } && {
13592 test -z "$ac_c_werror_flag" ||
13593 test ! -s conftest.err
13594 } && test -s conftest$ac_exeext && {
13595 test "$cross_compiling" = yes ||
13596 $as_test_x conftest$ac_exeext
13598 gt_cv_func_ngettext_libc=yes
13600 $as_echo "$as_me: failed program was:" >&5
13601 sed 's/^/| /' conftest.$ac_ext >&5
13603 gt_cv_func_ngettext_libc=no
13606 rm -rf conftest.dSYM
13607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13608 conftest$ac_exeext conftest.$ac_ext
13611 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
13612 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
13614 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13615 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
13616 $as_echo_n "checking for dgettext in libc... " >&6; }
13617 if test "${gt_cv_func_dgettext_libc+set}" = set; then
13618 $as_echo_n "(cached) " >&6
13620 cat >conftest.$ac_ext <<_ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13627 #include <libintl.h>
13632 return !dgettext ("","")
13637 rm -f conftest.$ac_objext conftest$ac_exeext
13638 if { (ac_try="$ac_link"
13639 case "(($ac_try" in
13640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13641 *) ac_try_echo=$ac_try;;
13643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13644 $as_echo "$ac_try_echo") >&5
13645 (eval "$ac_link") 2>conftest.er1
13647 grep -v '^ *+' conftest.er1 >conftest.err
13649 cat conftest.err >&5
13650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } && {
13652 test -z "$ac_c_werror_flag" ||
13653 test ! -s conftest.err
13654 } && test -s conftest$ac_exeext && {
13655 test "$cross_compiling" = yes ||
13656 $as_test_x conftest$ac_exeext
13658 gt_cv_func_dgettext_libc=yes
13660 $as_echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13663 gt_cv_func_dgettext_libc=no
13666 rm -rf conftest.dSYM
13667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13668 conftest$ac_exeext conftest.$ac_ext
13671 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
13672 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
13675 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13677 for ac_func in bind_textdomain_codeset
13679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13680 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13681 $as_echo_n "checking for $ac_func... " >&6; }
13682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13683 $as_echo_n "(cached) " >&6
13685 cat >conftest.$ac_ext <<_ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13693 #define $ac_func innocuous_$ac_func
13695 /* System header to define __stub macros and hopefully few prototypes,
13696 which can conflict with char $ac_func (); below.
13697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13698 <limits.h> exists even on freestanding compilers. */
13701 # include <limits.h>
13703 # include <assert.h>
13708 /* Override any GCC internal prototype to avoid an error.
13709 Use char because int might match the return type of a GCC
13710 builtin and then its argument prototype would still apply. */
13715 /* The GNU C library defines this for functions which it implements
13716 to always fail with ENOSYS. Some functions are actually named
13717 something starting with __ and the normal name is an alias. */
13718 #if defined __stub_$ac_func || defined __stub___$ac_func
13725 return $ac_func ();
13730 rm -f conftest.$ac_objext conftest$ac_exeext
13731 if { (ac_try="$ac_link"
13732 case "(($ac_try" in
13733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734 *) ac_try_echo=$ac_try;;
13736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13737 $as_echo "$ac_try_echo") >&5
13738 (eval "$ac_link") 2>conftest.er1
13740 grep -v '^ *+' conftest.er1 >conftest.err
13742 cat conftest.err >&5
13743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } && {
13745 test -z "$ac_c_werror_flag" ||
13746 test ! -s conftest.err
13747 } && test -s conftest$ac_exeext && {
13748 test "$cross_compiling" = yes ||
13749 $as_test_x conftest$ac_exeext
13751 eval "$as_ac_var=yes"
13753 $as_echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 eval "$as_ac_var=no"
13759 rm -rf conftest.dSYM
13760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13761 conftest$ac_exeext conftest.$ac_ext
13763 ac_res=`eval 'as_val=${'$as_ac_var'}
13764 $as_echo "$as_val"'`
13765 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13766 $as_echo "$ac_res" >&6; }
13767 as_val=`eval 'as_val=${'$as_ac_var'}
13768 $as_echo "$as_val"'`
13769 if test "x$as_val" = x""yes; then
13770 cat >>confdefs.h <<_ACEOF
13771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13780 # If we don't have everything we want, check in libintl
13782 if test "$gt_cv_func_dgettext_libc" != "yes" \
13783 || test "$gt_cv_func_ngettext_libc" != "yes" \
13784 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13786 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
13787 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13788 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
13789 $as_echo_n "(cached) " >&6
13791 ac_check_lib_save_LIBS=$LIBS
13792 LIBS="-lintl $LIBS"
13793 cat >conftest.$ac_ext <<_ACEOF
13796 cat confdefs.h >>conftest.$ac_ext
13797 cat >>conftest.$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13800 /* Override any GCC internal prototype to avoid an error.
13801 Use char because int might match the return type of a GCC
13802 builtin and then its argument prototype would still apply. */
13806 char bindtextdomain ();
13810 return bindtextdomain ();
13815 rm -f conftest.$ac_objext conftest$ac_exeext
13816 if { (ac_try="$ac_link"
13817 case "(($ac_try" in
13818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13819 *) ac_try_echo=$ac_try;;
13821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13822 $as_echo "$ac_try_echo") >&5
13823 (eval "$ac_link") 2>conftest.er1
13825 grep -v '^ *+' conftest.er1 >conftest.err
13827 cat conftest.err >&5
13828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } && {
13830 test -z "$ac_c_werror_flag" ||
13831 test ! -s conftest.err
13832 } && test -s conftest$ac_exeext && {
13833 test "$cross_compiling" = yes ||
13834 $as_test_x conftest$ac_exeext
13836 ac_cv_lib_intl_bindtextdomain=yes
13838 $as_echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.$ac_ext >&5
13841 ac_cv_lib_intl_bindtextdomain=no
13844 rm -rf conftest.dSYM
13845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13846 conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_lib_save_LIBS
13849 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
13850 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13851 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
13852 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
13853 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13854 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
13855 $as_echo_n "(cached) " >&6
13857 ac_check_lib_save_LIBS=$LIBS
13858 LIBS="-lintl $LIBS"
13859 cat >conftest.$ac_ext <<_ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13866 /* Override any GCC internal prototype to avoid an error.
13867 Use char because int might match the return type of a GCC
13868 builtin and then its argument prototype would still apply. */
13876 return ngettext ();
13881 rm -f conftest.$ac_objext conftest$ac_exeext
13882 if { (ac_try="$ac_link"
13883 case "(($ac_try" in
13884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13885 *) ac_try_echo=$ac_try;;
13887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13888 $as_echo "$ac_try_echo") >&5
13889 (eval "$ac_link") 2>conftest.er1
13891 grep -v '^ *+' conftest.er1 >conftest.err
13893 cat conftest.err >&5
13894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } && {
13896 test -z "$ac_c_werror_flag" ||
13897 test ! -s conftest.err
13898 } && test -s conftest$ac_exeext && {
13899 test "$cross_compiling" = yes ||
13900 $as_test_x conftest$ac_exeext
13902 ac_cv_lib_intl_ngettext=yes
13904 $as_echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.$ac_ext >&5
13907 ac_cv_lib_intl_ngettext=no
13910 rm -rf conftest.dSYM
13911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13912 conftest$ac_exeext conftest.$ac_ext
13913 LIBS=$ac_check_lib_save_LIBS
13915 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
13916 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13917 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
13918 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
13919 $as_echo_n "checking for dgettext in -lintl... " >&6; }
13920 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
13921 $as_echo_n "(cached) " >&6
13923 ac_check_lib_save_LIBS=$LIBS
13924 LIBS="-lintl $LIBS"
13925 cat >conftest.$ac_ext <<_ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13942 return dgettext ();
13947 rm -f conftest.$ac_objext conftest$ac_exeext
13948 if { (ac_try="$ac_link"
13949 case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13954 $as_echo "$ac_try_echo") >&5
13955 (eval "$ac_link") 2>conftest.er1
13957 grep -v '^ *+' conftest.er1 >conftest.err
13959 cat conftest.err >&5
13960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } && {
13962 test -z "$ac_c_werror_flag" ||
13963 test ! -s conftest.err
13964 } && test -s conftest$ac_exeext && {
13965 test "$cross_compiling" = yes ||
13966 $as_test_x conftest$ac_exeext
13968 ac_cv_lib_intl_dgettext=yes
13970 $as_echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13973 ac_cv_lib_intl_dgettext=no
13976 rm -rf conftest.dSYM
13977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_lib_save_LIBS
13981 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
13982 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13983 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
13984 gt_cv_func_dgettext_libintl=yes
13992 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13993 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
13994 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13995 { $as_echo "$as_me:$LINENO: result: " >&5
13997 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
13998 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13999 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
14000 $as_echo_n "(cached) " >&6
14002 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lintl -liconv $LIBS"
14004 cat >conftest.$ac_ext <<_ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14021 return ngettext ();
14026 rm -f conftest.$ac_objext conftest$ac_exeext
14027 if { (ac_try="$ac_link"
14028 case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14033 $as_echo "$ac_try_echo") >&5
14034 (eval "$ac_link") 2>conftest.er1
14036 grep -v '^ *+' conftest.er1 >conftest.err
14038 cat conftest.err >&5
14039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } && {
14041 test -z "$ac_c_werror_flag" ||
14042 test ! -s conftest.err
14043 } && test -s conftest$ac_exeext && {
14044 test "$cross_compiling" = yes ||
14045 $as_test_x conftest$ac_exeext
14047 ac_cv_lib_intl_ngettext=yes
14049 $as_echo "$as_me: failed program was:" >&5
14050 sed 's/^/| /' conftest.$ac_ext >&5
14052 ac_cv_lib_intl_ngettext=no
14055 rm -rf conftest.dSYM
14056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14057 conftest$ac_exeext conftest.$ac_ext
14058 LIBS=$ac_check_lib_save_LIBS
14060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
14061 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14062 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14063 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
14064 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
14065 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
14066 $as_echo_n "(cached) " >&6
14068 ac_check_lib_save_LIBS=$LIBS
14069 LIBS="-lintl -liconv $LIBS"
14070 cat >conftest.$ac_ext <<_ACEOF
14073 cat confdefs.h >>conftest.$ac_ext
14074 cat >>conftest.$ac_ext <<_ACEOF
14075 /* end confdefs.h. */
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14087 return dcgettext ();
14092 rm -f conftest.$ac_objext conftest$ac_exeext
14093 if { (ac_try="$ac_link"
14094 case "(($ac_try" in
14095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14096 *) ac_try_echo=$ac_try;;
14098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14099 $as_echo "$ac_try_echo") >&5
14100 (eval "$ac_link") 2>conftest.er1
14102 grep -v '^ *+' conftest.er1 >conftest.err
14104 cat conftest.err >&5
14105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } && {
14107 test -z "$ac_c_werror_flag" ||
14108 test ! -s conftest.err
14109 } && test -s conftest$ac_exeext && {
14110 test "$cross_compiling" = yes ||
14111 $as_test_x conftest$ac_exeext
14113 ac_cv_lib_intl_dcgettext=yes
14115 $as_echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.$ac_ext >&5
14118 ac_cv_lib_intl_dcgettext=no
14121 rm -rf conftest.dSYM
14122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14126 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
14127 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14128 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
14129 gt_cv_func_dgettext_libintl=yes
14130 libintl_extra_libs=-liconv
14142 # If we found libintl, then check in it for bind_textdomain_codeset();
14143 # we'll prefer libc if neither have bind_textdomain_codeset(),
14144 # and both have dgettext and ngettext
14146 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14147 glib_save_LIBS="$LIBS"
14148 LIBS="$LIBS -lintl $libintl_extra_libs"
14149 unset ac_cv_func_bind_textdomain_codeset
14151 for ac_func in bind_textdomain_codeset
14153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14154 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14155 $as_echo_n "checking for $ac_func... " >&6; }
14156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14157 $as_echo_n "(cached) " >&6
14159 cat >conftest.$ac_ext <<_ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14167 #define $ac_func innocuous_$ac_func
14169 /* System header to define __stub macros and hopefully few prototypes,
14170 which can conflict with char $ac_func (); below.
14171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14172 <limits.h> exists even on freestanding compilers. */
14175 # include <limits.h>
14177 # include <assert.h>
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14189 /* The GNU C library defines this for functions which it implements
14190 to always fail with ENOSYS. Some functions are actually named
14191 something starting with __ and the normal name is an alias. */
14192 #if defined __stub_$ac_func || defined __stub___$ac_func
14199 return $ac_func ();
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (ac_try="$ac_link"
14206 case "(($ac_try" in
14207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14208 *) ac_try_echo=$ac_try;;
14210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14211 $as_echo "$ac_try_echo") >&5
14212 (eval "$ac_link") 2>conftest.er1
14214 grep -v '^ *+' conftest.er1 >conftest.err
14216 cat conftest.err >&5
14217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } && {
14219 test -z "$ac_c_werror_flag" ||
14220 test ! -s conftest.err
14221 } && test -s conftest$ac_exeext && {
14222 test "$cross_compiling" = yes ||
14223 $as_test_x conftest$ac_exeext
14225 eval "$as_ac_var=yes"
14227 $as_echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 eval "$as_ac_var=no"
14233 rm -rf conftest.dSYM
14234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14235 conftest$ac_exeext conftest.$ac_ext
14237 ac_res=`eval 'as_val=${'$as_ac_var'}
14238 $as_echo "$as_val"'`
14239 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14240 $as_echo "$ac_res" >&6; }
14241 as_val=`eval 'as_val=${'$as_ac_var'}
14242 $as_echo "$as_val"'`
14243 if test "x$as_val" = x""yes; then
14244 cat >>confdefs.h <<_ACEOF
14245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14251 LIBS="$glib_save_LIBS"
14253 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14254 gt_cv_func_dgettext_libc=no
14256 if test "$gt_cv_func_dgettext_libc" = "yes" \
14257 && test "$gt_cv_func_ngettext_libc" = "yes"; then
14258 gt_cv_func_dgettext_libintl=no
14264 if test "$gt_cv_func_dgettext_libc" = "yes" \
14265 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
14266 gt_cv_have_gettext=yes
14269 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14270 INTLLIBS="-lintl $libintl_extra_libs"
14273 if test "$gt_cv_have_gettext" = "yes"; then
14275 cat >>confdefs.h <<\_ACEOF
14276 #define HAVE_GETTEXT 1
14279 # Extract the first word of "msgfmt", so it can be a program name with args.
14280 set dummy msgfmt; ac_word=$2
14281 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14282 $as_echo_n "checking for $ac_word... " >&6; }
14283 if test "${ac_cv_path_MSGFMT+set}" = set; then
14284 $as_echo_n "(cached) " >&6
14288 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14291 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14292 for ac_dir in $PATH; do
14293 test -z "$ac_dir" && ac_dir=.
14294 if test -f $ac_dir/$ac_word; then
14295 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14296 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14302 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14306 MSGFMT="$ac_cv_path_MSGFMT"
14307 if test "$MSGFMT" != "no"; then
14308 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
14309 $as_echo "$MSGFMT" >&6; }
14311 { $as_echo "$as_me:$LINENO: result: no" >&5
14312 $as_echo "no" >&6; }
14314 if test "$MSGFMT" != "no"; then
14315 glib_save_LIBS="$LIBS"
14316 LIBS="$LIBS $INTLLIBS"
14318 for ac_func in dcgettext
14320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14321 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14322 $as_echo_n "checking for $ac_func... " >&6; }
14323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14324 $as_echo_n "(cached) " >&6
14326 cat >conftest.$ac_ext <<_ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14334 #define $ac_func innocuous_$ac_func
14336 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char $ac_func (); below.
14338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339 <limits.h> exists even on freestanding compilers. */
14342 # include <limits.h>
14344 # include <assert.h>
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined __stub_$ac_func || defined __stub___$ac_func
14366 return $ac_func ();
14371 rm -f conftest.$ac_objext conftest$ac_exeext
14372 if { (ac_try="$ac_link"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14378 $as_echo "$ac_try_echo") >&5
14379 (eval "$ac_link") 2>conftest.er1
14381 grep -v '^ *+' conftest.er1 >conftest.err
14383 cat conftest.err >&5
14384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && {
14386 test -z "$ac_c_werror_flag" ||
14387 test ! -s conftest.err
14388 } && test -s conftest$ac_exeext && {
14389 test "$cross_compiling" = yes ||
14390 $as_test_x conftest$ac_exeext
14392 eval "$as_ac_var=yes"
14394 $as_echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.$ac_ext >&5
14397 eval "$as_ac_var=no"
14400 rm -rf conftest.dSYM
14401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14402 conftest$ac_exeext conftest.$ac_ext
14404 ac_res=`eval 'as_val=${'$as_ac_var'}
14405 $as_echo "$as_val"'`
14406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14407 $as_echo "$ac_res" >&6; }
14408 as_val=`eval 'as_val=${'$as_ac_var'}
14409 $as_echo "$as_val"'`
14410 if test "x$as_val" = x""yes; then
14411 cat >>confdefs.h <<_ACEOF
14412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14419 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
14420 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
14421 cat >conftest.foo <<_ACEOF
14425 "Content-Type: text/plain; charset=UTF-8\n"
14426 "Project-Id-Version: test 1.0\n"
14427 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
14428 "Last-Translator: test <foo@bar.xx>\n"
14429 "Language-Team: C <LL@li.org>\n"
14430 "MIME-Version: 1.0\n"
14431 "Content-Transfer-Encoding: 8bit\n"
14434 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
14435 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; then
14439 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
14440 $as_echo "yes" >&6; }
14441 else { $as_echo "$as_me:$LINENO: result: no" >&5
14442 $as_echo "no" >&6; }
14443 echo "$as_me: failed input was:" >&5
14444 sed 's/^/| /' conftest.foo >&5
14447 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14448 set dummy gmsgfmt; ac_word=$2
14449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14450 $as_echo_n "checking for $ac_word... " >&6; }
14451 if test "${ac_cv_path_GMSGFMT+set}" = set; then
14452 $as_echo_n "(cached) " >&6
14456 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14460 for as_dir in $PATH
14463 test -z "$as_dir" && as_dir=.
14464 for ac_exec_ext in '' $ac_executable_extensions; do
14465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14466 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14474 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14478 GMSGFMT=$ac_cv_path_GMSGFMT
14479 if test -n "$GMSGFMT"; then
14480 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
14481 $as_echo "$GMSGFMT" >&6; }
14483 { $as_echo "$as_me:$LINENO: result: no" >&5
14484 $as_echo "no" >&6; }
14488 # Extract the first word of "xgettext", so it can be a program name with args.
14489 set dummy xgettext; ac_word=$2
14490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14491 $as_echo_n "checking for $ac_word... " >&6; }
14492 if test "${ac_cv_path_XGETTEXT+set}" = set; then
14493 $as_echo_n "(cached) " >&6
14495 case "$XGETTEXT" in
14497 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14500 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14501 for ac_dir in $PATH; do
14502 test -z "$ac_dir" && ac_dir=.
14503 if test -f $ac_dir/$ac_word; then
14504 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14505 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14511 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14515 XGETTEXT="$ac_cv_path_XGETTEXT"
14516 if test "$XGETTEXT" != ":"; then
14517 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
14518 $as_echo "$XGETTEXT" >&6; }
14520 { $as_echo "$as_me:$LINENO: result: no" >&5
14521 $as_echo "no" >&6; }
14524 cat >conftest.$ac_ext <<_ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14534 extern int _nl_msg_cat_cntr;
14535 return _nl_msg_cat_cntr
14540 rm -f conftest.$ac_objext conftest$ac_exeext
14541 if { (ac_try="$ac_link"
14542 case "(($ac_try" in
14543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544 *) ac_try_echo=$ac_try;;
14546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14547 $as_echo "$ac_try_echo") >&5
14548 (eval "$ac_link") 2>conftest.er1
14550 grep -v '^ *+' conftest.er1 >conftest.err
14552 cat conftest.err >&5
14553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest$ac_exeext && {
14558 test "$cross_compiling" = yes ||
14559 $as_test_x conftest$ac_exeext
14564 $as_echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14569 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
14570 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
14571 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
14572 $as_echo_n "(cached) " >&6
14574 cat >conftest.$ac_ext <<_ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
14581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14582 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
14584 /* System header to define __stub macros and hopefully few prototypes,
14585 which can conflict with char bind_textdomain_codeset (); below.
14586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14587 <limits.h> exists even on freestanding compilers. */
14590 # include <limits.h>
14592 # include <assert.h>
14595 #undef bind_textdomain_codeset
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14603 char bind_textdomain_codeset ();
14604 /* The GNU C library defines this for functions which it implements
14605 to always fail with ENOSYS. Some functions are actually named
14606 something starting with __ and the normal name is an alias. */
14607 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
14614 return bind_textdomain_codeset ();
14619 rm -f conftest.$ac_objext conftest$ac_exeext
14620 if { (ac_try="$ac_link"
14621 case "(($ac_try" in
14622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 *) ac_try_echo=$ac_try;;
14625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14626 $as_echo "$ac_try_echo") >&5
14627 (eval "$ac_link") 2>conftest.er1
14629 grep -v '^ *+' conftest.er1 >conftest.err
14631 cat conftest.err >&5
14632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } && {
14634 test -z "$ac_c_werror_flag" ||
14635 test ! -s conftest.err
14636 } && test -s conftest$ac_exeext && {
14637 test "$cross_compiling" = yes ||
14638 $as_test_x conftest$ac_exeext
14640 ac_cv_func_bind_textdomain_codeset=yes
14642 $as_echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14645 ac_cv_func_bind_textdomain_codeset=no
14648 rm -rf conftest.dSYM
14649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14650 conftest$ac_exeext conftest.$ac_ext
14652 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
14653 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
14654 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
14670 rm -rf conftest.dSYM
14671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS="$glib_save_LIBS"
14676 gt_cv_have_gettext=no
14684 if test "$gt_cv_have_gettext" = "yes" ; then
14686 cat >>confdefs.h <<\_ACEOF
14687 #define ENABLE_NLS 1
14692 if test "$XGETTEXT" != ":"; then
14693 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14696 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
14697 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14702 # We need to process the po/ directory.
14705 ac_config_commands="$ac_config_commands default-1"
14708 for lang in $ALL_LINGUAS; do
14709 GMOFILES="$GMOFILES $lang.gmo"
14710 POFILES="$POFILES $lang.po"
14725 if test "$gt_cv_have_gettext" = "yes"; then
14726 if test "x$ALL_LINGUAS" = "x"; then
14729 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
14730 $as_echo_n "checking for catalogs to be installed... " >&6; }
14732 for presentlang in $ALL_LINGUAS; do
14734 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14735 desiredlanguages="$LINGUAS"
14737 desiredlanguages="$ALL_LINGUAS"
14739 for desiredlang in $desiredlanguages; do
14740 # Use the presentlang catalog if desiredlang is
14741 # a. equal to presentlang, or
14742 # b. a variant of presentlang (because in this case,
14743 # presentlang can be used as a fallback for messages
14744 # which are not translated in the desiredlang catalog).
14745 case "$desiredlang" in
14746 "$presentlang"*) useit=yes;;
14749 if test $useit = yes; then
14750 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14753 LINGUAS=$NEW_LINGUAS
14754 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
14755 $as_echo "$LINGUAS" >&6; }
14758 if test -n "$LINGUAS"; then
14759 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14764 if test -n "$ac_aux_dir"; then
14765 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14767 if test -z "$MKINSTALLDIRS"; then
14768 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14772 test -d po || mkdir po
14773 if test "x$srcdir" != "x."; then
14774 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14775 posrcprefix="$srcdir/"
14777 posrcprefix="../$srcdir/"
14783 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14784 < $srcdir/po/POTFILES.in > po/POTFILES
14789 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
14790 if test -n "$ac_macro_dir"; then
14791 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
14798 # Check whether --enable-compile-warnings was given.
14799 if test "${enable_compile_warnings+set}" = set; then
14800 enableval=$enable_compile_warnings;
14802 enable_compile_warnings="maximum"
14807 if test "x$GCC" != xyes; then
14808 enable_compile_warnings=no
14812 realsave_CFLAGS="$CFLAGS"
14814 case "$enable_compile_warnings" in
14819 warning_flags="-Wall"
14822 warning_flags="-Wall -Wmissing-prototypes"
14825 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
14826 CFLAGS="$warning_flags $CFLAGS"
14827 for option in -Wno-sign-compare; do
14828 SAVE_CFLAGS="$CFLAGS"
14829 CFLAGS="$CFLAGS $option"
14830 { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
14831 $as_echo_n "checking whether gcc understands $option... " >&6; }
14832 cat >conftest.$ac_ext <<_ACEOF
14835 cat confdefs.h >>conftest.$ac_ext
14836 cat >>conftest.$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14847 rm -f conftest.$ac_objext
14848 if { (ac_try="$ac_compile"
14849 case "(($ac_try" in
14850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14851 *) ac_try_echo=$ac_try;;
14853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14854 $as_echo "$ac_try_echo") >&5
14855 (eval "$ac_compile") 2>conftest.er1
14857 grep -v '^ *+' conftest.er1 >conftest.err
14859 cat conftest.err >&5
14860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); } && {
14862 test -z "$ac_c_werror_flag" ||
14863 test ! -s conftest.err
14864 } && test -s conftest.$ac_objext; then
14867 $as_echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14874 CFLAGS="$SAVE_CFLAGS"
14875 { $as_echo "$as_me:$LINENO: result: $has_option" >&5
14876 $as_echo "$has_option" >&6; }
14877 if test $has_option = yes; then
14878 warning_flags="$warning_flags $option"
14884 if test "$enable_compile_warnings" = "error" ; then
14885 warning_flags="$warning_flags -Werror"
14889 { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
14890 $as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
14891 { (exit 1); exit 1; }; }
14894 CFLAGS="$realsave_CFLAGS"
14895 { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
14896 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14897 { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
14898 $as_echo "$warning_flags" >&6; }
14900 # Check whether --enable-iso-c was given.
14901 if test "${enable_iso_c+set}" = set; then
14902 enableval=$enable_iso_c;
14908 { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
14909 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14911 if test "x$enable_iso_c" != "xno"; then
14912 if test "x$GCC" = "xyes"; then
14913 case " $CFLAGS " in
14914 *\ \ -ansi\ \ *) ;;
14915 *) complCFLAGS="$complCFLAGS -ansi" ;;
14917 case " $CFLAGS " in
14918 *\ \ -pedantic\ \ *) ;;
14919 *) complCFLAGS="$complCFLAGS -pedantic" ;;
14923 { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
14924 $as_echo "$complCFLAGS" >&6; }
14926 WARN_CFLAGS="$warning_flags $complCFLAGS"
14932 if test $USE_MAINTAINER_MODE = yes; then
14933 DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
14935 DISABLE_DEPRECATED=""
14940 GCONF_DEFAULTS_SOURCE=`gconftool-2 --get-default-source`
14942 # Check whether --with-gconf-defaults-source was given.
14943 if test "${with_gconf_defaults_source+set}" = set; then
14944 withval=$with_gconf_defaults_source; GCONF_DEFAULTS_SOURCE="$withval"
14948 cat >>confdefs.h <<_ACEOF
14949 #define GCONF_DEFAULTS_SOURCE "$GCONF_DEFAULTS_SOURCE"
14952 { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_DEFAULTS_SOURCE for default values" >&5
14953 $as_echo "Using config source $GCONF_DEFAULTS_SOURCE for default values" >&6; }
14955 GCONF_MANDATORY_SOURCE=`echo $GCONF_DEFAULTS_SOURCE | sed -e s/gconf.xml.defaults/gconf.xml.mandatory/`
14957 # Check whether --with-gconf-mandatory-source was given.
14958 if test "${with_gconf_mandatory_source+set}" = set; then
14959 withval=$with_gconf_mandatory_source; GCONF_MANDATORY_SOURCE="$withval"
14963 cat >>confdefs.h <<_ACEOF
14964 #define GCONF_MANDATORY_SOURCE "$GCONF_MANDATORY_SOURCE"
14967 { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_MANDATORY_SOURCE for mandatory values" >&5
14968 $as_echo "Using config source $GCONF_MANDATORY_SOURCE for mandatory values" >&6; }
14970 ac_config_files="$ac_config_files Makefile data/Makefile data/gconf-editor.desktop.in data/icons/Makefile docs/Makefile src/Makefile po/Makefile.in"
14973 cat >confcache <<\_ACEOF
14974 # This file is a shell script that caches the results of configure
14975 # tests run on this system so they can be shared between configure
14976 # scripts and configure runs, see configure's option --config-cache.
14977 # It is not useful on other systems. If it contains results you don't
14978 # want to keep, you may remove or edit it.
14980 # config.status only pays attention to the cache file if you give it
14981 # the --recheck option to rerun configure.
14983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14985 # following values.
14989 # The following way of writing the cache mishandles newlines in values,
14990 # but we know of no workaround that is simple, portable, and efficient.
14991 # So, we kill variables containing newlines.
14992 # Ultrix sh set writes to stderr and can't be redirected directly,
14993 # and sets the high bit in the cache file unless we assign to the vars.
14995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14996 eval ac_val=\$$ac_var
15000 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15004 _ | IFS | as_nl) ;; #(
15005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15006 *) $as_unset $ac_var ;;
15012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15013 *${as_nl}ac_space=\ *)
15014 # `set' does not quote correctly, so add quotes (double-quote
15015 # substitution turns \\\\ into \\, and sed turns \\ into \).
15018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15021 # `set' quotes correctly as required by POSIX, so do not add quotes.
15022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15036 if test -w "$cache_file"; then
15037 test "x$cache_file" != "x/dev/null" &&
15038 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15039 $as_echo "$as_me: updating cache $cache_file" >&6;}
15040 cat confcache >$cache_file
15042 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15048 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15049 # Let make expand exec_prefix.
15050 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15052 DEFS=-DHAVE_CONFIG_H
15056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15057 # 1. Remove the extension, and $U if already installed.
15058 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15059 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15060 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15061 # will be set to the directory where LIBOBJS objects are built.
15062 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15063 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15065 LIBOBJS=$ac_libobjs
15067 LTLIBOBJS=$ac_ltlibobjs
15070 if test -n "$EXEEXT"; then
15072 am__EXEEXT_FALSE='#'
15074 am__EXEEXT_TRUE='#'
15078 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15079 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15080 Usually this means the macro was only invoked conditionally." >&5
15081 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15082 Usually this means the macro was only invoked conditionally." >&2;}
15083 { (exit 1); exit 1; }; }
15085 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15086 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15087 Usually this means the macro was only invoked conditionally." >&5
15088 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
15089 Usually this means the macro was only invoked conditionally." >&2;}
15090 { (exit 1); exit 1; }; }
15092 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15093 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15094 Usually this means the macro was only invoked conditionally." >&5
15095 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15096 Usually this means the macro was only invoked conditionally." >&2;}
15097 { (exit 1); exit 1; }; }
15100 ac_config_commands="$ac_config_commands po/stamp-it"
15103 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15104 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15105 Usually this means the macro was only invoked conditionally." >&5
15106 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15107 Usually this means the macro was only invoked conditionally." >&2;}
15108 { (exit 1); exit 1; }; }
15110 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15111 { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15112 Usually this means the macro was only invoked conditionally." >&5
15113 $as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15114 Usually this means the macro was only invoked conditionally." >&2;}
15115 { (exit 1); exit 1; }; }
15117 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15118 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
15119 Usually this means the macro was only invoked conditionally." >&5
15120 $as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
15121 Usually this means the macro was only invoked conditionally." >&2;}
15122 { (exit 1); exit 1; }; }
15124 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15125 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15126 Usually this means the macro was only invoked conditionally." >&5
15127 $as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15128 Usually this means the macro was only invoked conditionally." >&2;}
15129 { (exit 1); exit 1; }; }
15132 : ${CONFIG_STATUS=./config.status}
15134 ac_clean_files_save=$ac_clean_files
15135 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15136 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15137 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15138 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15140 # Generated by $as_me.
15141 # Run this file to recreate the current configuration.
15142 # Compiler output produced by configure, useful for debugging
15143 # configure, is in config.log if it exists.
15146 ac_cs_recheck=false
15148 SHELL=\${CONFIG_SHELL-$SHELL}
15151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15152 ## --------------------- ##
15153 ## M4sh Initialization. ##
15154 ## --------------------- ##
15156 # Be more Bourne compatible
15157 DUALCASE=1; export DUALCASE # for MKS sh
15158 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15161 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15162 # is contrary to our usage. Disable this feature.
15163 alias -g '${1+"$@"}'='"$@"'
15164 setopt NO_GLOB_SUBST
15166 case `(set -o) 2>/dev/null` in
15167 *posix*) set -o posix ;;
15176 # Avoid depending upon Character Ranges.
15177 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15178 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15179 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15180 as_cr_digits='0123456789'
15181 as_cr_alnum=$as_cr_Letters$as_cr_digits
15186 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15187 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15188 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15189 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15190 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15191 as_echo='printf %s\n'
15192 as_echo_n='printf %s'
15194 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15195 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15196 as_echo_n='/usr/ucb/echo -n'
15198 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15199 as_echo_n_body='eval
15203 expr "X$arg" : "X\\(.*\\)$as_nl";
15204 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15206 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15208 export as_echo_n_body
15209 as_echo_n='sh -c $as_echo_n_body as_echo'
15211 export as_echo_body
15212 as_echo='sh -c $as_echo_body as_echo'
15215 # The user is always right.
15216 if test "${PATH_SEPARATOR+set}" != set; then
15218 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15219 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15224 # Support unset when possible.
15225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15233 # We need space, tab and new line, in precisely that order. Quoting is
15234 # there to prevent editors from complaining about space-tab.
15235 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15236 # splitting by setting IFS to empty value.)
15239 # Find who we are. Look in the path if we contain no directory separator.
15241 *[\\/]* ) as_myself=$0 ;;
15242 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15243 for as_dir in $PATH
15246 test -z "$as_dir" && as_dir=.
15247 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15253 # We did not find ourselves, most probably we were run as `sh COMMAND'
15254 # in which case we are not to be found in the path.
15255 if test "x$as_myself" = x; then
15258 if test ! -f "$as_myself"; then
15259 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15260 { (exit 1); exit 1; }
15263 # Work around bugs in pre-3.0 UWIN ksh.
15264 for as_var in ENV MAIL MAILPATH
15265 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15277 # Required to use basename.
15278 if expr a : '\(a\)' >/dev/null 2>&1 &&
15279 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15285 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15286 as_basename=basename
15292 # Name of the executable.
15293 as_me=`$as_basename -- "$0" ||
15294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15295 X"$0" : 'X\(//\)$' \| \
15296 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15298 sed '/^.*\/\([^/][^/]*\)\/*$/{
15317 as_lineno_1=$LINENO
15318 as_lineno_2=$LINENO
15319 test "x$as_lineno_1" != "x$as_lineno_2" &&
15320 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15322 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15323 # uniformly replaced by the line number. The first 'sed' inserts a
15324 # line-number line after each line using $LINENO; the second 'sed'
15325 # does the real work. The second script uses 'N' to pair each
15326 # line-number line with the line containing $LINENO, and appends
15327 # trailing '-' during substitution so that $LINENO is not a special
15328 # case at line end.
15329 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15330 # scripts with optimization help from Paolo Bonzini. Blame Lee
15331 # E. McMahon (1931-1989) for sed's syntax. :-)
15343 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15346 ' >$as_me.lineno &&
15347 chmod +x "$as_me.lineno" ||
15348 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15349 { (exit 1); exit 1; }; }
15351 # Don't try to exec as it changes $[0], causing all sort of problems
15352 # (the dirname of $[0] is not the place where we might find the
15353 # original and so on. Autoconf is especially sensitive to this).
15354 . "./$as_me.lineno"
15355 # Exit status is that of the last command.
15360 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15366 ECHO_C= ECHO_N= ECHO_T=
15367 case `echo -n x` in
15369 case `echo 'x\c'` in
15370 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15376 if expr a : '\(a\)' >/dev/null 2>&1 &&
15377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15383 rm -f conf$$ conf$$.exe conf$$.file
15384 if test -d conf$$.dir; then
15385 rm -f conf$$.dir/conf$$.file
15388 mkdir conf$$.dir 2>/dev/null
15390 if (echo >conf$$.file) 2>/dev/null; then
15391 if ln -s conf$$.file conf$$ 2>/dev/null; then
15393 # ... but there are two gotchas:
15394 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15395 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15396 # In both cases, we have to default to `cp -p'.
15397 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15399 elif ln conf$$.file conf$$ 2>/dev/null; then
15407 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15408 rmdir conf$$.dir 2>/dev/null
15410 if mkdir -p . 2>/dev/null; then
15413 test -d ./-p && rmdir ./-p
15417 if test -x / >/dev/null 2>&1; then
15418 as_test_x='test -x'
15420 if ls -dL / >/dev/null 2>&1; then
15427 if test -d "$1"; then
15433 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15434 ???[sx]*):;;*)false;;esac;fi
15438 as_executable_p=$as_test_x
15440 # Sed expression to map a string onto a valid CPP name.
15441 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15443 # Sed expression to map a string onto a valid variable name.
15444 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15449 # Save the log message, to keep $[0] and so on meaningful, and to
15450 # report actual input values of CONFIG_FILES etc. instead of their
15451 # values after options handling.
15453 This file was extended by GConf Editor $as_me 2.28.0, which was
15454 generated by GNU Autoconf 2.63. Invocation command line was
15456 CONFIG_FILES = $CONFIG_FILES
15457 CONFIG_HEADERS = $CONFIG_HEADERS
15458 CONFIG_LINKS = $CONFIG_LINKS
15459 CONFIG_COMMANDS = $CONFIG_COMMANDS
15462 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15467 case $ac_config_files in *"
15468 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15471 case $ac_config_headers in *"
15472 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15477 # Files that config.status was made for.
15478 config_files="$ac_config_files"
15479 config_headers="$ac_config_headers"
15480 config_commands="$ac_config_commands"
15484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15486 \`$as_me' instantiates files from templates according to the
15487 current configuration.
15489 Usage: $0 [OPTION]... [FILE]...
15491 -h, --help print this help, then exit
15492 -V, --version print version number and configuration settings, then exit
15493 -q, --quiet, --silent
15494 do not print progress messages
15495 -d, --debug don't remove temporary files
15496 --recheck update $as_me by reconfiguring in the same conditions
15497 --file=FILE[:TEMPLATE]
15498 instantiate the configuration file FILE
15499 --header=FILE[:TEMPLATE]
15500 instantiate the configuration header FILE
15502 Configuration files:
15505 Configuration headers:
15508 Configuration commands:
15511 Report bugs to <bug-autoconf@gnu.org>."
15514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15516 GConf Editor config.status 2.28.0
15517 configured by $0, generated by GNU Autoconf 2.63,
15518 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15520 Copyright (C) 2008 Free Software Foundation, Inc.
15521 This config.status script is free software; the Free Software Foundation
15522 gives unlimited permission to copy, distribute and modify it."
15529 test -n "\$AWK" || AWK=awk
15532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15533 # The default lists apply if the user does not specify any file.
15539 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15540 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15551 # Handling of the options.
15552 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15554 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15555 $as_echo "$ac_cs_version"; exit ;;
15556 --debug | --debu | --deb | --de | --d | -d )
15558 --file | --fil | --fi | --f )
15561 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15563 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15564 ac_need_defaults=false;;
15565 --header | --heade | --head | --hea )
15568 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15570 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
15571 ac_need_defaults=false;;
15573 # Conflict between --help and --header
15574 { $as_echo "$as_me: error: ambiguous option: $1
15575 Try \`$0 --help' for more information." >&2
15576 { (exit 1); exit 1; }; };;
15577 --help | --hel | -h )
15578 $as_echo "$ac_cs_usage"; exit ;;
15579 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15580 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15583 # This is an error.
15584 -*) { $as_echo "$as_me: error: unrecognized option: $1
15585 Try \`$0 --help' for more information." >&2
15586 { (exit 1); exit 1; }; } ;;
15588 *) ac_config_targets="$ac_config_targets $1"
15589 ac_need_defaults=false ;;
15595 ac_configure_extra_args=
15597 if $ac_cs_silent; then
15599 ac_configure_extra_args="$ac_configure_extra_args --silent"
15603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15604 if \$ac_cs_recheck; then
15605 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15607 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15608 CONFIG_SHELL='$SHELL'
15609 export CONFIG_SHELL
15614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15618 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15619 ## Running $as_me. ##
15625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15629 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15632 # The HP-UX ksh and POSIX shell print the target directory to stdout
15633 # if CDPATH is set.
15634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15636 sed_quote_subst='$sed_quote_subst'
15637 double_quote_subst='$double_quote_subst'
15638 delay_variable_subst='$delay_variable_subst'
15639 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15640 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15641 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15642 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15643 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15644 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15645 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15646 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15647 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15648 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15649 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15650 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15651 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15652 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15653 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15654 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15655 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15656 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15657 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15658 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15659 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15660 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15661 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15662 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15663 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15664 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15665 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15666 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15667 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15668 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15669 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15670 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15671 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15672 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15673 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15674 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15675 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15676 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15677 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15678 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15679 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15680 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15681 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15682 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15683 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"`'
15684 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"`'
15685 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15686 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15687 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15688 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15689 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15690 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15691 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15692 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15693 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15694 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15695 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15696 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15697 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15698 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15699 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15700 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15701 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15702 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15703 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15704 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15705 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15706 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15707 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15708 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15709 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15710 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15711 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15712 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15713 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15714 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15715 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15716 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15717 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15718 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15719 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15720 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15721 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15722 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15723 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15724 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15725 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15726 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15727 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15728 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15729 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15730 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15731 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15732 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15733 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15734 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15735 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15736 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15737 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15738 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15739 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15740 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15741 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15742 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15743 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15744 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15745 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15746 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15747 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15748 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15749 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15750 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15751 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15752 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15753 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15754 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15755 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15756 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15759 LTCFLAGS='$LTCFLAGS'
15760 compiler='$compiler_DEFAULT'
15762 # Quote evaled strings.
15774 deplibs_check_method \
15783 lt_cv_sys_global_symbol_pipe \
15784 lt_cv_sys_global_symbol_to_cdecl \
15785 lt_cv_sys_global_symbol_to_c_name_address \
15786 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15789 lt_prog_compiler_no_builtin_flag \
15790 lt_prog_compiler_wl \
15791 lt_prog_compiler_pic \
15792 lt_prog_compiler_static \
15793 lt_cv_prog_compiler_c_o \
15801 export_dynamic_flag_spec \
15802 whole_archive_flag_spec \
15803 compiler_needs_object \
15805 allow_undefined_flag \
15806 no_undefined_flag \
15807 hardcode_libdir_flag_spec \
15808 hardcode_libdir_flag_spec_ld \
15809 hardcode_libdir_separator \
15814 variables_saved_for_relink \
15816 library_names_spec \
15821 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15822 *[\\\\\\\`\\"\\\$]*)
15823 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15826 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15831 # Double-quote double-evaled strings.
15832 for var in reload_cmds \
15833 old_postinstall_cmds \
15834 old_postuninstall_cmds \
15836 extract_expsyms_cmds \
15837 old_archive_from_new_cmds \
15838 old_archive_from_expsyms_cmds \
15840 archive_expsym_cmds \
15842 module_expsym_cmds \
15843 export_symbols_cmds \
15846 postuninstall_cmds \
15848 sys_lib_search_path_spec \
15849 sys_lib_dlsearch_path_spec; do
15850 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15851 *[\\\\\\\`\\"\\\$]*)
15852 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15855 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15860 # Fix-up fallback echo if it was mangled by the above quoting rules.
15862 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15866 ac_aux_dir='$ac_aux_dir'
15867 xsi_shell='$xsi_shell'
15868 lt_shell_append='$lt_shell_append'
15870 # See if we are running on zsh, and set the options which allow our
15871 # commands through without removal of \ escapes INIT.
15872 if test -n "\${ZSH_VERSION+set}" ; then
15873 setopt NO_GLOB_SUBST
15879 TIMESTAMP='$TIMESTAMP'
15889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15891 # Handling of arguments.
15892 for ac_config_target in $ac_config_targets
15894 case $ac_config_target in
15895 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15896 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15897 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15898 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15899 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15900 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15901 "data/gconf-editor.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gconf-editor.desktop.in" ;;
15902 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15903 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15904 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15905 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15906 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15908 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15909 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15910 { (exit 1); exit 1; }; };;
15915 # If the user did not use the arguments to specify the items to instantiate,
15916 # then the envvar interface is used. Set only those that are not.
15917 # We use the long form for the default assignment because of an extremely
15918 # bizarre bug on SunOS 4.1.3.
15919 if $ac_need_defaults; then
15920 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15921 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15922 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15925 # Have a temporary directory for convenience. Make it in the build tree
15926 # simply because there is no reason against having it here, and in addition,
15927 # creating and moving files from /tmp can sometimes cause problems.
15928 # Hook for its removal unless debugging.
15929 # Note that there is a small window in which the directory will not be cleaned:
15930 # after its creation but before its name has been assigned to `$tmp'.
15934 trap 'exit_status=$?
15935 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15937 trap '{ (exit 1); exit 1; }' 1 2 13 15
15939 # Create a (secure) tmp directory for tmp files.
15942 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15943 test -n "$tmp" && test -d "$tmp"
15946 tmp=./conf$$-$RANDOM
15947 (umask 077 && mkdir "$tmp")
15950 $as_echo "$as_me: cannot create a temporary directory in ." >&2
15951 { (exit 1); exit 1; }
15954 # Set up the scripts for CONFIG_FILES section.
15955 # No need to generate them if there are no CONFIG_FILES.
15956 # This happens for instance with `./config.status config.h'.
15957 if test -n "$CONFIG_FILES"; then
15961 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15962 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15965 ac_cs_awk_cr=$ac_cr
15968 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15973 echo "cat >conf$$subs.awk <<_ACEOF" &&
15974 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15976 } >conf$$subs.sh ||
15977 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15978 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15979 { (exit 1); exit 1; }; }
15980 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15982 for ac_last_try in false false false false false :; do
15983 . ./conf$$subs.sh ||
15984 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15985 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15986 { (exit 1); exit 1; }; }
15988 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15989 if test $ac_delim_n = $ac_delim_num; then
15991 elif $ac_last_try; then
15992 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15993 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15994 { (exit 1); exit 1; }; }
15996 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15999 rm -f conf$$subs.sh
16001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16002 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16006 s/^/S["/; s/!.*/"]=/
16016 s/\(.\{148\}\).*/\1/
16018 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16023 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16030 s/\(.\{148\}\).*/\1/
16032 s/["\\]/\\&/g; s/^/"/; s/$/"/
16036 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16041 ' <conf$$subs.awk | sed '
16046 ' >>$CONFIG_STATUS || ac_write_fail=1
16047 rm -f conf$$subs.awk
16048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16050 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16051 for (key in S) S_is_set[key] = 1
16057 nfields = split(line, field, "@")
16059 len = length(field[1])
16060 for (i = 2; i < nfields; i++) {
16062 keylen = length(key)
16063 if (S_is_set[key]) {
16065 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16066 len += length(value) + length(field[++i])
16077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16078 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16079 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16082 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16083 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16084 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
16085 { (exit 1); exit 1; }; }
16088 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16089 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16090 # trailing colons and then remove the whole line if VPATH becomes empty
16091 # (actually we leave an empty line to preserve line numbers).
16092 if test "x$srcdir" = x.; then
16093 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16094 s/:*\$(srcdir):*/:/
16095 s/:*\${srcdir}:*/:/
16097 s/^\([^=]*=[ ]*\):*/\1/
16103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16104 fi # test -n "$CONFIG_FILES"
16106 # Set up the scripts for CONFIG_HEADERS section.
16107 # No need to generate them if there are no CONFIG_HEADERS.
16108 # This happens for instance with `./config.status Makefile'.
16109 if test -n "$CONFIG_HEADERS"; then
16110 cat >"$tmp/defines.awk" <<\_ACAWK ||
16114 # Transform confdefs.h into an awk script `defines.awk', embedded as
16115 # here-document in config.status, that substitutes the proper values into
16116 # config.h.in to produce config.h.
16118 # Create a delimiter string that does not exist in confdefs.h, to ease
16119 # handling of long lines.
16121 for ac_last_try in false false :; do
16122 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16123 if test -z "$ac_t"; then
16125 elif $ac_last_try; then
16126 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16127 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16128 { (exit 1); exit 1; }; }
16130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16134 # For the awk script, D is an array of macro values keyed by name,
16135 # likewise P contains macro parameters if any. Preserve backslash
16136 # newline sequences.
16138 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16140 s/.\{148\}/&'"$ac_delim"'/g
16143 s/^[ ]*#[ ]*define[ ][ ]*/ /
16150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16152 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16156 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16157 D["\1"]=" \3\\\\\\n"\\/p
16159 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16164 s/.\{148\}/&'"$ac_delim"'/g
16169 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16172 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16174 ' <confdefs.h | sed '
16175 s/'"$ac_delim"'/"\\\
16176 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16179 for (key in D) D_is_set[key] = 1
16182 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16184 split(line, arg, " ")
16185 if (arg[1] == "#") {
16189 defundef = substr(arg[1], 2)
16192 split(mac1, mac2, "(") #)
16194 prefix = substr(line, 1, index(line, defundef) - 1)
16195 if (D_is_set[macro]) {
16196 # Preserve the white space surrounding the "#".
16197 print prefix "define", macro P[macro] D[macro]
16200 # Replace #undef with comments. This is necessary, for example,
16201 # in the case of _POSIX_SOURCE, which is predefined and required
16202 # on some systems where configure will not decide to define it.
16203 if (defundef == "undef") {
16204 print "/*", prefix defundef, macro, "*/"
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16213 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16214 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16215 { (exit 1); exit 1; }; }
16216 fi # test -n "$CONFIG_HEADERS"
16219 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16224 :[FHLC]) ac_mode=$ac_tag; continue;;
16226 case $ac_mode$ac_tag in
16228 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16229 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16230 { (exit 1); exit 1; }; };;
16231 :[FH]-) ac_tag=-:-;;
16232 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16249 -) ac_f="$tmp/stdin";;
16250 *) # Look for the file first in the build tree, then in the source tree
16251 # (if the path is not absolute). The absolute path cannot be DOS-style,
16252 # because $ac_f cannot contain `:'.
16256 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16258 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16259 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16260 { (exit 1); exit 1; }; };;
16262 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16263 ac_file_inputs="$ac_file_inputs '$ac_f'"
16266 # Let's still pretend it is `configure' which instantiates (i.e., don't
16267 # use $as_me), people would be surprised to read:
16268 # /* config.h. Generated by config.status. */
16269 configure_input='Generated from '`
16270 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16272 if test x"$ac_file" != x-; then
16273 configure_input="$ac_file. $configure_input"
16274 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16275 $as_echo "$as_me: creating $ac_file" >&6;}
16277 # Neutralize special characters interpreted by sed in replacement strings.
16278 case $configure_input in #(
16279 *\&* | *\|* | *\\* )
16280 ac_sed_conf_input=`$as_echo "$configure_input" |
16281 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16282 *) ac_sed_conf_input=$configure_input;;
16286 *:-:* | *:-) cat >"$tmp/stdin" \
16287 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16288 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16289 { (exit 1); exit 1; }; } ;;
16294 ac_dir=`$as_dirname -- "$ac_file" ||
16295 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16296 X"$ac_file" : 'X\(//\)[^/]' \| \
16297 X"$ac_file" : 'X\(//\)$' \| \
16298 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16299 $as_echo X"$ac_file" |
16300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16304 /^X\(\/\/\)[^/].*/{
16319 -*) as_dir=./$as_dir;;
16321 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16326 *) as_qdir=$as_dir;;
16328 as_dirs="'$as_qdir' $as_dirs"
16329 as_dir=`$as_dirname -- "$as_dir" ||
16330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16331 X"$as_dir" : 'X\(//\)[^/]' \| \
16332 X"$as_dir" : 'X\(//\)$' \| \
16333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16334 $as_echo X"$as_dir" |
16335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16339 /^X\(\/\/\)[^/].*/{
16352 test -d "$as_dir" && break
16354 test -z "$as_dirs" || eval "mkdir $as_dirs"
16355 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16356 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16357 { (exit 1); exit 1; }; }; }
16361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16363 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16364 # A ".." for each directory in $ac_dir_suffix.
16365 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16366 case $ac_top_builddir_sub in
16367 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16368 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16371 ac_abs_top_builddir=$ac_pwd
16372 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16373 # for backward compatibility:
16374 ac_top_builddir=$ac_top_build_prefix
16377 .) # We are building in place.
16379 ac_top_srcdir=$ac_top_builddir_sub
16380 ac_abs_top_srcdir=$ac_pwd ;;
16381 [\\/]* | ?:[\\/]* ) # Absolute name.
16382 ac_srcdir=$srcdir$ac_dir_suffix;
16383 ac_top_srcdir=$srcdir
16384 ac_abs_top_srcdir=$srcdir ;;
16385 *) # Relative name.
16386 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16387 ac_top_srcdir=$ac_top_build_prefix$srcdir
16388 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16400 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16401 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16403 ac_MKDIR_P=$MKDIR_P
16405 [\\/$]* | ?:[\\/]* ) ;;
16406 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16411 # If the template does not know about datarootdir, expand it.
16412 # FIXME: This hack should be removed a few years after 2.60.
16413 ac_datarootdir_hack=; ac_datarootdir_seen=
16426 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16427 *datarootdir*) ac_datarootdir_seen=yes;;
16428 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16429 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16430 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16433 ac_datarootdir_hack='
16434 s&@datadir@&$datadir&g
16435 s&@docdir@&$docdir&g
16436 s&@infodir@&$infodir&g
16437 s&@localedir@&$localedir&g
16438 s&@mandir@&$mandir&g
16439 s&\\\${datarootdir}&$datarootdir&g' ;;
16443 # Neutralize VPATH when `$srcdir' = `.'.
16444 # Shell code in configure.ac might set extrasub.
16445 # FIXME: do we really want to maintain this feature?
16446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16447 ac_sed_extra="$ac_vpsub
16450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16452 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16453 s|@configure_input@|$ac_sed_conf_input|;t t
16454 s&@top_builddir@&$ac_top_builddir_sub&;t t
16455 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16456 s&@srcdir@&$ac_srcdir&;t t
16457 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16458 s&@top_srcdir@&$ac_top_srcdir&;t t
16459 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16460 s&@builddir@&$ac_builddir&;t t
16461 s&@abs_builddir@&$ac_abs_builddir&;t t
16462 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16463 s&@INSTALL@&$ac_INSTALL&;t t
16464 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16465 $ac_datarootdir_hack
16467 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16468 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16469 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16470 { (exit 1); exit 1; }; }
16472 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16473 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16474 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16475 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16476 which seems to be undefined. Please make sure it is defined." >&5
16477 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16478 which seems to be undefined. Please make sure it is defined." >&2;}
16482 -) cat "$tmp/out" && rm -f "$tmp/out";;
16483 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16485 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16486 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16487 { (exit 1); exit 1; }; }
16493 if test x"$ac_file" != x-; then
16495 $as_echo "/* $configure_input */" \
16496 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16497 } >"$tmp/config.h" \
16498 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16499 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16500 { (exit 1); exit 1; }; }
16501 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16502 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16503 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16506 mv "$tmp/config.h" "$ac_file" \
16507 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16508 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16509 { (exit 1); exit 1; }; }
16512 $as_echo "/* $configure_input */" \
16513 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16514 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16515 $as_echo "$as_me: error: could not create -" >&2;}
16516 { (exit 1); exit 1; }; }
16518 # Compute "$ac_file"'s index in $config_headers.
16521 for _am_header in $config_headers :; do
16522 case $_am_header in
16523 $_am_arg | $_am_arg:* )
16526 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16529 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16530 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16531 X"$_am_arg" : 'X\(//\)[^/]' \| \
16532 X"$_am_arg" : 'X\(//\)$' \| \
16533 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16534 $as_echo X"$_am_arg" |
16535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16539 /^X\(\/\/\)[^/].*/{
16551 s/.*/./; q'`/stamp-h$_am_stamp_count
16554 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16555 $as_echo "$as_me: executing $ac_file commands" >&6;}
16560 case $ac_file$ac_mode in
16561 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16562 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16563 # are listed without --file. Let's play safe and only enable the eval
16564 # if we detect the quoting.
16565 case $CONFIG_FILES in
16566 *\'*) eval set x "$CONFIG_FILES" ;;
16567 *) set x $CONFIG_FILES ;;
16572 # Strip MF so we end up with the name of the file.
16573 mf=`echo "$mf" | sed -e 's/:.*$//'`
16574 # Check whether this is an Automake generated Makefile or not.
16575 # We used to match only the files named `Makefile.in', but
16576 # some people rename them; so instead we look at the file content.
16577 # Grep'ing the first line is not enough: some people post-process
16578 # each Makefile.in and add a new line on top of each file to say so.
16579 # Grep'ing the whole file is not good either: AIX grep has a line
16580 # limit of 2048, but all sed's we know have understand at least 4000.
16581 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16582 dirpart=`$as_dirname -- "$mf" ||
16583 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16584 X"$mf" : 'X\(//\)[^/]' \| \
16585 X"$mf" : 'X\(//\)$' \| \
16586 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16592 /^X\(\/\/\)[^/].*/{
16608 # Extract the definition of DEPDIR, am__include, and am__quote
16609 # from the Makefile without running `make'.
16610 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16611 test -z "$DEPDIR" && continue
16612 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16613 test -z "am__include" && continue
16614 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16615 # When using ansi2knr, U may be empty or an underscore; expand it
16616 U=`sed -n 's/^U = //p' < "$mf"`
16617 # Find all dependency output files, they are included files with
16618 # $(DEPDIR) in their names. We invoke sed twice because it is the
16619 # simplest approach to changing $(DEPDIR) to its actual value in the
16621 for file in `sed -n "
16622 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16623 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16624 # Make sure the directory exists.
16625 test -f "$dirpart/$file" && continue
16626 fdir=`$as_dirname -- "$file" ||
16627 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16628 X"$file" : 'X\(//\)[^/]' \| \
16629 X"$file" : 'X\(//\)$' \| \
16630 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16631 $as_echo X"$file" |
16632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16636 /^X\(\/\/\)[^/].*/{
16649 { as_dir=$dirpart/$fdir
16651 -*) as_dir=./$as_dir;;
16653 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16657 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16658 *) as_qdir=$as_dir;;
16660 as_dirs="'$as_qdir' $as_dirs"
16661 as_dir=`$as_dirname -- "$as_dir" ||
16662 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16663 X"$as_dir" : 'X\(//\)[^/]' \| \
16664 X"$as_dir" : 'X\(//\)$' \| \
16665 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16666 $as_echo X"$as_dir" |
16667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16671 /^X\(\/\/\)[^/].*/{
16684 test -d "$as_dir" && break
16686 test -z "$as_dirs" || eval "mkdir $as_dirs"
16687 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16688 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16689 { (exit 1); exit 1; }; }; }
16690 # echo "creating $dirpart/$file"
16691 echo '# dummy' > "$dirpart/$file"
16698 # See if we are running on zsh, and set the options which allow our
16699 # commands through without removal of \ escapes.
16700 if test -n "${ZSH_VERSION+set}" ; then
16701 setopt NO_GLOB_SUBST
16704 cfgfile="${ofile}T"
16705 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16708 cat <<_LT_EOF >> "$cfgfile"
16711 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16712 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16713 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16714 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16716 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16717 # 2006, 2007, 2008 Free Software Foundation, Inc.
16718 # Written by Gordon Matzigkeit, 1996
16720 # This file is part of GNU Libtool.
16722 # GNU Libtool is free software; you can redistribute it and/or
16723 # modify it under the terms of the GNU General Public License as
16724 # published by the Free Software Foundation; either version 2 of
16725 # the License, or (at your option) any later version.
16727 # As a special exception to the GNU General Public License,
16728 # if you distribute this file as part of a program or library that
16729 # is built using GNU Libtool, you may include this file under the
16730 # same distribution terms that you use for the rest of that program.
16732 # GNU Libtool is distributed in the hope that it will be useful,
16733 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16734 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16735 # GNU General Public License for more details.
16737 # You should have received a copy of the GNU General Public License
16738 # along with GNU Libtool; see the file COPYING. If not, a copy
16739 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16740 # obtained by writing to the Free Software Foundation, Inc.,
16741 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16744 # The names of the tagged configurations supported by this script.
16747 # ### BEGIN LIBTOOL CONFIG
16749 # Which release of libtool.m4 was used?
16750 macro_version=$macro_version
16751 macro_revision=$macro_revision
16753 # Whether or not to build shared libraries.
16754 build_libtool_libs=$enable_shared
16756 # Whether or not to build static libraries.
16757 build_old_libs=$enable_static
16759 # What type of objects to build.
16762 # Whether or not to optimize for fast installation.
16763 fast_install=$enable_fast_install
16766 host_alias=$host_alias
16770 # The build system.
16771 build_alias=$build_alias
16775 # A sed program that does not truncate output.
16778 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16779 Xsed="\$SED -e 1s/^X//"
16781 # A grep program that handles long lines.
16787 # A literal string matcher.
16790 # A BSD- or MS-compatible name lister.
16793 # Whether we need soft or hard links.
16796 # What is the maximum length of a command?
16797 max_cmd_len=$max_cmd_len
16799 # Object file suffix (normally "o").
16802 # Executable file suffix (normally "").
16805 # whether the shell understands "unset".
16808 # turn spaces into newlines.
16811 # turn newlines into spaces.
16814 # How to create reloadable object files.
16815 reload_flag=$lt_reload_flag
16816 reload_cmds=$lt_reload_cmds
16818 # An object symbol dumper.
16819 OBJDUMP=$lt_OBJDUMP
16821 # Method to check whether dependent libraries are shared objects.
16822 deplibs_check_method=$lt_deplibs_check_method
16824 # Command to use when deplibs_check_method == "file_magic".
16825 file_magic_cmd=$lt_file_magic_cmd
16829 AR_FLAGS=$lt_AR_FLAGS
16831 # A symbol stripping program.
16834 # Commands used to install an old-style archive.
16836 old_postinstall_cmds=$lt_old_postinstall_cmds
16837 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16842 # LTCC compiler flags.
16843 LTCFLAGS=$lt_CFLAGS
16845 # Take the output of nm and produce a listing of raw symbols and C names.
16846 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16848 # Transform the output of nm in a proper C declaration.
16849 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16851 # Transform the output of nm in a C name address pair.
16852 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16854 # Transform the output of nm in a C name address pair when lib prefix is needed.
16855 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16857 # The name of the directory that contains temporary libtool files.
16860 # Shell to use when invoking shell scripts.
16863 # An echo program that does not interpret backslashes.
16866 # Used to examine libraries when file_magic_cmd begins with "file".
16867 MAGIC_CMD=$MAGIC_CMD
16869 # Must we lock files when doing compilation?
16870 need_locks=$lt_need_locks
16872 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16873 DSYMUTIL=$lt_DSYMUTIL
16875 # Tool to change global to local symbols on Mac OS X.
16878 # Tool to manipulate fat objects and archives on Mac OS X.
16881 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16884 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16885 OTOOL64=$lt_OTOOL64
16887 # Old archive suffix (normally "a").
16890 # Shared library suffix (normally ".so").
16891 shrext_cmds=$lt_shrext_cmds
16893 # The commands to extract the exported symbol list from a shared archive.
16894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16896 # Variables whose values should be saved in libtool wrapper scripts and
16897 # restored at link time.
16898 variables_saved_for_relink=$lt_variables_saved_for_relink
16900 # Do we need the "lib" prefix for modules?
16901 need_lib_prefix=$need_lib_prefix
16903 # Do we need a version for libraries?
16904 need_version=$need_version
16906 # Library versioning type.
16907 version_type=$version_type
16909 # Shared library runtime path variable.
16910 runpath_var=$runpath_var
16912 # Shared library path variable.
16913 shlibpath_var=$shlibpath_var
16915 # Is shlibpath searched before the hard-coded library search path?
16916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16918 # Format of library name prefix.
16919 libname_spec=$lt_libname_spec
16921 # List of archive names. First name is the real one, the rest are links.
16922 # The last name is the one that the linker finds with -lNAME
16923 library_names_spec=$lt_library_names_spec
16925 # The coded name of the library, if different from the real name.
16926 soname_spec=$lt_soname_spec
16928 # Command to use after installation of a shared archive.
16929 postinstall_cmds=$lt_postinstall_cmds
16931 # Command to use after uninstallation of a shared archive.
16932 postuninstall_cmds=$lt_postuninstall_cmds
16934 # Commands used to finish a libtool library installation in a directory.
16935 finish_cmds=$lt_finish_cmds
16937 # As "finish_cmds", except a single script fragment to be evaled but
16939 finish_eval=$lt_finish_eval
16941 # Whether we should hardcode library paths into libraries.
16942 hardcode_into_libs=$hardcode_into_libs
16944 # Compile-time system search path for libraries.
16945 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16947 # Run-time system search path for libraries.
16948 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16950 # Whether dlopen is supported.
16951 dlopen_support=$enable_dlopen
16953 # Whether dlopen of programs is supported.
16954 dlopen_self=$enable_dlopen_self
16956 # Whether dlopen of statically linked programs is supported.
16957 dlopen_self_static=$enable_dlopen_self_static
16959 # Commands to strip libraries.
16960 old_striplib=$lt_old_striplib
16961 striplib=$lt_striplib
16964 # The linker used to build libraries.
16967 # Commands used to build an old-style archive.
16968 old_archive_cmds=$lt_old_archive_cmds
16970 # A language specific compiler.
16973 # Is the compiler the GNU compiler?
16976 # Compiler flag to turn off builtin functions.
16977 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16979 # How to pass a linker flag through the compiler.
16980 wl=$lt_lt_prog_compiler_wl
16982 # Additional compiler flags for building library objects.
16983 pic_flag=$lt_lt_prog_compiler_pic
16985 # Compiler flag to prevent dynamic linking.
16986 link_static_flag=$lt_lt_prog_compiler_static
16988 # Does compiler simultaneously support -c and -o options?
16989 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16991 # Whether or not to add -lc for building shared libraries.
16992 build_libtool_need_lc=$archive_cmds_need_lc
16994 # Whether or not to disallow shared libs when runtime libs are static.
16995 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16997 # Compiler flag to allow reflexive dlopens.
16998 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17000 # Compiler flag to generate shared objects directly from archives.
17001 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17003 # Whether the compiler copes with passing no objects directly.
17004 compiler_needs_object=$lt_compiler_needs_object
17006 # Create an old-style archive from a shared archive.
17007 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17009 # Create a temporary old-style archive to link instead of a shared archive.
17010 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17012 # Commands used to build a shared archive.
17013 archive_cmds=$lt_archive_cmds
17014 archive_expsym_cmds=$lt_archive_expsym_cmds
17016 # Commands used to build a loadable module if different from building
17017 # a shared archive.
17018 module_cmds=$lt_module_cmds
17019 module_expsym_cmds=$lt_module_expsym_cmds
17021 # Whether we are building with GNU ld or not.
17022 with_gnu_ld=$lt_with_gnu_ld
17024 # Flag that allows shared libraries with undefined symbols to be built.
17025 allow_undefined_flag=$lt_allow_undefined_flag
17027 # Flag that enforces no undefined symbols.
17028 no_undefined_flag=$lt_no_undefined_flag
17030 # Flag to hardcode \$libdir into a binary during linking.
17031 # This must work even if \$libdir does not exist
17032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17034 # If ld is used when linking, flag to hardcode \$libdir into a binary
17035 # during linking. This must work even if \$libdir does not exist.
17036 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17038 # Whether we need a single "-rpath" flag with a separated argument.
17039 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17041 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17042 # DIR into the resulting binary.
17043 hardcode_direct=$hardcode_direct
17045 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17046 # DIR into the resulting binary and the resulting library dependency is
17047 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17048 # library is relocated.
17049 hardcode_direct_absolute=$hardcode_direct_absolute
17051 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17052 # into the resulting binary.
17053 hardcode_minus_L=$hardcode_minus_L
17055 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17056 # into the resulting binary.
17057 hardcode_shlibpath_var=$hardcode_shlibpath_var
17059 # Set to "yes" if building a shared library automatically hardcodes DIR
17060 # into the library and all subsequent libraries and executables linked
17062 hardcode_automatic=$hardcode_automatic
17064 # Set to yes if linker adds runtime paths of dependent libraries
17065 # to runtime path list.
17066 inherit_rpath=$inherit_rpath
17068 # Whether libtool must link a program against all its dependency libraries.
17069 link_all_deplibs=$link_all_deplibs
17071 # Fix the shell variable \$srcfile for the compiler.
17072 fix_srcfile_path=$lt_fix_srcfile_path
17074 # Set to "yes" if exported symbols are required.
17075 always_export_symbols=$always_export_symbols
17077 # The commands to list exported symbols.
17078 export_symbols_cmds=$lt_export_symbols_cmds
17080 # Symbols that should not be listed in the preloaded symbols.
17081 exclude_expsyms=$lt_exclude_expsyms
17083 # Symbols that must always be exported.
17084 include_expsyms=$lt_include_expsyms
17086 # Commands necessary for linking programs (against libraries) with templates.
17087 prelink_cmds=$lt_prelink_cmds
17089 # Specify filename containing input files.
17090 file_list_spec=$lt_file_list_spec
17092 # How to hardcode a shared library path into an executable.
17093 hardcode_action=$hardcode_action
17095 # ### END LIBTOOL CONFIG
17101 cat <<\_LT_EOF >> "$cfgfile"
17102 # AIX sometimes has problems with the GCC collect2 program. For some
17103 # reason, if we set the COLLECT_NAMES environment variable, the problems
17104 # vanish in a puff of smoke.
17105 if test "X${COLLECT_NAMES+set}" != Xset; then
17107 export COLLECT_NAMES
17114 ltmain="$ac_aux_dir/ltmain.sh"
17117 # We use sed instead of cat because bash on DJGPP gets confused if
17118 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17119 # text mode, it properly converts lines to CR/LF. This bash problem
17120 # is reportedly fixed, but why not run on old versions too?
17121 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17122 || (rm -f "$cfgfile"; exit 1)
17126 cat << \_LT_EOF >> "$cfgfile"
17128 # func_dirname file append nondir_replacement
17129 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17130 # otherwise set result to NONDIR_REPLACEMENT.
17134 */*) func_dirname_result="${1%/*}${2}" ;;
17135 * ) func_dirname_result="${3}" ;;
17139 # func_basename file
17142 func_basename_result="${1##*/}"
17145 # func_dirname_and_basename file append nondir_replacement
17146 # perform func_basename and func_dirname in a single function
17148 # dirname: Compute the dirname of FILE. If nonempty,
17149 # add APPEND to the result, otherwise set result
17150 # to NONDIR_REPLACEMENT.
17151 # value returned in "$func_dirname_result"
17152 # basename: Compute filename of FILE.
17153 # value retuned in "$func_basename_result"
17154 # Implementation must be kept synchronized with func_dirname
17155 # and func_basename. For efficiency, we do not delegate to
17156 # those functions but instead duplicate the functionality here.
17157 func_dirname_and_basename ()
17160 */*) func_dirname_result="${1%/*}${2}" ;;
17161 * ) func_dirname_result="${3}" ;;
17163 func_basename_result="${1##*/}"
17166 # func_stripname prefix suffix name
17167 # strip PREFIX and SUFFIX off of NAME.
17168 # PREFIX and SUFFIX must not contain globbing or regex special
17169 # characters, hashes, percent signs, but SUFFIX may contain a leading
17170 # dot (in which case that matches only a dot).
17173 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17174 # positional parameters, so assign one to ordinary parameter first.
17175 func_stripname_result=${3}
17176 func_stripname_result=${func_stripname_result#"${1}"}
17177 func_stripname_result=${func_stripname_result%"${2}"}
17183 func_opt_split_opt=${1%%=*}
17184 func_opt_split_arg=${1#*=}
17191 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17192 *) func_lo2o_result=${1} ;;
17196 # func_xform libobj-or-source
17199 func_xform_result=${1%.*}.lo
17202 # func_arith arithmetic-term...
17205 func_arith_result=$(( $* ))
17209 # STRING may not start with a hyphen.
17212 func_len_result=${#1}
17217 *) # Bourne compatible functions.
17218 cat << \_LT_EOF >> "$cfgfile"
17220 # func_dirname file append nondir_replacement
17221 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17222 # otherwise set result to NONDIR_REPLACEMENT.
17225 # Extract subdirectory from the argument.
17226 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17227 if test "X$func_dirname_result" = "X${1}"; then
17228 func_dirname_result="${3}"
17230 func_dirname_result="$func_dirname_result${2}"
17234 # func_basename file
17237 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17241 # func_stripname prefix suffix name
17242 # strip PREFIX and SUFFIX off of NAME.
17243 # PREFIX and SUFFIX must not contain globbing or regex special
17244 # characters, hashes, percent signs, but SUFFIX may contain a leading
17245 # dot (in which case that matches only a dot).
17246 # func_strip_suffix prefix name
17250 .*) func_stripname_result=`$ECHO "X${3}" \
17251 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17252 *) func_stripname_result=`$ECHO "X${3}" \
17253 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17258 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17259 my_sed_long_arg='1s/^-[^=]*=//'
17264 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17265 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17271 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17274 # func_xform libobj-or-source
17277 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17280 # func_arith arithmetic-term...
17283 func_arith_result=`expr "$@"`
17287 # STRING may not start with a hyphen.
17290 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17296 case $lt_shell_append in
17298 cat << \_LT_EOF >> "$cfgfile"
17300 # func_append var value
17301 # Append VALUE to the end of shell variable VAR.
17309 cat << \_LT_EOF >> "$cfgfile"
17311 # func_append var value
17312 # Append VALUE to the end of shell variable VAR.
17323 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17324 || (rm -f "$cfgfile"; exit 1)
17326 mv -f "$cfgfile" "$ofile" ||
17327 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17331 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17332 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17335 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17336 { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
17337 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
17338 { (exit 1); exit 1; }; }
17340 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17345 '"s|^| $ac_top_srcdir/|" \
17346 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17348 sed '/^POTFILES =/,/[^\\]$/ {
17352 ' "po/Makefile.in" >"po/Makefile"
17353 rm -f "po/Makefile.tmp"
17354 mv "po/stamp-it.tmp" "po/stamp-it"
17361 { (exit 0); exit 0; }
17363 chmod +x $CONFIG_STATUS
17364 ac_clean_files=$ac_clean_files_save
17366 test $ac_write_fail = 0 ||
17367 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17368 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17369 { (exit 1); exit 1; }; }
17372 # configure is writing to config.log, and then calls config.status.
17373 # config.status does its own redirection, appending to config.log.
17374 # Unfortunately, on DOS this fails, as config.log is still kept open
17375 # by configure, so config.status won't be able to write to it; its
17376 # output is simply discarded. So we exec the FD to /dev/null,
17377 # effectively closing config.log, so it can be properly (re)opened and
17378 # appended to by config.status. When coming back to configure, we
17379 # need to make the FD available again.
17380 if test "$no_create" != yes; then
17382 ac_config_status_args=
17383 test "$silent" = yes &&
17384 ac_config_status_args="$ac_config_status_args --quiet"
17386 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17388 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17389 # would make configure fail if this is the last instruction.
17390 $ac_cs_success || { (exit 1); exit 1; }
17392 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17393 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17394 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17399 Configuration Sources:
17400 GConf default values source: ${GCONF_DEFAULTS_SOURCE}
17401 GConf mandatory values source: ${GCONF_MANDATORY_SOURCE}"