2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for glabels 2.2.8.
5 # Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116>.
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='glabels'
747 PACKAGE_TARNAME='glabels'
748 PACKAGE_VERSION='2.2.8'
749 PACKAGE_STRING='glabels 2.2.8'
750 PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116'
752 ac_unique_file="src/glabels.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
805 ENABLE_UPDATE_DESKTOPDB_FALSE
806 ENABLE_UPDATE_DESKTOPDB_TRUE
807 ENABLE_UPDATE_MIMEDB_FALSE
808 ENABLE_UPDATE_MIMEDB_TRUE
809 HAVE_NEWER_MIME_FALSE
811 UPDATE_DESKTOP_DATABASE
815 DISABLE_DEPRECATED_CFLAGS
818 XML_PARSE_HUGE_CFLAGS
834 LIBGLABELS_VERSION_INFO
835 GTK_DOC_USE_LIBTOOL_FALSE
836 GTK_DOC_USE_LIBTOOL_TRUE
894 INTLTOOL_SERVICE_RULE
896 INTLTOOL_SCHEMAS_RULE
898 INTLTOOL_XML_NOMERGE_RULE
903 INTLTOOL_SOUNDLIST_RULE
910 INTLTOOL_DIRECTORY_RULE
911 INTLTOOL_DESKTOP_RULE
917 MAINTAINER_MODE_FALSE
919 HAVE_GNOME_DOC_UTILS_FALSE
920 HAVE_GNOME_DOC_UTILS_TRUE
921 DISTCHECK_CONFIGURE_FLAGS
937 INSTALL_STRIP_PROGRAM
979 program_transform_name
991 enable_option_checking
996 enable_maintainer_mode
998 enable_dependency_tracking
1005 enable_compile_warnings
1011 enable_update_mimedb
1012 enable_update_desktopdb
1014 ac_precious_vars='build_alias
1032 XML_PARSE_HUGE_CFLAGS
1033 XML_PARSE_HUGE_LIBS'
1036 # Initialize some variables set by options.
1038 ac_init_version=false
1039 ac_unrecognized_opts=
1040 ac_unrecognized_sep=
1041 # The variables have the same names as the options, with
1042 # dashes changed to underlines.
1043 cache_file=/dev/null
1050 program_transform_name=s,x,x,
1058 # Installation directory options.
1059 # These are left unexpanded so users can "make install exec_prefix=/foo"
1060 # and all the variables that are supposed to be based on exec_prefix
1061 # by default will actually change.
1062 # Use braces instead of parens because sh, perl, etc. also accept them.
1063 # (The list follows the same order as the GNU Coding Standards.)
1064 bindir='${exec_prefix}/bin'
1065 sbindir='${exec_prefix}/sbin'
1066 libexecdir='${exec_prefix}/libexec'
1067 datarootdir='${prefix}/share'
1068 datadir='${datarootdir}'
1069 sysconfdir='${prefix}/etc'
1070 sharedstatedir='${prefix}/com'
1071 localstatedir='${prefix}/var'
1072 includedir='${prefix}/include'
1073 oldincludedir='/usr/include'
1074 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1075 infodir='${datarootdir}/info'
1080 libdir='${exec_prefix}/lib'
1081 localedir='${datarootdir}/locale'
1082 mandir='${datarootdir}/man'
1088 # If the previous option needs an argument, assign it.
1089 if test -n "$ac_prev"; then
1090 eval $ac_prev=\$ac_option
1096 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1100 # Accept the important Cygnus configure options, so we can diagnose typos.
1102 case $ac_dashdash$ac_option in
1106 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1108 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1109 bindir=$ac_optarg ;;
1111 -build | --build | --buil | --bui | --bu)
1112 ac_prev=build_alias ;;
1113 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1114 build_alias=$ac_optarg ;;
1116 -cache-file | --cache-file | --cache-fil | --cache-fi \
1117 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1118 ac_prev=cache_file ;;
1119 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1120 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1121 cache_file=$ac_optarg ;;
1123 --config-cache | -C)
1124 cache_file=config.cache ;;
1126 -datadir | --datadir | --datadi | --datad)
1128 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1129 datadir=$ac_optarg ;;
1131 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1132 | --dataroo | --dataro | --datar)
1133 ac_prev=datarootdir ;;
1134 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1135 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1136 datarootdir=$ac_optarg ;;
1138 -disable-* | --disable-*)
1139 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1143 { (exit 1); exit 1; }; }
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1148 "enable_$ac_useropt"
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval enable_$ac_useropt=no ;;
1155 -docdir | --docdir | --docdi | --doc | --do)
1157 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1158 docdir=$ac_optarg ;;
1160 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1162 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1163 dvidir=$ac_optarg ;;
1165 -enable-* | --enable-*)
1166 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1170 { (exit 1); exit 1; }; }
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1175 "enable_$ac_useropt"
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1180 eval enable_$ac_useropt=\$ac_optarg ;;
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev=exec_prefix ;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix=$ac_optarg ;;
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help=long ;;
1197 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198 ac_init_help=recursive ;;
1199 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200 ac_init_help=short ;;
1202 -host | --host | --hos | --ho)
1203 ac_prev=host_alias ;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias=$ac_optarg ;;
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 htmldir=$ac_optarg ;;
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev=includedir ;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir=$ac_optarg ;;
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir=$ac_optarg ;;
1225 -libdir | --libdir | --libdi | --libd)
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir=$ac_optarg ;;
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev=libexecdir ;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir=$ac_optarg ;;
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev=localedir ;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir=$ac_optarg ;;
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev=localstatedir ;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir=$ac_optarg ;;
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir=$ac_optarg ;;
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev=oldincludedir ;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir=$ac_optarg ;;
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix=$ac_optarg ;;
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev=program_prefix ;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix=$ac_optarg ;;
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev=program_suffix ;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix=$ac_optarg ;;
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev=program_transform_name ;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name=$ac_optarg ;;
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir=$ac_optarg ;;
1316 -psdir | --psdir | --psdi | --psd | --ps)
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 sbindir=$ac_optarg ;;
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1335 ac_prev=sharedstatedir ;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 sharedstatedir=$ac_optarg ;;
1342 -site | --site | --sit)
1344 -site=* | --site=* | --sit=*)
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir=$ac_optarg ;;
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev=sysconfdir ;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir=$ac_optarg ;;
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev=target_alias ;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias=$ac_optarg ;;
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version=: ;;
1371 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_useropt_orig=$ac_useropt
1377 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1378 case $ac_user_opts in
1382 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1383 ac_unrecognized_sep=', ';;
1385 eval with_$ac_useropt=\$ac_optarg ;;
1387 -without-* | --without-*)
1388 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1389 # Reject names that are not valid shell variable names.
1390 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1391 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1392 { (exit 1); exit 1; }; }
1393 ac_useropt_orig=$ac_useropt
1394 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1395 case $ac_user_opts in
1399 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1400 ac_unrecognized_sep=', ';;
1402 eval with_$ac_useropt=no ;;
1405 # Obsolete; use --with-x.
1408 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1409 | --x-incl | --x-inc | --x-in | --x-i)
1410 ac_prev=x_includes ;;
1411 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1412 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1413 x_includes=$ac_optarg ;;
1415 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1416 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1417 ac_prev=x_libraries ;;
1418 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1419 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1420 x_libraries=$ac_optarg ;;
1422 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1423 Try \`$0 --help' for more information." >&2
1424 { (exit 1); exit 1; }; }
1428 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1429 # Reject names that are not valid shell variable names.
1430 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1431 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1432 { (exit 1); exit 1; }; }
1433 eval $ac_envvar=\$ac_optarg
1434 export $ac_envvar ;;
1437 # FIXME: should be removed in autoconf 3.0.
1438 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1439 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1440 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1441 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1447 if test -n "$ac_prev"; then
1448 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1449 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1450 { (exit 1); exit 1; }; }
1453 if test -n "$ac_unrecognized_opts"; then
1454 case $enable_option_checking in
1456 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1457 { (exit 1); exit 1; }; } ;;
1458 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1462 # Check all directory arguments for consistency.
1463 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1464 datadir sysconfdir sharedstatedir localstatedir includedir \
1465 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1466 libdir localedir mandir
1468 eval ac_val=\$$ac_var
1469 # Remove trailing slashes.
1472 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1473 eval $ac_var=\$ac_val;;
1475 # Be sure to have absolute directory names.
1477 [\\/$]* | ?:[\\/]* ) continue;;
1478 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1480 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1481 { (exit 1); exit 1; }; }
1484 # There might be people who depend on the old broken behavior: `$host'
1485 # used to hold the argument of --host etc.
1486 # FIXME: To remove some day.
1489 target=$target_alias
1491 # FIXME: To remove some day.
1492 if test "x$host_alias" != x; then
1493 if test "x$build_alias" = x; then
1494 cross_compiling=maybe
1495 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1496 If a cross compiler is detected then cross compile mode will be used." >&2
1497 elif test "x$build_alias" != "x$host_alias"; then
1503 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1505 test "$silent" = yes && exec 6>/dev/null
1508 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1509 ac_ls_di=`ls -di .` &&
1510 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1511 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1512 { (exit 1); exit 1; }; }
1513 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1514 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1515 { (exit 1); exit 1; }; }
1518 # Find the source files, if location was not specified.
1519 if test -z "$srcdir"; then
1520 ac_srcdir_defaulted=yes
1521 # Try the directory containing this script, then the parent directory.
1522 ac_confdir=`$as_dirname -- "$as_myself" ||
1523 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1524 X"$as_myself" : 'X\(//\)[^/]' \| \
1525 X"$as_myself" : 'X\(//\)$' \| \
1526 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1527 $as_echo X"$as_myself" |
1528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1550 ac_srcdir_defaulted=no
1552 if test ! -r "$srcdir/$ac_unique_file"; then
1553 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1554 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1555 { (exit 1); exit 1; }; }
1557 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1559 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1560 { (exit 1); exit 1; }; }
1562 # When building in place, set srcdir=.
1563 if test "$ac_abs_confdir" = "$ac_pwd"; then
1566 # Remove unnecessary trailing slashes from srcdir.
1567 # Double slashes in file names in object file debugging info
1568 # mess up M-x gdb in Emacs.
1570 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1572 for ac_var in $ac_precious_vars; do
1573 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1574 eval ac_env_${ac_var}_value=\$${ac_var}
1575 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1576 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1580 # Report the --help message.
1582 if test "$ac_init_help" = "long"; then
1583 # Omit some internal or obsolete options to make the list less imposing.
1584 # This message is too long to be a string in the A/UX 3.1 sh.
1586 \`configure' configures glabels 2.2.8 to adapt to many kinds of systems.
1588 Usage: $0 [OPTION]... [VAR=VALUE]...
1590 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1591 VAR=VALUE. See below for descriptions of some of the useful variables.
1593 Defaults for the options are specified in brackets.
1596 -h, --help display this help and exit
1597 --help=short display options specific to this package
1598 --help=recursive display the short help of all the included packages
1599 -V, --version display version information and exit
1600 -q, --quiet, --silent do not print \`checking...' messages
1601 --cache-file=FILE cache test results in FILE [disabled]
1602 -C, --config-cache alias for \`--cache-file=config.cache'
1603 -n, --no-create do not create output files
1604 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1606 Installation directories:
1607 --prefix=PREFIX install architecture-independent files in PREFIX
1608 [$ac_default_prefix]
1609 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1612 By default, \`make install' will install all the files in
1613 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1614 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1615 for instance \`--prefix=\$HOME'.
1617 For better control, use the options below.
1619 Fine tuning of the installation directories:
1620 --bindir=DIR user executables [EPREFIX/bin]
1621 --sbindir=DIR system admin executables [EPREFIX/sbin]
1622 --libexecdir=DIR program executables [EPREFIX/libexec]
1623 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1624 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1625 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1626 --libdir=DIR object code libraries [EPREFIX/lib]
1627 --includedir=DIR C header files [PREFIX/include]
1628 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1629 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1630 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1631 --infodir=DIR info documentation [DATAROOTDIR/info]
1632 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1633 --mandir=DIR man documentation [DATAROOTDIR/man]
1634 --docdir=DIR documentation root [DATAROOTDIR/doc/glabels]
1635 --htmldir=DIR html documentation [DOCDIR]
1636 --dvidir=DIR dvi documentation [DOCDIR]
1637 --pdfdir=DIR pdf documentation [DOCDIR]
1638 --psdir=DIR ps documentation [DOCDIR]
1644 --program-prefix=PREFIX prepend PREFIX to installed program names
1645 --program-suffix=SUFFIX append SUFFIX to installed program names
1646 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1649 --build=BUILD configure for building on BUILD [guessed]
1650 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1654 if test -n "$ac_init_help"; then
1655 case $ac_init_help in
1656 short | recursive ) echo "Configuration of glabels 2.2.8:";;
1661 --disable-option-checking ignore unrecognized --enable/--with options
1662 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1663 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1664 --disable-scrollkeeper do not make updates to the scrollkeeper database
1665 --enable-maintainer-mode enable make rules and dependencies not useful
1666 (and sometimes confusing) to the casual installer
1667 --disable-nls do not use Native Language Support
1668 --disable-dependency-tracking speeds up one-time build
1669 --enable-dependency-tracking do not reject slow dependency extractors
1670 --enable-shared[=PKGS] build shared libraries [default=yes]
1671 --enable-static[=PKGS] build static libraries [default=yes]
1672 --enable-fast-install[=PKGS]
1673 optimize for fast installation [default=yes]
1674 --disable-libtool-lock avoid locking (might break parallel builds)
1675 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1676 Turn on compiler warnings
1677 --enable-iso-c Try to warn if code is not ISO C
1678 --enable-gtk-doc use gtk-doc to build documentation [default=no]
1679 --enable-deprecations warn about deprecated usages [default=no]
1680 --disable-update-mimedb disable the update-mime-database after install
1682 --disable-update-desktopdb
1683 disable the update-desktop-database after install
1687 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1688 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1689 --with-help-dir=DIR path to help docs
1690 --with-omf-dir=DIR path to OMF files
1691 --with-help-formats=FORMATS
1693 --with-pic try to use only PIC/non-PIC objects [default=use
1695 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1696 --with-html-dir=PATH path to installed docs
1697 --without-libebook build without Evolution Data Server support
1699 Some influential environment variables:
1700 PKG_CONFIG path to pkg-config utility
1701 CC C compiler command
1702 CFLAGS C compiler flags
1703 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1704 nonstandard directory <lib dir>
1705 LIBS libraries to pass to the linker, e.g. -l<library>
1706 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1707 you have headers in a nonstandard directory <include dir>
1710 C compiler flags for LIBEBOOK, overriding pkg-config
1712 linker flags for LIBEBOOK, overriding pkg-config
1714 C compiler flags for GLABELS, overriding pkg-config
1716 linker flags for GLABELS, overriding pkg-config
1718 C compiler flags for LIBGLABELS, overriding pkg-config
1720 linker flags for LIBGLABELS, overriding pkg-config
1722 C compiler flags for MYGAL, overriding pkg-config
1723 MYGAL_LIBS linker flags for MYGAL, overriding pkg-config
1724 XML_PARSE_HUGE_CFLAGS
1725 C compiler flags for XML_PARSE_HUGE, overriding pkg-config
1727 linker flags for XML_PARSE_HUGE, overriding pkg-config
1729 Use these variables to override the choices made by `configure' or to help
1730 it to find libraries and programs with nonstandard names/locations.
1732 Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116>.
1737 if test "$ac_init_help" = "recursive"; then
1738 # If there are subdirs, report their specific --help.
1739 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1740 test -d "$ac_dir" ||
1741 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1748 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1749 # A ".." for each directory in $ac_dir_suffix.
1750 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1751 case $ac_top_builddir_sub in
1752 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1753 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1756 ac_abs_top_builddir=$ac_pwd
1757 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1758 # for backward compatibility:
1759 ac_top_builddir=$ac_top_build_prefix
1762 .) # We are building in place.
1764 ac_top_srcdir=$ac_top_builddir_sub
1765 ac_abs_top_srcdir=$ac_pwd ;;
1766 [\\/]* | ?:[\\/]* ) # Absolute name.
1767 ac_srcdir=$srcdir$ac_dir_suffix;
1768 ac_top_srcdir=$srcdir
1769 ac_abs_top_srcdir=$srcdir ;;
1771 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1772 ac_top_srcdir=$ac_top_build_prefix$srcdir
1773 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1775 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1777 cd "$ac_dir" || { ac_status=$?; continue; }
1778 # Check for guested configure.
1779 if test -f "$ac_srcdir/configure.gnu"; then
1781 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1782 elif test -f "$ac_srcdir/configure"; then
1784 $SHELL "$ac_srcdir/configure" --help=recursive
1786 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1788 cd "$ac_pwd" || { ac_status=$?; break; }
1792 test -n "$ac_init_help" && exit $ac_status
1793 if $ac_init_version; then
1795 glabels configure 2.2.8
1796 generated by GNU Autoconf 2.63
1798 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1799 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1800 This configure script is free software; the Free Software Foundation
1801 gives unlimited permission to copy, distribute and modify it.
1805 cat >config.log <<_ACEOF
1806 This file contains any messages produced by compilers while
1807 running configure, to aid debugging if configure makes a mistake.
1809 It was created by glabels $as_me 2.2.8, which was
1810 generated by GNU Autoconf 2.63. Invocation command line was
1822 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1823 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1824 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1825 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1826 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1828 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1829 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1831 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1832 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1833 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1834 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1835 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1836 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1837 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 $as_echo "PATH: $as_dir"
1862 # Keep a trace of the command line.
1863 # Strip out --no-create and --no-recursion so they do not pile up.
1864 # Strip out --silent because we don't want to record it for future runs.
1865 # Also quote any args containing shell meta-characters.
1866 # Make two passes to allow for proper duplicate-argument suppression.
1870 ac_must_keep_next=false
1876 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878 | -silent | --silent | --silen | --sile | --sil)
1881 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1884 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1886 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1887 if test $ac_must_keep_next = true; then
1888 ac_must_keep_next=false # Got value, back to normal.
1891 *=* | --config-cache | -C | -disable-* | --disable-* \
1892 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1893 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1894 | -with-* | --with-* | -without-* | --without-* | --x)
1895 case "$ac_configure_args0 " in
1896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1899 -* ) ac_must_keep_next=true ;;
1902 ac_configure_args="$ac_configure_args '$ac_arg'"
1907 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1908 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1910 # When interrupted or exit'd, cleanup temporary files, and complete
1911 # config.log. We remove comments because anyway the quotes in there
1912 # would cause problems or look ugly.
1913 # WARNING: Use '\'' to represent an apostrophe within the trap.
1914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1915 trap 'exit_status=$?
1916 # Save into config.log some information that might help in debugging.
1921 ## ---------------- ##
1922 ## Cache variables. ##
1923 ## ---------------- ##
1926 # The following way of writing the cache mishandles newlines in values,
1928 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1929 eval ac_val=\$$ac_var
1933 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1934 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1937 _ | IFS | as_nl) ;; #(
1938 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1939 *) $as_unset $ac_var ;;
1944 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1945 *${as_nl}ac_space=\ *)
1947 "s/'\''/'\''\\\\'\'''\''/g;
1948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1951 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1959 ## ----------------- ##
1960 ## Output variables. ##
1961 ## ----------------- ##
1964 for ac_var in $ac_subst_vars
1966 eval ac_val=\$$ac_var
1968 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1970 $as_echo "$ac_var='\''$ac_val'\''"
1974 if test -n "$ac_subst_files"; then
1976 ## ------------------- ##
1977 ## File substitutions. ##
1978 ## ------------------- ##
1981 for ac_var in $ac_subst_files
1983 eval ac_val=\$$ac_var
1985 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1987 $as_echo "$ac_var='\''$ac_val'\''"
1992 if test -s confdefs.h; then
2002 test "$ac_signal" != 0 &&
2003 $as_echo "$as_me: caught signal $ac_signal"
2004 $as_echo "$as_me: exit $exit_status"
2006 rm -f core *.core core.conftest.* &&
2007 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2010 for ac_signal in 1 2 13 15; do
2011 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2015 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2016 rm -f -r conftest* confdefs.h
2018 # Predefined preprocessor variables.
2020 cat >>confdefs.h <<_ACEOF
2021 #define PACKAGE_NAME "$PACKAGE_NAME"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_STRING "$PACKAGE_STRING"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2045 # Let the site file select an alternate cache file if it wants to.
2046 # Prefer an explicitly selected file to automatically selected ones.
2049 if test -n "$CONFIG_SITE"; then
2050 ac_site_file1=$CONFIG_SITE
2051 elif test "x$prefix" != xNONE; then
2052 ac_site_file1=$prefix/share/config.site
2053 ac_site_file2=$prefix/etc/config.site
2055 ac_site_file1=$ac_default_prefix/share/config.site
2056 ac_site_file2=$ac_default_prefix/etc/config.site
2058 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2060 test "x$ac_site_file" = xNONE && continue
2061 if test -r "$ac_site_file"; then
2062 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2064 sed 's/^/| /' "$ac_site_file" >&5
2069 if test -r "$cache_file"; then
2070 # Some versions of bash will fail to source /dev/null (special
2071 # files actually), so we avoid doing that.
2072 if test -f "$cache_file"; then
2073 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2074 $as_echo "$as_me: loading cache $cache_file" >&6;}
2076 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2077 *) . "./$cache_file";;
2081 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2082 $as_echo "$as_me: creating cache $cache_file" >&6;}
2086 # Check that the precious variables saved in the cache have kept the same
2088 ac_cache_corrupted=false
2089 for ac_var in $ac_precious_vars; do
2090 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2091 eval ac_new_set=\$ac_env_${ac_var}_set
2092 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2093 eval ac_new_val=\$ac_env_${ac_var}_value
2094 case $ac_old_set,$ac_new_set in
2096 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2097 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2098 ac_cache_corrupted=: ;;
2100 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2101 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2105 if test "x$ac_old_val" != "x$ac_new_val"; then
2106 # differences in whitespace do not lead to failure.
2107 ac_old_val_w=`echo x $ac_old_val`
2108 ac_new_val_w=`echo x $ac_new_val`
2109 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2110 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2111 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2112 ac_cache_corrupted=:
2114 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2115 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2116 eval $ac_var=\$ac_old_val
2118 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2119 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2120 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2121 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2124 # Pass precious variables to config.status.
2125 if test "$ac_new_set" = set; then
2127 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2128 *) ac_arg=$ac_var=$ac_new_val ;;
2130 case " $ac_configure_args " in
2131 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2132 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2136 if $ac_cache_corrupted; then
2137 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2140 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2141 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2142 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2143 { (exit 1); exit 1; }; }
2171 ac_cpp='$CPP $CPPFLAGS'
2172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2178 am__api_version='1.11'
2181 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2182 if test -f "$ac_dir/install-sh"; then
2184 ac_install_sh="$ac_aux_dir/install-sh -c"
2186 elif test -f "$ac_dir/install.sh"; then
2188 ac_install_sh="$ac_aux_dir/install.sh -c"
2190 elif test -f "$ac_dir/shtool"; then
2192 ac_install_sh="$ac_aux_dir/shtool install -c"
2196 if test -z "$ac_aux_dir"; then
2197 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2198 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2199 { (exit 1); exit 1; }; }
2202 # These three variables are undocumented and unsupported,
2203 # and are intended to be withdrawn in a future Autoconf release.
2204 # They can cause serious problems if a builder's source tree is in a directory
2205 # whose full name contains unusual characters.
2206 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2207 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2208 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2211 # Find a good install program. We prefer a C program (faster),
2212 # so one script is as good as another. But avoid the broken or
2213 # incompatible versions:
2214 # SysV /etc/install, /usr/sbin/install
2215 # SunOS /usr/etc/install
2216 # IRIX /sbin/install
2218 # AmigaOS /C/install, which installs bootblocks on floppy discs
2219 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2220 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2221 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2222 # OS/2's system install, which has a completely different semantic
2223 # ./install, which can be erroneously created by make from ./install.sh.
2224 # Reject install programs that cannot install multiple files.
2225 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2226 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2227 if test -z "$INSTALL"; then
2228 if test "${ac_cv_path_install+set}" = set; then
2229 $as_echo_n "(cached) " >&6
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir=.
2236 # Account for people who put trailing slashes in PATH elements.
2238 ./ | .// | /cC/* | \
2239 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2240 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2243 # OSF1 and SCO ODT 3.0 have their own names for install.
2244 # Don't use installbsd from OSF since it installs stuff as root
2246 for ac_prog in ginstall scoinst install; do
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2249 if test $ac_prog = install &&
2250 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2251 # AIX install. It has an incompatible calling convention.
2253 elif test $ac_prog = install &&
2254 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2255 # program-specific install script used by HP pwplus--don't use.
2258 rm -rf conftest.one conftest.two conftest.dir
2259 echo one > conftest.one
2260 echo two > conftest.two
2262 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2263 test -s conftest.one && test -s conftest.two &&
2264 test -s conftest.dir/conftest.one &&
2265 test -s conftest.dir/conftest.two
2267 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2280 rm -rf conftest.one conftest.two conftest.dir
2283 if test "${ac_cv_path_install+set}" = set; then
2284 INSTALL=$ac_cv_path_install
2286 # As a last resort, use the slow shell script. Don't cache a
2287 # value for INSTALL within a source directory, because that will
2288 # break other packages using the cache if that directory is
2289 # removed, or if the value is a relative name.
2290 INSTALL=$ac_install_sh
2293 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2294 $as_echo "$INSTALL" >&6; }
2296 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2297 # It thinks the first close brace ends the variable substitution.
2298 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2300 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2302 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2304 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2305 $as_echo_n "checking whether build environment is sane... " >&6; }
2308 echo timestamp > conftest.file
2309 # Reject unsafe characters in $srcdir or the absolute working directory
2310 # name. Accept space and tab only in the latter.
2314 *[\\\"\#\$\&\'\`$am_lf]*)
2315 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2316 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2317 { (exit 1); exit 1; }; };;
2320 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2321 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2322 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2323 { (exit 1); exit 1; }; };;
2326 # Do `set' in a subshell so we don't clobber the current shell's
2327 # arguments. Must try -L first in case configure is actually a
2328 # symlink; some systems play weird games with the mod time of symlinks
2329 # (eg FreeBSD returns the mod time of the symlink's containing
2332 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2333 if test "$*" = "X"; then
2335 set X `ls -t "$srcdir/configure" conftest.file`
2338 if test "$*" != "X $srcdir/configure conftest.file" \
2339 && test "$*" != "X conftest.file $srcdir/configure"; then
2341 # If neither matched, then we have a broken ls. This can happen
2342 # if, for instance, CONFIG_SHELL is bash and it inherits a
2343 # broken ls alias from the environment. This has actually
2344 # happened. Such a system could not be considered "sane".
2345 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2346 alias in your environment" >&5
2347 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2348 alias in your environment" >&2;}
2349 { (exit 1); exit 1; }; }
2352 test "$2" = conftest.file
2358 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2359 Check your system clock" >&5
2360 $as_echo "$as_me: error: newly created file is older than distributed files!
2361 Check your system clock" >&2;}
2362 { (exit 1); exit 1; }; }
2364 { $as_echo "$as_me:$LINENO: result: yes" >&5
2365 $as_echo "yes" >&6; }
2366 test "$program_prefix" != NONE &&
2367 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2368 # Use a double $ so make ignores it.
2369 test "$program_suffix" != NONE &&
2370 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2371 # Double any \ or $.
2372 # By default was `s,x,x', remove it if useless.
2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2376 # expand $ac_aux_dir to an absolute path
2377 am_aux_dir=`cd $ac_aux_dir && pwd`
2379 if test x"${MISSING+set}" != xset; then
2382 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2384 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2387 # Use eval to expand $SHELL
2388 if eval "$MISSING --run true"; then
2389 am_missing_run="$MISSING --run "
2392 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2393 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2396 if test x"${install_sh}" != xset; then
2399 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2401 install_sh="\${SHELL} $am_aux_dir/install-sh"
2405 # Installed binaries are usually stripped using `strip' when the user
2406 # run `make install-strip'. However `strip' might not be the right
2407 # tool to use in cross-compilation environments, therefore Automake
2408 # will honor the `STRIP' environment variable to overrule this program.
2409 if test "$cross_compiling" != no; then
2410 if test -n "$ac_tool_prefix"; then
2411 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2412 set dummy ${ac_tool_prefix}strip; ac_word=$2
2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_STRIP+set}" = set; then
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$STRIP"; then
2419 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2429 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 STRIP=$ac_cv_prog_STRIP
2439 if test -n "$STRIP"; then
2440 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2441 $as_echo "$STRIP" >&6; }
2443 { $as_echo "$as_me:$LINENO: result: no" >&5
2444 $as_echo "no" >&6; }
2449 if test -z "$ac_cv_prog_STRIP"; then
2451 # Extract the first word of "strip", so it can be a program name with args.
2452 set dummy strip; ac_word=$2
2453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2456 $as_echo_n "(cached) " >&6
2458 if test -n "$ac_ct_STRIP"; then
2459 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_ac_ct_STRIP="strip"
2469 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2479 if test -n "$ac_ct_STRIP"; then
2480 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2481 $as_echo "$ac_ct_STRIP" >&6; }
2483 { $as_echo "$as_me:$LINENO: result: no" >&5
2484 $as_echo "no" >&6; }
2487 if test "x$ac_ct_STRIP" = x; then
2490 case $cross_compiling:$ac_tool_warned in
2492 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494 ac_tool_warned=yes ;;
2499 STRIP="$ac_cv_prog_STRIP"
2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2505 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2507 if test -z "$MKDIR_P"; then
2508 if test "${ac_cv_path_mkdir+set}" = set; then
2509 $as_echo_n "(cached) " >&6
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2515 test -z "$as_dir" && as_dir=.
2516 for ac_prog in mkdir gmkdir; do
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2519 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2520 'mkdir (GNU coreutils) '* | \
2521 'mkdir (coreutils) '* | \
2522 'mkdir (fileutils) '4.1*)
2523 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2533 if test "${ac_cv_path_mkdir+set}" = set; then
2534 MKDIR_P="$ac_cv_path_mkdir -p"
2536 # As a last resort, use the slow shell script. Don't cache a
2537 # value for MKDIR_P within a source directory, because that will
2538 # break other packages using the cache if that directory is
2539 # removed, or if the value is a relative name.
2540 test -d ./--version && rmdir ./--version
2541 MKDIR_P="$ac_install_sh -d"
2544 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2545 $as_echo "$MKDIR_P" >&6; }
2549 [\\/$]* | ?:[\\/]*) ;;
2550 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2553 for ac_prog in gawk mawk nawk awk
2555 # Extract the first word of "$ac_prog", so it can be a program name with args.
2556 set dummy $ac_prog; ac_word=$2
2557 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_AWK+set}" = set; then
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$AWK"; then
2563 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_AWK="$ac_prog"
2573 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$AWK"; then
2584 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2585 $as_echo "$AWK" >&6; }
2587 { $as_echo "$as_me:$LINENO: result: no" >&5
2588 $as_echo "no" >&6; }
2592 test -n "$AWK" && break
2595 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2598 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2599 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2600 $as_echo_n "(cached) " >&6
2602 cat >conftest.make <<\_ACEOF
2605 @echo '@@@%%%=$(MAKE)=@@@%%%'
2607 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2610 eval ac_cv_prog_make_${ac_make}_set=yes;;
2612 eval ac_cv_prog_make_${ac_make}_set=no;;
2616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2617 { $as_echo "$as_me:$LINENO: result: yes" >&5
2618 $as_echo "yes" >&6; }
2621 { $as_echo "$as_me:$LINENO: result: no" >&5
2622 $as_echo "no" >&6; }
2623 SET_MAKE="MAKE=${MAKE-make}"
2626 rm -rf .tst 2>/dev/null
2627 mkdir .tst 2>/dev/null
2628 if test -d .tst; then
2633 rmdir .tst 2>/dev/null
2635 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2636 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2637 # is not polluted with repeated "-I."
2638 am__isrc=' -I$(srcdir)'
2639 # test to see if srcdir already configured
2640 if test -f $srcdir/config.status; then
2641 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2642 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2643 { (exit 1); exit 1; }; }
2647 # test whether we have cygpath
2648 if test -z "$CYGPATH_W"; then
2649 if (cygpath --version) >/dev/null 2>/dev/null; then
2650 CYGPATH_W='cygpath -w'
2657 # Define the identity of the package.
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE "$PACKAGE"
2667 cat >>confdefs.h <<_ACEOF
2668 #define VERSION "$VERSION"
2671 # Some tools Automake needs.
2673 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2676 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2679 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2682 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2685 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2687 # We need awk for the "check" target. The system "awk" is bad on
2689 # Always define AMTAR for backward compatibility.
2691 AMTAR=${AMTAR-"${am_missing_run}tar"}
2693 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2699 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2700 $as_echo_n "checking whether ln -s works... " >&6; }
2702 if test "$LN_S" = "ln -s"; then
2703 { $as_echo "$as_me:$LINENO: result: yes" >&5
2704 $as_echo "yes" >&6; }
2706 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2707 $as_echo "no, using $LN_S" >&6; }
2712 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2713 if test -n "$ac_tool_prefix"; then
2714 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2715 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2719 $as_echo_n "(cached) " >&6
2723 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2745 if test -n "$PKG_CONFIG"; then
2746 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2747 $as_echo "$PKG_CONFIG" >&6; }
2749 { $as_echo "$as_me:$LINENO: result: no" >&5
2750 $as_echo "no" >&6; }
2755 if test -z "$ac_cv_path_PKG_CONFIG"; then
2756 ac_pt_PKG_CONFIG=$PKG_CONFIG
2757 # Extract the first word of "pkg-config", so it can be a program name with args.
2758 set dummy pkg-config; ac_word=$2
2759 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2762 $as_echo_n "(cached) " >&6
2764 case $ac_pt_PKG_CONFIG in
2766 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2777 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2788 if test -n "$ac_pt_PKG_CONFIG"; then
2789 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2790 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2792 { $as_echo "$as_me:$LINENO: result: no" >&5
2793 $as_echo "no" >&6; }
2796 if test "x$ac_pt_PKG_CONFIG" = x; then
2799 case $cross_compiling:$ac_tool_warned in
2801 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803 ac_tool_warned=yes ;;
2805 PKG_CONFIG=$ac_pt_PKG_CONFIG
2808 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2812 if test -n "$PKG_CONFIG"; then
2813 _pkg_min_version=0.9.0
2814 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2815 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2816 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2817 { $as_echo "$as_me:$LINENO: result: yes" >&5
2818 $as_echo "yes" >&6; }
2820 { $as_echo "$as_me:$LINENO: result: no" >&5
2821 $as_echo "no" >&6; }
2827 gdu_cv_version_required=0.3.2
2829 { $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
2830 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
2831 if test -n "$PKG_CONFIG" && \
2832 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
2833 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; then
2842 if test "$gdu_cv_have_gdu" = "yes"; then
2843 { $as_echo "$as_me:$LINENO: result: yes" >&5
2844 $as_echo "yes" >&6; }
2847 { $as_echo "$as_me:$LINENO: result: no" >&5
2848 $as_echo "no" >&6; }
2849 { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
2850 $as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
2851 { (exit 1); exit 1; }; }
2856 # Check whether --with-help-dir was given.
2857 if test "${with_help_dir+set}" = set; then
2858 withval=$with_help_dir;
2860 with_help_dir='${datadir}/gnome/help'
2863 HELP_DIR="$with_help_dir"
2867 # Check whether --with-omf-dir was given.
2868 if test "${with_omf_dir+set}" = set; then
2869 withval=$with_omf_dir;
2871 with_omf_dir='${datadir}/omf'
2874 OMF_DIR="$with_omf_dir"
2878 # Check whether --with-help-formats was given.
2879 if test "${with_help_formats+set}" = set; then
2880 withval=$with_help_formats;
2882 with_help_formats=''
2885 DOC_USER_FORMATS="$with_help_formats"
2888 # Check whether --enable-scrollkeeper was given.
2889 if test "${enable_scrollkeeper+set}" = set; then
2890 enableval=$enable_scrollkeeper;
2892 enable_scrollkeeper=yes
2895 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
2904 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
2907 if test "$gdu_cv_have_gdu" = "yes"; then
2908 HAVE_GNOME_DOC_UTILS_TRUE=
2909 HAVE_GNOME_DOC_UTILS_FALSE='#'
2911 HAVE_GNOME_DOC_UTILS_TRUE='#'
2912 HAVE_GNOME_DOC_UTILS_FALSE=
2919 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2920 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2921 # Check whether --enable-maintainer-mode was given.
2922 if test "${enable_maintainer_mode+set}" = set; then
2923 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2925 USE_MAINTAINER_MODE=no
2928 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2929 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2930 if test $USE_MAINTAINER_MODE = yes; then
2931 MAINTAINER_MODE_TRUE=
2932 MAINTAINER_MODE_FALSE='#'
2934 MAINTAINER_MODE_TRUE='#'
2935 MAINTAINER_MODE_FALSE=
2938 MAINT=$MAINTAINER_MODE_TRUE
2941 ac_config_headers="$ac_config_headers config.h"
2945 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2946 $as_echo_n "checking whether NLS is requested... " >&6; }
2947 # Check whether --enable-nls was given.
2948 if test "${enable_nls+set}" = set; then
2949 enableval=$enable_nls; USE_NLS=$enableval
2954 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
2955 $as_echo "$USE_NLS" >&6; }
2958 DEPDIR="${am__leading_dot}deps"
2960 ac_config_commands="$ac_config_commands depfiles"
2963 am_make=${MAKE-make}
2964 cat > confinc << 'END'
2966 @echo this is the am__doit target
2969 # If we don't find an include directive, just comment out the code.
2970 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2975 # First try GNU make style include.
2976 echo "include confinc" > confmf
2977 # Ignore all kinds of additional output from `make'.
2978 case `$am_make -s -f confmf 2> /dev/null` in #(
2979 *the\ am__doit\ target*)
2985 # Now try BSD make style include.
2986 if test "$am__include" = "#"; then
2987 echo '.include "confinc"' > confmf
2988 case `$am_make -s -f confmf 2> /dev/null` in #(
2989 *the\ am__doit\ target*)
2990 am__include=.include
2998 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2999 $as_echo "$_am_result" >&6; }
3000 rm -f confinc confmf
3002 # Check whether --enable-dependency-tracking was given.
3003 if test "${enable_dependency_tracking+set}" = set; then
3004 enableval=$enable_dependency_tracking;
3007 if test "x$enable_dependency_tracking" != xno; then
3008 am_depcomp="$ac_aux_dir/depcomp"
3011 if test "x$enable_dependency_tracking" != xno; then
3021 ac_cpp='$CPP $CPPFLAGS'
3022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3027 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3028 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if test "${ac_cv_prog_CC+set}" = set; then
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC="$CC" # Let the user override the test.
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3044 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test -n "$CC"; then
3055 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3056 $as_echo "$CC" >&6; }
3058 { $as_echo "$as_me:$LINENO: result: no" >&5
3059 $as_echo "no" >&6; }
3064 if test -z "$ac_cv_prog_CC"; then
3066 # Extract the first word of "gcc", so it can be a program name with args.
3067 set dummy gcc; ac_word=$2
3068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3071 $as_echo_n "(cached) " >&6
3073 if test -n "$ac_ct_CC"; then
3074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir=.
3081 for ac_exec_ext in '' $ac_executable_extensions; do
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083 ac_cv_prog_ac_ct_CC="gcc"
3084 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3094 if test -n "$ac_ct_CC"; then
3095 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3096 $as_echo "$ac_ct_CC" >&6; }
3098 { $as_echo "$as_me:$LINENO: result: no" >&5
3099 $as_echo "no" >&6; }
3102 if test "x$ac_ct_CC" = x; then
3105 case $cross_compiling:$ac_tool_warned in
3107 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3109 ac_tool_warned=yes ;;
3117 if test -z "$CC"; then
3118 if test -n "$ac_tool_prefix"; then
3119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3120 set dummy ${ac_tool_prefix}cc; ac_word=$2
3121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if test "${ac_cv_prog_CC+set}" = set; then
3124 $as_echo_n "(cached) " >&6
3126 if test -n "$CC"; then
3127 ac_cv_prog_CC="$CC" # Let the user override the test.
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir=.
3134 for ac_exec_ext in '' $ac_executable_extensions; do
3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136 ac_cv_prog_CC="${ac_tool_prefix}cc"
3137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 if test -n "$CC"; then
3148 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3149 $as_echo "$CC" >&6; }
3151 { $as_echo "$as_me:$LINENO: result: no" >&5
3152 $as_echo "no" >&6; }
3158 if test -z "$CC"; then
3159 # Extract the first word of "cc", so it can be a program name with args.
3160 set dummy cc; ac_word=$2
3161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_CC+set}" = set; then
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$CC"; then
3167 ac_cv_prog_CC="$CC" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3178 ac_prog_rejected=yes
3182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 if test $ac_prog_rejected = yes; then
3190 # We found a bogon in the path, so make sure we never use it.
3191 set dummy $ac_cv_prog_CC
3193 if test $# != 0; then
3194 # We chose a different compiler from the bogus one.
3195 # However, it has the same basename, so the bogon will be chosen
3196 # first if we set CC to just the basename; use the full file name.
3198 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3204 if test -n "$CC"; then
3205 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3206 $as_echo "$CC" >&6; }
3208 { $as_echo "$as_me:$LINENO: result: no" >&5
3209 $as_echo "no" >&6; }
3214 if test -z "$CC"; then
3215 if test -n "$ac_tool_prefix"; then
3216 for ac_prog in cl.exe
3218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3220 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if test "${ac_cv_prog_CC+set}" = set; then
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$CC"; then
3226 ac_cv_prog_CC="$CC" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3236 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 if test -n "$CC"; then
3247 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3248 $as_echo "$CC" >&6; }
3250 { $as_echo "$as_me:$LINENO: result: no" >&5
3251 $as_echo "no" >&6; }
3255 test -n "$CC" && break
3258 if test -z "$CC"; then
3260 for ac_prog in cl.exe
3262 # Extract the first word of "$ac_prog", so it can be a program name with args.
3263 set dummy $ac_prog; ac_word=$2
3264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$ac_ct_CC"; then
3270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279 ac_cv_prog_ac_ct_CC="$ac_prog"
3280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290 if test -n "$ac_ct_CC"; then
3291 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3292 $as_echo "$ac_ct_CC" >&6; }
3294 { $as_echo "$as_me:$LINENO: result: no" >&5
3295 $as_echo "no" >&6; }
3299 test -n "$ac_ct_CC" && break
3302 if test "x$ac_ct_CC" = x; then
3305 case $cross_compiling:$ac_tool_warned in
3307 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309 ac_tool_warned=yes ;;
3318 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3320 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3321 See \`config.log' for more details." >&5
3322 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details." >&2;}
3324 { (exit 1); exit 1; }; }; }
3326 # Provide some information about the compiler.
3327 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3330 { (ac_try="$ac_compiler --version >&5"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3336 $as_echo "$ac_try_echo") >&5
3337 (eval "$ac_compiler --version >&5") 2>&5
3339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }
3341 { (ac_try="$ac_compiler -v >&5"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347 $as_echo "$ac_try_echo") >&5
3348 (eval "$ac_compiler -v >&5") 2>&5
3350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }
3352 { (ac_try="$ac_compiler -V >&5"
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3358 $as_echo "$ac_try_echo") >&5
3359 (eval "$ac_compiler -V >&5") 2>&5
3361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3379 ac_clean_files_save=$ac_clean_files
3380 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3381 # Try to create an executable without -o first, disregard a.out.
3382 # It will help us diagnose broken compilers, and finding out an intuition
3384 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3385 $as_echo_n "checking for C compiler default output file name... " >&6; }
3386 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3388 # The possible output files:
3389 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3392 for ac_file in $ac_files
3395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3396 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3401 if { (ac_try="$ac_link_default"
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3407 $as_echo "$ac_try_echo") >&5
3408 (eval "$ac_link_default") 2>&5
3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; then
3412 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3413 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3414 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3415 # so that the user can short-circuit this test for compilers unknown to
3417 for ac_file in $ac_files ''
3419 test -f "$ac_file" || continue
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3424 # We found the default executable, but exeext='' is most
3428 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3430 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3432 # We set ac_cv_exeext here because the later test for it is not
3433 # safe: cross compilers may not add the suffix if given an `-o'
3434 # argument, so we may need to know it at that point already.
3435 # Even if this section looks crufty: it has the advantage of
3442 test "$ac_cv_exeext" = no && ac_cv_exeext=
3448 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3449 $as_echo "$ac_file" >&6; }
3450 if test -z "$ac_file"; then
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3457 See \`config.log' for more details." >&5
3458 $as_echo "$as_me: error: C compiler cannot create executables
3459 See \`config.log' for more details." >&2;}
3460 { (exit 77); exit 77; }; }; }
3463 ac_exeext=$ac_cv_exeext
3465 # Check that the compiler produces executables we can run. If not, either
3466 # the compiler is broken, or we cross compile.
3467 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3468 $as_echo_n "checking whether the C compiler works... " >&6; }
3469 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3470 # If not cross compiling, check that we can run a simple program.
3471 if test "$cross_compiling" != yes; then
3472 if { ac_try='./$ac_file'
3473 { (case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3478 $as_echo "$ac_try_echo") >&5
3479 (eval "$ac_try") 2>&5
3481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3485 if test "$cross_compiling" = maybe; then
3488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3491 If you meant to cross compile, use \`--host'.
3492 See \`config.log' for more details." >&5
3493 $as_echo "$as_me: error: cannot run C compiled programs.
3494 If you meant to cross compile, use \`--host'.
3495 See \`config.log' for more details." >&2;}
3496 { (exit 1); exit 1; }; }; }
3500 { $as_echo "$as_me:$LINENO: result: yes" >&5
3501 $as_echo "yes" >&6; }
3503 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3504 ac_clean_files=$ac_clean_files_save
3505 # Check that the compiler produces executables we can run. If not, either
3506 # the compiler is broken, or we cross compile.
3507 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3508 $as_echo_n "checking whether we are cross compiling... " >&6; }
3509 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3510 $as_echo "$cross_compiling" >&6; }
3512 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3513 $as_echo_n "checking for suffix of executables... " >&6; }
3514 if { (ac_try="$ac_link"
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3520 $as_echo "$ac_try_echo") >&5
3521 (eval "$ac_link") 2>&5
3523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; then
3525 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3526 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3527 # work properly (i.e., refer to `conftest.exe'), while it won't with
3529 for ac_file in conftest.exe conftest conftest.*; do
3530 test -f "$ac_file" || continue
3532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3533 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3539 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3542 See \`config.log' for more details." >&5
3543 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3544 See \`config.log' for more details." >&2;}
3545 { (exit 1); exit 1; }; }; }
3548 rm -f conftest$ac_cv_exeext
3549 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3550 $as_echo "$ac_cv_exeext" >&6; }
3552 rm -f conftest.$ac_ext
3553 EXEEXT=$ac_cv_exeext
3555 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3556 $as_echo_n "checking for suffix of object files... " >&6; }
3557 if test "${ac_cv_objext+set}" = set; then
3558 $as_echo_n "(cached) " >&6
3560 cat >conftest.$ac_ext <<_ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3575 rm -f conftest.o conftest.obj
3576 if { (ac_try="$ac_compile"
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3582 $as_echo "$ac_try_echo") >&5
3583 (eval "$ac_compile") 2>&5
3585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; then
3587 for ac_file in conftest.o conftest.obj conftest.*; do
3588 test -f "$ac_file" || continue;
3590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3596 $as_echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3599 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3602 See \`config.log' for more details." >&5
3603 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3604 See \`config.log' for more details." >&2;}
3605 { (exit 1); exit 1; }; }; }
3608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3610 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3611 $as_echo "$ac_cv_objext" >&6; }
3612 OBJEXT=$ac_cv_objext
3614 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3615 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3617 $as_echo_n "(cached) " >&6
3619 cat >conftest.$ac_ext <<_ACEOF
3622 cat confdefs.h >>conftest.$ac_ext
3623 cat >>conftest.$ac_ext <<_ACEOF
3624 /* end confdefs.h. */
3637 rm -f conftest.$ac_objext
3638 if { (ac_try="$ac_compile"
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3644 $as_echo "$ac_try_echo") >&5
3645 (eval "$ac_compile") 2>conftest.er1
3647 grep -v '^ *+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } && {
3652 test -z "$ac_c_werror_flag" ||
3653 test ! -s conftest.err
3654 } && test -s conftest.$ac_objext; then
3657 $as_echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3667 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3668 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3669 if test $ac_compiler_gnu = yes; then
3674 ac_test_CFLAGS=${CFLAGS+set}
3675 ac_save_CFLAGS=$CFLAGS
3676 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3677 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3678 if test "${ac_cv_prog_cc_g+set}" = set; then
3679 $as_echo_n "(cached) " >&6
3681 ac_save_c_werror_flag=$ac_c_werror_flag
3682 ac_c_werror_flag=yes
3685 cat >conftest.$ac_ext <<_ACEOF
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3700 rm -f conftest.$ac_objext
3701 if { (ac_try="$ac_compile"
3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704 *) ac_try_echo=$ac_try;;
3706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3707 $as_echo "$ac_try_echo") >&5
3708 (eval "$ac_compile") 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } && {
3715 test -z "$ac_c_werror_flag" ||
3716 test ! -s conftest.err
3717 } && test -s conftest.$ac_objext; then
3720 $as_echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3739 rm -f conftest.$ac_objext
3740 if { (ac_try="$ac_compile"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3746 $as_echo "$ac_try_echo") >&5
3747 (eval "$ac_compile") 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } && {
3754 test -z "$ac_c_werror_flag" ||
3755 test ! -s conftest.err
3756 } && test -s conftest.$ac_objext; then
3759 $as_echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3762 ac_c_werror_flag=$ac_save_c_werror_flag
3764 cat >conftest.$ac_ext <<_ACEOF
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3779 rm -f conftest.$ac_objext
3780 if { (ac_try="$ac_compile"
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3786 $as_echo "$ac_try_echo") >&5
3787 (eval "$ac_compile") 2>conftest.er1
3789 grep -v '^ *+' conftest.er1 >conftest.err
3791 cat conftest.err >&5
3792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } && {
3794 test -z "$ac_c_werror_flag" ||
3795 test ! -s conftest.err
3796 } && test -s conftest.$ac_objext; then
3799 $as_echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 ac_c_werror_flag=$ac_save_c_werror_flag
3814 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3815 $as_echo "$ac_cv_prog_cc_g" >&6; }
3816 if test "$ac_test_CFLAGS" = set; then
3817 CFLAGS=$ac_save_CFLAGS
3818 elif test $ac_cv_prog_cc_g = yes; then
3819 if test "$GCC" = yes; then
3825 if test "$GCC" = yes; then
3831 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3833 if test "${ac_cv_prog_cc_c89+set}" = set; then
3834 $as_echo_n "(cached) " >&6
3836 ac_cv_prog_cc_c89=no
3838 cat >conftest.$ac_ext <<_ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3846 #include <sys/types.h>
3847 #include <sys/stat.h>
3848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3849 struct buf { int x; };
3850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3851 static char *e (p, i)
3857 static char *f (char * (*g) (char **, int), char **p, ...)
3862 s = g (p, va_arg (v,int));
3867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3868 function prototypes and stuff, but not '\xHH' hex character constants.
3869 These don't provoke an error unfortunately, instead are silently treated
3870 as 'x'. The following induces an error, until -std is added to get
3871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3872 array size at least. It's necessary to write '\x00'==0 to get something
3873 that's true only with -std. */
3874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3877 inside strings and character constants. */
3879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3881 int test (int i, double x);
3882 struct s1 {int (*f) (int a);};
3883 struct s2 {int (*f) (double a);};
3884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3898 CC="$ac_save_CC $ac_arg"
3899 rm -f conftest.$ac_objext
3900 if { (ac_try="$ac_compile"
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3906 $as_echo "$ac_try_echo") >&5
3907 (eval "$ac_compile") 2>conftest.er1
3909 grep -v '^ *+' conftest.er1 >conftest.err
3911 cat conftest.err >&5
3912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } && {
3914 test -z "$ac_c_werror_flag" ||
3915 test ! -s conftest.err
3916 } && test -s conftest.$ac_objext; then
3917 ac_cv_prog_cc_c89=$ac_arg
3919 $as_echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3925 rm -f core conftest.err conftest.$ac_objext
3926 test "x$ac_cv_prog_cc_c89" != "xno" && break
3928 rm -f conftest.$ac_ext
3933 case "x$ac_cv_prog_cc_c89" in
3935 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3936 $as_echo "none needed" >&6; } ;;
3938 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3939 $as_echo "unsupported" >&6; } ;;
3941 CC="$CC $ac_cv_prog_cc_c89"
3942 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3943 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3948 ac_cpp='$CPP $CPPFLAGS'
3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 depcc="$CC" am_compiler_list=
3955 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3956 $as_echo_n "checking dependency style of $depcc... " >&6; }
3957 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3958 $as_echo_n "(cached) " >&6
3960 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3961 # We make a subdir and do the tests there. Otherwise we can end up
3962 # making bogus files that we don't know about and never remove. For
3963 # instance it was reported that on HP-UX the gcc test will end up
3964 # making a dummy file named `D' -- because `-MD' means `put the output
3967 # Copy depcomp to subdir because otherwise we won't find it if we're
3968 # using a relative directory.
3969 cp "$am_depcomp" conftest.dir
3971 # We will build objects and dependencies in a subdirectory because
3972 # it helps to detect inapplicable dependency modes. For instance
3973 # both Tru64's cc and ICC support -MD to output dependencies as a
3974 # side effect of compilation, but ICC will put the dependencies in
3975 # the current directory while Tru64 will put them in the object
3979 am_cv_CC_dependencies_compiler_type=none
3980 if test "$am_compiler_list" = ""; then
3981 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3984 case " $depcc " in #(
3985 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3988 for depmode in $am_compiler_list; do
3989 # Setup a source with many dependencies, because some compilers
3990 # like to wrap large dependency lists on column 80 (with \), and
3991 # we should not choose a depcomp mode which is confused by this.
3993 # We need to recreate these files for each test, as the compiler may
3994 # overwrite some of them when testing with obscure command lines.
3995 # This happens at least with the AIX C compiler.
3997 for i in 1 2 3 4 5 6; do
3998 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3999 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4000 # Solaris 8's {/usr,}/bin/sh.
4001 touch sub/conftst$i.h
4003 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4005 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4006 # mode. It turns out that the SunPro C++ compiler does not properly
4007 # handle `-M -o', and we need to detect this. Also, some Intel
4008 # versions had trouble with output in subdirs
4009 am__obj=sub/conftest.${OBJEXT-o}
4010 am__minus_obj="-o $am__obj"
4013 # This depmode causes a compiler race in universal mode.
4014 test "$am__universal" = false || continue
4017 # after this tag, mechanisms are not by side-effect, so they'll
4018 # only be used when explicitly requested
4019 if test "x$enable_dependency_tracking" = xyes; then
4025 msvisualcpp | msvcmsys)
4026 # This compiler won't grok `-c -o', but also, the minuso test has
4027 # not run yet. These depmodes are late enough in the game, and
4028 # so weak that their functioning should not be impacted.
4029 am__obj=conftest.${OBJEXT-o}
4034 if depmode=$depmode \
4035 source=sub/conftest.c object=$am__obj \
4036 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4037 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4038 >/dev/null 2>conftest.err &&
4039 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4040 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4041 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4042 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4043 # icc doesn't choke on unknown options, it will just issue warnings
4044 # or remarks (even with -Werror). So we grep stderr for any message
4045 # that says an option was ignored or not supported.
4046 # When given -MP, icc 7.0 and 7.1 complain thusly:
4047 # icc: Command line warning: ignoring option '-M'; no argument required
4048 # The diagnosis changed in icc 8.0:
4049 # icc: Command line remark: option '-MP' not supported
4050 if (grep 'ignoring option' conftest.err ||
4051 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4052 am_cv_CC_dependencies_compiler_type=$depmode
4061 am_cv_CC_dependencies_compiler_type=none
4065 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4066 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4067 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4070 test "x$enable_dependency_tracking" != xno \
4071 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4073 am__fastdepCC_FALSE='#'
4075 am__fastdepCC_TRUE='#'
4076 am__fastdepCC_FALSE=
4083 case "$am__api_version" in
4085 { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
4086 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
4087 { (exit 1); exit 1; }; }
4093 if test -n "0.21"; then
4094 { $as_echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5
4095 $as_echo_n "checking for intltool >= 0.21... " >&6; }
4097 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4098 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4099 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4101 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
4102 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4103 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4104 { { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.21 or later." >&5
4105 $as_echo "$as_me: error: Your intltool is too old. You need intltool 0.21 or later." >&2;}
4106 { (exit 1); exit 1; }; }
4109 # Extract the first word of "intltool-update", so it can be a program name with args.
4110 set dummy intltool-update; ac_word=$2
4111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
4114 $as_echo_n "(cached) " >&6
4116 case $INTLTOOL_UPDATE in
4118 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4140 if test -n "$INTLTOOL_UPDATE"; then
4141 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
4142 $as_echo "$INTLTOOL_UPDATE" >&6; }
4144 { $as_echo "$as_me:$LINENO: result: no" >&5
4145 $as_echo "no" >&6; }
4149 # Extract the first word of "intltool-merge", so it can be a program name with args.
4150 set dummy intltool-merge; ac_word=$2
4151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
4154 $as_echo_n "(cached) " >&6
4156 case $INTLTOOL_MERGE in
4158 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4169 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4180 if test -n "$INTLTOOL_MERGE"; then
4181 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
4182 $as_echo "$INTLTOOL_MERGE" >&6; }
4184 { $as_echo "$as_me:$LINENO: result: no" >&5
4185 $as_echo "no" >&6; }
4189 # Extract the first word of "intltool-extract", so it can be a program name with args.
4190 set dummy intltool-extract; ac_word=$2
4191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
4194 $as_echo_n "(cached) " >&6
4196 case $INTLTOOL_EXTRACT in
4198 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4209 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4220 if test -n "$INTLTOOL_EXTRACT"; then
4221 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
4222 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4224 { $as_echo "$as_me:$LINENO: result: no" >&5
4225 $as_echo "no" >&6; }
4229 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4230 { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
4231 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
4232 { (exit 1); exit 1; }; }
4235 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 $< $@'
4236 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 $< $@'
4237 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 $< $@'
4238 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 $< $@'
4239 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4240 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 $< $@'
4241 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 $< $@'
4242 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 $< $@'
4243 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 $< $@'
4244 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 $< $@'
4245 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 $< $@'
4246 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4247 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 $< $@'
4248 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 $< $@'
4249 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 $< $@'
4250 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 $< $@'
4251 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 $< $@'
4252 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 $< $@'
4253 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 $< $@'
4351 # Check the gettext tools to make sure they are GNU
4352 # Extract the first word of "xgettext", so it can be a program name with args.
4353 set dummy xgettext; ac_word=$2
4354 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4357 $as_echo_n "(cached) " >&6
4361 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4372 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 XGETTEXT=$ac_cv_path_XGETTEXT
4383 if test -n "$XGETTEXT"; then
4384 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4385 $as_echo "$XGETTEXT" >&6; }
4387 { $as_echo "$as_me:$LINENO: result: no" >&5
4388 $as_echo "no" >&6; }
4392 # Extract the first word of "msgmerge", so it can be a program name with args.
4393 set dummy msgmerge; ac_word=$2
4394 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4397 $as_echo_n "(cached) " >&6
4401 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 MSGMERGE=$ac_cv_path_MSGMERGE
4423 if test -n "$MSGMERGE"; then
4424 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4425 $as_echo "$MSGMERGE" >&6; }
4427 { $as_echo "$as_me:$LINENO: result: no" >&5
4428 $as_echo "no" >&6; }
4432 # Extract the first word of "msgfmt", so it can be a program name with args.
4433 set dummy msgfmt; ac_word=$2
4434 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_path_MSGFMT+set}" = set; then
4437 $as_echo_n "(cached) " >&6
4441 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 MSGFMT=$ac_cv_path_MSGFMT
4463 if test -n "$MSGFMT"; then
4464 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4465 $as_echo "$MSGFMT" >&6; }
4467 { $as_echo "$as_me:$LINENO: result: no" >&5
4468 $as_echo "no" >&6; }
4472 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4473 set dummy gmsgfmt; ac_word=$2
4474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4477 $as_echo_n "(cached) " >&6
4481 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4492 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4503 GMSGFMT=$ac_cv_path_GMSGFMT
4504 if test -n "$GMSGFMT"; then
4505 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4506 $as_echo "$GMSGFMT" >&6; }
4508 { $as_echo "$as_me:$LINENO: result: no" >&5
4509 $as_echo "no" >&6; }
4513 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4514 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4515 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4516 { (exit 1); exit 1; }; }
4518 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4519 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4520 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4521 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4522 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4523 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4524 { (exit 1); exit 1; }; }
4527 # Extract the first word of "perl", so it can be a program name with args.
4528 set dummy perl; ac_word=$2
4529 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
4532 $as_echo_n "(cached) " >&6
4534 case $INTLTOOL_PERL in
4536 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4546 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4558 if test -n "$INTLTOOL_PERL"; then
4559 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
4560 $as_echo "$INTLTOOL_PERL" >&6; }
4562 { $as_echo "$as_me:$LINENO: result: no" >&5
4563 $as_echo "no" >&6; }
4567 if test -z "$INTLTOOL_PERL"; then
4568 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4569 $as_echo "$as_me: error: perl not found" >&2;}
4570 { (exit 1); exit 1; }; }
4572 { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
4573 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4574 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4575 if test $? -ne 0; then
4576 { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4577 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4578 { (exit 1); exit 1; }; }
4580 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4581 { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
4582 $as_echo "$IT_PERL_VERSION" >&6; }
4584 if test "x" != "xno-xml"; then
4585 { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4586 $as_echo_n "checking for XML::Parser... " >&6; }
4587 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4588 { $as_echo "$as_me:$LINENO: result: ok" >&5
4589 $as_echo "ok" >&6; }
4591 { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4592 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4593 { (exit 1); exit 1; }; }
4597 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4600 # Set DATADIRNAME correctly if it is not set yet
4601 # (copied from glib-gettext.m4)
4602 if test -z "$DATADIRNAME"; then
4603 cat >conftest.$ac_ext <<_ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4613 extern int _nl_msg_cat_cntr;
4614 return _nl_msg_cat_cntr
4619 rm -f conftest.$ac_objext conftest$ac_exeext
4620 if { (ac_try="$ac_link"
4622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623 *) ac_try_echo=$ac_try;;
4625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4626 $as_echo "$ac_try_echo") >&5
4627 (eval "$ac_link") 2>conftest.er1
4629 grep -v '^ *+' conftest.er1 >conftest.err
4631 cat conftest.err >&5
4632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); } && {
4634 test -z "$ac_c_werror_flag" ||
4635 test ! -s conftest.err
4636 } && test -s conftest$ac_exeext && {
4637 test "$cross_compiling" = yes ||
4638 $as_test_x conftest$ac_exeext
4642 $as_echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.$ac_ext >&5
4647 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4648 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4649 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4650 $as_echo_n "(cached) " >&6
4652 cat >conftest.$ac_ext <<_ACEOF
4655 cat confdefs.h >>conftest.$ac_ext
4656 cat >>conftest.$ac_ext <<_ACEOF
4657 /* end confdefs.h. */
4658 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4660 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4662 /* System header to define __stub macros and hopefully few prototypes,
4663 which can conflict with char bind_textdomain_codeset (); below.
4664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665 <limits.h> exists even on freestanding compilers. */
4668 # include <limits.h>
4670 # include <assert.h>
4673 #undef bind_textdomain_codeset
4675 /* Override any GCC internal prototype to avoid an error.
4676 Use char because int might match the return type of a GCC
4677 builtin and then its argument prototype would still apply. */
4681 char bind_textdomain_codeset ();
4682 /* The GNU C library defines this for functions which it implements
4683 to always fail with ENOSYS. Some functions are actually named
4684 something starting with __ and the normal name is an alias. */
4685 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4692 return bind_textdomain_codeset ();
4697 rm -f conftest.$ac_objext conftest$ac_exeext
4698 if { (ac_try="$ac_link"
4700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4701 *) ac_try_echo=$ac_try;;
4703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4704 $as_echo "$ac_try_echo") >&5
4705 (eval "$ac_link") 2>conftest.er1
4707 grep -v '^ *+' conftest.er1 >conftest.err
4709 cat conftest.err >&5
4710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } && {
4712 test -z "$ac_c_werror_flag" ||
4713 test ! -s conftest.err
4714 } && test -s conftest$ac_exeext && {
4715 test "$cross_compiling" = yes ||
4716 $as_test_x conftest$ac_exeext
4718 ac_cv_func_bind_textdomain_codeset=yes
4720 $as_echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.$ac_ext >&5
4723 ac_cv_func_bind_textdomain_codeset=no
4726 rm -rf conftest.dSYM
4727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4728 conftest$ac_exeext conftest.$ac_ext
4730 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4731 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4732 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4745 rm -rf conftest.dSYM
4746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4747 conftest$ac_exeext conftest.$ac_ext
4756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4757 if test -n "$ac_tool_prefix"; then
4758 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4760 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4763 $as_echo_n "(cached) " >&6
4767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir=.
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4778 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4789 if test -n "$PKG_CONFIG"; then
4790 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4791 $as_echo "$PKG_CONFIG" >&6; }
4793 { $as_echo "$as_me:$LINENO: result: no" >&5
4794 $as_echo "no" >&6; }
4799 if test -z "$ac_cv_path_PKG_CONFIG"; then
4800 ac_pt_PKG_CONFIG=$PKG_CONFIG
4801 # Extract the first word of "pkg-config", so it can be a program name with args.
4802 set dummy pkg-config; ac_word=$2
4803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4806 $as_echo_n "(cached) " >&6
4808 case $ac_pt_PKG_CONFIG in
4810 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir=.
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4820 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4821 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4832 if test -n "$ac_pt_PKG_CONFIG"; then
4833 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4834 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4836 { $as_echo "$as_me:$LINENO: result: no" >&5
4837 $as_echo "no" >&6; }
4840 if test "x$ac_pt_PKG_CONFIG" = x; then
4843 case $cross_compiling:$ac_tool_warned in
4845 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847 ac_tool_warned=yes ;;
4849 PKG_CONFIG=$ac_pt_PKG_CONFIG
4852 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4856 if test -n "$PKG_CONFIG"; then
4857 _pkg_min_version=0.9.0
4858 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4859 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4860 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4861 { $as_echo "$as_me:$LINENO: result: yes" >&5
4862 $as_echo "yes" >&6; }
4864 { $as_echo "$as_me:$LINENO: result: no" >&5
4865 $as_echo "no" >&6; }
4873 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4874 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4879 macro_version='2.2.6b'
4880 macro_revision='1.3017'
4894 ltmain="$ac_aux_dir/ltmain.sh"
4896 # Make sure we can run config.sub.
4897 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4898 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4899 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4900 { (exit 1); exit 1; }; }
4902 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4903 $as_echo_n "checking build system type... " >&6; }
4904 if test "${ac_cv_build+set}" = set; then
4905 $as_echo_n "(cached) " >&6
4907 ac_build_alias=$build_alias
4908 test "x$ac_build_alias" = x &&
4909 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4910 test "x$ac_build_alias" = x &&
4911 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4912 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4913 { (exit 1); exit 1; }; }
4914 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4915 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4916 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4917 { (exit 1); exit 1; }; }
4920 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4921 $as_echo "$ac_cv_build" >&6; }
4922 case $ac_cv_build in
4924 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4925 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4926 { (exit 1); exit 1; }; };;
4929 ac_save_IFS=$IFS; IFS='-'
4935 # Remember, the first character of IFS is used to create $*,
4936 # except with old shells:
4939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4942 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4943 $as_echo_n "checking host system type... " >&6; }
4944 if test "${ac_cv_host+set}" = set; then
4945 $as_echo_n "(cached) " >&6
4947 if test "x$host_alias" = x; then
4948 ac_cv_host=$ac_cv_build
4950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4951 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4952 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4953 { (exit 1); exit 1; }; }
4957 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4958 $as_echo "$ac_cv_host" >&6; }
4961 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4962 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4963 { (exit 1); exit 1; }; };;
4966 ac_save_IFS=$IFS; IFS='-'
4972 # Remember, the first character of IFS is used to create $*,
4973 # except with old shells:
4976 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4979 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4980 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4981 if test "${ac_cv_path_SED+set}" = set; then
4982 $as_echo_n "(cached) " >&6
4984 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4985 for ac_i in 1 2 3 4 5 6 7; do
4986 ac_script="$ac_script$as_nl$ac_script"
4988 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4989 $as_unset ac_script || ac_script=
4990 if test -z "$SED"; then
4991 ac_path_SED_found=false
4992 # Loop through the user's path and test for each of PROGNAME-LIST
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_prog in sed gsed; do
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5001 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5002 # Check for GNU ac_path_SED and select it if it is found.
5003 # Check for GNU $ac_path_SED
5004 case `"$ac_path_SED" --version 2>&1` in
5006 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5009 $as_echo_n 0123456789 >"conftest.in"
5012 cat "conftest.in" "conftest.in" >"conftest.tmp"
5013 mv "conftest.tmp" "conftest.in"
5014 cp "conftest.in" "conftest.nl"
5015 $as_echo '' >> "conftest.nl"
5016 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5017 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5018 ac_count=`expr $ac_count + 1`
5019 if test $ac_count -gt ${ac_path_SED_max-0}; then
5020 # Best one so far, save it but keep looking for a better one
5021 ac_cv_path_SED="$ac_path_SED"
5022 ac_path_SED_max=$ac_count
5024 # 10*(2^10) chars as input seems more than enough
5025 test $ac_count -gt 10 && break
5027 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5030 $ac_path_SED_found && break 3
5035 if test -z "$ac_cv_path_SED"; then
5036 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5037 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5038 { (exit 1); exit 1; }; }
5045 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5046 $as_echo "$ac_cv_path_SED" >&6; }
5047 SED="$ac_cv_path_SED"
5050 test -z "$SED" && SED=sed
5051 Xsed="$SED -e 1s/^X//"
5063 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5064 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5065 if test "${ac_cv_path_GREP+set}" = set; then
5066 $as_echo_n "(cached) " >&6
5068 if test -z "$GREP"; then
5069 ac_path_GREP_found=false
5070 # Loop through the user's path and test for each of PROGNAME-LIST
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5075 test -z "$as_dir" && as_dir=.
5076 for ac_prog in grep ggrep; do
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5079 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5080 # Check for GNU ac_path_GREP and select it if it is found.
5081 # Check for GNU $ac_path_GREP
5082 case `"$ac_path_GREP" --version 2>&1` in
5084 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5087 $as_echo_n 0123456789 >"conftest.in"
5090 cat "conftest.in" "conftest.in" >"conftest.tmp"
5091 mv "conftest.tmp" "conftest.in"
5092 cp "conftest.in" "conftest.nl"
5093 $as_echo 'GREP' >> "conftest.nl"
5094 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5096 ac_count=`expr $ac_count + 1`
5097 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5098 # Best one so far, save it but keep looking for a better one
5099 ac_cv_path_GREP="$ac_path_GREP"
5100 ac_path_GREP_max=$ac_count
5102 # 10*(2^10) chars as input seems more than enough
5103 test $ac_count -gt 10 && break
5105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5108 $ac_path_GREP_found && break 3
5113 if test -z "$ac_cv_path_GREP"; then
5114 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5115 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5116 { (exit 1); exit 1; }; }
5119 ac_cv_path_GREP=$GREP
5123 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5124 $as_echo "$ac_cv_path_GREP" >&6; }
5125 GREP="$ac_cv_path_GREP"
5128 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5129 $as_echo_n "checking for egrep... " >&6; }
5130 if test "${ac_cv_path_EGREP+set}" = set; then
5131 $as_echo_n "(cached) " >&6
5133 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5134 then ac_cv_path_EGREP="$GREP -E"
5136 if test -z "$EGREP"; then
5137 ac_path_EGREP_found=false
5138 # Loop through the user's path and test for each of PROGNAME-LIST
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5143 test -z "$as_dir" && as_dir=.
5144 for ac_prog in egrep; do
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5147 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5148 # Check for GNU ac_path_EGREP and select it if it is found.
5149 # Check for GNU $ac_path_EGREP
5150 case `"$ac_path_EGREP" --version 2>&1` in
5152 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5155 $as_echo_n 0123456789 >"conftest.in"
5158 cat "conftest.in" "conftest.in" >"conftest.tmp"
5159 mv "conftest.tmp" "conftest.in"
5160 cp "conftest.in" "conftest.nl"
5161 $as_echo 'EGREP' >> "conftest.nl"
5162 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5163 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5164 ac_count=`expr $ac_count + 1`
5165 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5166 # Best one so far, save it but keep looking for a better one
5167 ac_cv_path_EGREP="$ac_path_EGREP"
5168 ac_path_EGREP_max=$ac_count
5170 # 10*(2^10) chars as input seems more than enough
5171 test $ac_count -gt 10 && break
5173 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5176 $ac_path_EGREP_found && break 3
5181 if test -z "$ac_cv_path_EGREP"; then
5182 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5183 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5184 { (exit 1); exit 1; }; }
5187 ac_cv_path_EGREP=$EGREP
5192 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5193 $as_echo "$ac_cv_path_EGREP" >&6; }
5194 EGREP="$ac_cv_path_EGREP"
5197 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5198 $as_echo_n "checking for fgrep... " >&6; }
5199 if test "${ac_cv_path_FGREP+set}" = set; then
5200 $as_echo_n "(cached) " >&6
5202 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5203 then ac_cv_path_FGREP="$GREP -F"
5205 if test -z "$FGREP"; then
5206 ac_path_FGREP_found=false
5207 # Loop through the user's path and test for each of PROGNAME-LIST
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5212 test -z "$as_dir" && as_dir=.
5213 for ac_prog in fgrep; do
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5216 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5217 # Check for GNU ac_path_FGREP and select it if it is found.
5218 # Check for GNU $ac_path_FGREP
5219 case `"$ac_path_FGREP" --version 2>&1` in
5221 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5224 $as_echo_n 0123456789 >"conftest.in"
5227 cat "conftest.in" "conftest.in" >"conftest.tmp"
5228 mv "conftest.tmp" "conftest.in"
5229 cp "conftest.in" "conftest.nl"
5230 $as_echo 'FGREP' >> "conftest.nl"
5231 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5232 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5233 ac_count=`expr $ac_count + 1`
5234 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5235 # Best one so far, save it but keep looking for a better one
5236 ac_cv_path_FGREP="$ac_path_FGREP"
5237 ac_path_FGREP_max=$ac_count
5239 # 10*(2^10) chars as input seems more than enough
5240 test $ac_count -gt 10 && break
5242 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5245 $ac_path_FGREP_found && break 3
5250 if test -z "$ac_cv_path_FGREP"; then
5251 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5252 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5253 { (exit 1); exit 1; }; }
5256 ac_cv_path_FGREP=$FGREP
5261 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5262 $as_echo "$ac_cv_path_FGREP" >&6; }
5263 FGREP="$ac_cv_path_FGREP"
5266 test -z "$GREP" && GREP=grep
5286 # Check whether --with-gnu-ld was given.
5287 if test "${with_gnu_ld+set}" = set; then
5288 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5294 if test "$GCC" = yes; then
5295 # Check if gcc -print-prog-name=ld gives a path.
5296 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5297 $as_echo_n "checking for ld used by $CC... " >&6; }
5300 # gcc leaves a trailing carriage return which upsets mingw
5301 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5303 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5306 # Accept absolute paths.
5308 re_direlt='/[^/][^/]*/\.\./'
5309 # Canonicalize the pathname of ld
5310 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5311 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5312 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5314 test -z "$LD" && LD="$ac_prog"
5317 # If it fails, then pretend we aren't using GCC.
5321 # If it is relative, then search for the first ld in PATH.
5325 elif test "$with_gnu_ld" = yes; then
5326 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5327 $as_echo_n "checking for GNU ld... " >&6; }
5329 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5330 $as_echo_n "checking for non-GNU ld... " >&6; }
5332 if test "${lt_cv_path_LD+set}" = set; then
5333 $as_echo_n "(cached) " >&6
5335 if test -z "$LD"; then
5336 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5337 for ac_dir in $PATH; do
5339 test -z "$ac_dir" && ac_dir=.
5340 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5341 lt_cv_path_LD="$ac_dir/$ac_prog"
5342 # Check to see if the program is GNU ld. I'd rather use --version,
5343 # but apparently some variants of GNU ld only accept -v.
5344 # Break only if it was the GNU/non-GNU ld that we prefer.
5345 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5346 *GNU* | *'with BFD'*)
5347 test "$with_gnu_ld" != no && break
5350 test "$with_gnu_ld" != yes && break
5357 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5362 if test -n "$LD"; then
5363 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5364 $as_echo "$LD" >&6; }
5366 { $as_echo "$as_me:$LINENO: result: no" >&5
5367 $as_echo "no" >&6; }
5369 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5370 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5371 { (exit 1); exit 1; }; }
5372 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5373 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5374 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5375 $as_echo_n "(cached) " >&6
5377 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5378 case `$LD -v 2>&1 </dev/null` in
5379 *GNU* | *'with BFD'*)
5380 lt_cv_prog_gnu_ld=yes
5383 lt_cv_prog_gnu_ld=no
5387 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5388 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5389 with_gnu_ld=$lt_cv_prog_gnu_ld
5399 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5400 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5401 if test "${lt_cv_path_NM+set}" = set; then
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$NM"; then
5405 # Let the user override the test.
5408 lt_nm_to_check="${ac_tool_prefix}nm"
5409 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5410 lt_nm_to_check="$lt_nm_to_check nm"
5412 for lt_tmp_nm in $lt_nm_to_check; do
5413 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5414 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5416 test -z "$ac_dir" && ac_dir=.
5417 tmp_nm="$ac_dir/$lt_tmp_nm"
5418 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5419 # Check to see if the nm accepts a BSD-compat flag.
5420 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5421 # nm: unknown option "B" ignored
5422 # Tru64's nm complains that /dev/null is an invalid object file
5423 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5424 */dev/null* | *'Invalid file or object type'*)
5425 lt_cv_path_NM="$tmp_nm -B"
5429 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5431 lt_cv_path_NM="$tmp_nm -p"
5435 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5436 continue # so that we can try to find one that supports BSD flags
5445 : ${lt_cv_path_NM=no}
5448 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5449 $as_echo "$lt_cv_path_NM" >&6; }
5450 if test "$lt_cv_path_NM" != "no"; then
5453 # Didn't find any BSD compatible name lister, look for dumpbin.
5454 if test -n "$ac_tool_prefix"; then
5455 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5462 $as_echo_n "(cached) " >&6
5464 if test -n "$DUMPBIN"; then
5465 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5474 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5475 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 DUMPBIN=$ac_cv_prog_DUMPBIN
5485 if test -n "$DUMPBIN"; then
5486 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5487 $as_echo "$DUMPBIN" >&6; }
5489 { $as_echo "$as_me:$LINENO: result: no" >&5
5490 $as_echo "no" >&6; }
5494 test -n "$DUMPBIN" && break
5497 if test -z "$DUMPBIN"; then
5498 ac_ct_DUMPBIN=$DUMPBIN
5499 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5501 # Extract the first word of "$ac_prog", so it can be a program name with args.
5502 set dummy $ac_prog; ac_word=$2
5503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5506 $as_echo_n "(cached) " >&6
5508 if test -n "$ac_ct_DUMPBIN"; then
5509 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5518 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5529 if test -n "$ac_ct_DUMPBIN"; then
5530 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5531 $as_echo "$ac_ct_DUMPBIN" >&6; }
5533 { $as_echo "$as_me:$LINENO: result: no" >&5
5534 $as_echo "no" >&6; }
5538 test -n "$ac_ct_DUMPBIN" && break
5541 if test "x$ac_ct_DUMPBIN" = x; then
5544 case $cross_compiling:$ac_tool_warned in
5546 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5548 ac_tool_warned=yes ;;
5550 DUMPBIN=$ac_ct_DUMPBIN
5555 if test "$DUMPBIN" != ":"; then
5559 test -z "$NM" && NM=nm
5566 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5567 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5568 if test "${lt_cv_nm_interface+set}" = set; then
5569 $as_echo_n "(cached) " >&6
5571 lt_cv_nm_interface="BSD nm"
5572 echo "int some_variable = 0;" > conftest.$ac_ext
5573 (eval echo "\"\$as_me:5573: $ac_compile\"" >&5)
5574 (eval "$ac_compile" 2>conftest.err)
5575 cat conftest.err >&5
5576 (eval echo "\"\$as_me:5576: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5577 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5578 cat conftest.err >&5
5579 (eval echo "\"\$as_me:5579: output\"" >&5)
5580 cat conftest.out >&5
5581 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5582 lt_cv_nm_interface="MS dumpbin"
5586 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5587 $as_echo "$lt_cv_nm_interface" >&6; }
5589 # find the maximum length of command line arguments
5590 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5591 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5592 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5593 $as_echo_n "(cached) " >&6
5600 # On DJGPP, this test can blow up pretty badly due to problems in libc
5601 # (any single argument exceeding 2000 bytes causes a buffer overrun
5602 # during glob expansion). Even if it were fixed, the result of this
5603 # check would be larger than it should be.
5604 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5608 # Under GNU Hurd, this test is not required because there is
5609 # no limit to the length of command line arguments.
5610 # Libtool will interpret -1 as no limit whatsoever
5611 lt_cv_sys_max_cmd_len=-1;
5614 cygwin* | mingw* | cegcc*)
5615 # On Win9x/ME, this test blows up -- it succeeds, but takes
5616 # about 5 minutes as the teststring grows exponentially.
5617 # Worse, since 9x/ME are not pre-emptively multitasking,
5618 # you end up with a "frozen" computer, even though with patience
5619 # the test eventually succeeds (with a max line length of 256k).
5620 # Instead, let's just punt: use the minimum linelength reported by
5621 # all of the supported platforms: 8192 (on NT/2K/XP).
5622 lt_cv_sys_max_cmd_len=8192;
5626 # On AmigaOS with pdksh, this test takes hours, literally.
5627 # So we just punt and use a minimum line length of 8192.
5628 lt_cv_sys_max_cmd_len=8192;
5631 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5632 # This has been around since 386BSD, at least. Likely further.
5633 if test -x /sbin/sysctl; then
5634 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5635 elif test -x /usr/sbin/sysctl; then
5636 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5638 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5640 # And add a safety zone
5641 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5646 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5647 lt_cv_sys_max_cmd_len=196608
5651 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5652 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5653 # nice to cause kernel panics so lets avoid the loop below.
5654 # First set a reasonable default.
5655 lt_cv_sys_max_cmd_len=16384
5657 if test -x /sbin/sysconfig; then
5658 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5659 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5664 lt_cv_sys_max_cmd_len=102400
5666 sysv5* | sco5v6* | sysv4.2uw2*)
5667 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5668 if test -n "$kargmax"; then
5669 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5671 lt_cv_sys_max_cmd_len=32768
5675 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5676 if test -n "$lt_cv_sys_max_cmd_len"; then
5677 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5680 # Make teststring a little bigger before we do anything with it.
5681 # a 1K string should be a reasonable start.
5682 for i in 1 2 3 4 5 6 7 8 ; do
5683 teststring=$teststring$teststring
5685 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5686 # If test is not a shell built-in, we'll probably end up computing a
5687 # maximum length that is only half of the actual maximum length, but
5689 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5690 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5691 test $i != 17 # 1/2 MB should be enough
5694 teststring=$teststring$teststring
5696 # Only check the string length outside the loop.
5697 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5699 # Add a significant safety factor because C++ compilers can tack on
5700 # massive amounts of additional arguments before passing them to the
5701 # linker. It appears as though 1/2 is a usable value.
5702 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5709 if test -n $lt_cv_sys_max_cmd_len ; then
5710 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5711 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5713 { $as_echo "$as_me:$LINENO: result: none" >&5
5714 $as_echo "none" >&6; }
5716 max_cmd_len=$lt_cv_sys_max_cmd_len
5727 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5728 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5729 # Try some XSI features
5732 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5734 && eval 'test $(( 1 + 1 )) -eq 2 \
5735 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5737 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5738 $as_echo "$xsi_shell" >&6; }
5741 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5742 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5744 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5746 && lt_shell_append=yes
5747 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5748 $as_echo "$lt_shell_append" >&6; }
5751 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5761 # test EBCDIC or ASCII
5762 case `echo X|tr X '\101'` in
5763 A) # ASCII based system
5764 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5765 lt_SP2NL='tr \040 \012'
5766 lt_NL2SP='tr \015\012 \040\040'
5768 *) # EBCDIC based system
5769 lt_SP2NL='tr \100 \n'
5770 lt_NL2SP='tr \r\n \100\100'
5782 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5783 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5784 if test "${lt_cv_ld_reload_flag+set}" = set; then
5785 $as_echo_n "(cached) " >&6
5787 lt_cv_ld_reload_flag='-r'
5789 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5790 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5791 reload_flag=$lt_cv_ld_reload_flag
5792 case $reload_flag in
5794 *) reload_flag=" $reload_flag" ;;
5796 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5799 if test "$GCC" = yes; then
5800 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5802 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5815 if test -n "$ac_tool_prefix"; then
5816 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5817 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5818 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5821 $as_echo_n "(cached) " >&6
5823 if test -n "$OBJDUMP"; then
5824 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5834 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 OBJDUMP=$ac_cv_prog_OBJDUMP
5844 if test -n "$OBJDUMP"; then
5845 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5846 $as_echo "$OBJDUMP" >&6; }
5848 { $as_echo "$as_me:$LINENO: result: no" >&5
5849 $as_echo "no" >&6; }
5854 if test -z "$ac_cv_prog_OBJDUMP"; then
5855 ac_ct_OBJDUMP=$OBJDUMP
5856 # Extract the first word of "objdump", so it can be a program name with args.
5857 set dummy objdump; ac_word=$2
5858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5861 $as_echo_n "(cached) " >&6
5863 if test -n "$ac_ct_OBJDUMP"; then
5864 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5874 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5884 if test -n "$ac_ct_OBJDUMP"; then
5885 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5886 $as_echo "$ac_ct_OBJDUMP" >&6; }
5888 { $as_echo "$as_me:$LINENO: result: no" >&5
5889 $as_echo "no" >&6; }
5892 if test "x$ac_ct_OBJDUMP" = x; then
5895 case $cross_compiling:$ac_tool_warned in
5897 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 ac_tool_warned=yes ;;
5901 OBJDUMP=$ac_ct_OBJDUMP
5904 OBJDUMP="$ac_cv_prog_OBJDUMP"
5907 test -z "$OBJDUMP" && OBJDUMP=objdump
5917 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5918 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5919 if test "${lt_cv_deplibs_check_method+set}" = set; then
5920 $as_echo_n "(cached) " >&6
5922 lt_cv_file_magic_cmd='$MAGIC_CMD'
5923 lt_cv_file_magic_test_file=
5924 lt_cv_deplibs_check_method='unknown'
5925 # Need to set the preceding variable on all platforms that support
5926 # interlibrary dependencies.
5927 # 'none' -- dependencies not supported.
5928 # `unknown' -- same as none, but documents that we really don't know.
5929 # 'pass_all' -- all dependencies passed with no checks.
5930 # 'test_compile' -- check by making test program.
5931 # 'file_magic [[regex]]' -- check by looking for files in library path
5932 # which responds to the $file_magic_cmd with a given extended regex.
5933 # If you have `file' or equivalent on your system and you're not sure
5934 # whether `pass_all' will *always* work, you probably want this one.
5938 lt_cv_deplibs_check_method=pass_all
5942 lt_cv_deplibs_check_method=pass_all
5946 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5947 lt_cv_file_magic_cmd='/usr/bin/file -L'
5948 lt_cv_file_magic_test_file=/shlib/libc.so
5952 # func_win32_libid is a shell function defined in ltmain.sh
5953 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5954 lt_cv_file_magic_cmd='func_win32_libid'
5958 # Base MSYS/MinGW do not provide the 'file' command needed by
5959 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5960 # unless we find 'file', for example because we are cross-compiling.
5961 if ( file / ) >/dev/null 2>&1; then
5962 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5963 lt_cv_file_magic_cmd='func_win32_libid'
5965 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5966 lt_cv_file_magic_cmd='$OBJDUMP -f'
5971 # use the weaker test based on 'objdump'. See mingw*.
5972 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5973 lt_cv_file_magic_cmd='$OBJDUMP -f'
5976 darwin* | rhapsody*)
5977 lt_cv_deplibs_check_method=pass_all
5980 freebsd* | dragonfly*)
5981 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5984 # Not sure whether the presence of OpenBSD here was a mistake.
5985 # Let's accept both of them until this is cleared up.
5986 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5987 lt_cv_file_magic_cmd=/usr/bin/file
5988 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5992 lt_cv_deplibs_check_method=pass_all
5997 lt_cv_deplibs_check_method=pass_all
6000 hpux10.20* | hpux11*)
6001 lt_cv_file_magic_cmd=/usr/bin/file
6004 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6005 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6008 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]'
6009 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6012 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6013 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6019 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6020 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6023 irix5* | irix6* | nonstopux*)
6025 *-32|*"-32 ") libmagic=32-bit;;
6026 *-n32|*"-n32 ") libmagic=N32;;
6027 *-64|*"-64 ") libmagic=64-bit;;
6028 *) libmagic=never-match;;
6030 lt_cv_deplibs_check_method=pass_all
6033 # This must be Linux ELF.
6034 linux* | k*bsd*-gnu)
6035 lt_cv_deplibs_check_method=pass_all
6039 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6040 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6047 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6048 lt_cv_file_magic_cmd=/usr/bin/file
6049 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6053 lt_cv_deplibs_check_method=pass_all
6057 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6060 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6064 osf3* | osf4* | osf5*)
6065 lt_cv_deplibs_check_method=pass_all
6069 lt_cv_deplibs_check_method=pass_all
6073 lt_cv_deplibs_check_method=pass_all
6076 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6077 lt_cv_deplibs_check_method=pass_all
6081 case $host_vendor in
6083 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]'
6084 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6087 lt_cv_deplibs_check_method=pass_all
6090 lt_cv_file_magic_cmd='/bin/file'
6091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6094 lt_cv_file_magic_cmd='/bin/file'
6095 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6096 lt_cv_file_magic_test_file=/lib/libc.so
6099 lt_cv_deplibs_check_method=pass_all
6102 lt_cv_deplibs_check_method=pass_all
6108 lt_cv_deplibs_check_method=pass_all
6113 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6114 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6115 file_magic_cmd=$lt_cv_file_magic_cmd
6116 deplibs_check_method=$lt_cv_deplibs_check_method
6117 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}ar; ac_word=$2
6133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if test "${ac_cv_prog_AR+set}" = set; then
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$AR"; then
6139 ac_cv_prog_AR="$AR" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_prog_AR="${ac_tool_prefix}ar"
6149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 if test -n "$AR"; then
6160 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6161 $as_echo "$AR" >&6; }
6163 { $as_echo "$as_me:$LINENO: result: no" >&5
6164 $as_echo "no" >&6; }
6169 if test -z "$ac_cv_prog_AR"; then
6171 # Extract the first word of "ar", so it can be a program name with args.
6172 set dummy ar; ac_word=$2
6173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$ac_ct_AR"; then
6179 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188 ac_cv_prog_ac_ct_AR="ar"
6189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6199 if test -n "$ac_ct_AR"; then
6200 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6201 $as_echo "$ac_ct_AR" >&6; }
6203 { $as_echo "$as_me:$LINENO: result: no" >&5
6204 $as_echo "no" >&6; }
6207 if test "x$ac_ct_AR" = x; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6222 test -z "$AR" && AR=ar
6223 test -z "$AR_FLAGS" && AR_FLAGS=cru
6235 if test -n "$ac_tool_prefix"; then
6236 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}strip; ac_word=$2
6238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if test "${ac_cv_prog_STRIP+set}" = set; then
6241 $as_echo_n "(cached) " >&6
6243 if test -n "$STRIP"; then
6244 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 STRIP=$ac_cv_prog_STRIP
6264 if test -n "$STRIP"; then
6265 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6266 $as_echo "$STRIP" >&6; }
6268 { $as_echo "$as_me:$LINENO: result: no" >&5
6269 $as_echo "no" >&6; }
6274 if test -z "$ac_cv_prog_STRIP"; then
6276 # Extract the first word of "strip", so it can be a program name with args.
6277 set dummy strip; ac_word=$2
6278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6281 $as_echo_n "(cached) " >&6
6283 if test -n "$ac_ct_STRIP"; then
6284 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir=.
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 ac_cv_prog_ac_ct_STRIP="strip"
6294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6304 if test -n "$ac_ct_STRIP"; then
6305 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6306 $as_echo "$ac_ct_STRIP" >&6; }
6308 { $as_echo "$as_me:$LINENO: result: no" >&5
6309 $as_echo "no" >&6; }
6312 if test "x$ac_ct_STRIP" = x; then
6315 case $cross_compiling:$ac_tool_warned in
6317 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6319 ac_tool_warned=yes ;;
6324 STRIP="$ac_cv_prog_STRIP"
6327 test -z "$STRIP" && STRIP=:
6334 if test -n "$ac_tool_prefix"; then
6335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6337 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if test "${ac_cv_prog_RANLIB+set}" = set; then
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$RANLIB"; then
6343 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6353 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 RANLIB=$ac_cv_prog_RANLIB
6363 if test -n "$RANLIB"; then
6364 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6365 $as_echo "$RANLIB" >&6; }
6367 { $as_echo "$as_me:$LINENO: result: no" >&5
6368 $as_echo "no" >&6; }
6373 if test -z "$ac_cv_prog_RANLIB"; then
6374 ac_ct_RANLIB=$RANLIB
6375 # Extract the first word of "ranlib", so it can be a program name with args.
6376 set dummy ranlib; ac_word=$2
6377 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6380 $as_echo_n "(cached) " >&6
6382 if test -n "$ac_ct_RANLIB"; then
6383 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_ac_ct_RANLIB="ranlib"
6393 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6403 if test -n "$ac_ct_RANLIB"; then
6404 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6405 $as_echo "$ac_ct_RANLIB" >&6; }
6407 { $as_echo "$as_me:$LINENO: result: no" >&5
6408 $as_echo "no" >&6; }
6411 if test "x$ac_ct_RANLIB" = x; then
6414 case $cross_compiling:$ac_tool_warned in
6416 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6418 ac_tool_warned=yes ;;
6420 RANLIB=$ac_ct_RANLIB
6423 RANLIB="$ac_cv_prog_RANLIB"
6426 test -z "$RANLIB" && RANLIB=:
6433 # Determine commands to create old-style static archives.
6434 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6435 old_postinstall_cmds='chmod 644 $oldlib'
6436 old_postuninstall_cmds=
6438 if test -n "$RANLIB"; then
6441 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6444 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6447 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6483 # If no C compiler was specified, use CC.
6486 # If no C compiler flags were specified, use CFLAGS.
6487 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6489 # Allow CC to be a program name with arguments.
6493 # Check for command to grab the raw symbol name followed by C symbol from nm.
6494 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6495 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6496 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6497 $as_echo_n "(cached) " >&6
6500 # These are sane defaults that work on at least a few old systems.
6501 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6503 # Character class describing NM global symbol codes.
6504 symcode='[BCDEGRST]'
6506 # Regexp to match symbols that can be accessed directly from C.
6507 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6509 # Define system-specific variables.
6514 cygwin* | mingw* | pw32* | cegcc*)
6515 symcode='[ABCDGISTW]'
6518 if test "$host_cpu" = ia64; then
6519 symcode='[ABCDEGRST]'
6523 symcode='[BCDEGRST]'
6526 symcode='[BCDEGQRST]'
6537 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6545 # If we're using GNU nm, then use its standard symbol codes.
6546 case `$NM -V 2>&1` in
6547 *GNU* | *'with BFD'*)
6548 symcode='[ABCDGIRSTW]' ;;
6551 # Transform an extracted symbol line into a proper C declaration.
6552 # Some systems (esp. on ia64) link data and code symbols differently,
6553 # so use this general approach.
6554 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6556 # Transform an extracted symbol line into symbol name and symbol address
6557 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6558 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'"
6560 # Handle CRLF in mingw tool chain
6564 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6568 # Try without a prefix underscore, then with it.
6569 for ac_symprfx in "" "_"; do
6571 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6572 symxfrm="\\1 $ac_symprfx\\2 \\2"
6574 # Write the raw and C identifiers.
6575 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6576 # Fake it for dumpbin and say T for any non-static function
6577 # and D for any global variable.
6578 # Also find C++ and __fastcall symbols from MSVC++,
6579 # which start with @ or ?.
6580 lt_cv_sys_global_symbol_pipe="$AWK '"\
6581 " {last_section=section; section=\$ 3};"\
6582 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6583 " \$ 0!~/External *\|/{next};"\
6584 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6585 " {if(hide[section]) next};"\
6586 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6587 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6588 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6589 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6590 " ' prfx=^$ac_symprfx"
6592 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6595 # Check to see that the pipe works correctly.
6599 cat > conftest.$ac_ext <<_LT_EOF
6604 void nm_test_func(void);
6605 void nm_test_func(void){}
6609 int main(){nm_test_var='a';nm_test_func();return(0);}
6612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613 (eval $ac_compile) 2>&5
6615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; then
6617 # Now try to grab the symbols.
6619 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6620 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && test -s "$nlist"; then
6624 # Try sorting and uniquifying the output.
6625 if sort "$nlist" | uniq > "$nlist"T; then
6626 mv -f "$nlist"T "$nlist"
6631 # Make sure that we snagged all the symbols we need.
6632 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6633 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6634 cat <<_LT_EOF > conftest.$ac_ext
6640 # Now generate the symbol file.
6641 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6643 cat <<_LT_EOF >> conftest.$ac_ext
6645 /* The mapping between symbol names and symbols. */
6650 lt__PROGRAM__LTX_preloaded_symbols[] =
6652 { "@PROGRAM@", (void *) 0 },
6654 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6655 cat <<\_LT_EOF >> conftest.$ac_ext
6659 /* This works around a problem in FreeBSD linker */
6660 #ifdef FREEBSD_WORKAROUND
6661 static const void *lt_preloaded_setup() {
6662 return lt__PROGRAM__LTX_preloaded_symbols;
6670 # Now try linking the two files.
6671 mv conftest.$ac_objext conftstm.$ac_objext
6672 lt_save_LIBS="$LIBS"
6673 lt_save_CFLAGS="$CFLAGS"
6674 LIBS="conftstm.$ac_objext"
6675 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>&5
6679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6683 LIBS="$lt_save_LIBS"
6684 CFLAGS="$lt_save_CFLAGS"
6686 echo "cannot find nm_test_func in $nlist" >&5
6689 echo "cannot find nm_test_var in $nlist" >&5
6692 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6695 echo "$progname: failed program was:" >&5
6696 cat conftest.$ac_ext >&5
6698 rm -rf conftest* conftst*
6700 # Do not use the global_symbol_pipe unless it works.
6701 if test "$pipe_works" = yes; then
6704 lt_cv_sys_global_symbol_pipe=
6710 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6711 lt_cv_sys_global_symbol_to_cdecl=
6713 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6714 { $as_echo "$as_me:$LINENO: result: failed" >&5
6715 $as_echo "failed" >&6; }
6717 { $as_echo "$as_me:$LINENO: result: ok" >&5
6718 $as_echo "ok" >&6; }
6742 # Check whether --enable-libtool-lock was given.
6743 if test "${enable_libtool_lock+set}" = set; then
6744 enableval=$enable_libtool_lock;
6747 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6749 # Some flags need to be propagated to the compiler or linker for good
6753 # Find out which ABI we are using.
6754 echo 'int i;' > conftest.$ac_ext
6755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6756 (eval $ac_compile) 2>&5
6758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; then
6760 case `/usr/bin/file conftest.$ac_objext` in
6772 # Find out which ABI we are using.
6773 echo '#line 6773 "configure"' > conftest.$ac_ext
6774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6775 (eval $ac_compile) 2>&5
6777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; then
6779 if test "$lt_cv_prog_gnu_ld" = yes; then
6780 case `/usr/bin/file conftest.$ac_objext` in
6782 LD="${LD-ld} -melf32bsmip"
6785 LD="${LD-ld} -melf32bmipn32"
6788 LD="${LD-ld} -melf64bmip"
6792 case `/usr/bin/file conftest.$ac_objext` in
6808 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6809 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6810 # Find out which ABI we are using.
6811 echo 'int i;' > conftest.$ac_ext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6813 (eval $ac_compile) 2>&5
6815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; then
6817 case `/usr/bin/file conftest.o` in
6820 x86_64-*kfreebsd*-gnu)
6821 LD="${LD-ld} -m elf_i386_fbsd"
6824 LD="${LD-ld} -m elf_i386"
6826 ppc64-*linux*|powerpc64-*linux*)
6827 LD="${LD-ld} -m elf32ppclinux"
6830 LD="${LD-ld} -m elf_s390"
6833 LD="${LD-ld} -m elf32_sparc"
6839 x86_64-*kfreebsd*-gnu)
6840 LD="${LD-ld} -m elf_x86_64_fbsd"
6843 LD="${LD-ld} -m elf_x86_64"
6845 ppc*-*linux*|powerpc*-*linux*)
6846 LD="${LD-ld} -m elf64ppc"
6848 s390*-*linux*|s390*-*tpf*)
6849 LD="${LD-ld} -m elf64_s390"
6852 LD="${LD-ld} -m elf64_sparc"
6862 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6863 SAVE_CFLAGS="$CFLAGS"
6864 CFLAGS="$CFLAGS -belf"
6865 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6866 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6867 if test "${lt_cv_cc_needs_belf+set}" = set; then
6868 $as_echo_n "(cached) " >&6
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6876 cat >conftest.$ac_ext <<_ACEOF
6879 cat confdefs.h >>conftest.$ac_ext
6880 cat >>conftest.$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6891 rm -f conftest.$ac_objext conftest$ac_exeext
6892 if { (ac_try="$ac_link"
6894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6895 *) ac_try_echo=$ac_try;;
6897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6898 $as_echo "$ac_try_echo") >&5
6899 (eval "$ac_link") 2>conftest.er1
6901 grep -v '^ *+' conftest.er1 >conftest.err
6903 cat conftest.err >&5
6904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } && {
6906 test -z "$ac_c_werror_flag" ||
6907 test ! -s conftest.err
6908 } && test -s conftest$ac_exeext && {
6909 test "$cross_compiling" = yes ||
6910 $as_test_x conftest$ac_exeext
6912 lt_cv_cc_needs_belf=yes
6914 $as_echo "$as_me: failed program was:" >&5
6915 sed 's/^/| /' conftest.$ac_ext >&5
6917 lt_cv_cc_needs_belf=no
6920 rm -rf conftest.dSYM
6921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6922 conftest$ac_exeext conftest.$ac_ext
6924 ac_cpp='$CPP $CPPFLAGS'
6925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6930 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6931 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6932 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6933 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6934 CFLAGS="$SAVE_CFLAGS"
6938 # Find out which ABI we are using.
6939 echo 'int i;' > conftest.$ac_ext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941 (eval $ac_compile) 2>&5
6943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; then
6945 case `/usr/bin/file conftest.o` in
6947 case $lt_cv_prog_gnu_ld in
6948 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6950 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6962 need_locks="$enable_libtool_lock"
6966 rhapsody* | darwin*)
6967 if test -n "$ac_tool_prefix"; then
6968 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6973 $as_echo_n "(cached) " >&6
6975 if test -n "$DSYMUTIL"; then
6976 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6986 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6996 if test -n "$DSYMUTIL"; then
6997 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6998 $as_echo "$DSYMUTIL" >&6; }
7000 { $as_echo "$as_me:$LINENO: result: no" >&5
7001 $as_echo "no" >&6; }
7006 if test -z "$ac_cv_prog_DSYMUTIL"; then
7007 ac_ct_DSYMUTIL=$DSYMUTIL
7008 # Extract the first word of "dsymutil", so it can be a program name with args.
7009 set dummy dsymutil; ac_word=$2
7010 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7013 $as_echo_n "(cached) " >&6
7015 if test -n "$ac_ct_DSYMUTIL"; then
7016 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 test -z "$as_dir" && as_dir=.
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7025 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7026 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7036 if test -n "$ac_ct_DSYMUTIL"; then
7037 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7038 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7040 { $as_echo "$as_me:$LINENO: result: no" >&5
7041 $as_echo "no" >&6; }
7044 if test "x$ac_ct_DSYMUTIL" = x; then
7047 case $cross_compiling:$ac_tool_warned in
7049 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7051 ac_tool_warned=yes ;;
7053 DSYMUTIL=$ac_ct_DSYMUTIL
7056 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7059 if test -n "$ac_tool_prefix"; then
7060 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7062 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7065 $as_echo_n "(cached) " >&6
7067 if test -n "$NMEDIT"; then
7068 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7077 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7078 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 NMEDIT=$ac_cv_prog_NMEDIT
7088 if test -n "$NMEDIT"; then
7089 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7090 $as_echo "$NMEDIT" >&6; }
7092 { $as_echo "$as_me:$LINENO: result: no" >&5
7093 $as_echo "no" >&6; }
7098 if test -z "$ac_cv_prog_NMEDIT"; then
7099 ac_ct_NMEDIT=$NMEDIT
7100 # Extract the first word of "nmedit", so it can be a program name with args.
7101 set dummy nmedit; ac_word=$2
7102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7105 $as_echo_n "(cached) " >&6
7107 if test -n "$ac_ct_NMEDIT"; then
7108 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7117 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7127 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7128 if test -n "$ac_ct_NMEDIT"; then
7129 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7130 $as_echo "$ac_ct_NMEDIT" >&6; }
7132 { $as_echo "$as_me:$LINENO: result: no" >&5
7133 $as_echo "no" >&6; }
7136 if test "x$ac_ct_NMEDIT" = x; then
7139 case $cross_compiling:$ac_tool_warned in
7141 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143 ac_tool_warned=yes ;;
7145 NMEDIT=$ac_ct_NMEDIT
7148 NMEDIT="$ac_cv_prog_NMEDIT"
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if test "${ac_cv_prog_LIPO+set}" = set; then
7157 $as_echo_n "(cached) " >&6
7159 if test -n "$LIPO"; then
7160 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7179 LIPO=$ac_cv_prog_LIPO
7180 if test -n "$LIPO"; then
7181 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7182 $as_echo "$LIPO" >&6; }
7184 { $as_echo "$as_me:$LINENO: result: no" >&5
7185 $as_echo "no" >&6; }
7190 if test -z "$ac_cv_prog_LIPO"; then
7192 # Extract the first word of "lipo", so it can be a program name with args.
7193 set dummy lipo; 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_ac_ct_LIPO+set}" = set; then
7197 $as_echo_n "(cached) " >&6
7199 if test -n "$ac_ct_LIPO"; then
7200 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_ac_ct_LIPO="lipo"
7210 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7219 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7220 if test -n "$ac_ct_LIPO"; then
7221 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7222 $as_echo "$ac_ct_LIPO" >&6; }
7224 { $as_echo "$as_me:$LINENO: result: no" >&5
7225 $as_echo "no" >&6; }
7228 if test "x$ac_ct_LIPO" = x; then
7231 case $cross_compiling:$ac_tool_warned in
7233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7240 LIPO="$ac_cv_prog_LIPO"
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}otool; ac_word=$2
7246 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if test "${ac_cv_prog_OTOOL+set}" = set; then
7249 $as_echo_n "(cached) " >&6
7251 if test -n "$OTOOL"; then
7252 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7261 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7262 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7271 OTOOL=$ac_cv_prog_OTOOL
7272 if test -n "$OTOOL"; then
7273 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7274 $as_echo "$OTOOL" >&6; }
7276 { $as_echo "$as_me:$LINENO: result: no" >&5
7277 $as_echo "no" >&6; }
7282 if test -z "$ac_cv_prog_OTOOL"; then
7284 # Extract the first word of "otool", so it can be a program name with args.
7285 set dummy otool; ac_word=$2
7286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7289 $as_echo_n "(cached) " >&6
7291 if test -n "$ac_ct_OTOOL"; then
7292 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301 ac_cv_prog_ac_ct_OTOOL="otool"
7302 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7311 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7312 if test -n "$ac_ct_OTOOL"; then
7313 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7314 $as_echo "$ac_ct_OTOOL" >&6; }
7316 { $as_echo "$as_me:$LINENO: result: no" >&5
7317 $as_echo "no" >&6; }
7320 if test "x$ac_ct_OTOOL" = x; then
7323 case $cross_compiling:$ac_tool_warned in
7325 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7332 OTOOL="$ac_cv_prog_OTOOL"
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7341 $as_echo_n "(cached) " >&6
7343 if test -n "$OTOOL64"; then
7344 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7354 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 OTOOL64=$ac_cv_prog_OTOOL64
7364 if test -n "$OTOOL64"; then
7365 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7366 $as_echo "$OTOOL64" >&6; }
7368 { $as_echo "$as_me:$LINENO: result: no" >&5
7369 $as_echo "no" >&6; }
7374 if test -z "$ac_cv_prog_OTOOL64"; then
7375 ac_ct_OTOOL64=$OTOOL64
7376 # Extract the first word of "otool64", so it can be a program name with args.
7377 set dummy otool64; ac_word=$2
7378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7381 $as_echo_n "(cached) " >&6
7383 if test -n "$ac_ct_OTOOL64"; then
7384 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_OTOOL64="otool64"
7394 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7403 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7404 if test -n "$ac_ct_OTOOL64"; then
7405 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7406 $as_echo "$ac_ct_OTOOL64" >&6; }
7408 { $as_echo "$as_me:$LINENO: result: no" >&5
7409 $as_echo "no" >&6; }
7412 if test "x$ac_ct_OTOOL64" = x; then
7415 case $cross_compiling:$ac_tool_warned in
7417 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7421 OTOOL64=$ac_ct_OTOOL64
7424 OTOOL64="$ac_cv_prog_OTOOL64"
7453 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7454 $as_echo_n "checking for -single_module linker flag... " >&6; }
7455 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7456 $as_echo_n "(cached) " >&6
7458 lt_cv_apple_cc_single_mod=no
7459 if test -z "${LT_MULTI_MODULE}"; then
7460 # By default we will add the -single_module flag. You can override
7461 # by either setting the environment variable LT_MULTI_MODULE
7462 # non-empty at configure time, or by adding -multi_module to the
7464 rm -rf libconftest.dylib*
7465 echo "int foo(void){return 1;}" > conftest.c
7466 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c" >&5
7468 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7469 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7471 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7472 lt_cv_apple_cc_single_mod=yes
7474 cat conftest.err >&5
7476 rm -rf libconftest.dylib*
7480 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7481 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7482 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7483 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7484 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7485 $as_echo_n "(cached) " >&6
7487 lt_cv_ld_exported_symbols_list=no
7488 save_LDFLAGS=$LDFLAGS
7489 echo "_main" > conftest.sym
7490 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7491 cat >conftest.$ac_ext <<_ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7506 rm -f conftest.$ac_objext conftest$ac_exeext
7507 if { (ac_try="$ac_link"
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7513 $as_echo "$ac_try_echo") >&5
7514 (eval "$ac_link") 2>conftest.er1
7516 grep -v '^ *+' conftest.er1 >conftest.err
7518 cat conftest.err >&5
7519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } && {
7521 test -z "$ac_c_werror_flag" ||
7522 test ! -s conftest.err
7523 } && test -s conftest$ac_exeext && {
7524 test "$cross_compiling" = yes ||
7525 $as_test_x conftest$ac_exeext
7527 lt_cv_ld_exported_symbols_list=yes
7529 $as_echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.$ac_ext >&5
7532 lt_cv_ld_exported_symbols_list=no
7535 rm -rf conftest.dSYM
7536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7537 conftest$ac_exeext conftest.$ac_ext
7538 LDFLAGS="$save_LDFLAGS"
7541 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7542 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7544 rhapsody* | darwin1.[012])
7545 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7547 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7548 darwin*) # darwin 5.x on
7549 # if running on 10.5 or later, the deployment target defaults
7550 # to the OS version, if on x86, and 10.4, the deployment
7551 # target defaults to 10.4. Don't you love it?
7552 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7553 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7554 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7556 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7558 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7562 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7563 _lt_dar_single_mod='$single_module'
7565 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7566 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7568 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7570 if test "$DSYMUTIL" != ":"; then
7571 _lt_dsymutil='~$DSYMUTIL $lib || :'
7579 ac_cpp='$CPP $CPPFLAGS'
7580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7583 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7584 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7585 # On Suns, sometimes $CPP names a directory.
7586 if test -n "$CPP" && test -d "$CPP"; then
7589 if test -z "$CPP"; then
7590 if test "${ac_cv_prog_CPP+set}" = set; then
7591 $as_echo_n "(cached) " >&6
7593 # Double quotes because CPP needs to be expanded
7594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7597 for ac_c_preproc_warn_flag in '' yes
7599 # Use a header file that comes with gcc, so configuring glibc
7600 # with a fresh cross-compiler works.
7601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7602 # <limits.h> exists even on freestanding compilers.
7603 # On the NeXT, cc -E runs the code through the compiler's parser,
7604 # not just through cpp. "Syntax error" is here to catch this case.
7605 cat >conftest.$ac_ext <<_ACEOF
7608 cat confdefs.h >>conftest.$ac_ext
7609 cat >>conftest.$ac_ext <<_ACEOF
7610 /* end confdefs.h. */
7612 # include <limits.h>
7614 # include <assert.h>
7618 if { (ac_try="$ac_cpp conftest.$ac_ext"
7620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7621 *) ac_try_echo=$ac_try;;
7623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7624 $as_echo "$ac_try_echo") >&5
7625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7627 grep -v '^ *+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } >/dev/null && {
7632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7637 $as_echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 # Broken: fails on valid input.
7644 rm -f conftest.err conftest.$ac_ext
7646 # OK, works on sane cases. Now check whether nonexistent headers
7647 # can be detected and how.
7648 cat >conftest.$ac_ext <<_ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h. */
7654 #include <ac_nonexistent.h>
7656 if { (ac_try="$ac_cpp conftest.$ac_ext"
7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7659 *) ac_try_echo=$ac_try;;
7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7662 $as_echo "$ac_try_echo") >&5
7663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7665 grep -v '^ *+' conftest.er1 >conftest.err
7667 cat conftest.err >&5
7668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } >/dev/null && {
7670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7673 # Broken: success on invalid input.
7676 $as_echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7679 # Passes both tests.
7684 rm -f conftest.err conftest.$ac_ext
7687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7688 rm -f conftest.err conftest.$ac_ext
7689 if $ac_preproc_ok; then
7701 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7702 $as_echo "$CPP" >&6; }
7704 for ac_c_preproc_warn_flag in '' yes
7706 # Use a header file that comes with gcc, so configuring glibc
7707 # with a fresh cross-compiler works.
7708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7709 # <limits.h> exists even on freestanding compilers.
7710 # On the NeXT, cc -E runs the code through the compiler's parser,
7711 # not just through cpp. "Syntax error" is here to catch this case.
7712 cat >conftest.$ac_ext <<_ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7719 # include <limits.h>
7721 # include <assert.h>
7725 if { (ac_try="$ac_cpp conftest.$ac_ext"
7727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7731 $as_echo "$ac_try_echo") >&5
7732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7734 grep -v '^ *+' conftest.er1 >conftest.err
7736 cat conftest.err >&5
7737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); } >/dev/null && {
7739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7740 test ! -s conftest.err
7744 $as_echo "$as_me: failed program was:" >&5
7745 sed 's/^/| /' conftest.$ac_ext >&5
7747 # Broken: fails on valid input.
7751 rm -f conftest.err conftest.$ac_ext
7753 # OK, works on sane cases. Now check whether nonexistent headers
7754 # can be detected and how.
7755 cat >conftest.$ac_ext <<_ACEOF
7758 cat confdefs.h >>conftest.$ac_ext
7759 cat >>conftest.$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7761 #include <ac_nonexistent.h>
7763 if { (ac_try="$ac_cpp conftest.$ac_ext"
7765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7766 *) ac_try_echo=$ac_try;;
7768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7769 $as_echo "$ac_try_echo") >&5
7770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7772 grep -v '^ *+' conftest.er1 >conftest.err
7774 cat conftest.err >&5
7775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); } >/dev/null && {
7777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7778 test ! -s conftest.err
7780 # Broken: success on invalid input.
7783 $as_echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7786 # Passes both tests.
7791 rm -f conftest.err conftest.$ac_ext
7794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7795 rm -f conftest.err conftest.$ac_ext
7796 if $ac_preproc_ok; then
7799 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7801 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7802 See \`config.log' for more details." >&5
7803 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7804 See \`config.log' for more details." >&2;}
7805 { (exit 1); exit 1; }; }; }
7809 ac_cpp='$CPP $CPPFLAGS'
7810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7815 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7816 $as_echo_n "checking for ANSI C header files... " >&6; }
7817 if test "${ac_cv_header_stdc+set}" = set; then
7818 $as_echo_n "(cached) " >&6
7820 cat >conftest.$ac_ext <<_ACEOF
7823 cat confdefs.h >>conftest.$ac_ext
7824 cat >>conftest.$ac_ext <<_ACEOF
7825 /* end confdefs.h. */
7839 rm -f conftest.$ac_objext
7840 if { (ac_try="$ac_compile"
7842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7843 *) ac_try_echo=$ac_try;;
7845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7846 $as_echo "$ac_try_echo") >&5
7847 (eval "$ac_compile") 2>conftest.er1
7849 grep -v '^ *+' conftest.er1 >conftest.err
7851 cat conftest.err >&5
7852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); } && {
7854 test -z "$ac_c_werror_flag" ||
7855 test ! -s conftest.err
7856 } && test -s conftest.$ac_objext; then
7857 ac_cv_header_stdc=yes
7859 $as_echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.$ac_ext >&5
7862 ac_cv_header_stdc=no
7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7867 if test $ac_cv_header_stdc = yes; then
7868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7869 cat >conftest.$ac_ext <<_ACEOF
7872 cat confdefs.h >>conftest.$ac_ext
7873 cat >>conftest.$ac_ext <<_ACEOF
7874 /* end confdefs.h. */
7878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7879 $EGREP "memchr" >/dev/null 2>&1; then
7882 ac_cv_header_stdc=no
7888 if test $ac_cv_header_stdc = yes; then
7889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7890 cat >conftest.$ac_ext <<_ACEOF
7893 cat confdefs.h >>conftest.$ac_ext
7894 cat >>conftest.$ac_ext <<_ACEOF
7895 /* end confdefs.h. */
7899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7900 $EGREP "free" >/dev/null 2>&1; then
7903 ac_cv_header_stdc=no
7909 if test $ac_cv_header_stdc = yes; then
7910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7911 if test "$cross_compiling" = yes; then
7914 cat >conftest.$ac_ext <<_ACEOF
7917 cat confdefs.h >>conftest.$ac_ext
7918 cat >>conftest.$ac_ext <<_ACEOF
7919 /* end confdefs.h. */
7922 #if ((' ' & 0x0FF) == 0x020)
7923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7926 # define ISLOWER(c) \
7927 (('a' <= (c) && (c) <= 'i') \
7928 || ('j' <= (c) && (c) <= 'r') \
7929 || ('s' <= (c) && (c) <= 'z'))
7930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7938 for (i = 0; i < 256; i++)
7939 if (XOR (islower (i), ISLOWER (i))
7940 || toupper (i) != TOUPPER (i))
7945 rm -f conftest$ac_exeext
7946 if { (ac_try="$ac_link"
7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7949 *) ac_try_echo=$ac_try;;
7951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7952 $as_echo "$ac_try_echo") >&5
7953 (eval "$ac_link") 2>&5
7955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7957 { (case "(($ac_try" in
7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7959 *) ac_try_echo=$ac_try;;
7961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7962 $as_echo "$ac_try_echo") >&5
7963 (eval "$ac_try") 2>&5
7965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; }; then
7969 $as_echo "$as_me: program exited with status $ac_status" >&5
7970 $as_echo "$as_me: failed program was:" >&5
7971 sed 's/^/| /' conftest.$ac_ext >&5
7974 ac_cv_header_stdc=no
7976 rm -rf conftest.dSYM
7977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7983 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7984 $as_echo "$ac_cv_header_stdc" >&6; }
7985 if test $ac_cv_header_stdc = yes; then
7987 cat >>confdefs.h <<\_ACEOF
7988 #define STDC_HEADERS 1
7993 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8003 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8004 inttypes.h stdint.h unistd.h
8006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8007 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8008 $as_echo_n "checking for $ac_header... " >&6; }
8009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8010 $as_echo_n "(cached) " >&6
8012 cat >conftest.$ac_ext <<_ACEOF
8015 cat confdefs.h >>conftest.$ac_ext
8016 cat >>conftest.$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8018 $ac_includes_default
8020 #include <$ac_header>
8022 rm -f conftest.$ac_objext
8023 if { (ac_try="$ac_compile"
8025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8026 *) ac_try_echo=$ac_try;;
8028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8029 $as_echo "$ac_try_echo") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8032 grep -v '^ *+' conftest.er1 >conftest.err
8034 cat conftest.err >&5
8035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 eval "$as_ac_Header=yes"
8042 $as_echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 eval "$as_ac_Header=no"
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8050 ac_res=`eval 'as_val=${'$as_ac_Header'}
8051 $as_echo "$as_val"'`
8052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8053 $as_echo "$ac_res" >&6; }
8054 as_val=`eval 'as_val=${'$as_ac_Header'}
8055 $as_echo "$as_val"'`
8056 if test "x$as_val" = x""yes; then
8057 cat >>confdefs.h <<_ACEOF
8058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8067 for ac_header in dlfcn.h
8069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8070 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8071 $as_echo_n "checking for $ac_header... " >&6; }
8072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8073 $as_echo_n "(cached) " >&6
8075 cat >conftest.$ac_ext <<_ACEOF
8078 cat confdefs.h >>conftest.$ac_ext
8079 cat >>conftest.$ac_ext <<_ACEOF
8080 /* end confdefs.h. */
8081 $ac_includes_default
8083 #include <$ac_header>
8085 rm -f conftest.$ac_objext
8086 if { (ac_try="$ac_compile"
8088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089 *) ac_try_echo=$ac_try;;
8091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8092 $as_echo "$ac_try_echo") >&5
8093 (eval "$ac_compile") 2>conftest.er1
8095 grep -v '^ *+' conftest.er1 >conftest.err
8097 cat conftest.err >&5
8098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); } && {
8100 test -z "$ac_c_werror_flag" ||
8101 test ! -s conftest.err
8102 } && test -s conftest.$ac_objext; then
8103 eval "$as_ac_Header=yes"
8105 $as_echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.$ac_ext >&5
8108 eval "$as_ac_Header=no"
8111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8113 ac_res=`eval 'as_val=${'$as_ac_Header'}
8114 $as_echo "$as_val"'`
8115 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8116 $as_echo "$ac_res" >&6; }
8117 as_val=`eval 'as_val=${'$as_ac_Header'}
8118 $as_echo "$as_val"'`
8119 if test "x$as_val" = x""yes; then
8120 cat >>confdefs.h <<_ACEOF
8121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8140 # Check whether --enable-shared was given.
8141 if test "${enable_shared+set}" = set; then
8142 enableval=$enable_shared; p=${PACKAGE-default}
8144 yes) enable_shared=yes ;;
8145 no) enable_shared=no ;;
8148 # Look at the argument we got. We use all the common list separators.
8149 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8150 for pkg in $enableval; do
8152 if test "X$pkg" = "X$p"; then
8171 # Check whether --enable-static was given.
8172 if test "${enable_static+set}" = set; then
8173 enableval=$enable_static; p=${PACKAGE-default}
8175 yes) enable_static=yes ;;
8176 no) enable_static=no ;;
8179 # Look at the argument we got. We use all the common list separators.
8180 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8181 for pkg in $enableval; do
8183 if test "X$pkg" = "X$p"; then
8203 # Check whether --with-pic was given.
8204 if test "${with_pic+set}" = set; then
8205 withval=$with_pic; pic_mode="$withval"
8211 test -z "$pic_mode" && pic_mode=default
8219 # Check whether --enable-fast-install was given.
8220 if test "${enable_fast_install+set}" = set; then
8221 enableval=$enable_fast_install; p=${PACKAGE-default}
8223 yes) enable_fast_install=yes ;;
8224 no) enable_fast_install=no ;;
8226 enable_fast_install=no
8227 # Look at the argument we got. We use all the common list separators.
8228 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8229 for pkg in $enableval; do
8231 if test "X$pkg" = "X$p"; then
8232 enable_fast_install=yes
8239 enable_fast_install=yes
8252 # This can be used to rebuild libtool when needed
8253 LIBTOOL_DEPS="$ltmain"
8255 # Always use our own libtool.
8256 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8282 test -z "$LN_S" && LN_S="ln -s"
8297 if test -n "${ZSH_VERSION+set}" ; then
8298 setopt NO_GLOB_SUBST
8301 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8302 $as_echo_n "checking for objdir... " >&6; }
8303 if test "${lt_cv_objdir+set}" = set; then
8304 $as_echo_n "(cached) " >&6
8306 rm -f .libs 2>/dev/null
8307 mkdir .libs 2>/dev/null
8308 if test -d .libs; then
8311 # MS-DOS does not allow filenames that begin with a dot.
8314 rmdir .libs 2>/dev/null
8316 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8317 $as_echo "$lt_cv_objdir" >&6; }
8318 objdir=$lt_cv_objdir
8324 cat >>confdefs.h <<_ACEOF
8325 #define LT_OBJDIR "$lt_cv_objdir/"
8346 # AIX sometimes has problems with the GCC collect2 program. For some
8347 # reason, if we set the COLLECT_NAMES environment variable, the problems
8348 # vanish in a puff of smoke.
8349 if test "X${COLLECT_NAMES+set}" != Xset; then
8351 export COLLECT_NAMES
8356 # Sed substitution that helps us do robust quoting. It backslashifies
8357 # metacharacters that are still active within double-quoted strings.
8358 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8360 # Same as above, but do not quote variable references.
8361 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8363 # Sed substitution to delay expansion of an escaped shell variable in a
8364 # double_quote_subst'ed string.
8365 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8367 # Sed substitution to delay expansion of an escaped single quote.
8368 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8370 # Sed substitution to avoid accidental globbing in evaled expressions
8371 no_glob_subst='s/\*/\\\*/g'
8375 can_build_shared=yes
8377 # All known linkers require a `.a' archive for static linking (except MSVC,
8378 # which needs '.lib').
8381 with_gnu_ld="$lt_cv_prog_gnu_ld"
8384 old_CFLAGS="$CFLAGS"
8386 # Set sane defaults for various variables
8387 test -z "$CC" && CC=cc
8388 test -z "$LTCC" && LTCC=$CC
8389 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8390 test -z "$LD" && LD=ld
8391 test -z "$ac_objext" && ac_objext=o
8393 for cc_temp in $compiler""; do
8395 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8396 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8401 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8404 # Only perform the check for file, if the check method requires it
8405 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8406 case $deplibs_check_method in
8408 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8409 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8410 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8411 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8412 $as_echo_n "(cached) " >&6
8416 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8419 lt_save_MAGIC_CMD="$MAGIC_CMD"
8420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8421 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8422 for ac_dir in $ac_dummy; do
8424 test -z "$ac_dir" && ac_dir=.
8425 if test -f $ac_dir/${ac_tool_prefix}file; then
8426 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8427 if test -n "$file_magic_test_file"; then
8428 case $deplibs_check_method in
8430 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8433 $EGREP "$file_magic_regex" > /dev/null; then
8438 *** Warning: the command libtool uses to detect shared libraries,
8439 *** $file_magic_cmd, produces output that libtool cannot recognize.
8440 *** The result is that libtool may fail to recognize shared libraries
8441 *** as such. This will affect the creation of libtool libraries that
8442 *** depend on shared libraries, but programs linked with such libtool
8443 *** libraries will work regardless of this problem. Nevertheless, you
8444 *** may want to report the problem to your system manager and/or to
8445 *** bug-libtool@gnu.org
8455 MAGIC_CMD="$lt_save_MAGIC_CMD"
8460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8461 if test -n "$MAGIC_CMD"; then
8462 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8463 $as_echo "$MAGIC_CMD" >&6; }
8465 { $as_echo "$as_me:$LINENO: result: no" >&5
8466 $as_echo "no" >&6; }
8473 if test -z "$lt_cv_path_MAGIC_CMD"; then
8474 if test -n "$ac_tool_prefix"; then
8475 { $as_echo "$as_me:$LINENO: checking for file" >&5
8476 $as_echo_n "checking for file... " >&6; }
8477 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8478 $as_echo_n "(cached) " >&6
8482 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8485 lt_save_MAGIC_CMD="$MAGIC_CMD"
8486 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8487 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8488 for ac_dir in $ac_dummy; do
8490 test -z "$ac_dir" && ac_dir=.
8491 if test -f $ac_dir/file; then
8492 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8493 if test -n "$file_magic_test_file"; then
8494 case $deplibs_check_method in
8496 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8497 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8498 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8499 $EGREP "$file_magic_regex" > /dev/null; then
8504 *** Warning: the command libtool uses to detect shared libraries,
8505 *** $file_magic_cmd, produces output that libtool cannot recognize.
8506 *** The result is that libtool may fail to recognize shared libraries
8507 *** as such. This will affect the creation of libtool libraries that
8508 *** depend on shared libraries, but programs linked with such libtool
8509 *** libraries will work regardless of this problem. Nevertheless, you
8510 *** may want to report the problem to your system manager and/or to
8511 *** bug-libtool@gnu.org
8521 MAGIC_CMD="$lt_save_MAGIC_CMD"
8526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8527 if test -n "$MAGIC_CMD"; then
8528 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8529 $as_echo "$MAGIC_CMD" >&6; }
8531 { $as_echo "$as_me:$LINENO: result: no" >&5
8532 $as_echo "no" >&6; }
8545 # Use C for the default configuration in the libtool script
8549 ac_cpp='$CPP $CPPFLAGS'
8550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8555 # Source file extension for C test sources.
8558 # Object file extension for compiled C test sources.
8562 # Code to be used in simple compile tests
8563 lt_simple_compile_test_code="int some_variable = 0;"
8565 # Code to be used in simple link tests
8566 lt_simple_link_test_code='int main(){return(0);}'
8574 # If no C compiler was specified, use CC.
8577 # If no C compiler flags were specified, use CFLAGS.
8578 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8580 # Allow CC to be a program name with arguments.
8583 # Save the default compiler, since it gets overwritten when the other
8584 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8585 compiler_DEFAULT=$CC
8587 # save warnings/boilerplate of simple test code
8588 ac_outfile=conftest.$ac_objext
8589 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8590 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8591 _lt_compiler_boilerplate=`cat conftest.err`
8594 ac_outfile=conftest.$ac_objext
8595 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8596 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8597 _lt_linker_boilerplate=`cat conftest.err`
8601 if test -n "$compiler"; then
8603 lt_prog_compiler_no_builtin_flag=
8605 if test "$GCC" = yes; then
8606 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8608 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8609 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8610 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8611 $as_echo_n "(cached) " >&6
8613 lt_cv_prog_compiler_rtti_exceptions=no
8614 ac_outfile=conftest.$ac_objext
8615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8616 lt_compiler_flag="-fno-rtti -fno-exceptions"
8617 # Insert the option either (1) after the last *FLAGS variable, or
8618 # (2) before a word containing "conftest.", or (3) at the end.
8619 # Note that $ac_compile itself does not contain backslashes and begins
8620 # with a dollar sign (not a hyphen), so the echo should work correctly.
8621 # The option is referenced via a variable to avoid confusing sed.
8622 lt_compile=`echo "$ac_compile" | $SED \
8623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8625 -e 's:$: $lt_compiler_flag:'`
8626 (eval echo "\"\$as_me:8626: $lt_compile\"" >&5)
8627 (eval "$lt_compile" 2>conftest.err)
8629 cat conftest.err >&5
8630 echo "$as_me:8630: \$? = $ac_status" >&5
8631 if (exit $ac_status) && test -s "$ac_outfile"; then
8632 # The compiler can only warn and ignore the option if not recognized
8633 # So say no if there are warnings other than the usual output.
8634 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8635 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8636 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8637 lt_cv_prog_compiler_rtti_exceptions=yes
8643 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8644 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8646 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8647 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8659 lt_prog_compiler_wl=
8660 lt_prog_compiler_pic=
8661 lt_prog_compiler_static=
8663 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8664 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8666 if test "$GCC" = yes; then
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_static='-static'
8672 # All AIX code is PIC.
8673 if test "$host_cpu" = ia64; then
8674 # AIX 5 now supports IA64 processor
8675 lt_prog_compiler_static='-Bstatic'
8682 # see comment about AmigaOS4 .so support
8683 lt_prog_compiler_pic='-fPIC'
8686 # FIXME: we need at least 68020 code to build shared libraries, but
8687 # adding the `-m68020' flag to GCC prevents building anything better,
8689 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8694 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8695 # PIC is the default for these OSes.
8698 mingw* | cygwin* | pw32* | os2* | cegcc*)
8699 # This hack is so that the source file can tell whether it is being
8700 # built for inclusion in a dll (and should export symbols for example).
8701 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8702 # (--disable-auto-import) libraries
8703 lt_prog_compiler_pic='-DDLL_EXPORT'
8706 darwin* | rhapsody*)
8707 # PIC is the default on this platform
8708 # Common symbols not allowed in MH_DYLIB files
8709 lt_prog_compiler_pic='-fno-common'
8713 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8714 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8715 # sets the default TLS model and affects inlining.
8721 lt_prog_compiler_pic='-fPIC'
8727 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8728 # Instead, we relocate shared libraries at runtime.
8732 # Just because we use GCC doesn't mean we suddenly get shared libraries
8733 # on systems that don't support them.
8734 lt_prog_compiler_can_build_shared=no
8739 # QNX uses GNU C++, but need to define -shared option too, otherwise
8741 lt_prog_compiler_pic='-fPIC -shared'
8745 if test -d /usr/nec; then
8746 lt_prog_compiler_pic=-Kconform_pic
8751 lt_prog_compiler_pic='-fPIC'
8755 # PORTME Check for flag to pass linker flags through the system compiler.
8758 lt_prog_compiler_wl='-Wl,'
8759 if test "$host_cpu" = ia64; then
8760 # AIX 5 now supports IA64 processor
8761 lt_prog_compiler_static='-Bstatic'
8763 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8767 mingw* | cygwin* | pw32* | os2* | cegcc*)
8768 # This hack is so that the source file can tell whether it is being
8769 # built for inclusion in a dll (and should export symbols for example).
8770 lt_prog_compiler_pic='-DDLL_EXPORT'
8773 hpux9* | hpux10* | hpux11*)
8774 lt_prog_compiler_wl='-Wl,'
8775 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8782 lt_prog_compiler_pic='+Z'
8785 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8786 lt_prog_compiler_static='${wl}-a ${wl}archive'
8789 irix5* | irix6* | nonstopux*)
8790 lt_prog_compiler_wl='-Wl,'
8791 # PIC (with -KPIC) is the default.
8792 lt_prog_compiler_static='-non_shared'
8795 linux* | k*bsd*-gnu)
8796 case $cc_basename in
8797 # old Intel for x86_64 which still supported -KPIC.
8799 lt_prog_compiler_wl='-Wl,'
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-static'
8803 # icc used to be incompatible with GCC.
8804 # ICC 10 doesn't accept -KPIC any more.
8806 lt_prog_compiler_wl='-Wl,'
8807 lt_prog_compiler_pic='-fPIC'
8808 lt_prog_compiler_static='-static'
8810 # Lahey Fortran 8.1.
8812 lt_prog_compiler_wl='-Wl,'
8813 lt_prog_compiler_pic='--shared'
8814 lt_prog_compiler_static='--static'
8816 pgcc* | pgf77* | pgf90* | pgf95*)
8817 # Portland Group compilers (*not* the Pentium gcc compiler,
8818 # which looks to be a dead project)
8819 lt_prog_compiler_wl='-Wl,'
8820 lt_prog_compiler_pic='-fpic'
8821 lt_prog_compiler_static='-Bstatic'
8824 lt_prog_compiler_wl='-Wl,'
8825 # All Alpha code is PIC.
8826 lt_prog_compiler_static='-non_shared'
8829 # IBM XL C 8.0/Fortran 10.1 on PPC
8830 lt_prog_compiler_wl='-Wl,'
8831 lt_prog_compiler_pic='-qpic'
8832 lt_prog_compiler_static='-qstaticlink'
8835 case `$CC -V 2>&1 | sed 5q` in
8838 lt_prog_compiler_pic='-KPIC'
8839 lt_prog_compiler_static='-Bstatic'
8840 lt_prog_compiler_wl='-Wl,'
8843 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8844 lt_prog_compiler_pic='-KPIC'
8845 lt_prog_compiler_static='-Bstatic'
8846 lt_prog_compiler_wl=''
8854 lt_prog_compiler_pic='-KPIC'
8855 lt_prog_compiler_static='-Bstatic'
8859 # QNX uses GNU C++, but need to define -shared option too, otherwise
8861 lt_prog_compiler_pic='-fPIC -shared'
8864 osf3* | osf4* | osf5*)
8865 lt_prog_compiler_wl='-Wl,'
8866 # All OSF/1 code is PIC.
8867 lt_prog_compiler_static='-non_shared'
8871 lt_prog_compiler_static='-non_shared'
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-Bstatic'
8877 case $cc_basename in
8879 lt_prog_compiler_wl='-Qoption ld ';;
8881 lt_prog_compiler_wl='-Wl,';;
8886 lt_prog_compiler_wl='-Qoption ld '
8887 lt_prog_compiler_pic='-PIC'
8888 lt_prog_compiler_static='-Bstatic'
8891 sysv4 | sysv4.2uw2* | sysv4.3*)
8892 lt_prog_compiler_wl='-Wl,'
8893 lt_prog_compiler_pic='-KPIC'
8894 lt_prog_compiler_static='-Bstatic'
8898 if test -d /usr/nec ;then
8899 lt_prog_compiler_pic='-Kconform_pic'
8900 lt_prog_compiler_static='-Bstatic'
8904 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8905 lt_prog_compiler_wl='-Wl,'
8906 lt_prog_compiler_pic='-KPIC'
8907 lt_prog_compiler_static='-Bstatic'
8911 lt_prog_compiler_wl='-Wl,'
8912 lt_prog_compiler_can_build_shared=no
8916 lt_prog_compiler_pic='-pic'
8917 lt_prog_compiler_static='-Bstatic'
8921 lt_prog_compiler_can_build_shared=no
8927 # For platforms which do not support PIC, -DPIC is meaningless:
8929 lt_prog_compiler_pic=
8932 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8935 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8936 $as_echo "$lt_prog_compiler_pic" >&6; }
8944 # Check to make sure the PIC flag actually works.
8946 if test -n "$lt_prog_compiler_pic"; then
8947 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8948 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8949 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8950 $as_echo_n "(cached) " >&6
8952 lt_cv_prog_compiler_pic_works=no
8953 ac_outfile=conftest.$ac_objext
8954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8955 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8956 # Insert the option either (1) after the last *FLAGS variable, or
8957 # (2) before a word containing "conftest.", or (3) at the end.
8958 # Note that $ac_compile itself does not contain backslashes and begins
8959 # with a dollar sign (not a hyphen), so the echo should work correctly.
8960 # The option is referenced via a variable to avoid confusing sed.
8961 lt_compile=`echo "$ac_compile" | $SED \
8962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8964 -e 's:$: $lt_compiler_flag:'`
8965 (eval echo "\"\$as_me:8965: $lt_compile\"" >&5)
8966 (eval "$lt_compile" 2>conftest.err)
8968 cat conftest.err >&5
8969 echo "$as_me:8969: \$? = $ac_status" >&5
8970 if (exit $ac_status) && test -s "$ac_outfile"; then
8971 # The compiler can only warn and ignore the option if not recognized
8972 # So say no if there are warnings other than the usual output.
8973 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8975 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8976 lt_cv_prog_compiler_pic_works=yes
8982 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8983 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8985 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8986 case $lt_prog_compiler_pic in
8988 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8991 lt_prog_compiler_pic=
8992 lt_prog_compiler_can_build_shared=no
9003 # Check to make sure the static flag actually works.
9005 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9006 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9007 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9008 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9009 $as_echo_n "(cached) " >&6
9011 lt_cv_prog_compiler_static_works=no
9012 save_LDFLAGS="$LDFLAGS"
9013 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9014 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9015 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9016 # The linker can only warn and ignore the option if not recognized
9017 # So say no if there are warnings
9018 if test -s conftest.err; then
9019 # Append any errors to the config.log.
9020 cat conftest.err 1>&5
9021 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9022 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9023 if diff conftest.exp conftest.er2 >/dev/null; then
9024 lt_cv_prog_compiler_static_works=yes
9027 lt_cv_prog_compiler_static_works=yes
9031 LDFLAGS="$save_LDFLAGS"
9034 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9035 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9037 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9040 lt_prog_compiler_static=
9049 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9050 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9051 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9052 $as_echo_n "(cached) " >&6
9054 lt_cv_prog_compiler_c_o=no
9055 $RM -r conftest 2>/dev/null
9059 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9061 lt_compiler_flag="-o out/conftest2.$ac_objext"
9062 # Insert the option either (1) after the last *FLAGS variable, or
9063 # (2) before a word containing "conftest.", or (3) at the end.
9064 # Note that $ac_compile itself does not contain backslashes and begins
9065 # with a dollar sign (not a hyphen), so the echo should work correctly.
9066 lt_compile=`echo "$ac_compile" | $SED \
9067 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9068 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9069 -e 's:$: $lt_compiler_flag:'`
9070 (eval echo "\"\$as_me:9070: $lt_compile\"" >&5)
9071 (eval "$lt_compile" 2>out/conftest.err)
9073 cat out/conftest.err >&5
9074 echo "$as_me:9074: \$? = $ac_status" >&5
9075 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9077 # The compiler can only warn and ignore the option if not recognized
9078 # So say no if there are warnings
9079 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9080 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9081 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9082 lt_cv_prog_compiler_c_o=yes
9087 # SGI C++ compiler will create directory out/ii_files/ for
9088 # template instantiation
9089 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9090 $RM out/* && rmdir out
9096 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9097 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9104 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9105 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9106 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9107 $as_echo_n "(cached) " >&6
9109 lt_cv_prog_compiler_c_o=no
9110 $RM -r conftest 2>/dev/null
9114 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9116 lt_compiler_flag="-o out/conftest2.$ac_objext"
9117 # Insert the option either (1) after the last *FLAGS variable, or
9118 # (2) before a word containing "conftest.", or (3) at the end.
9119 # Note that $ac_compile itself does not contain backslashes and begins
9120 # with a dollar sign (not a hyphen), so the echo should work correctly.
9121 lt_compile=`echo "$ac_compile" | $SED \
9122 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9124 -e 's:$: $lt_compiler_flag:'`
9125 (eval echo "\"\$as_me:9125: $lt_compile\"" >&5)
9126 (eval "$lt_compile" 2>out/conftest.err)
9128 cat out/conftest.err >&5
9129 echo "$as_me:9129: \$? = $ac_status" >&5
9130 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9132 # The compiler can only warn and ignore the option if not recognized
9133 # So say no if there are warnings
9134 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9135 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9136 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9137 lt_cv_prog_compiler_c_o=yes
9142 # SGI C++ compiler will create directory out/ii_files/ for
9143 # template instantiation
9144 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9145 $RM out/* && rmdir out
9151 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9152 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9157 hard_links="nottested"
9158 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9159 # do not overwrite the value of need_locks provided by the user
9160 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9161 $as_echo_n "checking if we can lock with hard links... " >&6; }
9164 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9166 ln conftest.a conftest.b 2>&5 || hard_links=no
9167 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9168 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9169 $as_echo "$hard_links" >&6; }
9170 if test "$hard_links" = no; then
9171 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9172 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9184 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9185 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9188 allow_undefined_flag=
9189 always_export_symbols=no
9191 archive_expsym_cmds=
9192 compiler_needs_object=no
9193 enable_shared_with_static_runtimes=no
9194 export_dynamic_flag_spec=
9195 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9196 hardcode_automatic=no
9198 hardcode_direct_absolute=no
9199 hardcode_libdir_flag_spec=
9200 hardcode_libdir_flag_spec_ld=
9201 hardcode_libdir_separator=
9203 hardcode_shlibpath_var=unsupported
9205 link_all_deplibs=unknown
9208 old_archive_from_new_cmds=
9209 old_archive_from_expsyms_cmds=
9210 thread_safe_flag_spec=
9211 whole_archive_flag_spec=
9212 # include_expsyms should be a list of space-separated symbols to be *always*
9213 # included in the symbol list
9215 # exclude_expsyms can be an extended regexp of symbols to exclude
9216 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9217 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9218 # as well as any symbol that contains `d'.
9219 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9220 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9221 # platforms (ab)use it in PIC code, but their linkers get confused if
9222 # the symbol is explicitly referenced. Since portable code cannot
9223 # rely on this symbol name, it's probably fine to never include it in
9224 # preloaded symbol tables.
9225 # Exclude shared library initialization/finalization symbols.
9226 extract_expsyms_cmds=
9229 cygwin* | mingw* | pw32* | cegcc*)
9230 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9231 # When not using gcc, we currently assume that we are using
9232 # Microsoft Visual C++.
9233 if test "$GCC" != yes; then
9238 # we just hope/assume this is gcc and not c89 (= MSVC++)
9247 if test "$with_gnu_ld" = yes; then
9248 # If archive_cmds runs LD, not CC, wlarc should be empty
9251 # Set some defaults for GNU ld with shared library support. These
9252 # are reset later if shared libraries are not supported. Putting them
9253 # here allows them to be overridden if necessary.
9254 runpath_var=LD_RUN_PATH
9255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256 export_dynamic_flag_spec='${wl}--export-dynamic'
9257 # ancient GNU ld didn't support --whole-archive et. al.
9258 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9259 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9261 whole_archive_flag_spec=
9263 supports_anon_versioning=no
9264 case `$LD -v 2>&1` in
9265 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268 *\ 2.11.*) ;; # other 2.11 versions
9269 *) supports_anon_versioning=yes ;;
9272 # See if GNU ld supports shared libraries.
9275 # On AIX/PPC, the GNU linker is very broken
9276 if test "$host_cpu" != ia64; then
9280 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support. If you
9283 *** really care for shared libraries, you may want to modify your PATH
9284 *** so that a non-GNU linker is found, and then restart.
9293 # see comment about AmigaOS4 .so support
9294 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295 archive_expsym_cmds=''
9298 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)'
9299 hardcode_libdir_flag_spec='-L$libdir'
9300 hardcode_minus_L=yes
9306 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9307 allow_undefined_flag=unsupported
9308 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9309 # support --undefined. This deserves some investigation. FIXME
9310 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 cygwin* | mingw* | pw32* | cegcc*)
9317 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9318 # as there is no search path for DLLs.
9319 hardcode_libdir_flag_spec='-L$libdir'
9320 allow_undefined_flag=unsupported
9321 always_export_symbols=no
9322 enable_shared_with_static_runtimes=yes
9323 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9325 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 # If the export-symbols file already is a .def file (1st line
9328 # is EXPORTS), use it as is; otherwise, prepend...
9329 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9330 cp $export_symbols $output_objdir/$soname.def;
9332 echo EXPORTS > $output_objdir/$soname.def;
9333 cat $export_symbols >> $output_objdir/$soname.def;
9335 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9343 hardcode_shlibpath_var=no
9344 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9345 export_dynamic_flag_spec='${wl}-E'
9346 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9347 # Instead, shared libraries are loaded at an image base (0x10000000 by
9348 # default) and relocated if they conflict, which is a slow very memory
9349 # consuming and fragmenting process. To avoid this, we pick a random,
9350 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9351 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9352 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9353 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'
9356 gnu* | linux* | tpf* | k*bsd*-gnu)
9358 if test "$host_os" = linux-dietlibc; then
9359 case $cc_basename in
9360 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9363 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9364 && test "$tmp_diet" = no
9367 tmp_sharedflag='-shared'
9368 case $cc_basename,$host_cpu in
9369 pgcc*) # Portland Group C compiler
9370 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'
9371 tmp_addflag=' $pic_flag'
9373 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9374 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'
9375 tmp_addflag=' $pic_flag -Mnomain' ;;
9376 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9377 tmp_addflag=' -i_dynamic' ;;
9378 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9379 tmp_addflag=' -i_dynamic -nofor_main' ;;
9380 ifc* | ifort*) # Intel Fortran compiler
9381 tmp_addflag=' -nofor_main' ;;
9382 lf95*) # Lahey Fortran 8.1
9383 whole_archive_flag_spec=
9384 tmp_sharedflag='--shared' ;;
9385 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9386 tmp_sharedflag='-qmkshrobj'
9389 case `$CC -V 2>&1 | sed 5q` in
9390 *Sun\ C*) # Sun C 5.9
9391 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'
9392 compiler_needs_object=yes
9393 tmp_sharedflag='-G' ;;
9394 *Sun\ F*) # Sun Fortran 8.3
9395 tmp_sharedflag='-G' ;;
9397 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 if test "x$supports_anon_versioning" = xyes; then
9400 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9401 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9402 echo "local: *; };" >> $output_objdir/$libname.ver~
9403 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9406 case $cc_basename in
9408 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9409 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9410 hardcode_libdir_flag_spec=
9411 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9412 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9413 if test "x$supports_anon_versioning" = xyes; then
9414 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9415 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9416 echo "local: *; };" >> $output_objdir/$libname.ver~
9417 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9427 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9428 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9431 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9432 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9441 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9442 *** create shared libraries on Solaris systems. Therefore, libtool
9443 *** is disabling shared libraries support. We urge you to upgrade GNU
9444 *** binutils to release 2.9.1 or newer. Another option is to modify
9445 *** your PATH or compiler configuration so that the native linker is
9446 *** used, and then restart.
9449 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9450 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9457 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9458 case `$LD -v 2>&1` in
9459 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9463 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9464 *** reliably create shared libraries on SCO systems. Therefore, libtool
9465 *** is disabling shared libraries support. We urge you to upgrade GNU
9466 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9467 *** your PATH or compiler configuration so that the native linker is
9468 *** used, and then restart.
9473 # For security reasons, it is highly recommended that you always
9474 # use absolute paths for naming shared libraries, and exclude the
9475 # DT_RUNPATH tag from executables and libraries. But doing so
9476 # requires that you compile everything twice, which is a pain.
9477 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9478 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9489 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 hardcode_shlibpath_var=no
9496 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9497 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9505 if test "$ld_shlibs" = no; then
9507 hardcode_libdir_flag_spec=
9508 export_dynamic_flag_spec=
9509 whole_archive_flag_spec=
9512 # PORTME fill in a description of your system's linker (not GNU ld)
9515 allow_undefined_flag=unsupported
9516 always_export_symbols=yes
9517 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'
9518 # Note: this linker hardcodes the directories in LIBPATH if there
9519 # are no directories specified by -L.
9520 hardcode_minus_L=yes
9521 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9522 # Neither direct hardcoding nor static linking is supported with a
9524 hardcode_direct=unsupported
9529 if test "$host_cpu" = ia64; then
9530 # On IA64, the linker does run time linking by default, so we don't
9531 # have to do anything special.
9532 aix_use_runtimelinking=no
9533 exp_sym_flag='-Bexport'
9536 # If we're using GNU nm, then we don't want the "-C" option.
9537 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9538 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9539 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'
9541 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'
9543 aix_use_runtimelinking=no
9545 # Test if we are trying to use run time linking or normal
9546 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9547 # need to do runtime linking.
9548 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9549 for ld_flag in $LDFLAGS; do
9550 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9551 aix_use_runtimelinking=yes
9558 exp_sym_flag='-bexport'
9559 no_entry_flag='-bnoentry'
9562 # When large executables or shared objects are built, AIX ld can
9563 # have problems creating the table of contents. If linking a library
9564 # or program results in "error TOC overflow" add -mminimal-toc to
9565 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9566 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9570 hardcode_direct_absolute=yes
9571 hardcode_libdir_separator=':'
9572 link_all_deplibs=yes
9573 file_list_spec='${wl}-f,'
9575 if test "$GCC" = yes; then
9576 case $host_os in aix4.[012]|aix4.[012].*)
9577 # We only want to do this on AIX 4.2 and lower, the check
9578 # below for broken collect2 doesn't work under 4.3+
9579 collect2name=`${CC} -print-prog-name=collect2`
9580 if test -f "$collect2name" &&
9581 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 # We have reworked collect2
9586 # We have old collect2
9587 hardcode_direct=unsupported
9588 # It fails to find uninstalled libraries when the uninstalled
9589 # path is not listed in the libpath. Setting hardcode_minus_L
9590 # to unsupported forces relinking
9591 hardcode_minus_L=yes
9592 hardcode_libdir_flag_spec='-L$libdir'
9593 hardcode_libdir_separator=
9597 shared_flag='-shared'
9598 if test "$aix_use_runtimelinking" = yes; then
9599 shared_flag="$shared_flag "'${wl}-G'
9603 if test "$host_cpu" = ia64; then
9604 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9605 # chokes on -Wl,-G. The following line is correct:
9608 if test "$aix_use_runtimelinking" = yes; then
9609 shared_flag='${wl}-G'
9611 shared_flag='${wl}-bM:SRE'
9616 export_dynamic_flag_spec='${wl}-bexpall'
9617 # It seems that -bexpall does not export symbols beginning with
9618 # underscore (_), so it is better to generate a list of symbols to export.
9619 always_export_symbols=yes
9620 if test "$aix_use_runtimelinking" = yes; then
9621 # Warning - without using the other runtime loading flags (-brtl),
9622 # -berok will link without error, but may produce a broken library.
9623 allow_undefined_flag='-berok'
9624 # Determine the default libpath from the value encoded in an
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9641 rm -f conftest.$ac_objext conftest$ac_exeext
9642 if { (ac_try="$ac_link"
9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645 *) ac_try_echo=$ac_try;;
9647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9648 $as_echo "$ac_try_echo") >&5
9649 (eval "$ac_link") 2>conftest.er1
9651 grep -v '^ *+' conftest.er1 >conftest.err
9653 cat conftest.err >&5
9654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && {
9656 test -z "$ac_c_werror_flag" ||
9657 test ! -s conftest.err
9658 } && test -s conftest$ac_exeext && {
9659 test "$cross_compiling" = yes ||
9660 $as_test_x conftest$ac_exeext
9663 lt_aix_libpath_sed='
9664 /Import File Strings/,/^$/ {
9670 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9671 # Check for a 64-bit object if we didn't find anything.
9672 if test -z "$aix_libpath"; then
9673 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9676 $as_echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.$ac_ext >&5
9682 rm -rf conftest.dSYM
9683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9684 conftest$ac_exeext conftest.$ac_ext
9685 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9687 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9688 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"
9690 if test "$host_cpu" = ia64; then
9691 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9692 allow_undefined_flag="-z nodefs"
9693 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"
9695 # Determine the default libpath from the value encoded in an
9697 cat >conftest.$ac_ext <<_ACEOF
9700 cat confdefs.h >>conftest.$ac_ext
9701 cat >>conftest.$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (ac_try="$ac_link"
9715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9719 $as_echo "$ac_try_echo") >&5
9720 (eval "$ac_link") 2>conftest.er1
9722 grep -v '^ *+' conftest.er1 >conftest.err
9724 cat conftest.err >&5
9725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } && {
9727 test -z "$ac_c_werror_flag" ||
9728 test ! -s conftest.err
9729 } && test -s conftest$ac_exeext && {
9730 test "$cross_compiling" = yes ||
9731 $as_test_x conftest$ac_exeext
9734 lt_aix_libpath_sed='
9735 /Import File Strings/,/^$/ {
9741 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9742 # Check for a 64-bit object if we didn't find anything.
9743 if test -z "$aix_libpath"; then
9744 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9747 $as_echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.$ac_ext >&5
9753 rm -rf conftest.dSYM
9754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9755 conftest$ac_exeext conftest.$ac_ext
9756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9758 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9759 # Warning - without using the other run time loading flags,
9760 # -berok will link without error, but may produce a broken library.
9761 no_undefined_flag=' ${wl}-bernotok'
9762 allow_undefined_flag=' ${wl}-berok'
9763 # Exported symbols can be pulled into shared objects from archives
9764 whole_archive_flag_spec='$convenience'
9765 archive_cmds_need_lc=yes
9766 # This is similar to how AIX traditionally builds its shared libraries.
9767 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'
9775 # see comment about AmigaOS4 .so support
9776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9777 archive_expsym_cmds=''
9780 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)'
9781 hardcode_libdir_flag_spec='-L$libdir'
9782 hardcode_minus_L=yes
9788 export_dynamic_flag_spec=-rdynamic
9791 cygwin* | mingw* | pw32* | cegcc*)
9792 # When not using gcc, we currently assume that we are using
9793 # Microsoft Visual C++.
9794 # hardcode_libdir_flag_spec is actually meaningless, as there is
9795 # no search path for DLLs.
9796 hardcode_libdir_flag_spec=' '
9797 allow_undefined_flag=unsupported
9798 # Tell ltmain to make .lib files, not .a files.
9800 # Tell ltmain to make .dll files, not .so files.
9802 # FIXME: Setting linknames here is a bad hack.
9803 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9804 # The linker will automatically build a .lib file if we build a DLL.
9805 old_archive_from_new_cmds='true'
9806 # FIXME: Should let the user specify the lib program.
9807 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9808 fix_srcfile_path='`cygpath -w "$srcfile"`'
9809 enable_shared_with_static_runtimes=yes
9812 darwin* | rhapsody*)
9815 archive_cmds_need_lc=no
9817 hardcode_automatic=yes
9818 hardcode_shlibpath_var=unsupported
9819 whole_archive_flag_spec=''
9820 link_all_deplibs=yes
9821 allow_undefined_flag="$_lt_dar_allow_undefined"
9822 case $cc_basename in
9823 ifort*) _lt_dar_can_shared=yes ;;
9824 *) _lt_dar_can_shared=$GCC ;;
9826 if test "$_lt_dar_can_shared" = "yes"; then
9827 output_verbose_link_cmd=echo
9828 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9829 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9830 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}"
9831 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}"
9840 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9841 hardcode_libdir_flag_spec='-L$libdir'
9842 hardcode_shlibpath_var=no
9849 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9850 # support. Future versions do this automatically, but an explicit c++rt0.o
9851 # does not break anything, and helps significantly (at the cost of a little
9854 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9855 hardcode_libdir_flag_spec='-R$libdir'
9857 hardcode_shlibpath_var=no
9860 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9862 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_minus_L=yes
9865 hardcode_shlibpath_var=no
9868 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9869 freebsd* | dragonfly*)
9870 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9871 hardcode_libdir_flag_spec='-R$libdir'
9873 hardcode_shlibpath_var=no
9877 if test "$GCC" = yes; then
9878 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'
9880 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'
9882 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9883 hardcode_libdir_separator=:
9886 # hardcode_minus_L: Not really in the search PATH,
9887 # but as the default location of the library.
9888 hardcode_minus_L=yes
9889 export_dynamic_flag_spec='${wl}-E'
9893 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9894 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9898 if test "$with_gnu_ld" = no; then
9899 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9900 hardcode_libdir_flag_spec_ld='+b $libdir'
9901 hardcode_libdir_separator=:
9903 hardcode_direct_absolute=yes
9904 export_dynamic_flag_spec='${wl}-E'
9905 # hardcode_minus_L: Not really in the search PATH,
9906 # but as the default location of the library.
9907 hardcode_minus_L=yes
9912 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9915 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9921 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9933 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9937 if test "$with_gnu_ld" = no; then
9938 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9939 hardcode_libdir_separator=:
9944 hardcode_shlibpath_var=no
9948 hardcode_direct_absolute=yes
9949 export_dynamic_flag_spec='${wl}-E'
9951 # hardcode_minus_L: Not really in the search PATH,
9952 # but as the default location of the library.
9953 hardcode_minus_L=yes
9959 irix5* | irix6* | nonstopux*)
9960 if test "$GCC" = yes; then
9961 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'
9962 # Try to use the -exported_symbol ld option, if it does not
9963 # work, assume that -exports_file does not work either and
9964 # implicitly export all symbols.
9965 save_LDFLAGS="$LDFLAGS"
9966 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9967 cat >conftest.$ac_ext <<_ACEOF
9970 rm -f conftest.$ac_objext conftest$ac_exeext
9971 if { (ac_try="$ac_link"
9973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9974 *) ac_try_echo=$ac_try;;
9976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9977 $as_echo "$ac_try_echo") >&5
9978 (eval "$ac_link") 2>conftest.er1
9980 grep -v '^ *+' conftest.er1 >conftest.err
9982 cat conftest.err >&5
9983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest$ac_exeext && {
9988 test "$cross_compiling" = yes ||
9989 $as_test_x conftest$ac_exeext
9991 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'
9994 $as_echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
10000 rm -rf conftest.dSYM
10001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10002 conftest$ac_exeext conftest.$ac_ext
10003 LDFLAGS="$save_LDFLAGS"
10005 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'
10006 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'
10008 archive_cmds_need_lc='no'
10009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010 hardcode_libdir_separator=:
10012 link_all_deplibs=yes
10016 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10017 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10019 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10021 hardcode_libdir_flag_spec='-R$libdir'
10022 hardcode_direct=yes
10023 hardcode_shlibpath_var=no
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_direct=yes
10029 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10030 hardcode_libdir_separator=:
10031 hardcode_shlibpath_var=no
10038 if test -f /usr/libexec/ld.so; then
10039 hardcode_direct=yes
10040 hardcode_shlibpath_var=no
10041 hardcode_direct_absolute=yes
10042 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10043 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10045 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10046 export_dynamic_flag_spec='${wl}-E'
10049 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10050 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-R$libdir'
10054 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10055 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10065 hardcode_libdir_flag_spec='-L$libdir'
10066 hardcode_minus_L=yes
10067 allow_undefined_flag=unsupported
10068 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'
10069 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10073 if test "$GCC" = yes; then
10074 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10075 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'
10077 allow_undefined_flag=' -expect_unresolved \*'
10078 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'
10080 archive_cmds_need_lc='no'
10081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10082 hardcode_libdir_separator=:
10085 osf4* | osf5*) # as osf3* with the addition of -msym flag
10086 if test "$GCC" = yes; then
10087 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10088 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'
10089 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10091 allow_undefined_flag=' -expect_unresolved \*'
10092 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'
10093 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~
10094 $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'
10096 # Both c and cxx compiler support -rpath directly
10097 hardcode_libdir_flag_spec='-rpath $libdir'
10099 archive_cmds_need_lc='no'
10100 hardcode_libdir_separator=:
10104 no_undefined_flag=' -z defs'
10105 if test "$GCC" = yes; then
10107 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10109 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10111 case `$CC -V 2>&1` in
10114 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10115 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10120 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10122 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10126 hardcode_libdir_flag_spec='-R$libdir'
10127 hardcode_shlibpath_var=no
10129 solaris2.[0-5] | solaris2.[0-5].*) ;;
10131 # The compiler driver will combine and reorder linker options,
10132 # but understands `-z linker_flag'. GCC discards it without `$wl',
10133 # but is careful enough not to reorder.
10134 # Supported since Solaris 2.6 (maybe 2.5.1?)
10135 if test "$GCC" = yes; then
10136 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10138 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10142 link_all_deplibs=yes
10146 if test "x$host_vendor" = xsequent; then
10147 # Use $CC to link under sequent, because it throws in some extra .o
10148 # files that make .init and .fini sections work.
10149 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10151 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_libdir_flag_spec='-L$libdir'
10154 hardcode_direct=yes
10155 hardcode_minus_L=yes
10156 hardcode_shlibpath_var=no
10160 case $host_vendor in
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_direct=yes # is this really true???
10166 ## LD is ld it makes a PLAMLIB
10167 ## CC just makes a GrossModule.
10168 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10169 reload_cmds='$CC -r -o $output$reload_objs'
10173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10174 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10177 runpath_var='LD_RUN_PATH'
10178 hardcode_shlibpath_var=no
10182 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10183 hardcode_shlibpath_var=no
10184 export_dynamic_flag_spec='-Bexport'
10188 if test -d /usr/nec; then
10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_shlibpath_var=no
10191 runpath_var=LD_RUN_PATH
10192 hardcode_runpath_var=yes
10197 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10198 no_undefined_flag='${wl}-z,text'
10199 archive_cmds_need_lc=no
10200 hardcode_shlibpath_var=no
10201 runpath_var='LD_RUN_PATH'
10203 if test "$GCC" = yes; then
10204 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 sysv5* | sco3.2v5* | sco5v6*)
10213 # Note: We can NOT use -z defs as we might desire, because we do not
10214 # link with -lc, and that would cause any symbols used from libc to
10215 # always be unresolved, which means just about no library would
10216 # ever link correctly. If we're not using GNU ld we use -z text
10217 # though, which does catch some bad symbols but isn't as heavy-handed
10219 no_undefined_flag='${wl}-z,text'
10220 allow_undefined_flag='${wl}-z,nodefs'
10221 archive_cmds_need_lc=no
10222 hardcode_shlibpath_var=no
10223 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10224 hardcode_libdir_separator=':'
10225 link_all_deplibs=yes
10226 export_dynamic_flag_spec='${wl}-Bexport'
10227 runpath_var='LD_RUN_PATH'
10229 if test "$GCC" = yes; then
10230 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_libdir_flag_spec='-L$libdir'
10241 hardcode_shlibpath_var=no
10249 if test x$host_vendor = xsni; then
10251 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10252 export_dynamic_flag_spec='${wl}-Blargedynsym'
10258 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10259 $as_echo "$ld_shlibs" >&6; }
10260 test "$ld_shlibs" = no && can_build_shared=no
10262 with_gnu_ld=$with_gnu_ld
10279 # Do we need to explicitly link libc?
10281 case "x$archive_cmds_need_lc" in
10283 # Assume -lc should be added
10284 archive_cmds_need_lc=yes
10286 if test "$enable_shared" = yes && test "$GCC" = yes; then
10287 case $archive_cmds in
10289 # FIXME: we may have to deal with multi-command sequences.
10292 # Test whether the compiler implicitly links with -lc since on some
10293 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10294 # to ld, don't add -lc before -lgcc.
10295 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10296 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10298 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10301 (eval $ac_compile) 2>&5
10303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } 2>conftest.err; then
10307 libobjs=conftest.$ac_objext
10309 wl=$lt_prog_compiler_wl
10310 pic_flag=$lt_prog_compiler_pic
10316 lt_save_allow_undefined_flag=$allow_undefined_flag
10317 allow_undefined_flag=
10318 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10319 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }
10324 archive_cmds_need_lc=no
10326 archive_cmds_need_lc=yes
10328 allow_undefined_flag=$lt_save_allow_undefined_flag
10330 cat conftest.err 1>&5
10333 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10334 $as_echo "$archive_cmds_need_lc" >&6; }
10497 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10500 if test "$GCC" = yes; then
10502 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10503 *) lt_awk_arg="/^libraries:/" ;;
10505 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10506 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10507 # if the path contains ";" then we assume it to be the separator
10508 # otherwise default to the standard path separator (i.e. ":") - it is
10509 # assumed that no part of a normal pathname contains ";" but that should
10510 # okay in the real world where ";" in dirpaths is itself problematic.
10511 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10513 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10515 # Ok, now we have the path, separated by spaces, we can step through it
10516 # and add multilib dir if necessary.
10517 lt_tmp_lt_search_path_spec=
10518 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10519 for lt_sys_path in $lt_search_path_spec; do
10520 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10521 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10523 test -d "$lt_sys_path" && \
10524 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10527 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10528 BEGIN {RS=" "; FS="/|\n";} {
10531 for (lt_i = NF; lt_i > 0; lt_i--) {
10532 if ($lt_i != "" && $lt_i != ".") {
10533 if ($lt_i == "..") {
10536 if (lt_count == 0) {
10537 lt_foo="/" $lt_i lt_foo;
10544 if (lt_foo != "") { lt_freq[lt_foo]++; }
10545 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10547 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10549 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10551 library_names_spec=
10552 libname_spec='lib$name'
10556 postuninstall_cmds=
10560 shlibpath_overrides_runpath=unknown
10562 dynamic_linker="$host_os ld.so"
10563 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10564 need_lib_prefix=unknown
10565 hardcode_into_libs=no
10567 # when you set need_version to no, make sure it does not cause -set_version
10568 # flags to be left without arguments
10569 need_version=unknown
10574 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10575 shlibpath_var=LIBPATH
10577 # AIX 3 has no versioning support, so we append a major version to the name.
10578 soname_spec='${libname}${release}${shared_ext}$major'
10585 hardcode_into_libs=yes
10586 if test "$host_cpu" = ia64; then
10587 # AIX 5 supports IA64
10588 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10589 shlibpath_var=LD_LIBRARY_PATH
10591 # With GCC up to 2.95.x, collect2 would create an import file
10592 # for dependence libraries. The import file would start with
10593 # the line `#! .'. This would cause the generated library to
10594 # depend on `.', always an invalid library. This was fixed in
10595 # development snapshots of GCC prior to 3.0.
10597 aix4 | aix4.[01] | aix4.[01].*)
10598 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10600 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10603 can_build_shared=no
10607 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10608 # soname into executable. Probably we can add versioning support to
10609 # collect2, so additional links can be useful in future.
10610 if test "$aix_use_runtimelinking" = yes; then
10611 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10612 # instead of lib<name>.a to let people know that these are not
10613 # typical AIX shared libraries.
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 # We preserve .a as extension for shared libraries through AIX4.2
10617 # and later when we are not doing run time linking.
10618 library_names_spec='${libname}${release}.a $libname.a'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10621 shlibpath_var=LIBPATH
10628 # Since July 2007 AmigaOS4 officially supports .so libraries.
10629 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10633 library_names_spec='$libname.ixlibrary $libname.a'
10634 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10635 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'
10641 library_names_spec='${libname}${shared_ext}'
10642 dynamic_linker="$host_os ld.so"
10643 shlibpath_var=LIBRARY_PATH
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10652 shlibpath_var=LD_LIBRARY_PATH
10653 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10654 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10655 # the default ld.so.conf also contains /usr/contrib/lib and
10656 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10657 # libtool to hard-code these into programs
10660 cygwin* | mingw* | pw32* | cegcc*)
10661 version_type=windows
10666 case $GCC,$host_os in
10667 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10668 library_names_spec='$libname.dll.a'
10669 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10670 postinstall_cmds='base_file=`basename \${file}`~
10671 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10672 dldir=$destdir/`dirname \$dlpath`~
10673 test -d \$dldir || mkdir -p \$dldir~
10674 $install_prog $dir/$dlname \$dldir/$dlname~
10675 chmod a+x \$dldir/$dlname~
10676 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10677 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10679 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10680 dlpath=$dir/\$dldll~
10682 shlibpath_overrides_runpath=yes
10686 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10687 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10691 # MinGW DLLs use traditional 'lib' prefix
10692 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10694 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10695 # It is most probably a Windows format PATH printed by
10696 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10697 # path with ; separators, and with drive letters. We can handle the
10698 # drive letters (cygwin fileutils understands them), so leave them,
10699 # especially as we might pass files found there to a mingw objdump,
10700 # which wouldn't understand a cygwinified path. Ahh.
10701 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10703 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10707 # pw32 DLLs use 'pw' prefix rather than 'lib'
10708 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10714 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10717 dynamic_linker='Win32 ld.exe'
10718 # FIXME: first we should search . and the directory the executable is in
10722 darwin* | rhapsody*)
10723 dynamic_linker="$host_os dyld"
10724 version_type=darwin
10727 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10728 soname_spec='${libname}${release}${major}$shared_ext'
10729 shlibpath_overrides_runpath=yes
10730 shlibpath_var=DYLD_LIBRARY_PATH
10731 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10733 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10734 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10742 soname_spec='${libname}${release}${shared_ext}$major'
10743 shlibpath_var=LD_LIBRARY_PATH
10750 freebsd* | dragonfly*)
10751 # DragonFly does not have aout. When/if they implement a new
10752 # versioning mechanism, adjust this.
10753 if test -x /usr/bin/objformat; then
10754 objformat=`/usr/bin/objformat`
10757 freebsd[123]*) objformat=aout ;;
10758 *) objformat=elf ;;
10761 version_type=freebsd-$objformat
10762 case $version_type in
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10773 shlibpath_var=LD_LIBRARY_PATH
10776 shlibpath_overrides_runpath=yes
10778 freebsd3.[01]* | freebsdelf3.[01]*)
10779 shlibpath_overrides_runpath=yes
10780 hardcode_into_libs=yes
10782 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10783 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10784 shlibpath_overrides_runpath=no
10785 hardcode_into_libs=yes
10787 *) # from 4.6 on, and DragonFly
10788 shlibpath_overrides_runpath=yes
10789 hardcode_into_libs=yes
10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10799 soname_spec='${libname}${release}${shared_ext}$major'
10800 shlibpath_var=LD_LIBRARY_PATH
10801 hardcode_into_libs=yes
10804 hpux9* | hpux10* | hpux11*)
10805 # Give a soname corresponding to the major version so that dld.sl refuses to
10806 # link against other versions.
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.so"
10815 shlibpath_var=LD_LIBRARY_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 if test "X$HPUX_IA64_MODE" = X32; then
10820 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10822 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10824 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10828 hardcode_into_libs=yes
10829 dynamic_linker="$host_os dld.sl"
10830 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10831 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10835 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10839 dynamic_linker="$host_os dld.sl"
10840 shlibpath_var=SHLIB_PATH
10841 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10846 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10847 postinstall_cmds='chmod 555 $lib'
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10855 soname_spec='${libname}${release}${shared_ext}$major'
10856 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10857 shlibpath_var=LD_LIBRARY_PATH
10858 shlibpath_overrides_runpath=no
10859 hardcode_into_libs=yes
10862 irix5* | irix6* | nonstopux*)
10864 nonstopux*) version_type=nonstopux ;;
10866 if test "$lt_cv_prog_gnu_ld" = yes; then
10874 soname_spec='${libname}${release}${shared_ext}$major'
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10877 irix5* | nonstopux*)
10878 libsuff= shlibsuff=
10881 case $LD in # libtool.m4 will add one of these switches to LD
10882 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10883 libsuff= shlibsuff= libmagic=32-bit;;
10884 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10885 libsuff=32 shlibsuff=N32 libmagic=N32;;
10886 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10887 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10888 *) libsuff= shlibsuff= libmagic=never-match;;
10892 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10893 shlibpath_overrides_runpath=no
10894 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10895 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10896 hardcode_into_libs=yes
10899 # No shared lib support for Linux oldld, aout, or coff.
10900 linux*oldld* | linux*aout* | linux*coff*)
10904 # This must be Linux ELF.
10905 linux* | k*bsd*-gnu)
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10912 shlibpath_var=LD_LIBRARY_PATH
10913 shlibpath_overrides_runpath=no
10914 # Some binutils ld are patched to set DT_RUNPATH
10915 save_LDFLAGS=$LDFLAGS
10916 save_libdir=$libdir
10917 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10918 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10919 cat >conftest.$ac_ext <<_ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10934 rm -f conftest.$ac_objext conftest$ac_exeext
10935 if { (ac_try="$ac_link"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10941 $as_echo "$ac_try_echo") >&5
10942 (eval "$ac_link") 2>conftest.er1
10944 grep -v '^ *+' conftest.er1 >conftest.err
10946 cat conftest.err >&5
10947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } && {
10949 test -z "$ac_c_werror_flag" ||
10950 test ! -s conftest.err
10951 } && test -s conftest$ac_exeext && {
10952 test "$cross_compiling" = yes ||
10953 $as_test_x conftest$ac_exeext
10955 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10956 shlibpath_overrides_runpath=yes
10960 $as_echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.$ac_ext >&5
10966 rm -rf conftest.dSYM
10967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10968 conftest$ac_exeext conftest.$ac_ext
10969 LDFLAGS=$save_LDFLAGS
10970 libdir=$save_libdir
10972 # This implies no fast_install, which is unacceptable.
10973 # Some rework will be needed to allow for fast_install
10974 # before this can be enabled.
10975 hardcode_into_libs=yes
10977 # Add ABI-specific directories to the system library path.
10978 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10980 # Append ld.so.conf contents to the search path
10981 if test -f /etc/ld.so.conf; then
10982 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' ' '`
10983 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10986 # We used to test for /lib/ld.so.1 and disable shared libraries on
10987 # powerpc, because MkLinux only supported shared libraries with the
10988 # GNU dynamic linker. Since this was broken with cross compilers,
10989 # most powerpc-linux boxes support dynamic linking these days and
10990 # people can always --disable-shared, the test was removed, and we
10991 # assume the GNU/Linux dynamic linker is in use.
10992 dynamic_linker='GNU/Linux ld.so'
10999 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11001 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11002 dynamic_linker='NetBSD (a.out) ld.so'
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11005 soname_spec='${libname}${release}${shared_ext}$major'
11006 dynamic_linker='NetBSD ld.elf_so'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 shlibpath_overrides_runpath=yes
11010 hardcode_into_libs=yes
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath=yes
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=no
11028 hardcode_into_libs=yes
11029 dynamic_linker='ldqnx.so'
11034 sys_lib_dlsearch_path_spec="/usr/lib"
11036 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11038 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11039 *) need_version=no ;;
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11043 shlibpath_var=LD_LIBRARY_PATH
11044 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11046 openbsd2.[89] | openbsd2.[89].*)
11047 shlibpath_overrides_runpath=no
11050 shlibpath_overrides_runpath=yes
11054 shlibpath_overrides_runpath=yes
11059 libname_spec='$name'
11062 library_names_spec='$libname${shared_ext} $libname.a'
11063 dynamic_linker='OS/2 ld.exe'
11064 shlibpath_var=LIBPATH
11067 osf3* | osf4* | osf5*)
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11075 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087 soname_spec='${libname}${release}${shared_ext}$major'
11088 shlibpath_var=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath=yes
11090 hardcode_into_libs=yes
11091 # ldd complains unless libraries are executable
11092 postinstall_cmds='chmod +x $lib'
11097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11098 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11099 shlibpath_var=LD_LIBRARY_PATH
11100 shlibpath_overrides_runpath=yes
11101 if test "$with_gnu_ld" = yes; then
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 case $host_vendor in
11114 shlibpath_overrides_runpath=no
11116 runpath_var=LD_RUN_PATH
11124 shlibpath_overrides_runpath=no
11125 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11131 if test -d /usr/nec ;then
11133 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11134 soname_spec='$libname${shared_ext}.$major'
11135 shlibpath_var=LD_LIBRARY_PATH
11139 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11140 version_type=freebsd-elf
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11144 soname_spec='${libname}${release}${shared_ext}$major'
11145 shlibpath_var=LD_LIBRARY_PATH
11146 shlibpath_overrides_runpath=yes
11147 hardcode_into_libs=yes
11148 if test "$with_gnu_ld" = yes; then
11149 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11151 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11154 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11158 sys_lib_dlsearch_path_spec='/usr/lib'
11162 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11167 shlibpath_var=LD_LIBRARY_PATH
11168 shlibpath_overrides_runpath=no
11169 hardcode_into_libs=yes
11174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11175 soname_spec='${libname}${release}${shared_ext}$major'
11176 shlibpath_var=LD_LIBRARY_PATH
11183 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11184 $as_echo "$dynamic_linker" >&6; }
11185 test "$dynamic_linker" = no && can_build_shared=no
11187 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11188 if test "$GCC" = yes; then
11189 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11192 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11193 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11195 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11196 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11285 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11286 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11288 if test -n "$hardcode_libdir_flag_spec" ||
11289 test -n "$runpath_var" ||
11290 test "X$hardcode_automatic" = "Xyes" ; then
11292 # We can hardcode non-existent directories.
11293 if test "$hardcode_direct" != no &&
11294 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11295 # have to relink, otherwise we might link with an installed library
11296 # when we should be linking with a yet-to-be-installed one
11297 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11298 test "$hardcode_minus_L" != no; then
11299 # Linking always hardcodes the temporary library directory.
11300 hardcode_action=relink
11302 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11303 hardcode_action=immediate
11306 # We cannot hardcode anything, or else we can only hardcode existing
11308 hardcode_action=unsupported
11310 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11311 $as_echo "$hardcode_action" >&6; }
11313 if test "$hardcode_action" = relink ||
11314 test "$inherit_rpath" = yes; then
11315 # Fast installation is not supported
11316 enable_fast_install=no
11317 elif test "$shlibpath_overrides_runpath" = yes ||
11318 test "$enable_shared" = no; then
11319 # Fast installation is not necessary
11320 enable_fast_install=needless
11328 if test "x$enable_dlopen" != xyes; then
11329 enable_dlopen=unknown
11330 enable_dlopen_self=unknown
11331 enable_dlopen_self_static=unknown
11338 lt_cv_dlopen="load_add_on"
11340 lt_cv_dlopen_self=yes
11343 mingw* | pw32* | cegcc*)
11344 lt_cv_dlopen="LoadLibrary"
11349 lt_cv_dlopen="dlopen"
11354 # if libdl is installed we need to link against it
11355 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11357 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11358 $as_echo_n "(cached) " >&6
11360 ac_check_lib_save_LIBS=$LIBS
11362 cat >conftest.$ac_ext <<_ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11384 rm -f conftest.$ac_objext conftest$ac_exeext
11385 if { (ac_try="$ac_link"
11386 case "(($ac_try" in
11387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11388 *) ac_try_echo=$ac_try;;
11390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11391 $as_echo "$ac_try_echo") >&5
11392 (eval "$ac_link") 2>conftest.er1
11394 grep -v '^ *+' conftest.er1 >conftest.err
11396 cat conftest.err >&5
11397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } && {
11399 test -z "$ac_c_werror_flag" ||
11400 test ! -s conftest.err
11401 } && test -s conftest$ac_exeext && {
11402 test "$cross_compiling" = yes ||
11403 $as_test_x conftest$ac_exeext
11405 ac_cv_lib_dl_dlopen=yes
11407 $as_echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11410 ac_cv_lib_dl_dlopen=no
11413 rm -rf conftest.dSYM
11414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11420 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11421 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 lt_cv_dlopen="dyld"
11426 lt_cv_dlopen_self=yes
11433 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11434 $as_echo_n "checking for shl_load... " >&6; }
11435 if test "${ac_cv_func_shl_load+set}" = set; then
11436 $as_echo_n "(cached) " >&6
11438 cat >conftest.$ac_ext <<_ACEOF
11441 cat confdefs.h >>conftest.$ac_ext
11442 cat >>conftest.$ac_ext <<_ACEOF
11443 /* end confdefs.h. */
11444 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11446 #define shl_load innocuous_shl_load
11448 /* System header to define __stub macros and hopefully few prototypes,
11449 which can conflict with char shl_load (); below.
11450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11451 <limits.h> exists even on freestanding compilers. */
11454 # include <limits.h>
11456 # include <assert.h>
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11468 /* The GNU C library defines this for functions which it implements
11469 to always fail with ENOSYS. Some functions are actually named
11470 something starting with __ and the normal name is an alias. */
11471 #if defined __stub_shl_load || defined __stub___shl_load
11478 return shl_load ();
11483 rm -f conftest.$ac_objext conftest$ac_exeext
11484 if { (ac_try="$ac_link"
11485 case "(($ac_try" in
11486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11487 *) ac_try_echo=$ac_try;;
11489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11490 $as_echo "$ac_try_echo") >&5
11491 (eval "$ac_link") 2>conftest.er1
11493 grep -v '^ *+' conftest.er1 >conftest.err
11495 cat conftest.err >&5
11496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } && {
11498 test -z "$ac_c_werror_flag" ||
11499 test ! -s conftest.err
11500 } && test -s conftest$ac_exeext && {
11501 test "$cross_compiling" = yes ||
11502 $as_test_x conftest$ac_exeext
11504 ac_cv_func_shl_load=yes
11506 $as_echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11509 ac_cv_func_shl_load=no
11512 rm -rf conftest.dSYM
11513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11514 conftest$ac_exeext conftest.$ac_ext
11516 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11517 $as_echo "$ac_cv_func_shl_load" >&6; }
11518 if test "x$ac_cv_func_shl_load" = x""yes; then
11519 lt_cv_dlopen="shl_load"
11521 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11522 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11524 $as_echo_n "(cached) " >&6
11526 ac_check_lib_save_LIBS=$LIBS
11528 cat >conftest.$ac_ext <<_ACEOF
11531 cat confdefs.h >>conftest.$ac_ext
11532 cat >>conftest.$ac_ext <<_ACEOF
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11545 return shl_load ();
11550 rm -f conftest.$ac_objext conftest$ac_exeext
11551 if { (ac_try="$ac_link"
11552 case "(($ac_try" in
11553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11554 *) ac_try_echo=$ac_try;;
11556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11557 $as_echo "$ac_try_echo") >&5
11558 (eval "$ac_link") 2>conftest.er1
11560 grep -v '^ *+' conftest.er1 >conftest.err
11562 cat conftest.err >&5
11563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } && {
11565 test -z "$ac_c_werror_flag" ||
11566 test ! -s conftest.err
11567 } && test -s conftest$ac_exeext && {
11568 test "$cross_compiling" = yes ||
11569 $as_test_x conftest$ac_exeext
11571 ac_cv_lib_dld_shl_load=yes
11573 $as_echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.$ac_ext >&5
11576 ac_cv_lib_dld_shl_load=no
11579 rm -rf conftest.dSYM
11580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_lib_save_LIBS
11584 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11585 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11586 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11587 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11589 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11590 $as_echo_n "checking for dlopen... " >&6; }
11591 if test "${ac_cv_func_dlopen+set}" = set; then
11592 $as_echo_n "(cached) " >&6
11594 cat >conftest.$ac_ext <<_ACEOF
11597 cat confdefs.h >>conftest.$ac_ext
11598 cat >>conftest.$ac_ext <<_ACEOF
11599 /* end confdefs.h. */
11600 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11602 #define dlopen innocuous_dlopen
11604 /* System header to define __stub macros and hopefully few prototypes,
11605 which can conflict with char dlopen (); below.
11606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11607 <limits.h> exists even on freestanding compilers. */
11610 # include <limits.h>
11612 # include <assert.h>
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11624 /* The GNU C library defines this for functions which it implements
11625 to always fail with ENOSYS. Some functions are actually named
11626 something starting with __ and the normal name is an alias. */
11627 #if defined __stub_dlopen || defined __stub___dlopen
11639 rm -f conftest.$ac_objext conftest$ac_exeext
11640 if { (ac_try="$ac_link"
11641 case "(($ac_try" in
11642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11643 *) ac_try_echo=$ac_try;;
11645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11646 $as_echo "$ac_try_echo") >&5
11647 (eval "$ac_link") 2>conftest.er1
11649 grep -v '^ *+' conftest.er1 >conftest.err
11651 cat conftest.err >&5
11652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); } && {
11654 test -z "$ac_c_werror_flag" ||
11655 test ! -s conftest.err
11656 } && test -s conftest$ac_exeext && {
11657 test "$cross_compiling" = yes ||
11658 $as_test_x conftest$ac_exeext
11660 ac_cv_func_dlopen=yes
11662 $as_echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.$ac_ext >&5
11665 ac_cv_func_dlopen=no
11668 rm -rf conftest.dSYM
11669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11670 conftest$ac_exeext conftest.$ac_ext
11672 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11673 $as_echo "$ac_cv_func_dlopen" >&6; }
11674 if test "x$ac_cv_func_dlopen" = x""yes; then
11675 lt_cv_dlopen="dlopen"
11677 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11678 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11679 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11680 $as_echo_n "(cached) " >&6
11682 ac_check_lib_save_LIBS=$LIBS
11684 cat >conftest.$ac_ext <<_ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11706 rm -f conftest.$ac_objext conftest$ac_exeext
11707 if { (ac_try="$ac_link"
11708 case "(($ac_try" in
11709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11710 *) ac_try_echo=$ac_try;;
11712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11713 $as_echo "$ac_try_echo") >&5
11714 (eval "$ac_link") 2>conftest.er1
11716 grep -v '^ *+' conftest.er1 >conftest.err
11718 cat conftest.err >&5
11719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } && {
11721 test -z "$ac_c_werror_flag" ||
11722 test ! -s conftest.err
11723 } && test -s conftest$ac_exeext && {
11724 test "$cross_compiling" = yes ||
11725 $as_test_x conftest$ac_exeext
11727 ac_cv_lib_dl_dlopen=yes
11729 $as_echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11732 ac_cv_lib_dl_dlopen=no
11735 rm -rf conftest.dSYM
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11742 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11743 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11745 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11746 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11747 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11748 $as_echo_n "(cached) " >&6
11750 ac_check_lib_save_LIBS=$LIBS
11751 LIBS="-lsvld $LIBS"
11752 cat >conftest.$ac_ext <<_ACEOF
11755 cat confdefs.h >>conftest.$ac_ext
11756 cat >>conftest.$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11774 rm -f conftest.$ac_objext conftest$ac_exeext
11775 if { (ac_try="$ac_link"
11776 case "(($ac_try" in
11777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778 *) ac_try_echo=$ac_try;;
11780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11781 $as_echo "$ac_try_echo") >&5
11782 (eval "$ac_link") 2>conftest.er1
11784 grep -v '^ *+' conftest.er1 >conftest.err
11786 cat conftest.err >&5
11787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } && {
11789 test -z "$ac_c_werror_flag" ||
11790 test ! -s conftest.err
11791 } && test -s conftest$ac_exeext && {
11792 test "$cross_compiling" = yes ||
11793 $as_test_x conftest$ac_exeext
11795 ac_cv_lib_svld_dlopen=yes
11797 $as_echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11800 ac_cv_lib_svld_dlopen=no
11803 rm -rf conftest.dSYM
11804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11808 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11809 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11810 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11811 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11813 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11814 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11815 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11816 $as_echo_n "(cached) " >&6
11818 ac_check_lib_save_LIBS=$LIBS
11820 cat >conftest.$ac_ext <<_ACEOF
11823 cat confdefs.h >>conftest.$ac_ext
11824 cat >>conftest.$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11837 return dld_link ();
11842 rm -f conftest.$ac_objext conftest$ac_exeext
11843 if { (ac_try="$ac_link"
11844 case "(($ac_try" in
11845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11846 *) ac_try_echo=$ac_try;;
11848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11849 $as_echo "$ac_try_echo") >&5
11850 (eval "$ac_link") 2>conftest.er1
11852 grep -v '^ *+' conftest.er1 >conftest.err
11854 cat conftest.err >&5
11855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } && {
11857 test -z "$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11859 } && test -s conftest$ac_exeext && {
11860 test "$cross_compiling" = yes ||
11861 $as_test_x conftest$ac_exeext
11863 ac_cv_lib_dld_dld_link=yes
11865 $as_echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.$ac_ext >&5
11868 ac_cv_lib_dld_dld_link=no
11871 rm -rf conftest.dSYM
11872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_lib_save_LIBS
11876 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11877 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11878 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11879 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11900 if test "x$lt_cv_dlopen" != xno; then
11906 case $lt_cv_dlopen in
11908 save_CPPFLAGS="$CPPFLAGS"
11909 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11911 save_LDFLAGS="$LDFLAGS"
11912 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11915 LIBS="$lt_cv_dlopen_libs $LIBS"
11917 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11918 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11919 if test "${lt_cv_dlopen_self+set}" = set; then
11920 $as_echo_n "(cached) " >&6
11922 if test "$cross_compiling" = yes; then :
11923 lt_cv_dlopen_self=cross
11925 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11926 lt_status=$lt_dlunknown
11927 cat > conftest.$ac_ext <<_LT_EOF
11928 #line 11928 "configure"
11929 #include "confdefs.h"
11938 # define LT_DLGLOBAL RTLD_GLOBAL
11941 # define LT_DLGLOBAL DL_GLOBAL
11943 # define LT_DLGLOBAL 0
11947 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11948 find out it does not work in some platform. */
11949 #ifndef LT_DLLAZY_OR_NOW
11951 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11954 # define LT_DLLAZY_OR_NOW DL_LAZY
11957 # define LT_DLLAZY_OR_NOW RTLD_NOW
11960 # define LT_DLLAZY_OR_NOW DL_NOW
11962 # define LT_DLLAZY_OR_NOW 0
11969 void fnord() { int i=42;}
11972 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11973 int status = $lt_dlunknown;
11977 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11978 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11979 /* dlclose (self); */
11987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11988 (eval $ac_link) 2>&5
11990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11992 (./conftest; exit; ) >&5 2>/dev/null
11994 case x$lt_status in
11995 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11996 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11997 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12000 # compilation failed
12001 lt_cv_dlopen_self=no
12008 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12009 $as_echo "$lt_cv_dlopen_self" >&6; }
12011 if test "x$lt_cv_dlopen_self" = xyes; then
12012 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12013 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12014 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12015 if test "${lt_cv_dlopen_self_static+set}" = set; then
12016 $as_echo_n "(cached) " >&6
12018 if test "$cross_compiling" = yes; then :
12019 lt_cv_dlopen_self_static=cross
12021 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12022 lt_status=$lt_dlunknown
12023 cat > conftest.$ac_ext <<_LT_EOF
12024 #line 12024 "configure"
12025 #include "confdefs.h"
12034 # define LT_DLGLOBAL RTLD_GLOBAL
12037 # define LT_DLGLOBAL DL_GLOBAL
12039 # define LT_DLGLOBAL 0
12043 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12044 find out it does not work in some platform. */
12045 #ifndef LT_DLLAZY_OR_NOW
12047 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12050 # define LT_DLLAZY_OR_NOW DL_LAZY
12053 # define LT_DLLAZY_OR_NOW RTLD_NOW
12056 # define LT_DLLAZY_OR_NOW DL_NOW
12058 # define LT_DLLAZY_OR_NOW 0
12065 void fnord() { int i=42;}
12068 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12069 int status = $lt_dlunknown;
12073 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12074 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12075 /* dlclose (self); */
12083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12084 (eval $ac_link) 2>&5
12086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12088 (./conftest; exit; ) >&5 2>/dev/null
12090 case x$lt_status in
12091 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12092 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12093 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12096 # compilation failed
12097 lt_cv_dlopen_self_static=no
12104 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12105 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12108 CPPFLAGS="$save_CPPFLAGS"
12109 LDFLAGS="$save_LDFLAGS"
12114 case $lt_cv_dlopen_self in
12115 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12116 *) enable_dlopen_self=unknown ;;
12119 case $lt_cv_dlopen_self_static in
12120 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12121 *) enable_dlopen_self_static=unknown ;;
12143 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12144 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12145 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12146 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12147 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12148 { $as_echo "$as_me:$LINENO: result: yes" >&5
12149 $as_echo "yes" >&6; }
12151 # FIXME - insert some real tests, host_os isn't really good enough
12154 if test -n "$STRIP" ; then
12155 striplib="$STRIP -x"
12156 old_striplib="$STRIP -S"
12157 { $as_echo "$as_me:$LINENO: result: yes" >&5
12158 $as_echo "yes" >&6; }
12160 { $as_echo "$as_me:$LINENO: result: no" >&5
12161 $as_echo "no" >&6; }
12165 { $as_echo "$as_me:$LINENO: result: no" >&5
12166 $as_echo "no" >&6; }
12182 # Report which library types will actually be built
12183 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12184 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12185 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12186 $as_echo "$can_build_shared" >&6; }
12188 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12189 $as_echo_n "checking whether to build shared libraries... " >&6; }
12190 test "$can_build_shared" = "no" && enable_shared=no
12192 # On AIX, shared libraries and static libraries use the same namespace, and
12193 # are all built from PIC.
12196 test "$enable_shared" = yes && enable_static=no
12197 if test -n "$RANLIB"; then
12198 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12199 postinstall_cmds='$RANLIB $lib'
12204 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12205 test "$enable_shared" = yes && enable_static=no
12209 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12210 $as_echo "$enable_shared" >&6; }
12212 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12213 $as_echo_n "checking whether to build static libraries... " >&6; }
12214 # Make sure either enable_shared or enable_static is yes.
12215 test "$enable_shared" = yes || enable_static=yes
12216 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12217 $as_echo "$enable_static" >&6; }
12224 ac_cpp='$CPP $CPPFLAGS'
12225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12243 ac_config_commands="$ac_config_commands libtool"
12248 # Only expand once:
12252 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
12253 $as_echo_n "checking for library containing strerror... " >&6; }
12254 if test "${ac_cv_search_strerror+set}" = set; then
12255 $as_echo_n "(cached) " >&6
12257 ac_func_search_save_LIBS=$LIBS
12258 cat >conftest.$ac_ext <<_ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12275 return strerror ();
12280 for ac_lib in '' cposix; do
12281 if test -z "$ac_lib"; then
12282 ac_res="none required"
12285 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12287 rm -f conftest.$ac_objext conftest$ac_exeext
12288 if { (ac_try="$ac_link"
12289 case "(($ac_try" in
12290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12291 *) ac_try_echo=$ac_try;;
12293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12294 $as_echo "$ac_try_echo") >&5
12295 (eval "$ac_link") 2>conftest.er1
12297 grep -v '^ *+' conftest.er1 >conftest.err
12299 cat conftest.err >&5
12300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); } && {
12302 test -z "$ac_c_werror_flag" ||
12303 test ! -s conftest.err
12304 } && test -s conftest$ac_exeext && {
12305 test "$cross_compiling" = yes ||
12306 $as_test_x conftest$ac_exeext
12308 ac_cv_search_strerror=$ac_res
12310 $as_echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12316 rm -rf conftest.dSYM
12317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12319 if test "${ac_cv_search_strerror+set}" = set; then
12323 if test "${ac_cv_search_strerror+set}" = set; then
12326 ac_cv_search_strerror=no
12328 rm conftest.$ac_ext
12329 LIBS=$ac_func_search_save_LIBS
12331 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
12332 $as_echo "$ac_cv_search_strerror" >&6; }
12333 ac_res=$ac_cv_search_strerror
12334 if test "$ac_res" != no; then
12335 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12340 ac_cpp='$CPP $CPPFLAGS'
12341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12344 if test -n "$ac_tool_prefix"; then
12345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 $as_echo_n "checking for $ac_word... " >&6; }
12349 if test "${ac_cv_prog_CC+set}" = set; then
12350 $as_echo_n "(cached) " >&6
12352 if test -n "$CC"; then
12353 ac_cv_prog_CC="$CC" # Let the user override the test.
12355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12356 for as_dir in $PATH
12359 test -z "$as_dir" && as_dir=.
12360 for ac_exec_ext in '' $ac_executable_extensions; do
12361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12373 if test -n "$CC"; then
12374 { $as_echo "$as_me:$LINENO: result: $CC" >&5
12375 $as_echo "$CC" >&6; }
12377 { $as_echo "$as_me:$LINENO: result: no" >&5
12378 $as_echo "no" >&6; }
12383 if test -z "$ac_cv_prog_CC"; then
12385 # Extract the first word of "gcc", so it can be a program name with args.
12386 set dummy gcc; ac_word=$2
12387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12390 $as_echo_n "(cached) " >&6
12392 if test -n "$ac_ct_CC"; then
12393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12396 for as_dir in $PATH
12399 test -z "$as_dir" && as_dir=.
12400 for ac_exec_ext in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_prog_ac_ct_CC="gcc"
12403 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12413 if test -n "$ac_ct_CC"; then
12414 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12415 $as_echo "$ac_ct_CC" >&6; }
12417 { $as_echo "$as_me:$LINENO: result: no" >&5
12418 $as_echo "no" >&6; }
12421 if test "x$ac_ct_CC" = x; then
12424 case $cross_compiling:$ac_tool_warned in
12426 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12428 ac_tool_warned=yes ;;
12433 CC="$ac_cv_prog_CC"
12436 if test -z "$CC"; then
12437 if test -n "$ac_tool_prefix"; then
12438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12439 set dummy ${ac_tool_prefix}cc; ac_word=$2
12440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12441 $as_echo_n "checking for $ac_word... " >&6; }
12442 if test "${ac_cv_prog_CC+set}" = set; then
12443 $as_echo_n "(cached) " >&6
12445 if test -n "$CC"; then
12446 ac_cv_prog_CC="$CC" # Let the user override the test.
12448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12449 for as_dir in $PATH
12452 test -z "$as_dir" && as_dir=.
12453 for ac_exec_ext in '' $ac_executable_extensions; do
12454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12455 ac_cv_prog_CC="${ac_tool_prefix}cc"
12456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12466 if test -n "$CC"; then
12467 { $as_echo "$as_me:$LINENO: result: $CC" >&5
12468 $as_echo "$CC" >&6; }
12470 { $as_echo "$as_me:$LINENO: result: no" >&5
12471 $as_echo "no" >&6; }
12477 if test -z "$CC"; then
12478 # Extract the first word of "cc", so it can be a program name with args.
12479 set dummy cc; ac_word=$2
12480 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12481 $as_echo_n "checking for $ac_word... " >&6; }
12482 if test "${ac_cv_prog_CC+set}" = set; then
12483 $as_echo_n "(cached) " >&6
12485 if test -n "$CC"; then
12486 ac_cv_prog_CC="$CC" # Let the user override the test.
12488 ac_prog_rejected=no
12489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12490 for as_dir in $PATH
12493 test -z "$as_dir" && as_dir=.
12494 for ac_exec_ext in '' $ac_executable_extensions; do
12495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12497 ac_prog_rejected=yes
12501 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12508 if test $ac_prog_rejected = yes; then
12509 # We found a bogon in the path, so make sure we never use it.
12510 set dummy $ac_cv_prog_CC
12512 if test $# != 0; then
12513 # We chose a different compiler from the bogus one.
12514 # However, it has the same basename, so the bogon will be chosen
12515 # first if we set CC to just the basename; use the full file name.
12517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12523 if test -n "$CC"; then
12524 { $as_echo "$as_me:$LINENO: result: $CC" >&5
12525 $as_echo "$CC" >&6; }
12527 { $as_echo "$as_me:$LINENO: result: no" >&5
12528 $as_echo "no" >&6; }
12533 if test -z "$CC"; then
12534 if test -n "$ac_tool_prefix"; then
12535 for ac_prog in cl.exe
12537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12539 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12540 $as_echo_n "checking for $ac_word... " >&6; }
12541 if test "${ac_cv_prog_CC+set}" = set; then
12542 $as_echo_n "(cached) " >&6
12544 if test -n "$CC"; then
12545 ac_cv_prog_CC="$CC" # Let the user override the test.
12547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12548 for as_dir in $PATH
12551 test -z "$as_dir" && as_dir=.
12552 for ac_exec_ext in '' $ac_executable_extensions; do
12553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12555 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12565 if test -n "$CC"; then
12566 { $as_echo "$as_me:$LINENO: result: $CC" >&5
12567 $as_echo "$CC" >&6; }
12569 { $as_echo "$as_me:$LINENO: result: no" >&5
12570 $as_echo "no" >&6; }
12574 test -n "$CC" && break
12577 if test -z "$CC"; then
12579 for ac_prog in cl.exe
12581 # Extract the first word of "$ac_prog", so it can be a program name with args.
12582 set dummy $ac_prog; ac_word=$2
12583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12584 $as_echo_n "checking for $ac_word... " >&6; }
12585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12586 $as_echo_n "(cached) " >&6
12588 if test -n "$ac_ct_CC"; then
12589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12592 for as_dir in $PATH
12595 test -z "$as_dir" && as_dir=.
12596 for ac_exec_ext in '' $ac_executable_extensions; do
12597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12598 ac_cv_prog_ac_ct_CC="$ac_prog"
12599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12609 if test -n "$ac_ct_CC"; then
12610 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12611 $as_echo "$ac_ct_CC" >&6; }
12613 { $as_echo "$as_me:$LINENO: result: no" >&5
12614 $as_echo "no" >&6; }
12618 test -n "$ac_ct_CC" && break
12621 if test "x$ac_ct_CC" = x; then
12624 case $cross_compiling:$ac_tool_warned in
12626 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12628 ac_tool_warned=yes ;;
12637 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12640 See \`config.log' for more details." >&5
12641 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12642 See \`config.log' for more details." >&2;}
12643 { (exit 1); exit 1; }; }; }
12645 # Provide some information about the compiler.
12646 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
12649 { (ac_try="$ac_compiler --version >&5"
12650 case "(($ac_try" in
12651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652 *) ac_try_echo=$ac_try;;
12654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12655 $as_echo "$ac_try_echo") >&5
12656 (eval "$ac_compiler --version >&5") 2>&5
12658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }
12660 { (ac_try="$ac_compiler -v >&5"
12661 case "(($ac_try" in
12662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12663 *) ac_try_echo=$ac_try;;
12665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12666 $as_echo "$ac_try_echo") >&5
12667 (eval "$ac_compiler -v >&5") 2>&5
12669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }
12671 { (ac_try="$ac_compiler -V >&5"
12672 case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12677 $as_echo "$ac_try_echo") >&5
12678 (eval "$ac_compiler -V >&5") 2>&5
12680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }
12683 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12684 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12685 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12686 $as_echo_n "(cached) " >&6
12688 cat >conftest.$ac_ext <<_ACEOF
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12706 rm -f conftest.$ac_objext
12707 if { (ac_try="$ac_compile"
12708 case "(($ac_try" in
12709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12710 *) ac_try_echo=$ac_try;;
12712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12713 $as_echo "$ac_try_echo") >&5
12714 (eval "$ac_compile") 2>conftest.er1
12716 grep -v '^ *+' conftest.er1 >conftest.err
12718 cat conftest.err >&5
12719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } && {
12721 test -z "$ac_c_werror_flag" ||
12722 test ! -s conftest.err
12723 } && test -s conftest.$ac_objext; then
12724 ac_compiler_gnu=yes
12726 $as_echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12733 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12736 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12737 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12738 if test $ac_compiler_gnu = yes; then
12743 ac_test_CFLAGS=${CFLAGS+set}
12744 ac_save_CFLAGS=$CFLAGS
12745 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12746 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12747 if test "${ac_cv_prog_cc_g+set}" = set; then
12748 $as_echo_n "(cached) " >&6
12750 ac_save_c_werror_flag=$ac_c_werror_flag
12751 ac_c_werror_flag=yes
12754 cat >conftest.$ac_ext <<_ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12769 rm -f conftest.$ac_objext
12770 if { (ac_try="$ac_compile"
12771 case "(($ac_try" in
12772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12773 *) ac_try_echo=$ac_try;;
12775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12776 $as_echo "$ac_try_echo") >&5
12777 (eval "$ac_compile") 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } && {
12784 test -z "$ac_c_werror_flag" ||
12785 test ! -s conftest.err
12786 } && test -s conftest.$ac_objext; then
12787 ac_cv_prog_cc_g=yes
12789 $as_echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.$ac_ext >&5
12793 cat >conftest.$ac_ext <<_ACEOF
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12808 rm -f conftest.$ac_objext
12809 if { (ac_try="$ac_compile"
12810 case "(($ac_try" in
12811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12812 *) ac_try_echo=$ac_try;;
12814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12815 $as_echo "$ac_try_echo") >&5
12816 (eval "$ac_compile") 2>conftest.er1
12818 grep -v '^ *+' conftest.er1 >conftest.err
12820 cat conftest.err >&5
12821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } && {
12823 test -z "$ac_c_werror_flag" ||
12824 test ! -s conftest.err
12825 } && test -s conftest.$ac_objext; then
12828 $as_echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12831 ac_c_werror_flag=$ac_save_c_werror_flag
12833 cat >conftest.$ac_ext <<_ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12848 rm -f conftest.$ac_objext
12849 if { (ac_try="$ac_compile"
12850 case "(($ac_try" in
12851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12852 *) ac_try_echo=$ac_try;;
12854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12855 $as_echo "$ac_try_echo") >&5
12856 (eval "$ac_compile") 2>conftest.er1
12858 grep -v '^ *+' conftest.er1 >conftest.err
12860 cat conftest.err >&5
12861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); } && {
12863 test -z "$ac_c_werror_flag" ||
12864 test ! -s conftest.err
12865 } && test -s conftest.$ac_objext; then
12866 ac_cv_prog_cc_g=yes
12868 $as_echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12881 ac_c_werror_flag=$ac_save_c_werror_flag
12883 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12884 $as_echo "$ac_cv_prog_cc_g" >&6; }
12885 if test "$ac_test_CFLAGS" = set; then
12886 CFLAGS=$ac_save_CFLAGS
12887 elif test $ac_cv_prog_cc_g = yes; then
12888 if test "$GCC" = yes; then
12894 if test "$GCC" = yes; then
12900 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12901 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12902 if test "${ac_cv_prog_cc_c89+set}" = set; then
12903 $as_echo_n "(cached) " >&6
12905 ac_cv_prog_cc_c89=no
12907 cat >conftest.$ac_ext <<_ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12913 #include <stdarg.h>
12915 #include <sys/types.h>
12916 #include <sys/stat.h>
12917 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12918 struct buf { int x; };
12919 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12920 static char *e (p, i)
12926 static char *f (char * (*g) (char **, int), char **p, ...)
12931 s = g (p, va_arg (v,int));
12936 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12937 function prototypes and stuff, but not '\xHH' hex character constants.
12938 These don't provoke an error unfortunately, instead are silently treated
12939 as 'x'. The following induces an error, until -std is added to get
12940 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12941 array size at least. It's necessary to write '\x00'==0 to get something
12942 that's true only with -std. */
12943 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12945 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12946 inside strings and character constants. */
12948 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12950 int test (int i, double x);
12951 struct s1 {int (*f) (int a);};
12952 struct s2 {int (*f) (double a);};
12953 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12959 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12964 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12965 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12967 CC="$ac_save_CC $ac_arg"
12968 rm -f conftest.$ac_objext
12969 if { (ac_try="$ac_compile"
12970 case "(($ac_try" in
12971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12972 *) ac_try_echo=$ac_try;;
12974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12975 $as_echo "$ac_try_echo") >&5
12976 (eval "$ac_compile") 2>conftest.er1
12978 grep -v '^ *+' conftest.er1 >conftest.err
12980 cat conftest.err >&5
12981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } && {
12983 test -z "$ac_c_werror_flag" ||
12984 test ! -s conftest.err
12985 } && test -s conftest.$ac_objext; then
12986 ac_cv_prog_cc_c89=$ac_arg
12988 $as_echo "$as_me: failed program was:" >&5
12989 sed 's/^/| /' conftest.$ac_ext >&5
12994 rm -f core conftest.err conftest.$ac_objext
12995 test "x$ac_cv_prog_cc_c89" != "xno" && break
12997 rm -f conftest.$ac_ext
13002 case "x$ac_cv_prog_cc_c89" in
13004 { $as_echo "$as_me:$LINENO: result: none needed" >&5
13005 $as_echo "none needed" >&6; } ;;
13007 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13008 $as_echo "unsupported" >&6; } ;;
13010 CC="$CC $ac_cv_prog_cc_c89"
13011 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13012 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13017 ac_cpp='$CPP $CPPFLAGS'
13018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13022 depcc="$CC" am_compiler_list=
13024 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13025 $as_echo_n "checking dependency style of $depcc... " >&6; }
13026 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13027 $as_echo_n "(cached) " >&6
13029 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13030 # We make a subdir and do the tests there. Otherwise we can end up
13031 # making bogus files that we don't know about and never remove. For
13032 # instance it was reported that on HP-UX the gcc test will end up
13033 # making a dummy file named `D' -- because `-MD' means `put the output
13036 # Copy depcomp to subdir because otherwise we won't find it if we're
13037 # using a relative directory.
13038 cp "$am_depcomp" conftest.dir
13040 # We will build objects and dependencies in a subdirectory because
13041 # it helps to detect inapplicable dependency modes. For instance
13042 # both Tru64's cc and ICC support -MD to output dependencies as a
13043 # side effect of compilation, but ICC will put the dependencies in
13044 # the current directory while Tru64 will put them in the object
13048 am_cv_CC_dependencies_compiler_type=none
13049 if test "$am_compiler_list" = ""; then
13050 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13052 am__universal=false
13053 case " $depcc " in #(
13054 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13057 for depmode in $am_compiler_list; do
13058 # Setup a source with many dependencies, because some compilers
13059 # like to wrap large dependency lists on column 80 (with \), and
13060 # we should not choose a depcomp mode which is confused by this.
13062 # We need to recreate these files for each test, as the compiler may
13063 # overwrite some of them when testing with obscure command lines.
13064 # This happens at least with the AIX C compiler.
13066 for i in 1 2 3 4 5 6; do
13067 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13068 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13069 # Solaris 8's {/usr,}/bin/sh.
13070 touch sub/conftst$i.h
13072 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13074 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13075 # mode. It turns out that the SunPro C++ compiler does not properly
13076 # handle `-M -o', and we need to detect this. Also, some Intel
13077 # versions had trouble with output in subdirs
13078 am__obj=sub/conftest.${OBJEXT-o}
13079 am__minus_obj="-o $am__obj"
13082 # This depmode causes a compiler race in universal mode.
13083 test "$am__universal" = false || continue
13086 # after this tag, mechanisms are not by side-effect, so they'll
13087 # only be used when explicitly requested
13088 if test "x$enable_dependency_tracking" = xyes; then
13094 msvisualcpp | msvcmsys)
13095 # This compiler won't grok `-c -o', but also, the minuso test has
13096 # not run yet. These depmodes are late enough in the game, and
13097 # so weak that their functioning should not be impacted.
13098 am__obj=conftest.${OBJEXT-o}
13103 if depmode=$depmode \
13104 source=sub/conftest.c object=$am__obj \
13105 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13106 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13107 >/dev/null 2>conftest.err &&
13108 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13109 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13110 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13111 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13112 # icc doesn't choke on unknown options, it will just issue warnings
13113 # or remarks (even with -Werror). So we grep stderr for any message
13114 # that says an option was ignored or not supported.
13115 # When given -MP, icc 7.0 and 7.1 complain thusly:
13116 # icc: Command line warning: ignoring option '-M'; no argument required
13117 # The diagnosis changed in icc 8.0:
13118 # icc: Command line remark: option '-MP' not supported
13119 if (grep 'ignoring option' conftest.err ||
13120 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13121 am_cv_CC_dependencies_compiler_type=$depmode
13128 rm -rf conftest.dir
13130 am_cv_CC_dependencies_compiler_type=none
13134 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13135 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13136 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13139 test "x$enable_dependency_tracking" != xno \
13140 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13141 am__fastdepCC_TRUE=
13142 am__fastdepCC_FALSE='#'
13144 am__fastdepCC_TRUE='#'
13145 am__fastdepCC_FALSE=
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13154 if test -n "$ac_tool_prefix"; then
13155 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13156 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13158 $as_echo_n "checking for $ac_word... " >&6; }
13159 if test "${ac_cv_prog_CC+set}" = set; then
13160 $as_echo_n "(cached) " >&6
13162 if test -n "$CC"; then
13163 ac_cv_prog_CC="$CC" # Let the user override the test.
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13169 test -z "$as_dir" && as_dir=.
13170 for ac_exec_ext in '' $ac_executable_extensions; do
13171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13172 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13173 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13183 if test -n "$CC"; then
13184 { $as_echo "$as_me:$LINENO: result: $CC" >&5
13185 $as_echo "$CC" >&6; }
13187 { $as_echo "$as_me:$LINENO: result: no" >&5
13188 $as_echo "no" >&6; }
13193 if test -z "$ac_cv_prog_CC"; then
13195 # Extract the first word of "gcc", so it can be a program name with args.
13196 set dummy gcc; ac_word=$2
13197 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13198 $as_echo_n "checking for $ac_word... " >&6; }
13199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13200 $as_echo_n "(cached) " >&6
13202 if test -n "$ac_ct_CC"; then
13203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13206 for as_dir in $PATH
13209 test -z "$as_dir" && as_dir=.
13210 for ac_exec_ext in '' $ac_executable_extensions; do
13211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13212 ac_cv_prog_ac_ct_CC="gcc"
13213 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13223 if test -n "$ac_ct_CC"; then
13224 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13225 $as_echo "$ac_ct_CC" >&6; }
13227 { $as_echo "$as_me:$LINENO: result: no" >&5
13228 $as_echo "no" >&6; }
13231 if test "x$ac_ct_CC" = x; then
13234 case $cross_compiling:$ac_tool_warned in
13236 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13238 ac_tool_warned=yes ;;
13243 CC="$ac_cv_prog_CC"
13246 if test -z "$CC"; then
13247 if test -n "$ac_tool_prefix"; then
13248 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13249 set dummy ${ac_tool_prefix}cc; ac_word=$2
13250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13251 $as_echo_n "checking for $ac_word... " >&6; }
13252 if test "${ac_cv_prog_CC+set}" = set; then
13253 $as_echo_n "(cached) " >&6
13255 if test -n "$CC"; then
13256 ac_cv_prog_CC="$CC" # Let the user override the test.
13258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13259 for as_dir in $PATH
13262 test -z "$as_dir" && as_dir=.
13263 for ac_exec_ext in '' $ac_executable_extensions; do
13264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13265 ac_cv_prog_CC="${ac_tool_prefix}cc"
13266 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13276 if test -n "$CC"; then
13277 { $as_echo "$as_me:$LINENO: result: $CC" >&5
13278 $as_echo "$CC" >&6; }
13280 { $as_echo "$as_me:$LINENO: result: no" >&5
13281 $as_echo "no" >&6; }
13287 if test -z "$CC"; then
13288 # Extract the first word of "cc", so it can be a program name with args.
13289 set dummy cc; ac_word=$2
13290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13291 $as_echo_n "checking for $ac_word... " >&6; }
13292 if test "${ac_cv_prog_CC+set}" = set; then
13293 $as_echo_n "(cached) " >&6
13295 if test -n "$CC"; then
13296 ac_cv_prog_CC="$CC" # Let the user override the test.
13298 ac_prog_rejected=no
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13303 test -z "$as_dir" && as_dir=.
13304 for ac_exec_ext in '' $ac_executable_extensions; do
13305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13306 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13307 ac_prog_rejected=yes
13311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13318 if test $ac_prog_rejected = yes; then
13319 # We found a bogon in the path, so make sure we never use it.
13320 set dummy $ac_cv_prog_CC
13322 if test $# != 0; then
13323 # We chose a different compiler from the bogus one.
13324 # However, it has the same basename, so the bogon will be chosen
13325 # first if we set CC to just the basename; use the full file name.
13327 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13333 if test -n "$CC"; then
13334 { $as_echo "$as_me:$LINENO: result: $CC" >&5
13335 $as_echo "$CC" >&6; }
13337 { $as_echo "$as_me:$LINENO: result: no" >&5
13338 $as_echo "no" >&6; }
13343 if test -z "$CC"; then
13344 if test -n "$ac_tool_prefix"; then
13345 for ac_prog in cl.exe
13347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13350 $as_echo_n "checking for $ac_word... " >&6; }
13351 if test "${ac_cv_prog_CC+set}" = set; then
13352 $as_echo_n "(cached) " >&6
13354 if test -n "$CC"; then
13355 ac_cv_prog_CC="$CC" # Let the user override the test.
13357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13358 for as_dir in $PATH
13361 test -z "$as_dir" && as_dir=.
13362 for ac_exec_ext in '' $ac_executable_extensions; do
13363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13364 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13365 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13375 if test -n "$CC"; then
13376 { $as_echo "$as_me:$LINENO: result: $CC" >&5
13377 $as_echo "$CC" >&6; }
13379 { $as_echo "$as_me:$LINENO: result: no" >&5
13380 $as_echo "no" >&6; }
13384 test -n "$CC" && break
13387 if test -z "$CC"; then
13389 for ac_prog in cl.exe
13391 # Extract the first word of "$ac_prog", so it can be a program name with args.
13392 set dummy $ac_prog; ac_word=$2
13393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13394 $as_echo_n "checking for $ac_word... " >&6; }
13395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13396 $as_echo_n "(cached) " >&6
13398 if test -n "$ac_ct_CC"; then
13399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13402 for as_dir in $PATH
13405 test -z "$as_dir" && as_dir=.
13406 for ac_exec_ext in '' $ac_executable_extensions; do
13407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13408 ac_cv_prog_ac_ct_CC="$ac_prog"
13409 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13419 if test -n "$ac_ct_CC"; then
13420 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13421 $as_echo "$ac_ct_CC" >&6; }
13423 { $as_echo "$as_me:$LINENO: result: no" >&5
13424 $as_echo "no" >&6; }
13428 test -n "$ac_ct_CC" && break
13431 if test "x$ac_ct_CC" = x; then
13434 case $cross_compiling:$ac_tool_warned in
13436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13438 ac_tool_warned=yes ;;
13447 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13449 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13450 See \`config.log' for more details." >&5
13451 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
13452 See \`config.log' for more details." >&2;}
13453 { (exit 1); exit 1; }; }; }
13455 # Provide some information about the compiler.
13456 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
13459 { (ac_try="$ac_compiler --version >&5"
13460 case "(($ac_try" in
13461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13465 $as_echo "$ac_try_echo") >&5
13466 (eval "$ac_compiler --version >&5") 2>&5
13468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }
13470 { (ac_try="$ac_compiler -v >&5"
13471 case "(($ac_try" in
13472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13473 *) ac_try_echo=$ac_try;;
13475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13476 $as_echo "$ac_try_echo") >&5
13477 (eval "$ac_compiler -v >&5") 2>&5
13479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }
13481 { (ac_try="$ac_compiler -V >&5"
13482 case "(($ac_try" in
13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13487 $as_echo "$ac_try_echo") >&5
13488 (eval "$ac_compiler -V >&5") 2>&5
13490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }
13493 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13494 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13495 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13496 $as_echo_n "(cached) " >&6
13498 cat >conftest.$ac_ext <<_ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13516 rm -f conftest.$ac_objext
13517 if { (ac_try="$ac_compile"
13518 case "(($ac_try" in
13519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13520 *) ac_try_echo=$ac_try;;
13522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13523 $as_echo "$ac_try_echo") >&5
13524 (eval "$ac_compile") 2>conftest.er1
13526 grep -v '^ *+' conftest.er1 >conftest.err
13528 cat conftest.err >&5
13529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } && {
13531 test -z "$ac_c_werror_flag" ||
13532 test ! -s conftest.err
13533 } && test -s conftest.$ac_objext; then
13534 ac_compiler_gnu=yes
13536 $as_echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13543 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13546 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13547 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13548 if test $ac_compiler_gnu = yes; then
13553 ac_test_CFLAGS=${CFLAGS+set}
13554 ac_save_CFLAGS=$CFLAGS
13555 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13556 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13557 if test "${ac_cv_prog_cc_g+set}" = set; then
13558 $as_echo_n "(cached) " >&6
13560 ac_save_c_werror_flag=$ac_c_werror_flag
13561 ac_c_werror_flag=yes
13564 cat >conftest.$ac_ext <<_ACEOF
13567 cat confdefs.h >>conftest.$ac_ext
13568 cat >>conftest.$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13579 rm -f conftest.$ac_objext
13580 if { (ac_try="$ac_compile"
13581 case "(($ac_try" in
13582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13583 *) ac_try_echo=$ac_try;;
13585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13586 $as_echo "$ac_try_echo") >&5
13587 (eval "$ac_compile") 2>conftest.er1
13589 grep -v '^ *+' conftest.er1 >conftest.err
13591 cat conftest.err >&5
13592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } && {
13594 test -z "$ac_c_werror_flag" ||
13595 test ! -s conftest.err
13596 } && test -s conftest.$ac_objext; then
13597 ac_cv_prog_cc_g=yes
13599 $as_echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13603 cat >conftest.$ac_ext <<_ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13618 rm -f conftest.$ac_objext
13619 if { (ac_try="$ac_compile"
13620 case "(($ac_try" in
13621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13625 $as_echo "$ac_try_echo") >&5
13626 (eval "$ac_compile") 2>conftest.er1
13628 grep -v '^ *+' conftest.er1 >conftest.err
13630 cat conftest.err >&5
13631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } && {
13633 test -z "$ac_c_werror_flag" ||
13634 test ! -s conftest.err
13635 } && test -s conftest.$ac_objext; then
13638 $as_echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13641 ac_c_werror_flag=$ac_save_c_werror_flag
13643 cat >conftest.$ac_ext <<_ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13658 rm -f conftest.$ac_objext
13659 if { (ac_try="$ac_compile"
13660 case "(($ac_try" in
13661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13662 *) ac_try_echo=$ac_try;;
13664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13665 $as_echo "$ac_try_echo") >&5
13666 (eval "$ac_compile") 2>conftest.er1
13668 grep -v '^ *+' conftest.er1 >conftest.err
13670 cat conftest.err >&5
13671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } && {
13673 test -z "$ac_c_werror_flag" ||
13674 test ! -s conftest.err
13675 } && test -s conftest.$ac_objext; then
13676 ac_cv_prog_cc_g=yes
13678 $as_echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13691 ac_c_werror_flag=$ac_save_c_werror_flag
13693 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13694 $as_echo "$ac_cv_prog_cc_g" >&6; }
13695 if test "$ac_test_CFLAGS" = set; then
13696 CFLAGS=$ac_save_CFLAGS
13697 elif test $ac_cv_prog_cc_g = yes; then
13698 if test "$GCC" = yes; then
13704 if test "$GCC" = yes; then
13710 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13712 if test "${ac_cv_prog_cc_c89+set}" = set; then
13713 $as_echo_n "(cached) " >&6
13715 ac_cv_prog_cc_c89=no
13717 cat >conftest.$ac_ext <<_ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #include <stdarg.h>
13725 #include <sys/types.h>
13726 #include <sys/stat.h>
13727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13728 struct buf { int x; };
13729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13730 static char *e (p, i)
13736 static char *f (char * (*g) (char **, int), char **p, ...)
13741 s = g (p, va_arg (v,int));
13746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13747 function prototypes and stuff, but not '\xHH' hex character constants.
13748 These don't provoke an error unfortunately, instead are silently treated
13749 as 'x'. The following induces an error, until -std is added to get
13750 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13751 array size at least. It's necessary to write '\x00'==0 to get something
13752 that's true only with -std. */
13753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13756 inside strings and character constants. */
13758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13760 int test (int i, double x);
13761 struct s1 {int (*f) (int a);};
13762 struct s2 {int (*f) (double a);};
13763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13775 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13777 CC="$ac_save_CC $ac_arg"
13778 rm -f conftest.$ac_objext
13779 if { (ac_try="$ac_compile"
13780 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13785 $as_echo "$ac_try_echo") >&5
13786 (eval "$ac_compile") 2>conftest.er1
13788 grep -v '^ *+' conftest.er1 >conftest.err
13790 cat conftest.err >&5
13791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } && {
13793 test -z "$ac_c_werror_flag" ||
13794 test ! -s conftest.err
13795 } && test -s conftest.$ac_objext; then
13796 ac_cv_prog_cc_c89=$ac_arg
13798 $as_echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13804 rm -f core conftest.err conftest.$ac_objext
13805 test "x$ac_cv_prog_cc_c89" != "xno" && break
13807 rm -f conftest.$ac_ext
13812 case "x$ac_cv_prog_cc_c89" in
13814 { $as_echo "$as_me:$LINENO: result: none needed" >&5
13815 $as_echo "none needed" >&6; } ;;
13817 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13818 $as_echo "unsupported" >&6; } ;;
13820 CC="$CC $ac_cv_prog_cc_c89"
13821 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13832 depcc="$CC" am_compiler_list=
13834 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13835 $as_echo_n "checking dependency style of $depcc... " >&6; }
13836 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13837 $as_echo_n "(cached) " >&6
13839 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13840 # We make a subdir and do the tests there. Otherwise we can end up
13841 # making bogus files that we don't know about and never remove. For
13842 # instance it was reported that on HP-UX the gcc test will end up
13843 # making a dummy file named `D' -- because `-MD' means `put the output
13846 # Copy depcomp to subdir because otherwise we won't find it if we're
13847 # using a relative directory.
13848 cp "$am_depcomp" conftest.dir
13850 # We will build objects and dependencies in a subdirectory because
13851 # it helps to detect inapplicable dependency modes. For instance
13852 # both Tru64's cc and ICC support -MD to output dependencies as a
13853 # side effect of compilation, but ICC will put the dependencies in
13854 # the current directory while Tru64 will put them in the object
13858 am_cv_CC_dependencies_compiler_type=none
13859 if test "$am_compiler_list" = ""; then
13860 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13862 am__universal=false
13863 case " $depcc " in #(
13864 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13867 for depmode in $am_compiler_list; do
13868 # Setup a source with many dependencies, because some compilers
13869 # like to wrap large dependency lists on column 80 (with \), and
13870 # we should not choose a depcomp mode which is confused by this.
13872 # We need to recreate these files for each test, as the compiler may
13873 # overwrite some of them when testing with obscure command lines.
13874 # This happens at least with the AIX C compiler.
13876 for i in 1 2 3 4 5 6; do
13877 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13878 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13879 # Solaris 8's {/usr,}/bin/sh.
13880 touch sub/conftst$i.h
13882 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13884 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13885 # mode. It turns out that the SunPro C++ compiler does not properly
13886 # handle `-M -o', and we need to detect this. Also, some Intel
13887 # versions had trouble with output in subdirs
13888 am__obj=sub/conftest.${OBJEXT-o}
13889 am__minus_obj="-o $am__obj"
13892 # This depmode causes a compiler race in universal mode.
13893 test "$am__universal" = false || continue
13896 # after this tag, mechanisms are not by side-effect, so they'll
13897 # only be used when explicitly requested
13898 if test "x$enable_dependency_tracking" = xyes; then
13904 msvisualcpp | msvcmsys)
13905 # This compiler won't grok `-c -o', but also, the minuso test has
13906 # not run yet. These depmodes are late enough in the game, and
13907 # so weak that their functioning should not be impacted.
13908 am__obj=conftest.${OBJEXT-o}
13913 if depmode=$depmode \
13914 source=sub/conftest.c object=$am__obj \
13915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13916 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13917 >/dev/null 2>conftest.err &&
13918 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13919 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13920 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13921 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13922 # icc doesn't choke on unknown options, it will just issue warnings
13923 # or remarks (even with -Werror). So we grep stderr for any message
13924 # that says an option was ignored or not supported.
13925 # When given -MP, icc 7.0 and 7.1 complain thusly:
13926 # icc: Command line warning: ignoring option '-M'; no argument required
13927 # The diagnosis changed in icc 8.0:
13928 # icc: Command line remark: option '-MP' not supported
13929 if (grep 'ignoring option' conftest.err ||
13930 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13931 am_cv_CC_dependencies_compiler_type=$depmode
13938 rm -rf conftest.dir
13940 am_cv_CC_dependencies_compiler_type=none
13944 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13945 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13946 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13949 test "x$enable_dependency_tracking" != xno \
13950 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13951 am__fastdepCC_TRUE=
13952 am__fastdepCC_FALSE='#'
13954 am__fastdepCC_TRUE='#'
13955 am__fastdepCC_FALSE=
13960 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
13962 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13963 $as_echo_n "checking for ANSI C header files... " >&6; }
13964 if test "${ac_cv_header_stdc+set}" = set; then
13965 $as_echo_n "(cached) " >&6
13967 cat >conftest.$ac_ext <<_ACEOF
13970 cat confdefs.h >>conftest.$ac_ext
13971 cat >>conftest.$ac_ext <<_ACEOF
13972 /* end confdefs.h. */
13973 #include <stdlib.h>
13974 #include <stdarg.h>
13975 #include <string.h>
13986 rm -f conftest.$ac_objext
13987 if { (ac_try="$ac_compile"
13988 case "(($ac_try" in
13989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13990 *) ac_try_echo=$ac_try;;
13992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13993 $as_echo "$ac_try_echo") >&5
13994 (eval "$ac_compile") 2>conftest.er1
13996 grep -v '^ *+' conftest.er1 >conftest.err
13998 cat conftest.err >&5
13999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } && {
14001 test -z "$ac_c_werror_flag" ||
14002 test ! -s conftest.err
14003 } && test -s conftest.$ac_objext; then
14004 ac_cv_header_stdc=yes
14006 $as_echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14009 ac_cv_header_stdc=no
14012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14014 if test $ac_cv_header_stdc = yes; then
14015 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14016 cat >conftest.$ac_ext <<_ACEOF
14019 cat confdefs.h >>conftest.$ac_ext
14020 cat >>conftest.$ac_ext <<_ACEOF
14021 /* end confdefs.h. */
14022 #include <string.h>
14025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14026 $EGREP "memchr" >/dev/null 2>&1; then
14029 ac_cv_header_stdc=no
14035 if test $ac_cv_header_stdc = yes; then
14036 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14037 cat >conftest.$ac_ext <<_ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14043 #include <stdlib.h>
14046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14047 $EGREP "free" >/dev/null 2>&1; then
14050 ac_cv_header_stdc=no
14056 if test $ac_cv_header_stdc = yes; then
14057 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14058 if test "$cross_compiling" = yes; then
14061 cat >conftest.$ac_ext <<_ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14068 #include <stdlib.h>
14069 #if ((' ' & 0x0FF) == 0x020)
14070 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14071 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14073 # define ISLOWER(c) \
14074 (('a' <= (c) && (c) <= 'i') \
14075 || ('j' <= (c) && (c) <= 'r') \
14076 || ('s' <= (c) && (c) <= 'z'))
14077 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14080 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14085 for (i = 0; i < 256; i++)
14086 if (XOR (islower (i), ISLOWER (i))
14087 || toupper (i) != TOUPPER (i))
14092 rm -f 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>&5
14102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14104 { (case "(($ac_try" in
14105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14106 *) ac_try_echo=$ac_try;;
14108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14109 $as_echo "$ac_try_echo") >&5
14110 (eval "$ac_try") 2>&5
14112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14116 $as_echo "$as_me: program exited with status $ac_status" >&5
14117 $as_echo "$as_me: failed program was:" >&5
14118 sed 's/^/| /' conftest.$ac_ext >&5
14120 ( exit $ac_status )
14121 ac_cv_header_stdc=no
14123 rm -rf conftest.dSYM
14124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14130 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14131 $as_echo "$ac_cv_header_stdc" >&6; }
14132 if test $ac_cv_header_stdc = yes; then
14134 cat >>confdefs.h <<\_ACEOF
14135 #define STDC_HEADERS 1
14143 # Check whether --enable-compile-warnings was given.
14144 if test "${enable_compile_warnings+set}" = set; then
14145 enableval=$enable_compile_warnings;
14147 enable_compile_warnings="yes"
14152 if test "x$GCC" != xyes; then
14153 enable_compile_warnings=no
14157 realsave_CFLAGS="$CFLAGS"
14159 case "$enable_compile_warnings" in
14164 warning_flags="-Wall"
14167 warning_flags="-Wall -Wmissing-prototypes"
14170 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
14171 CFLAGS="$warning_flags $CFLAGS"
14172 for option in -Wno-sign-compare; do
14173 SAVE_CFLAGS="$CFLAGS"
14174 CFLAGS="$CFLAGS $option"
14175 { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
14176 $as_echo_n "checking whether gcc understands $option... " >&6; }
14177 cat >conftest.$ac_ext <<_ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h. */
14192 rm -f conftest.$ac_objext
14193 if { (ac_try="$ac_compile"
14194 case "(($ac_try" in
14195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14196 *) ac_try_echo=$ac_try;;
14198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14199 $as_echo "$ac_try_echo") >&5
14200 (eval "$ac_compile") 2>conftest.er1
14202 grep -v '^ *+' conftest.er1 >conftest.err
14204 cat conftest.err >&5
14205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } && {
14207 test -z "$ac_c_werror_flag" ||
14208 test ! -s conftest.err
14209 } && test -s conftest.$ac_objext; then
14212 $as_echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.$ac_ext >&5
14218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219 CFLAGS="$SAVE_CFLAGS"
14220 { $as_echo "$as_me:$LINENO: result: $has_option" >&5
14221 $as_echo "$has_option" >&6; }
14222 if test $has_option = yes; then
14223 warning_flags="$warning_flags $option"
14229 if test "$enable_compile_warnings" = "error" ; then
14230 warning_flags="$warning_flags -Werror"
14234 { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
14235 $as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
14236 { (exit 1); exit 1; }; }
14239 CFLAGS="$realsave_CFLAGS"
14240 { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
14241 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14242 { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
14243 $as_echo "$warning_flags" >&6; }
14245 # Check whether --enable-iso-c was given.
14246 if test "${enable_iso_c+set}" = set; then
14247 enableval=$enable_iso_c;
14253 { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
14254 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14256 if test "x$enable_iso_c" != "xno"; then
14257 if test "x$GCC" = "xyes"; then
14258 case " $CFLAGS " in
14259 *\ \ -ansi\ \ *) ;;
14260 *) complCFLAGS="$complCFLAGS -ansi" ;;
14262 case " $CFLAGS " in
14263 *\ \ -pedantic\ \ *) ;;
14264 *) complCFLAGS="$complCFLAGS -pedantic" ;;
14268 { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
14269 $as_echo "$complCFLAGS" >&6; }
14271 WARN_CFLAGS="$warning_flags $complCFLAGS"
14275 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
14276 set dummy glib-genmarshal; ac_word=$2
14277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14278 $as_echo_n "checking for $ac_word... " >&6; }
14279 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
14280 $as_echo_n "(cached) " >&6
14282 case $GLIB_GENMARSHAL in
14284 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14288 for as_dir in $PATH
14291 test -z "$as_dir" && as_dir=.
14292 for ac_exec_ext in '' $ac_executable_extensions; do
14293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14294 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14295 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14305 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14306 if test -n "$GLIB_GENMARSHAL"; then
14307 { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
14308 $as_echo "$GLIB_GENMARSHAL" >&6; }
14310 { $as_echo "$as_me:$LINENO: result: no" >&5
14311 $as_echo "no" >&6; }
14318 # Check whether --with-html-dir was given.
14319 if test "${with_html_dir+set}" = set; then
14320 withval=$with_html_dir;
14322 with_html_dir='${datadir}/gtk-doc/html'
14325 HTML_DIR="$with_html_dir"
14328 # Check whether --enable-gtk-doc was given.
14329 if test "${enable_gtk_doc+set}" = set; then
14330 enableval=$enable_gtk_doc;
14336 if test x$enable_gtk_doc = xyes; then
14337 if test -n "$PKG_CONFIG" && \
14338 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5
14339 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
14341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; then
14345 { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&5
14346 $as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&2;}
14347 { (exit 1); exit 1; }; }
14351 { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
14352 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14353 { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
14354 $as_echo "$enable_gtk_doc" >&6; }
14356 for ac_prog in gtkdoc-check
14358 # Extract the first word of "$ac_prog", so it can be a program name with args.
14359 set dummy $ac_prog; ac_word=$2
14360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14361 $as_echo_n "checking for $ac_word... " >&6; }
14362 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
14363 $as_echo_n "(cached) " >&6
14365 case $GTKDOC_CHECK in
14367 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14374 test -z "$as_dir" && as_dir=.
14375 for ac_exec_ext in '' $ac_executable_extensions; do
14376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14377 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14388 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14389 if test -n "$GTKDOC_CHECK"; then
14390 { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
14391 $as_echo "$GTKDOC_CHECK" >&6; }
14393 { $as_echo "$as_me:$LINENO: result: no" >&5
14394 $as_echo "no" >&6; }
14398 test -n "$GTKDOC_CHECK" && break
14402 if test x$enable_gtk_doc = xyes; then
14403 ENABLE_GTK_DOC_TRUE=
14404 ENABLE_GTK_DOC_FALSE='#'
14406 ENABLE_GTK_DOC_TRUE='#'
14407 ENABLE_GTK_DOC_FALSE=
14410 if test -n "$LIBTOOL"; then
14411 GTK_DOC_USE_LIBTOOL_TRUE=
14412 GTK_DOC_USE_LIBTOOL_FALSE='#'
14414 GTK_DOC_USE_LIBTOOL_TRUE='#'
14415 GTK_DOC_USE_LIBTOOL_FALSE=
14424 LIBGLABELS_VERSION_INFO=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14428 GLIB_REQUIRED=2.12.0
14429 GTK_REQUIRED=2.10.0
14430 LIBGNOME_REQUIRED=2.16.0
14431 LIBGNOMEUI_REQUIRED=2.16.0
14432 LIBXML_REQUIRED=2.6.0
14433 LIBGLADE_REQUIRED=2.6.0
14434 LIBEBOOK_REQUIRED=1.8.0
14446 # Check whether --with-libebook was given.
14447 if test "${with_libebook+set}" = set; then
14448 withval=$with_libebook;
14452 if test "x$with_libebook" != xno; then
14455 { $as_echo "$as_me:$LINENO: checking for LIBEBOOK" >&5
14456 $as_echo_n "checking for LIBEBOOK... " >&6; }
14458 if test -n "$LIBEBOOK_CFLAGS"; then
14459 pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14460 elif test -n "$PKG_CONFIG"; then
14461 if test -n "$PKG_CONFIG" && \
14462 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\"") >&5
14463 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; then
14467 pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14474 if test -n "$LIBEBOOK_LIBS"; then
14475 pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14476 elif test -n "$PKG_CONFIG"; then
14477 if test -n "$PKG_CONFIG" && \
14478 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\"") >&5
14479 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; then
14483 pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14493 if test $pkg_failed = yes; then
14495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14496 _pkg_short_errors_supported=yes
14498 _pkg_short_errors_supported=no
14500 if test $_pkg_short_errors_supported = yes; then
14501 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14503 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14505 # Put the nasty error message in config.log where it belongs
14506 echo "$LIBEBOOK_PKG_ERRORS" >&5
14508 { $as_echo "$as_me:$LINENO: result: no" >&5
14509 $as_echo "no" >&6; }
14511 elif test $pkg_failed = untried; then
14514 LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14515 LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14516 { $as_echo "$as_me:$LINENO: result: yes" >&5
14517 $as_echo "yes" >&6; }
14522 if test "x$have_libebook" = "xyes"; then
14524 cat >>confdefs.h <<\_ACEOF
14525 #define HAVE_LIBEBOOK 1
14528 OPTIONAL_MODULES="$OPTIONAL_MODULES libebook-1.2 >= $LIBEBOOK_REQUIRED"
14534 { $as_echo "$as_me:$LINENO: checking for GLABELS" >&5
14535 $as_echo_n "checking for GLABELS... " >&6; }
14537 if test -n "$GLABELS_CFLAGS"; then
14538 pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14539 elif test -n "$PKG_CONFIG"; then
14540 if test -n "$PKG_CONFIG" && \
14541 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14542 glib-2.0 >= \$GLIB_REQUIRED \\
14543 gtk+-2.0 >= \$GTK_REQUIRED \\
14544 libgnome-2.0 >= \$LIBGNOME_REQUIRED \\
14545 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14546 libxml-2.0 >= \$LIBXML_REQUIRED \\
14547 libglade-2.0 >= \$LIBGLADE_REQUIRED \\
14548 \$OPTIONAL_MODULES \\
14550 ($PKG_CONFIG --exists --print-errors "\
14551 glib-2.0 >= $GLIB_REQUIRED \
14552 gtk+-2.0 >= $GTK_REQUIRED \
14553 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14554 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14555 libxml-2.0 >= $LIBXML_REQUIRED \
14556 libglade-2.0 >= $LIBGLADE_REQUIRED \
14557 $OPTIONAL_MODULES \
14560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; then
14562 pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14563 glib-2.0 >= $GLIB_REQUIRED \
14564 gtk+-2.0 >= $GTK_REQUIRED \
14565 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14566 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14567 libxml-2.0 >= $LIBXML_REQUIRED \
14568 libglade-2.0 >= $LIBGLADE_REQUIRED \
14569 $OPTIONAL_MODULES \
14577 if test -n "$GLABELS_LIBS"; then
14578 pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14579 elif test -n "$PKG_CONFIG"; then
14580 if test -n "$PKG_CONFIG" && \
14581 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14582 glib-2.0 >= \$GLIB_REQUIRED \\
14583 gtk+-2.0 >= \$GTK_REQUIRED \\
14584 libgnome-2.0 >= \$LIBGNOME_REQUIRED \\
14585 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14586 libxml-2.0 >= \$LIBXML_REQUIRED \\
14587 libglade-2.0 >= \$LIBGLADE_REQUIRED \\
14588 \$OPTIONAL_MODULES \\
14590 ($PKG_CONFIG --exists --print-errors "\
14591 glib-2.0 >= $GLIB_REQUIRED \
14592 gtk+-2.0 >= $GTK_REQUIRED \
14593 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14594 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14595 libxml-2.0 >= $LIBXML_REQUIRED \
14596 libglade-2.0 >= $LIBGLADE_REQUIRED \
14597 $OPTIONAL_MODULES \
14600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; then
14602 pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14603 glib-2.0 >= $GLIB_REQUIRED \
14604 gtk+-2.0 >= $GTK_REQUIRED \
14605 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14606 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14607 libxml-2.0 >= $LIBXML_REQUIRED \
14608 libglade-2.0 >= $LIBGLADE_REQUIRED \
14609 $OPTIONAL_MODULES \
14620 if test $pkg_failed = yes; then
14622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14623 _pkg_short_errors_supported=yes
14625 _pkg_short_errors_supported=no
14627 if test $_pkg_short_errors_supported = yes; then
14628 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14629 glib-2.0 >= $GLIB_REQUIRED \
14630 gtk+-2.0 >= $GTK_REQUIRED \
14631 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14632 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14633 libxml-2.0 >= $LIBXML_REQUIRED \
14634 libglade-2.0 >= $LIBGLADE_REQUIRED \
14635 $OPTIONAL_MODULES \
14638 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14639 glib-2.0 >= $GLIB_REQUIRED \
14640 gtk+-2.0 >= $GTK_REQUIRED \
14641 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14642 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14643 libxml-2.0 >= $LIBXML_REQUIRED \
14644 libglade-2.0 >= $LIBGLADE_REQUIRED \
14645 $OPTIONAL_MODULES \
14648 # Put the nasty error message in config.log where it belongs
14649 echo "$GLABELS_PKG_ERRORS" >&5
14651 { { $as_echo "$as_me:$LINENO: error: Package requirements (\
14652 glib-2.0 >= $GLIB_REQUIRED \
14653 gtk+-2.0 >= $GTK_REQUIRED \
14654 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14655 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14656 libxml-2.0 >= $LIBXML_REQUIRED \
14657 libglade-2.0 >= $LIBGLADE_REQUIRED \
14658 $OPTIONAL_MODULES \
14661 $GLABELS_PKG_ERRORS
14663 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14664 installed software in a non-standard prefix.
14666 Alternatively, you may set the environment variables GLABELS_CFLAGS
14667 and GLABELS_LIBS to avoid the need to call pkg-config.
14668 See the pkg-config man page for more details.
14670 $as_echo "$as_me: error: Package requirements (\
14671 glib-2.0 >= $GLIB_REQUIRED \
14672 gtk+-2.0 >= $GTK_REQUIRED \
14673 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14674 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14675 libxml-2.0 >= $LIBXML_REQUIRED \
14676 libglade-2.0 >= $LIBGLADE_REQUIRED \
14677 $OPTIONAL_MODULES \
14680 $GLABELS_PKG_ERRORS
14682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14683 installed software in a non-standard prefix.
14685 Alternatively, you may set the environment variables GLABELS_CFLAGS
14686 and GLABELS_LIBS to avoid the need to call pkg-config.
14687 See the pkg-config man page for more details.
14689 { (exit 1); exit 1; }; }
14690 elif test $pkg_failed = untried; then
14691 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14693 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14694 is in your PATH or set the PKG_CONFIG environment variable to the full
14695 path to pkg-config.
14697 Alternatively, you may set the environment variables GLABELS_CFLAGS
14698 and GLABELS_LIBS to avoid the need to call pkg-config.
14699 See the pkg-config man page for more details.
14701 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14702 See \`config.log' for more details." >&5
14703 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14704 is in your PATH or set the PKG_CONFIG environment variable to the full
14705 path to pkg-config.
14707 Alternatively, you may set the environment variables GLABELS_CFLAGS
14708 and GLABELS_LIBS to avoid the need to call pkg-config.
14709 See the pkg-config man page for more details.
14711 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14712 See \`config.log' for more details." >&2;}
14713 { (exit 1); exit 1; }; }; }
14715 GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14716 GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14717 { $as_echo "$as_me:$LINENO: result: yes" >&5
14718 $as_echo "yes" >&6; }
14728 { $as_echo "$as_me:$LINENO: checking for LIBGLABELS" >&5
14729 $as_echo_n "checking for LIBGLABELS... " >&6; }
14731 if test -n "$LIBGLABELS_CFLAGS"; then
14732 pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14733 elif test -n "$PKG_CONFIG"; then
14734 if test -n "$PKG_CONFIG" && \
14735 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14736 glib-2.0 >= \$GLIB_REQUIRED \\
14737 libxml-2.0 >= \$LIBXML_REQUIRED \\
14739 ($PKG_CONFIG --exists --print-errors "\
14740 glib-2.0 >= $GLIB_REQUIRED \
14741 libxml-2.0 >= $LIBXML_REQUIRED \
14744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; then
14746 pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14747 glib-2.0 >= $GLIB_REQUIRED \
14748 libxml-2.0 >= $LIBXML_REQUIRED \
14756 if test -n "$LIBGLABELS_LIBS"; then
14757 pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14758 elif test -n "$PKG_CONFIG"; then
14759 if test -n "$PKG_CONFIG" && \
14760 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14761 glib-2.0 >= \$GLIB_REQUIRED \\
14762 libxml-2.0 >= \$LIBXML_REQUIRED \\
14764 ($PKG_CONFIG --exists --print-errors "\
14765 glib-2.0 >= $GLIB_REQUIRED \
14766 libxml-2.0 >= $LIBXML_REQUIRED \
14769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); }; then
14771 pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14772 glib-2.0 >= $GLIB_REQUIRED \
14773 libxml-2.0 >= $LIBXML_REQUIRED \
14784 if test $pkg_failed = yes; then
14786 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14787 _pkg_short_errors_supported=yes
14789 _pkg_short_errors_supported=no
14791 if test $_pkg_short_errors_supported = yes; then
14792 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14793 glib-2.0 >= $GLIB_REQUIRED \
14794 libxml-2.0 >= $LIBXML_REQUIRED \
14797 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14798 glib-2.0 >= $GLIB_REQUIRED \
14799 libxml-2.0 >= $LIBXML_REQUIRED \
14802 # Put the nasty error message in config.log where it belongs
14803 echo "$LIBGLABELS_PKG_ERRORS" >&5
14805 { { $as_echo "$as_me:$LINENO: error: Package requirements (\
14806 glib-2.0 >= $GLIB_REQUIRED \
14807 libxml-2.0 >= $LIBXML_REQUIRED \
14810 $LIBGLABELS_PKG_ERRORS
14812 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14813 installed software in a non-standard prefix.
14815 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14816 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14817 See the pkg-config man page for more details.
14819 $as_echo "$as_me: error: Package requirements (\
14820 glib-2.0 >= $GLIB_REQUIRED \
14821 libxml-2.0 >= $LIBXML_REQUIRED \
14824 $LIBGLABELS_PKG_ERRORS
14826 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14827 installed software in a non-standard prefix.
14829 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14830 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14831 See the pkg-config man page for more details.
14833 { (exit 1); exit 1; }; }
14834 elif test $pkg_failed = untried; then
14835 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14837 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14838 is in your PATH or set the PKG_CONFIG environment variable to the full
14839 path to pkg-config.
14841 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14842 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14843 See the pkg-config man page for more details.
14845 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14846 See \`config.log' for more details." >&5
14847 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14848 is in your PATH or set the PKG_CONFIG environment variable to the full
14849 path to pkg-config.
14851 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14852 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14853 See the pkg-config man page for more details.
14855 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14856 See \`config.log' for more details." >&2;}
14857 { (exit 1); exit 1; }; }; }
14859 LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14860 LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14861 { $as_echo "$as_me:$LINENO: result: yes" >&5
14862 $as_echo "yes" >&6; }
14872 { $as_echo "$as_me:$LINENO: checking for MYGAL" >&5
14873 $as_echo_n "checking for MYGAL... " >&6; }
14875 if test -n "$MYGAL_CFLAGS"; then
14876 pkg_cv_MYGAL_CFLAGS="$MYGAL_CFLAGS"
14877 elif test -n "$PKG_CONFIG"; then
14878 if test -n "$PKG_CONFIG" && \
14879 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14880 gtk+-2.0 >= \$GTK_REQUIRED \\
14881 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14883 ($PKG_CONFIG --exists --print-errors "\
14884 gtk+-2.0 >= $GTK_REQUIRED \
14885 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; then
14890 pkg_cv_MYGAL_CFLAGS=`$PKG_CONFIG --cflags "\
14891 gtk+-2.0 >= $GTK_REQUIRED \
14892 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14900 if test -n "$MYGAL_LIBS"; then
14901 pkg_cv_MYGAL_LIBS="$MYGAL_LIBS"
14902 elif test -n "$PKG_CONFIG"; then
14903 if test -n "$PKG_CONFIG" && \
14904 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14905 gtk+-2.0 >= \$GTK_REQUIRED \\
14906 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14908 ($PKG_CONFIG --exists --print-errors "\
14909 gtk+-2.0 >= $GTK_REQUIRED \
14910 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; then
14915 pkg_cv_MYGAL_LIBS=`$PKG_CONFIG --libs "\
14916 gtk+-2.0 >= $GTK_REQUIRED \
14917 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14928 if test $pkg_failed = yes; then
14930 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14931 _pkg_short_errors_supported=yes
14933 _pkg_short_errors_supported=no
14935 if test $_pkg_short_errors_supported = yes; then
14936 MYGAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14937 gtk+-2.0 >= $GTK_REQUIRED \
14938 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14941 MYGAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14942 gtk+-2.0 >= $GTK_REQUIRED \
14943 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14946 # Put the nasty error message in config.log where it belongs
14947 echo "$MYGAL_PKG_ERRORS" >&5
14949 { { $as_echo "$as_me:$LINENO: error: Package requirements (\
14950 gtk+-2.0 >= $GTK_REQUIRED \
14951 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14956 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14957 installed software in a non-standard prefix.
14959 Alternatively, you may set the environment variables MYGAL_CFLAGS
14960 and MYGAL_LIBS to avoid the need to call pkg-config.
14961 See the pkg-config man page for more details.
14963 $as_echo "$as_me: error: Package requirements (\
14964 gtk+-2.0 >= $GTK_REQUIRED \
14965 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14970 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14971 installed software in a non-standard prefix.
14973 Alternatively, you may set the environment variables MYGAL_CFLAGS
14974 and MYGAL_LIBS to avoid the need to call pkg-config.
14975 See the pkg-config man page for more details.
14977 { (exit 1); exit 1; }; }
14978 elif test $pkg_failed = untried; then
14979 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14981 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14982 is in your PATH or set the PKG_CONFIG environment variable to the full
14983 path to pkg-config.
14985 Alternatively, you may set the environment variables MYGAL_CFLAGS
14986 and MYGAL_LIBS to avoid the need to call pkg-config.
14987 See the pkg-config man page for more details.
14989 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14990 See \`config.log' for more details." >&5
14991 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14992 is in your PATH or set the PKG_CONFIG environment variable to the full
14993 path to pkg-config.
14995 Alternatively, you may set the environment variables MYGAL_CFLAGS
14996 and MYGAL_LIBS to avoid the need to call pkg-config.
14997 See the pkg-config man page for more details.
14999 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15000 See \`config.log' for more details." >&2;}
15001 { (exit 1); exit 1; }; }; }
15003 MYGAL_CFLAGS=$pkg_cv_MYGAL_CFLAGS
15004 MYGAL_LIBS=$pkg_cv_MYGAL_LIBS
15005 { $as_echo "$as_me:$LINENO: result: yes" >&5
15006 $as_echo "yes" >&6; }
15016 { $as_echo "$as_me:$LINENO: checking for XML_PARSE_HUGE" >&5
15017 $as_echo_n "checking for XML_PARSE_HUGE... " >&6; }
15019 if test -n "$XML_PARSE_HUGE_CFLAGS"; then
15020 pkg_cv_XML_PARSE_HUGE_CFLAGS="$XML_PARSE_HUGE_CFLAGS"
15021 elif test -n "$PKG_CONFIG"; then
15022 if test -n "$PKG_CONFIG" && \
15023 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.7.0\"") >&5
15024 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.7.0") 2>&5
15026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; then
15028 pkg_cv_XML_PARSE_HUGE_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.7.0" 2>/dev/null`
15035 if test -n "$XML_PARSE_HUGE_LIBS"; then
15036 pkg_cv_XML_PARSE_HUGE_LIBS="$XML_PARSE_HUGE_LIBS"
15037 elif test -n "$PKG_CONFIG"; then
15038 if test -n "$PKG_CONFIG" && \
15039 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.7.0\"") >&5
15040 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.7.0") 2>&5
15042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; then
15044 pkg_cv_XML_PARSE_HUGE_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.7.0" 2>/dev/null`
15054 if test $pkg_failed = yes; then
15056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15057 _pkg_short_errors_supported=yes
15059 _pkg_short_errors_supported=no
15061 if test $_pkg_short_errors_supported = yes; then
15062 XML_PARSE_HUGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.7.0" 2>&1`
15064 XML_PARSE_HUGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.7.0" 2>&1`
15066 # Put the nasty error message in config.log where it belongs
15067 echo "$XML_PARSE_HUGE_PKG_ERRORS" >&5
15069 { $as_echo "$as_me:$LINENO: result: no" >&5
15070 $as_echo "no" >&6; }
15071 HAVE_XML_PARSE_HUGE="-UHAVE_XML_PARSE_HUGE"
15072 elif test $pkg_failed = untried; then
15073 HAVE_XML_PARSE_HUGE="-UHAVE_XML_PARSE_HUGE"
15075 XML_PARSE_HUGE_CFLAGS=$pkg_cv_XML_PARSE_HUGE_CFLAGS
15076 XML_PARSE_HUGE_LIBS=$pkg_cv_XML_PARSE_HUGE_LIBS
15077 { $as_echo "$as_me:$LINENO: result: yes" >&5
15078 $as_echo "yes" >&6; }
15079 HAVE_XML_PARSE_HUGE="-DHAVE_XML_PARSE_HUGE"
15084 # Check whether --enable-deprecations was given.
15085 if test "${enable_deprecations+set}" = set; then
15086 enableval=$enable_deprecations;
15088 enable_deprecations=no
15092 if test "x$enable_deprecations" = "xyes"; then
15093 DISABLE_DEPRECATED_CFLAGS="\
15094 -DG_DISABLE_DEPRECATED \
15095 -DGDK_DISABLE_DEPRECATED \
15096 -DGTK_DISABLE_DEPRECATED \
15097 -DGDK_PIXBUF_DISABLE_DEPRECATED \
15098 -DGNOME_DISABLE_DEPRECATED \
15099 -DLIBGLADE_DISABLE_DEPRECATED"
15104 # Extract the first word of "update-mime-database", so it can be a program name with args.
15105 set dummy update-mime-database; ac_word=$2
15106 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15107 $as_echo_n "checking for $ac_word... " >&6; }
15108 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then
15109 $as_echo_n "(cached) " >&6
15111 case $UPDATE_MIME_DATABASE in
15113 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15117 for as_dir in $PATH
15120 test -z "$as_dir" && as_dir=.
15121 for ac_exec_ext in '' $ac_executable_extensions; do
15122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15123 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15131 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
15135 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15136 if test -n "$UPDATE_MIME_DATABASE"; then
15137 { $as_echo "$as_me:$LINENO: result: $UPDATE_MIME_DATABASE" >&5
15138 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15140 { $as_echo "$as_me:$LINENO: result: no" >&5
15141 $as_echo "no" >&6; }
15145 if test x$UPDATE_MIME_DATABASE != xno; then
15146 HAVE_NEW_MIME_TRUE=
15147 HAVE_NEW_MIME_FALSE='#'
15149 HAVE_NEW_MIME_TRUE='#'
15150 HAVE_NEW_MIME_FALSE=
15154 # Extract the first word of "update-desktop-database", so it can be a program name with args.
15155 set dummy update-desktop-database; ac_word=$2
15156 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15157 $as_echo_n "checking for $ac_word... " >&6; }
15158 if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then
15159 $as_echo_n "(cached) " >&6
15161 case $UPDATE_DESKTOP_DATABASE in
15163 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15173 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15181 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
15185 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
15186 if test -n "$UPDATE_DESKTOP_DATABASE"; then
15187 { $as_echo "$as_me:$LINENO: result: $UPDATE_DESKTOP_DATABASE" >&5
15188 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
15190 { $as_echo "$as_me:$LINENO: result: no" >&5
15191 $as_echo "no" >&6; }
15195 if test x$UPDATE_DESKTOP_DATABASE != xno; then
15196 HAVE_NEWER_MIME_TRUE=
15197 HAVE_NEWER_MIME_FALSE='#'
15199 HAVE_NEWER_MIME_TRUE='#'
15200 HAVE_NEWER_MIME_FALSE=
15204 # Check whether --enable-update-mimedb was given.
15205 if test "${enable_update_mimedb+set}" = set; then
15206 enableval=$enable_update_mimedb;
15208 enable_update_mimedb=yes
15211 if test x$enable_update_mimedb = xyes; then
15212 ENABLE_UPDATE_MIMEDB_TRUE=
15213 ENABLE_UPDATE_MIMEDB_FALSE='#'
15215 ENABLE_UPDATE_MIMEDB_TRUE='#'
15216 ENABLE_UPDATE_MIMEDB_FALSE=
15220 # Check whether --enable-update-desktopdb was given.
15221 if test "${enable_update_desktopdb+set}" = set; then
15222 enableval=$enable_update_desktopdb;
15224 enable_update_desktopdb=yes
15227 if test x$enable_update_desktopdb = xyes; then
15228 ENABLE_UPDATE_DESKTOPDB_TRUE=
15229 ENABLE_UPDATE_DESKTOPDB_FALSE='#'
15231 ENABLE_UPDATE_DESKTOPDB_TRUE='#'
15232 ENABLE_UPDATE_DESKTOPDB_FALSE=
15237 GETTEXT_PACKAGE=glabels
15240 cat >>confdefs.h <<_ACEOF
15241 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15247 for ac_header in locale.h
15249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15251 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15252 $as_echo_n "checking for $ac_header... " >&6; }
15253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15254 $as_echo_n "(cached) " >&6
15256 ac_res=`eval 'as_val=${'$as_ac_Header'}
15257 $as_echo "$as_val"'`
15258 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15259 $as_echo "$ac_res" >&6; }
15261 # Is the header compilable?
15262 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15263 $as_echo_n "checking $ac_header usability... " >&6; }
15264 cat >conftest.$ac_ext <<_ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 $ac_includes_default
15271 #include <$ac_header>
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15280 $as_echo "$ac_try_echo") >&5
15281 (eval "$ac_compile") 2>conftest.er1
15283 grep -v '^ *+' conftest.er1 >conftest.err
15285 cat conftest.err >&5
15286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } && {
15288 test -z "$ac_c_werror_flag" ||
15289 test ! -s conftest.err
15290 } && test -s conftest.$ac_objext; then
15291 ac_header_compiler=yes
15293 $as_echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15296 ac_header_compiler=no
15299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15301 $as_echo "$ac_header_compiler" >&6; }
15303 # Is the header present?
15304 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15305 $as_echo_n "checking $ac_header presence... " >&6; }
15306 cat >conftest.$ac_ext <<_ACEOF
15309 cat confdefs.h >>conftest.$ac_ext
15310 cat >>conftest.$ac_ext <<_ACEOF
15311 /* end confdefs.h. */
15312 #include <$ac_header>
15314 if { (ac_try="$ac_cpp conftest.$ac_ext"
15315 case "(($ac_try" in
15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317 *) ac_try_echo=$ac_try;;
15319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15320 $as_echo "$ac_try_echo") >&5
15321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15323 grep -v '^ *+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } >/dev/null && {
15328 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15331 ac_header_preproc=yes
15333 $as_echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15336 ac_header_preproc=no
15339 rm -f conftest.err conftest.$ac_ext
15340 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15341 $as_echo "$ac_header_preproc" >&6; }
15343 # So? What about this header?
15344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15347 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15349 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15350 ac_header_preproc=yes
15353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15354 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15355 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15356 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15357 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15358 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15359 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15360 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15361 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15362 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15364 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15366 ## ---------------------------------------------------------------------------------- ##
15367 ## Report this to http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116 ##
15368 ## ---------------------------------------------------------------------------------- ##
15370 ) | sed "s/^/$as_me: WARNING: /" >&2
15373 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15374 $as_echo_n "checking for $ac_header... " >&6; }
15375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15376 $as_echo_n "(cached) " >&6
15378 eval "$as_ac_Header=\$ac_header_preproc"
15380 ac_res=`eval 'as_val=${'$as_ac_Header'}
15381 $as_echo "$as_val"'`
15382 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15383 $as_echo "$ac_res" >&6; }
15386 as_val=`eval 'as_val=${'$as_ac_Header'}
15387 $as_echo "$as_val"'`
15388 if test "x$as_val" = x""yes; then
15389 cat >>confdefs.h <<_ACEOF
15390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15397 if test $ac_cv_header_locale_h = yes; then
15398 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
15399 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15400 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
15401 $as_echo_n "(cached) " >&6
15403 cat >conftest.$ac_ext <<_ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 #include <locale.h>
15418 rm -f conftest.$ac_objext conftest$ac_exeext
15419 if { (ac_try="$ac_link"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15425 $as_echo "$ac_try_echo") >&5
15426 (eval "$ac_link") 2>conftest.er1
15428 grep -v '^ *+' conftest.er1 >conftest.err
15430 cat conftest.err >&5
15431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } && {
15433 test -z "$ac_c_werror_flag" ||
15434 test ! -s conftest.err
15435 } && test -s conftest$ac_exeext && {
15436 test "$cross_compiling" = yes ||
15437 $as_test_x conftest$ac_exeext
15439 am_cv_val_LC_MESSAGES=yes
15441 $as_echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15444 am_cv_val_LC_MESSAGES=no
15447 rm -rf conftest.dSYM
15448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15449 conftest$ac_exeext conftest.$ac_ext
15451 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
15452 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15453 if test $am_cv_val_LC_MESSAGES = yes; then
15455 cat >>confdefs.h <<\_ACEOF
15456 #define HAVE_LC_MESSAGES 1
15464 gt_cv_have_gettext=no
15470 if test "${ac_cv_header_libintl_h+set}" = set; then
15471 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15472 $as_echo_n "checking for libintl.h... " >&6; }
15473 if test "${ac_cv_header_libintl_h+set}" = set; then
15474 $as_echo_n "(cached) " >&6
15476 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15477 $as_echo "$ac_cv_header_libintl_h" >&6; }
15479 # Is the header compilable?
15480 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
15481 $as_echo_n "checking libintl.h usability... " >&6; }
15482 cat >conftest.$ac_ext <<_ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 $ac_includes_default
15489 #include <libintl.h>
15491 rm -f conftest.$ac_objext
15492 if { (ac_try="$ac_compile"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15498 $as_echo "$ac_try_echo") >&5
15499 (eval "$ac_compile") 2>conftest.er1
15501 grep -v '^ *+' conftest.er1 >conftest.err
15503 cat conftest.err >&5
15504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } && {
15506 test -z "$ac_c_werror_flag" ||
15507 test ! -s conftest.err
15508 } && test -s conftest.$ac_objext; then
15509 ac_header_compiler=yes
15511 $as_echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.$ac_ext >&5
15514 ac_header_compiler=no
15517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15518 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15519 $as_echo "$ac_header_compiler" >&6; }
15521 # Is the header present?
15522 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
15523 $as_echo_n "checking libintl.h presence... " >&6; }
15524 cat >conftest.$ac_ext <<_ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 #include <libintl.h>
15532 if { (ac_try="$ac_cpp conftest.$ac_ext"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15538 $as_echo "$ac_try_echo") >&5
15539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15541 grep -v '^ *+' conftest.er1 >conftest.err
15543 cat conftest.err >&5
15544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } >/dev/null && {
15546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15547 test ! -s conftest.err
15549 ac_header_preproc=yes
15551 $as_echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.$ac_ext >&5
15554 ac_header_preproc=no
15557 rm -f conftest.err conftest.$ac_ext
15558 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15559 $as_echo "$ac_header_preproc" >&6; }
15561 # So? What about this header?
15562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15564 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
15565 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15566 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
15567 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
15568 ac_header_preproc=yes
15571 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
15572 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
15573 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
15574 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
15575 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
15576 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
15577 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
15578 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
15579 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
15580 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
15581 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
15582 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
15584 ## ---------------------------------------------------------------------------------- ##
15585 ## Report this to http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116 ##
15586 ## ---------------------------------------------------------------------------------- ##
15588 ) | sed "s/^/$as_me: WARNING: /" >&2
15591 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15592 $as_echo_n "checking for libintl.h... " >&6; }
15593 if test "${ac_cv_header_libintl_h+set}" = set; then
15594 $as_echo_n "(cached) " >&6
15596 ac_cv_header_libintl_h=$ac_header_preproc
15598 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15599 $as_echo "$ac_cv_header_libintl_h" >&6; }
15602 if test "x$ac_cv_header_libintl_h" = x""yes; then
15603 gt_cv_func_dgettext_libintl="no"
15604 libintl_extra_libs=""
15607 # First check in libc
15609 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
15610 $as_echo_n "checking for ngettext in libc... " >&6; }
15611 if test "${gt_cv_func_ngettext_libc+set}" = set; then
15612 $as_echo_n "(cached) " >&6
15614 cat >conftest.$ac_ext <<_ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15621 #include <libintl.h>
15626 return !ngettext ("","", 1)
15631 rm -f conftest.$ac_objext conftest$ac_exeext
15632 if { (ac_try="$ac_link"
15633 case "(($ac_try" in
15634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15635 *) ac_try_echo=$ac_try;;
15637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15638 $as_echo "$ac_try_echo") >&5
15639 (eval "$ac_link") 2>conftest.er1
15641 grep -v '^ *+' conftest.er1 >conftest.err
15643 cat conftest.err >&5
15644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } && {
15646 test -z "$ac_c_werror_flag" ||
15647 test ! -s conftest.err
15648 } && test -s conftest$ac_exeext && {
15649 test "$cross_compiling" = yes ||
15650 $as_test_x conftest$ac_exeext
15652 gt_cv_func_ngettext_libc=yes
15654 $as_echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15657 gt_cv_func_ngettext_libc=no
15660 rm -rf conftest.dSYM
15661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15662 conftest$ac_exeext conftest.$ac_ext
15665 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
15666 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15668 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15669 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
15670 $as_echo_n "checking for dgettext in libc... " >&6; }
15671 if test "${gt_cv_func_dgettext_libc+set}" = set; then
15672 $as_echo_n "(cached) " >&6
15674 cat >conftest.$ac_ext <<_ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15681 #include <libintl.h>
15686 return !dgettext ("","")
15691 rm -f conftest.$ac_objext conftest$ac_exeext
15692 if { (ac_try="$ac_link"
15693 case "(($ac_try" in
15694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695 *) ac_try_echo=$ac_try;;
15697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15698 $as_echo "$ac_try_echo") >&5
15699 (eval "$ac_link") 2>conftest.er1
15701 grep -v '^ *+' conftest.er1 >conftest.err
15703 cat conftest.err >&5
15704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest$ac_exeext && {
15709 test "$cross_compiling" = yes ||
15710 $as_test_x conftest$ac_exeext
15712 gt_cv_func_dgettext_libc=yes
15714 $as_echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15717 gt_cv_func_dgettext_libc=no
15720 rm -rf conftest.dSYM
15721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15722 conftest$ac_exeext conftest.$ac_ext
15725 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
15726 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15729 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15731 for ac_func in bind_textdomain_codeset
15733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15734 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15735 $as_echo_n "checking for $ac_func... " >&6; }
15736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15737 $as_echo_n "(cached) " >&6
15739 cat >conftest.$ac_ext <<_ACEOF
15742 cat confdefs.h >>conftest.$ac_ext
15743 cat >>conftest.$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15747 #define $ac_func innocuous_$ac_func
15749 /* System header to define __stub macros and hopefully few prototypes,
15750 which can conflict with char $ac_func (); below.
15751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15752 <limits.h> exists even on freestanding compilers. */
15755 # include <limits.h>
15757 # include <assert.h>
15762 /* Override any GCC internal prototype to avoid an error.
15763 Use char because int might match the return type of a GCC
15764 builtin and then its argument prototype would still apply. */
15769 /* The GNU C library defines this for functions which it implements
15770 to always fail with ENOSYS. Some functions are actually named
15771 something starting with __ and the normal name is an alias. */
15772 #if defined __stub_$ac_func || defined __stub___$ac_func
15779 return $ac_func ();
15784 rm -f conftest.$ac_objext conftest$ac_exeext
15785 if { (ac_try="$ac_link"
15786 case "(($ac_try" in
15787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15791 $as_echo "$ac_try_echo") >&5
15792 (eval "$ac_link") 2>conftest.er1
15794 grep -v '^ *+' conftest.er1 >conftest.err
15796 cat conftest.err >&5
15797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_c_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest$ac_exeext && {
15802 test "$cross_compiling" = yes ||
15803 $as_test_x conftest$ac_exeext
15805 eval "$as_ac_var=yes"
15807 $as_echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15810 eval "$as_ac_var=no"
15813 rm -rf conftest.dSYM
15814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15815 conftest$ac_exeext conftest.$ac_ext
15817 ac_res=`eval 'as_val=${'$as_ac_var'}
15818 $as_echo "$as_val"'`
15819 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15820 $as_echo "$ac_res" >&6; }
15821 as_val=`eval 'as_val=${'$as_ac_var'}
15822 $as_echo "$as_val"'`
15823 if test "x$as_val" = x""yes; then
15824 cat >>confdefs.h <<_ACEOF
15825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15834 # If we don't have everything we want, check in libintl
15836 if test "$gt_cv_func_dgettext_libc" != "yes" \
15837 || test "$gt_cv_func_ngettext_libc" != "yes" \
15838 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15840 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
15841 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15842 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
15843 $as_echo_n "(cached) " >&6
15845 ac_check_lib_save_LIBS=$LIBS
15846 LIBS="-lintl $LIBS"
15847 cat >conftest.$ac_ext <<_ACEOF
15850 cat confdefs.h >>conftest.$ac_ext
15851 cat >>conftest.$ac_ext <<_ACEOF
15852 /* end confdefs.h. */
15854 /* Override any GCC internal prototype to avoid an error.
15855 Use char because int might match the return type of a GCC
15856 builtin and then its argument prototype would still apply. */
15860 char bindtextdomain ();
15864 return bindtextdomain ();
15869 rm -f conftest.$ac_objext conftest$ac_exeext
15870 if { (ac_try="$ac_link"
15871 case "(($ac_try" in
15872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15876 $as_echo "$ac_try_echo") >&5
15877 (eval "$ac_link") 2>conftest.er1
15879 grep -v '^ *+' conftest.er1 >conftest.err
15881 cat conftest.err >&5
15882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest$ac_exeext && {
15887 test "$cross_compiling" = yes ||
15888 $as_test_x conftest$ac_exeext
15890 ac_cv_lib_intl_bindtextdomain=yes
15892 $as_echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15895 ac_cv_lib_intl_bindtextdomain=no
15898 rm -rf conftest.dSYM
15899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15900 conftest$ac_exeext conftest.$ac_ext
15901 LIBS=$ac_check_lib_save_LIBS
15903 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
15904 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15905 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
15906 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
15907 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15908 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
15909 $as_echo_n "(cached) " >&6
15911 ac_check_lib_save_LIBS=$LIBS
15912 LIBS="-lintl $LIBS"
15913 cat >conftest.$ac_ext <<_ACEOF
15916 cat confdefs.h >>conftest.$ac_ext
15917 cat >>conftest.$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15920 /* Override any GCC internal prototype to avoid an error.
15921 Use char because int might match the return type of a GCC
15922 builtin and then its argument prototype would still apply. */
15930 return ngettext ();
15935 rm -f conftest.$ac_objext conftest$ac_exeext
15936 if { (ac_try="$ac_link"
15937 case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939 *) ac_try_echo=$ac_try;;
15941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15942 $as_echo "$ac_try_echo") >&5
15943 (eval "$ac_link") 2>conftest.er1
15945 grep -v '^ *+' conftest.er1 >conftest.err
15947 cat conftest.err >&5
15948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } && {
15950 test -z "$ac_c_werror_flag" ||
15951 test ! -s conftest.err
15952 } && test -s conftest$ac_exeext && {
15953 test "$cross_compiling" = yes ||
15954 $as_test_x conftest$ac_exeext
15956 ac_cv_lib_intl_ngettext=yes
15958 $as_echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15961 ac_cv_lib_intl_ngettext=no
15964 rm -rf conftest.dSYM
15965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15966 conftest$ac_exeext conftest.$ac_ext
15967 LIBS=$ac_check_lib_save_LIBS
15969 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
15970 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15971 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
15972 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
15973 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15974 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
15975 $as_echo_n "(cached) " >&6
15977 ac_check_lib_save_LIBS=$LIBS
15978 LIBS="-lintl $LIBS"
15979 cat >conftest.$ac_ext <<_ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15986 /* Override any GCC internal prototype to avoid an error.
15987 Use char because int might match the return type of a GCC
15988 builtin and then its argument prototype would still apply. */
15996 return dgettext ();
16001 rm -f conftest.$ac_objext conftest$ac_exeext
16002 if { (ac_try="$ac_link"
16003 case "(($ac_try" in
16004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16005 *) ac_try_echo=$ac_try;;
16007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16008 $as_echo "$ac_try_echo") >&5
16009 (eval "$ac_link") 2>conftest.er1
16011 grep -v '^ *+' conftest.er1 >conftest.err
16013 cat conftest.err >&5
16014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } && {
16016 test -z "$ac_c_werror_flag" ||
16017 test ! -s conftest.err
16018 } && test -s conftest$ac_exeext && {
16019 test "$cross_compiling" = yes ||
16020 $as_test_x conftest$ac_exeext
16022 ac_cv_lib_intl_dgettext=yes
16024 $as_echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.$ac_ext >&5
16027 ac_cv_lib_intl_dgettext=no
16030 rm -rf conftest.dSYM
16031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_lib_save_LIBS
16035 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
16036 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
16037 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
16038 gt_cv_func_dgettext_libintl=yes
16046 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
16047 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
16048 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
16049 { $as_echo "$as_me:$LINENO: result: " >&5
16051 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
16052 $as_echo_n "checking for ngettext in -lintl... " >&6; }
16053 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
16054 $as_echo_n "(cached) " >&6
16056 ac_check_lib_save_LIBS=$LIBS
16057 LIBS="-lintl -liconv $LIBS"
16058 cat >conftest.$ac_ext <<_ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16065 /* Override any GCC internal prototype to avoid an error.
16066 Use char because int might match the return type of a GCC
16067 builtin and then its argument prototype would still apply. */
16075 return ngettext ();
16080 rm -f conftest.$ac_objext conftest$ac_exeext
16081 if { (ac_try="$ac_link"
16082 case "(($ac_try" in
16083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16084 *) ac_try_echo=$ac_try;;
16086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16087 $as_echo "$ac_try_echo") >&5
16088 (eval "$ac_link") 2>conftest.er1
16090 grep -v '^ *+' conftest.er1 >conftest.err
16092 cat conftest.err >&5
16093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } && {
16095 test -z "$ac_c_werror_flag" ||
16096 test ! -s conftest.err
16097 } && test -s conftest$ac_exeext && {
16098 test "$cross_compiling" = yes ||
16099 $as_test_x conftest$ac_exeext
16101 ac_cv_lib_intl_ngettext=yes
16103 $as_echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16106 ac_cv_lib_intl_ngettext=no
16109 rm -rf conftest.dSYM
16110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16111 conftest$ac_exeext conftest.$ac_ext
16112 LIBS=$ac_check_lib_save_LIBS
16114 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
16115 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16116 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
16117 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
16118 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
16119 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
16120 $as_echo_n "(cached) " >&6
16122 ac_check_lib_save_LIBS=$LIBS
16123 LIBS="-lintl -liconv $LIBS"
16124 cat >conftest.$ac_ext <<_ACEOF
16127 cat confdefs.h >>conftest.$ac_ext
16128 cat >>conftest.$ac_ext <<_ACEOF
16129 /* end confdefs.h. */
16131 /* Override any GCC internal prototype to avoid an error.
16132 Use char because int might match the return type of a GCC
16133 builtin and then its argument prototype would still apply. */
16141 return dcgettext ();
16146 rm -f conftest.$ac_objext conftest$ac_exeext
16147 if { (ac_try="$ac_link"
16148 case "(($ac_try" in
16149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16150 *) ac_try_echo=$ac_try;;
16152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16153 $as_echo "$ac_try_echo") >&5
16154 (eval "$ac_link") 2>conftest.er1
16156 grep -v '^ *+' conftest.er1 >conftest.err
16158 cat conftest.err >&5
16159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } && {
16161 test -z "$ac_c_werror_flag" ||
16162 test ! -s conftest.err
16163 } && test -s conftest$ac_exeext && {
16164 test "$cross_compiling" = yes ||
16165 $as_test_x conftest$ac_exeext
16167 ac_cv_lib_intl_dcgettext=yes
16169 $as_echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16172 ac_cv_lib_intl_dcgettext=no
16175 rm -rf conftest.dSYM
16176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16177 conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16180 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
16181 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
16182 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
16183 gt_cv_func_dgettext_libintl=yes
16184 libintl_extra_libs=-liconv
16196 # If we found libintl, then check in it for bind_textdomain_codeset();
16197 # we'll prefer libc if neither have bind_textdomain_codeset(),
16198 # and both have dgettext and ngettext
16200 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
16201 glib_save_LIBS="$LIBS"
16202 LIBS="$LIBS -lintl $libintl_extra_libs"
16203 unset ac_cv_func_bind_textdomain_codeset
16205 for ac_func in bind_textdomain_codeset
16207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16208 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16209 $as_echo_n "checking for $ac_func... " >&6; }
16210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16211 $as_echo_n "(cached) " >&6
16213 cat >conftest.$ac_ext <<_ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16221 #define $ac_func innocuous_$ac_func
16223 /* System header to define __stub macros and hopefully few prototypes,
16224 which can conflict with char $ac_func (); below.
16225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16226 <limits.h> exists even on freestanding compilers. */
16229 # include <limits.h>
16231 # include <assert.h>
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16243 /* The GNU C library defines this for functions which it implements
16244 to always fail with ENOSYS. Some functions are actually named
16245 something starting with __ and the normal name is an alias. */
16246 #if defined __stub_$ac_func || defined __stub___$ac_func
16253 return $ac_func ();
16258 rm -f conftest.$ac_objext conftest$ac_exeext
16259 if { (ac_try="$ac_link"
16260 case "(($ac_try" in
16261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16262 *) ac_try_echo=$ac_try;;
16264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16265 $as_echo "$ac_try_echo") >&5
16266 (eval "$ac_link") 2>conftest.er1
16268 grep -v '^ *+' conftest.er1 >conftest.err
16270 cat conftest.err >&5
16271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } && {
16273 test -z "$ac_c_werror_flag" ||
16274 test ! -s conftest.err
16275 } && test -s conftest$ac_exeext && {
16276 test "$cross_compiling" = yes ||
16277 $as_test_x conftest$ac_exeext
16279 eval "$as_ac_var=yes"
16281 $as_echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.$ac_ext >&5
16284 eval "$as_ac_var=no"
16287 rm -rf conftest.dSYM
16288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16289 conftest$ac_exeext conftest.$ac_ext
16291 ac_res=`eval 'as_val=${'$as_ac_var'}
16292 $as_echo "$as_val"'`
16293 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16294 $as_echo "$ac_res" >&6; }
16295 as_val=`eval 'as_val=${'$as_ac_var'}
16296 $as_echo "$as_val"'`
16297 if test "x$as_val" = x""yes; then
16298 cat >>confdefs.h <<_ACEOF
16299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16305 LIBS="$glib_save_LIBS"
16307 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
16308 gt_cv_func_dgettext_libc=no
16310 if test "$gt_cv_func_dgettext_libc" = "yes" \
16311 && test "$gt_cv_func_ngettext_libc" = "yes"; then
16312 gt_cv_func_dgettext_libintl=no
16318 if test "$gt_cv_func_dgettext_libc" = "yes" \
16319 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
16320 gt_cv_have_gettext=yes
16323 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
16324 INTLLIBS="-lintl $libintl_extra_libs"
16327 if test "$gt_cv_have_gettext" = "yes"; then
16329 cat >>confdefs.h <<\_ACEOF
16330 #define HAVE_GETTEXT 1
16333 # Extract the first word of "msgfmt", so it can be a program name with args.
16334 set dummy msgfmt; ac_word=$2
16335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16336 $as_echo_n "checking for $ac_word... " >&6; }
16337 if test "${ac_cv_path_MSGFMT+set}" = set; then
16338 $as_echo_n "(cached) " >&6
16342 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16345 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
16346 for ac_dir in $PATH; do
16347 test -z "$ac_dir" && ac_dir=.
16348 if test -f $ac_dir/$ac_word; then
16349 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
16350 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
16356 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
16360 MSGFMT="$ac_cv_path_MSGFMT"
16361 if test "$MSGFMT" != "no"; then
16362 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16363 $as_echo "$MSGFMT" >&6; }
16365 { $as_echo "$as_me:$LINENO: result: no" >&5
16366 $as_echo "no" >&6; }
16368 if test "$MSGFMT" != "no"; then
16369 glib_save_LIBS="$LIBS"
16370 LIBS="$LIBS $INTLLIBS"
16372 for ac_func in dcgettext
16374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16375 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16376 $as_echo_n "checking for $ac_func... " >&6; }
16377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16378 $as_echo_n "(cached) " >&6
16380 cat >conftest.$ac_ext <<_ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16388 #define $ac_func innocuous_$ac_func
16390 /* System header to define __stub macros and hopefully few prototypes,
16391 which can conflict with char $ac_func (); below.
16392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16393 <limits.h> exists even on freestanding compilers. */
16396 # include <limits.h>
16398 # include <assert.h>
16403 /* Override any GCC internal prototype to avoid an error.
16404 Use char because int might match the return type of a GCC
16405 builtin and then its argument prototype would still apply. */
16410 /* The GNU C library defines this for functions which it implements
16411 to always fail with ENOSYS. Some functions are actually named
16412 something starting with __ and the normal name is an alias. */
16413 #if defined __stub_$ac_func || defined __stub___$ac_func
16420 return $ac_func ();
16425 rm -f conftest.$ac_objext conftest$ac_exeext
16426 if { (ac_try="$ac_link"
16427 case "(($ac_try" in
16428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16429 *) ac_try_echo=$ac_try;;
16431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16432 $as_echo "$ac_try_echo") >&5
16433 (eval "$ac_link") 2>conftest.er1
16435 grep -v '^ *+' conftest.er1 >conftest.err
16437 cat conftest.err >&5
16438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } && {
16440 test -z "$ac_c_werror_flag" ||
16441 test ! -s conftest.err
16442 } && test -s conftest$ac_exeext && {
16443 test "$cross_compiling" = yes ||
16444 $as_test_x conftest$ac_exeext
16446 eval "$as_ac_var=yes"
16448 $as_echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.$ac_ext >&5
16451 eval "$as_ac_var=no"
16454 rm -rf conftest.dSYM
16455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16456 conftest$ac_exeext conftest.$ac_ext
16458 ac_res=`eval 'as_val=${'$as_ac_var'}
16459 $as_echo "$as_val"'`
16460 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16461 $as_echo "$ac_res" >&6; }
16462 as_val=`eval 'as_val=${'$as_ac_var'}
16463 $as_echo "$as_val"'`
16464 if test "x$as_val" = x""yes; then
16465 cat >>confdefs.h <<_ACEOF
16466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16473 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
16474 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
16475 cat >conftest.foo <<_ACEOF
16479 "Content-Type: text/plain; charset=UTF-8\n"
16480 "Project-Id-Version: test 1.0\n"
16481 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
16482 "Last-Translator: test <foo@bar.xx>\n"
16483 "Language-Team: C <LL@li.org>\n"
16484 "MIME-Version: 1.0\n"
16485 "Content-Transfer-Encoding: 8bit\n"
16488 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
16489 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
16491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; then
16493 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
16494 $as_echo "yes" >&6; }
16495 else { $as_echo "$as_me:$LINENO: result: no" >&5
16496 $as_echo "no" >&6; }
16497 echo "$as_me: failed input was:" >&5
16498 sed 's/^/| /' conftest.foo >&5
16501 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16502 set dummy gmsgfmt; ac_word=$2
16503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16504 $as_echo_n "checking for $ac_word... " >&6; }
16505 if test "${ac_cv_path_GMSGFMT+set}" = set; then
16506 $as_echo_n "(cached) " >&6
16510 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16514 for as_dir in $PATH
16517 test -z "$as_dir" && as_dir=.
16518 for ac_exec_ext in '' $ac_executable_extensions; do
16519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16520 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16521 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16528 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16532 GMSGFMT=$ac_cv_path_GMSGFMT
16533 if test -n "$GMSGFMT"; then
16534 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
16535 $as_echo "$GMSGFMT" >&6; }
16537 { $as_echo "$as_me:$LINENO: result: no" >&5
16538 $as_echo "no" >&6; }
16542 # Extract the first word of "xgettext", so it can be a program name with args.
16543 set dummy xgettext; ac_word=$2
16544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16545 $as_echo_n "checking for $ac_word... " >&6; }
16546 if test "${ac_cv_path_XGETTEXT+set}" = set; then
16547 $as_echo_n "(cached) " >&6
16549 case "$XGETTEXT" in
16551 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16554 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
16555 for ac_dir in $PATH; do
16556 test -z "$ac_dir" && ac_dir=.
16557 if test -f $ac_dir/$ac_word; then
16558 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
16559 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
16565 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16569 XGETTEXT="$ac_cv_path_XGETTEXT"
16570 if test "$XGETTEXT" != ":"; then
16571 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
16572 $as_echo "$XGETTEXT" >&6; }
16574 { $as_echo "$as_me:$LINENO: result: no" >&5
16575 $as_echo "no" >&6; }
16578 cat >conftest.$ac_ext <<_ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16588 extern int _nl_msg_cat_cntr;
16589 return _nl_msg_cat_cntr
16594 rm -f conftest.$ac_objext conftest$ac_exeext
16595 if { (ac_try="$ac_link"
16596 case "(($ac_try" in
16597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16598 *) ac_try_echo=$ac_try;;
16600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16601 $as_echo "$ac_try_echo") >&5
16602 (eval "$ac_link") 2>conftest.er1
16604 grep -v '^ *+' conftest.er1 >conftest.err
16606 cat conftest.err >&5
16607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } && {
16609 test -z "$ac_c_werror_flag" ||
16610 test ! -s conftest.err
16611 } && test -s conftest$ac_exeext && {
16612 test "$cross_compiling" = yes ||
16613 $as_test_x conftest$ac_exeext
16618 $as_echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16623 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
16624 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
16625 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
16626 $as_echo_n "(cached) " >&6
16628 cat >conftest.$ac_ext <<_ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
16635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16636 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
16638 /* System header to define __stub macros and hopefully few prototypes,
16639 which can conflict with char bind_textdomain_codeset (); below.
16640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16641 <limits.h> exists even on freestanding compilers. */
16644 # include <limits.h>
16646 # include <assert.h>
16649 #undef bind_textdomain_codeset
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16657 char bind_textdomain_codeset ();
16658 /* The GNU C library defines this for functions which it implements
16659 to always fail with ENOSYS. Some functions are actually named
16660 something starting with __ and the normal name is an alias. */
16661 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
16668 return bind_textdomain_codeset ();
16673 rm -f conftest.$ac_objext conftest$ac_exeext
16674 if { (ac_try="$ac_link"
16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;;
16679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16680 $as_echo "$ac_try_echo") >&5
16681 (eval "$ac_link") 2>conftest.er1
16683 grep -v '^ *+' conftest.er1 >conftest.err
16685 cat conftest.err >&5
16686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } && {
16688 test -z "$ac_c_werror_flag" ||
16689 test ! -s conftest.err
16690 } && test -s conftest$ac_exeext && {
16691 test "$cross_compiling" = yes ||
16692 $as_test_x conftest$ac_exeext
16694 ac_cv_func_bind_textdomain_codeset=yes
16696 $as_echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.$ac_ext >&5
16699 ac_cv_func_bind_textdomain_codeset=no
16702 rm -rf conftest.dSYM
16703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16704 conftest$ac_exeext conftest.$ac_ext
16706 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
16707 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
16708 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
16724 rm -rf conftest.dSYM
16725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16726 conftest$ac_exeext conftest.$ac_ext
16727 LIBS="$glib_save_LIBS"
16730 gt_cv_have_gettext=no
16738 if test "$gt_cv_have_gettext" = "yes" ; then
16740 cat >>confdefs.h <<\_ACEOF
16741 #define ENABLE_NLS 1
16746 if test "$XGETTEXT" != ":"; then
16747 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
16750 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
16751 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16756 # We need to process the po/ directory.
16759 ac_config_commands="$ac_config_commands default-1"
16762 for lang in $ALL_LINGUAS; do
16763 GMOFILES="$GMOFILES $lang.gmo"
16764 POFILES="$POFILES $lang.po"
16779 if test "$gt_cv_have_gettext" = "yes"; then
16780 if test "x$ALL_LINGUAS" = "x"; then
16783 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
16784 $as_echo_n "checking for catalogs to be installed... " >&6; }
16786 for presentlang in $ALL_LINGUAS; do
16788 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
16789 desiredlanguages="$LINGUAS"
16791 desiredlanguages="$ALL_LINGUAS"
16793 for desiredlang in $desiredlanguages; do
16794 # Use the presentlang catalog if desiredlang is
16795 # a. equal to presentlang, or
16796 # b. a variant of presentlang (because in this case,
16797 # presentlang can be used as a fallback for messages
16798 # which are not translated in the desiredlang catalog).
16799 case "$desiredlang" in
16800 "$presentlang"*) useit=yes;;
16803 if test $useit = yes; then
16804 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
16807 LINGUAS=$NEW_LINGUAS
16808 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
16809 $as_echo "$LINGUAS" >&6; }
16812 if test -n "$LINGUAS"; then
16813 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
16818 if test -n "$ac_aux_dir"; then
16819 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
16821 if test -z "$MKINSTALLDIRS"; then
16822 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
16826 test -d po || mkdir po
16827 if test "x$srcdir" != "x."; then
16828 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
16829 posrcprefix="$srcdir/"
16831 posrcprefix="../$srcdir/"
16837 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
16838 < $srcdir/po/POTFILES.in > po/POTFILES
16842 ac_config_files="$ac_config_files Makefile barcode-0.98/Makefile iec16022-0.2.1/Makefile libglabels/Makefile libglabels/libglabels.pc src/Makefile src/pixmaps/Makefile src/stock-pixmaps/Makefile src/mygal/Makefile data/Makefile data/templates/Makefile data/pixmaps/Makefile data/mime/Makefile data/glade/Makefile data/desktop/Makefile data/dtd/Makefile data/man/Makefile po/Makefile.in help/Makefile docs/Makefile docs/libglabels/Makefile glabels.spec"
16844 cat >confcache <<\_ACEOF
16845 # This file is a shell script that caches the results of configure
16846 # tests run on this system so they can be shared between configure
16847 # scripts and configure runs, see configure's option --config-cache.
16848 # It is not useful on other systems. If it contains results you don't
16849 # want to keep, you may remove or edit it.
16851 # config.status only pays attention to the cache file if you give it
16852 # the --recheck option to rerun configure.
16854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16856 # following values.
16860 # The following way of writing the cache mishandles newlines in values,
16861 # but we know of no workaround that is simple, portable, and efficient.
16862 # So, we kill variables containing newlines.
16863 # Ultrix sh set writes to stderr and can't be redirected directly,
16864 # and sets the high bit in the cache file unless we assign to the vars.
16866 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16867 eval ac_val=\$$ac_var
16871 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16875 _ | IFS | as_nl) ;; #(
16876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16877 *) $as_unset $ac_var ;;
16883 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16884 *${as_nl}ac_space=\ *)
16885 # `set' does not quote correctly, so add quotes (double-quote
16886 # substitution turns \\\\ into \\, and sed turns \\ into \).
16889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16892 # `set' quotes correctly as required by POSIX, so do not add quotes.
16893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16902 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16904 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16907 if test -w "$cache_file"; then
16908 test "x$cache_file" != "x/dev/null" &&
16909 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16910 $as_echo "$as_me: updating cache $cache_file" >&6;}
16911 cat confcache >$cache_file
16913 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16920 # Let make expand exec_prefix.
16921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16923 DEFS=-DHAVE_CONFIG_H
16927 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16928 # 1. Remove the extension, and $U if already installed.
16929 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16930 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16931 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16932 # will be set to the directory where LIBOBJS objects are built.
16933 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16934 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16936 LIBOBJS=$ac_libobjs
16938 LTLIBOBJS=$ac_ltlibobjs
16941 if test -n "$EXEEXT"; then
16943 am__EXEEXT_FALSE='#'
16945 am__EXEEXT_TRUE='#'
16949 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
16950 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
16951 Usually this means the macro was only invoked conditionally." >&5
16952 $as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
16953 Usually this means the macro was only invoked conditionally." >&2;}
16954 { (exit 1); exit 1; }; }
16956 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
16957 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16958 Usually this means the macro was only invoked conditionally." >&5
16959 $as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16960 Usually this means the macro was only invoked conditionally." >&2;}
16961 { (exit 1); exit 1; }; }
16963 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16964 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16965 Usually this means the macro was only invoked conditionally." >&5
16966 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16967 Usually this means the macro was only invoked conditionally." >&2;}
16968 { (exit 1); exit 1; }; }
16970 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16971 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16972 Usually this means the macro was only invoked conditionally." >&5
16973 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16974 Usually this means the macro was only invoked conditionally." >&2;}
16975 { (exit 1); exit 1; }; }
16977 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16978 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16979 Usually this means the macro was only invoked conditionally." >&5
16980 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16981 Usually this means the macro was only invoked conditionally." >&2;}
16982 { (exit 1); exit 1; }; }
16985 ac_config_commands="$ac_config_commands po/stamp-it"
16988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16989 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16990 Usually this means the macro was only invoked conditionally." >&5
16991 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16992 Usually this means the macro was only invoked conditionally." >&2;}
16993 { (exit 1); exit 1; }; }
16995 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16996 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16997 Usually this means the macro was only invoked conditionally." >&5
16998 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16999 Usually this means the macro was only invoked conditionally." >&2;}
17000 { (exit 1); exit 1; }; }
17002 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17003 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
17004 Usually this means the macro was only invoked conditionally." >&5
17005 $as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
17006 Usually this means the macro was only invoked conditionally." >&2;}
17007 { (exit 1); exit 1; }; }
17009 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17010 { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17011 Usually this means the macro was only invoked conditionally." >&5
17012 $as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17013 Usually this means the macro was only invoked conditionally." >&2;}
17014 { (exit 1); exit 1; }; }
17016 if test -z "${HAVE_NEW_MIME_TRUE}" && test -z "${HAVE_NEW_MIME_FALSE}"; then
17017 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NEW_MIME\" was never defined.
17018 Usually this means the macro was only invoked conditionally." >&5
17019 $as_echo "$as_me: error: conditional \"HAVE_NEW_MIME\" was never defined.
17020 Usually this means the macro was only invoked conditionally." >&2;}
17021 { (exit 1); exit 1; }; }
17023 if test -z "${HAVE_NEWER_MIME_TRUE}" && test -z "${HAVE_NEWER_MIME_FALSE}"; then
17024 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NEWER_MIME\" was never defined.
17025 Usually this means the macro was only invoked conditionally." >&5
17026 $as_echo "$as_me: error: conditional \"HAVE_NEWER_MIME\" was never defined.
17027 Usually this means the macro was only invoked conditionally." >&2;}
17028 { (exit 1); exit 1; }; }
17030 if test -z "${ENABLE_UPDATE_MIMEDB_TRUE}" && test -z "${ENABLE_UPDATE_MIMEDB_FALSE}"; then
17031 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UPDATE_MIMEDB\" was never defined.
17032 Usually this means the macro was only invoked conditionally." >&5
17033 $as_echo "$as_me: error: conditional \"ENABLE_UPDATE_MIMEDB\" was never defined.
17034 Usually this means the macro was only invoked conditionally." >&2;}
17035 { (exit 1); exit 1; }; }
17037 if test -z "${ENABLE_UPDATE_DESKTOPDB_TRUE}" && test -z "${ENABLE_UPDATE_DESKTOPDB_FALSE}"; then
17038 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UPDATE_DESKTOPDB\" was never defined.
17039 Usually this means the macro was only invoked conditionally." >&5
17040 $as_echo "$as_me: error: conditional \"ENABLE_UPDATE_DESKTOPDB\" was never defined.
17041 Usually this means the macro was only invoked conditionally." >&2;}
17042 { (exit 1); exit 1; }; }
17045 : ${CONFIG_STATUS=./config.status}
17047 ac_clean_files_save=$ac_clean_files
17048 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17049 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17050 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17051 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17053 # Generated by $as_me.
17054 # Run this file to recreate the current configuration.
17055 # Compiler output produced by configure, useful for debugging
17056 # configure, is in config.log if it exists.
17059 ac_cs_recheck=false
17061 SHELL=\${CONFIG_SHELL-$SHELL}
17064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17065 ## --------------------- ##
17066 ## M4sh Initialization. ##
17067 ## --------------------- ##
17069 # Be more Bourne compatible
17070 DUALCASE=1; export DUALCASE # for MKS sh
17071 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17074 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17075 # is contrary to our usage. Disable this feature.
17076 alias -g '${1+"$@"}'='"$@"'
17077 setopt NO_GLOB_SUBST
17079 case `(set -o) 2>/dev/null` in
17080 *posix*) set -o posix ;;
17089 # Avoid depending upon Character Ranges.
17090 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17091 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17092 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17093 as_cr_digits='0123456789'
17094 as_cr_alnum=$as_cr_Letters$as_cr_digits
17099 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17100 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17102 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17103 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17104 as_echo='printf %s\n'
17105 as_echo_n='printf %s'
17107 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17108 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17109 as_echo_n='/usr/ucb/echo -n'
17111 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17112 as_echo_n_body='eval
17116 expr "X$arg" : "X\\(.*\\)$as_nl";
17117 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17119 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17121 export as_echo_n_body
17122 as_echo_n='sh -c $as_echo_n_body as_echo'
17124 export as_echo_body
17125 as_echo='sh -c $as_echo_body as_echo'
17128 # The user is always right.
17129 if test "${PATH_SEPARATOR+set}" != set; then
17131 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17132 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17137 # Support unset when possible.
17138 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17146 # We need space, tab and new line, in precisely that order. Quoting is
17147 # there to prevent editors from complaining about space-tab.
17148 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17149 # splitting by setting IFS to empty value.)
17152 # Find who we are. Look in the path if we contain no directory separator.
17154 *[\\/]* ) as_myself=$0 ;;
17155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17156 for as_dir in $PATH
17159 test -z "$as_dir" && as_dir=.
17160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17166 # We did not find ourselves, most probably we were run as `sh COMMAND'
17167 # in which case we are not to be found in the path.
17168 if test "x$as_myself" = x; then
17171 if test ! -f "$as_myself"; then
17172 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17173 { (exit 1); exit 1; }
17176 # Work around bugs in pre-3.0 UWIN ksh.
17177 for as_var in ENV MAIL MAILPATH
17178 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17190 # Required to use basename.
17191 if expr a : '\(a\)' >/dev/null 2>&1 &&
17192 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17198 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17199 as_basename=basename
17205 # Name of the executable.
17206 as_me=`$as_basename -- "$0" ||
17207 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17208 X"$0" : 'X\(//\)$' \| \
17209 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17211 sed '/^.*\/\([^/][^/]*\)\/*$/{
17230 as_lineno_1=$LINENO
17231 as_lineno_2=$LINENO
17232 test "x$as_lineno_1" != "x$as_lineno_2" &&
17233 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17235 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17236 # uniformly replaced by the line number. The first 'sed' inserts a
17237 # line-number line after each line using $LINENO; the second 'sed'
17238 # does the real work. The second script uses 'N' to pair each
17239 # line-number line with the line containing $LINENO, and appends
17240 # trailing '-' during substitution so that $LINENO is not a special
17241 # case at line end.
17242 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17243 # scripts with optimization help from Paolo Bonzini. Blame Lee
17244 # E. McMahon (1931-1989) for sed's syntax. :-)
17256 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17259 ' >$as_me.lineno &&
17260 chmod +x "$as_me.lineno" ||
17261 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17262 { (exit 1); exit 1; }; }
17264 # Don't try to exec as it changes $[0], causing all sort of problems
17265 # (the dirname of $[0] is not the place where we might find the
17266 # original and so on. Autoconf is especially sensitive to this).
17267 . "./$as_me.lineno"
17268 # Exit status is that of the last command.
17273 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17279 ECHO_C= ECHO_N= ECHO_T=
17280 case `echo -n x` in
17282 case `echo 'x\c'` in
17283 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17289 if expr a : '\(a\)' >/dev/null 2>&1 &&
17290 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17296 rm -f conf$$ conf$$.exe conf$$.file
17297 if test -d conf$$.dir; then
17298 rm -f conf$$.dir/conf$$.file
17301 mkdir conf$$.dir 2>/dev/null
17303 if (echo >conf$$.file) 2>/dev/null; then
17304 if ln -s conf$$.file conf$$ 2>/dev/null; then
17306 # ... but there are two gotchas:
17307 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17308 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17309 # In both cases, we have to default to `cp -p'.
17310 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17312 elif ln conf$$.file conf$$ 2>/dev/null; then
17320 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17321 rmdir conf$$.dir 2>/dev/null
17323 if mkdir -p . 2>/dev/null; then
17326 test -d ./-p && rmdir ./-p
17330 if test -x / >/dev/null 2>&1; then
17331 as_test_x='test -x'
17333 if ls -dL / >/dev/null 2>&1; then
17340 if test -d "$1"; then
17346 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17347 ???[sx]*):;;*)false;;esac;fi
17351 as_executable_p=$as_test_x
17353 # Sed expression to map a string onto a valid CPP name.
17354 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17356 # Sed expression to map a string onto a valid variable name.
17357 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17362 # Save the log message, to keep $[0] and so on meaningful, and to
17363 # report actual input values of CONFIG_FILES etc. instead of their
17364 # values after options handling.
17366 This file was extended by glabels $as_me 2.2.8, which was
17367 generated by GNU Autoconf 2.63. Invocation command line was
17369 CONFIG_FILES = $CONFIG_FILES
17370 CONFIG_HEADERS = $CONFIG_HEADERS
17371 CONFIG_LINKS = $CONFIG_LINKS
17372 CONFIG_COMMANDS = $CONFIG_COMMANDS
17375 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17380 case $ac_config_files in *"
17381 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17384 case $ac_config_headers in *"
17385 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17390 # Files that config.status was made for.
17391 config_files="$ac_config_files"
17392 config_headers="$ac_config_headers"
17393 config_commands="$ac_config_commands"
17397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17399 \`$as_me' instantiates files from templates according to the
17400 current configuration.
17402 Usage: $0 [OPTION]... [FILE]...
17404 -h, --help print this help, then exit
17405 -V, --version print version number and configuration settings, then exit
17406 -q, --quiet, --silent
17407 do not print progress messages
17408 -d, --debug don't remove temporary files
17409 --recheck update $as_me by reconfiguring in the same conditions
17410 --file=FILE[:TEMPLATE]
17411 instantiate the configuration file FILE
17412 --header=FILE[:TEMPLATE]
17413 instantiate the configuration header FILE
17415 Configuration files:
17418 Configuration headers:
17421 Configuration commands:
17424 Report bugs to <bug-autoconf@gnu.org>."
17427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17429 glabels config.status 2.2.8
17430 configured by $0, generated by GNU Autoconf 2.63,
17431 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17433 Copyright (C) 2008 Free Software Foundation, Inc.
17434 This config.status script is free software; the Free Software Foundation
17435 gives unlimited permission to copy, distribute and modify it."
17442 test -n "\$AWK" || AWK=awk
17445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17446 # The default lists apply if the user does not specify any file.
17452 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17453 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17464 # Handling of the options.
17465 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17467 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17468 $as_echo "$ac_cs_version"; exit ;;
17469 --debug | --debu | --deb | --de | --d | -d )
17471 --file | --fil | --fi | --f )
17474 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17476 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17477 ac_need_defaults=false;;
17478 --header | --heade | --head | --hea )
17481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17483 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17484 ac_need_defaults=false;;
17486 # Conflict between --help and --header
17487 { $as_echo "$as_me: error: ambiguous option: $1
17488 Try \`$0 --help' for more information." >&2
17489 { (exit 1); exit 1; }; };;
17490 --help | --hel | -h )
17491 $as_echo "$ac_cs_usage"; exit ;;
17492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17493 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17496 # This is an error.
17497 -*) { $as_echo "$as_me: error: unrecognized option: $1
17498 Try \`$0 --help' for more information." >&2
17499 { (exit 1); exit 1; }; } ;;
17501 *) ac_config_targets="$ac_config_targets $1"
17502 ac_need_defaults=false ;;
17508 ac_configure_extra_args=
17510 if $ac_cs_silent; then
17512 ac_configure_extra_args="$ac_configure_extra_args --silent"
17516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17517 if \$ac_cs_recheck; then
17518 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17520 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17521 CONFIG_SHELL='$SHELL'
17522 export CONFIG_SHELL
17527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17531 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17532 ## Running $as_me. ##
17538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17542 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17545 # The HP-UX ksh and POSIX shell print the target directory to stdout
17546 # if CDPATH is set.
17547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17549 sed_quote_subst='$sed_quote_subst'
17550 double_quote_subst='$double_quote_subst'
17551 delay_variable_subst='$delay_variable_subst'
17552 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17553 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17554 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17555 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17556 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17557 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17558 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17559 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17560 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17561 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17562 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17563 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17564 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17565 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17566 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17567 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17568 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17569 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17570 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17571 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17572 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17573 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17574 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17575 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17576 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17577 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17578 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17579 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17580 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17581 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17582 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17583 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17584 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17585 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17586 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17587 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17588 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17589 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17590 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17591 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17592 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17593 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17594 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17595 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17596 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"`'
17597 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"`'
17598 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17599 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17600 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17601 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17602 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17603 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17604 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17605 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17606 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17607 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17608 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17609 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17610 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17611 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17612 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17613 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17614 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17615 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17616 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17617 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17618 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17619 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17620 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17621 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17622 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17623 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17624 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17625 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17626 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17627 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17628 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17629 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17630 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17631 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17632 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17633 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17634 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17635 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17636 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17637 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17638 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17639 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17640 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17641 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17642 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17643 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17644 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17645 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17646 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17647 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17648 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17649 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17650 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17651 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17652 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17653 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17654 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17655 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17656 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17657 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17658 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17659 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17660 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17661 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17662 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17663 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17664 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17665 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17666 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17667 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17668 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17669 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17672 LTCFLAGS='$LTCFLAGS'
17673 compiler='$compiler_DEFAULT'
17675 # Quote evaled strings.
17687 deplibs_check_method \
17696 lt_cv_sys_global_symbol_pipe \
17697 lt_cv_sys_global_symbol_to_cdecl \
17698 lt_cv_sys_global_symbol_to_c_name_address \
17699 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17702 lt_prog_compiler_no_builtin_flag \
17703 lt_prog_compiler_wl \
17704 lt_prog_compiler_pic \
17705 lt_prog_compiler_static \
17706 lt_cv_prog_compiler_c_o \
17714 export_dynamic_flag_spec \
17715 whole_archive_flag_spec \
17716 compiler_needs_object \
17718 allow_undefined_flag \
17719 no_undefined_flag \
17720 hardcode_libdir_flag_spec \
17721 hardcode_libdir_flag_spec_ld \
17722 hardcode_libdir_separator \
17727 variables_saved_for_relink \
17729 library_names_spec \
17734 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17735 *[\\\\\\\`\\"\\\$]*)
17736 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17739 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17744 # Double-quote double-evaled strings.
17745 for var in reload_cmds \
17746 old_postinstall_cmds \
17747 old_postuninstall_cmds \
17749 extract_expsyms_cmds \
17750 old_archive_from_new_cmds \
17751 old_archive_from_expsyms_cmds \
17753 archive_expsym_cmds \
17755 module_expsym_cmds \
17756 export_symbols_cmds \
17759 postuninstall_cmds \
17761 sys_lib_search_path_spec \
17762 sys_lib_dlsearch_path_spec; do
17763 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17764 *[\\\\\\\`\\"\\\$]*)
17765 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17768 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17773 # Fix-up fallback echo if it was mangled by the above quoting rules.
17775 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17779 ac_aux_dir='$ac_aux_dir'
17780 xsi_shell='$xsi_shell'
17781 lt_shell_append='$lt_shell_append'
17783 # See if we are running on zsh, and set the options which allow our
17784 # commands through without removal of \ escapes INIT.
17785 if test -n "\${ZSH_VERSION+set}" ; then
17786 setopt NO_GLOB_SUBST
17792 TIMESTAMP='$TIMESTAMP'
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17804 # Handling of arguments.
17805 for ac_config_target in $ac_config_targets
17807 case $ac_config_target in
17808 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17809 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17810 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17811 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17812 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17813 "barcode-0.98/Makefile") CONFIG_FILES="$CONFIG_FILES barcode-0.98/Makefile" ;;
17814 "iec16022-0.2.1/Makefile") CONFIG_FILES="$CONFIG_FILES iec16022-0.2.1/Makefile" ;;
17815 "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
17816 "libglabels/libglabels.pc") CONFIG_FILES="$CONFIG_FILES libglabels/libglabels.pc" ;;
17817 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17818 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
17819 "src/stock-pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/stock-pixmaps/Makefile" ;;
17820 "src/mygal/Makefile") CONFIG_FILES="$CONFIG_FILES src/mygal/Makefile" ;;
17821 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17822 "data/templates/Makefile") CONFIG_FILES="$CONFIG_FILES data/templates/Makefile" ;;
17823 "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
17824 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
17825 "data/glade/Makefile") CONFIG_FILES="$CONFIG_FILES data/glade/Makefile" ;;
17826 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
17827 "data/dtd/Makefile") CONFIG_FILES="$CONFIG_FILES data/dtd/Makefile" ;;
17828 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
17829 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17830 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17831 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17832 "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
17833 "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
17834 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17836 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17837 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17838 { (exit 1); exit 1; }; };;
17843 # If the user did not use the arguments to specify the items to instantiate,
17844 # then the envvar interface is used. Set only those that are not.
17845 # We use the long form for the default assignment because of an extremely
17846 # bizarre bug on SunOS 4.1.3.
17847 if $ac_need_defaults; then
17848 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17849 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17850 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17853 # Have a temporary directory for convenience. Make it in the build tree
17854 # simply because there is no reason against having it here, and in addition,
17855 # creating and moving files from /tmp can sometimes cause problems.
17856 # Hook for its removal unless debugging.
17857 # Note that there is a small window in which the directory will not be cleaned:
17858 # after its creation but before its name has been assigned to `$tmp'.
17862 trap 'exit_status=$?
17863 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17865 trap '{ (exit 1); exit 1; }' 1 2 13 15
17867 # Create a (secure) tmp directory for tmp files.
17870 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17871 test -n "$tmp" && test -d "$tmp"
17874 tmp=./conf$$-$RANDOM
17875 (umask 077 && mkdir "$tmp")
17878 $as_echo "$as_me: cannot create a temporary directory in ." >&2
17879 { (exit 1); exit 1; }
17882 # Set up the scripts for CONFIG_FILES section.
17883 # No need to generate them if there are no CONFIG_FILES.
17884 # This happens for instance with `./config.status config.h'.
17885 if test -n "$CONFIG_FILES"; then
17889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17893 ac_cs_awk_cr=$ac_cr
17896 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17901 echo "cat >conf$$subs.awk <<_ACEOF" &&
17902 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17904 } >conf$$subs.sh ||
17905 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17906 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17907 { (exit 1); exit 1; }; }
17908 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17910 for ac_last_try in false false false false false :; do
17911 . ./conf$$subs.sh ||
17912 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17913 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17914 { (exit 1); exit 1; }; }
17916 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17917 if test $ac_delim_n = $ac_delim_num; then
17919 elif $ac_last_try; then
17920 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17921 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17922 { (exit 1); exit 1; }; }
17924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17927 rm -f conf$$subs.sh
17929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17930 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17934 s/^/S["/; s/!.*/"]=/
17944 s/\(.\{148\}\).*/\1/
17946 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17951 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17958 s/\(.\{148\}\).*/\1/
17960 s/["\\]/\\&/g; s/^/"/; s/$/"/
17964 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17969 ' <conf$$subs.awk | sed '
17974 ' >>$CONFIG_STATUS || ac_write_fail=1
17975 rm -f conf$$subs.awk
17976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17978 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17979 for (key in S) S_is_set[key] = 1
17985 nfields = split(line, field, "@")
17987 len = length(field[1])
17988 for (i = 2; i < nfields; i++) {
17990 keylen = length(key)
17991 if (S_is_set[key]) {
17993 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17994 len += length(value) + length(field[++i])
18005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18006 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18007 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18010 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18011 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18012 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
18013 { (exit 1); exit 1; }; }
18016 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18017 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18018 # trailing colons and then remove the whole line if VPATH becomes empty
18019 # (actually we leave an empty line to preserve line numbers).
18020 if test "x$srcdir" = x.; then
18021 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18022 s/:*\$(srcdir):*/:/
18023 s/:*\${srcdir}:*/:/
18025 s/^\([^=]*=[ ]*\):*/\1/
18031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18032 fi # test -n "$CONFIG_FILES"
18034 # Set up the scripts for CONFIG_HEADERS section.
18035 # No need to generate them if there are no CONFIG_HEADERS.
18036 # This happens for instance with `./config.status Makefile'.
18037 if test -n "$CONFIG_HEADERS"; then
18038 cat >"$tmp/defines.awk" <<\_ACAWK ||
18042 # Transform confdefs.h into an awk script `defines.awk', embedded as
18043 # here-document in config.status, that substitutes the proper values into
18044 # config.h.in to produce config.h.
18046 # Create a delimiter string that does not exist in confdefs.h, to ease
18047 # handling of long lines.
18049 for ac_last_try in false false :; do
18050 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18051 if test -z "$ac_t"; then
18053 elif $ac_last_try; then
18054 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18055 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18056 { (exit 1); exit 1; }; }
18058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18062 # For the awk script, D is an array of macro values keyed by name,
18063 # likewise P contains macro parameters if any. Preserve backslash
18064 # newline sequences.
18066 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18068 s/.\{148\}/&'"$ac_delim"'/g
18071 s/^[ ]*#[ ]*define[ ][ ]*/ /
18078 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18080 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18084 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18085 D["\1"]=" \3\\\\\\n"\\/p
18087 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18092 s/.\{148\}/&'"$ac_delim"'/g
18097 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18100 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18102 ' <confdefs.h | sed '
18103 s/'"$ac_delim"'/"\\\
18104 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18107 for (key in D) D_is_set[key] = 1
18110 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18112 split(line, arg, " ")
18113 if (arg[1] == "#") {
18117 defundef = substr(arg[1], 2)
18120 split(mac1, mac2, "(") #)
18122 prefix = substr(line, 1, index(line, defundef) - 1)
18123 if (D_is_set[macro]) {
18124 # Preserve the white space surrounding the "#".
18125 print prefix "define", macro P[macro] D[macro]
18128 # Replace #undef with comments. This is necessary, for example,
18129 # in the case of _POSIX_SOURCE, which is predefined and required
18130 # on some systems where configure will not decide to define it.
18131 if (defundef == "undef") {
18132 print "/*", prefix defundef, macro, "*/"
18140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18141 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18142 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18143 { (exit 1); exit 1; }; }
18144 fi # test -n "$CONFIG_HEADERS"
18147 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18152 :[FHLC]) ac_mode=$ac_tag; continue;;
18154 case $ac_mode$ac_tag in
18156 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18157 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18158 { (exit 1); exit 1; }; };;
18159 :[FH]-) ac_tag=-:-;;
18160 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18177 -) ac_f="$tmp/stdin";;
18178 *) # Look for the file first in the build tree, then in the source tree
18179 # (if the path is not absolute). The absolute path cannot be DOS-style,
18180 # because $ac_f cannot contain `:'.
18184 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18186 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18187 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18188 { (exit 1); exit 1; }; };;
18190 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18191 ac_file_inputs="$ac_file_inputs '$ac_f'"
18194 # Let's still pretend it is `configure' which instantiates (i.e., don't
18195 # use $as_me), people would be surprised to read:
18196 # /* config.h. Generated by config.status. */
18197 configure_input='Generated from '`
18198 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18200 if test x"$ac_file" != x-; then
18201 configure_input="$ac_file. $configure_input"
18202 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18203 $as_echo "$as_me: creating $ac_file" >&6;}
18205 # Neutralize special characters interpreted by sed in replacement strings.
18206 case $configure_input in #(
18207 *\&* | *\|* | *\\* )
18208 ac_sed_conf_input=`$as_echo "$configure_input" |
18209 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18210 *) ac_sed_conf_input=$configure_input;;
18214 *:-:* | *:-) cat >"$tmp/stdin" \
18215 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18216 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18217 { (exit 1); exit 1; }; } ;;
18222 ac_dir=`$as_dirname -- "$ac_file" ||
18223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18224 X"$ac_file" : 'X\(//\)[^/]' \| \
18225 X"$ac_file" : 'X\(//\)$' \| \
18226 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18227 $as_echo X"$ac_file" |
18228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18232 /^X\(\/\/\)[^/].*/{
18247 -*) as_dir=./$as_dir;;
18249 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18253 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18254 *) as_qdir=$as_dir;;
18256 as_dirs="'$as_qdir' $as_dirs"
18257 as_dir=`$as_dirname -- "$as_dir" ||
18258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18259 X"$as_dir" : 'X\(//\)[^/]' \| \
18260 X"$as_dir" : 'X\(//\)$' \| \
18261 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18262 $as_echo X"$as_dir" |
18263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18267 /^X\(\/\/\)[^/].*/{
18280 test -d "$as_dir" && break
18282 test -z "$as_dirs" || eval "mkdir $as_dirs"
18283 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18284 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18285 { (exit 1); exit 1; }; }; }
18289 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18291 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18292 # A ".." for each directory in $ac_dir_suffix.
18293 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18294 case $ac_top_builddir_sub in
18295 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18296 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18299 ac_abs_top_builddir=$ac_pwd
18300 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18301 # for backward compatibility:
18302 ac_top_builddir=$ac_top_build_prefix
18305 .) # We are building in place.
18307 ac_top_srcdir=$ac_top_builddir_sub
18308 ac_abs_top_srcdir=$ac_pwd ;;
18309 [\\/]* | ?:[\\/]* ) # Absolute name.
18310 ac_srcdir=$srcdir$ac_dir_suffix;
18311 ac_top_srcdir=$srcdir
18312 ac_abs_top_srcdir=$srcdir ;;
18313 *) # Relative name.
18314 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18315 ac_top_srcdir=$ac_top_build_prefix$srcdir
18316 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18318 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18328 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18329 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18331 ac_MKDIR_P=$MKDIR_P
18333 [\\/$]* | ?:[\\/]* ) ;;
18334 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18339 # If the template does not know about datarootdir, expand it.
18340 # FIXME: This hack should be removed a few years after 2.60.
18341 ac_datarootdir_hack=; ac_datarootdir_seen=
18354 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18355 *datarootdir*) ac_datarootdir_seen=yes;;
18356 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18357 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18358 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18361 ac_datarootdir_hack='
18362 s&@datadir@&$datadir&g
18363 s&@docdir@&$docdir&g
18364 s&@infodir@&$infodir&g
18365 s&@localedir@&$localedir&g
18366 s&@mandir@&$mandir&g
18367 s&\\\${datarootdir}&$datarootdir&g' ;;
18371 # Neutralize VPATH when `$srcdir' = `.'.
18372 # Shell code in configure.ac might set extrasub.
18373 # FIXME: do we really want to maintain this feature?
18374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18375 ac_sed_extra="$ac_vpsub
18378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18380 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18381 s|@configure_input@|$ac_sed_conf_input|;t t
18382 s&@top_builddir@&$ac_top_builddir_sub&;t t
18383 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18384 s&@srcdir@&$ac_srcdir&;t t
18385 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18386 s&@top_srcdir@&$ac_top_srcdir&;t t
18387 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18388 s&@builddir@&$ac_builddir&;t t
18389 s&@abs_builddir@&$ac_abs_builddir&;t t
18390 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18391 s&@INSTALL@&$ac_INSTALL&;t t
18392 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18393 $ac_datarootdir_hack
18395 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18396 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18397 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18398 { (exit 1); exit 1; }; }
18400 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18401 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18402 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18403 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18404 which seems to be undefined. Please make sure it is defined." >&5
18405 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18406 which seems to be undefined. Please make sure it is defined." >&2;}
18410 -) cat "$tmp/out" && rm -f "$tmp/out";;
18411 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18413 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18414 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18415 { (exit 1); exit 1; }; }
18421 if test x"$ac_file" != x-; then
18423 $as_echo "/* $configure_input */" \
18424 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18425 } >"$tmp/config.h" \
18426 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18427 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18428 { (exit 1); exit 1; }; }
18429 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18430 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18431 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18434 mv "$tmp/config.h" "$ac_file" \
18435 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18436 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18437 { (exit 1); exit 1; }; }
18440 $as_echo "/* $configure_input */" \
18441 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18442 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18443 $as_echo "$as_me: error: could not create -" >&2;}
18444 { (exit 1); exit 1; }; }
18446 # Compute "$ac_file"'s index in $config_headers.
18449 for _am_header in $config_headers :; do
18450 case $_am_header in
18451 $_am_arg | $_am_arg:* )
18454 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18457 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18458 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18459 X"$_am_arg" : 'X\(//\)[^/]' \| \
18460 X"$_am_arg" : 'X\(//\)$' \| \
18461 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18462 $as_echo X"$_am_arg" |
18463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18467 /^X\(\/\/\)[^/].*/{
18479 s/.*/./; q'`/stamp-h$_am_stamp_count
18482 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18483 $as_echo "$as_me: executing $ac_file commands" >&6;}
18488 case $ac_file$ac_mode in
18489 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18490 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18491 # are listed without --file. Let's play safe and only enable the eval
18492 # if we detect the quoting.
18493 case $CONFIG_FILES in
18494 *\'*) eval set x "$CONFIG_FILES" ;;
18495 *) set x $CONFIG_FILES ;;
18500 # Strip MF so we end up with the name of the file.
18501 mf=`echo "$mf" | sed -e 's/:.*$//'`
18502 # Check whether this is an Automake generated Makefile or not.
18503 # We used to match only the files named `Makefile.in', but
18504 # some people rename them; so instead we look at the file content.
18505 # Grep'ing the first line is not enough: some people post-process
18506 # each Makefile.in and add a new line on top of each file to say so.
18507 # Grep'ing the whole file is not good either: AIX grep has a line
18508 # limit of 2048, but all sed's we know have understand at least 4000.
18509 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18510 dirpart=`$as_dirname -- "$mf" ||
18511 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18512 X"$mf" : 'X\(//\)[^/]' \| \
18513 X"$mf" : 'X\(//\)$' \| \
18514 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18520 /^X\(\/\/\)[^/].*/{
18536 # Extract the definition of DEPDIR, am__include, and am__quote
18537 # from the Makefile without running `make'.
18538 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18539 test -z "$DEPDIR" && continue
18540 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18541 test -z "am__include" && continue
18542 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18543 # When using ansi2knr, U may be empty or an underscore; expand it
18544 U=`sed -n 's/^U = //p' < "$mf"`
18545 # Find all dependency output files, they are included files with
18546 # $(DEPDIR) in their names. We invoke sed twice because it is the
18547 # simplest approach to changing $(DEPDIR) to its actual value in the
18549 for file in `sed -n "
18550 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18551 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18552 # Make sure the directory exists.
18553 test -f "$dirpart/$file" && continue
18554 fdir=`$as_dirname -- "$file" ||
18555 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18556 X"$file" : 'X\(//\)[^/]' \| \
18557 X"$file" : 'X\(//\)$' \| \
18558 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18559 $as_echo X"$file" |
18560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18564 /^X\(\/\/\)[^/].*/{
18577 { as_dir=$dirpart/$fdir
18579 -*) as_dir=./$as_dir;;
18581 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18585 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18586 *) as_qdir=$as_dir;;
18588 as_dirs="'$as_qdir' $as_dirs"
18589 as_dir=`$as_dirname -- "$as_dir" ||
18590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18591 X"$as_dir" : 'X\(//\)[^/]' \| \
18592 X"$as_dir" : 'X\(//\)$' \| \
18593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18594 $as_echo X"$as_dir" |
18595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18599 /^X\(\/\/\)[^/].*/{
18612 test -d "$as_dir" && break
18614 test -z "$as_dirs" || eval "mkdir $as_dirs"
18615 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18616 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18617 { (exit 1); exit 1; }; }; }
18618 # echo "creating $dirpart/$file"
18619 echo '# dummy' > "$dirpart/$file"
18626 # See if we are running on zsh, and set the options which allow our
18627 # commands through without removal of \ escapes.
18628 if test -n "${ZSH_VERSION+set}" ; then
18629 setopt NO_GLOB_SUBST
18632 cfgfile="${ofile}T"
18633 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18636 cat <<_LT_EOF >> "$cfgfile"
18639 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18640 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18641 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18642 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18644 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18645 # 2006, 2007, 2008 Free Software Foundation, Inc.
18646 # Written by Gordon Matzigkeit, 1996
18648 # This file is part of GNU Libtool.
18650 # GNU Libtool is free software; you can redistribute it and/or
18651 # modify it under the terms of the GNU General Public License as
18652 # published by the Free Software Foundation; either version 2 of
18653 # the License, or (at your option) any later version.
18655 # As a special exception to the GNU General Public License,
18656 # if you distribute this file as part of a program or library that
18657 # is built using GNU Libtool, you may include this file under the
18658 # same distribution terms that you use for the rest of that program.
18660 # GNU Libtool is distributed in the hope that it will be useful,
18661 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18663 # GNU General Public License for more details.
18665 # You should have received a copy of the GNU General Public License
18666 # along with GNU Libtool; see the file COPYING. If not, a copy
18667 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18668 # obtained by writing to the Free Software Foundation, Inc.,
18669 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18672 # The names of the tagged configurations supported by this script.
18675 # ### BEGIN LIBTOOL CONFIG
18677 # Which release of libtool.m4 was used?
18678 macro_version=$macro_version
18679 macro_revision=$macro_revision
18681 # Whether or not to build shared libraries.
18682 build_libtool_libs=$enable_shared
18684 # Whether or not to build static libraries.
18685 build_old_libs=$enable_static
18687 # What type of objects to build.
18690 # Whether or not to optimize for fast installation.
18691 fast_install=$enable_fast_install
18694 host_alias=$host_alias
18698 # The build system.
18699 build_alias=$build_alias
18703 # A sed program that does not truncate output.
18706 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18707 Xsed="\$SED -e 1s/^X//"
18709 # A grep program that handles long lines.
18715 # A literal string matcher.
18718 # A BSD- or MS-compatible name lister.
18721 # Whether we need soft or hard links.
18724 # What is the maximum length of a command?
18725 max_cmd_len=$max_cmd_len
18727 # Object file suffix (normally "o").
18730 # Executable file suffix (normally "").
18733 # whether the shell understands "unset".
18736 # turn spaces into newlines.
18739 # turn newlines into spaces.
18742 # How to create reloadable object files.
18743 reload_flag=$lt_reload_flag
18744 reload_cmds=$lt_reload_cmds
18746 # An object symbol dumper.
18747 OBJDUMP=$lt_OBJDUMP
18749 # Method to check whether dependent libraries are shared objects.
18750 deplibs_check_method=$lt_deplibs_check_method
18752 # Command to use when deplibs_check_method == "file_magic".
18753 file_magic_cmd=$lt_file_magic_cmd
18757 AR_FLAGS=$lt_AR_FLAGS
18759 # A symbol stripping program.
18762 # Commands used to install an old-style archive.
18764 old_postinstall_cmds=$lt_old_postinstall_cmds
18765 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18770 # LTCC compiler flags.
18771 LTCFLAGS=$lt_CFLAGS
18773 # Take the output of nm and produce a listing of raw symbols and C names.
18774 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18776 # Transform the output of nm in a proper C declaration.
18777 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18779 # Transform the output of nm in a C name address pair.
18780 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18782 # Transform the output of nm in a C name address pair when lib prefix is needed.
18783 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18785 # The name of the directory that contains temporary libtool files.
18788 # Shell to use when invoking shell scripts.
18791 # An echo program that does not interpret backslashes.
18794 # Used to examine libraries when file_magic_cmd begins with "file".
18795 MAGIC_CMD=$MAGIC_CMD
18797 # Must we lock files when doing compilation?
18798 need_locks=$lt_need_locks
18800 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18801 DSYMUTIL=$lt_DSYMUTIL
18803 # Tool to change global to local symbols on Mac OS X.
18806 # Tool to manipulate fat objects and archives on Mac OS X.
18809 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18812 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18813 OTOOL64=$lt_OTOOL64
18815 # Old archive suffix (normally "a").
18818 # Shared library suffix (normally ".so").
18819 shrext_cmds=$lt_shrext_cmds
18821 # The commands to extract the exported symbol list from a shared archive.
18822 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18824 # Variables whose values should be saved in libtool wrapper scripts and
18825 # restored at link time.
18826 variables_saved_for_relink=$lt_variables_saved_for_relink
18828 # Do we need the "lib" prefix for modules?
18829 need_lib_prefix=$need_lib_prefix
18831 # Do we need a version for libraries?
18832 need_version=$need_version
18834 # Library versioning type.
18835 version_type=$version_type
18837 # Shared library runtime path variable.
18838 runpath_var=$runpath_var
18840 # Shared library path variable.
18841 shlibpath_var=$shlibpath_var
18843 # Is shlibpath searched before the hard-coded library search path?
18844 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18846 # Format of library name prefix.
18847 libname_spec=$lt_libname_spec
18849 # List of archive names. First name is the real one, the rest are links.
18850 # The last name is the one that the linker finds with -lNAME
18851 library_names_spec=$lt_library_names_spec
18853 # The coded name of the library, if different from the real name.
18854 soname_spec=$lt_soname_spec
18856 # Command to use after installation of a shared archive.
18857 postinstall_cmds=$lt_postinstall_cmds
18859 # Command to use after uninstallation of a shared archive.
18860 postuninstall_cmds=$lt_postuninstall_cmds
18862 # Commands used to finish a libtool library installation in a directory.
18863 finish_cmds=$lt_finish_cmds
18865 # As "finish_cmds", except a single script fragment to be evaled but
18867 finish_eval=$lt_finish_eval
18869 # Whether we should hardcode library paths into libraries.
18870 hardcode_into_libs=$hardcode_into_libs
18872 # Compile-time system search path for libraries.
18873 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18875 # Run-time system search path for libraries.
18876 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18878 # Whether dlopen is supported.
18879 dlopen_support=$enable_dlopen
18881 # Whether dlopen of programs is supported.
18882 dlopen_self=$enable_dlopen_self
18884 # Whether dlopen of statically linked programs is supported.
18885 dlopen_self_static=$enable_dlopen_self_static
18887 # Commands to strip libraries.
18888 old_striplib=$lt_old_striplib
18889 striplib=$lt_striplib
18892 # The linker used to build libraries.
18895 # Commands used to build an old-style archive.
18896 old_archive_cmds=$lt_old_archive_cmds
18898 # A language specific compiler.
18901 # Is the compiler the GNU compiler?
18904 # Compiler flag to turn off builtin functions.
18905 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18907 # How to pass a linker flag through the compiler.
18908 wl=$lt_lt_prog_compiler_wl
18910 # Additional compiler flags for building library objects.
18911 pic_flag=$lt_lt_prog_compiler_pic
18913 # Compiler flag to prevent dynamic linking.
18914 link_static_flag=$lt_lt_prog_compiler_static
18916 # Does compiler simultaneously support -c and -o options?
18917 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18919 # Whether or not to add -lc for building shared libraries.
18920 build_libtool_need_lc=$archive_cmds_need_lc
18922 # Whether or not to disallow shared libs when runtime libs are static.
18923 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18925 # Compiler flag to allow reflexive dlopens.
18926 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18928 # Compiler flag to generate shared objects directly from archives.
18929 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18931 # Whether the compiler copes with passing no objects directly.
18932 compiler_needs_object=$lt_compiler_needs_object
18934 # Create an old-style archive from a shared archive.
18935 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18937 # Create a temporary old-style archive to link instead of a shared archive.
18938 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18940 # Commands used to build a shared archive.
18941 archive_cmds=$lt_archive_cmds
18942 archive_expsym_cmds=$lt_archive_expsym_cmds
18944 # Commands used to build a loadable module if different from building
18945 # a shared archive.
18946 module_cmds=$lt_module_cmds
18947 module_expsym_cmds=$lt_module_expsym_cmds
18949 # Whether we are building with GNU ld or not.
18950 with_gnu_ld=$lt_with_gnu_ld
18952 # Flag that allows shared libraries with undefined symbols to be built.
18953 allow_undefined_flag=$lt_allow_undefined_flag
18955 # Flag that enforces no undefined symbols.
18956 no_undefined_flag=$lt_no_undefined_flag
18958 # Flag to hardcode \$libdir into a binary during linking.
18959 # This must work even if \$libdir does not exist
18960 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18962 # If ld is used when linking, flag to hardcode \$libdir into a binary
18963 # during linking. This must work even if \$libdir does not exist.
18964 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18966 # Whether we need a single "-rpath" flag with a separated argument.
18967 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18970 # DIR into the resulting binary.
18971 hardcode_direct=$hardcode_direct
18973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18974 # DIR into the resulting binary and the resulting library dependency is
18975 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18976 # library is relocated.
18977 hardcode_direct_absolute=$hardcode_direct_absolute
18979 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18980 # into the resulting binary.
18981 hardcode_minus_L=$hardcode_minus_L
18983 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18984 # into the resulting binary.
18985 hardcode_shlibpath_var=$hardcode_shlibpath_var
18987 # Set to "yes" if building a shared library automatically hardcodes DIR
18988 # into the library and all subsequent libraries and executables linked
18990 hardcode_automatic=$hardcode_automatic
18992 # Set to yes if linker adds runtime paths of dependent libraries
18993 # to runtime path list.
18994 inherit_rpath=$inherit_rpath
18996 # Whether libtool must link a program against all its dependency libraries.
18997 link_all_deplibs=$link_all_deplibs
18999 # Fix the shell variable \$srcfile for the compiler.
19000 fix_srcfile_path=$lt_fix_srcfile_path
19002 # Set to "yes" if exported symbols are required.
19003 always_export_symbols=$always_export_symbols
19005 # The commands to list exported symbols.
19006 export_symbols_cmds=$lt_export_symbols_cmds
19008 # Symbols that should not be listed in the preloaded symbols.
19009 exclude_expsyms=$lt_exclude_expsyms
19011 # Symbols that must always be exported.
19012 include_expsyms=$lt_include_expsyms
19014 # Commands necessary for linking programs (against libraries) with templates.
19015 prelink_cmds=$lt_prelink_cmds
19017 # Specify filename containing input files.
19018 file_list_spec=$lt_file_list_spec
19020 # How to hardcode a shared library path into an executable.
19021 hardcode_action=$hardcode_action
19023 # ### END LIBTOOL CONFIG
19029 cat <<\_LT_EOF >> "$cfgfile"
19030 # AIX sometimes has problems with the GCC collect2 program. For some
19031 # reason, if we set the COLLECT_NAMES environment variable, the problems
19032 # vanish in a puff of smoke.
19033 if test "X${COLLECT_NAMES+set}" != Xset; then
19035 export COLLECT_NAMES
19042 ltmain="$ac_aux_dir/ltmain.sh"
19045 # We use sed instead of cat because bash on DJGPP gets confused if
19046 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19047 # text mode, it properly converts lines to CR/LF. This bash problem
19048 # is reportedly fixed, but why not run on old versions too?
19049 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19050 || (rm -f "$cfgfile"; exit 1)
19054 cat << \_LT_EOF >> "$cfgfile"
19056 # func_dirname file append nondir_replacement
19057 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19058 # otherwise set result to NONDIR_REPLACEMENT.
19062 */*) func_dirname_result="${1%/*}${2}" ;;
19063 * ) func_dirname_result="${3}" ;;
19067 # func_basename file
19070 func_basename_result="${1##*/}"
19073 # func_dirname_and_basename file append nondir_replacement
19074 # perform func_basename and func_dirname in a single function
19076 # dirname: Compute the dirname of FILE. If nonempty,
19077 # add APPEND to the result, otherwise set result
19078 # to NONDIR_REPLACEMENT.
19079 # value returned in "$func_dirname_result"
19080 # basename: Compute filename of FILE.
19081 # value retuned in "$func_basename_result"
19082 # Implementation must be kept synchronized with func_dirname
19083 # and func_basename. For efficiency, we do not delegate to
19084 # those functions but instead duplicate the functionality here.
19085 func_dirname_and_basename ()
19088 */*) func_dirname_result="${1%/*}${2}" ;;
19089 * ) func_dirname_result="${3}" ;;
19091 func_basename_result="${1##*/}"
19094 # func_stripname prefix suffix name
19095 # strip PREFIX and SUFFIX off of NAME.
19096 # PREFIX and SUFFIX must not contain globbing or regex special
19097 # characters, hashes, percent signs, but SUFFIX may contain a leading
19098 # dot (in which case that matches only a dot).
19101 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19102 # positional parameters, so assign one to ordinary parameter first.
19103 func_stripname_result=${3}
19104 func_stripname_result=${func_stripname_result#"${1}"}
19105 func_stripname_result=${func_stripname_result%"${2}"}
19111 func_opt_split_opt=${1%%=*}
19112 func_opt_split_arg=${1#*=}
19119 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19120 *) func_lo2o_result=${1} ;;
19124 # func_xform libobj-or-source
19127 func_xform_result=${1%.*}.lo
19130 # func_arith arithmetic-term...
19133 func_arith_result=$(( $* ))
19137 # STRING may not start with a hyphen.
19140 func_len_result=${#1}
19145 *) # Bourne compatible functions.
19146 cat << \_LT_EOF >> "$cfgfile"
19148 # func_dirname file append nondir_replacement
19149 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19150 # otherwise set result to NONDIR_REPLACEMENT.
19153 # Extract subdirectory from the argument.
19154 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19155 if test "X$func_dirname_result" = "X${1}"; then
19156 func_dirname_result="${3}"
19158 func_dirname_result="$func_dirname_result${2}"
19162 # func_basename file
19165 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19169 # func_stripname prefix suffix name
19170 # strip PREFIX and SUFFIX off of NAME.
19171 # PREFIX and SUFFIX must not contain globbing or regex special
19172 # characters, hashes, percent signs, but SUFFIX may contain a leading
19173 # dot (in which case that matches only a dot).
19174 # func_strip_suffix prefix name
19178 .*) func_stripname_result=`$ECHO "X${3}" \
19179 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19180 *) func_stripname_result=`$ECHO "X${3}" \
19181 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19186 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19187 my_sed_long_arg='1s/^-[^=]*=//'
19192 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19193 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19199 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19202 # func_xform libobj-or-source
19205 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19208 # func_arith arithmetic-term...
19211 func_arith_result=`expr "$@"`
19215 # STRING may not start with a hyphen.
19218 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19224 case $lt_shell_append in
19226 cat << \_LT_EOF >> "$cfgfile"
19228 # func_append var value
19229 # Append VALUE to the end of shell variable VAR.
19237 cat << \_LT_EOF >> "$cfgfile"
19239 # func_append var value
19240 # Append VALUE to the end of shell variable VAR.
19251 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19252 || (rm -f "$cfgfile"; exit 1)
19254 mv -f "$cfgfile" "$ofile" ||
19255 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19259 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19260 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19263 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19264 { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
19265 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
19266 { (exit 1); exit 1; }; }
19268 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19273 '"s|^| $ac_top_srcdir/|" \
19274 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19276 sed '/^POTFILES =/,/[^\\]$/ {
19280 ' "po/Makefile.in" >"po/Makefile"
19281 rm -f "po/Makefile.tmp"
19282 mv "po/stamp-it.tmp" "po/stamp-it"
19289 { (exit 0); exit 0; }
19291 chmod +x $CONFIG_STATUS
19292 ac_clean_files=$ac_clean_files_save
19294 test $ac_write_fail = 0 ||
19295 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19296 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19297 { (exit 1); exit 1; }; }
19300 # configure is writing to config.log, and then calls config.status.
19301 # config.status does its own redirection, appending to config.log.
19302 # Unfortunately, on DOS this fails, as config.log is still kept open
19303 # by configure, so config.status won't be able to write to it; its
19304 # output is simply discarded. So we exec the FD to /dev/null,
19305 # effectively closing config.log, so it can be properly (re)opened and
19306 # appended to by config.status. When coming back to configure, we
19307 # need to make the FD available again.
19308 if test "$no_create" != yes; then
19310 ac_config_status_args=
19311 test "$silent" = yes &&
19312 ac_config_status_args="$ac_config_status_args --quiet"
19314 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19316 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19317 # would make configure fail if this is the last instruction.
19318 $ac_cs_success || { (exit 1); exit 1; }
19320 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19321 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19322 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19330 Package: ${PACKAGE}-${VERSION}:
19331 Installation prefix ${prefix}
19332 Source code location: ${srcdir}
19334 Evolution Data Server support: ${have_libebook}